/* Booqers. Ink, paper and one warm light.
   Ink is a blue-black, never pure black. The brand light is a dusk gradient (indigo, violet,
   ember, peach): it carries the app's violet and the site's ember in one. In the interface
   ember means one thing only, your call. Green is checked. Grey is unread.
   Bands alternate ink and paper; components read the tokens of the band they sit in. */
:root {
  --ink: #0b0f1a;
  --ink-2: #121829;
  --paper: #faf9f6;
  --ember: #ff6a3d;
  --ember-deep: #c2410c;   /* ember as small text on paper: 5,2:1 */
  --peach: #ffb892;
  --violet: #6e56f8;
  --indigo: #2b3aa8;
  --mint: #34d399;
  --green-deep: #0a7a4b;
  --f: 'Host Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-code: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --wrap: 1320px;
  --gut: clamp(20px, 4.2vw, 64px);
  --head: 72px;
  --r: 10px;
}
.paper {
  --bg: var(--paper); --fg: #0b0f1a; --mut: #5b6070; --ln: rgba(11, 15, 26, .1); --ln2: rgba(11, 15, 26, .05);
  --panel: #fff; --soft: #f1f0ec; --ok: var(--green-deep); --call: var(--ember-deep); --label: var(--ember-deep);
  --v1: #0b0f1a; --v2: #9aa0ad; --v3: #d6d9e0; --shadow: 0 1px 2px rgba(11, 15, 26, .04), 0 30px 60px -30px rgba(11, 15, 26, .22);
  background: var(--bg); color: var(--fg);
}
.dark {
  --bg: var(--ink); --fg: #f5f6f8; --mut: #a3a9b8; --ln: rgba(255, 255, 255, .1); --ln2: rgba(255, 255, 255, .05);
  --panel: #111726; --soft: rgba(255, 255, 255, .045); --ok: var(--mint); --call: var(--ember); --label: var(--peach);
  --v1: #f5f6f8; --v2: #8a91a3; --v3: #3d4558; --shadow: 0 40px 90px -40px rgba(0, 0, 0, .7);
  background: var(--bg); color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: #0b0f1a;
  font: 400 17px/1.6 var(--f); font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
::selection { background: var(--peach); color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ------------------------------------------------------------ type */
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
.h-display { font-size: clamp(48px, 6.4vw, 100px); line-height: .98; letter-spacing: -.042em; }
.h-sec { font-size: clamp(34px, 4vw, 58px); line-height: 1.04; letter-spacing: -.035em; }
.soft { color: color-mix(in srgb, var(--fg) 52%, transparent); }
.lede { font-size: clamp(18px, 1.3vw, 20px); line-height: 1.6; color: var(--mut); margin: 0; }
.label { margin: 0 0 20px; font-size: 15px; font-weight: 500; color: var(--label); }

/* ------------------------------------------------------------ the mark */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 23px; letter-spacing: -.045em; line-height: 1; }
.logo .bq { width: 34px; height: 24px; }
.logo.sm { font-size: 18px; gap: 8px; }
.logo.sm .bq { width: 26px; height: 18px; }
.bq { width: 32px; height: 22px; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 24px;
  border-radius: var(--r); font-size: 16px; font-weight: 500; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg, .btn-text svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.btn:hover svg, .btn-text:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { box-shadow: 0 0 0 4px color-mix(in srgb, var(--fg) 14%, transparent); }
.btn-line { border: 1px solid var(--ln); color: var(--fg); }
.btn-line:hover { border-color: var(--fg); }
.btn-sm { height: 42px; padding: 0 16px; font-size: 15px; gap: 8px; }
.btn-text { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; color: var(--fg); padding: 0 6px; height: 52px; }

/* ------------------------------------------------------------ header */
.head {
  position: fixed; left: 0; right: 0; top: 0; z-index: 40; height: var(--head);
  color: #fff; border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.head .wrap { height: 100%; display: flex; align-items: center; gap: 44px; }
.head.solid { background: rgba(11, 15, 26, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: rgba(255, 255, 255, .07); }
.head.solid.on-paper { background: rgba(250, 249, 246, .86); color: var(--ink); border-color: rgba(11, 15, 26, .08); }
.head .btn-primary { background: currentColor; }
.head .btn-primary { background: #fff; color: var(--ink); }
.head.on-paper .btn-primary { background: var(--ink); color: #fff; }
.menu { display: flex; gap: 32px; font-size: 15.5px; }
.menu a, .signin { opacity: .78; transition: opacity .2s; }
.menu a:hover, .signin:hover { opacity: 1; }
.head-r { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15.5px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; }
.burger span, .burger span::before { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; }
.burger span::before { content: ''; position: absolute; top: 7px; }
.burger span { top: -3.5px; }

/* ------------------------------------------------------------ aurora: slow light, transform-only */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .9; will-change: transform; }
.aurora .a1 { width: 62vw; height: 62vw; right: -14vw; top: -22vw; background: radial-gradient(closest-side, rgba(110, 86, 248, .75), rgba(110, 86, 248, 0)); animation: drift1 28s var(--ease-io) infinite alternate; }
.aurora .a2 { width: 52vw; height: 52vw; right: 2vw; bottom: -24vw; background: radial-gradient(closest-side, rgba(255, 106, 61, .7), rgba(255, 106, 61, 0)); animation: drift2 34s var(--ease-io) infinite alternate; }
.aurora .a3 { width: 36vw; height: 36vw; right: 28vw; top: 18vh; background: radial-gradient(closest-side, rgba(43, 58, 168, .7), rgba(43, 58, 168, 0)); animation: drift3 40s var(--ease-io) infinite alternate; }
.aurora .a4 { width: 30vw; height: 30vw; right: -6vw; top: 34vh; background: radial-gradient(closest-side, rgba(255, 184, 146, .42), rgba(255, 184, 146, 0)); animation: drift2 26s var(--ease-io) infinite alternate-reverse; }
.aurora.light i { filter: blur(90px); opacity: .55; }
.aurora.light .a1 { right: -20vw; top: -30vw; }
.aurora.light .a2 { right: 10vw; bottom: -34vw; }
.aurora.light .a3 { right: -10vw; top: auto; bottom: -10vw; background: radial-gradient(closest-side, rgba(255, 184, 146, .8), rgba(255, 184, 146, 0)); }
@keyframes drift1 { to { transform: translate(-8vw, 6vw) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-6vw, -5vw) scale(1.12); } }
@keyframes drift3 { to { transform: translate(7vw, 4vw) scale(.92); } }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: center; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; padding-top: calc(var(--head) + 56px); padding-bottom: 72px; }
.hero h1 { color: #fff; font-size: clamp(44px, 4.9vw, 78px); }
.hero .lede { max-width: 520px; margin-top: 28px; color: rgba(255, 255, 255, .7); }
.ctas { display: flex; gap: 10px; align-items: center; margin-top: 38px; flex-wrap: wrap; }
.hero .btn-primary { background: #fff; color: var(--ink); }
.fine { margin: 26px 0 0; font-size: 14px; color: rgba(255, 255, 255, .5); }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* The product, on the light. */
.stage { position: relative; height: clamp(440px, 46vw, 600px); perspective: 1600px; }
.stage > * { animation: rise 1.1s var(--ease) both; }
.stage .f-find { animation-delay: .35s; }
.stage .f-tie { animation-delay: .5s; }
.win {
  position: absolute; left: 0; top: 4%; width: 112%; max-width: 820px; background: #fff; color: var(--ink);
  border-radius: 14px; overflow: hidden; transform: rotateY(-7deg) rotateX(3deg); transform-origin: left center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 100px -30px rgba(5, 8, 20, .7), 0 20px 40px -20px rgba(110, 86, 248, .35);
}
.win-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: #f4f4f1; border-bottom: 1px solid rgba(11, 15, 26, .07); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #dcdcd6; }
.win-bar span { margin: 0 auto; font-size: 12px; color: #8a8f9c; padding-right: 40px; }
.win-body { display: grid; grid-template-columns: 142px minmax(0, 1fr); }
.win-side { background: #f7f7f4; border-right: 1px solid rgba(11, 15, 26, .07); padding: 16px 10px; display: grid; gap: 2px; align-content: start; font-size: 13.5px; }
.win-logo { padding: 0 8px 14px; color: var(--ink); }
.win-logo .bq { width: 28px; height: 19px; }
.win-side b { font-weight: 400; display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; color: #5b6070; }
.win-side b.on { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgba(11, 15, 26, .08); }
.win-side em { width: 7px; height: 7px; border-radius: 50%; }
.win-main { padding: 18px 20px 20px; min-width: 0; }
.win-h { display: flex; justify-content: space-between; align-items: flex-start; }
.win-h small { font-size: 12.5px; color: #8a8f9c; }
.win-h h3 { font-size: 20px; letter-spacing: -.02em; margin-top: 2px; }
.tag { font-size: 11.5px; color: #8a8f9c; border: 1px solid rgba(11, 15, 26, .1); padding: 4px 8px; border-radius: 6px; }
.win-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.win-kpis div { border: 1px solid rgba(11, 15, 26, .08); border-radius: 10px; padding: 12px 13px; }
.win-kpis small { display: block; font-size: 12px; color: #8a8f9c; }
.win-kpis b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.03em; margin: 6px 0 3px; }
.win-kpis span { font-size: 12px; }
.win, .float { --ok: var(--green-deep); --call: var(--ember-deep); }
.win-chart { height: 190px; margin-top: 18px; margin-bottom: 8px; }
.win-chart svg { width: 100%; height: 100%; }
.win-calls { display: none; }
.win-calls div { font-size: 13px; padding: 9px 11px 9px 24px; border-radius: 9px; background: #fbf7f4; position: relative; }
.win-calls div::before { content: ''; position: absolute; left: 11px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.win-calls small { display: block; color: #8a8f9c; font-size: 12px; }

.float { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 0 0 1px rgba(11, 15, 26, .06), 0 30px 60px -20px rgba(5, 8, 20, .55); }
.f-find { left: -8%; bottom: -3%; width: 300px; padding: 16px 16px 14px; }
.ff-h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--ember-deep); }
.ff-h .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgba(255, 106, 61, .16); }
.f-find p { margin: 8px 0 12px; font-size: 14.5px; line-height: 1.45; }
.ff-b { display: flex; gap: 6px; }
.ff-b span { font-size: 12.5px; font-weight: 500; padding: 8px 11px; border-radius: 8px; }
.b-ghost { border: 1px solid rgba(11, 15, 26, .12); }
.b-ink { background: var(--ink); color: #fff; }
.f-tie { right: 16%; top: -3%; display: flex; gap: 11px; align-items: center; padding: 12px 16px 12px 12px; }
.f-tie .ok { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 122, 75, .1); color: var(--green-deep); font-size: 14px; }
.f-tie b { display: block; font-size: 13.5px; font-weight: 500; }
.f-tie small { font-size: 12px; color: #8a8f9c; }

/* ------------------------------------------------------------ the read: pinned canvas on paper */
.read { position: relative; height: 480vh; }
.read .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.pin canvas { position: absolute; inset: 0; }
.steps-wrap { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; pointer-events: none; padding-top: var(--head); }
.steps { position: relative; width: min(40%, 480px); min-height: 450px; }
.step { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.step.on { opacity: 1; transform: none; pointer-events: auto; }
.step .idx { font-size: 15px; font-weight: 500; color: var(--label); }
.step h2 { margin-top: 18px; }
.step p { margin: 20px 0 0; color: var(--mut); font-size: 18px; max-width: 450px; }
.decide { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.step .decide-p { font-size: 14px; margin-top: 14px; }
.decide.done + .decide-p { color: var(--ok); }
.rail { display: flex; gap: 6px; margin-top: 36px; width: min(40%, 480px); opacity: 0; transition: opacity .4s; }
.rail.on { opacity: 1; }
.rail i { height: 2px; flex: 1; max-width: 64px; background: var(--ln); position: relative; overflow: hidden; border-radius: 2px; }
.rail i::after { content: ''; position: absolute; inset: 0; background: var(--fg); transform-origin: left; transform: scaleX(var(--p, 0)); }
.scene-note { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; font-size: 13px; color: var(--mut); opacity: 0; transition: opacity .4s; }
.scene-note.on { opacity: 1; }

/* Labels that sit on the shapes. */
.labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; font-size: 13px; line-height: 1.35; color: var(--mut); }
.labels .g { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease); }
.labels .g.on { opacity: 1; }
.labels span { position: absolute; white-space: nowrap; }
.labels .cap { font-size: 13px; font-weight: 500; color: var(--mut); }
.labels .big { font-size: clamp(18px, 1.5vw, 24px); letter-spacing: -.025em; color: var(--fg); font-weight: 500; }
.labels .w { color: var(--fg); }
.labels .o { color: var(--ember-deep); font-weight: 500; }
.labels .gr { color: var(--green-deep); font-weight: 500; }

/* ------------------------------------------------------------ sections */
.sec { padding: clamp(96px, 12vw, 168px) 0; position: relative; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.price-inline { margin-top: 24px; font-size: 17px; color: var(--mut); }
.price-inline b { font-size: 32px; font-weight: 500; color: var(--fg); letter-spacing: -.03em; margin: 0 4px; }

/* ------------------------------------------------------------ group view (dashboard) */
.dash { display: grid; grid-template-columns: 240px minmax(0, 1fr); border: 1px solid var(--ln); background: var(--panel); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.dash aside { border-right: 1px solid var(--ln); padding: 22px 0; display: flex; flex-direction: column; background: var(--soft); }
.dash aside .logo { padding: 0 22px; }
.dash aside h4 { margin: 26px 22px 8px; font-size: 13px; font-weight: 500; color: var(--mut); }
.ent { width: calc(100% - 20px); margin: 0 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; text-align: left; font-size: 14.5px; color: var(--mut); border-radius: 8px; transition: background .2s, color .2s; }
.ent:hover { color: var(--fg); }
.ent.on { background: var(--panel); color: var(--fg); font-weight: 500; box-shadow: 0 0 0 1px var(--ln); }
.ent .d { width: 7px; height: 7px; border-radius: 50%; flex: none; margin-right: 10px; }
.ent span:first-child { display: flex; align-items: center; }
.ent small { font-size: 12.5px; color: var(--mut); font-weight: 400; }
.src { margin: auto 22px 0; padding-top: 20px; border-top: 1px solid var(--ln); font-size: 13.5px; line-height: 1.5; }
.src span { display: block; margin: 12px 0 2px; font-size: 12.5px; color: var(--mut); }
.src span:first-child { margin-top: 0; }
.src i { font-style: normal; color: var(--ok); }
.dash main { padding: 24px; min-width: 0; }
.dash-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.dash-h small { font-size: 13px; color: var(--mut); }
.dash-h h3 { margin-top: 4px; font-size: 22px; letter-spacing: -.02em; }
.months { display: flex; background: var(--soft); border-radius: 9px; padding: 3px; gap: 2px; }
.months button { font-size: 13.5px; padding: 7px 12px; color: var(--mut); border-radius: 7px; }
.months button.on { color: var(--fg); background: var(--panel); box-shadow: 0 0 0 1px var(--ln); font-weight: 500; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.tiles div { padding: 16px 18px; border: 1px solid var(--ln); border-radius: 12px; }
.tiles small { font-size: 13px; color: var(--mut); }
.tiles b { display: block; margin: 10px 0 8px; font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -.035em; }
.tiles span { font-size: 13px; color: var(--mut); }
.up { color: var(--ok) !important; }
.dn { color: var(--call) !important; }
.dash-mid, .dash-low { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.box { border: 1px solid var(--ln); border-radius: 12px; padding: 18px; min-width: 0; }
.box-h { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 500; color: var(--mut); margin-bottom: 14px; }
.box-h i { font-style: normal; display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.box-h i::before { content: ''; width: 12px; height: 2px; border-radius: 2px; background: currentColor; }
.box-h .l-rev { color: var(--fg); }
.box-h .l-res { color: var(--ok); }
.gl { display: inline-flex; align-items: center; gap: 7px; font-weight: 400; }
.gl::before { content: ''; width: 1px; height: 12px; background: var(--mut); }
.dchart { min-height: 220px; }
.dchart svg { width: 100%; height: 220px; overflow: visible; }
.cmp { display: grid; gap: 14px; }
.cmp .r { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; font-size: 14.5px; }
.cmp .r em { font-style: normal; font-weight: 500; margin-left: 6px; }
.cmp .t { grid-column: 1 / -1; height: 6px; background: var(--ln2); border-radius: 3px; position: relative; }
.cmp .t i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; transition: width .6s var(--ease); }
.cmp .t u { position: absolute; top: -4px; bottom: -4px; width: 1px; background: var(--mut); }
.cmp-note { font-size: 13px; color: var(--mut); line-height: 1.45; }
.chip { font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.chip.g { color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); }
.chip.o { color: var(--call); background: color-mix(in srgb, var(--ember) 14%, transparent); }
.chip.n { color: var(--mut); background: var(--ln2); }
.mtm { width: 100%; border-collapse: collapse; font-size: 14px; }
.mtm th { font-weight: 400; font-size: 13px; color: var(--mut); text-align: right; padding: 0 0 10px; }
.mtm th:first-child, .mtm td:first-child { text-align: left; }
.mtm td { text-align: right; padding: 10px 0; border-top: 1px solid var(--ln); }
.mtm tr:not(.on) td:not(.up):not(.dn) { color: var(--mut); }
.mtm tr.on td { font-weight: 500; }
.mtm tr.on td:first-child::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--fg); border-radius: 50%; margin-right: 8px; vertical-align: 2px; }
.call { padding: 12px 0; border-top: 1px solid var(--ln); font-size: 14.5px; display: grid; grid-template-columns: 10px 1fr; gap: 10px; }
.call:first-child { border-top: 0; padding-top: 0; }
.call::before { content: ''; width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--ember); }
.call.ok::before { background: var(--ok); }
.call small { display: block; margin-top: 2px; font-size: 13px; color: var(--mut); }
.sim { margin-top: 18px; font-size: 13px; color: var(--mut); }

/* ------------------------------------------------------------ ask */
.ask-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ask-grid .lede { margin-top: 24px; }
.laws { margin-top: 40px; border-top: 1px solid var(--ln); }
.law { padding: 18px 0; border-bottom: 1px solid var(--ln); }
.law b { font-weight: 500; }
.law p { margin: 4px 0 0; color: var(--mut); font-size: 15.5px; }
.chat { background: var(--panel); border: 1px solid var(--ln); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.chat-top { display: flex; justify-content: space-between; align-items: center; padding: 0 18px; height: 54px; border-bottom: 1px solid var(--ln); font-size: 14px; font-weight: 500; color: var(--mut); }
.chat-top button { font-size: 13px; font-weight: 500; color: var(--fg); border: 1px solid var(--ln); padding: 7px 11px; border-radius: 8px; }
.chat-top button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.chat-body { position: relative; height: 430px; }
.convo { position: absolute; inset: 0; padding: 22px 20px; overflow-y: auto; scrollbar-width: thin; display: flex; flex-direction: column; gap: 16px; transition: opacity .35s var(--ease); }
.convo .old { opacity: .42; }
.msg { max-width: 88%; font-size: 15.5px; line-height: 1.6; }
.msg.q { align-self: flex-end; background: var(--soft); padding: 10px 15px; border-radius: 14px 14px 4px 14px; }
.msg.a { padding-left: 14px; border-left: 2px solid var(--ln); }
.fig { font-weight: 500; padding: 1px 4px; border-radius: 5px; background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); white-space: nowrap; }
.fig::after { content: '\2713'; font-size: .78em; margin-left: 3px; }
.fig.x { background: color-mix(in srgb, var(--ember) 15%, transparent); color: var(--call); text-decoration: underline wavy color-mix(in srgb, var(--ember) 60%, transparent); text-underline-offset: 3px; }
.fig.x::after { content: '?'; font-weight: 600; }
.verdict { font-size: 13px; color: var(--ok); margin-top: 8px; display: block; }
.verdict.x { color: var(--call); }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--fg); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.brief { position: absolute; inset: 0; margin: 0; background: var(--ink); color: #d4d8e2; font: 400 12.5px/1.7 var(--f-code); padding: 20px; overflow: auto; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); white-space: pre; }
.brief .k { color: #8a91a3; }
.brief .n { color: var(--mint); }
.brief .c { color: #5d6478; }
.chat-body.show-brief .brief { opacity: 1; pointer-events: auto; }
.chat-body.show-brief .convo { opacity: 0; }
.prompts { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 18px 16px; border-top: 1px solid var(--ln); }
.prompts button { font-size: 14px; padding: 8px 13px; border: 1px solid var(--ln); border-radius: 999px; transition: border-color .2s, background .2s; }
.prompts button:hover { border-color: var(--fg); }
.prompts button.on { border-color: var(--fg); background: var(--soft); }
.prompts button.catch { border-style: dashed; }
.chat-note { font-size: 13px; color: var(--mut); margin-top: 14px; }

/* ------------------------------------------------------------ streams */
.streams { border-top: 1px solid var(--ln); }
.stream { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 64px); padding: 36px 0; border-bottom: 1px solid var(--ln); align-items: start; }
.stream > div:first-child { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.stream h3 { font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.03em; line-height: 1.05; }
.stream p { margin: 0; color: var(--mut); font-size: 17px; }
.stream ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; font-size: 15px; }
.stream li { display: flex; gap: 10px; }
.stream li::before { content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%; margin-top: 10px; background: var(--mut); }
.stream.live li::before { background: var(--ok); }
.who { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.who h3 { font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.03em; line-height: 1.08; }
.who p { color: var(--mut); margin: 16px 0 0; }
.switch { display: inline-flex; margin-top: 26px; background: var(--soft); border-radius: 10px; padding: 4px; gap: 4px; }
.switch button { padding: 9px 15px; font-size: 14.5px; border-radius: 7px; color: var(--mut); transition: background .3s var(--ease), color .3s var(--ease); }
.switch button[aria-pressed="true"] { background: var(--fg); color: var(--bg); font-weight: 500; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.flow::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 1px; background: var(--ln); }
.node { text-align: center; padding: 0 8px; position: relative; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.node .dot { width: 18px; height: 18px; margin: 0 auto; border-radius: 50%; border: 1px solid var(--ln); background: var(--bg); position: relative; }
.node .dot::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--mut); }
.node.g .dot::after { background: var(--ok); }
.node.o .dot::after { background: var(--ember); }
.node b { display: block; margin-top: 16px; font-weight: 500; font-size: 15.5px; }
.node small { display: block; margin-top: 4px; color: var(--mut); font-size: 13.5px; line-height: 1.45; }
.flow.solo .acct { opacity: .25; transform: scale(.95); }

/* ------------------------------------------------------------ pricing */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tier { border: 1px solid var(--ln); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; background: var(--panel); }
.tier.on { box-shadow: 0 0 0 1.5px var(--fg), var(--shadow); border-color: transparent; }
.tier .nm { display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 500; }
.tier .px { margin-top: 24px; font-size: 52px; font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.tier .px small { font-size: 15px; color: var(--mut); letter-spacing: 0; margin-left: 4px; font-weight: 400; }
.tier .px.words { font-size: 40px; letter-spacing: -.035em; }
.tier .for { margin: 16px 0 0; color: var(--mut); font-size: 15.5px; min-height: 3.2em; }
.tier ul { list-style: none; margin: 22px 0 30px; padding: 22px 0 0; border-top: 1px solid var(--ln); display: grid; gap: 10px; font-size: 15px; }
.tier li { display: flex; gap: 10px; }
.tier li::before { content: '\2713'; flex: none; color: var(--ok); font-size: 13px; margin-top: 1px; }
.tier .btn { margin-top: auto; }

/* ------------------------------------------------------------ boundary */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ln); }
.rule { padding: 28px 30px 32px 0; border-bottom: 1px solid var(--ln); }
.rule:nth-child(3n+2), .rule:nth-child(3n) { padding-left: 30px; border-left: 1px solid var(--ln); }
.rule b { display: block; font-weight: 500; font-size: 18.5px; letter-spacing: -.01em; }
.rule p { margin: 8px 0 0; color: var(--mut); font-size: 15.5px; }

/* ------------------------------------------------------------ close */
.close { position: relative; overflow: hidden; padding: clamp(110px, 13vw, 180px) 0; }
.close .wrap { position: relative; z-index: 1; }
.close h2 { max-width: 12ch; }
.close p { margin: 26px 0 0; font-size: clamp(18px, 1.3vw, 20px); max-width: 480px; color: var(--mut); }

/* ------------------------------------------------------------ footer */
.foot { background: var(--ink); color: #a3a9b8; padding: 72px 0 36px; font-size: 14.5px; }
.foot .top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.foot .logo { color: #fff; }
.foot nav { display: flex; gap: 28px; flex-wrap: wrap; }
.foot nav a:hover { color: #fff; }
.foot .legal { margin: 32px 0 0; max-width: 880px; font-size: 13px; line-height: 1.7; }
.foot .legal b { color: #f5f6f8; font-weight: 500; }
.foot .base { margin-top: 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ------------------------------------------------------------ reveal: section heads and panels only */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.rv.shown { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
.no-js .read { height: auto; }
.no-js .read .pin { position: relative; height: auto; }
.no-js .steps-wrap { position: relative; padding: 120px 0; }
.no-js .steps { width: auto; min-height: 0; display: grid; gap: 48px; }
.no-js .step { position: static; opacity: 1; transform: none; }
.no-js .rail, .no-js .decide { display: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .menu, .signin { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 40px; }
  .stage { height: auto; aspect-ratio: 16 / 11; max-width: 760px; margin-top: 12px; }
  .win { width: 100%; transform: none; }
  .f-find { left: auto; right: 4%; bottom: -4%; }
  .dash { grid-template-columns: minmax(0, 1fr); }
  .dash aside { min-width: 0; border-right: 0; border-bottom: 1px solid var(--ln); padding: 12px 0; }
  .dash aside .logo, .dash aside h4, .src { display: none; }
  .ents { display: flex; overflow-x: auto; gap: 4px; padding: 0 12px; scrollbar-width: none; }
  .ent { width: auto; margin: 0; flex: none; }
  .ent small { display: none; }
}
@media (max-width: 860px) {
  :root { --head: 64px; }
  body { font-size: 16px; }
  .head .head-r { display: none; }
  .burger { display: inline-flex; }
  .head.open { background: var(--ink); color: #fff; }
  .head.open .menu { display: flex; position: fixed; top: var(--head); left: 0; right: 0; bottom: 0; background: var(--ink); flex-direction: column; gap: 0; padding: 12px var(--gut); font-size: 26px; letter-spacing: -.02em; }
  .head.open .menu a { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); opacity: 1; }
  .hero-grid { padding-top: calc(var(--head) + 32px); }
  .hero .lede { margin-top: 20px; font-size: 17px; }
  .ctas { margin-top: 28px; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .stage { aspect-ratio: auto; height: auto; }
  .win { position: relative; top: 0; }
  .win-body { grid-template-columns: minmax(0, 1fr); }
  .win-side, .win-calls, .tag { display: none; }
  .win-kpis b { font-size: 17px; }
  .win-kpis div { padding: 9px 10px; }
  .win-chart { height: 90px; }
  .f-tie { display: none; }
  .f-find { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -28px 12px 0; }
  .read { height: 440vh; }
  .steps-wrap { justify-content: flex-start; padding-top: calc(var(--head) + 18px); }
  .steps { width: 100%; min-height: 34svh; }
  .step h2 { font-size: 28px; margin-top: 8px; }
  .step p { font-size: 15px; margin-top: 10px; }
  .decide { margin-top: 14px; }
  .step .decide-p, .rail, .scene-note { display: none; }
  .labels { font-size: 11px; }
  .labels .cap { font-size: 11.5px; }
  .sec-head, .ask-grid, .who { grid-template-columns: 1fr; }
  .sec-head { align-items: start; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .dash main { padding: 16px; }
  .dash-mid, .dash-low { grid-template-columns: 1fr; }
  .chat-body { height: 440px; }
  .msg { font-size: 15px; max-width: 94%; }
  .stream { grid-template-columns: 1fr; gap: 12px; padding: 30px 0; }
  .stream ul { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .flow::before { display: none; }
  .rules, .tiers { grid-template-columns: 1fr; }
  .rule, .rule:nth-child(3n+2), .rule:nth-child(3n) { padding: 24px 0; border-left: 0; }
}

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

.win-chart .wb { animation: grow .9s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } }
