/* ═══════════════════════════════════════════════════════════════════
   SCROLLSERVE — landing3 · “The service that writes itself”
   Aurora-glow, glass-panel, product-forward.
   Fixed dark canvas — the composition is the brand.
   ═══════════════════════════════════════════════════════════════════ */

/* ── fonts ─────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Space Grotesk";
  src: url("../shared/fonts/space-grotesk-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../shared/fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../shared/fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../shared/fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../shared/fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../shared/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../shared/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── tokens ────────────────────────────────────────────────────────── */

:root {
  --bg: #05080a;
  --bg-soft: #090e10;

  --text: #eef4f0;
  --text-dim: #a3b1a9;
  --text-faint: #6b7871;

  --green: #6fe6a8;
  --teal: #4fd1c5;
  --gold: #d9b36c;

  --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-border-strong: rgba(255, 255, 255, 0.16);

  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --w-page: min(1180px, calc(100% - clamp(2.5rem, 8vw, 8rem)));

  --grad: linear-gradient(94deg, #a7f3cf 0%, #6fe6a8 38%, #4fd1c5 100%);

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 9px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── base ──────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--green);
  color: #04120b;
}

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

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

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 99;
  padding: 0.6em 1em;
  background: var(--green);
  color: #04120b;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--w-page);
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

section[id] {
  scroll-margin-top: 6.5rem;
}

/* ── aurora field ──────────────────────────────────────────────────── */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
  will-change: transform;
}

.aurora-a {
  width: 56vw;
  height: 56vw;
  top: -22vw;
  left: -12vw;
  background: radial-gradient(circle at 35% 35%, rgba(111, 230, 168, 0.34), transparent 62%);
  animation: drift-a 26s ease-in-out infinite alternate;
}

.aurora-b {
  width: 44vw;
  height: 44vw;
  top: 6vh;
  right: -16vw;
  background: radial-gradient(circle at 60% 40%, rgba(79, 209, 197, 0.26), transparent 62%);
  animation: drift-b 32s ease-in-out infinite alternate;
}

.aurora-c {
  width: 40vw;
  height: 40vw;
  bottom: -18vw;
  left: 24vw;
  background: radial-gradient(circle at 50% 50%, rgba(217, 179, 108, 0.13), transparent 60%);
  animation: drift-c 38s ease-in-out infinite alternate;
}

@keyframes drift-a {
  to { transform: translate(9vw, 7vh) scale(1.12); }
}
@keyframes drift-b {
  to { transform: translate(-7vw, 10vh) scale(0.92); }
}
@keyframes drift-c {
  to { transform: translate(6vw, -8vh) scale(1.15); }
}

/* faint engineering grid over the aurora */
.grid-veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  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: 56px 56px;
  mask-image: radial-gradient(80% 60% at 50% 0%, black 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, black 0%, transparent 78%);
}

/* ── glass ─────────────────────────────────────────────────────────── */

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ── nav ───────────────────────────────────────────────────────────── */

.nav-wrap {
  position: sticky;
  top: 1rem;
  z-index: 30;
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0.6rem 0.7rem 0.6rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 18px 44px -22px rgba(0, 0, 0, 0.75);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  margin-inline: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* ── buttons ───────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-sm {
  padding: 0.7em 1.35em;
  font-size: 0.85rem;
}

.btn-large {
  padding: 1.05em 2.2em;
  font-size: 1rem;
}

.btn-solid {
  background: linear-gradient(180deg, #8bf0bc, #5adb9d);
  color: #04120b;
  box-shadow: 0 0 0 1px rgba(111, 230, 168, 0.35), 0 10px 34px -10px rgba(111, 230, 168, 0.55);
}
.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(111, 230, 168, 0.5), 0 18px 44px -12px rgba(111, 230, 168, 0.7);
}

.btn-ghost {
  border: 1px solid var(--glass-border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.btn-arrow {
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ── hero ──────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding-top: clamp(5rem, 12vh, 8.5rem);
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 1.8rem;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  border: 1px solid rgba(111, 230, 168, 0.28);
  background: rgba(111, 230, 168, 0.07);
  color: #b9f2d3;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(111, 230, 168, 0.5);
  animation: pill-pulse 2.4s ease-out infinite;
}

@keyframes pill-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(111, 230, 168, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(111, 230, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 230, 168, 0); }
}

.hero-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.9rem, 7.2vw, 6.1rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 38em;
  margin: 1.6rem 0 0;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

/* ── console mockup ────────────────────────────────────────────────── */

.mockup-zone {
  position: relative;
  margin-top: clamp(3.4rem, 7vh, 5.5rem);
  padding-bottom: clamp(4rem, 8vh, 6rem);
}

.mockup-glow {
  position: absolute;
  inset: 8% -6% 0;
  background: radial-gradient(52% 60% at 50% 42%, rgba(111, 230, 168, 0.17), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}

.mockup {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 60px 120px -50px rgba(0, 0, 0, 0.85),
    0 30px 80px -40px rgba(111, 230, 168, 0.22);
  text-align: left;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.15rem;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
}

.traffic {
  display: inline-flex;
  gap: 6px;
}

.traffic i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.traffic i:first-child { background: #ff5f57; }
.traffic i:nth-child(2) { background: #febc2e; }
.traffic i:last-child  { background: #28c840; }

.mockup-title {
  color: var(--text-faint);
}

.mockup-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-left: auto;
  color: var(--green);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pill-pulse 2.4s ease-out infinite;
}

.mockup-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
}

.mockup-transcript {
  padding: clamp(1.3rem, 2.6vw, 2rem);
  border-right: 1px solid var(--glass-border);
}

.mt-line {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding-block: 0.5rem;
}

.mt-time {
  flex: none;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  padding-top: 0.3em;
}

.mt-text {
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  color: var(--text-dim);
}

/* typing animation */
.mt-text[data-line] {
  --n: 0;
}

.mt-line .mt-text::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--green);
  opacity: 0;
}
.mt-line.typing .mt-text::after {
  opacity: 1;
  animation: caret 0.9s steps(2, start) infinite;
}
.mt-line.done .mt-text::after {
  opacity: 0;
}

@keyframes caret {
  50% { opacity: 0; }
}

.mt-detect {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin: 1.1rem 0 0 5.4rem;
  padding: 0.6em 1em;
  border-radius: 999px;
  border: 1px solid rgba(111, 230, 168, 0.4);
  background: rgba(111, 230, 168, 0.1);
  color: var(--green);

  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mt-detect .mono {
  font-size: 0.5625rem;
  opacity: 0.75;
}
.mt-detect strong {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.mt-check {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  color: #04120b;
  font-size: 0.7rem;
  font-weight: 700;
}
.mt-detect.show {
  opacity: 1;
  transform: none;
}

.mockup-verse {
  padding: clamp(1.3rem, 2.6vw, 2rem);
  background: rgba(111, 230, 168, 0.045);

  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.mockup-verse.show {
  opacity: 1;
  transform: none;
}

.mv-cite {
  margin: 0 0 0.9rem;
  color: var(--gold);
}

.mv-text {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.mv-alt {
  margin: 0.5rem 0 0;
  color: var(--text-dim);
  font-size: 1.02rem;
}

.mv-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.3rem;
}

.mv-chip {
  padding: 0.45em 0.95em;
  border-radius: 999px;
  background: var(--green);
  color: #04120b;
  font-size: 0.5625rem;
}

.mv-chip-quiet {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
}

/* floating chips */
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.65em 1.1em;
  border-radius: 999px;
  font-size: 0.625rem;
  color: var(--text-dim);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  animation: floaty 6.5s ease-in-out infinite alternate;
}

.fc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.float-chip-a { top: 16%; left: -1.5%; animation-delay: 0s; }
.float-chip-b { top: 38%; right: -2%; animation-delay: 1.6s; }
.float-chip-c { bottom: 9%; left: 6%; animation-delay: 3.1s; }

@keyframes floaty {
  from { transform: translateY(-7px); }
  to   { transform: translateY(9px); }
}

/* ── translations strip ────────────────────────────────────────────── */

.strip {
  border-block: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.strip-track {
  display: flex;
  width: max-content;
  animation: strip-roll 36s linear infinite;
}

.strip:hover .strip-track {
  animation-play-state: paused;
}

.strip-list {
  display: flex;
  margin: 0;
  padding: 1rem 0;
  list-style: none;
}

.strip-list li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7em;
  padding-inline: 2.2rem;
  border-left: 1px solid var(--glass-border);
  white-space: nowrap;
}

.strip-list strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.strip-list span {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

@keyframes strip-roll {
  to { transform: translateX(-50%); }
}

/* ── sections ──────────────────────────────────────────────────────── */

.section {
  padding-block: clamp(4.5rem, 10vh, 8rem);
  position: relative;
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.8rem, 6vh, 4.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--green);
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

/* ── bento ─────────────────────────────────────────────────────────── */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.cell {
  grid-column: span 2;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border-radius: var(--r-lg);
  transition: transform 0.45s var(--ease), border-color 0.35s ease, background 0.35s ease;
}

.cell:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 230, 168, 0.32);
}

.cell-wide {
  grid-column: span 4;
}

.cell h3 {
  margin: 1.2rem 0 0.55rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.cell p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.cell-visual {
  display: flex;
  align-items: center;
  min-height: 64px;
}

/* waveform */
.wave {
  gap: 5px;
  align-items: flex-end;
  height: 56px;
}

.wave i {
  width: 6px;
  border-radius: 3px;
  background: var(--grad);
  height: 22%;
  animation: wave 1.6s ease-in-out infinite alternate;
  animation-delay: calc(var(--d) * -0.13s);
}

@keyframes wave {
  from { height: 14%; opacity: 0.55; }
  to   { height: 96%; opacity: 1; }
}

/* detection chip */
.detect-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.7em 1.15em;
  border-radius: 999px;
  border: 1px solid rgba(111, 230, 168, 0.4);
  background: rgba(111, 230, 168, 0.1);
  color: var(--green);
  animation: chip-glow 3s ease-in-out infinite;
}

.detect-chip .mono {
  font-size: 0.5625rem;
  opacity: 0.75;
}

.detect-chip strong {
  font-family: var(--mono);
  font-size: 0.85rem;
}

@keyframes chip-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 230, 168, 0); }
  50%      { box-shadow: 0 0 26px -4px rgba(111, 230, 168, 0.45); }
}

/* language toggle */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--glass-border-strong);
  border-radius: 999px;
  padding: 4px;
}

.lang-toggle b {
  padding: 0.45em 1.2em;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  transition: background 0.3s ease, color 0.3s ease;
}

.lang-toggle b.on {
  background: var(--grad);
  color: #04120b;
  animation: lang-swap 5s ease-in-out infinite;
}

@keyframes lang-swap {
  0%, 42%  { background: var(--grad); color: #04120b; }
  50%, 92% { background: rgba(255, 255, 255, 0.12); color: var(--text); }
  100%     { background: var(--grad); color: #04120b; }
}

.lang-toggle b:not(.on) {
  animation: lang-swap-off 5s ease-in-out infinite;
}

@keyframes lang-swap-off {
  0%, 42%  { background: rgba(255, 255, 255, 0.12); color: var(--text); }
  50%, 92% { background: var(--grad); color: #04120b; }
  100%     { background: rgba(255, 255, 255, 0.12); color: var(--text); }
}

/* search mock */
.search-mock {
  display: inline-flex;
  align-items: center;
  width: min(240px, 100%);
  padding: 0.7em 1.1em;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border-strong);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-dim);
  font-size: 0.95rem;
}

.search-mock .mono {
  color: var(--green);
}

/* timeline */
.timeline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.timeline i {
  width: 34px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline .tl-done { background: rgba(111, 230, 168, 0.55); }
.timeline .tl-now {
  background: var(--grad);
  animation: tl-pulse 2s ease-in-out infinite;
}

@keyframes tl-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

/* window mock */
.window-mock {
  display: inline-flex;
  gap: 7px;
}

.window-mock i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
}

.window-mock i:first-child { background: rgba(111, 230, 168, 0.75); }

/* ── steps ─────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--grad);
  opacity: 0.65;
}

.step-no {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.45em 0.9em;
  border-radius: 999px;
  border: 1px solid rgba(111, 230, 168, 0.35);
  color: var(--green);
}

.step h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.45rem;
}

.step p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ── stats ─────────────────────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid var(--glass-border);
}

.stat:last-child {
  border-right: 0;
}

.stat dt {
  margin: 0 0 0.7rem;
  color: var(--text-faint);
}

.stat dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ── cta ───────────────────────────────────────────────────────────── */

.cta-zone {
  padding-bottom: clamp(4rem, 9vh, 7rem);
}

.cta {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: calc(var(--r-lg) + 6px);
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(40% 50% at 30% 20%, rgba(111, 230, 168, 0.16), transparent 70%),
    radial-gradient(36% 44% at 74% 84%, rgba(79, 209, 197, 0.14), transparent 70%);
  pointer-events: none;
}

.cta > * {
  position: relative;
}

.cta-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.cta-sub {
  max-width: 30em;
  margin: 1.2rem auto 0;
  color: var(--text-dim);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.cta-note {
  margin: 2rem 0 0;
  color: var(--text-faint);
}

/* ── footer ────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.015);
  padding-block: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-inline: auto;
}

.footer-nav a {
  color: var(--text-dim);
  transition: color 0.25s ease;
}
.footer-nav a:hover {
  color: var(--green);
}

.footer-note {
  color: var(--text-faint);
}

/* ── load & scroll reveals ─────────────────────────────────────────── */

.reveal-load {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) forwards;
  animation-delay: calc(0.1s + var(--i, 0) * 0.13s);
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── responsive ────────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .cell,
  .cell-wide {
    grid-column: span 1;
  }
  .cell:first-child,
  .cell-wide:first-child {
    grid-column: span 2;
  }

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

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--glass-border);
  }

  .float-chip {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .mockup-body {
    grid-template-columns: 1fr;
  }
  .mockup-transcript {
    border-right: 0;
    border-bottom: 1px solid var(--glass-border);
  }
  .mt-detect {
    margin-left: 0;
  }

  .bento {
    grid-template-columns: 1fr;
  }
  .cell,
  .cell-wide,
  .cell:first-child {
    grid-column: span 1;
  }
}

/* ── reduced motion ────────────────────────────────────────────────── */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    transition-delay: 0s !important;
  }

  .reveal,
  .reveal-load,
  .mockup-verse,
  .mt-detect {
    opacity: 1 !important;
    transform: none !important;
  }

  .strip-track {
    animation: none !important;
  }
}
