/* Teraflow premium. Type, spacing and radius resolve to the landing-page-design tables.
   Spacing: 0 2 4 8 12 16 24 32 40 48 64 80 96. Radius: Tailwind steps, nested = outer - gap. */
:root {
  /* light theme, matched to the landing page (5736): white ground, ink type, terracotta action, peach/terracotta/sage blooms */
  --bg: #FFFFFF;
  --s1: #F4F4F4;
  --s2: #ECECEC;
  --s3: #E2E2E2;
  --text: #111111;
  --text-2: #4D4D4D;   /* secondary text: 4.5:1 or better over the brightest bloom */
  --text-3: #5E5E5E;   /* captions and resting steps */
  --teal: #5F9A7A;     /* sage: the AI's colour for lines, bars and glow */
  --teal-text: #1D5539;/* sage text on light tints, 4.5:1 over the warmest bloom */
  --gold: #A3472B;     /* terracotta: the single action accent */
  --gold-hover: #8C3B22;
  --gold-text: #863217; /* terracotta for small text on tints */
  --on-gold: #FFFFFF;
  --text-soft: #333333; /* chip and badge text */
  --teal-soft: rgba(95, 154, 122, .16); /* AI status fill */
  --gold-soft: rgba(163, 71, 43, .10); /* needs-you status fill */
  --glass: rgba(255, 255, 255, .58);
  --glass-2: rgba(255, 255, 255, .72);
  --edge: rgba(17, 17, 17, .08);
  --edge-2: rgba(17, 17, 17, .12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html:not(.lenis) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:not(.lenis) { scroll-behavior: auto; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 24px;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
b { font-weight: 600; }
section[id], main[id] { scroll-margin-top: 96px; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }

.i { width: 1em; height: 1em; fill: currentColor; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }

/* ---------- named text styles ---------- */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.025em; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.02em; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.015em; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.01em; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.title-5 { font-size: 12px; line-height: 16px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }
/* Heading 2 steps down to Heading 4 on phones */
@media (max-width: 767px) { .heading-2 { font-size: 30px; line-height: 36px; } }


/* ---------- glass ---------- */
.glass {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 24px 64px rgba(17, 17, 17, .08);
}
.glass::before { /* lit edge: bright top left, fading to the bottom right */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .05));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, .94); }
}

/* glow light: soft radial teal and gold behind the glass */
.g { position: absolute; border-radius: 50%; pointer-events: none; }
.g--teal { background: radial-gradient(closest-side, rgba(150, 190, 165, .30), rgba(150, 190, 165, 0)); }
.g--gold { background: radial-gradient(closest-side, rgba(255, 180, 140, .30), rgba(255, 180, 140, 0)); }

/* ---------- aurora: one page-long backdrop the glass refracts everywhere ---------- */
/* Fixed behind all content. Radial blobs (no filter blur), drifting on transform only, plus grain against banding. */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; will-change: transform; animation: drift 48s var(--ease) infinite alternate; }
.aurora .a1 { width: 70vmax; height: 60vmax; left: -22vmax; top: -18vmax; background: radial-gradient(closest-side, rgba(255, 180, 140, .34), rgba(255, 180, 140, 0)); }
.aurora .a2 { width: 64vmax; height: 56vmax; right: -24vmax; bottom: -22vmax; background: radial-gradient(closest-side, rgba(150, 190, 165, .34), rgba(150, 190, 165, 0)); animation-duration: 56s; animation-delay: -18s; }
.aurora .a3 { width: 48vmax; height: 40vmax; right: -8vmax; top: 6vmax; background: radial-gradient(closest-side, rgba(196, 104, 72, .18), rgba(196, 104, 72, 0)); animation-duration: 40s; animation-delay: -9s; }
.aurora .a4 { width: 52vmax; height: 44vmax; left: 4vmax; bottom: -20vmax; background: radial-gradient(closest-side, rgba(255, 180, 140, .30), rgba(255, 180, 140, 0)); animation-duration: 62s; animation-delay: -30s; }
.aurora::before { /* the Teraflow flow lines, faint, like the landing page */
  content: ""; position: absolute; inset: 0; opacity: .9;
  background: url("../bg/bg-lines.svg") 50% 0 / max(1600px, 110vw) auto repeat-y;
}
.aurora::after { /* grain: dithers the blooms so they never band */
  content: ""; position: absolute; inset: 0;
  background: url("../bg/bg-grain.svg") 0 0 / 240px 240px repeat;
}
.aurora__cursor { /* gradient light that trails the pointer; desktop mouse only, off under reduced motion */
  position: absolute; left: 0; top: 0; width: 720px; height: 720px; margin: -360px 0 0 -360px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 170, 125, .38), rgba(196, 104, 72, .16) 40%, rgba(150, 190, 165, .14) 65%, rgba(150, 190, 165, 0));
  opacity: 0; transition: opacity 400ms var(--ease); will-change: transform;
}
.aurora__cursor.is-on { opacity: 1; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(6vmax, 4vmax, 0) scale(1.08); }
  100% { transform: translate3d(-4vmax, 7vmax, 0) scale(.95); }
}
@media (prefers-reduced-motion: reduce) { .aurora i { animation: none; will-change: auto; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 12px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; white-space: nowrap; cursor: pointer; user-select: none;
  transition: transform 160ms var(--ease-out), background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.btn:active { transform: scale(.96); }
.btn--lg { font-size: 18px; line-height: 28px; }   /* Button-lg: 28 + 16 = 44px tall */
.btn--md { font-size: 16px; line-height: 24px; min-height: 44px; } /* Button-md */
.btn--sm { font-size: 14px; line-height: 20px; border-radius: 8px; } /* Button-sm */
.btn .i { font-size: 20px; transition: transform 300ms var(--ease); }
.btn--gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 8px 24px rgba(17, 17, 17, .10); }
.btn--glass { background: var(--glass-2); border-color: var(--edge-2); color: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { background: var(--gold-hover); }
  .btn--gold:hover .i { transform: translateX(4px); }
  .btn--glass:hover { background: rgba(17, 17, 17, .12); border-color: rgba(17, 17, 17, .2); }
}
.link { color: var(--text); text-decoration: underline; text-decoration-color: rgba(17, 17, 17, .35); text-underline-offset: 4px; transition: text-decoration-color 300ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: var(--gold-text); } }

.skip { position: fixed; left: 16px; top: 16px; z-index: 100; padding: 8px 12px; border-radius: 8px; background: var(--gold); color: var(--on-gold); font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 16px; left: 16px; right: 16px; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.nav__bar {
  pointer-events: auto; display: flex; align-items: center; gap: 24px; width: 100%; max-width: 100%;
  padding: 8px 8px 8px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .60);
}
.nav__logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.nav__logo img { width: 32px; height: 32px; border-radius: 9px; }
.nav__name { font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.02em; }
.nav__links { display: none; position: relative; gap: 4px; }
.nav__links a { padding: 8px 12px; border-radius: 8px; color: var(--text-2); transition: color 300ms var(--ease), background-color 300ms var(--ease); }
.nav__links a[aria-current] { color: var(--text); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--text); background: rgba(17, 17, 17, .06); } }
.nav__dot { position: absolute; left: 0; bottom: 0; width: 4px; height: 4px; border-radius: 9999px; background: var(--gold); opacity: 0; transition: transform 300ms var(--ease), opacity 200ms var(--ease); }
.nav__end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__signin { display: none; padding: 8px 12px; border-radius: 8px; color: var(--text-2); transition: color 300ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .nav__signin:hover { color: var(--text); } }
.nav__cta { display: none; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s 300ms, background-color 300ms var(--ease); }
.nav.is-past .nav__cta { opacity: 1; visibility: visible; transform: none; transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s, background-color 300ms var(--ease); }
.nav.is-past .nav__cta:active { transform: scale(.96); }
.nav__toggle {
  position: relative; width: 44px; height: 44px; border: 0; border-radius: 8px; padding: 0; cursor: pointer;
  background: rgba(17, 17, 17, .06); color: var(--text); transition: transform 160ms var(--ease-out), background-color 300ms var(--ease);
}
.nav__toggle:active { transform: scale(.96); }
.nav__toggle span { position: absolute; left: 13px; top: 21px; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 250ms var(--ease); }
.nav__toggle span:first-child { transform: translateY(-4px); }
.nav__toggle span:last-child { transform: translateY(4px); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
@media (min-width: 900px) {
  .nav__bar { width: auto; }
  .nav__links { display: flex; }
  .nav__signin { display: inline-flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 40; overflow-y: auto;
  padding: 112px 24px 48px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; transition: opacity 200ms var(--ease-out);
}
.menu.is-open { opacity: 1; transition-duration: 300ms; }
.menu nav { display: flex; flex-direction: column; gap: 8px; max-width: 480px; margin: 0 auto; }
.menu nav a:not(.btn) { padding: 8px 0; }
.menu .btn { margin-top: 24px; }
.menu nav > * { opacity: 0; transform: translateY(24px); transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.menu.is-open nav > * { opacity: 1; transform: none; transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.menu.is-open nav > :nth-child(2) { transition-delay: 60ms; }
.menu.is-open nav > :nth-child(3) { transition-delay: 120ms; }
.menu.is-open nav > :nth-child(4) { transition-delay: 180ms; }
.menu.is-open nav > :nth-child(5) { transition-delay: 240ms; }
.menu.is-open nav > :nth-child(6) { transition-delay: 300ms; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding: 128px 0 96px; }
@media (max-width: 767px) { .hero { padding: 112px 0 32px; } }
.hero__glow { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero .g--teal { width: 1100px; height: 820px; left: calc(50% - 760px); top: 360px; }
.hero .g--gold { width: 760px; height: 600px; left: calc(50% + 20px); top: 240px; }
.hero__text { text-align: center; display: flex; flex-direction: column; align-items: center; }
.chip { display: inline-flex; padding: 4px 12px; border-radius: 9999px; background: var(--glass-2); border: 1px solid var(--edge); color: var(--text-soft); margin-bottom: 24px; }
.hero__title {
  max-width: 680px; font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance;
  background: linear-gradient(90deg, var(--text), var(--text-3)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.br-md { display: none; }
@media (min-width: 600px) { .br-md { display: inline; } }
@media (min-width: 768px) { .hero__title { font-size: 48px; line-height: 48px; } }
@media (min-width: 1024px) { .hero__title { font-size: 60px; line-height: 60px; } }
.hero__lead { max-width: 680px; margin-top: 24px; color: var(--text-2); }
.hero__cta { margin-top: 32px; display: flex; gap: 12px; justify-content: center; }
.proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 32px; margin-top: 40px; }
.proof li { display: flex; align-items: baseline; gap: 8px; }
.proof b { font-family: var(--mono); font-size: 20px; line-height: 28px; font-weight: 500; color: var(--text); }
.proof span { color: var(--text-2); }

/* the stage: depth layers around one inbox panel */
.stage { position: relative; max-width: 1120px; margin: 64px auto 0; padding: 96px 16px 48px; }
.layer { position: absolute; inset: 0; pointer-events: none; }
.layer__pt { position: absolute; inset: 0; }
.layer--near { z-index: 3; }
.panel-wrap { position: relative; z-index: 2; max-width: 560px; margin: 0 auto; }
.hc { position: absolute; width: 200px; }
.hc__card { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 16px; font-size: 12px; line-height: 16px; color: var(--text-2); }
.hc__card img { flex: none; width: 24px; height: auto; }
.hc__card b { display: block; color: var(--text); font-weight: 500; }
.hc--far .hc__card { background: rgba(255, 255, 255, .60); border: 1px solid var(--edge); transform: scale(.88); filter: blur(.6px); }
.hc--near .hc__card { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 32px 64px rgba(17, 17, 17, .14); }
@media (max-width: 1023px) { .stage { padding-bottom: 72px; } }
/* phone and tablet: cards sit above and below the panel */
.c5 { left: 0; top: 16px; }
.c6 { right: 0; bottom: 0; }
.c1, .c2, .c3, .c4 { display: none; }
@media (min-width: 640px) {
  .c3 { display: block; right: 0; top: 0; }
  .c1 { display: block; left: 4%; bottom: 8px; }
}
@media (min-width: 1024px) {
  .stage { padding: 48px 32px; }
  .hc { width: 232px; }
  .c1, .c2, .c3, .c4, .c5, .c6 { display: block; right: auto; bottom: auto; }
  .c1 { left: 4%; top: 6%; }
  .c2 { left: 77%; top: 72%; }
  .c3 { left: 76%; top: 4%; }
  .c4 { left: 0; top: 64%; }
  .c5 { left: -1%; top: 34%; }
  .c6 { left: 80%; top: 38%; }
}

.panel { border-radius: 24px; padding: 12px; background: rgba(255, 255, 255, .60); }
.panel__head { display: flex; align-items: center; gap: 8px; padding: 4px 4px 12px; }
.panel__head img { border-radius: 6px; }
.tabs { display: none; gap: 4px; margin-left: 8px; color: var(--text-2); }
.tabs span { padding: 4px 8px; border-radius: 8px; }
.tabs .is-on { background: rgba(17, 17, 17, .08); color: var(--text); }
@media (min-width: 640px) { .tabs { display: flex; } }
.sla { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px; background: var(--teal-soft); color: var(--teal-text); }
.rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(17, 17, 17, .03); }
.row--you { background: rgba(163, 71, 43, .06); outline: 1px solid rgba(163, 71, 43, .15); outline-offset: -1px; }
.row img { flex: none; width: 24px; height: auto; }
.row__msg { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.row__msg b { color: var(--text); }
.row__msg span { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row--sm-hide { display: none; }
@media (min-width: 640px) { .row--sm-hide { display: flex; } }
.pill { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 9999px; font-size: 12px; line-height: 16px; font-weight: 500; white-space: nowrap; }
.pill--gold { background: var(--gold-soft); color: var(--gold-text); }
.pill--teal { background: var(--teal-soft); color: var(--teal-text); }
.pill--ok { background: rgba(17, 17, 17, .08); color: var(--text); }
.notice { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 12px; border-radius: 12px; background: rgba(163, 71, 43, .07); color: var(--text-2); }
.notice .i { color: var(--gold-text); font-size: 20px; }
.notice b { color: var(--text); }

/* hero entrance (motion only): lead text, then the panel materializes, cards drift in from depth */
.motion .hero__text > * { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.motion .hero__text > :nth-child(2) { transition-delay: 60ms; }
.motion .hero__text > :nth-child(3) { transition-delay: 120ms; }
.motion .hero__text > :nth-child(4) { transition-delay: 170ms; }
.motion .hero__text > :nth-child(5) { transition-delay: 210ms; }
.motion .panel { opacity: 0; transform: translateY(24px) scale(.97); transition: opacity 800ms var(--ease) 160ms, transform 800ms var(--ease) 160ms; }
.motion .hc { opacity: 0; translate: 0 24px; transition: opacity 800ms var(--ease), translate 900ms var(--ease); }
.motion .c5 { transition-delay: 260ms; } .motion .c3 { transition-delay: 320ms; } .motion .c6 { transition-delay: 370ms; }
.motion .c4 { transition-delay: 430ms; } .motion .c1 { transition-delay: 470ms; } .motion .c2 { transition-delay: 520ms; }
.motion.is-in .hero__text > *, .motion.is-in .panel { opacity: 1; transform: none; }
.motion.is-in .hc { opacity: 1; translate: 0 0; }

/* ---------- sections ---------- */
.section { position: relative; padding: 96px 0; }
@media (max-width: 767px) { .section { padding: 64px 0; } }
.head { max-width: 680px; margin-bottom: 48px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head p { margin-top: 16px; }

.motion .reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.motion .reveal.in { opacity: 1; transform: none; }

/* ---------- scene ---------- */
.scene { position: relative; padding: 96px 0; }
@media (max-width: 767px) { .scene { padding: 64px 0; } }
.scene__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) {
  .scene__grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .scene.is-pinned { min-height: 100svh; display: flex; align-items: center; padding: 80px 0; }
}
.scene__copy > p.body-3 { margin-top: 24px; }
.beats { margin-top: 32px; display: grid; gap: 8px; }
.beats li { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 12px; color: var(--text-3); transition: color 300ms var(--ease), background-color 300ms var(--ease); }
.beats li .mono { color: var(--text-3); transition: color 300ms var(--ease); }
.beats li.is-on { color: var(--text); background: rgba(17, 17, 17, .05); }
.beats li.is-on .mono { color: var(--gold-text); }
.scene__stage { position: relative; }
.g--scene { width: 900px; height: 700px; left: 50%; top: 50%; margin: -350px 0 0 -450px; }
.chat { max-width: 560px; margin: 0 auto; border-radius: 24px; overflow: hidden; background: rgba(255, 255, 255, .60); }
.chat__head { display: flex; align-items: center; gap: 8px; padding: 16px; background: rgba(17, 17, 17, .03); }
.tag { padding: 2px 8px; border-radius: 9999px; background: rgba(17, 17, 17, .08); color: var(--text); }
.chat__state { margin-left: auto; display: grid; justify-items: end; }
.st { grid-area: 1 / 1; padding: 2px 8px; border-radius: 9999px; transition: opacity 300ms var(--ease); }
.st--ai { background: var(--teal-soft); color: var(--teal-text); opacity: 0; }
.st--you { background: var(--gold-soft); color: var(--gold-text); }
.chat__body { display: flex; flex-direction: column; gap: 16px; padding: 16px 16px 96px; }
.day { text-align: center; color: var(--text-3); }
.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 88%; position: relative; }
.msg p { padding: 12px 16px; border-radius: 16px; }
.msg--in { align-self: flex-end; }
.msg--in p { background: rgba(17, 17, 17, .10); border-bottom-right-radius: 4px; }
.msg--ai p { background: rgba(95, 154, 122, .18); border-bottom-left-radius: 4px; }
.msg--person p { background: rgba(17, 17, 17, .06); border: 1px solid var(--edge); border-bottom-left-radius: 4px; }
.av { flex: none; width: 24px; height: 24px; border-radius: 6px; }
.av--person { display: grid; place-items: center; border-radius: 9999px; background: var(--gold); color: var(--on-gold); font-size: 14px; }
.src { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 2px 8px; border-radius: 9999px; background: rgba(17, 17, 17, .06); color: var(--text-2); }
.typing { position: absolute; left: 32px; bottom: 0; display: flex; gap: 4px; padding: 16px; border-radius: 16px; border-bottom-left-radius: 4px; background: rgba(95, 154, 122, .18); opacity: 0; }
.typing i { width: 6px; height: 6px; border-radius: 9999px; background: var(--teal-text); }
.motion .typing i { animation: dot 1.2s var(--ease) infinite; }
.motion .typing i:nth-child(2) { animation-delay: .15s; }
.motion .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.handed { display: flex; align-items: center; gap: 8px; align-self: center; padding: 4px 12px; border-radius: 9999px; background: rgba(163, 71, 43, .08); color: var(--gold-text); }
.toast { position: absolute; bottom: 16px; right: 16px; left: auto; display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; max-width: 300px; background: rgba(255, 255, 255, .92); }
.toast .i { color: var(--gold-text); font-size: 20px; }
.toast b { display: block; color: var(--text); }
.toast .caption-5 { color: var(--text-2); }
@media (max-width: 639px) { .toast { left: 16px; right: 16px; max-width: none; } }

/* ---------- bento ---------- */
.bento-sec { overflow: clip; }
.g--bento { width: 900px; height: 800px; right: -300px; top: 160px; opacity: .6; }
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tile { border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.tile h3 { margin-top: 16px; }
@media (min-width: 640px) { .tile { padding: 32px; } }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile--a, .tile--d, .tile--g, .tile--h { grid-column: span 6; }
  .tile--b, .tile--c, .tile--e, .tile--f { grid-column: span 3; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .tile--a { grid-column: span 7; } .tile--b { grid-column: span 5; }
  .tile--c { grid-column: span 5; } .tile--d { grid-column: span 7; }
  .tile--e, .tile--f, .tile--g { grid-column: span 4; }
  .tile--h { grid-column: span 12; }
}
@media (hover: hover) and (pointer: fine) {
  .tile { transition: opacity 700ms var(--ease), transform 300ms var(--ease), border-color 300ms var(--ease); }
  .tile.in:hover { transform: translateY(-4px); border-color: rgba(17, 17, 17, .18); }
}
.frag { display: grid; gap: 12px; align-content: center; min-height: 152px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(17, 17, 17, .06); }
.frag .icons { display: flex; flex-wrap: wrap; gap: 12px; }
.frag .icons img { width: 32px; height: auto; }
.mini { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--text-2); }
.note { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(17, 17, 17, .05); }
.note > span:not(.btn-fake) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.note b { color: var(--text); }
.note .caption-5 { color: var(--text-2); }
.note > .i { color: var(--gold-text); font-size: 20px; }
.btn-fake { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px; background: rgba(17, 17, 17, .08); color: var(--text); justify-self: start; }
.btn-fake--gold { background: var(--gold); color: var(--on-gold); }
.stars { display: flex; align-items: center; justify-content: space-between; color: var(--text-2); }
.stars .s { display: flex; gap: 2px; font-size: 16px; color: rgba(17, 17, 17, .2); }
.stars .on { color: var(--gold-text); }
.voice { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-text); }
.wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 20px; }
.wave i { flex: 1; max-width: 4px; height: 40%; border-radius: 2px; background: currentColor; }
.wave i:nth-child(3n) { height: 90%; } .wave i:nth-child(4n+1) { height: 60%; } .wave i:nth-child(5n+2) { height: 100%; }
.task { display: grid; gap: 4px; padding: 12px; border-radius: 12px; background: rgba(17, 17, 17, .05); }
.task .caption-5 { color: var(--text-2); }
.task__btns { display: flex; gap: 8px; margin-top: 8px; }
.checks { display: grid; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks .i { font-size: 20px; color: var(--teal-text); }
.checks .pill { margin-left: auto; }
.clean { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--text-2); }
.clean .t { color: var(--teal-text); }
.import { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; color: var(--text-2); }
.bar { height: 4px; border-radius: 2px; background: rgba(17, 17, 17, .1); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--teal); transform-origin: left; transform: scaleX(1); }
.motion .tile .bar i { transform: scaleX(.08); transition: transform 1600ms var(--ease) 300ms; }
.motion .tile.in .bar i { transform: scaleX(1); }
.flow { display: grid; gap: 8px; }
.flow li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(17, 17, 17, .05); }
.flow li .caption-5 { width: 40px; color: var(--teal-text); }
.docs { display: grid; gap: 8px; }
.docs li { display: flex; align-items: center; gap: 8px; }
.docs .i { font-size: 20px; color: var(--teal-text); }
.docs .mono { margin-left: auto; color: var(--gold-text); }
.facts { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .facts { grid-template-columns: repeat(5, 1fr); } }
.facts li { display: grid; gap: 4px; }
.facts .i { font-size: 24px; color: var(--teal-text); margin-bottom: 8px; }

/* ---------- tagline ---------- */
.tagline { padding: 160px 0; }
@media (max-width: 767px) { .tagline { padding: 96px 0; } }
.tagline__text { max-width: 680px; font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
@media (min-width: 768px) { .tagline__text { font-size: 48px; line-height: 48px; } }
.motion .tagline__text .w { opacity: .3; transition: opacity 500ms var(--ease); }
.motion .tagline__text .w.on { opacity: 1; }

/* ---------- how it works ---------- */
.how__grid { position: relative; display: grid; gap: 48px; }
.how__rail { position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: rgba(17, 17, 17, .08); overflow: hidden; }
.how__rail i { display: block; height: 100%; background: linear-gradient(var(--teal), var(--gold)); transform-origin: top; transform: scaleY(0); }
html:not(.motion) .how__rail i { transform: scaleY(1); }
.how__steps { display: grid; gap: 48px; padding-left: 32px; }
.step__n { display: block; color: var(--text-3); margin-bottom: 12px; font-size: 14px; line-height: 20px; transition: color 300ms var(--ease); }
.step h3 { color: var(--text-2); transition: color 300ms var(--ease); }
.step p { margin-top: 12px; max-width: 440px; }
.step.is-on h3 { color: var(--text); }
.step.is-on .step__n { color: var(--gold-text); }
.step__slot:not(:empty) { margin-top: 24px; }
.step__slot .how__card { position: relative; opacity: 1; transform: none; }
.how__stage { display: none; }
.how__sticky { position: relative; }
.g--how { width: 760px; height: 640px; left: 50%; top: 50%; margin: -320px 0 0 -380px; }
.how__card { border-radius: 24px; padding: 24px; display: grid; gap: 16px; background: rgba(255, 255, 255, .60); }
.list { display: grid; gap: 8px; }
.list li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(17, 17, 17, .04); }
.list li > :last-child { margin-left: auto; }
.list .i { font-size: 20px; color: var(--teal-text); }
.ask { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; background: rgba(95, 154, 122, .14); }
.ask img { border-radius: 6px; }
html:not(.js) .how__stage { display: block; }
html:not(.js) .how__card { margin-top: 16px; }
@media (min-width: 1024px) and (min-height: 640px) {
  .how__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .how__steps { gap: 0; }
  .step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; }
  .step__slot { display: none; }
  .js .how__stage { display: block; }
  .js .how__sticky { position: sticky; top: calc(50% - 200px); height: 400px; }
  .js .how__card[data-vis] { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
  .js .how__card.is-on { opacity: 1; transform: none; }
}

/* ---------- pricing ---------- */
.pricing { overflow: clip; }
.g--price { width: 900px; height: 700px; left: 50%; top: 45%; margin-left: -450px; }
.plans { display: grid; gap: 16px; max-width: 480px; margin: 0 auto; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); max-width: none; align-items: start; } }
.plan { border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 639px) { .plan { padding: 24px; } }
.plan h3 { display: flex; align-items: center; gap: 12px; }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin: 16px 0; }
.plan .btn { width: 100%; }
.feat { display: grid; gap: 12px; margin-top: 24px; }
.feat li { display: flex; gap: 12px; align-items: center; color: var(--text-2); }
.feat .i { color: var(--teal-text); font-size: 16px; }
.feat b { color: var(--text); font-weight: 500; }
.plan--rec { background: rgba(255, 255, 255, .86); border-color: rgba(163, 71, 43, .40); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 32px 80px rgba(17, 17, 17, .15); }
.badge { padding: 2px 8px; border-radius: 9999px; background: var(--gold); color: var(--on-gold); }

/* ---------- faq ---------- */
.faq__grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: 5fr 7fr; gap: 64px; } .faq .head { position: sticky; top: 120px; align-self: start; } }
.faq__list { display: grid; gap: 8px; }
details { border-radius: 16px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(17, 17, 17, .06); transition: background-color 300ms var(--ease); }
details[open] { background: rgba(255, 255, 255, .86); }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; min-height: 56px; cursor: pointer; border-radius: 16px; }
summary::-webkit-details-marker { display: none; }
@media (hover: hover) and (pointer: fine) { details:not([open]):hover { background: rgba(255, 255, 255, .86); } }
details p { padding: 0 24px 24px; }
.plus { position: relative; flex: none; width: 16px; height: 16px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: var(--text-2); transition: transform 300ms var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }
.motion details[open] p { animation: faqIn 200ms var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- final ---------- */
.final { position: relative; isolation: isolate; padding: 160px 0; text-align: center; }
@media (max-width: 767px) { .final { padding: 96px 0; } }
.final .g--teal { width: 1000px; height: 700px; left: calc(50% - 700px); top: 0; }
.final .g--gold { width: 760px; height: 600px; left: calc(50% - 60px); top: 80px; }
.final__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final__inner .hero__cta { margin-top: 8px; }

/* ---------- footer ---------- */
.footer { padding: 48px 0 64px; background: var(--s1); }
.footer__grid { display: grid; gap: 32px; }
.footer__grid p { margin-top: 12px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { color: var(--text-2); padding: 4px 0; transition: color 300ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .footer__links a:hover { color: var(--text); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1fr auto; align-items: start; } .footer__copy { grid-column: 1 / -1; } }

/* ---------- preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn, .nav__toggle { transition: background-color 300ms var(--ease), border-color 300ms var(--ease); }
  .btn:active, .nav__toggle:active { transform: none; }
  .menu nav > * { transform: none; }
  .btn .i, .tile.in:hover { transform: none !important; }
  .js .how__card[data-vis] { transform: none !important; }
  .nav__dot { transition: opacity 200ms var(--ease); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .nav__bar, .panel, .chat, .how__card, .toast { background: var(--s2); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .plan--rec { background: var(--s1); }
  .hc--far .hc__card { background: var(--s3); filter: none; }
  .menu { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .aurora i { opacity: .6; }
  details, details[open] { background: var(--s1); }
}
