/* TradingZo waitlist. Brand v2 (Ink + violet, IBM Plex), Notion-style page, light theme only. */

/* IBM Plex, served from our own domain (Fontsource 5.3.0, Latin subset, SIL OFL 1.1). */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-serif-latin-400-italic.woff2") format("woff2"); }

:root {
  --ink: #1D2939;
  --violet: #7A5AF8;
  --violet-hover: #6B4BEF;
  --violet-text: #6A48F0;
  --violet-soft: rgba(122, 90, 248, .09);

  --bg: #FFFFFF;
  --band: #F7F8FA;
  --card: #FFFFFF;
  --side: #F7F8FA;
  --heading: #1D2939;
  --text: #344054;
  --muted: #6F7786;
  --faint: #98A2B3;
  --line: #E4E7EC;
  --line-soft: #EEF0F3;
  --hover: #F1F3F6;

  --up: #067647;
  --down: #D92D33;
  --up-fill: 18, 183, 106;
  --down-fill: 229, 72, 77;
  --warn: #B7791F;
  --warn-fill: #E9B44C;

  --tag-gray-bg: #F1F1EF;   --tag-gray: #6F6E69;
  --tag-purple-bg: #F2EEFF; --tag-purple: #6A48F0;
  --tag-blue-bg: #E7F3F8;   --tag-blue: #337EA9;
  --tag-green-bg: #EDF3EC;  --tag-green: #448361;
  --tag-orange-bg: #FBECDD; --tag-orange: #C4651C;

  --shadow-win: 0 1px 2px rgba(16, 24, 40, .04), 0 16px 32px -16px rgba(16, 24, 40, .10), 0 48px 96px -48px rgba(16, 24, 40, .22);

  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, dl, dd, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: -.01em; }
.up { color: var(--up); }
.down { color: var(--down); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.logo-dark { display: none !important; }

/* Notion-style tags */
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 4px; font-size: 12.5px; font-weight: 500; white-space: nowrap; line-height: 1; }
.tag-gray { background: var(--tag-gray-bg); color: var(--tag-gray); }
.tag-purple { background: var(--tag-purple-bg); color: var(--tag-purple); }
.tag-blue { background: var(--tag-blue-bg); color: var(--tag-blue); }
.tag-green { background: var(--tag-green-bg); color: var(--tag-green); }
.tag-orange { background: var(--tag-orange-bg); color: var(--tag-orange); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; cursor: pointer; white-space: nowrap; font-weight: 600; text-decoration: none; transition: background-color .18s, color .18s, transform .18s var(--ease); }
.btn-primary { height: 42px; padding: 0 16px; font-size: 15px; background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: .7; cursor: progress; }
.btn-ink { height: 34px; padding: 0 13px; font-size: 14px; background: var(--heading); color: var(--bg); }
.btn-ink:hover { background: color-mix(in srgb, var(--heading) 86%, var(--violet)); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-solid { border-bottom-color: var(--line-soft); }
.nav-in { height: 60px; display: flex; align-items: center; gap: 20px; }
.nav-logo img { height: 21px; width: auto; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-link, .mm-trigger { font: inherit; font-size: 14.5px; font-weight: 500; color: var(--text); text-decoration: none; padding: 6px 10px; border-radius: 6px; transition: background-color .15s, color .15s; }
.nav-link:hover { background: var(--hover); }
.nav-links .btn { margin-left: 10px; }

/* Mega menu: panel tilts open from the top, resizes between menus, content slides by direction */
.mm { position: relative; }
.mm-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mm-trigger { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; }
.mm-trigger:hover, .mm-trigger[aria-expanded="true"] { background: var(--hover); color: var(--heading); }
.mm-chev { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .7; transition: transform .2s var(--ease); }
.mm-trigger[aria-expanded="true"] .mm-chev { transform: rotate(180deg); }
.mm-wrap { position: absolute; top: calc(100% + 14px); left: var(--mm-x, 0); z-index: 60; perspective: 2000px; transition: left .15s cubic-bezier(.4, 0, .2, 1); }
.mm-viewport { position: relative; overflow: hidden; width: var(--mm-w, 0); height: var(--mm-h, 0); background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px -12px rgba(16, 24, 40, .16), 0 2px 6px rgba(16, 24, 40, .05); transform-origin: top center; transition: width .15s cubic-bezier(.4, 0, .2, 1), height .15s cubic-bezier(.4, 0, .2, 1); }
.mm-viewport[data-state="open"] { animation: mm-in .2s ease; }
.mm-viewport[data-state="closed"] { animation: mm-out .2s ease forwards; }
.mm-content { position: absolute; top: 0; left: 0; display: flex; }
.mm-wrap[hidden], .mm-content[hidden] { display: none; }
.mm-content[data-motion="from-end"] { animation: mm-from-end .15s ease; }
.mm-content[data-motion="from-start"] { animation: mm-from-start .15s ease; }
.mm-content[data-motion="to-end"] { animation: mm-to-end .15s ease forwards; }
.mm-content[data-motion="to-start"] { animation: mm-to-start .15s ease forwards; }
.mm-col { width: 268px; padding: 18px 14px 14px; }
.mm-col-wide { width: 318px; }
.mm-col + .mm-col { border-left: 1px solid var(--line-soft); }
.mm-h { margin: 0 0 8px; padding: 0 8px; font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.mm-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; text-decoration: none; transition: background-color .15s; }
a.mm-item:hover { background: var(--hover); }
.mm-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.mm-ico svg { width: 16px; height: 16px; fill: none; stroke: var(--heading); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .15s; }
a.mm-item:hover .mm-ico svg { stroke: var(--violet); }
.mm-t { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--heading); }
.mm-d { display: block; margin-top: 1px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.mm-item.is-soon { cursor: default; }
.mm-item.is-soon .mm-ico svg { stroke: var(--muted); }
.mm-soon { font-style: normal; font-size: 11px; font-weight: 500; line-height: 1; padding: 3px 6px; border-radius: 4px; background: var(--violet-soft); color: var(--violet-text); }
@keyframes mm-in { from { opacity: 0; transform: rotateX(-30deg) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes mm-out { to { opacity: 0; transform: rotateX(-10deg) scale(.95); } }
@keyframes mm-from-end { from { opacity: 0; transform: translateX(200px); } }
@keyframes mm-from-start { from { opacity: 0; transform: translateX(-200px); } }
@keyframes mm-to-end { to { opacity: 0; transform: translateX(200px); } }
@keyframes mm-to-start { to { opacity: 0; transform: translateX(-200px); } }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px); }
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: 15px; color: var(--muted); }
.hero h1 { margin-top: 22px; font-size: clamp(42px, 6.6vw, 82px); font-weight: 700; line-height: 1.0; letter-spacing: -.045em; color: var(--heading); }
.hero h1 .line { display: block; }
.lede { margin-top: 22px; max-width: 36em; font-size: clamp(17.5px, 1.6vw, 20px); line-height: 1.55; color: var(--muted); }

/* ---------- Join form ---------- */
.join { width: 100%; max-width: 470px; margin-top: 32px; text-align: left; }
.join-row { display: flex; align-items: center; gap: 6px; height: 54px; padding: 6px 6px 6px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: border-color .2s, box-shadow .2s; }
.join-row:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.join input[type="email"] { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16.5px; color: var(--heading); }
.join input[type="email"]::placeholder { color: var(--faint); }
.enter { font-family: var(--mono); font-size: 12px; color: var(--faint); padding: 1px 6px; border: 1px solid var(--line); border-radius: 5px; opacity: 0; transform: translateX(4px); transition: opacity .2s, transform .2s var(--ease); }
.join-row.has-value .enter { opacity: 1; transform: none; }
.join.is-invalid .join-row { border-color: var(--down); box-shadow: 0 0 0 4px color-mix(in srgb, var(--down) 12%, transparent); }
.market { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.market legend { float: left; padding: 0; font-size: 14px; color: var(--muted); }
.market-opts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.market-opts label { position: relative; cursor: pointer; }
.market-opts input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.market-opts span { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 14px; color: var(--text); background: var(--tag-gray-bg); border: 1px solid transparent; transition: color .15s, border-color .15s, background-color .15s; }
.market-opts label:hover span { background: color-mix(in srgb, var(--tag-gray-bg) 70%, var(--line)); }
.market-opts input:checked + span { color: var(--violet-text); background: var(--violet-soft); border-color: color-mix(in srgb, var(--violet) 50%, transparent); }
.market-opts input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join-note { margin-top: 12px; font-size: 14px; color: var(--faint); min-height: 1.6em; text-align: center; }
.join-note.is-error { color: var(--down); }
.join-done { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); text-align: left; animation: rise .5s var(--ease) both; }
.join-done svg { flex: none; width: 28px; height: 28px; margin-top: 1px; }
.join-done circle { fill: var(--violet); }
.join-done path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 18; stroke-dashoffset: 18; animation: draw .45s .2s var(--ease) forwards; }
.join-done b { display: block; font-weight: 600; color: var(--heading); }
.join-done p { font-size: 14.5px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.join-done > div { flex: 1; min-width: 0; }
.join-share { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.join-share-t { font-size: 14px; color: var(--muted); line-height: 1.5; }
.join-share-t b { display: inline; color: var(--violet-text); }
.join-share-row { display: flex; gap: 6px; margin-top: 10px; padding: 4px 4px 4px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.join-share-row input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--mono); font-size: 13px; color: var(--heading); }
.join-share-n { margin-top: 8px; font-size: 13px; color: var(--muted); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Product: tabs + window ---------- */
.product { max-width: 1180px; margin: clamp(56px, 7vw, 80px) auto 0; padding: 0 var(--gutter); }
.tabs { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; margin-bottom: 18px; }
.tab { position: relative; border: 0; background: none; cursor: pointer; height: 36px; padding: 0 14px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: background-color .2s, color .2s; overflow: hidden; }
.tab:hover { color: var(--heading); background: var(--hover); }
.tab[aria-selected="true"] { color: var(--heading); background: var(--tag-gray-bg); }
.tab i { position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--violet); transform: scaleX(0); transform-origin: left; opacity: 0; }
.tab[aria-selected="true"] i { opacity: .8; }
.product.is-auto .tab[aria-selected="true"] i { animation: fill var(--dwell, 6s) linear forwards; }
.product.is-paused .tab[aria-selected="true"] i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

.win { display: grid; grid-template-columns: 216px minmax(0, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-win); overflow: hidden; }
.side { background: var(--side); border-right: 1px solid var(--line-soft); padding: 12px 8px; font-size: 13.5px; color: var(--text); display: flex; flex-direction: column; }
.ws { display: flex; align-items: center; gap: 9px; padding: 6px 8px; font-size: 14px; }
.ws img { width: 16px; height: auto; }
.ws b { font-weight: 600; color: var(--heading); }
.side-search { display: flex; justify-content: space-between; align-items: center; margin: 6px 0 8px; padding: 5px 8px; border-radius: 6px; color: var(--faint); }
.side-search kbd { font-family: var(--mono); font-size: 11px; }
.side-nav li, .side-acc li { display: flex; align-items: center; gap: 9px; padding: 5px 8px; border-radius: 6px; color: var(--text); transition: background-color .25s, color .25s; }
.side-nav svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.side-nav li.is-on { background: var(--hover); color: var(--heading); font-weight: 500; }
.side-nav li.is-on svg { opacity: 1; stroke: var(--violet); }
.side-h { margin: 18px 8px 4px; font-size: 12px; color: var(--faint); }
.side-acc i { width: 8px; height: 8px; border-radius: 2px; }
.dot-v { background: var(--violet); } .dot-b { background: #337EA9; } .dot-o { background: #D9730D; }
.side-sync { margin-top: auto; padding: 8px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.sync-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 3px var(--violet-soft); animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 5px rgba(122, 90, 248, .05); } }

.panes { position: relative; min-height: 560px; }
.pane { position: absolute; inset: 0; padding: 26px 32px 28px; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .55s var(--ease); overflow: hidden; }
.pane.is-active { opacity: 1; transform: none; }
.pane[hidden] { display: block; visibility: hidden; }

.ph h3 { font-size: 24px; font-weight: 700; letter-spacing: -.025em; color: var(--heading); line-height: 1.2; }
.ph-sub { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.ph-props { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.ph-base { font-size: 12.5px; color: var(--muted); margin-left: 4px; }
.block { border: 1px solid var(--line-soft); border-radius: 8px; padding: 14px 16px; min-width: 0; }
.bh { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.bh .num { color: var(--heading); font-size: 13px; }
.bh .num.up { color: var(--up); }

/* Dashboard */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 18px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.stats > div { padding: 14px 16px 14px 0; }
.stats > div + div { padding-left: 16px; border-left: 1px solid var(--line-soft); }
.stats p { font-size: 12.5px; color: var(--muted); }
.stats b { display: block; margin-top: 4px; font-size: 22px; color: var(--heading); line-height: 1.2; }
.stats b.up { color: var(--up); }
.stats span { display: block; margin-top: 2px; font-size: 12px; color: var(--faint); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.equity { width: 100%; height: 190px; }
.eq-zero { stroke: var(--line); stroke-dasharray: 2 4; fill: none; }
.eq-line { stroke: var(--violet); stroke-width: 2; stroke-linejoin: round; }
.eq-axis { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.cal-d { font-size: 11px; color: var(--faint); text-align: center; padding-bottom: 2px; }
.cal-c { position: relative; height: 34px; border-radius: 5px; background: var(--hover); padding: 3px 5px; font-family: var(--mono); font-size: 10px; line-height: 1.2; color: var(--muted); opacity: 0; transform: scale(.92); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.cal-c.is-on { opacity: 1; transform: none; }
.cal-c.blank { background: none; }
.cal-c b { display: block; font-weight: 500; color: var(--heading); margin-top: 3px; font-size: 10.5px; }
.cal-c.u b { color: var(--up); }
.cal-c.d b { color: var(--down); }
.cal-c.fut { background: none; border: 1px dashed var(--line-soft); }

/* Trade review */
.tr { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; margin-top: 20px; }
.tr-chart .bh b { font-size: 15px; }
.tr-chart .bh em { font-style: normal; font-size: 12.5px; color: var(--muted); margin-left: 10px; }
.tchart { width: 100%; height: auto; overflow: visible; }
.t-line { stroke: var(--violet); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.lvl { stroke-width: 1; stroke-dasharray: 2 4; }
.lvl-target { stroke: var(--violet); opacity: .55; }
.lvl-entry { stroke: var(--muted); opacity: .6; }
.lvl-stop { stroke: var(--down); opacity: .55; }
.lvl-tx { font-family: var(--mono); font-size: 10.5px; fill: var(--faint); }
.mk { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.3); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.mk.is-on { opacity: 1; transform: none; }
.mk circle { stroke: var(--card); stroke-width: 2.5; }
.mk-in circle { fill: var(--heading); }
.mk-out circle { fill: var(--violet); }
.mk text { font-family: var(--sans); font-size: 11px; font-weight: 500; fill: var(--heading); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { font-size: 14px; color: var(--heading); margin-top: 2px; }
.lbl { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.checks + .lbl { margin-top: 16px; }
.checks li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; color: var(--heading); padding: 5px 0; }
.ck { position: relative; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 4px; border: 1.5px solid var(--line); transition: background-color .3s, border-color .3s; }
.ck::after { content: ""; position: absolute; opacity: 0; transition: opacity .25s .08s; }
.checks li.ok .ck::after { left: 4.2px; top: 1.2px; width: 4px; height: 7.5px; border: solid #fff; border-width: 0 1.7px 1.7px 0; transform: rotate(42deg); }
.checks li.no .ck::after { left: 3.3px; top: 5.6px; width: 6.5px; height: 1.7px; background: #fff; border-radius: 1px; }
.checks li.ok.is-on .ck { background: var(--violet); border-color: var(--violet); }
.checks li.no.is-on .ck { background: var(--warn-fill); border-color: var(--warn-fill); }
.checks li.is-on .ck::after { opacity: 1; }
.checks li.no { color: var(--warn); }
.hand { font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.55; color: var(--heading); }
.callout { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 11px 13px; border-radius: 6px; background: var(--band); font-size: 13px; line-height: 1.5; color: var(--text); }
.callout img { width: 14px; height: auto; margin-top: 4px; flex: none; }
.callout b { font-weight: 600; color: var(--heading); margin-right: 4px; }

/* Strategies (database table) */
.db { margin-top: 20px; font-size: 13.5px; border-top: 1px solid var(--line-soft); }
.db-r { display: grid; grid-template-columns: minmax(0, 2.1fr) .6fr .8fr 1fr 1.25fr; align-items: center; gap: 12px; height: 42px; padding: 0 8px; border-bottom: 1px solid var(--line-soft); color: var(--heading); transition: background-color .15s; }
.db-r:not(.db-h):hover { background: var(--hover); }
.db-h { height: 34px; font-size: 12.5px; color: var(--muted); }
.db-r.is-sel { background: var(--violet-soft); }
.db-r span:first-child { display: flex; align-items: center; gap: 9px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-r .num { font-size: 13px; }
.sw { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.sw-v { background: var(--violet); } .sw-b { background: #337EA9; } .sw-g { background: #448361; } .sw-o { background: #D9730D; }
.db-r span:last-child { display: flex; align-items: center; gap: 10px; }
.db-r span:last-child b { font-size: 12.5px; color: var(--muted); min-width: 32px; }
.meter { flex: 1; height: 4px; border-radius: 4px; background: var(--hover); overflow: hidden; }
.meter s { display: block; height: 100%; width: 0; background: var(--violet); border-radius: inherit; transition: width 1.1s var(--ease); }
.meter.weak s { background: var(--warn-fill); }
.split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.split > div { border: 1px solid var(--line-soft); border-radius: 8px; padding: 14px 16px; }
.split p { font-size: 12.5px; color: var(--muted); }
.split b { display: block; margin-top: 4px; font-size: 22px; line-height: 1.2; }
.split .split-rule { font-size: 15.5px; font-weight: 600; color: var(--warn); margin-top: 8px; }
.split span { display: block; margin-top: 3px; font-size: 12px; color: var(--faint); }

/* Notebook (Notion page) */
.doc-page { max-width: 640px; margin: 8px auto 0; }
.doc-page h3 { font-size: 30px; font-weight: 700; letter-spacing: -.03em; color: var(--heading); }
.props { margin-top: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.props > div { display: grid; grid-template-columns: 96px 1fr; align-items: center; min-height: 32px; font-size: 13.5px; }
.props dt { color: var(--muted); }
.props dd { display: flex; flex-wrap: wrap; gap: 6px; color: var(--heading); }
.link { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.link::before { content: "↗ "; color: var(--faint); font-size: 12px; }
.more { color: var(--muted); }
.doc-page h4 { margin-top: 18px; font-size: 17px; font-weight: 600; color: var(--heading); }
.bul { margin-top: 6px; }
.bul li { position: relative; padding: 3px 0 3px 20px; font-size: 14.5px; line-height: 1.5; color: var(--heading); }
.bul li::before { content: ""; position: absolute; left: 6px; top: .82em; width: 5px; height: 5px; border-radius: 50%; background: var(--heading); }
.bul .num { font-size: 13px; margin-left: 4px; }
.tgl { margin-top: 12px; }
.tgl summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--heading); padding: 3px 0; }
.tgl summary::-webkit-details-marker { display: none; }
.tgl summary::before { content: ""; width: 0; height: 0; border-left: 6px solid var(--heading); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; margin: 0 4px 0 3px; transition: transform .2s var(--ease); }
.tgl[open] summary::before { transform: rotate(90deg); }
.tgl summary .num { font-size: 12px; color: var(--muted); background: var(--tag-gray-bg); border-radius: 4px; padding: 0 6px; }
.tgl .bul { padding-left: 22px; }

/* Discipline */
.disc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 14px; margin-top: 20px; }
.td { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); cursor: pointer; font-size: 14px; color: var(--heading); }
.td:last-child { border-bottom: 0; }
.td input { appearance: none; -webkit-appearance: none; flex: none; margin: 0; width: 17px; height: 17px; border-radius: 4px; border: 1.5px solid var(--line); background: var(--card); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.td input::after { content: ""; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(42deg) translate(-.5px, -1px) scale(.4); opacity: 0; transition: transform .25s var(--ease), opacity .2s; }
.td input:checked { background: var(--violet); border-color: var(--violet); }
.td input:checked::after { opacity: 1; transform: rotate(42deg) translate(-.5px, -1px) scale(1); }
.td input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--faint); }
.heat { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; gap: 4px; }
.heat i { aspect-ratio: 1; border-radius: 3px; background: var(--hover); opacity: 0; transition: opacity .3s var(--ease); }
.heat i.is-on { opacity: 1; }
.heat .h1, .heat-key .h1 { background: rgba(122, 90, 248, .25); }
.heat .h2, .heat-key .h2 { background: rgba(122, 90, 248, .55); }
.heat .h3, .heat-key .h3 { background: var(--violet); }
.heat-key { display: inline-flex; gap: 3px; }
.heat-key i { width: 10px; height: 10px; border-radius: 2px; background: var(--hover); }
.heat-cap { margin-top: 12px; font-size: 12.5px; color: var(--muted); }


/* Number explainers (hover or focus a stat) */
.stats > div[data-tip] { position: relative; cursor: help; outline: none; }
.ex { display: inline-grid; place-items: center; width: 13px; height: 13px; margin-left: 5px; border-radius: 50%; border: 1px solid var(--faint); font-family: var(--serif); font-style: italic; font-size: 9px; line-height: 1; color: var(--muted); vertical-align: 1px; transition: border-color .2s, color .2s; }
.stats > div[data-tip]::after {
  content: attr(data-tip); position: absolute; z-index: 5; left: 12px; top: calc(100% - 6px); width: 230px;
  padding: 10px 12px; border-radius: 8px; background: var(--heading); color: var(--bg);
  font-size: 12.5px; line-height: 1.5; font-weight: 400;
  opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .25s var(--ease), transform .35s var(--ease);
}
.stats > div[data-tip]:hover::after, .stats > div[data-tip]:focus-visible::after, .stats > div[data-tip].is-tip::after { opacity: 1; transform: none; }
.stats > div[data-tip]:hover .ex, .stats > div[data-tip].is-tip .ex { border-color: var(--violet); color: var(--violet-text); }

/* Ask Zo */
.zo { display: flex; flex-direction: column; height: 432px; margin-top: 14px; }
.zo-log { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 4px 2px 14px; }
.m-me { align-self: flex-end; max-width: 75%; padding: 8px 12px; border-radius: 12px 12px 4px 12px; background: var(--tag-gray-bg); color: var(--heading); font-size: 14px; animation: rise .4s var(--ease) both; }
.m-ai { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; animation: rise .4s var(--ease) both; }
.m-ai .av { width: 22px; height: 22px; border-radius: 6px; background: var(--violet-soft); display: grid; place-items: center; }
.m-ai .av img { width: 13px; height: auto; }
.m-ai .tx { font-size: 14px; line-height: 1.55; color: var(--heading); }
.m-ai .tx b { font-weight: 600; }
.m-steps { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.m-step { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); animation: rise .35s var(--ease) both; }
.spin { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--violet); border-right-color: transparent; animation: spin .8s linear infinite; flex: none; }
.tick { width: 11px; height: 11px; flex: none; position: relative; }
.tick::after { content: ""; position: absolute; left: 3px; top: 0; width: 4px; height: 8px; border: solid var(--violet); border-width: 0 1.6px 1.6px 0; transform: rotate(42deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.caret::after { content: ""; display: inline-block; width: 7px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--violet); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.card-in { margin-top: 10px; border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; animation: rise .45s var(--ease) both; }
.dr { display: grid; grid-template-columns: 46px 54px 1fr auto; gap: 10px; align-items: center; padding: 7px 12px; font-size: 12.5px; border-top: 1px solid var(--line-soft); color: var(--heading); }
.dr:first-child { border-top: 0; }
.dr .t { font-family: var(--mono); color: var(--muted); font-size: 12px; }
.dr .num { font-size: 12.5px; text-align: right; }
.dr .tags { display: flex; gap: 4px; flex-wrap: wrap; }
.dr .tag { height: 19px; font-size: 11px; }
.ok-tag { color: var(--muted); font-size: 11.5px; }
.exp { padding: 12px 14px; }
.exp-f { font-size: 13px; color: var(--text); }
.exp-f .num { font-size: 13px; }
.exp-bars { display: grid; grid-template-columns: 52px 1fr 72px; gap: 6px 10px; align-items: center; margin-top: 10px; font-size: 12px; color: var(--muted); }
.exp-bars i { height: 8px; border-radius: 8px; width: 0; transition: width 1s var(--ease); }
.exp-bars .w { background: rgb(var(--up-fill)); }
.exp-bars .l { background: rgb(var(--down-fill)); }
.exp-bars .num { font-size: 12px; text-align: right; color: var(--heading); }
.exp-scale { position: relative; height: 6px; margin: 16px 0 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(var(--down-fill), .35) 0 33%, rgba(233, 180, 76, .4) 33% 50%, rgba(var(--up-fill), .35) 50%); }
.exp-scale b { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--violet); border: 2px solid var(--card); transition: left 1.1s var(--ease); }
.exp-lg { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); }
.zo-input { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); transition: border-color .2s, box-shadow .2s; }
.zo-input.is-typing { border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.zo-spark { width: 15px; height: 15px; fill: var(--violet); flex: none; }
.zo-ph { flex: 1; font-size: 14px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.is-typing .zo-ph { color: var(--heading); }
.zo-input kbd, .ac-input kbd { font-family: var(--mono); font-size: 11px; color: var(--faint); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; }
.zo-sugg { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.zo-sugg span { font-size: 12.5px; color: var(--text); background: var(--tag-gray-bg); padding: 3px 9px; border-radius: 6px; }

/* Connect your AI (MCP) */
.mcp { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 18px; }
.hub { position: relative; width: 280px; height: 280px; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hl { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-linecap: round; transition: stroke .4s; }
.hl.on { stroke: var(--violet); }
.pulse { fill: var(--violet); }
.pulse.back { fill: #9B87FB; }
.node { position: absolute; width: 56px; height: 56px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: opacity .4s var(--ease), transform .5s var(--ease), box-shadow .35s, border-color .35s; }
.node.in { opacity: .55; transform: none; }
.node.in.on { opacity: 1; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); transform: scale(1.06); }
.node span { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--muted); white-space: nowrap; }
.node .ok { position: absolute; right: -5px; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: var(--violet); border: 2px solid var(--card); transform: scale(0); transition: transform .35s var(--ease); }
.node .ok::after { content: ""; position: absolute; left: 4px; top: 1.5px; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(42deg); }
.node.linked .ok { transform: scale(1); }
.lg { width: 26px; height: 26px; }
.lg-claude { fill: #D97757; }
.lg-chatgpt, .lg-cursor { fill: var(--heading); }
.lg-gemini { fill: #8E75B2; }
.core { position: absolute; left: 106px; top: 106px; width: 68px; height: 68px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--violet); display: grid; place-items: center; box-shadow: 0 0 0 6px var(--violet-soft); animation: breathe 2.6s ease-in-out infinite; }
.core img { width: 30px; height: auto; }
.ac { display: flex; flex-direction: column; height: 420px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.ac-bar { display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.ac-bar b { font-weight: 600; color: var(--heading); }
.ac-logo { width: 18px; height: 18px; transition: opacity .3s; }
.ac-conn { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.ac-log { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 14px; transition: opacity .35s var(--ease); }
.ac-log.out { opacity: 0; }
.ac-input { display: flex; align-items: center; gap: 10px; margin: 0 12px 12px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.ac-input.is-typing { border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.tcs { display: flex; flex-direction: column; gap: 5px; }
.tc { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; height: 26px; padding: 0 10px; border-radius: 7px; background: var(--band); border: 1px solid var(--line-soft); font-family: var(--mono); font-size: 11.5px; color: var(--text); animation: rise .35s var(--ease) both; }
.tc img { width: 12px; height: auto; }
.tc em { font-style: normal; color: var(--faint); }
.ac .m-ai { grid-template-columns: minmax(0, 1fr); }
.ac .m-ai .tx { font-size: 14px; }

/* ---------- Quote ---------- */
.quote { padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 9vw, 112px); }
.quote blockquote { max-width: 900px; margin: 0 auto; padding-left: clamp(18px, 3vw, 28px); border-left: 3px solid var(--heading); }
.quote p { font-family: var(--serif); font-size: clamp(24px, 3vw, 38px); line-height: 1.3; letter-spacing: -.01em; color: var(--heading); }
.quote .num { font-size: .88em; white-space: nowrap; }
.quote footer { margin-top: 16px; font-size: 16.5px; color: var(--muted); }

/* ---------- Features ---------- */
.features { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line-soft); }
.features h2, .how h2, .faq h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; color: var(--heading); }
.features h2 span { color: var(--muted); }
.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 4vw, 48px); }
.fc { background: var(--band); border-radius: 12px; padding: 22px 22px 24px; transition: background-color .2s; }
.fc:hover { background: color-mix(in srgb, var(--band) 60%, var(--hover)); }
.ic { width: 26px; height: 26px; fill: none; stroke: var(--heading); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic .a { stroke: var(--violet); }
.fc h3 { margin-top: 18px; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; color: var(--heading); line-height: 1.3; }
.fc p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- How ---------- */
.how { padding: clamp(56px, 7vw, 96px) 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(28px, 4vw, 44px); }
.steps li { border-top: 1px solid var(--line); padding-top: 18px; }
.step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--tag-gray-bg); font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--heading); }
.steps h3 { margin-top: 14px; font-size: 18px; font-weight: 600; color: var(--heading); letter-spacing: -.01em; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }

/* ---------- Letter (callout) ---------- */
.letter { padding: clamp(32px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); }
.letter-card { max-width: 820px; margin: 0 auto; background: var(--band); border-radius: 14px; padding: clamp(28px, 5vw, 52px); }
.letter-icon { width: 28px; height: auto; }
.letter-card h2 { margin-top: 18px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--heading); }
.letter-card p { margin-top: 14px; font-family: var(--serif); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.65; color: var(--heading); }
.letter-card .sign { margin-top: 26px; font-family: var(--sans); font-size: 16.5px; font-weight: 600; }
.sign span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }

/* ---------- FAQ (Notion toggles) ---------- */
.faq { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line-soft); }
.faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 72px); }
.qa details { border-radius: 6px; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 10px; padding: 10px 8px; border-radius: 6px; font-size: 17px; font-weight: 500; color: var(--heading); transition: background-color .15s; }
.qa summary:hover { background: var(--hover); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: ""; flex: none; margin-top: .55em; width: 0; height: 0; border-left: 7px solid var(--heading); border-top: 5px solid transparent; border-bottom: 5px solid transparent; transition: transform .2s var(--ease); }
.qa details[open] summary::before { transform: rotate(90deg); }
.qa details p { padding: 2px 8px 14px 25px; color: var(--muted); max-width: 62ch; font-size: 16px; }
.qa details[open] p { animation: rise .35s var(--ease) both; }
.qa a { color: var(--violet-text); text-underline-offset: 3px; }

/* ---------- Closing ---------- */
.close { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line-soft); }
.close-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.close h2 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 700; letter-spacing: -.045em; line-height: 1; color: var(--heading); }
.close-in > p { margin-top: 14px; color: var(--muted); font-size: 18px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line-soft); }
.foot-in { display: flex; align-items: center; gap: 20px; padding-top: 24px; padding-bottom: 24px; font-size: 13.5px; color: var(--muted); }
.foot-in img { height: 17px; width: auto; }
.foot-in p { flex: 1; }
.foot-in a { color: var(--text); text-decoration: none; }
.foot-in a:hover { color: var(--heading); }

/* ---------- Load sequence ---------- */
.js [data-in] { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js h1[data-in] { opacity: 1; transform: none; }
.js h1[data-in] .line { opacity: 0; transform: translateY(.3em); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.js .is-in[data-in], .js h1.is-in .line { opacity: 1; transform: none; }
.js h1.is-in .line:nth-child(2) { transition-delay: .07s; }
.js .lede.is-in { transition-delay: .14s; }
.js .join.is-in { transition-delay: .2s; }
.js .product { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease) .3s, transform 1.2s var(--ease) .3s; }
.js .product.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .win { grid-template-columns: 1fr; }
  .side { display: none; }
  .panes { min-height: 0; }
  .pane { position: relative; inset: auto; }
  .pane[hidden] { display: none; }
  .tr, .disc, .dash-grid { grid-template-columns: 1fr; }
  .mcp { grid-template-columns: 1fr; justify-items: center; }
  .ac { width: 100%; height: 380px; }
  .zo { height: 470px; }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-in { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .mm { display: none; }
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 14px; padding: 0 var(--gutter); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .product { padding: 0 12px; }
  .pane { padding: 20px 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .db-r { grid-template-columns: minmax(0, 1.6fr) .9fr 1fr; }
  .db-r > :nth-child(2), .db-r > :nth-child(3) { display: none; }
  .split { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fgrid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .join-row { height: auto; flex-wrap: wrap; padding: 6px; }
  .join input[type="email"] { height: 46px; padding-left: 10px; }
  .enter { display: none; }
  .join .btn-primary { width: 100%; height: 46px; }
  .market legend { float: none; width: 100%; text-align: center; }
  .foot-in { flex-wrap: wrap; }
  .foot-in p { order: 3; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------- Privacy + 404 ---------- */
.doc { max-width: 760px; padding-top: 72px; padding-bottom: 120px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 700; letter-spacing: -.035em; color: var(--heading); line-height: 1.05; }
.doc-date { margin-top: 10px; color: var(--muted); font-size: 15px; }
.doc h2 { margin-top: 40px; font-size: 20px; font-weight: 600; color: var(--heading); letter-spacing: -.01em; }
.doc p { margin-top: 10px; max-width: 64ch; }
.lost { min-height: 100vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 40px var(--gutter); max-width: 720px; margin: 0 auto; }
.lost img { width: 48px; height: auto; margin-bottom: 18px; }
.lost h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; color: var(--heading); }
.lost p { color: var(--muted); margin-bottom: 12px; }

.stats > div[data-tip]:nth-child(n+3)::after { left: auto; right: 0; }
@media (max-width: 640px) {
  .stats > div[data-tip]::after { width: 200px; }
  .stats > div[data-tip]:nth-child(odd)::after { left: 0; right: auto; }
  .stats > div[data-tip]:nth-child(even)::after { left: auto; right: 0; }
  .hub { transform: scale(.86); margin: -16px 0; }
}

.m-ai .tx .num { white-space: nowrap; }
