:root {
  --forest: #10352A;
  --forest-deep: #08201A;
  --sprout: #1FA971;
  --sprout-bright: #2BC584;
  --mint: #E7F2EB;
  --mint-pale: #F3F9F5;
  --card: #FFFFFF;
  --ink: #0F2A22;
  --ink-muted: #54685E;
  --line: #D3E4D9;
  --line-soft: #E4EFE8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 53, 42, .04), 0 12px 32px -12px rgba(16, 53, 42, .16);
  --shadow-lg: 0 2px 4px rgba(16, 53, 42, .05), 0 30px 60px -24px rgba(16, 53, 42, .28);
  --max: 1140px;

  /* Legacy aliases for legal pages */
  --bg: var(--mint);
  --text: var(--ink);
  --text-secondary: var(--ink-muted);
  --text-tertiary: rgba(84, 104, 94, 0.72);
  --accent: var(--forest);
  --accent-deep: var(--forest);
  --accent-vibrant: var(--sprout);
  --border: var(--line);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--mint);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

h1, h2, h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--forest);
  font-weight: 700;
}

.mono { font-family: 'JetBrains Mono', monospace; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sprout);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--sprout);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--forest);
  color: #EAF6EF;
  box-shadow: 0 8px 20px -8px rgba(16, 53, 42, .5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #0c2a22;
  box-shadow: 0 12px 26px -8px rgba(16, 53, 42, .55);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--sprout);
  background: var(--mint-pale);
}

.btn .apple {
  width: 16px;
  height: 16px;
  fill: currentColor;
  margin-top: -2px;
}

/* NAV */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .3s ease, box-shadow .3s ease;
}

header.nav .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

header.nav.scrolled {
  background: rgba(231, 242, 235, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--forest);
  letter-spacing: -.02em;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(16, 53, 42, .14);
}

nav.links {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav.links a {
  font-size: 14.5px;
  color: var(--ink-muted);
  font-weight: 500;
  transition: color .15s;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  margin: 4px 0;
}

/* HERO */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 15px 6px 9px;
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 500;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}

.hero .badge b {
  color: var(--forest);
  font-weight: 600;
}

.hero .badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sprout);
  box-shadow: 0 0 0 4px rgba(31, 169, 113, .16);
}

.hero h1 {
  font-size: clamp(38px, 6.4vw, 68px);
  font-weight: 700;
  max-width: 20ch;
  margin: 0 auto;
}

.hero h1 .hl { color: var(--sprout); }

.hero p.sub {
  font-size: clamp(17px, 2.1vw, 20px);
  color: var(--ink-muted);
  max-width: 42rem;
  margin: 36px auto 0;
  line-height: 1.5;
}

.hero .cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* language marquee */
.lang-strip {
  margin-top: 28px;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.lang-cap {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-muted);
  opacity: .7;
  margin-bottom: 14px;
}

.lang-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marq 110s linear infinite;
}

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

.lang-chip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--forest);
  white-space: nowrap;
}

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

/* LIVE DEMO: dual windows (inside hero) */
.hero .stage-duo {
  margin: 40px auto 0;
  text-align: left;
}

.stage-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}

.demo-col {
  display: flex;
  flex-direction: column;
}

.demo-col .window {
  flex: 1;
}

.demo-col-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
  margin-bottom: 14px;
}

.stage {
  margin: 0 auto;
  max-width: 640px;
}

.window {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.window .chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--mint-pale);
}

.window .chrome i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.window .chrome i:nth-child(1) { background: #F0A9A0; }
.window .chrome i:nth-child(2) { background: #F2D08A; }
.window .chrome i:nth-child(3) { background: #A9DAB4; }

.dictation {
  padding: 26px 26px 24px;
  text-align: left;
}

.pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--forest);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 12px 26px -12px rgba(8, 32, 26, .6);
}

.pill .mic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .1);
  display: grid;
  place-items: center;
  flex: none;
}

.pill .mic svg {
  width: 16px;
  height: 16px;
  stroke: var(--sprout-bright);
}

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  flex: 1;
}

.wave b {
  width: 3px;
  background: var(--sprout-bright);
  border-radius: 3px;
  height: 30%;
  animation: pulse 1.1s ease-in-out infinite;
}

.wave b:nth-child(2n) { animation-delay: .15s; }
.wave b:nth-child(3n) { animation-delay: .32s; }
.wave b:nth-child(4n) { animation-delay: .48s; }
.wave b:nth-child(5n) { animation-delay: .22s; }

@keyframes pulse {
  0%, 100% { height: 22%; }
  50% { height: 100%; }
}

.pill .lchip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: #EAF6EF;
  background: rgba(43, 197, 132, .22);
  padding: 5px 10px;
  border-radius: 8px;
  white-space: nowrap;
  flex: none;
}

.pill .tmr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(234, 246, 239, .55);
  flex: none;
}

.rowlabel {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 20px 0 7px;
}

.said {
  font-size: 19px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}

.said-raw {
  font-size: 17px;
  color: var(--ink-muted);
  font-weight: 500;
  line-height: 1.45;
  font-style: italic;
  opacity: 0.82;
}

.said-clean {
  font-size: 19px;
  color: var(--forest);
  font-weight: 600;
  line-height: 1.4;
}

.said .caret {
  display: inline-block;
  width: 2px;
  height: 20px;
  background: var(--sprout);
  margin-left: 2px;
  vertical-align: -3px;
  animation: blink 1s step-end infinite;
}

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

.tbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
  padding: 11px 14px;
  background: var(--mint-pale);
  border: 1px solid var(--line-soft);
  border-radius: 11px;
}

.tbar .tl {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--forest);
}

.tbar .tl svg {
  width: 16px;
  height: 16px;
  stroke: var(--sprout);
}

.tbar .lat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--sprout);
  font-weight: 600;
}

.tbar .lat .ck {
  width: 15px;
  height: 15px;
}

.eng {
  font-size: 19px;
  color: var(--forest);
  font-weight: 600;
  line-height: 1.4;
}

.demo-swap {
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.demo-swap.is-changing {
  opacity: 0 !important;
  transform: translateY(5px) !important;
  transition-delay: 0s !important;
  transition-duration: 0.28s !important;
}

/* demo reveal — hidden until #stage gets .play (must match .stage-duo, not .stage) */
.window-translate .said,
.window-translate .tbar,
.window-translate .engblock,
.window-cleanup .said-raw,
.window-cleanup .tbar,
.window-cleanup .corrected-block {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stage-duo:not(.play) .window-translate .said,
.stage-duo:not(.play) .window-translate .tbar,
.stage-duo:not(.play) .window-translate .engblock,
.stage-duo:not(.play) .window-cleanup .said-raw,
.stage-duo:not(.play) .window-cleanup .tbar,
.stage-duo:not(.play) .window-cleanup .corrected-block {
  opacity: 0;
  transform: translateY(8px);
}

.stage-duo.play .window-cleanup .said-raw {
  opacity: 1;
  transform: none;
  transition-delay: 0.3s;
}

.stage-duo.play .window-cleanup .tbar {
  opacity: 1;
  transform: none;
  transition-delay: 1.05s;
}

.stage-duo.play .window-cleanup .corrected-block {
  opacity: 1;
  transform: none;
  transition-delay: 1.35s;
}

.stage-duo.play .window-translate .said {
  opacity: 1;
  transform: none;
  transition-delay: 0.3s;
}

.stage-duo.play .window-translate .tbar {
  opacity: 1;
  transform: none;
  transition-delay: 1.05s;
}

.stage-duo.play .window-translate .engblock {
  opacity: 1;
  transform: none;
  transition-delay: 1.35s;
}

.stage-duo.play .window-translate .caret {
  animation: blink 1s step-end 3, fadeOut .3s forwards 1s;
}

.stage-duo.play.entrance-done .demo-swap:not(.is-changing) {
  transition-delay: 0s;
  transition-duration: 0.35s;
}

@keyframes fadeOut { to { opacity: 0; } }

/* section scaffolding */
.shead {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 46px;
}

.shead h2 {
  font-size: clamp(30px, 4.4vw, 44px);
  margin-top: 0;
}

.shead .eyebrow + h2 {
  margin-top: 16px;
}

.shead p {
  color: var(--ink-muted);
  font-size: 17px;
  margin-top: 14px;
  line-height: 1.55;
}

.band { padding: 96px 0; }
.band.pale { background: var(--mint-pale); }

/* VIDEO */
.video-frame {
  max-width: 940px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--forest);
  position: relative;
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace;
}

/* HOW */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px 28px;
  text-align: left;
  box-shadow: var(--shadow);
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(31, 169, 113, .12);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--sprout);
  letter-spacing: .08em;
}

.step h3 {
  font-size: 21px;
  margin: 18px 0 10px;
  line-height: 1.25;
}

.step p {
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0;
}

/* FEATURES */
.feat-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.feat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}

.feat-row:last-of-type {
  margin-bottom: 0;
}

.fcard h3 .beta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--sprout);
  background: var(--mint);
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 600;
  vertical-align: middle;
  margin-left: 6px;
}

.fcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}

.fcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.fcard.dark {
  background: linear-gradient(168deg, var(--forest) 0%, #0c2a22 100%);
  border-color: transparent;
}

.fic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mint);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--line-soft);
}

.fic svg {
  width: 22px;
  height: 22px;
  stroke: var(--forest);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fcard.dark .fic {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
}

.fcard.dark .fic svg { stroke: var(--sprout-bright); }

.fcard h3 {
  font-size: 20px;
  margin-bottom: 9px;
}

.fcard p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.55;
}

.fcard.dark h3 {
  color: #EAF6EF;
  font-size: 27px;
}

.fcard.dark p {
  color: rgba(215, 237, 225, .74);
  font-size: 15.5px;
}

.fcard .chips {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.fcard .c {
  font-size: 13px;
  font-weight: 500;
  color: var(--forest);
  background: var(--mint);
  padding: 5px 11px;
  border-radius: 8px;
}

.fcard.dark .c {
  color: #EAF6EF;
  background: rgba(255, 255, 255, .09);
}

.fcard .c-more {
  border: none;
  cursor: pointer;
  font: inherit;
  transition: background .15s ease, transform .15s ease;
}

.fcard .c-more:hover {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-1px);
}

.fcard:not(.dark) .c-more:hover {
  background: var(--mint);
}

/* Language modal */
body.modal-open {
  overflow: hidden;
}

.lang-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lang-modal[hidden] {
  display: none;
}

.lang-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 32, 26, .42);
  backdrop-filter: blur(6px);
}

.lang-modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-lg);
}

.lang-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: var(--mint-pale);
  color: var(--forest);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lang-modal-close:hover {
  background: var(--mint);
}

.lang-modal-panel h2 {
  font-size: 1.55rem;
  margin-bottom: 8px;
  padding-right: 36px;
}

.lang-modal-sub {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 22px;
}

.lang-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
}

.lang-modal-item {
  background: var(--mint-pale);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px 14px;
}

.lang-modal-native {
  display: block;
  font-weight: 600;
  color: var(--forest);
  font-size: 0.98rem;
  line-height: 1.3;
}

.lang-modal-label {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.fcard .kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sprout);
  font-weight: 600;
  margin-bottom: 12px;
}

/* PRICING */
.tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  max-width: 720px;
  margin-inline: auto;
}

.tier {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 26px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
}

.tier.popular {
  border: 1.5px solid var(--sprout);
  box-shadow:
    0 0 0 4px rgba(31, 169, 113, .10),
    0 0 38px -6px rgba(43, 197, 132, .45),
    var(--shadow-lg);
  margin: -18px -12px 0;
  padding: 40px 32px;
}

.tier .pop {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #08201A;
  background: var(--sprout-bright);
  padding: 5px 11px;
  border-radius: 999px;
  font-weight: 600;
}

.tier .tname {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--forest);
}

.tier .cost {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 14px 0 20px;
}

.tier .cost .amt {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}

.tier .cost .per {
  color: var(--ink-muted);
  font-size: 15px;
}

.tier ul {
  list-style: none;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.tier li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.42;
}

.tier li.na { color: var(--ink-muted); }

.tier li svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 1px;
}

.tier li svg.ck circle { fill: var(--mint); }
.tier li svg.ck path { stroke: var(--sprout); fill: none; }
.tier li svg.dash circle { fill: #EEF2F0; }
.tier li svg.dash path { stroke: #9CADA4; fill: none; }

.tier .beta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--sprout);
  background: var(--mint);
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 600;
  margin-left: 4px;
  white-space: nowrap;
}

.tier-feat {
  display: inline;
}

.feat-tip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--mint-pale);
  color: var(--ink-muted);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  cursor: help;
  vertical-align: middle;
  position: relative;
  top: -1px;
  flex: none;
}

.feat-tip-btn:hover,
.feat-tip-btn:focus-visible,
.feat-tip-btn[aria-expanded="true"] {
  color: var(--forest);
  border-color: var(--sprout);
  background: var(--mint);
  outline: none;
}

.feat-tip-pop {
  position: fixed;
  z-index: 80;
  max-width: 320px;
  max-height: min(70vh, 420px);
  overflow-y: auto;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.5;
  text-align: left;
}

.feat-tip-pop[hidden] {
  display: none;
}

.feat-tip-pop p + p {
  margin-top: 10px;
}

.tier .btn {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 13px;
  margin-top: auto;
}

.tier .trial-note {
  text-align: center;
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
}

.tier-foot {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-top: 30px;
  font-family: 'JetBrains Mono', monospace;
}

.tier-foot a {
  color: var(--forest);
  text-decoration: underline;
}

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.qa {
  border-bottom: 1px solid var(--line);
}

.qa button {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--forest);
}

.qa .plus {
  width: 22px;
  height: 22px;
  flex: none;
  position: relative;
}

.qa .plus::before,
.qa .plus::after {
  content: "";
  position: absolute;
  background: var(--sprout);
  border-radius: 2px;
}

.qa .plus::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

.qa .plus::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  transition: opacity .25s;
}

.qa.open .plus::after { opacity: 0; }

.qa .ans {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.qa .ans p {
  padding: 0 4px 22px;
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 66ch;
}

.qa .ans p:last-child {
  padding-bottom: 22px;
}

.qa .ans p + p {
  padding-top: 0;
  margin-top: -10px;
}

.faq-lang-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 15.5px;
  color: var(--sprout);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.faq-lang-link:hover {
  color: var(--forest);
}

/* FINAL */
.final {
  background: var(--forest-deep);
  color: #EAF6EF;
  padding: 92px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final .glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 120% at 50% -10%, rgba(31, 169, 113, .35), transparent 60%);
}

.final .wrap { position: relative; }

.final h2 {
  color: #EAF6EF;
  font-size: clamp(30px, 4.6vw, 48px);
  max-width: 17ch;
  margin: 0 auto;
}

.final p {
  color: rgba(215, 237, 225, .7);
  font-size: 18px;
  margin: 20px auto 32px;
  max-width: 48ch;
}

.final .btn-primary {
  background: var(--sprout);
  color: #08201A;
}

.final .btn-primary:hover {
  background: var(--sprout-bright);
}

.final .fine {
  margin-top: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(215, 237, 225, .5);
}

/* FOOTER */
footer.foot {
  background: var(--forest-deep);
  color: rgba(215, 237, 225, .7);
  padding: 40px 0 46px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

footer.foot .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

footer.foot .brand { color: #EAF6EF; }

footer.foot .flinks {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

footer.foot .flinks a {
  font-size: 14px;
  color: rgba(215, 237, 225, .7);
  transition: color .15s;
}

footer.foot .flinks a:hover { color: #EAF6EF; }

footer.foot .copy {
  margin-top: 26px;
  font-size: 13px;
  color: rgba(215, 237, 225, .45);
  font-family: 'JetBrains Mono', monospace;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

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

/* Legal page compatibility */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(231, 242, 235, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--forest);
}

.site-nav .brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

@media (max-width: 860px) {
  nav.links,
  .nav-cta .btn-ghost { display: none; }

  .menu-toggle { display: block; }

  .steps,
  .feat-top,
  .feat-row,
  .tiers,
  .stage-duo { grid-template-columns: 1fr; gap: 20px; }

  .tier.popular { margin: 0; }

  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .said, .tbar, .engblock, .reveal,
  .window-translate .said,
  .window-translate .tbar,
  .window-translate .engblock,
  .window-cleanup .said-raw,
  .window-cleanup .tbar,
  .window-cleanup .corrected-block {
    opacity: 1 !important;
    transform: none !important;
  }

  .caret { display: none; }

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