@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-latin.woff") format("woff");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #15161C;
  --ink-2: #4E4C5E;
  --ink-3: #75738A;
  --mist: #F6F5FB;
  --paper: #FFFFFF;
  --violet: #6A4FF5;
  --violet-arc: #7B61FF;
  --violet-deep: #4F35D9;
  --lilac: #E4DFFF;
  --lilac-mid: #A897FF;
  --line: #E2DFEE;
  --base: #C9C6D8;
  --good: #1D8A5B;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--violet-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--violet-arc); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius-s); z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-head { padding: 22px 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 36px; width: auto; }
.head-cta { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); padding: 9px 16px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--ink); white-space: nowrap; }
.head-cta:hover { background: var(--ink); color: #fff; }

/* Type */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(38px, 5.4vw, 70px); line-height: 1.02; letter-spacing: -0.035em; }
h1 span { display: block; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; max-width: 20ch; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -0.015em; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 46ch; }
.small { font-size: 14px; color: var(--ink-3); }

/* Hero */
.hero { padding: clamp(24px, 5vw, 64px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(32px, 5vw, 72px); row-gap: clamp(28px, 4vw, 48px); align-items: center; }
.hero h1 { grid-column: 1 / -1; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }

/* Waitlist form */
.join { display: flex; flex-direction: column; gap: 10px; max-width: 480px; }
.join-row { display: flex; gap: 8px; background: var(--paper); padding: 6px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line), 0 1px 0 rgba(21, 22, 28, 0.04); }
.join-row:focus-within { box-shadow: inset 0 0 0 2px var(--violet-arc); }
.join input[type="email"] { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 10px 12px; color: var(--ink); }
.join input[type="email"]:focus { outline: none; }
.join input::placeholder { color: var(--ink-3); }
.btn { font: inherit; font-size: 16px; font-weight: 600; border: 0; border-radius: 10px; padding: 12px 20px; background: var(--violet); color: #fff; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--violet-deep); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-quiet { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-quiet:hover { background: var(--paper); color: var(--ink); }
.form-note { font-size: 14px; color: var(--ink-3); }
.form-msg { font-size: 15px; min-height: 0; }
.form-msg.error { color: #B4232C; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.details { background: var(--paper); border-radius: var(--radius-l); padding: 24px; box-shadow: inset 0 0 0 1.5px var(--line); display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.details[hidden], .done[hidden], .join[hidden] { display: none; }
.details h3 { font-size: 19px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; }
.field input, .field select { font: inherit; font-size: 16px; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--mist); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--violet-arc); background: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--violet); flex: none; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.done { background: var(--paper); border-radius: var(--radius-l); padding: 24px; box-shadow: inset 0 0 0 1.5px var(--line); max-width: 480px; display: flex; gap: 16px; align-items: flex-start; }
.done svg { flex: none; }
.done strong { display: block; font-size: 18px; margin-bottom: 2px; }
.done p { color: var(--ink-2); font-size: 15px; }

/* Hero chart */
.chart-card { margin: 0; background: var(--paper); border-radius: var(--radius-l); padding: clamp(18px, 2.4vw, 28px); box-shadow: 0 1px 0 rgba(21, 22, 28, 0.04), 0 24px 60px -30px rgba(79, 53, 217, 0.35); }
.chart-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.chart-top h2 { font-size: 16px; letter-spacing: -0.01em; font-weight: 600; max-width: none; }
.chart-top p { font-size: 13px; color: var(--ink-3); }
.legend { display: flex; gap: 14px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 18px; height: 0; border-top: 3px solid var(--violet-arc); border-radius: 2px; }
.legend i.f { border-top: 3px dotted var(--lilac-mid); }
.legend i.ly { border-top: 2px solid var(--base); }
.chart { margin: 14px 0 10px; }
.chart text { font-family: "Sora", system-ui, sans-serif; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius-m); overflow: hidden; }
.stats div { background: var(--mist); padding: 12px 14px; }
.stats dt { font-size: 12px; color: var(--ink-3); }
.stats dd { margin: 2px 0 0; font-size: clamp(17px, 1.8vw, 21px); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stats dd.sde { color: var(--violet); }
.illustrative { margin-top: 10px; font-size: 12px; color: var(--ink-3); }

/* draw-on animation for the hero line */
.actual { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 1.4s cubic-bezier(.4, 0, .2, 1) .2s forwards; }
.fdot { opacity: 0; animation: pop .35s ease-out forwards; }
.today-dot { opacity: 0; animation: pop .3s ease-out 1.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
.fdot, .today-dot { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: reduce) {
  .actual { animation: none; stroke-dashoffset: 0; }
  .fdot, .today-dot { animation: none; opacity: 1; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-white { background: var(--paper); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }

.part { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(32px, 5vw, 56px) 0; border-top: 1.5px solid var(--line); }
.part:first-of-type { border-top: 0; padding-top: 0; }
.part-copy { display: flex; flex-direction: column; gap: 14px; }
.part-copy p { color: var(--ink-2); max-width: 46ch; }
.part-name { font-size: 15px; font-weight: 600; color: var(--violet); }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 16px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 12px; height: 2.5px; background: var(--violet-arc); border-radius: 2px; }

/* Mini visuals */
.panel { background: var(--mist); border-radius: var(--radius-l); padding: clamp(18px, 2.4vw, 26px); }
.section-white .panel { background: var(--mist); }
.panel-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel-title span { color: var(--ink-3); font-weight: 400; }

table.yoy { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.yoy th { text-align: right; font-size: 12px; font-weight: 500; color: var(--ink-3); padding: 0 0 8px; }
.yoy th:first-child, .yoy td:first-child { text-align: left; }
.yoy td { padding: 10px 0; border-top: 1px solid var(--line); text-align: right; }
.yoy td:first-child { color: var(--ink-2); }
.up { color: var(--good); font-weight: 600; }
.down { color: #B4232C; font-weight: 600; }
.split { margin-top: 16px; }
.split-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--line); }
.split-bar b { display: block; background: var(--violet-arc); }
.split-bar b + b { background: var(--lilac-mid); }
.split-key { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); margin-top: 6px; gap: 8px; flex-wrap: wrap; }

.months { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.months li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.months li:first-child { border-top: 0; padding-top: 0; }
.months .m { font-weight: 600; }
.months .what { color: var(--ink-2); }
.months .amt { font-variant-numeric: tabular-nums; font-weight: 600; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--lilac); color: var(--violet-deep); margin-left: 6px; white-space: nowrap; }

.bridge { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.bridge-row { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr) 76px; gap: 12px; align-items: center; }
.bridge-row .lbl { color: var(--ink-2); }
.bridge-row .val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.track { position: relative; height: 22px; }
.track b { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: var(--base); }
.track b.add { background: var(--lilac-mid); }
.track b.sub { background: #F2B8BD; }
.track b.total { background: var(--violet-arc); }
.bridge-row.total { border-top: 1.5px solid var(--line); padding-top: 10px; margin-top: 2px; }
.bridge-row.total .lbl { color: var(--ink); font-weight: 700; }
.bridge-row.total .val { color: var(--violet); }
.multiple { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-m); background: var(--paper); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); }
.multiple strong { color: var(--ink); font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Also coming */
.also { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.also > div { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 3px solid var(--ink); }
.also p { color: var(--ink-2); font-size: 16px; }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.founder blockquote { margin: 0; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.4; letter-spacing: -0.015em; font-weight: 500; }
.founder .sig { margin-top: 18px; color: var(--ink-2); font-size: 16px; }
.founder .sig strong { color: var(--ink); }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-top: 1.5px solid var(--line); }
.faq details:last-child { border-bottom: 1.5px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2.5px solid var(--ink-2); border-bottom: 2.5px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Closing CTA */
.closing { background: var(--ink); color: #fff; border-radius: var(--radius-l); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.closing h2 { color: #fff; }
.closing p { color: #C9C6D8; margin-top: 12px; max-width: 40ch; }
.closing .btn { justify-self: start; }
.closing a.btn { text-decoration: none; display: inline-block; }

/* Footer */
.site-foot { padding: 48px 0 40px; font-size: 14px; color: var(--ink-3); }
.site-foot .wrap { display: flex; flex-direction: column; gap: 18px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-top img { height: 28px; width: auto; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }

/* Legal pages */
.legal { padding: clamp(24px, 4vw, 48px) 0 72px; }
.legal article { background: var(--paper); border-radius: var(--radius-l); padding: clamp(24px, 5vw, 56px); max-width: 820px; box-shadow: inset 0 0 0 1.5px var(--line); }
.legal h1 { font-size: clamp(32px, 4.4vw, 46px); max-width: none; margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; max-width: none; letter-spacing: -0.015em; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.legal th { color: var(--ink); font-weight: 600; }
.legal .updated { color: var(--ink-3); font-size: 15px; }

/* Responsive */
@media (max-width: 920px) {
  .hero .wrap, .part, .founder, .closing { grid-template-columns: minmax(0, 1fr); }
  .also { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand img { height: 28px; }
  .head-cta { font-size: 14px; padding: 8px 12px; }
  .join-row { flex-direction: column; padding: 8px; }
  .join .btn { width: 100%; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats div { display: flex; justify-content: space-between; align-items: baseline; }
  .bridge-row { grid-template-columns: minmax(0, 1fr) 70px; }
  .bridge-row .track { grid-column: 1 / -1; grid-row: 2; }
  .months li { grid-template-columns: 44px minmax(0, 1fr); }
  .months .amt { grid-column: 2; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { border-top: 0; padding: 2px 0; }
  .legal tr { border-top: 1px solid var(--line); padding: 10px 0; }
}
