:root {
  --bg: #0f1722;
  --bg-soft: #162131;
  --surface: rgba(142, 172, 209, 0.06);
  --surface-strong: rgba(142, 172, 209, 0.1);
  --line: rgba(142, 172, 209, 0.16);
  --text: #eef3fb;
  --muted: rgba(238, 243, 251, 0.72);
  --accent: #5576a4;
  --accent-soft: #9bb9dd;
  --shadow: 0 24px 60px rgba(4, 10, 20, 0.32);
  --max-width: 1180px;
  --radius: 28px;
  --header-height: 82px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(85, 118, 164, 0.22), transparent 26rem),
    radial-gradient(circle at left 20%, rgba(155, 185, 221, 0.1), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.8rem 1rem;
  background: #fff;
  color: #111;
  border-radius: 999px;
  z-index: 50;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-height);
  padding: 1rem clamp(1rem, 3vw, 2rem);
  backdrop-filter: blur(16px);
  background: rgba(16, 17, 20, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font: inherit;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.release-title-link:hover,
.release-title-link:focus-visible,
.release-links a:hover,
.release-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.resource:hover strong,
.resource:focus-visible strong {
  color: var(--accent-soft);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.05);
}

.section,
.site-footer {
  width: min(var(--max-width), calc(100vw - 2rem));
  margin-inline: auto;
}

.hero {
  width: calc(100vw - 2rem);
  max-width: none;
  margin-inline: auto;
  display: block;
  min-height: calc(100svh - var(--header-height) - 1rem);
  padding-block: clamp(2rem, 6vw, 4rem) clamp(2.5rem, 7vw, 5rem);
}

.hero-copy {
  width: min(var(--max-width), calc(100vw - 2rem));
  margin-inline: auto;
}

.hero-stage {
  width: min(var(--max-width), calc(100vw - 2rem));
  margin: clamp(3rem, 8vw, 6rem) auto 0;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at top right, rgba(155, 185, 221, 0.14), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(8, 14, 24, 0.66);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.error-shell,
.error-footer {
  width: min(var(--max-width), calc(100vw - 2rem));
  margin-inline: auto;
}

.error-shell {
  display: grid;
  gap: 1.5rem;
  padding: clamp(2rem, 6vw, 4rem) 0 4rem;
}

.error-panel {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at top right, rgba(155, 185, 221, 0.14), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(8, 14, 24, 0.68);
  box-shadow: var(--shadow);
}

.error-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--accent-soft);
}

.error-title {
  margin: 0;
  max-width: 14ch;
  font-family: "Newsreader", serif;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.error-copy {
  display: grid;
  gap: 0.9rem;
  max-width: 54rem;
}

.error-copy p,
.error-path,
.error-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.error-path {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.error-actions,
.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.error-action,
.error-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.error-action:hover,
.error-action:focus-visible,
.error-links a:hover,
.error-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(155, 185, 221, 0.34);
  background: rgba(255, 255, 255, 0.05);
}

.error-action-primary {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #0f1722;
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(85, 118, 164, 0.28);
}

.error-action-primary:hover,
.error-action-primary:focus-visible {
  background: linear-gradient(135deg, #a9c6e7, #5d7eb0);
}

.error-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.error-card {
  display: grid;
  gap: 0.7rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
}

.error-card strong {
  font-size: 1.02rem;
}

.error-card span {
  color: var(--accent-soft);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.error-footer {
  padding: 0 0 3rem;
}

.error-footer p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
  pointer-events: none;
}

.hero-stage-track {
  position: relative;
  min-height: 26rem;
}

.hero-stage-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  pointer-events: none;
  transition: opacity 420ms ease, transform 420ms ease;
}

.hero-stage-panel.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hero-stage-copy {
  position: relative;
  z-index: 1;
}

.hero-stage-label {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent-soft);
}

.hero-stage-copy h2 {
  margin: 0;
  max-width: 12ch;
}

.hero-stage-copy p {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-stage-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.hero-stage-list li,
.hero-ai-results span {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(155, 185, 221, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.92rem;
}

.hero-stage-visual {
  position: relative;
  min-height: 22rem;
}

.hero-stage-visual::before {
  content: "";
  position: absolute;
  inset: 7% 10%;
  border-radius: 28px;
  background: radial-gradient(circle at center, rgba(85, 118, 164, 0.18), transparent 70%);
  filter: blur(12px);
}

.hero-mobile-shell,
.hero-browser-shell,
.hero-ai-flow,
.hero-ai-results {
  position: relative;
  z-index: 1;
}

.hero-mobile-shell {
  position: absolute;
  right: 10%;
  top: 8%;
  width: min(100%, 20rem);
  aspect-ratio: 0.82;
  padding: 1.2rem;
  border-radius: 2rem;
  border: 1px solid rgba(155, 185, 221, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(10, 16, 28, 0.92);
  box-shadow: 0 32px 70px rgba(4, 10, 20, 0.34);
  animation: heroFloat 7.2s ease-in-out infinite;
}

.hero-mobile-notch {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  width: 34%;
  height: 0.5rem;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.14);
}

.hero-mobile-screen {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  height: 100%;
  margin-top: 1.35rem;
}

.hero-mobile-os {
  display: grid;
  place-items: center;
  border-radius: 1.4rem;
  border: 1px solid rgba(155, 185, 221, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.hero-mobile-os-ios {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(67, 87, 122, 0.62), rgba(25, 37, 58, 0.92));
}

.hero-mobile-os-android {
  background:
    radial-gradient(circle at top right, rgba(133, 217, 88, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(23, 63, 47, 0.9), rgba(16, 39, 30, 0.96));
}

.hero-os-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-height: 3.2rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 20, 0.34);
  box-shadow: 0 18px 32px rgba(4, 10, 20, 0.18);
  backdrop-filter: blur(8px);
}

.hero-os-badge svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: currentColor;
  flex: 0 0 auto;
}

.hero-os-badge span {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.hero-browser-shell {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 14%;
  padding: 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(155, 185, 221, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(10, 16, 28, 0.92);
  box-shadow: 0 32px 70px rgba(4, 10, 20, 0.34);
  animation: heroFloat 8.4s ease-in-out infinite;
}

.hero-browser-bar {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.hero-browser-bar span {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.hero-browser-layout {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  min-height: 16rem;
}

.hero-browser-sidebar,
.hero-browser-grid span,
.hero-ai-node,
.hero-ai-connector {
  border: 1px solid rgba(155, 185, 221, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.hero-browser-sidebar {
  border-radius: 1.4rem;
}

.hero-browser-content {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.hero-browser-line {
  display: block;
  height: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(155, 185, 221, 0.72), rgba(255, 255, 255, 0.1));
  animation: heroSweep 5.4s ease-in-out infinite;
}

.hero-browser-line-medium {
  width: 72%;
  animation-delay: 0.35s;
}

.hero-browser-line-short {
  width: 48%;
  animation-delay: 0.7s;
}

.hero-browser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.4rem;
}

.hero-browser-grid span {
  min-height: 8rem;
  border-radius: 1.2rem;
}

.hero-ai-flow {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 24%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-ai-node {
  flex: 0 0 auto;
  min-width: 6rem;
  min-height: 3.25rem;
  padding: 0.8rem 1rem;
  border-radius: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-ai-node-accent {
  background: linear-gradient(135deg, rgba(155, 185, 221, 0.32), rgba(85, 118, 164, 0.2));
}

.hero-ai-connector {
  flex: 1 1 auto;
  height: 1px;
  position: relative;
}

.hero-ai-connector::after {
  content: "";
  position: absolute;
  top: -0.25rem;
  right: -0.1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-top: 1px solid rgba(155, 185, 221, 0.5);
  border-right: 1px solid rgba(155, 185, 221, 0.5);
  transform: rotate(45deg);
}

.hero-ai-results {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 16%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.hero-ai-results span {
  animation: heroPulse 5.8s ease-in-out infinite;
}

.hero-ai-results span:nth-child(2) {
  animation-delay: 0.8s;
}

.hero-ai-results span:nth-child(3) {
  animation-delay: 1.6s;
}

.hero-stage-nav {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.hero-stage-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 2.8rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease;
  touch-action: manipulation;
}

.hero-stage-dot::before {
  content: "";
  width: 100%;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 180ms ease;
}

.hero-stage-dot:hover,
.hero-stage-dot:focus-visible {
  transform: scaleX(1.08);
}

.hero-stage-dot:hover::before,
.hero-stage-dot:focus-visible::before {
  background: rgba(255, 255, 255, 0.24);
}

.hero-stage-dot.is-active::before {
  background: linear-gradient(90deg, var(--accent-soft), var(--accent));
}

.button,
.menu-toggle {
  touch-action: manipulation;
}

.eyebrow,
.section-kicker,
.release-tag,
.resource-meta {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--accent-soft);
}

.hero h1,
.section h2,
.final-cta h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.6rem);
}

.hero-text {
  max-width: 64rem;
}

.hero-text,
.body-copy,
.release-main p,
.service-item p,
.service-proof p,
.resource span,
.site-footer p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #111;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.section {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.section + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-dark,
.section-accent,
.final-cta {
  padding-inline: 0;
}

.section-dark {
  background: transparent;
}

.section-accent {
  background: transparent;
}

.section-head,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.section-head-stack {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.section h2,
.final-cta h2 {
  font-size: clamp(2.3rem, 5vw, 4.25rem);
}

.release-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.service-showcase,
.blog-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}

.service-showcase {
  margin-top: 2rem;
}

.blog-showcase {
  margin-top: 2rem;
}

.newsletter-band {
  overflow: clip;
}

.newsletter-band__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: start;
  margin-top: 2rem;
}

.newsletter-band__copy {
  display: grid;
  gap: 1rem;
}

.newsletter-band__copy p {
  max-width: 34rem;
  margin: 0;
}

.newsletter-band__card {
  width: 100%;
}

.release {
  display: grid;
  grid-template-columns: minmax(9rem, 0.7fr) minmax(0, 1.2fr) auto;
  gap: 1rem 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.release h3,
.service-item h3,
.support-grid h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
}

.release-main p,
.service-item p,
.site-footer p,
.resource span {
  margin: 0;
}

.release-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.release-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  align-self: center;
  color: var(--muted);
}

.release-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.release-icon-link:hover,
.release-icon-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(155, 185, 221, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.release-icon-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.7rem;
}

.support-grid,
.service-layout,
.resource-list {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.service-copy,
.blog-copy {
  display: grid;
  gap: 1.5rem;
}

.service-copy {
  align-content: start;
}

.blog-copy {
  align-content: start;
}

.service-visual,
.blog-visual {
  position: relative;
  overflow: hidden;
  min-height: 24rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at top left, rgba(155, 185, 221, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.service-visual::before,
.blog-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 2.9rem 2.9rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.service-visual > *,
.blog-visual > * {
  position: relative;
  z-index: 1;
}

.service-visual-panel,
.blog-visual-header {
  display: grid;
  gap: 0.7rem;
  max-width: 18rem;
}

.service-visual-eyebrow,
.blog-visual-eyebrow,
.service-visual-browser-kicker,
.blog-visual-feature-tag {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent-soft);
}

.service-visual-panel strong,
.blog-visual-header strong {
  font-family: "Newsreader", serif;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.service-visual-grid,
.blog-visual-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.service-visual-grid span,
.blog-visual-topics span,
.service-visual-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.82rem;
}

.service-visual {
  display: grid;
  align-content: space-between;
  gap: 1.5rem;
  min-height: 100%;
}

.service-visual-browser {
  width: min(100%, 20rem);
  margin-left: auto;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.3rem;
  background: rgba(6, 9, 14, 0.78);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.service-visual-browser-bar {
  display: block;
  width: 100%;
  height: 0.32rem;
  margin-bottom: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.service-visual-browser-body {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.service-visual-browser-title,
.service-visual-browser-line,
.blog-visual-feed-item {
  display: block;
  height: 0.58rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.service-visual-browser-title {
  width: 82%;
  height: 0.82rem;
  background: linear-gradient(90deg, rgba(155, 185, 221, 0.55), rgba(255, 255, 255, 0.16));
}

.service-visual-browser-line.is-wide,
.blog-visual-feed-item {
  width: 100%;
}

.service-visual-browser-line {
  width: 88%;
}

.service-visual-browser-line.is-short,
.blog-visual-feed-item.is-short {
  width: 62%;
}

.service-visual-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.blog-visual {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.blog-visual-feature {
  display: grid;
  gap: 0.7rem;
  max-width: 22rem;
  padding: 1.1rem 0 1.1rem 1rem;
  border-left: 1px solid rgba(155, 185, 221, 0.32);
}

.blog-visual-feature-title {
  font-family: "Newsreader", serif;
  font-size: clamp(1.4rem, 1.9vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.blog-visual-feed {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 18rem);
  margin-top: auto;
}

.blog-visual-feed-item.is-mid {
  width: 84%;
}

.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-grid article,
.service-item,
.resource {
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.support-grid span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent-soft);
}

.catalog-band {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.catalog-band a {
  display: grid;
  gap: 0.3rem;
  padding: 0;
}

.catalog-band span {
  color: var(--muted);
  font-size: 0.84rem;
}

.service-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-proof {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.resource {
  display: grid;
  gap: 0.55rem;
}

.resource strong {
  font-size: 1.3rem;
}

.final-cta {
  text-align: center;
  background: transparent;
}

.final-cta h2 {
  margin-inline: auto;
}

.final-cta .hero-actions {
  justify-content: center;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1.5rem;
  padding: 0 0 2.5rem;
  align-items: end;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

.footer-copy {
  justify-self: end;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes heroPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: none;
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 1px rgba(155, 185, 221, 0.14);
  }
}

@keyframes heroSweep {
  0%,
  100% {
    opacity: 0.82;
    transform: translateX(0);
  }

  50% {
    opacity: 1;
    transform: translateX(8px);
  }
}

@media (max-width: 980px) {
  .hero,
  .section-head,
  .split,
  .service-showcase,
  .blog-showcase,
  .release,
  .site-footer,
  .support-grid,
  .service-layout {
    grid-template-columns: 1fr;
  }

  .release-links,
  .footer-copy {
    justify-self: start;
    justify-content: flex-start;
  }

  .hero-stage-track {
    min-height: 34rem;
  }

  .hero-stage-panel {
    grid-template-columns: 1fr;
  }

  .hero-stage-copy h2 {
    max-width: none;
  }

  .hero-stage-visual {
    min-height: 16rem;
  }

  .service-visual,
  .blog-visual {
    min-height: 20rem;
  }

  .newsletter-band__layout {
    grid-template-columns: 1fr;
  }

  .error-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .section {
    padding-block: 4.5rem;
  }

  .site-header {
    padding-inline: 1rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: 24px;
    background: rgba(15, 16, 20, 0.96);
    border: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.9rem;
    border-radius: 16px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.05);
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 3.25rem;
  }

  .section-head-stack {
    gap: 1rem;
  }

  .service-showcase,
  .blog-showcase {
    gap: 2.75rem;
    margin-top: 2.4rem;
  }

  .service-copy,
  .blog-copy {
    gap: 1.75rem;
  }

  .service-proof {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }

  .hero-actions {
    gap: 1rem;
    margin-top: 2.25rem;
  }

  .error-actions,
  .error-links {
    display: grid;
  }

  .error-action,
  .error-links a {
    width: 100%;
  }

  .button {
    min-height: 3.35rem;
    padding: 1rem 1.4rem;
  }

  .hero-stage {
    padding: 1rem;
  }

  .hero-stage-track {
    min-height: auto;
  }

  .hero-stage-panel {
    position: static;
    inset: auto;
    display: none;
    gap: 1.25rem;
    transform: none;
    transition: opacity 240ms ease;
  }

  .hero-stage-panel.is-active {
    display: grid;
  }

  .hero-stage-visual {
    display: grid;
    gap: 1rem;
    min-height: auto;
    padding-top: 0.35rem;
  }

  .hero-mobile-shell {
    position: relative;
    inset: auto;
    right: auto;
    left: auto;
    top: auto;
    width: min(100%, 22rem);
    aspect-ratio: 1.08;
    margin-inline: auto;
  }

  .hero-browser-shell,
  .hero-ai-flow,
  .hero-ai-results {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .hero-browser-shell {
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
  }

  .hero-browser-layout {
    grid-template-columns: 1fr;
  }

  .hero-browser-sidebar {
    min-height: 3rem;
  }

  .hero-ai-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    max-width: 18rem;
    margin-inline: auto;
  }

  .hero-ai-connector {
    width: 1px;
    height: 1.6rem;
    margin-inline: auto;
    border: 0;
    background: rgba(155, 185, 221, 0.24);
  }

  .hero-ai-connector::after {
    display: none;
  }

  .hero-ai-node {
    width: 100%;
  }

  .hero-ai-results {
    justify-content: center;
    margin-top: 0.25rem;
  }

  .service-visual,
  .blog-visual {
    min-height: auto;
    padding: 1.75rem 1.25rem;
    gap: 1.6rem;
  }

  .service-visual {
    align-content: start;
  }

  .service-visual-panel,
  .blog-visual-header,
  .blog-visual-feature {
    gap: 0.9rem;
    max-width: none;
  }

  .blog-visual-feature {
    padding: 1.1rem 0 0 1.1rem;
    margin-top: 0.15rem;
  }

  .service-visual-browser,
  .blog-visual-feed {
    margin-top: 0.35rem;
  }

  .service-visual-metrics {
    justify-content: flex-start;
  }

}

@media (max-width: 520px) {
  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-stage-copy p {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .hero-stage-list {
    gap: 0.65rem;
  }

  .hero-stage-list li,
  .hero-ai-results span {
    min-height: 2.2rem;
    padding: 0.42rem 0.82rem;
    font-size: 0.88rem;
  }

  .hero-mobile-shell {
    padding: 1rem;
  }

  .hero-browser-grid span {
    min-height: 6rem;
  }

  .section {
    padding-block: 4rem;
  }

  .service-showcase,
  .blog-showcase {
    gap: 2.4rem;
    margin-top: 2.1rem;
  }

  .service-copy,
  .blog-copy {
    gap: 1.55rem;
  }

  .service-visual,
  .blog-visual {
    padding: 1.5rem 1rem;
    gap: 1.4rem;
  }

  .service-visual-panel strong,
  .blog-visual-header strong,
  .blog-visual-feature-title {
    line-height: 1.08;
  }

  .hero-actions {
    margin-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Current Garaje web style */
:root {
  --bg: #050505;
  --bg-soft: #0f0f10;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f5f5;
  --muted: rgba(245, 245, 245, 0.62);
  --accent: #ffffff;
  --accent-soft: #d7d7d7;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  color-scheme: dark;
}

body {
  background:
    linear-gradient(180deg, #070707 0%, #050505 44%, #080808 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

.site-header {
  background: rgba(5, 5, 5, 0.78);
  border-bottom-color: var(--line);
}

.brand-mark {
  border-radius: 8px;
}

.site-nav a,
.menu-toggle,
.button,
.hero-stage,
.error-panel,
.error-card,
.release-icon-link,
.service-visual,
.blog-visual,
.service-visual-browser,
.blog-article-body figure,
.blog-translation-note,
.blog-original-language {
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.07);
}

.hero h1,
.section h2,
.final-cta h2,
.hero-stage-copy h2,
.error-title,
.service-visual-panel strong,
.blog-visual-header strong,
.blog-visual-feature-title,
.release h3,
.service-item h3,
.support-grid h3 {
  font-family: inherit;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(3rem, 7.8vw, 6.2rem);
  line-height: 1.03;
}

.section h2,
.final-cta h2 {
  line-height: 1.04;
}

.section-lead {
  max-width: 48rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.7;
}

.hero-stage,
.error-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(13, 13, 13, 0.84);
}

.hero-stage::before,
.service-visual::before,
.blog-visual::before {
  opacity: 0.72;
}

.hero-stage-visual::before {
  display: none;
}

.hero-mobile-shell,
.hero-browser-shell,
.hero-ai-node,
.hero-browser-grid span,
.hero-browser-sidebar,
.hero-mobile-os,
.service-visual-browser,
.contact-form-card {
  border-radius: 8px;
}

.hero-mobile-shell,
.hero-browser-shell,
.service-visual,
.blog-visual,
.contact-form-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(14, 14, 15, 0.86);
}

.hero-mobile-os-ios,
.hero-mobile-os-android {
  background: rgba(255, 255, 255, 0.045);
}

.hero-os-badge,
.hero-stage-list li,
.hero-ai-results span,
.service-visual-grid span,
.blog-visual-topics span,
.service-visual-metrics span {
  border-radius: 8px;
}

.button-primary {
  background: #f5f5f5;
  color: #050505;
}

.button-secondary,
.menu-toggle,
.legal-link,
.blog-pill {
  background: rgba(255, 255, 255, 0.045);
}

.release-list,
.support-grid article,
.service-item,
.resource,
.catalog-band,
.service-proof,
.section + .section {
  border-color: var(--line);
}

.service-showcase,
.blog-showcase {
  grid-template-columns: minmax(0, 1fr);
}

.product-launch {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.product-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.25rem);
  min-height: 36rem;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(12, 12, 13, 0.92);
  background-size: 44px 44px, 44px 44px, auto, auto;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.055) 42%, transparent 68%);
  transform: translateX(-100%);
  animation: product-scan 9s ease-in-out infinite;
  pointer-events: none;
}

.product-visual > * {
  position: relative;
  z-index: 1;
}

.product-visual-kicker,
.product-detail-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--accent-soft);
}

.product-visual h3 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.product-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(2rem, 0.16fr) minmax(0, 1fr) minmax(2rem, 0.16fr) minmax(0, 1fr);
  gap: clamp(0.7rem, 1.6vw, 1rem);
  align-items: center;
}

.product-flow-node {
  position: relative;
  display: grid;
  gap: 0.65rem;
  min-height: 12rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.68);
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.product-flow-node:hover,
.product-flow-node:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.065);
}

.product-flow-node.is-active {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.095);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 20px 46px rgba(0, 0, 0, 0.24);
}

.product-flow-node.is-active::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: #f5f5f5;
  box-shadow: 0 0 0 0.35rem rgba(255, 255, 255, 0.12);
}

.product-flow-node span {
  color: var(--muted);
}

.product-flow-node strong {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.product-flow-node small {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.48;
}

.product-flow-connector {
  position: relative;
  min-height: 1px;
}

.product-flow-connector::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.product-flow-connector::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.32rem);
  left: 0;
  width: 0.65rem;
  height: 0.65rem;
  border-top: 2px solid rgba(255, 255, 255, 0.72);
  border-right: 2px solid rgba(255, 255, 255, 0.72);
  transform: rotate(45deg);
  animation: product-arrow 3.4s ease-in-out infinite;
}

.product-detail {
  display: grid;
  gap: 0.8rem;
  align-self: end;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(4, 4, 4, 0.76);
}

.product-detail h4 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.product-detail p {
  max-width: 60rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-output-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.product-output-list span {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.92rem;
}

@keyframes product-arrow {
  0%,
  100% {
    left: 0;
    opacity: 0.38;
    transform: rotate(45deg);
  }

  50% {
    left: calc(100% - 0.7rem);
    opacity: 1;
    transform: rotate(45deg);
  }
}

@keyframes product-arrow-vertical {
  0%,
  100% {
    top: 0;
    opacity: 0.38;
    transform: rotate(135deg);
  }

  50% {
    top: calc(100% - 0.7rem);
    opacity: 1;
    transform: rotate(135deg);
  }
}

@keyframes product-scan {
  0%,
  78%,
  100% {
    transform: translateX(-110%);
  }

  88% {
    transform: translateX(110%);
  }
}

@media (max-width: 980px) {
  .product-flow {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .product-flow-connector {
    min-height: 2.2rem;
  }

  .product-flow-connector::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }

  .product-flow-connector::after {
    left: calc(50% - 0.33rem);
    top: 0;
    transform: rotate(135deg);
    animation-name: product-arrow-vertical;
  }

  .product-flow-node {
    min-height: 9rem;
  }
}

@media (max-width: 760px) {
  .site-nav {
    border-radius: 8px;
  }

  .site-nav a {
    border-radius: 8px;
  }

  .product-visual {
    min-height: auto;
    padding: 1rem;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
  }

  .product-flow-node {
    min-height: 8.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-visual::after,
  .product-flow-connector::after {
    animation: none !important;
  }
}

/* Static home matching the redesign preview */
body.home-preview {
  --home-max: 1280px;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--bg), var(--text) 2%), var(--bg) 34rem),
    var(--bg);
  color: var(--text);
}

body.home-preview main > section {
  display: none;
}

body.home-preview .home-preview-page {
  display: block;
}

body.home-preview .site-header {
  min-height: 5rem;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
  background: rgba(5, 5, 5, 0.82);
}

body.home-preview .brand-mark {
  filter: none;
}

body.home-preview .site-nav {
  gap: 0.25rem;
}

body.home-preview .site-nav a {
  border-radius: 8px;
  min-height: 2.4rem;
  padding: 0 0.8rem;
  font-size: 0.9rem;
}

.home-preview-page {
  overflow: hidden;
}

.home-preview-hero,
.home-preview-section,
.site-footer {
  width: min(var(--home-max), calc(100vw - 2.5rem));
  margin-inline: auto;
}

.home-preview-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.95fr);
  gap: clamp(2.25rem, 4vw, 3rem);
  align-items: center;
  min-height: calc(100svh - 5rem);
  padding-block: clamp(3rem, 7vw, 5rem);
}

.home-preview-hero::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: -1;
  height: 20rem;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  filter: blur(44px);
  opacity: 0.28;
}

.home-preview-copy {
  display: grid;
  gap: 1.65rem;
  min-width: 0;
  max-width: 48rem;
}

.home-preview-copy h1,
.home-preview-section-head h2 {
  margin: 0;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-preview-copy h1 {
  font-size: clamp(3.3rem, 7vw, 5.7rem);
  line-height: 0.96;
}

.home-preview-copy p,
.home-preview-section-head p {
  max-width: 43rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
}

.home-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 42rem;
  padding-top: 1rem;
}

.home-preview-stats span {
  min-height: 2.8rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.home-feature-card,
.home-game-card,
.home-post-grid a,
.home-newsletter {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.home-feature-card {
  display: grid;
  gap: 0;
  min-width: 0;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.055);
}

.home-feature-media {
  overflow: hidden;
  border-radius: 8px;
}

.home-feature-media img {
  width: 100%;
  aspect-ratio: 16 / 13;
  object-fit: cover;
}

.home-feature-caption {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.75rem 0.6rem;
}

.home-feature-title {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.home-feature-title img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  object-fit: cover;
}

.home-feature-title div {
  display: grid;
  gap: 0.2rem;
}

.home-feature-title span,
.home-game-card span,
.home-post-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.home-preview-section {
  display: grid;
  gap: clamp(2rem, 4vw, 2.75rem);
  padding-block: clamp(4rem, 7vw, 5.5rem);
}

.home-preview-section + .home-preview-section {
  border-top: 1px solid var(--line);
}

.home-preview-section-head {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
}

.home-preview-section-head h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.home-games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-game-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.home-game-card:hover,
.home-game-card:focus-visible,
.home-post-grid a:hover,
.home-post-grid a:focus-visible,
.home-service-list a:hover,
.home-service-list a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.065);
}

.home-game-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.home-game-card strong {
  font-size: 1.15rem;
}

.home-game-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.home-studio-services {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
}

.home-service-list {
  display: grid;
}

.home-service-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease;
}

.home-service-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.home-service-list strong {
  flex: 1 1 auto;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.home-service-list a::after {
  content: ">";
  color: var(--muted);
  transition: transform 180ms ease, color 180ms ease;
}

.home-service-list a:hover::after,
.home-service-list a:focus-visible::after {
  transform: translateX(0.25rem);
  color: var(--text);
}

body.home-preview .product-launch {
  margin-top: 0;
}

body.home-preview .product-visual {
  min-height: auto;
}

.home-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-post-grid a {
  display: grid;
  gap: 2rem;
  min-height: 14rem;
  padding: 1.25rem;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.home-post-grid span {
  width: fit-content;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.home-post-grid strong {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.35;
}

.home-newsletter {
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr);
  gap: 2rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.home-newsletter-form {
  display: grid;
  align-content: center;
  gap: 0.8rem;
}

.home-newsletter-form input[type="email"] {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.66);
  color: var(--text);
  font: inherit;
}

.home-newsletter-form p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 1040px) {
  .home-preview-hero,
  .home-studio-services,
  .home-newsletter {
    grid-template-columns: 1fr;
  }

  .home-games-grid,
  .home-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.home-preview .site-nav {
    border-radius: 8px;
  }

  .home-preview-hero,
  .home-preview-section,
  .site-footer {
    width: min(var(--home-max), calc(100vw - 2rem));
  }

  .home-preview-hero {
    min-height: auto;
    padding-block: 2.5rem 4rem;
  }

  .home-preview-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .home-feature-caption,
  .home-preview-actions,
  .home-newsletter-form {
    align-items: stretch;
  }

  .home-feature-caption {
    flex-direction: column;
  }

  .home-feature-caption .button,
  .home-preview-actions .button,
  .home-newsletter-form .button {
    width: 100%;
  }

  .home-preview-stats {
    grid-template-columns: 1fr;
  }

  .home-games-grid,
  .home-post-grid {
    grid-template-columns: 1fr;
  }
}

/* Studio pages sharing the current home shell */
.studio-page-shell {
  overflow: hidden;
  padding-bottom: 4rem;
}

.studio-hero,
.studio-section {
  width: min(var(--home-max, 1280px), calc(100vw - 2.5rem));
  margin-inline: auto;
}

.studio-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 1.08fr);
  gap: 3rem;
  align-items: center;
  min-height: calc(100svh - 5rem);
  padding-block: 5rem;
}

.studio-contact-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 0.85fr);
  align-items: start;
  min-height: auto;
}

.studio-hero::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: -1;
  height: 18rem;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  filter: blur(44px);
  opacity: 0.22;
}

.studio-hero-copy,
.studio-section-head,
.studio-service-stack,
.contact-copy {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.studio-hero-copy {
  gap: 1.45rem;
  max-width: 48rem;
}

.studio-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--muted);
}

.studio-hero-copy h1,
.studio-section-head h2,
.contact-copy h2 {
  margin: 0;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

.studio-hero-copy h1 {
  font-size: 5.4rem;
  line-height: 0.98;
}

.studio-section-head h2 {
  font-size: 3.6rem;
  line-height: 1.05;
}

.contact-copy h2 {
  font-size: 3rem;
  line-height: 1.08;
}

.studio-hero-copy p,
.studio-section-head p,
.studio-row p,
.studio-row li,
.studio-card p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.studio-hero-copy p,
.studio-section-head p {
  max-width: 43rem;
}

.studio-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 42rem;
  padding-top: 0.6rem;
}

.studio-hero-facts span {
  min-height: 2.8rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.studio-hero .hero-stage {
  width: 100%;
  margin: 0;
  border-radius: 8px;
}

.studio-hero .hero-stage-track {
  min-height: 30rem;
}

.studio-hero .hero-stage-panel {
  grid-template-columns: minmax(0, 0.95fr) minmax(14rem, 0.85fr);
  gap: 1.5rem;
}

.studio-hero .hero-stage-copy h2 {
  max-width: 14ch;
  font-size: 2.4rem;
  line-height: 1.08;
}

.studio-hero .hero-stage-visual {
  min-height: 21rem;
}

.services-page .studio-hero-services {
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(2.25rem, 5vw, 3.5rem);
  min-height: auto;
  padding-block: clamp(4rem, 7vw, 5rem) 4.5rem;
}

.services-page .studio-hero-copy {
  max-width: 68rem;
}

.services-page .studio-hero-copy h1 {
  max-width: 18ch;
}

.services-page .studio-hero-facts {
  max-width: 52rem;
}

.services-page .studio-hero .hero-stage-track {
  min-height: 28rem;
}

.services-page .studio-hero .hero-stage-panel {
  grid-template-columns: minmax(0, 0.82fr) minmax(22rem, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

.services-page .studio-hero .hero-stage-copy h2 {
  max-width: 22ch;
}

.services-page .studio-hero .hero-stage-visual {
  min-height: 23rem;
}

.studio-section {
  display: grid;
  gap: 2.5rem;
  padding-block: 5rem;
  border-top: 1px solid var(--line);
}

.studio-section-split,
.studio-service-overview,
.studio-contact-strip {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.studio-service-stack {
  gap: 0;
}

.studio-row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.45rem 0;
  border-top: 1px solid var(--line);
}

.studio-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.studio-row > span {
  color: var(--muted);
  font-size: 0.92rem;
}

.studio-row div {
  display: grid;
  gap: 0.8rem;
}

.studio-row h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.3;
}

.studio-row ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.1rem;
}

.studio-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.studio-card {
  display: grid;
  gap: 0.75rem;
  min-height: 13rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
}

.studio-card strong {
  font-size: 1.18rem;
  line-height: 1.35;
}

.studio-links {
  padding-top: 1.25rem;
}

.studio-contact-strip {
  gap: 2.5rem;
}

.studio-contact-card {
  align-self: start;
}

body.studio-page .gi-site-footer__group a,
body.studio-page .gi-consent-link,
body.studio-page .gi-site-footer__meta a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
}

body.studio-page .brand {
  min-height: 2.75rem;
}

@media (max-width: 1180px) {
  .studio-hero-copy h1 {
    font-size: 4.5rem;
  }

  .studio-section-head h2 {
    font-size: 3.1rem;
  }
}

@media (max-width: 1040px) {
  .studio-hero,
  .studio-contact-hero,
  .studio-section-split,
  .studio-service-overview,
  .studio-contact-strip {
    grid-template-columns: 1fr;
  }

  .studio-hero {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .studio-hero,
  .studio-section {
    width: min(var(--home-max, 1280px), calc(100vw - 2rem));
  }

  .studio-hero {
    gap: 2rem;
    padding-block: 2.5rem 4rem;
  }

  .studio-hero-copy h1 {
    font-size: 3.35rem;
  }

  .studio-section {
    gap: 2rem;
    padding-block: 4rem;
  }

  .studio-section-head h2,
  .contact-copy h2 {
    font-size: 2.45rem;
  }

  .studio-hero-facts,
  .studio-proof-grid {
    grid-template-columns: 1fr;
  }

  .studio-hero .hero-stage-track {
    min-height: auto;
  }

  .studio-hero .hero-stage-panel {
    grid-template-columns: 1fr;
  }

  .studio-hero .hero-stage-copy h2 {
    max-width: none;
    font-size: 2rem;
  }
}

@media (max-width: 560px) {
  .studio-hero-copy h1 {
    font-size: 2.75rem;
  }

  .studio-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .studio-row > span {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
  }
}

/* Theme switcher */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  min-height: 2.4rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font: inherit;
  font-size: 1.08rem;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.theme-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

:root[data-theme="light"] {
  --bg: #f7f7f4;
  --bg-soft: #ecece8;
  --surface: rgba(0, 0, 0, 0.045);
  --surface-strong: rgba(0, 0, 0, 0.075);
  --line: rgba(0, 0, 0, 0.13);
  --text: #101010;
  --muted: rgba(16, 16, 16, 0.62);
  --accent: #101010;
  --accent-soft: #363636;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  color-scheme: light;
}

:root[data-theme="light"] body {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f7f4 46%, #f3f3ef 100%);
  color: var(--text);
}

:root[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
}

:root[data-theme="light"] .site-header {
  background: rgba(247, 247, 244, 0.86);
  border-bottom-color: var(--line);
}

:root[data-theme="light"] .brand-mark {
  filter: invert(1);
}

:root[data-theme="light"] .site-nav a:hover,
:root[data-theme="light"] .site-nav a:focus-visible,
:root[data-theme="light"] .theme-toggle:hover,
:root[data-theme="light"] .theme-toggle:focus-visible {
  background: rgba(0, 0, 0, 0.055);
  color: var(--text);
}

:root[data-theme="light"] .button-primary,
:root[data-theme="light"] .gi-site-footer__newsletter-row button,
:root[data-theme="light"] .gi-cookie-banner__button--primary,
:root[data-theme="light"] .games-button-primary {
  background: #101010;
  color: #ffffff;
}

:root[data-theme="light"] .button-secondary,
:root[data-theme="light"] .menu-toggle,
:root[data-theme="light"] .theme-toggle,
:root[data-theme="light"] .legal-link,
:root[data-theme="light"] .blog-pill {
  background: rgba(0, 0, 0, 0.035);
  color: var(--muted);
  border-color: var(--line);
}

:root[data-theme="light"] .hero-stage,
:root[data-theme="light"] .home-feature-card,
:root[data-theme="light"] .home-game-card,
:root[data-theme="light"] .home-post-grid a,
:root[data-theme="light"] .home-newsletter,
:root[data-theme="light"] .studio-card,
:root[data-theme="light"] .product-visual,
:root[data-theme="light"] .product-detail,
:root[data-theme="light"] .product-flow-node,
:root[data-theme="light"] .hero-mobile-shell,
:root[data-theme="light"] .hero-browser-shell,
:root[data-theme="light"] .service-visual,
:root[data-theme="light"] .blog-visual,
:root[data-theme="light"] .contact-form-card,
:root[data-theme="light"] .gi-site-footer__newsletter,
:root[data-theme="light"] .gi-cookie-banner {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.46)),
    rgba(255, 255, 255, 0.62);
  border-color: var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.09);
}

:root[data-theme="light"] .product-visual {
  background:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.5)),
    rgba(255, 255, 255, 0.7);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

:root[data-theme="light"] .product-flow-node.is-active {
  background: rgba(0, 0, 0, 0.075);
  border-color: rgba(0, 0, 0, 0.48);
}

:root[data-theme="light"] .product-flow-node.is-active::after {
  background: #101010;
  box-shadow: 0 0 0 0.35rem rgba(0, 0, 0, 0.09);
}

:root[data-theme="light"] .product-flow-connector::before {
  background: rgba(0, 0, 0, 0.18);
}

:root[data-theme="light"] .product-flow-connector::after {
  border-color: rgba(0, 0, 0, 0.72);
}

:root[data-theme="light"] .home-newsletter-form input[type="email"],
:root[data-theme="light"] .contact-field input,
:root[data-theme="light"] .contact-field textarea,
:root[data-theme="light"] .gi-site-footer__newsletter-row input {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-color: var(--line);
}

:root[data-theme="light"] .gi-site-footer,
:root[data-theme="light"] .gi-site-footer__meta {
  border-color: var(--line);
}

:root[data-theme="light"] .gi-site-footer,
:root[data-theme="light"] .gi-cookie-banner {
  color: var(--text);
}

@media (max-width: 760px) {
  .theme-toggle {
    justify-content: center;
    width: 100%;
    min-height: 2.9rem;
    padding: 0.75rem 0.9rem;
  }
}
