:root { color-scheme: dark light; --bg: #0b0e0d; --bg2: #101513; --panel: #151b18; --ink: #f2f5f0; --muted: #aab5ae; --accent: #d7f875; --accent-hover: #e4fb9c; --on-accent: #0b0e0d; --line: rgba(242,245,240,.16); --field: #151b18; --field-line: rgba(242,245,240,.55); --bar: rgba(242,245,240,.2); --bar-strong: rgba(242,245,240,.38); --warn: #ffb4a3; --focus: #d7f875; --shadow: 0 18px 40px rgba(0,0,0,.45); --ease: cubic-bezier(.2,.8,.2,1); }
@media (prefers-color-scheme: light) { :root { --bg: #f4f6f1; --bg2: #eaede5; --panel: #ffffff; --ink: #121614; --muted: #4a544e; --accent: #4a7612; --accent-hover: #3d6310; --on-accent: #ffffff; --line: rgba(18,22,20,.2); --field: #ffffff; --field-line: rgba(18,22,20,.55); --bar: rgba(18,22,20,.16); --bar-strong: rgba(18,22,20,.34); --warn: #9a2a14; --focus: #1f3d00; --shadow: 0 18px 40px rgba(18,22,20,.14); } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); scroll-behavior: smooth; scrollbar-color: var(--bar-strong) var(--bg); }
body { margin: 0; min-height: 100vh; min-height: 100svh; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 18px; line-height: 1.55; }
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible, input:focus-visible, button:focus-visible, .wl-status:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
p, h1, h2, h3, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
.skip { position: absolute; top: -100px; left: 16px; z-index: 5; padding: 12px 18px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; }
.skip:focus { top: 12px; }
.dot { color: var(--accent); }
.pip { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Top bar */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; max-width: 1440px; margin: 0 auto; padding: 24px clamp(24px, 6vw, 96px) 0; }
.mark { font-size: 30px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.tag-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* Hero */
.hero { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; max-width: 1440px; margin: 0 auto; padding: clamp(16px, 3vw, 40px) clamp(24px, 6vw, 96px) clamp(48px, 5.5vw, 80px); }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } }
h1 { font-size: clamp(46px, 6.4vw, 92px); font-weight: 800; line-height: .98; letter-spacing: -.03em; text-wrap: balance; }
.lede { max-width: 30em; margin-top: clamp(20px, 2.6vw, 32px); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--muted); }

/* Waitlist form */
.wl { max-width: 560px; margin-top: clamp(28px, 3.4vw, 40px); }
.wl-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lbl { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--muted); }
.row { display: flex; gap: 12px; }
.wl input[type=email] { flex: 1 1 auto; min-width: 0; height: 56px; padding: 0 18px; font: inherit; font-size: 18px; color: var(--ink); background: var(--field); border: 1.5px solid var(--field-line); border-radius: 12px; caret-color: var(--accent); transition: border-color .2s var(--ease); }
.wl input[type=email]::placeholder { color: var(--muted); opacity: 1; }
.wl input[type=email]:hover { border-color: var(--ink); }
.wl input[aria-invalid=true] { border-color: var(--warn); }
.wl button { flex: none; height: 56px; padding: 0 26px; font: inherit; font-size: 18px; font-weight: 700; color: var(--on-accent); background: var(--accent); border: 0; border-radius: 12px; cursor: pointer; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.wl button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.wl button:disabled { cursor: progress; opacity: .7; transform: none; }
.wl-note { margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.wl-status { display: flex; align-items: flex-start; gap: 10px; min-height: 1.6em; margin-top: 14px; font-size: 16px; line-height: 1.45; }
.wl-status:empty { min-height: 0; margin-top: 0; }
.wl-status::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--warn); }
.wl-status:empty::before { display: none; }
.wl[data-state=success] .wl-status::before, .wl[data-state=sending] .wl-status::before { background: var(--accent); }
.wl[data-state=success] .wl-fields, .wl[data-state=success] .wl-note { display: none; }
.wl[data-state=success] .wl-status { margin-top: 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.wl[data-state=success] .wl-status::before { margin-top: .5em; }
.wl-nojs { max-width: 560px; margin-top: 28px; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bot-slot:empty { display: none; }
@media (max-width: 520px) { .row { flex-direction: column; } .wl button { width: 100%; } }

/* Compounding notebook illustration (CSS and SVG, a concept, not a screenshot) */
.grow-fig { display: grid; gap: 16px; }
.grow-fig figcaption, .fig figcaption { font-size: 14px; line-height: 1.45; color: var(--muted); }
.grow svg { display: block; width: 100%; height: auto; overflow: visible; }
.grow .l { fill: none; stroke: var(--accent); stroke-width: 1.6; opacity: .7; stroke-dasharray: 1; stroke-dashoffset: 0; }
.grow .card { fill: var(--bg); stroke: var(--field-line); stroke-width: 1.2; }
.grow .t1 { fill: var(--ink); font-size: 15px; font-weight: 700; }
.grow .t2 { fill: var(--muted); font-size: 11px; }
.grow .node { fill: var(--accent); }
.grow .node.first { stroke: var(--bg); stroke-width: 2; }
.grow .n { transform-box: fill-box; }
.grow .n, .grow .l { animation-duration: .9s; animation-timing-function: var(--ease); animation-fill-mode: both; }
.grow .n { animation-name: note-in; }
.grow .l { animation-name: link-draw; }
.n1 { animation-delay: .3s; } .n2 { animation-delay: .95s; } .n3 { animation-delay: 1.6s; } .n4 { animation-delay: 2.25s; }
.n5 { animation-delay: 2.9s; } .n6 { animation-delay: 3.55s; } .n7 { animation-delay: 4.2s; } .n8 { animation-delay: 4.85s; }
.l2a { animation-delay: 1.25s; }
.l3a, .l3b { animation-delay: 1.9s; }
.l4a, .l4b { animation-delay: 2.55s; }
.l5a, .l5b { animation-delay: 3.2s; }
.l6a, .l6b { animation-delay: 3.85s; }
.l7a, .l7b, .l7c { animation-delay: 4.5s; }
.l8a, .l8b, .l8c { animation-delay: 5.15s; }

/* Sections */
.band { padding: clamp(72px, 11vw, 144px) clamp(24px, 6vw, 96px); border-top: 1px solid var(--line); }
.band.alt { background: var(--bg2); }
.split { display: grid; gap: clamp(32px, 6vw, 96px); align-items: start; max-width: 1240px; margin: 0 auto; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } .split.flip .copy { order: 2; } .split.narrow, .split.list { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } }
h2 { font-size: clamp(34px, 5.2vw, 68px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.copy p { max-width: 30em; margin-top: clamp(20px, 2.4vw, 30px); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--muted); }
.split.narrow .copy p:first-child { margin-top: 0; }
.copy p + p { margin-top: 16px; }
.copy p.turn { color: var(--ink); font-weight: 600; }
.copy p.stat { margin-top: 18px; }
.copy p.stat + p { margin-top: 14px; }

/* Value list */
.values { border-top: 1px solid var(--line); }
.values li { padding: clamp(18px, 2.2vw, 26px) 0; border-bottom: 1px solid var(--line); }
.vh { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.values h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.values p { max-width: 34em; margin-top: 10px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.5; color: var(--muted); }

/* Question and answer illustration */
.fig { display: grid; gap: 16px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.bar { display: block; height: 10px; border-radius: 5px; background: var(--bar); }
.w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; } .w50 { width: 50%; } .w40 { width: 40%; }
.qa { display: grid; gap: 16px; }
.card-q { padding: 20px 22px 22px; }
.tag { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.qtext { font-size: 18px; line-height: 1.4; }
.answer .qtext { color: var(--ink); }
.src { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.srclabel { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.chip { padding: 4px 12px; font-size: 14px; border: 1px solid var(--accent); border-radius: 999px; color: var(--ink); }
.answer { border-color: var(--accent); }
.answer .tag { color: var(--accent); }

/* Closing call */
.close-in { max-width: 1240px; margin: 0 auto; }
.close-p { max-width: 28em; margin-top: clamp(18px, 2.4vw, 28px); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--muted); }

/* Footer */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 28px clamp(24px, 6vw, 96px); border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.foot .mark { font-size: 24px; color: var(--ink); }
.foot .meta { display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 4px; color: var(--ink); }

/* Document pages */
body.doc { display: grid; grid-template-rows: 1fr auto; }
.prose { position: relative; max-width: 640px; width: 100%; margin: 0 auto; padding: 12vh 24px 8vh; text-align: left; align-self: start; }
.prose h1 { font-size: clamp(44px, 8vw, 80px); margin: 40px 0 28px; }
.prose p + p { margin-top: 18px; }
.prose p { color: var(--muted); }
.back { display: inline-block; line-height: 44px; min-height: 44px; font-size: 28px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }

@keyframes note-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes link-draw { from { stroke-dashoffset: 1; opacity: 0; } to { stroke-dashoffset: 0; opacity: .7; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grow .n, .grow .l { animation: none; }
  .wl input[type=email], .wl button { transition: none; }
  .wl button:hover { transform: none; }
}
.wl-note a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--ink); }

/* Header navigation, scroll cue, anchor targets */
.status { margin-left: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; order: 3; flex-basis: 100%; margin-left: -10px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 15px; color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
@media (min-width: 760px) { .nav { order: 0; flex-basis: auto; margin-left: 32px; } }
.nav a:focus-visible, .cue a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h2[id], h1[id] { scroll-margin-top: 32px; }
.cue { margin-top: 8px; }
.cue a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--ink); text-underline-offset: 5px; }
.cue svg { flex: none; }
.band.first { padding-top: clamp(40px, 5vw, 64px); }
.grow .mobile-label { display: none; }
@media (max-width: 519px) {
  .status { order: 2; flex-basis: 100%; margin-left: 0; margin-top: 10px; font-size: 13px; letter-spacing: 0; }
}
@media (max-width: 959px) {
  .grow-fig { width: 100%; max-width: none; min-width: 0; gap: 10px; }
  .hero { gap: 20px; }
  .grow .card { height: 52px; }
  .grow .t1 { font-size: 21px; transform: translateY(4px); }
  .grow .node { transform: translateY(4px); }
  .grow .desktop-label { display: none; }
  .grow .mobile-label { display: inline; }
}
