/* ============================================================
   Owl — landing page
   Palette ported 1:1 from the app's Theme.swift (light / dark).
   Theme: follows system by default; html[data-theme] overrides.
   ============================================================ */

:root {
  --canvas: #F6F6F8;
  --card: #FFFFFF;
  --surface-0: #F1F1F4;
  --surface-2: #F3F3F5;
  --hairline: #E4E4E9;
  --ink: #1C1C1E;
  --ink-2: #5E5E66;
  --ink-3: #70707A;
  --accent: #2F6DF6;
  --accent-text: #1B4FD0;
  --accent-ghost: #EEF3FF;
  --btn-fill: #1C1C1E;
  --btn-fill-hover: #000000;
  --btn-text: #FFFFFF;
  --red: #CE5742;
  --shadow-card: 0 24px 60px -24px rgba(28, 28, 30, 0.16);
  --r-card: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1120px;
  color-scheme: light;
}

/* Dark tokens (used twice: system-dark default, and manual override) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #18181B;
    --card: #252528;
    --surface-0: #1D1D20;
    --surface-2: #2B2B30;
    --hairline: #2E2E33;
    --ink: #F3F3F5;
    --ink-2: #9C9CA5;
    --ink-3: #8E8E9A;
    --accent: #3F7BF5;
    --accent-text: #9CB8FF;
    --accent-ghost: #16243F;
    --btn-fill: #FFFFFF;
    --btn-fill-hover: #F3F3F5;
    --btn-text: #1C1C1E;
    --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --canvas: #18181B;
  --card: #252528;
  --surface-0: #1D1D20;
  --surface-2: #2B2B30;
  --hairline: #2E2E33;
  --ink: #F3F3F5;
  --ink-2: #9C9CA5;
  --ink-3: #8E8E9A;
  --accent: #3F7BF5;
  --accent-text: #9CB8FF;
  --accent-ghost: #16243F;
  --btn-fill: #FFFFFF;
  --btn-fill-hover: #F3F3F5;
  --btn-text: #1C1C1E;
  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  /* keep mockup text at its designed size on phones (no iOS auto-inflation) */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.35s ease, color 0.35s ease;
}

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

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
  cursor: pointer;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--btn-fill);
  color: var(--btn-text);
  padding: 12px 24px;
  font-size: 15px;
}
.btn-primary:hover {
  background: var(--btn-fill-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(28, 28, 30, 0.18);
}

.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-nav { padding: 9px 18px; font-size: 14px; }

.text-link {
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.text-link:hover { border-color: var(--accent-text); }

/* ============ Nav ============ */
.nav-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.35s ease;
}
.nav.scrolled { border-bottom-color: var(--hairline); }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.owl-mark { width: 28px; height: 28px; color: var(--accent); }
.owl-mark-lg { width: 44px; height: 44px; color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }

/* Theme toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--card);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.18s var(--ease), background 0.35s ease;
}
.theme-toggle:hover { color: var(--ink); transform: translateY(-1px); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle svg { width: 17px; height: 17px; }
.tt-sun { display: none; }
.tt-moon { display: block; }
.theme-dark .tt-sun { display: block; }
.theme-dark .tt-moon { display: none; }

/* "Try dark mode" nudge bubble */
.tt-wrap { position: relative; display: inline-flex; }

.toggle-hint {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: max-content;
  max-width: 190px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateX(-72%) translateY(6px) scale(0.92);
  transform-origin: 72% top;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}
.toggle-hint::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 72%;
  width: 9px;
  height: 9px;
  background: var(--card);
  border-left: 1px solid var(--hairline);
  border-top: 1px solid var(--hairline);
  transform: rotate(45deg);
}
.toggle-hint b { display: block; font-size: 13.5px; color: var(--ink); }
.toggle-hint span { display: block; font-size: 12px; color: var(--ink-2); margin-top: 1px; }

.toggle-hint.show {
  opacity: 1;
  transform: translateX(-72%) translateY(0) scale(1);
}
@media (prefers-reduced-motion: no-preference) {
  .toggle-hint.show { animation: hintFloat 3s ease-in-out 0.5s infinite; }
  .toggle-hint.show + .theme-toggle,
  .tt-wrap:has(.toggle-hint.show) .theme-toggle { animation: hintRing 3s ease-out 0.2s 2; }
}
@keyframes hintFloat {
  0%, 100% { transform: translateX(-72%) translateY(0) scale(1); }
  50% { transform: translateX(-72%) translateY(-4px) scale(1); }
}
@keyframes hintRing {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); }
  60% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ============ Hero ============ */
.hero { padding: 72px 0 96px; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 64px;
  align-items: center;
}

.hero-headline {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 44ch;
}

.hero-cta { margin-top: 32px; }

.hero-meta {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--ink-3);
}

.hero-visual { position: relative; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-visual {
    opacity: 0;
    transform: translateY(18px);
    animation: rise 0.9s var(--ease) forwards;
  }
  .hero-headline { animation-delay: 0.05s; }
  .hero-sub { animation-delay: 0.16s; }
  .hero-cta { animation-delay: 0.27s; }
  .hero-visual { animation-delay: 0.38s; }
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   LIVING MOCKUPS — app UI recreated on the app's own tokens.
   All demo data is fictional.
   ============================================================ */

.app-window {
  display: grid;
  grid-template-columns: 168px 1fr;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  font-size: 11px;
  line-height: 1.4;
  transition: background 0.35s ease;
}

/* Sidebar */
.aw-side {
  background: var(--surface-0);
  border-right: 1px solid var(--hairline);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.aw-side-slim { padding: 14px 8px; }

.aw-brand { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.aw-brand svg { width: 18px; height: 18px; color: var(--accent); }

.aw-search {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 7px;
  padding: 5px 8px;
  color: var(--ink-3);
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.aw-search kbd, .aw-capture kbd {
  font-family: inherit;
  font-size: 8.5px;
  color: var(--ink-3);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 0 3px;
}

.aw-nav { display: flex; flex-direction: column; gap: 2px; }
.aw-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 7px;
  color: var(--ink-2);
  font-weight: 500;
}
.aw-item em { font-style: normal; margin-left: auto; color: var(--ink-3); font-size: 9.5px; }
.aw-item.is-active {
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 2px 0 0 var(--accent);
}
.aw-item.is-active .ic { color: var(--accent); }

/* Tiny geometric glyphs for the mockup sidebar */
.ic { width: 10px; height: 10px; position: relative; color: var(--ink-3); flex-shrink: 0; }
.ic-mic::before { content: ""; position: absolute; left: 2.5px; top: 0; width: 5px; height: 7px; border-radius: 3px; background: currentColor; }
.ic-mic::after { content: ""; position: absolute; left: 4.5px; bottom: 0; width: 1px; height: 3px; background: currentColor; }
.ic-doc::before { content: ""; position: absolute; inset: 0 1px; border: 1px solid currentColor; border-radius: 2px; }
.ic-check::before { content: ""; position: absolute; inset: 0; border: 1px solid currentColor; border-radius: 3px; }
.ic-check::after { content: ""; position: absolute; left: 3px; top: 3px; width: 4px; height: 2px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(-45deg); }

.aw-capture {
  margin-top: auto;
  background: var(--btn-fill);
  color: var(--btn-text);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 10.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.aw-capture kbd { border-color: transparent; color: inherit; opacity: 0.6; }

.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .rec-dot-live { animation: pulse 2.2s ease-in-out infinite; }
}

.aw-user { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 600; }
.aw-user i { font-style: normal; font-weight: 400; color: var(--ink-3); font-size: 9px; }
.aw-avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: var(--ink-2);
  flex-shrink: 0;
}

/* Main area */
.aw-main { padding: 14px 16px; min-width: 0; }

.aw-topbar { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.aw-dim { color: var(--ink-3); font-size: 11px; }
.aw-spacer { flex: 1; }
.aw-pillbtn {
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 10.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.aw-recordbtn { background: var(--accent); color: #fff; }
.aw-recordbtn .rec-dot { background: #fff; }

.aw-chips { display: flex; gap: 5px; margin: 10px 0 12px; }
.aw-chips span {
  border: 1px solid var(--hairline);
  background: var(--card);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 9.5px;
  color: var(--ink-2);
}
.aw-chips .on { background: var(--btn-fill); color: var(--btn-text); border-color: transparent; font-weight: 600; }

.aw-sub { font-size: 11.5px; font-weight: 700; margin: 10px 0 6px; }

.aw-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 10px 12px;
}
.aw-upcoming { display: flex; gap: 14px; }
.aw-date b { font-size: 20px; letter-spacing: -0.02em; }
.aw-date span { display: block; font-size: 8.5px; color: var(--ink-3); line-height: 1.3; }
.aw-events { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.aw-event { display: flex; gap: 8px; }
.aw-event i { width: 2.5px; border-radius: 2px; background: var(--accent); flex-shrink: 0; }
.aw-event b { font-size: 10.5px; display: block; }
.aw-event span { font-size: 9px; color: var(--ink-3); }

.aw-row {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 8px 11px;
  margin-bottom: 6px;
}
.aw-row > div { flex: 1; min-width: 0; }
.aw-row b { font-size: 10.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-row span:not(.aw-chip-blue):not(.aw-docic) { font-size: 9px; color: var(--ink-3); }
.aw-docic {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  flex-shrink: 0;
}
.aw-chip-blue {
  background: var(--accent-ghost);
  color: var(--accent-text);
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 8.5px;
  font-weight: 600;
  white-space: nowrap;
}
.aw-time { font-size: 9px; color: var(--ink-3); white-space: nowrap; }

/* Floating recording pill */
.float-pill {
  position: absolute;
  right: -14px;
  bottom: -18px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #1C1C1E;
  color: #F3F3F5;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 9px 12px;
  box-shadow: 0 18px 44px -12px rgba(0, 0, 0, 0.5);
}
.float-pill svg { width: 20px; height: 20px; color: #3F7BF5; }
.fp-text b { display: block; font-size: 11.5px; line-height: 1.2; }
.fp-timer { font-size: 10px; color: rgba(243, 243, 245, 0.6); font-variant-numeric: tabular-nums; }
.fp-stop {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--red);
  position: relative;
}
.fp-stop::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 2px;
  background: #fff;
}
@media (prefers-reduced-motion: no-preference) {
  .float-pill { animation: bob 5s ease-in-out infinite; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ============ Journey (scroll story) ============ */
.how { padding: 104px 0 0; }

.section-headline {
  font-size: clamp(30px, 3.6vw, 42px);
  letter-spacing: -0.025em;
  max-width: 22ch;
}

.journey {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 72px;
  align-items: start;
  margin-top: 40px;
}

.journey-sticky {
  position: sticky;
  top: 96px;
  padding-bottom: 24px;
}

.aw-journey { min-height: 430px; }
.aw-journey .aw-side { width: 128px; }
.aw-journey { grid-template-columns: 128px 1fr; }

.aw-stage-holder { position: relative; }

.stage {
  position: absolute;
  inset: 14px 16px;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.journey[data-stage="1"] .stage-1,
.journey[data-stage="2"] .stage-2,
.journey[data-stage="3"] .stage-3,
.journey[data-stage="4"] .stage-4 {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stage 1 — brief */
.brief-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 16px;
  max-width: 320px;
  margin: 10px auto 0;
  box-shadow: var(--shadow-card);
}
.brief-kicker {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.brief-title { font-size: 17px; font-weight: 700; margin-top: 4px; letter-spacing: -0.02em; }
.brief-meta { font-size: 10px; color: var(--ink-3); margin-top: 2px; }
.brief-join {
  margin-top: 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 9px;
  padding: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.brief-join .rec-dot { background: #fff; }
.brief-sec {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 12px 0 5px;
}
.brief-text { font-size: 10.5px; color: var(--ink-2); }
.brief-item {
  background: var(--surface-2);
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 10px;
  margin-bottom: 5px;
  color: var(--ink);
}

/* Stage 2 — live capture */
.live-head { display: flex; align-items: center; gap: 8px; }
.live-head b { font-size: 13px; display: block; }
.live-head span:first-of-type { font-size: 9px; color: var(--ink-3); }
.live-head > div { flex: 1; }
.live-badge {
  color: var(--red);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.live-stop {
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 600;
}
.listen-card {
  margin-top: 12px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.listen-card b { font-size: 11px; display: block; }
.listen-card span:not(.wave) { font-size: 9px; color: var(--ink-3); }

.wave { display: inline-flex; align-items: center; gap: 2.5px; height: 18px; }
.wave i {
  width: 2.5px;
  border-radius: 2px;
  background: var(--accent);
  height: 30%;
}
@media (prefers-reduced-motion: no-preference) {
  .wave i { animation: wv 1.1s ease-in-out infinite; }
  .wave i:nth-child(1) { animation-delay: 0s; }
  .wave i:nth-child(2) { animation-delay: 0.15s; }
  .wave i:nth-child(3) { animation-delay: 0.3s; }
  .wave i:nth-child(4) { animation-delay: 0.45s; }
  .wave i:nth-child(5) { animation-delay: 0.6s; }
}
@keyframes wv {
  0%, 100% { height: 25%; }
  50% { height: 95%; }
}

.t-lines { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.t-line { display: flex; gap: 9px; }
.t-av {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 7.5px;
  font-weight: 700;
  color: var(--ink-2);
  flex-shrink: 0;
}
.t-line b { color: var(--accent-text); font-size: 10px; display: block; }
.t-line p { font-size: 10.5px; color: var(--ink-2); margin-top: 1px; }

/* transcript lines animate in when stage 2 is active */
@media (prefers-reduced-motion: no-preference) {
  .journey .stage-2 .t-line { opacity: 0; transform: translateY(8px); }
  .journey[data-stage="2"] .stage-2 .t-line {
    animation: lineIn 0.55s var(--ease) forwards;
    animation-delay: calc(0.5s + var(--i) * 0.7s);
  }
}
@keyframes lineIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Stage 3 — notes */
.notes-head { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 10px; }
.n-line { font-size: 10.5px; color: var(--ink-2); padding: 3px 0 3px 12px; position: relative; }
.n-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 1.5px;
  background: var(--accent);
  opacity: 0.65;
}
.n-h {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  padding-left: 0;
  margin-top: 7px;
}
.n-h::before { display: none; }
.n-task {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  padding: 4px 0;
}
.n-task em { font-style: normal; color: var(--ink-3); font-size: 9px; margin-left: auto; }
.cb {
  width: 12px; height: 12px;
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.cb svg { width: 9px; height: 9px; opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .journey .stage-3 .n-line,
  .journey .stage-3 .n-task { opacity: 0; transform: translateY(7px); }
  .journey[data-stage="3"] .stage-3 .n-line,
  .journey[data-stage="3"] .stage-3 .n-task {
    animation: lineIn 0.45s var(--ease) forwards;
    animation-delay: calc(0.35s + var(--i) * 0.28s);
  }
}

/* Stage 4 — to-dos */
.review-band {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-ghost);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 10.5px;
  margin-bottom: 8px;
}
.review-band b { color: var(--accent-text); }
.review-count {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  min-width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8.5px;
  font-weight: 700;
}
.review-accept { margin-left: auto; color: var(--accent-text); font-weight: 600; font-size: 10px; }

.todo {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 8px 11px;
  margin-bottom: 6px;
}
.todo > div { flex: 1; min-width: 0; }
.todo b { font-size: 10.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.todo span:not(.cb) { font-size: 9px; color: var(--ink-3); }
.cb-p1 { border-color: var(--red); color: var(--red); }
.cb-p2 { border-color: #D08A2E; }
.cb-p3 { border-color: var(--accent); }
.mt-due { font-size: 9px; color: var(--ink-3); white-space: nowrap; }

/* first task ticks itself when stage 4 activates */
@media (prefers-reduced-motion: no-preference) {
  .journey .stage-4 .todo { opacity: 0; transform: translateY(8px); }
  .journey[data-stage="4"] .stage-4 .todo {
    animation: lineIn 0.5s var(--ease) forwards;
  }
  .journey[data-stage="4"] .stage-4 .t-1 { animation-delay: 0.4s; }
  .journey[data-stage="4"] .stage-4 .t-2 { animation-delay: 0.6s; }
  .journey[data-stage="4"] .stage-4 .t-3 { animation-delay: 0.8s; }
  .journey[data-stage="4"] .stage-4 .t-1 .cb { animation: tickFill 0.3s ease forwards; animation-delay: 1.6s; }
  .journey[data-stage="4"] .stage-4 .t-1 .cb svg { animation: tickShow 0.3s ease forwards; animation-delay: 1.7s; }
}
@keyframes tickFill {
  to { background: var(--red); }
}
@keyframes tickShow {
  to { opacity: 1; }
}

.plan-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-ghost);
  border-radius: 10px;
  padding: 9px 12px;
  margin-top: 10px;
}
.plan-banner svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.plan-banner b { font-size: 10.5px; display: block; color: var(--ink); }
.plan-banner span { font-size: 9px; color: var(--ink-2); }
.plan-banner > div { flex: 1; }
.plan-banner em { font-style: normal; font-size: 10px; font-weight: 700; color: var(--accent-text); white-space: nowrap; }

/* Step copy column */
.journey-steps { padding-bottom: 20vh; }
.j-step {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.32;
  transition: opacity 0.4s ease;
}
.j-step.is-active { opacity: 1; }
.j-num {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
}
.j-step h3 { font-size: 24px; margin-top: 14px; }
.j-step p { margin-top: 10px; color: var(--ink-2); font-size: 16.5px; max-width: 40ch; }

/* ============ Features ============ */
.feature { padding: 88px 0; }
.feature:nth-of-type(odd) { background: var(--surface-0); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

.feature-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: center;
}
.feature-grid-flip { grid-template-columns: 6fr 5fr; }

.feature-kicker {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-text);
  margin-bottom: 12px;
}

.feature-copy h2 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.feature-list {
  margin-top: 26px;
  list-style: none;
  display: grid;
  gap: 16px;
}
.feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  font-size: 16px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2.5px;
  background: var(--accent);
}

.feature-copy-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.feature-copy-center h2 { margin-left: auto; margin-right: auto; }

.feature-lede {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-2);
}

.feature-visual-wide { margin-top: 48px; }

.feature-footnotes {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.feature-footnotes p {
  color: var(--ink-2);
  font-size: 15.5px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}

/* Feature mockup panels */
.mock-panel {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 16px 18px;
  font-size: 11px;
}
.mp-tabs { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.mp-tabs span {
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 10px;
  color: var(--ink-2);
  border: 1px solid transparent;
}
.mp-tabs .on { background: var(--btn-fill); color: var(--btn-text); font-weight: 600; }
.mp-diarized {
  margin-left: auto;
  background: var(--accent-ghost);
  color: var(--accent-text);
  font-weight: 600;
}
.mock-panel .t-line { margin-bottom: 12px; }
.mock-panel .t-line:last-child { margin-bottom: 0; }

/* Notes 3-pane mockup */
.mock-notes {
  display: grid;
  grid-template-columns: 100px 128px 1fr;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  font-size: 10px;
  min-height: 250px;
}
.mn-pane { padding: 12px 10px; }
.mn-sections { background: var(--surface-0); border-right: 1px solid var(--hairline); }
.mn-pages { border-right: 1px solid var(--hairline); }
.mn-title { font-size: 11px; font-weight: 700; margin-bottom: 8px; }
.mn-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 7px;
  border-radius: 6px;
  color: var(--ink-2);
}
.mn-item em { font-style: normal; color: var(--ink-3); font-size: 9px; }
.mn-item.is-active { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: inset 2px 0 0 var(--accent); }
.mn-page { padding: 7px 6px; border-bottom: 1px solid var(--hairline); }
.mn-page:last-child { border-bottom: none; }
.mn-page span { font-size: 8.5px; color: var(--ink-3); display: block; }
.mn-page b { font-size: 10px; display: block; margin: 1px 0; }
.mn-page i { font-style: normal; font-size: 8.5px; color: var(--ink-3); display: block; }
.mn-ovtitle { font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.mn-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0; }
.mn-stats > div {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 7px 8px;
}
.mn-stats span { font-size: 8px; color: var(--ink-3); display: block; }
.mn-stats b { font-size: 12px; }
.mn-sub { font-size: 9px; font-weight: 700; margin: 8px 0 5px; color: var(--ink-2); }
.mn-fed {
  display: flex;
  justify-content: space-between;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 7px;
  padding: 6px 9px;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 9.5px;
}
.mn-fed em { font-style: normal; color: var(--ink-3); font-weight: 400; }

/* To-Do's wide mockup */
.mock-todos {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  max-width: 760px;
  margin: 0 auto;
  font-size: 11px;
}
.mt-add {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--ink-3);
  font-size: 10.5px;
  margin-bottom: 12px;
}
.mt-add span {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.mt-group { font-size: 11px; font-weight: 700; margin: 12px 0 7px; }

/* ============ Reveals ============ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(206, 87, 66, 0.35); }
  50% { box-shadow: 0 0 0 7px rgba(206, 87, 66, 0); }
}

/* ============ Privacy ============ */
.privacy {
  padding: 104px 0;
  background: var(--accent-ghost);
}

.privacy-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.privacy-item {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 32px;
}
.privacy-item h3 { font-size: 18px; }
.privacy-item p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* ============ Download ============ */
.download { padding: 112px 0; }

.download-grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 72px;
  align-items: start;
}

.install-steps {
  margin: 40px 0 40px 0;
  list-style: none;
  counter-reset: install;
  display: grid;
  gap: 22px;
}
.install-steps li {
  counter-increment: install;
  position: relative;
  padding-left: 52px;
  color: var(--ink-2);
  font-size: 16.5px;
}
.install-steps li strong { color: var(--ink); font-weight: 600; }
.install-steps li::before {
  content: counter(install);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.requirements {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 32px;
  position: sticky;
  top: 96px;
}
.requirements h3 { font-size: 17px; }
.requirements ul {
  margin-top: 14px;
  list-style: none;
  display: grid;
  gap: 10px;
}
.requirements ul li {
  color: var(--ink-2);
  font-size: 15px;
  padding-left: 24px;
  position: relative;
}
.requirements ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.pilot-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}
.pilot-note p { font-size: 14.5px; color: var(--ink-2); }
.pilot-note p + p { margin-top: 8px; }
.pilot-note strong { color: var(--ink); }

/* ============ FAQ ============ */
.faq { padding: 104px 0; background: var(--surface-0); border-top: 1px solid var(--hairline); }

.faq-container { max-width: 760px; }

.faq-list { margin-top: 48px; }

.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item:first-child { border-top: 1px solid var(--hairline); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq-q:hover { color: var(--accent-text); }

.faq-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--ink-3);
  transition: transform 0.3s var(--ease);
}
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p {
  padding: 0 4px 24px;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 62ch;
}

/* ============ Closer ============ */
.closer { padding: 128px 0; }
.closer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.closer-inner h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
}

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-tag { font-size: 14.5px; font-weight: 600; }
.footer-links { display: flex; gap: 24px; margin-left: auto; }
.footer-links a {
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 13.5px; color: var(--ink-3); }

/* ============ Mobile ============ */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; gap: 12px; }
  .nav-links { display: none; }

  .hero { padding: 48px 0 64px; }
  .hero-grid,
  .feature-grid,
  .feature-grid-flip,
  .download-grid { grid-template-columns: 1fr; gap: 40px; }

  .feature-grid-flip .feature-visual { order: 2; }
  .feature-grid-flip .feature-copy { order: 1; }

  .float-pill { right: 6px; bottom: -14px; }

  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey-sticky { top: 72px; z-index: 5; padding-bottom: 10px; }
  .aw-journey { min-height: 330px; }
  .aw-journey .aw-side { display: none; }
  .aw-journey { grid-template-columns: 1fr; }
  .brief-card { margin-top: 0; }
  /* keep the step copy snug under the mockup instead of floating mid-screen */
  .j-step {
    min-height: 58vh;
    justify-content: flex-start;
    padding-top: 22px;
  }
  .j-num { font-size: 34px; }
  .j-step h3 { margin-top: 10px; }

  .how, .privacy, .faq, .download { padding: 72px 0; }
  .how { padding-bottom: 0; }
  .feature { padding: 64px 0; }

  .mock-notes { grid-template-columns: 1fr; min-height: 0; }
  .mn-sections { display: none; }
  .mn-pages { display: none; }

  .privacy-grid { grid-template-columns: 1fr; }
  .feature-footnotes { grid-template-columns: 1fr; gap: 20px; }
  .requirements { position: static; }

  .closer { padding: 88px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { margin-left: 0; }
}
