@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Manrope:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --aayvu-font-body: 'Manrope', system-ui, sans-serif;
  --aayvu-font-display: 'Manrope', system-ui, sans-serif;
  --home-paper: #f2efe7;
  --home-paper-2: #e9e4d8;
  --home-surface: #f9f7f1;
  --home-ink: #181714;
  --home-muted: #69665f;
  --home-faint: #656159;
  --home-line: #c9c3b7;
  --home-line-dark: #48443e;
  --home-accent: #aa3f06;
  --home-accent-dark: #943807;
  --home-signal: #f3e654;
  --home-ok: #286e4c;
  --home-ease: cubic-bezier(.23, 1, .32, 1);
}

* { touch-action: manipulation; }

html { scroll-padding-top: 72px; }

body.home-page {
  --bg: var(--home-paper);
  --card: var(--home-surface);
  --ink: var(--home-ink);
  --ink-70: #45423c;
  --ink-55: var(--home-muted);
  --ink-35: var(--home-faint);
  --line: var(--home-line);
  --brand: var(--home-accent);
  --brand-deep: var(--home-accent-dark);
  --brand-glow: #ee8b3d;
  --brand-wash: #f4e3d5;
  margin: 0;
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: var(--aayvu-font-body);
  font-size: 16px;
  line-height: 1.55;
  isolation: isolate;
  --cursor-x: 50vw;
  --cursor-y: 34vh;
  --interactive-grid-color: rgba(55, 50, 43, .085);
}

body.home-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(230px circle at var(--cursor-x) var(--cursor-y), color-mix(in srgb, var(--home-accent) 7%, transparent), transparent 74%);
  opacity: 0;
  transition: opacity 280ms ease;
}
body.home-page.cursor-active::before { opacity: 1; }
body.home-page::after {
  content: '';
  position: fixed;
  left: var(--cursor-x);
  top: var(--cursor-y);
  z-index: 0;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--home-accent) 3%, transparent), transparent 68%);
  -webkit-mask-image: radial-gradient(circle, #000 0 28%, transparent 70%);
  mask-image: radial-gradient(circle, #000 0 28%, transparent 70%);
  transition: opacity 220ms ease;
}
body.home-page.cursor-active::after { opacity: 1; }
.ambient-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.home-page > :is(main, footer) { position: relative; z-index: 1; }
.home-page > nav { z-index: 50; }
.home-page > :is(.skip-link, .scroll-progress) { z-index: 120; }

.home-page h1,
.home-page h2,
.home-page h3,
.home-page .brand {
  color: inherit;
  font-family: var(--aayvu-font-display);
  letter-spacing: -.035em;
}

.home-page h1,
.home-page h2 { text-wrap: balance; }
.home-page p { text-wrap: pretty; }
.home-page button,
.home-page input,
.home-page textarea { font: inherit; }
.home-page [hidden] { display: none !important; }
.home-page :is(#how, #savings, #use-cases, #features, #team, #contact) { scroll-margin-top: 72px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--home-ink);
  color: var(--home-paper);
  transform: translateY(-150%);
  transition: transform 160ms var(--home-ease);
}

.skip-link:focus { transform: translateY(0); }

.home-page :is(a, button, input, textarea, summary):focus-visible {
  outline: 2px solid var(--home-accent);
  outline-offset: 3px;
}

.home-page .wrap { max-width: 1440px; padding-inline: clamp(22px, 4vw, 64px); }

/* Navigation */
.home-page .nav {
  height: 72px;
  background: color-mix(in srgb, var(--home-paper) 92%, transparent);
  border-color: var(--home-line);
  backdrop-filter: blur(14px);
}

.home-page .nav-inner { height: 72px; gap: 34px; }
.home-page .brand { display: inline-flex; align-items: center; line-height: 1; }
.home-page .brand-logo { height: 30px; }
.home-page .footer-brand .brand-logo { height: 36px; }

.home-page .nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 28px;
  color: var(--home-muted);
  font-size: 14px;
  font-weight: 600;
}

.home-page .nav-links > a,
.home-page .drop-trigger { transition: color 150ms ease; }
.home-page .nav-links > a:hover,
.home-page .drop-trigger:hover { color: var(--home-ink); }
.home-page .drop-trigger { height: 72px; gap: 6px; }

.home-page .drop-menu {
  min-width: 238px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  border-radius: 4px;
  border-color: var(--home-line);
  background: var(--home-surface);
  box-shadow: 0 18px 50px rgba(41, 35, 27, .14);
  transform-origin: top center;
}

.home-page .drop-caret { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms ease; }
.home-page .drop-trigger[aria-expanded="true"] .drop-caret { transform: rotate(180deg); }
.home-page .drop-menu { padding: 8px; border: 1px solid var(--home-line); border-radius: 10px; background: var(--home-surface); }
.home-page .drop-menu:not([hidden]) { animation: drop-in 160ms ease-out; }
@keyframes drop-in { from { opacity: 0; translate: 0 -6px; } }
@media (min-width: 961px) {
  .home-page #nav-use-cases { width: min(580px, calc(100vw - 32px)); }
  .home-page #nav-features { width: min(540px, calc(100vw - 32px)); }
}
.home-page .drop-menu a { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; min-height: 0; border-radius: 7px; padding: 9px 10px; color: var(--home-ink); white-space: normal; }
.home-page .drop-menu a:hover,
.home-page .drop-menu a:focus-visible { background: var(--home-paper-2); }
.home-page .drop-tile { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--home-line); border-radius: 8px; background: var(--home-paper); color: var(--home-accent); transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
.home-page .drop-menu a:hover .drop-tile,
.home-page .drop-menu a:focus-visible .drop-tile { border-color: var(--home-accent); background: var(--home-accent); color: #fff; }
.home-page .drop-menu .drop-icon { width: 17px; height: 17px; color: inherit; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.home-page .drop-menu a > span { display: grid; gap: 2px; min-width: 0; }
.home-page .drop-menu b { font-size: 13px; font-weight: 650; line-height: 1.25; }
.home-page .drop-menu small { color: var(--home-muted); font-size: 11.5px; font-weight: 500; line-height: 1.35; }
.home-page .drop-menu a.drop-all { display: flex; grid-column: 1 / -1; justify-content: space-between; margin-top: 6px; border-top: 1px solid var(--home-line); border-radius: 0 0 7px 7px; padding: 12px 10px; color: var(--home-accent); font-size: 12px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .home-page .drop-menu:not([hidden]) { animation: none; } .home-page .drop-caret { transition: none; } }
.home-page .nav-cta { gap: 14px; }
/* Sign in = existing users → the app. Outlined so it never reads as the early-access CTA. */
.home-page .signin-link { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--home-line); border-radius: 999px; padding: 8px 14px; color: var(--home-ink); font-size: 13px; font-weight: 650; transition: border-color 160ms ease, background-color 160ms ease; }
.home-page .signin-link:hover { border-color: var(--home-ink); background: var(--home-surface); }
.home-page .signin-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.home-page .theme-toggle {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-radius: 50%;
  background: transparent;
  transition: background-color 150ms ease, border-color 150ms ease, transform 120ms var(--home-ease);
}
.home-page .theme-toggle:active { transform: scale(.96); }

/* Shared controls */
.home-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform 140ms var(--home-ease), background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.home-page .button:hover { transform: translateY(-2px); }
.home-page .button:active { transform: scale(.97); }
.home-page .button-solid { background: var(--home-ink); color: var(--home-paper); }
.home-page .button-solid:hover { background: var(--home-accent); color: #fff; box-shadow: 0 9px 24px rgba(24, 23, 20, .18); }
.home-page .button-outline { border-color: var(--home-ink); color: var(--home-ink); background: transparent; }
.home-page .button-outline:hover { background: var(--home-ink); color: var(--home-paper); }
.home-page .button-accent { background: var(--home-accent); color: #fcf7ef; }
.home-page .button-accent:hover { background: #d35a12; }
.home-page .button-large { min-height: 50px; padding: 14px 24px; font-size: 15px; }

.section-label,
.kicker,
.pane-label,
.workbench-bar,
.range-ends {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

.section-label {
  margin: 0 0 18px;
  color: var(--home-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.section-label::before { content: '•'; margin-right: 8px; }
.section-label-light { color: #f1a05f; }

/* Hero */
.home-page .hero {
  position: relative;
  min-height: calc(100svh - 72px);
  padding: clamp(48px, 6vw, 82px) 0 64px;
  text-align: left;
  overflow: hidden;
}

.home-page .distortion-grid {
  display: none;
}

.home-page .hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--home-line);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(620px, 1.18fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}

.hero-copy { min-width: 0; container-type: inline-size; }
.hero-intro {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 clamp(28px, 4vw, 48px);
  border: 1px solid var(--home-line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--home-muted);
  background: color-mix(in srgb, var(--home-surface) 72%, transparent);
  font-size: 12px;
  font-weight: 650;
}
.availability-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--home-ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--home-ok) 14%, transparent); }
.kicker {
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(32px, 6vw, 72px);
  color: var(--home-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.kicker span:last-child { color: var(--home-accent); }

.home-page .hero h1 {
  max-width: 680px;
  margin: 0;
  /* capped by the column so "questionnaire." never overflows the copy */
  font-size: min(clamp(54px, 5.6vw, 92px), 14.5cqi);
  font-weight: 800;
  letter-spacing: -.036em;
  line-height: 1.1;
}
.home-page .hero h1 > span { color: var(--home-accent); }
.hero-lede { max-width: 600px; margin: 30px 0; color: var(--home-muted); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-capability { max-width: 590px; margin: clamp(34px, 5vw, 56px) 0 0; border-left: 1px solid var(--home-accent); padding-left: 16px; color: var(--home-muted); font-size: 13px; line-height: 1.65; }
.hero-capability b { color: var(--home-ink); }

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: clamp(42px, 6vw, 72px) 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--home-line);
  list-style: none;
}
.hero-proof li { padding-right: 14px; color: var(--home-muted); font-size: 12px; line-height: 1.35; }
.hero-proof li + li { padding-left: 14px; border-left: 1px solid var(--home-line); }
.hero-proof span { display: block; margin-bottom: 8px; color: var(--home-accent); font-family: 'IBM Plex Mono', monospace; font-size: 10px; }

/* Hero workbench */
.workbench {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-surface);
  box-shadow: 0 16px 24px rgba(54, 44, 31, .11);
}
.workbench-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--home-line);
  color: var(--home-muted);
  font-size: 10px;
}
.wb-file { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-icon { margin-right: 7px; color: var(--home-accent); }
.wb-progress { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.wb-progress i { width: 3px; height: 3px; border-radius: 50%; background: var(--home-line); }
.workbench-grid { display: grid; grid-template-columns: .86fr 1.14fr; min-height: 530px; }
.source-document,
.survey-flow { min-width: 0; padding: 16px; }
.source-document { background: var(--home-paper-2); border-right: 1px solid var(--home-line); }
.pane-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: var(--home-muted); font-family: var(--aayvu-font-body); font-size: 10px; font-weight: 650; letter-spacing: 0; text-transform: none; }
.ready-dot { color: var(--home-ok); }
.ready-dot::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--home-ok); vertical-align: 1px; }

.document-page {
  min-height: 472px;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--home-line);
  background: #fbfaf5;
  box-shadow: 0 9px 28px rgba(72, 61, 46, .08);
  color: #35322c;
  font-family: Georgia, serif;
}
.doc-section { margin-bottom: 24px; padding-bottom: 10px; border-bottom: 1px solid #d5d0c7; font-size: 12px; font-weight: 700; }
.doc-question { display: grid; grid-template-columns: 25px 1fr; gap: 9px; margin-bottom: 28px; font-size: 10px; line-height: 1.5; }
.doc-question b { font-weight: 400; }
.doc-question strong { display: block; margin-bottom: 8px; font-weight: 700; }
.doc-question p { color: #68645c; font-size: 9px; line-height: 1.7; }
.doc-muted { opacity: .7; }

.survey-flow { background: var(--home-surface); }
.flow-node { padding: 14px; border: 1px solid var(--home-line); background: #fdfbf6; }
.flow-node header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.flow-node header b { font-size: 10px; }
.flow-node header span { color: var(--home-faint); font-family: 'IBM Plex Mono', monospace; font-size: 8px; }
.flow-node header button { margin-left: auto; border: 0; background: transparent; color: var(--home-faint); cursor: pointer; font-size: 10px; }
.flow-node > p { margin: 0 0 10px; color: var(--home-ink); font-size: 10px; font-weight: 600; line-height: 1.4; }
.flow-options { display: flex; gap: 12px; color: var(--home-muted); font-size: 8px; }
.flow-connector { display: flex; flex-direction: column; align-items: center; height: 32px; }
.flow-connector span { flex: 1; width: 1px; background: var(--home-line); }
.flow-connector i { display: grid; place-items: center; width: 14px; height: 14px; border: 1px solid var(--home-line); border-radius: 50%; color: var(--home-muted); font-style: normal; font-size: 8px; }
.scale-points { display: flex; justify-content: space-between; }
.scale-points span { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--home-line); font-size: 8px; }
.logic-rule { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; margin: 7px 0; padding: 8px 10px; background: var(--home-signal); color: #292615; font-size: 8px; }
.logic-tag { padding: 2px 5px; border: 1px solid rgba(41, 38, 21, .35); font-family: 'IBM Plex Mono', monospace; text-transform: uppercase; }
.flow-node-accent { border-color: var(--home-accent); }
.text-field-demo { padding: 8px; border: 1px solid var(--home-line); color: var(--home-faint); font-size: 8px; }
.workbench-foot { display: flex; align-items: center; gap: 20px; min-height: 48px; padding: 8px 14px; border-top: 1px solid var(--home-line); color: var(--home-muted); font-size: 9px; }
.workbench-foot b { color: var(--home-ink); font-variant-numeric: tabular-nums; }
.workbench-foot button { margin-left: auto; border: 1px solid var(--home-ink); border-radius: 2px; padding: 7px 10px; background: var(--home-ink); color: var(--home-paper); cursor: pointer; font-size: 9px; font-weight: 700; transition: transform 120ms var(--home-ease), background-color 150ms ease; }
.workbench-foot button:hover { background: var(--home-accent); }
.workbench-foot button:active { transform: scale(.97); }

/* Process */
.process-section { padding: clamp(76px, 8vw, 124px) 0; border-bottom: 1px solid var(--home-line); }
.process-grid { display: grid; grid-template-columns: .72fr 1.6fr; gap: clamp(50px, 7vw, 110px); }
.section-intro h2,
.impact-copy h2,
.translation-copy h2,
.features-heading h2,
.contact-heading h2 {
  margin: 0;
  font-size: clamp(36px, 3.8vw, 58px);
  font-weight: 800;
  line-height: 1.08;
}
.section-intro > p:last-child { max-width: 520px; margin-top: 20px; color: var(--home-muted); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--home-line); list-style: none; }
.process-steps li { position: relative; min-height: 190px; padding: 26px 24px 24px 0; }
.process-steps li + li { padding-left: 24px; border-left: 1px solid var(--home-line); }
.process-steps li::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border: 1px solid var(--home-ink); border-radius: 50%; background: var(--home-paper); }
.process-steps li + li::before { left: 24px; }
.process-steps span { display: block; margin-bottom: 24px; color: var(--home-accent); font-family: 'IBM Plex Mono', monospace; font-size: 11px; }
.process-steps b { display: block; margin-bottom: 9px; font-size: 15px; }
.process-steps p { color: var(--home-muted); font-size: 13px; line-height: 1.55; }

/* Impact calculator */
.impact-section { padding: clamp(82px, 9vw, 138px) 0; background: #1b1a17; color: #f0ede5; }
.impact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(54px, 7vw, 110px); align-items: center; }
.impact-copy > p:not(.section-label) { max-width: 520px; margin-top: 26px; color: #aaa69d; font-size: 17px; }
.impact-copy .impact-lede { border-top: 1px solid var(--home-line-dark); padding-top: 22px; }
.impact-reasons { display: grid; gap: 0; margin-top: 44px; border-top: 1px solid var(--home-line-dark); }
.impact-reasons p { display: flex; gap: 16px; margin: 0; padding: 13px 0; border-bottom: 1px solid var(--home-line-dark); color: #e2ded5; font-size: 13px; }
.impact-reasons span { color: #f09b55; font-family: 'IBM Plex Mono', monospace; font-size: 10px; }
.calculator { display: grid; grid-template-columns: 1.1fr .9fr; border: 1px solid #555047; background: #24221e; }
.calculator-inputs { padding: clamp(26px, 3vw, 42px); }
.calculator .slider-row { margin: 0 0 34px; }
.calculator .slider-head { margin-bottom: 17px; }
.calculator .slider-head label { color: #d6d1c7; font-size: 14px; }
.calculator .slider-head output { color: #f1ede4; font-family: 'IBM Plex Mono', monospace; font-size: 28px; font-variant-numeric: tabular-nums; }
.calculator input[type='range'] { height: 3px; border-radius: 0; background: #615c52; accent-color: var(--home-accent); }
.calculator input[type='range']::-webkit-slider-thumb { width: 17px; height: 17px; border: 0; border-radius: 50%; background: #e66d20; box-shadow: none; }
.calculator input[type='range']::-moz-range-thumb { width: 17px; height: 17px; border: 0; border-radius: 50%; background: #e66d20; }
.range-ends { display: flex; justify-content: space-between; margin-top: 9px; color: #837e74; font-size: 9px; }
.calculator-note { color: #8f8a81; font-size: 12px; line-height: 1.5; }
.calculator-result { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(28px, 3vw, 44px); background: var(--home-signal); color: #201f18; }
.calculator-result > p { margin: 0 0 22px; font-size: 13px; font-weight: 700; }
.calculator-result > strong { font-size: clamp(46px, 5.2vw, 78px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.calculator-result > span { margin-top: 14px; font-size: 13px; }
.comparison-bars { display: grid; gap: 12px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(32, 31, 24, .25); }
.comparison-bars > div { display: grid; grid-template-columns: 72px 1fr 42px; gap: 10px; align-items: center; font-size: 9px; }
.comparison-bars i { height: 5px; background: rgba(32, 31, 24, .18); }
.comparison-bars em { display: block; height: 100%; background: #27251c; }
.comparison-bars b { text-align: right; font-variant-numeric: tabular-nums; }

/* Use cases */
.usecase-section { padding: clamp(86px, 9vw, 140px) 0; border-bottom: 1px solid var(--home-line); }
.usecase-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(50px, 7vw, 110px); align-items: start; }
.sticky-intro { position: sticky; top: 116px; }
.usecase-index { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--home-line); border-left: 1px solid var(--home-line); }
.usecase-index a { position: relative; min-height: 212px; padding: 24px; border-right: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); transition: background-color 170ms ease, color 170ms ease; }
.usecase-index a:hover { background: var(--home-ink); color: var(--home-paper); }
.usecase-index a:active { background: var(--home-accent-dark); }
.usecase-index span { color: var(--home-accent); font-family: 'IBM Plex Mono', monospace; font-size: 10px; }
.usecase-index h3 { max-width: 260px; margin: 42px 0 10px; font-size: clamp(22px, 2vw, 30px); font-weight: 700; line-height: 1; }
.usecase-index p { max-width: 330px; color: var(--home-muted); font-size: 13px; }
.usecase-index a:hover p { color: inherit; }
.usecase-index i { position: absolute; right: 22px; bottom: 20px; color: var(--home-accent); font-style: normal; font-size: 20px; transition: transform 170ms var(--home-ease); }
.usecase-index a:hover i { transform: translate(3px, -3px); }

/* Translations */
.translation-section { padding: clamp(88px, 9vw, 138px) 0; background: #27241f; color: #f0ede5; }
.translation-grid { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(50px, 7vw, 110px); align-items: center; }
.translation-copy > p:not(.section-label) { max-width: 460px; margin-top: 24px; color: #aaa59b; }
.translation-copy ul { margin: 40px 0 0; padding: 0; border-top: 1px solid var(--home-line-dark); list-style: none; }
.translation-copy li { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--home-line-dark); color: #d9d5cc; font-size: 13px; }
.translation-copy li span { color: #f09b55; font-family: 'IBM Plex Mono', monospace; font-size: 10px; }
.translation-table-wrap { overflow: hidden; border: 1px solid #565148; background: #312e28; }
.table-toolbar { display: flex; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid #565148; color: #c8c3b9; font-family: 'IBM Plex Mono', monospace; font-size: 10px; }
.table-toolbar b { color: #f1a05f; font-weight: 500; }
.translation-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: #d8d3ca; font-size: 11px; }
.translation-table th,
.translation-table td { overflow: hidden; padding: 17px 14px; border-right: 1px solid #4a463e; border-bottom: 1px solid #4a463e; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.translation-table th:last-child,
.translation-table td:last-child { border-right: 0; }
.translation-table thead th { color: #908b82; font-family: 'IBM Plex Mono', monospace; font-size: 9px; font-weight: 500; text-transform: uppercase; }
.translation-table th:first-child { width: 92px; color: #f0ece3; }
.translation-table th:last-child,
.translation-table td:last-child { width: 88px; }
.status-approved,
.status-review { display: inline-block; padding: 3px 6px; border: 1px solid #5e594f; font-family: 'IBM Plex Mono', monospace; font-size: 8px; }
.status-approved { color: #83c6a1; }
.status-review { border-color: #8f702a; color: #f0ce72; }
.sync-note { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; background: var(--home-signal); color: #25231a; }
.sync-note > span { font-size: 19px; }
.sync-note p { font-size: 10px; line-height: 1.4; }
.sync-note button { border: 1px solid #25231a; border-radius: 2px; padding: 8px 10px; background: transparent; color: #25231a; cursor: pointer; font-size: 9px; font-weight: 700; transition: background-color 150ms ease, color 150ms ease, transform 120ms var(--home-ease); }
.sync-note button:hover { background: #25231a; color: var(--home-signal); }
.sync-note button:active { transform: scale(.97); }

/* Features */
/* Team */
.team-section { padding: clamp(64px, 7vw, 100px) 0; border-top: 1px solid var(--home-line); }
.team-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.team-intro h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.team-intro p { max-width: 400px; margin: 20px 0 0; color: var(--home-muted); font-size: 15px; line-height: 1.6; }
.team-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--home-line); border-left: 1px solid var(--home-line); }
.team-list article { display: grid; grid-template-columns: auto 1fr auto; align-items: center; align-content: start; gap: 0 14px; min-width: 0; padding: 24px; border-right: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); }
.team-list i { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--home-line); border-radius: 50%; color: var(--home-accent); font: 700 14px 'IBM Plex Mono', monospace; font-style: normal; }
.team-list h3 { margin: 0; font-size: clamp(17px, 1.5vw, 21px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.team-list article > div > p { margin: 4px 0 0; color: var(--home-accent); font-size: 12px; font-weight: 650; }
.team-linkedin { display: grid; place-items: center; align-self: start; width: 34px; height: 34px; border-radius: 8px; color: var(--home-muted); transition: color 150ms ease, background-color 150ms ease; }
.team-linkedin:hover { color: #0a66c2; background: var(--home-surface); }
.team-linkedin svg { width: 19px; height: 19px; fill: currentColor; }
.team-bio { grid-column: 1 / -1; margin: 18px 0 0; color: var(--home-muted); font-size: 13.5px; line-height: 1.6; }
.team-tags { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.team-tags li { border: 1px solid var(--home-line); border-radius: 999px; padding: 4px 10px; color: var(--home-ink); font-size: 11px; font-weight: 600; }
@media (max-width: 960px) {
  .team-layout { grid-template-columns: 1fr; }
  .team-intro p { max-width: 640px; }
}
@media (max-width: 620px) {
  .team-list { grid-template-columns: 1fr; }
}

.features-section { padding: clamp(88px, 9vw, 140px) 0; }
.features-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; margin-bottom: 52px; }
.features-heading > p { max-width: 440px; color: var(--home-muted); }
.feature-workbench { display: grid; grid-template-columns: 280px 1fr; min-height: 580px; border: 1px solid var(--home-line); background: var(--home-surface); }
.feature-tabs { border-right: 1px solid var(--home-line); background: var(--home-paper-2); }
.feature-tab { display: grid; grid-template-columns: 30px 1fr; gap: 12px; width: 100%; min-height: 74px; align-items: center; border: 0; border-bottom: 1px solid var(--home-line); padding: 12px 20px; background: transparent; color: var(--home-muted); cursor: pointer; text-align: left; transition: background-color 150ms ease, color 150ms ease; }
.feature-tab span { font-family: 'IBM Plex Mono', monospace; font-size: 10px; }
.feature-tab:hover { background: color-mix(in srgb, var(--home-surface) 55%, transparent); color: var(--home-ink); }
.feature-tab.active { background: var(--home-surface); color: var(--home-ink); font-weight: 700; }
.feature-tab.active span { color: var(--home-accent); }
.feature-panels { min-width: 0; }
.feature-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; min-height: 580px; padding: clamp(34px, 5vw, 72px); }
.feature-panel.active { animation: panel-in 260ms var(--home-ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.panel-count { display: flex; align-items: center; gap: 10px; color: var(--home-muted); font-size: 13px; font-weight: 650; }
.panel-count span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--home-line); border-radius: 50%; color: var(--home-accent); font: 600 9px 'IBM Plex Mono', monospace; }
.feature-copy h3 { margin: 20px 0; font-size: clamp(34px, 3.5vw, 54px); font-weight: 800; line-height: 1.08; }
.feature-copy > p:not(.panel-count) { color: var(--home-muted); }
.feature-copy ul { display: grid; gap: 8px; margin: 24px 0 30px; padding: 0; list-style: none; }
.feature-copy li { color: var(--home-muted); font-size: 13px; }
.feature-copy li::before { content: '✓'; margin-right: 10px; color: var(--home-accent); font-weight: 800; }
.feature-copy a { display: inline-block; border-bottom: 1px solid var(--home-ink); padding-bottom: 3px; font-size: 13px; font-weight: 700; transition: color 150ms ease, border-color 150ms ease; }
.feature-copy a:hover { border-color: var(--home-accent); color: var(--home-accent); }
.feature-demo { min-width: 0; border: 1px solid var(--home-line); background: var(--home-paper); }
.chat-demo { overflow: hidden; border-radius: 12px; box-shadow: 0 18px 45px rgba(55, 45, 34, .09); }
.chat-top { display: flex; justify-content: space-between; align-items: center; min-height: 48px; border-bottom: 1px solid var(--home-line); padding: 0 16px; background: var(--home-surface); font-size: 11px; font-weight: 700; }
.chat-top span { display: flex; align-items: center; gap: 8px; }
.chat-top span i { width: 7px; height: 7px; border-radius: 50%; background: var(--home-ok); }
.chat-top b { color: var(--home-muted); font-size: 10px; font-weight: 600; }
.chat-thread { display: grid; gap: 22px; min-height: 325px; align-content: center; padding: 25px 20px; background: color-mix(in srgb, var(--home-surface) 65%, var(--home-paper)); }
.chat-message { display: flex; gap: 10px; font-size: 11px; line-height: 1.55; }
.chat-message > span,
.chat-message-agent > div > span { display: block; margin-bottom: 5px; color: var(--home-faint); font-size: 9px; font-weight: 700; }
.chat-message p { margin: 0; }
.chat-message-user { max-width: 86%; justify-self: end; flex-direction: column; align-items: flex-end; }
.chat-message-user p { border-radius: 15px 15px 3px 15px; padding: 11px 14px; background: var(--home-ink); color: var(--home-paper); }
.chat-message-agent { max-width: 92%; color: var(--home-muted); }
.chat-message-agent > div { min-width: 0; }
.chat-avatar { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: var(--home-accent); color: #fff; font-style: normal; font-size: 11px; }
.chat-tool { margin-top: 12px; border: 1px solid var(--home-line); border-radius: 8px; padding: 10px 11px; background: var(--home-surface); }
.chat-tool span { display: flex; gap: 7px; align-items: center; color: var(--home-ink); font-size: 10px; font-weight: 700; }
.chat-tool span i { color: var(--home-ok); font-style: normal; }
.chat-tool small { display: block; margin-top: 4px; color: var(--home-faint); font-size: 8px; }
.chat-thread.turning .chat-message-user { animation: chat-user-in 420ms var(--home-ease) both; }
.chat-thread.turning .chat-message-agent { animation: chat-agent-in 480ms var(--home-ease) 420ms both; }
.chat-thread.turning .chat-tool { animation: chat-tool-in 420ms var(--home-ease) 850ms both; }
@keyframes chat-user-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes chat-agent-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes chat-tool-in { from { opacity: 0; transform: translateY(6px); } }
.change-list { display: grid; border-top: 1px solid var(--home-line); }
.change-list span { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--home-line); color: var(--home-muted); font-size: 10px; }
.change-list span:last-child { border-bottom: 0; }
.change-list i { color: var(--home-accent); font-family: 'IBM Plex Mono', monospace; font-style: normal; font-weight: 700; }
.type-demo { display: grid; grid-template-columns: repeat(3, 1fr); }
.type-demo > div { min-height: 270px; padding: 20px; border-right: 1px solid var(--home-line); }
.type-demo > div:last-child { border-right: 0; }
.type-demo span { display: block; margin-bottom: 28px; color: var(--home-accent); font-size: 11px; font-weight: 700; }
.type-demo b { display: block; padding: 11px 0; border-bottom: 1px solid var(--home-line); font-size: 11px; }
.qa-demo p,
.quota-demo p { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0; padding: 20px; border-bottom: 1px solid var(--home-line); }
.qa-demo p:last-child,
.quota-demo p:last-child { border-bottom: 0; }
.qa-demo span,
.quota-demo span { color: var(--home-muted); font-size: 12px; }
.qa-demo b,
.quota-demo b { grid-row: 2; font-size: 13px; }
.qa-demo em { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--home-ok); font-size: 12px; font-style: normal; }
.brand-demo { padding: 26px; }
.brand-swatches { display: flex; gap: 8px; margin-bottom: 40px; }
.brand-swatches i { width: 42px; height: 42px; border: 1px solid var(--home-line); }
.brand-swatches i:nth-child(1) { background: #be4b0a; }
.brand-swatches i:nth-child(2) { background: #f3e654; }
.brand-swatches i:nth-child(3) { background: #181714; }
.brand-swatches i:nth-child(4) { background: #f2efe7; }
.brand-demo > span { color: var(--home-muted); font-size: 10px; }
.brand-demo h4 { margin: 16px 0; font-size: 17px; }
.rating-demo { display: grid; grid-template-columns: repeat(5, 1fr); }
.rating-demo b { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--home-line); border-right: 0; font-size: 12px; }
.rating-demo b:last-child { border-right: 1px solid var(--home-line); }
.quota-demo p { grid-template-columns: 1fr auto; }
.quota-demo i { grid-column: 1 / -1; height: 5px; background: var(--home-line); }
.quota-demo em { display: block; height: 100%; background: var(--home-accent); }
.admin-demo { display: grid; grid-template-columns: repeat(3, 1fr); }
.admin-demo > div { min-height: 230px; padding: 22px; border-right: 1px solid var(--home-line); }
.admin-demo > div:last-child { border-right: 0; }
.admin-demo span { display: block; margin-bottom: 72px; color: var(--home-muted); font-family: 'IBM Plex Mono', monospace; font-size: 9px; text-transform: uppercase; }
.admin-demo b { display: block; font-size: 16px; }
.admin-demo small { color: var(--home-muted); font-size: 9px; }

/* Contact */
.contact-section { padding: clamp(88px, 10vw, 150px) 0 86px; background: #171613; color: #f0ede5; }
.contact-heading { max-width: 1040px; margin: 0 auto 70px; text-align: center; }
.contact-heading > p:last-child { margin-top: 22px; color: #aaa69d; font-size: 18px; }
.booking-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(36px, 6vw, 90px); margin-bottom: 34px; border: 1px solid var(--home-line-dark); padding: clamp(28px, 4vw, 48px); }
.booking-intro { align-self: center; }
.booking-intro h3 { margin: 13px 0 18px; font-size: clamp(28px, 3.5vw, 46px); line-height: .98; letter-spacing: -.045em; }
.booking-intro > p:last-child { color: #aaa69d; font-size: 14px; line-height: 1.7; }
.booking-options { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--home-line-dark); }
.booking-option { display: flex; min-width: 0; min-height: 280px; flex-direction: column; padding: 28px; color: #f0ede5; text-decoration: none; transition: background-color 170ms ease, transform 170ms var(--home-ease); }
.booking-option + .booking-option { border-left: 1px solid var(--home-line-dark); }
.booking-option:hover { background: rgba(240, 155, 85, .08); transform: translateY(-3px); }
.booking-option > span { color: #f09b55; font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.booking-option > strong { display: block; margin: 28px 0 15px; font-size: 22px; line-height: 1.08; letter-spacing: -.025em; }
.booking-option > p { color: #8f8a81; font-size: 12px; line-height: 1.65; }
.booking-option > b { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 28px; color: #f0ede5; font-size: 12px; }
.booking-option i { color: #f09b55; font-size: 17px; font-style: normal; }
.contact-shell { display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--home-line-dark); }
.contact-form { padding: clamp(30px, 4vw, 58px); border-right: 1px solid var(--home-line-dark); }
.contact-form-embed { min-width: 0; padding: 0; overflow: hidden; }
.early-access-frame { display: block; width: 100%; min-height: 760px; border: 0; background: transparent; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.home-page .contact-form .field { margin-bottom: 22px; }
.home-page .contact-form label { margin-bottom: 9px; color: #c8c3b9; font-size: 12px; }
.home-page .contact-form input,
.home-page .contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #59544b;
  border-radius: 0;
  padding: 13px 0;
  background: transparent;
  color: #f0ede5;
  font-size: 15px;
  transition: border-color 150ms ease;
}
.home-page .contact-form textarea { min-height: 110px; resize: vertical; }
.home-page .contact-form input::placeholder,
.home-page .contact-form textarea::placeholder { color: #777269; }
.home-page .contact-form input:focus,
.home-page .contact-form textarea:focus { border-color: #f09b55; outline: 0; }
.home-page .contact-form .field:focus-within label { color: #f09b55; }
.form-submit { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.form-submit p { color: #7f7a71; font-size: 10px; }
.form-status { min-height: 21px; margin-top: 16px; color: #f0ce72; font-size: 12px; }
.contact-aside { display: grid; grid-template-rows: repeat(3, 1fr) auto; }
.contact-aside > div { display: grid; align-content: center; gap: 6px; padding: 24px 30px; border-bottom: 1px solid var(--home-line-dark); }
.contact-aside h3 { margin: 0; font-size: 16px; letter-spacing: -.02em; }
.contact-aside p { color: #8f8a81; font-size: 11px; }
.direct-email { padding: 18px 30px; color: #8f8a81; font-size: 11px; }
.direct-email a { border-bottom: 1px solid #f09b55; color: #f0ede5; }
.direct-email small { color: #6e6960; }
.faq-shell { display: grid; grid-template-columns: .35fr 1fr; gap: 60px; margin-top: 90px; }
.faq-title { max-width: 220px; margin: 0; color: #e6e1d7; font-size: clamp(24px, 2.3vw, 34px); font-weight: 700; line-height: 1.08; }
.faq-list { border-top: 1px solid var(--home-line-dark); }
.faq-list details { margin: 0; border: 0; border-bottom: 1px solid var(--home-line-dark); border-radius: 0; padding: 0; background: transparent; }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; color: #e6e1d7; cursor: pointer; font-size: 15px; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #f09b55; transition: transform 160ms var(--home-ease); }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 680px; margin: 0 0 24px; color: #98938a; font-size: 13px; }

/* Footer */
.home-page footer { padding: 72px 0 32px; border-top: 0; background: var(--home-paper); color: var(--home-ink); }
.footer-main { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 50px; }
.footer-main > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-main > div:first-child { gap: 18px; }
.footer-brand { font-size: 33px !important; }
.footer-main > div:first-child p { color: var(--home-muted); font-size: 22px; font-weight: 600; line-height: 1.15; }
.footer-main h2 { margin: 4px 0 12px; color: var(--home-faint); font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.footer-social svg { display: block; width: 22px; height: 22px; fill: currentColor; }
.footer-main a.footer-social:hover { color: #0a66c2; }
.footer-main a:not(.brand) { color: var(--home-muted); font-size: 13px; transition: color 150ms ease; }
.footer-main a:not(.brand):hover { color: var(--home-accent); }
.home-page .footer-base { display: flex; justify-content: space-between; margin-top: 62px; padding-top: 24px; border-top: 1px solid var(--home-line); color: var(--home-faint); font-size: 10px; }

/* Interaction pass */
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 120; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--home-accent); transform-origin: left; }

.document-scroll {
  height: 472px;
  overflow: auto;
  padding: 1px 4px 1px 1px;
  scroll-snap-type: y mandatory;
  scrollbar-color: var(--home-accent) transparent;
  scrollbar-width: thin;
}
.source-page {
  display: flex;
  width: 100%;
  min-height: 330px;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 14px;
  border: 1px solid #d8d1c5;
  padding: clamp(22px, 3vw, 34px);
  background: #fbfaf5;
  box-shadow: 0 8px 25px rgba(72, 61, 46, .07);
  color: #35322c;
  cursor: pointer;
  font-family: Georgia, serif;
  text-align: left;
  scroll-snap-align: start;
  opacity: .55;
  transform: scale(.98);
  transition: opacity 220ms ease, transform 220ms var(--home-ease), border-color 220ms ease, box-shadow 220ms ease;
}
.source-page:last-child { margin-bottom: 0; }
.source-page:hover { opacity: .82; }
.source-page.active { border-color: var(--home-accent); box-shadow: 0 10px 20px rgba(72, 61, 46, .12); opacity: 1; transform: scale(1); }
.source-page .page-number { align-self: flex-end; color: #948d81; font-family: 'IBM Plex Mono', monospace; font-size: 8px; text-transform: uppercase; }
.source-page .question-number { margin-top: auto; color: #a64a15; font-family: 'IBM Plex Mono', monospace; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.source-page strong { max-width: 310px; margin: 15px 0 18px; font-size: 17px; line-height: 1.35; }
.source-page .doc-options { color: #6e685e; font-size: 10px; line-height: 1.7; }
.source-page .doc-logic { margin-top: 13px; border-left: 2px solid #c8a35b; padding: 5px 7px; background: #f3ead2; color: #705621; font-family: 'IBM Plex Mono', monospace; font-size: 7px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.source-page.logic-skipped:not(.active) { opacity: .35; }
.source-page.logic-skipped .doc-logic { border-left-color: #9b8063; background: #eee7dc; color: #7d6f60; }
.source-page.logic-live .doc-logic { border-left-color: #347857; background: #e0eee5; color: #286347; }

.question-stage { min-height: 382px; }
.interactive-question {
  display: flex;
  min-height: 382px;
  flex-direction: column;
  border: 1px solid var(--home-line);
  padding: clamp(20px, 2.4vw, 31px);
  background: color-mix(in srgb, var(--home-surface) 88%, var(--home-paper));
  animation: question-pop 300ms var(--home-ease);
}
@keyframes question-pop { from { opacity: 0; transform: translateY(9px) scale(.99); } to { opacity: 1; transform: none; } }
.question-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--home-faint); font-family: 'IBM Plex Mono', monospace; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.question-meta span:first-child { color: var(--home-accent); }
.question-stage fieldset { min-width: 0; margin: auto 0; border: 0; padding: 28px 0; }
.question-stage legend { max-width: 430px; margin-bottom: 24px; color: var(--home-ink); font-size: clamp(20px, 2vw, 27px); font-weight: 750; line-height: 1.15; }
.question-options { display: grid; gap: 8px; }
.question-option { position: relative; display: flex; align-items: center; gap: 11px; min-height: 43px; border: 1px solid var(--home-line); padding: 10px 12px; background: var(--home-paper); color: var(--home-muted); cursor: pointer; font-size: 11px; transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 140ms var(--home-ease); }
.question-option:hover { border-color: var(--home-accent); color: var(--home-ink); }
.question-option:has(input:checked) { border-color: var(--home-accent); background: color-mix(in srgb, var(--home-accent) 8%, var(--home-surface)); color: var(--home-ink); }
.question-option input { width: 15px; height: 15px; flex: 0 0 auto; accent-color: var(--home-accent); }
.rating-options { display: grid; grid-template-columns: repeat(11, minmax(25px, 1fr)); gap: 4px; }
.rating-options label { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--home-line); background: var(--home-paper); cursor: pointer; font-size: 10px; }
.rating-options label:has(input:checked) { border-color: var(--home-accent); background: var(--home-accent); color: #fff; }
.rating-options input { position: absolute; opacity: 0; pointer-events: none; }
.rating-ends { display: flex; justify-content: space-between; margin-top: 9px; color: var(--home-faint); font-size: 8px; }
.demo-range-output { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.demo-range-output output { color: var(--home-accent); font-size: 32px; font-weight: 800; letter-spacing: -.04em; }
.demo-range-output span { color: var(--home-faint); font-size: 9px; }
.question-stage input[type='range'] { width: 100%; accent-color: var(--home-accent); }
.question-stage textarea,
.question-stage input[type='number'] { width: 100%; border: 1px solid var(--home-line); border-radius: 0; padding: 13px; background: var(--home-paper); color: var(--home-ink); font: inherit; font-size: 12px; }
.question-stage textarea { min-height: 105px; resize: vertical; }
.question-stage textarea:focus,
.question-stage input[type='number']:focus { border-color: var(--home-accent); outline: 2px solid color-mix(in srgb, var(--home-accent) 20%, transparent); outline-offset: 1px; }
.answer-state { margin-top: auto; border-top: 1px solid var(--home-line); padding-top: 12px; color: var(--home-faint); font-size: 9px; }
.answer-state.saved { color: var(--home-ok); }
.logic-live-note { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: center; margin-top: 17px; border: 1px solid color-mix(in srgb, var(--home-accent) 35%, var(--home-line)); padding: 9px 11px; background: color-mix(in srgb, var(--home-accent) 7%, var(--home-surface)); }
.logic-live-note span { color: var(--home-accent); font: 700 7px 'IBM Plex Mono', monospace; letter-spacing: .08em; }
.logic-live-note p { color: var(--home-muted); font-size: 8px; line-height: 1.4; }
.logic-skip { justify-content: flex-start; }
.logic-skip-card { display: grid; grid-template-columns: 42px 1fr; gap: 15px; align-items: center; margin: auto 0 20px; border: 1px dashed var(--home-line); padding: 20px; background: var(--home-paper); }
.logic-skip-card > i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--home-signal); color: #312c18; font-style: normal; font-size: 18px; }
.logic-skip-card p { display: grid; gap: 7px; }
.logic-skip-card span { color: var(--home-accent); font: 700 8px 'IBM Plex Mono', monospace; letter-spacing: .06em; }
.logic-skip-card strong { font-size: 15px; }
.logic-skip-card small { color: var(--home-muted); font-size: 9px; line-height: 1.5; }
.logic-skip > button { align-self: flex-start; border: 1px solid var(--home-ink); padding: 9px 11px; background: transparent; color: var(--home-ink); cursor: pointer; font-size: 8px; font-weight: 700; }
.logic-skip > button:hover { background: var(--home-ink); color: var(--home-paper); }
.preview-note { display: flex; gap: 8px; margin-top: 11px; color: var(--home-faint); font-size: 9px; line-height: 1.45; }
.preview-note span { color: var(--home-accent); }
.question-nav { display: flex; gap: 6px; margin-left: auto; }
.workbench-foot .question-nav button { margin-left: 0; }
.workbench-foot .question-nav button:first-child { background: transparent; color: var(--home-ink); }

.process-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px 70px; align-items: end; margin-bottom: 58px; }
.process-heading .section-label { grid-column: 1 / -1; margin-bottom: -8px; }
.process-heading h2 { margin: 0; font-size: clamp(38px, 4.5vw, 64px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.process-heading > p:last-child { max-width: 440px; color: var(--home-muted); font-size: 16px; }
.process-heading > p:last-child b { display: block; margin-bottom: 9px; color: var(--home-ink); font-size: 18px; }
.process-journey { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--home-line); list-style: none; }
.process-journey::before { content: ''; position: absolute; top: -1px; left: 0; z-index: 0; width: 100%; height: 2px; background: var(--home-accent); transform: scaleX(0); transform-origin: left; transition: transform 1100ms var(--home-ease) 180ms; }
.process-journey.in::before,
.static-view .process-journey::before { transform: scaleX(1); }
.process-journey li { min-width: 0; min-height: 470px; border-right: 1px solid var(--home-line); padding: 0 22px 30px; opacity: 0; transform: translateY(24px); transition: opacity 480ms ease, transform 600ms var(--home-ease); }
.process-journey li:first-child { border-left: 1px solid var(--home-line); }
.process-journey.in li,
.static-view .process-journey li { opacity: 1; transform: none; }
.process-journey li:nth-child(2) { transition-delay: 90ms; }
.process-journey li:nth-child(3) { transition-delay: 180ms; }
.process-journey li:nth-child(4) { transition-delay: 270ms; }
.process-marker { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; margin: -13px 0 38px; color: var(--home-accent); font-family: 'IBM Plex Mono', monospace; font-size: 9px; }
.process-marker span { display: grid; place-items: center; position: relative; z-index: 2; width: 25px; height: 25px; border-radius: 50%; background: var(--home-ink); box-shadow: 0 0 0 7px var(--home-paper); color: var(--home-paper); }
.process-marker i { width: 30px; height: 1px; background: var(--home-line); }
.process-art { position: relative; height: 132px; margin-bottom: 34px; border: 1px solid var(--home-line); background: var(--home-surface); overflow: hidden; }
.process-verb { display: inline-flex; margin-bottom: 10px; border: 1px solid color-mix(in srgb, var(--home-accent) 45%, var(--home-line)); border-radius: 999px; padding: 5px 9px; color: var(--home-accent) !important; font-size: 12px !important; font-weight: 700; }
.process-journey h3 { margin: 0 0 13px; font-size: 22px; line-height: 1.05; }
.process-journey li > p:last-child { color: var(--home-muted); font-size: 12px; line-height: 1.6; }
.process-art-upload { display: grid; place-items: center; padding: 14px; }
.process-art-upload b { position: absolute; top: 16px; left: 16px; color: var(--home-accent); font: 700 9px 'IBM Plex Mono', monospace; }
.process-art-upload em { display: block; width: 70%; border-bottom: 1px solid var(--home-line); padding: 7px 0; color: var(--home-faint); font: normal 8px 'IBM Plex Mono', monospace; }
.process-art-build { display: flex; align-items: center; justify-content: center; gap: 7px; }
.process-art-build span { width: 22px; height: 40px; border: 1px solid var(--home-line); background: var(--home-paper); transform: translateY(var(--y, 0)); }
.process-art-build span:nth-child(1) { --y: 14px; }
.process-art-build span:nth-child(3) { --y: -14px; }
.process-art-build b { display: grid; place-items: center; position: absolute; width: 38px; height: 38px; border-radius: 50%; background: var(--home-accent); color: #fff; font: 700 9px 'IBM Plex Mono', monospace; }
.process-art-review { display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 8px; padding: 18px; }
.process-art-review span { border: 1px solid var(--home-line); padding: 12px; color: var(--home-muted); font-size: 10px; }
.process-art-review b { display: grid; place-items: center; width: 38px; background: var(--home-ok); color: #fff; }
.process-art-review em { grid-column: 1 / -1; color: var(--home-ok); font: normal 8px 'IBM Plex Mono', monospace; }
.process-art-launch { display: flex; align-items: flex-end; gap: 6px; padding: 21px; }
.process-art-launch b { position: absolute; top: 16px; left: 18px; color: var(--home-ok); font: 700 9px 'IBM Plex Mono', monospace; }
.process-art-launch span { flex: 1; height: 28%; background: var(--home-line); }
.process-art-launch span:nth-of-type(2) { height: 52%; background: color-mix(in srgb, var(--home-accent) 55%, var(--home-line)); }
.process-art-launch span:nth-of-type(3) { height: 82%; background: var(--home-accent); }

.bar-scale { grid-column: 1 / -1; margin: 2px 0 0; color: rgba(32, 31, 24, .58); font: 8px 'IBM Plex Mono', monospace; }

.agent-command { padding: 13px 15px 15px; border-top: 1px solid var(--home-line); background: var(--home-surface); }
.agent-command label { display: block; margin-bottom: 7px; color: var(--home-muted); font-size: 10px; font-weight: 650; }
.agent-command div { display: grid; grid-template-columns: 1fr auto; }
.agent-command input { min-width: 0; border: 1px solid var(--home-line); border-right: 0; border-radius: 9px 0 0 9px; padding: 11px 12px; background: var(--home-paper); color: var(--home-ink); font-size: 10px; }
.agent-command button,
.qa-demo > button,
.translation-action button { border: 1px solid var(--home-ink); border-radius: 0; padding: 9px 12px; background: var(--home-ink); color: var(--home-paper); cursor: pointer; font-size: 9px; font-weight: 700; }
.agent-command button { width: 39px; border-radius: 0 9px 9px 0; font-size: 15px; }
.chat-message-agent.updated { animation: answer-flash 500ms var(--home-ease); }
@keyframes answer-flash { 50% { border-color: var(--home-accent); transform: translateY(-2px); } }
.type-demo { position: relative; padding-bottom: 48px; }
.type-demo > div { min-height: 220px; }
.type-demo button { display: block; width: 100%; border: 0; border-bottom: 1px solid var(--home-line); padding: 11px 0; background: transparent; color: var(--home-ink); cursor: pointer; font-size: 11px; text-align: left; }
.type-demo button:hover,
.type-demo button.active { color: var(--home-accent); }
.type-selection { position: absolute; right: 0; bottom: 0; left: 0; margin: 0; padding: 14px 20px; background: var(--home-ink); color: var(--home-paper); font-size: 10px; }
.type-studio { overflow: hidden; border-radius: 10px; }
.type-studio-top { display: flex; justify-content: space-between; align-items: center; min-height: 48px; border-bottom: 1px solid var(--home-line); padding: 0 16px; color: var(--home-muted); font-size: 11px; }
.type-studio-top b { color: var(--home-accent); font-size: 10px; }
.type-chip-row { display: flex; overflow-x: auto; border-bottom: 1px solid var(--home-line); background: var(--home-paper-2); scrollbar-width: none; }
.type-chip-row button { min-width: max-content; border: 0; border-right: 1px solid var(--home-line); padding: 11px 14px; background: transparent; color: var(--home-muted); cursor: pointer; font-size: 9px; }
.type-chip-row button.active { background: var(--home-surface); color: var(--home-ink); font-weight: 700; }
.type-live-preview { min-height: 300px; padding: 34px 28px; background: var(--home-surface); }
.type-live-preview.changing .type-preview-control { animation: type-control-snap 180ms var(--home-ease); }
@keyframes type-control-snap { from { transform: translateX(8px); } }
.type-live-preview small { color: var(--home-accent); font-size: 10px; font-weight: 700; }
.type-live-preview h4 { max-width: 370px; margin: 42px 0 24px; font-size: clamp(22px, 2.2vw, 31px); letter-spacing: -.04em; line-height: 1.12; }
.type-preview-control { display: grid; gap: 8px; }
.type-preview-control > button { border: 1px solid var(--home-line); border-radius: 7px; padding: 11px 13px; background: var(--home-paper); color: var(--home-muted); text-align: left; }
.type-preview-control > button.selected { border-color: var(--home-accent); background: color-mix(in srgb, var(--home-accent) 8%, var(--home-surface)); color: var(--home-ink); }
.preview-rating { display: grid; grid-template-columns: repeat(5, 1fr); }
.preview-rating button { aspect-ratio: 1; border: 1px solid var(--home-line); border-right: 0; background: var(--home-paper); color: var(--home-muted); }
.preview-rating button:last-child { border-right: 1px solid var(--home-line); }
.preview-rating button.selected { background: var(--home-accent); color: #fff; }
.preview-slider b { display: block; margin-bottom: 17px; color: var(--home-accent); font-size: 28px; }
.preview-slider i { display: block; height: 5px; background: var(--home-line); }
.preview-slider i em { display: block; width: 48%; height: 100%; background: var(--home-accent); }
.preview-slider small { display: flex; justify-content: space-between; margin-top: 8px; color: var(--home-faint); }
.qa-demo > button { width: calc(100% - 40px); margin: 20px; }
.qa-demo button:disabled { cursor: wait; opacity: .6; }
.qa-demo em.checking { color: var(--home-accent); }
.brand-demo { --demo-accent: #be4b0a; }
.brand-swatches button { width: 34px; height: 34px; border: 3px solid var(--home-surface); outline: 1px solid var(--home-line); background: var(--swatch); cursor: pointer; }
.brand-swatches button:nth-child(1) { --swatch: #be4b0a; }
.brand-swatches button:nth-child(2) { --swatch: #286e4c; }
.brand-swatches button:nth-child(3) { --swatch: #365cc7; }
.brand-swatches button:nth-child(4) { --swatch: #8f3f76; }
.brand-swatches button.active { outline: 2px solid var(--demo-accent); outline-offset: 2px; }
.mini-survey { position: relative; margin-top: 12px; border: 1px solid var(--home-line); padding: 26px 20px 20px; background: var(--home-surface); transition: border-color 220ms ease; }
.mini-survey > i { display: grid; place-items: center; position: absolute; top: -14px; right: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--demo-accent); color: #fff; font-style: normal; font-weight: 800; }
.mini-survey small { color: var(--demo-accent); }
.rating-demo button { aspect-ratio: 1; border: 1px solid var(--home-line); border-right: 0; background: transparent; color: var(--home-ink); cursor: pointer; }
.rating-demo button:last-child { border-right: 1px solid var(--home-line); }
.rating-demo button.selected { border-color: var(--demo-accent); background: var(--demo-accent); color: #fff; }
.mini-next { margin-top: 18px; border: 0; padding: 9px 17px; background: var(--demo-accent); color: #fff; cursor: pointer; font-size: 9px; font-weight: 700; }
.feature-translation { overflow: auto; }
.feature-translation .table-toolbar { border-color: var(--home-line); color: var(--home-muted); }
.feature-translation table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 9px; }
.feature-translation th,
.feature-translation td { overflow: hidden; border-bottom: 1px solid var(--home-line); padding: 13px 10px; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.feature-translation th { width: 70px; color: var(--home-muted); }
.feature-translation td:last-child { width: 62px; }
.feature-translation td span { color: var(--home-ok); }
.feature-translation td .needs-review { color: #a16a00; }
.feature-translation tr.approved { background: color-mix(in srgb, var(--home-ok) 8%, transparent); }
.translation-action { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px; background: var(--home-signal); color: #25231a; }
.translation-action p { font-size: 9px; }
.translation-action button { border-color: #25231a; background: #25231a; color: #fff; }
.translation-focus-demo { overflow: hidden; border-radius: 10px; }
.translation-focus-copy { display: flex; min-height: 350px; flex-direction: column; justify-content: center; padding: 34px; background: var(--home-surface); }
.translation-focus-copy small { color: var(--home-accent); font-size: 11px; font-weight: 700; }
.translation-focus-copy h4 { max-width: 470px; margin: 34px 0 0; font-size: clamp(24px, 2.7vw, 39px); letter-spacing: -.045em; line-height: 1.18; }
.translation-language-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--home-line); }
.translation-language-tabs button { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; gap: 7px; border: 0; border-right: 1px solid var(--home-line); background: var(--home-paper-2); color: var(--home-muted); cursor: pointer; font-size: 10px; font-weight: 700; }
.translation-language-tabs button span { font-size: 15px; line-height: 1; }
.translation-language-tabs button:last-child { border-right: 0; }
.translation-language-tabs button.active { background: var(--home-accent); color: #fff; }
.quota-demo label { display: grid; grid-template-columns: 1fr auto; gap: 9px; border-bottom: 1px solid var(--home-line); padding: 19px; }
.quota-demo label:last-child { border-bottom: 0; }
.quota-demo label > span { color: var(--home-muted); font-size: 10px; }
.quota-demo label > b { font-size: 11px; font-variant-numeric: tabular-nums; }
.quota-demo input { grid-column: 1 / -1; width: 100%; accent-color: var(--home-accent); }
.quota-demo label > i { grid-column: 1 / -1; height: 5px; background: var(--home-line); }
.quota-demo label > i em { display: block; height: 100%; background: var(--home-accent); }
.admin-demo { display: block; }
.admin-demo > div { min-height: 0; border-right: 0; }
.admin-toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-bottom: 1px solid var(--home-line); padding: 14px 16px !important; }
.admin-toolbar > span { margin: 0; color: var(--home-ink); font-family: inherit; font-size: 11px; font-weight: 700; text-transform: none; }
.admin-toolbar > b { color: var(--home-muted); font-size: 9px; }
.admin-toolbar div { display: flex; }
.admin-toolbar button { border: 1px solid var(--home-line); padding: 7px 9px; background: transparent; color: var(--home-muted); cursor: pointer; font-size: 8px; }
.admin-toolbar button + button { border-left: 0; }
.admin-toolbar button.active { border-color: var(--home-ink); background: var(--home-ink); color: var(--home-paper); }
.permission-list label { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-bottom: 1px solid var(--home-line); padding: 13px 16px; cursor: pointer; }
.permission-list label > span { margin: 0; color: var(--home-ink); font-family: inherit; font-size: 10px; text-transform: none; }
.permission-list small { display: block; margin-top: 3px; color: var(--home-faint); }
.permission-list input { width: 16px; height: 16px; accent-color: var(--home-accent); }
.admin-summary { margin: 0; padding: 13px 16px; color: var(--home-accent); font-size: 9px; }
.admin-shell { display: grid; grid-template-columns: 1fr; padding: 0 !important; }
.member-picker { background: var(--home-paper-2); }
.member-picker button { display: grid; grid-template-columns: 32px 1fr; gap: 10px; width: 100%; align-items: center; border: 0; border-bottom: 1px solid var(--home-line); padding: 13px; background: transparent; color: var(--home-muted); cursor: pointer; text-align: left; }
.member-picker button.active { background: var(--home-surface); color: var(--home-ink); }
.member-picker button > i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--home-paper); color: var(--home-accent); font: normal 8px 'IBM Plex Mono', monospace; }
.member-picker button.active > i { background: var(--home-accent); color: #fff; }
.member-picker button > span { margin: 0; color: inherit; font-family: inherit; font-size: 9px; text-transform: none; }
.member-picker small { display: block; margin-top: 3px; color: var(--home-faint); font-size: 8px; }
.member-editor { display: none; min-width: 0; }
.admin-demo.detail-mode .member-picker { display: none; }
.admin-demo.detail-mode .member-editor { display: block; animation: admin-screen-in 180ms var(--home-ease); }
@keyframes admin-screen-in { from { transform: translateX(10px); } }
.admin-back { width: 100%; border: 0; border-bottom: 1px solid var(--home-line); padding: 12px 16px; background: var(--home-paper-2); color: var(--home-muted); cursor: pointer; font-size: 9px; text-align: left; }
.member-editor-head { display: flex; justify-content: space-between; align-items: center; min-height: 55px; border-bottom: 1px solid var(--home-line); padding: 0 16px; }
.member-editor-head span { margin: 0; color: var(--home-ink); font-family: inherit; font-size: 11px; font-weight: 700; text-transform: none; }
.member-editor-head b { color: var(--home-accent); font-size: 9px; }

/* Motion */
.home-page .rv { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--home-ease), transform 700ms var(--home-ease); }
.home-page .rv-left { transform: translateX(-28px); }
.home-page .rv-right { transform: translateX(28px); }
.home-page .rv.in,
.static-view .rv { opacity: 1; transform: translateY(0); }
.usecase-index.rv a { opacity: 0; transform: translateY(18px); transition: opacity 420ms ease, transform 500ms var(--home-ease), background-color 170ms ease, color 170ms ease; }
.usecase-index.rv.in a,
.static-view .usecase-index a { opacity: 1; transform: none; }
.usecase-index.rv:not(.in) a:nth-child(2) { transition-delay: 55ms; }
.usecase-index.rv:not(.in) a:nth-child(3) { transition-delay: 110ms; }
.usecase-index.rv:not(.in) a:nth-child(4) { transition-delay: 165ms; }
.usecase-index.rv:not(.in) a:nth-child(5) { transition-delay: 220ms; }
.usecase-index.rv:not(.in) a:nth-child(6) { transition-delay: 275ms; }
.usecase-index.rv:not(.in) a:nth-child(7) { transition-delay: 330ms; }
.usecase-index.rv:not(.in) a:nth-child(8) { transition-delay: 385ms; }
.usecase-index.rv.in a,
.static-view .usecase-index a { transition-delay: 0s; }

@media (hover: hover) and (pointer: fine) {
  .feature-tab:hover span { transform: translateX(2px); }
}

/* Dark theme */
[data-theme='dark'] body.home-page {
  --home-paper: #151410;
  --home-paper-2: #1e1c17;
  --home-surface: #24211b;
  --home-ink: #f1ede4;
  --home-muted: #b1aa9e;
  --home-faint: #817a70;
  --home-line: #464038;
  --interactive-grid-color: rgba(224, 215, 199, .065);
  background-color: var(--home-paper);
}
[data-theme='dark'] .home-page .nav { background: rgba(21, 20, 16, .92); }
[data-theme='dark'] .home-page .drop-menu { border-color: #5a5349; background: #24211b; box-shadow: 0 22px 58px rgba(0, 0, 0, .46); }
[data-theme='dark'] .home-page .drop-menu a { color: #f1ede4; }
[data-theme='dark'] .home-page .drop-menu a:hover,
[data-theme='dark'] .home-page .drop-menu a:focus-visible { background: #363128; color: #fff; }
[data-theme='dark'] .home-page .document-page { border-color: #4a443b; background: #e8e2d6; color: #292620; }
[data-theme='dark'] .home-page .source-page { border-color: #5e574d; background: #e8e2d6; color: #292620; }
[data-theme='dark'] .home-page .source-page.active { border-color: #e66d20; }
[data-theme='dark'] .home-page .doc-question p { color: #625c54; }
[data-theme='dark'] .home-page .flow-node { background: #29261f; }
[data-theme='dark'] .home-page .calculator-result { color: #201f18; }
[data-theme='dark'] .home-page .feature-demo { background: #1e1c17; }
[data-theme='dark'] .home-page .prompt-bubble { background: #e9e4d8; color: #1c1a16; }
[data-theme='dark'] .home-page footer { background: #100f0d; color: #eee9df; }

/* Responsive */
@media (max-width: 1160px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .kicker { margin-bottom: 44px; }
  .home-page .hero { min-height: 0; }
  .workbench { max-width: 920px; }
  .process-grid,
  .impact-grid,
  .usecase-layout,
  .translation-grid { grid-template-columns: 1fr; }
  .sticky-intro { position: static; max-width: 720px; }
  .impact-copy,
  .translation-copy { max-width: 760px; }
  .process-steps { margin-top: 12px; }
  .feature-panel { grid-template-columns: 1fr; }
  .feature-demo { max-width: 680px; }
  .process-heading { grid-template-columns: 1fr; }
  .process-heading .section-label { grid-column: auto; }
  .process-heading > p:last-child { max-width: 650px; }
}

@media (max-width: 960px) {
  .workbench-grid { grid-template-columns: 1fr 1.15fr; }
  .process-journey { grid-template-columns: 1fr 1fr; }
  .process-journey li { min-height: 430px; border-bottom: 1px solid var(--home-line); }
  .process-journey li:nth-child(3) { border-left: 1px solid var(--home-line); }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps li:nth-child(3) { border-left: 0; }
  .process-steps li:nth-child(n+3) { border-top: 1px solid var(--home-line); }
  .process-steps li:nth-child(3)::before,
  .process-steps li:nth-child(4)::before { top: -5px; }
  .usecase-index { grid-template-columns: 1fr 1fr; }
  .features-heading { grid-template-columns: 1fr; align-items: start; }
  .feature-workbench { grid-template-columns: 1fr; }
  .feature-tabs { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--home-line); scrollbar-width: thin; }
  .feature-tab { flex: 0 0 190px; min-height: 60px; border-right: 1px solid var(--home-line); border-bottom: 0; }
  .feature-panel { min-height: 0; }
  .contact-shell { grid-template-columns: 1fr; }
  .booking-section { grid-template-columns: 1fr; }
  .contact-form { border-right: 0; border-bottom: 1px solid var(--home-line-dark); }
  .contact-aside { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; }
  .contact-aside > div { display: block; border-right: 1px solid var(--home-line-dark); }
  .contact-aside > div:nth-child(3) { border-right: 0; }
  .contact-aside > div > span { display: block; margin-bottom: 16px; }
  .direct-email { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .ambient-canvas,
  .distortion-grid,
  body.home-page::before,
  body.home-page::after { display: none; }
  .home-page .wrap { padding-inline: 18px; }
  .home-page .nav-access { display: none; }
  .home-page .hero { padding-top: 38px; }
  .workbench-bar { flex-wrap: wrap; gap: 5px 12px; padding-block: 10px; }
  .wb-file { flex: 1 1 100%; }
  .wb-progress { margin-left: auto; }
  .kicker { margin-bottom: 32px; }
  .home-page .hero h1 { font-size: min(clamp(47px, 13.5vw, 67px), 14.5cqi); }
  .hero-lede { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof li { padding: 12px 0; }
  .hero-proof li + li { border-top: 1px solid var(--home-line); border-left: 0; padding-left: 0; }
  .workbench-grid { grid-template-columns: 1fr; }
  .source-document { display: block; border-right: 0; border-bottom: 1px solid var(--home-line); }
  .document-scroll { height: 255px; }
  .source-page { min-height: 225px; padding: 20px; }
  .source-page strong { max-width: 100%; margin: 12px 0; font-size: 15px; }
  .question-stage,
  .interactive-question { min-height: 355px; }
  .rating-options { grid-template-columns: repeat(6, 1fr); }
  .survey-flow { padding: 12px; }
  .workbench-foot { flex-wrap: wrap; gap: 10px 16px; }
  .question-nav { width: 100%; margin-left: 0; }
  .workbench-foot .question-nav button { width: auto; flex: 1; }
  .process-heading { margin-bottom: 42px; }
  .process-heading h2 { font-size: clamp(39px, 11vw, 58px); }
  .process-journey { grid-template-columns: 1fr; border-top: 0; }
  .process-journey::before { top: 0; left: 0; width: 2px; height: 100%; transform: scaleY(0); transform-origin: top; transition: transform 1100ms var(--home-ease) 180ms; }
  .process-journey.in::before,
  .static-view .process-journey::before { transform: scaleY(1); }
  .process-journey li,
  .process-journey li:first-child,
  .process-journey li:nth-child(3) { min-height: 0; border: 0; border-top: 1px solid var(--home-line); padding: 0 0 42px 24px; }
  .process-marker { margin: -13px 0 24px -36px; }
  .process-art { height: 112px; }
  .process-steps { grid-template-columns: 1fr; border-top: 0; }
  .process-steps li,
  .process-steps li + li { min-height: 0; border-top: 1px solid var(--home-line); border-left: 0; padding: 24px 0; }
  .process-steps li::before,
  .process-steps li + li::before { top: -5px; left: 0; }
  .calculator { grid-template-columns: 1fr; }
  .calculator-result > strong { font-size: 50px; }
  .usecase-index { grid-template-columns: 1fr; }
  .usecase-index a { min-height: 190px; }
  .translation-table th:nth-child(3),
  .translation-table td:nth-child(3) { display: none; }
  .translation-table th:first-child { width: 78px; }
  .translation-table th:last-child,
  .translation-table td:last-child { width: 76px; }
  .sync-note { grid-template-columns: auto 1fr; }
  .sync-note button { grid-column: 1 / -1; }
  .feature-panel { padding: 26px 20px; }
  .feature-copy h3 { font-size: 36px; }
  .type-demo,
  .admin-demo { grid-template-columns: 1fr; }
  .type-demo > div,
  .admin-demo > div { min-height: 0; border-right: 0; border-bottom: 1px solid var(--home-line); }
  .type-demo > div:last-child,
  .admin-demo > div:last-child { border-bottom: 0; }
  .admin-demo span { margin-bottom: 24px; }
  .admin-toolbar { align-items: center; flex-direction: row; }
  .admin-shell { grid-template-columns: 1fr; }
  .member-picker { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--home-line); }
  .member-picker button { min-width: 145px; border-right: 1px solid var(--home-line); border-bottom: 0; }
  .member-picker button > span,
  .member-editor-head span { margin-bottom: 0; }
  .feature-translation table { min-width: 460px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .booking-options { grid-template-columns: 1fr; }
  .booking-option { min-height: 240px; }
  .booking-option + .booking-option { border-top: 1px solid var(--home-line-dark); border-left: 0; }
  .form-submit { align-items: flex-start; flex-direction: column; }
  .contact-aside { grid-template-columns: 1fr; }
  .contact-aside > div { border-right: 0; }
  .direct-email { grid-column: auto; }
  .faq-shell { grid-template-columns: 1fr; gap: 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .home-page .footer-base { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .home-page .rv { opacity: 1; transform: none; }
}

/* Accessibility and interaction hardening for dense product demonstrations. */
.kicker,
.hero-proof span,
.workbench-bar,
.pane-label,
.doc-question,
.doc-question p,
.flow-node header b,
.flow-node header span,
.flow-node header button,
.flow-node > p,
.flow-options,
.flow-connector i,
.scale-points span,
.logic-rule,
.text-field-demo,
.workbench-foot,
.workbench-foot button,
.impact-reasons span,
.range-ends,
.comparison-bars > div,
.usecase-index span,
.translation-copy li span,
.table-toolbar,
.translation-table thead th,
.status-approved,
.status-review,
.sync-note p,
.sync-note button,
.feature-tab span,
.panel-count span,
.chat-top b,
.chat-message > span,
.chat-message-agent > div > span,
.chat-tool span,
.chat-tool small,
.change-list span,
.quota-demo span,
.qa-demo em,
.brand-demo > span,
.admin-demo span,
.admin-demo small,
.booking-option > span,
.form-submit p,
.contact-aside > div > span,
.footer-main h2,
.home-page .footer-base,
.source-page .page-number,
.source-page .question-number,
.source-page .doc-options,
.source-page .doc-logic,
.question-meta,
.rating-options label,
.rating-ends,
.demo-range-output span,
.answer-state,
.logic-live-note span,
.logic-live-note p,
.logic-skip-card span,
.logic-skip-card small,
.logic-skip > button,
.preview-note,
.process-marker,
.process-verb,
.process-art-upload b,
.process-art-upload em,
.process-art-build b,
.process-art-review span,
.process-art-review em,
.process-art-launch b,
.bar-scale,
.agent-command label,
.agent-command input,
.agent-command button,
.qa-demo > button,
.translation-action button,
.type-selection,
.type-studio-top b,
.type-chip-row button,
.type-live-preview small,
.mini-next,
.feature-translation table,
.translation-action p,
.translation-language-tabs button,
.quota-demo label > span,
.admin-toolbar > b,
.admin-toolbar button,
.permission-list label > span,
.admin-summary,
.member-picker button > i,
.member-picker button > span,
.member-picker small,
.admin-back,
.member-editor-head b {
  font-size: 12px;
}

.workbench-bar,
.chat-top,
.type-studio-top,
.member-editor-head { padding-block: 8px; }

.home-page :is(button, a, input, textarea, summary) { -webkit-tap-highlight-color: color-mix(in srgb, var(--home-accent) 18%, transparent); }
.home-page ::selection { background: var(--home-signal); color: #201f18; }
.home-page { caret-color: var(--home-accent); }

/* Mobile nav — one pattern for every page: theme + menu buttons, full-width panel. */
.home-page .nav-toggle,
.home-page .mobile-actions { display: none; }
@media (max-width: 960px) {
  .home-page .nav-inner { gap: 10px; }
  .home-page .nav-cta { order: 2; gap: 8px; margin-left: auto; }
  .home-page .nav-cta > :not(.theme-toggle) { display: none; }
  .home-page .theme-toggle,
  .home-page .nav-toggle { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: 1px solid var(--home-line); border-radius: 50%; background: transparent; color: var(--home-ink); cursor: pointer; }
  .home-page .nav-toggle { order: 3; }
  .home-page .theme-toggle svg,
  .home-page .nav-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .home-page .nav-toggle .icon-close,
  .home-page .nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
  .home-page .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .home-page .nav-links { display: none; position: absolute; top: 100%; right: 0; left: 0; height: calc(100dvh - var(--nav-h, 72px)); z-index: 80; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; margin: 0; padding: 4px 18px 28px; border-top: 1px solid var(--home-line); background: var(--home-paper); overflow-y: auto; overscroll-behavior: contain; }
  .home-page .nav-links.mobile-open { display: flex; animation: drop-in 160ms ease-out; }
  .home-page .nav-links > a,
  .home-page .drop-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; height: auto; min-height: 56px; padding: 0 2px; border-bottom: 1px solid var(--home-line); color: var(--home-ink); font-size: 17px; font-weight: 600; text-align: left; }
  .home-page .drop { display: block; width: 100%; }
  .home-page .drop-caret { width: 14px; height: 14px; }
  .home-page .drop-menu,
  [data-theme='dark'] .home-page .drop-menu { position: static; display: grid; grid-template-columns: 1fr; width: auto; min-width: 0; max-height: none; margin: 0; padding: 6px 0 12px; transform: none; translate: none; border: 0; border-bottom: 1px solid var(--home-line); border-radius: 0; background: transparent; box-shadow: none; animation: none; }
  .home-page .drop-menu[hidden] { display: none; }
  .home-page .drop-menu a { grid-template-columns: 30px 1fr; gap: 12px; padding: 8px 4px; }
  .home-page .drop-tile { width: 30px; height: 30px; border-radius: 7px; }
  .home-page .drop-menu .drop-icon { width: 16px; height: 16px; }
  .home-page .drop-menu b { font-size: 15px; font-weight: 500; }
  .home-page .drop-menu small { display: none; }
  .home-page .drop-menu a.drop-all { margin-top: 2px; border-top: 0; padding: 10px 4px; font-size: 13px; }
  .home-page .mobile-actions { display: grid; gap: 10px; margin-top: 26px; }
  .home-page .mobile-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border: 1px solid var(--home-ink); color: var(--home-ink); font-size: 15px; font-weight: 700; }
  .home-page .mobile-btn-solid { background: var(--home-ink); color: var(--home-paper); }
  .home-page .mobile-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  body.nav-open { overflow: hidden; }
}
