@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/geist-latin-9b6f5ff4.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/geist-latin-ext-58a6b173.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Doto'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/doto-latin-1c7d9f9c.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --page: #EEF1F5; --raised: #F6F7F9; --card: #FFFFFF; --control: #E4E8EE; --pressed: #D9DEE6;
  --ink: #0B0D11; --ink-2: #0B0D11B3; --ink-3: #0B0D119E; --ink-4: #0B0D1142;
  --line: #0B0D111A; --line-2: #0B0D1129; --line-strong: #0B0D1178;
  --dot: #0B0D1124;
  --cherry: #E2245C; --cherry-300: #F25A86; --cherry-700: #C8154A; --cherry-ink: #C8154A; --cherry-tint: #E2245C1A;
  --glass-top: #FFFFFFD1; --glass-bottom: #FFFFFF94;
  --signal: #12774F; --ember: #9A5B00; --flare: #C42B2B; --focus: #E2245C;
  --shadow-glass: inset 0 1px 0 #FFFFFFE6, inset 0 0 0 1px #0B0D1114, 0 14px 34px -12px #0B0D1138;
  --shadow-card: 0 0 0 1px #0B0D110F, 0 8px 24px -14px #0B0D1133;
  --sans: 'Geist', -apple-system, 'SF Pro Text', system-ui, 'Segoe UI', sans-serif;
  --dots: 'Doto', 'Geist', ui-monospace, monospace;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #07080B; --raised: #0B0D11; --card: #101319; --control: #161A22; --pressed: #1E232D;
    --ink: #F2F4F8; --ink-2: #F2F4F8AD; --ink-3: #F2F4F88F; --ink-4: #F2F4F842;
    --line: #FFFFFF12; --line-2: #FFFFFF1F; --line-strong: #FFFFFF66;
    --dot: #FFFFFF1C;
    --cherry-ink: #FF7A9C; --cherry-tint: #E2245C2E;
    --glass-top: #FFFFFF16; --glass-bottom: #FFFFFF09;
    --signal: #43D29A; --ember: #FFB648; --flare: #FF6B6B; --focus: #F25A86;
    --shadow-glass: inset 0 1px 0 #FFFFFF33, inset 0 0 0 1px #FFFFFF14, 0 12px 32px -8px #0000008C;
    --shadow-card: inset 0 1px 0 #FFFFFF0D, inset 0 0 0 1px #FFFFFF12;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 26px; letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
a { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

/* the dot field: the brand's ground, fading out down the page */
.field { position: fixed; inset: 0 0 auto 0; height: 520px; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle at center, var(--dot) 1.1px, transparent 1.6px); background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #0008 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #0008 45%, transparent 100%); }

.top { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 14px; padding: 22px 24px 0; max-width: 1080px; width: 100%; margin: 0 auto; }
.name { font-weight: 620; letter-spacing: -0.05em; font-size: 23px; line-height: 1; text-decoration: none; color: var(--ink); }
.crumb { font-size: 14.5px; color: var(--ink-3); text-decoration: none; }
.crumb::before { content: '/'; margin-right: 14px; color: var(--ink-4); }
.crumb:hover { color: var(--ink); }

main { position: relative; z-index: 1; flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 56px 24px 64px; }
main.wide { max-width: 760px; }

h1 { font-size: 44px; line-height: 48px; font-weight: 600; letter-spacing: -0.04em; margin: 0 0 14px; text-wrap: balance; }
h2 { font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.03em; margin: 48px 0 12px; text-wrap: balance; }
h3 { font-size: 20px; line-height: 27px; font-weight: 600; letter-spacing: -0.02em; margin: 28px 0 8px; }
p { margin: 0 0 14px; }
.lede { font-size: 19px; line-height: 29px; color: var(--ink-2); margin: 0 0 8px; text-wrap: pretty; }
.small, .fine { font-size: 14.5px; line-height: 22px; color: var(--ink-3); }
.fine { margin: 14px 0 0; }
.kind { display: inline-block; font-size: 13px; line-height: 18px; color: var(--ink-3); margin-bottom: 14px; }
.num { font-family: var(--dots); font-weight: 800; letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* glass and cards */
.card { background: var(--card); border-radius: 18px; box-shadow: var(--shadow-card); padding: 22px; }
.glass { background: linear-gradient(180deg, var(--glass-top), var(--glass-bottom)); -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%); box-shadow: var(--shadow-glass); }

/* buttons and fields */
.btn { -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 600 16px/1 var(--sans); letter-spacing: -0.01em; min-height: 50px; padding: 0 22px; border-radius: 999px; text-decoration: none;
  color: #fff; background: linear-gradient(180deg, var(--cherry-300) 0%, var(--cherry) 50%, var(--cherry-700) 100%);
  box-shadow: inset 0 0 0 1px #FFFFFF38, inset 0 1px 1px #FFFFFF8C, inset 0 -3px 8px #00000030, 0 8px 18px -10px var(--cherry); transition: transform 120ms ease, filter 120ms ease; }
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn.busy { opacity: 0.7; }
.btn.quiet { color: var(--ink); background: var(--control); box-shadow: inset 0 0 0 1px var(--line); min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.linkbtn { -webkit-appearance: none; appearance: none; background: none; border: 0; padding: 0; font: inherit; font-size: 14.5px; color: var(--ink-3); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { color: var(--ink); }
input[type=url], input[type=email], input[type=text], input[type=password], textarea, select {
  -webkit-appearance: none; appearance: none; width: 100%; font: 400 17px/24px var(--sans); color: var(--ink); background: var(--card); border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 14px; }
input::placeholder, textarea::placeholder { color: var(--ink-4); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--cherry-tint); }
select { width: auto; padding: 8px 12px; font-size: 14.5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* the library */
.hero { margin-bottom: 36px; }
.hero h1 { font-size: 56px; line-height: 58px; letter-spacing: -0.045em; max-width: 12ch; }
.files { display: grid; border-bottom: 1px solid var(--line-2); }
.filecard { display: grid; gap: 6px; text-decoration: none; color: var(--ink); padding: 24px 0 22px; border-top: 1px solid var(--line-2); }
.filecard:hover .ft { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.filecard:hover .go { color: var(--ink); }
.go { font-size: 14.5px; font-weight: 550; color: var(--ink-2); margin-top: 6px; }
.fk { font-size: 13px; color: var(--ink-3); display: flex; gap: 10px; align-items: center; }
.ft { font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -0.025em; }
.fl { color: var(--ink-2); font-size: 16px; line-height: 24px; }
.open-dot { color: var(--signal); }
.open-dot::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }

/* the gate */
.gate-head { margin-bottom: 28px; }
.inside-wrap { margin-top: 32px; }
.inside { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 7px; }
.inside li { position: relative; padding-left: 22px; font-size: 16px; line-height: 23px; color: var(--ink-2); }
.inside li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
#gate { padding: 26px 24px 24px; }
.steplabel { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.q { display: block; font-size: 20px; line-height: 27px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; }
.q.small { font-size: 15px; line-height: 21px; margin: 18px 0 8px; }
.hint { font-size: 15px; line-height: 22px; color: var(--ink-2); margin: 0 0 14px; }
.step .btn { width: 100%; margin-top: 14px; }
.step > .hint:last-child { margin: 16px 0 0; text-align: center; font-size: 14.5px; }
.msg { font-size: 14.5px; line-height: 21px; color: var(--flare); margin: 10px 0 0; min-height: 0; }
.msg:empty { display: none; }
.ok { font-size: 14.5px; color: var(--signal); margin: 0 0 6px; font-weight: 550; }
.ok::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 8px; vertical-align: 1px; }
.known { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.known .q { margin: 0; font-weight: 500; font-size: 17px; }
.tick { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14.5px; line-height: 21px; color: var(--ink-2); cursor: pointer; }
.tick input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }

/* who are you */
.who { margin: 0 0 40px; padding: 18px; border-radius: 14px; border: 1px solid var(--line-2); }
.who.done { display: none; }
.who-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { -webkit-appearance: none; appearance: none; font: 500 15px/20px var(--sans); color: var(--ink); background: var(--control); border: 0; box-shadow: inset 0 0 0 1px var(--line); padding: 9px 14px; border-radius: 999px; cursor: pointer; transition: background 120ms ease; }
.chip:hover { background: var(--pressed); }
.chip.on { background: var(--ink); color: var(--page); box-shadow: none; }
.branch { margin-top: 6px; }
.branch .hint { margin-top: 16px; }
.branch .btn { margin-top: 18px; }
.result { margin-top: 12px; }
.result p { color: var(--ink-2); }
.result .btn { margin-top: 4px; }

/* the document */
.file-head { margin-bottom: 32px; }
.doc { font-size: 17px; line-height: 27px; }
.doc .intro { font-size: 18px; line-height: 28px; color: var(--ink-2); }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.part { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.part-head { display: grid; grid-template-columns: 36px 1fr; gap: 0 8px; align-items: baseline; }
.part-head .pn { font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.part-head h2 { margin: 0; font-size: 26px; line-height: 32px; }
.why { color: var(--ink-2); margin: 12px 0 0 44px; }
.why b { color: var(--ink); font-weight: 600; }
.body { margin-left: 44px; }
.ex { margin: 18px 0 0 44px; background: var(--card); border-radius: 14px; border: 1px solid var(--line-2); padding: 18px 18px 6px; }
.lab { font-size: 13px; line-height: 18px; color: var(--ink-3); margin-bottom: 8px; }
.ex p, .ex li { font-size: 16px; line-height: 25px; }
.ex ul, .doc ul.plain { padding-left: 18px; margin: 0 0 12px; }
.ex li + li { margin-top: 4px; }
.shots { display: grid; gap: 10px; margin: 0 0 14px; }
.shot { display: grid; grid-template-columns: 74px 1fr; gap: 12px; font-size: 15.5px; line-height: 23px; }
.shot .t { font-family: var(--mono); font-size: 13px; color: var(--ink-3); padding-top: 1px; }
.shot .say { color: var(--ink-2); }
.quotes { list-style: none; padding: 0 !important; margin: 0 0 12px; display: grid; gap: 6px; }
.quotes li { color: var(--ink-2); }
.hooks { display: grid; gap: 10px; margin-bottom: 12px; }
.hook { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.hook .l { font-weight: 650; }
.never li { list-style: none; position: relative; padding-left: 4px; }
.never { padding-left: 18px !important; }
.never li::before { content: ''; position: absolute; left: -14px; top: 11px; width: 8px; height: 1.6px; background: var(--flare); }
.fill { margin: 14px 0 0 44px; font-size: 15px; line-height: 22px; color: var(--ink-3); }
.fill code, .blank { font-family: var(--mono); }
.blankwrap { margin-top: 64px; }
.blank { white-space: pre-wrap; font-size: 13.5px; line-height: 21px; background: var(--raised); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 18px; color: var(--ink); margin: 14px 0 0; overflow-x: auto; }
.note { margin: 40px 0 0; padding: 18px 20px; border-radius: 14px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); font-size: 15.5px; line-height: 24px; color: var(--ink-2); }
.note b { color: var(--ink); }

/* checklist */
.checks { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid var(--line-2); }
.checks li { border-bottom: 1px solid var(--line-2); }
.checks label { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 16px 0 15px; cursor: pointer; }
.checks input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ink); }
.checks .c { font-weight: 600; letter-spacing: -0.01em; line-height: 24px; }
.checks .d { display: block; font-size: 15px; line-height: 23px; color: var(--ink-2); margin-top: 4px; }
.checks .d em { font-style: normal; color: var(--ink); }
.checks .src { display: block; font-size: 13.5px; line-height: 20px; color: var(--ink-3); margin-top: 6px; }
.tally { display: flex; gap: 16px; align-items: baseline; margin: 2px 0 0; }
.checks input:checked ~ span .c { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-4); }
.progress { font-size: 14.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sec { margin-top: 52px; }
.sec h2 { margin-top: 0; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.steps-list li::before { content: counter(s); font-family: var(--dots); font-weight: 800; font-size: 20px; line-height: 26px; color: var(--ink); }
.sources { font-size: 14px; line-height: 22px; color: var(--ink-3); padding-left: 18px; }
.sources a { color: var(--ink-2); word-break: break-word; }

.teambar { font-size: 14.5px; color: var(--ink-2); padding: 10px 14px; border-radius: 12px; border: 1px dashed var(--line-strong); margin: 0 0 28px; }
.after { margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 15px; }

/* prose pages */
.prose h1 { font-size: 40px; line-height: 44px; }
.prose h2 { font-size: 20px; line-height: 27px; margin: 32px 0 8px; }
.prose p { color: var(--ink-2); }
.narrow { max-width: 400px; margin: 0 auto; }
.stack { display: grid; gap: 12px; }
.inline { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
form.inline input { width: auto; flex: 1; min-width: 220px; }

/* team page */
.adm { max-width: 100%; }
.adm-head { display: flex; justify-content: space-between; align-items: baseline; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 18px 0 28px; }
.stats div { background: var(--card); border-radius: 14px; box-shadow: var(--shadow-card); padding: 14px; display: grid; gap: 2px; font-size: 13px; color: var(--ink-3); }
.stats .num { font-size: 34px; line-height: 40px; color: var(--ink); }
.adm-file { margin: 0 0 12px; display: grid; gap: 10px; }
.adm-posts { margin: 0; padding-left: 18px; font-size: 14.5px; }
.adm-posts li { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.warn-t { color: var(--ember); font-weight: 400; }
.tablewrap { overflow-x: auto; background: var(--card); border-radius: 14px; box-shadow: var(--shadow-card); }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; line-height: 19px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--ink-3); font-weight: 500; }
.yes { color: var(--signal); }

.foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; max-width: 1080px; width: 100%; margin: 0 auto; padding: 22px 24px 34px; font-size: 13px; line-height: 19px; color: var(--ink-3); border-top: 1px solid var(--line); }
.foot .links { display: flex; gap: 18px; }
.foot a { color: var(--ink-3); }

@media (max-width: 640px) {
  main { padding: 36px 16px 48px; }
  .top { padding: 18px 16px 0; }
  .foot { padding: 20px 16px 28px; }
  h1, .prose h1 { font-size: 34px; line-height: 38px; }
  .hero h1 { font-size: 40px; line-height: 42px; }
  h2 { font-size: 24px; line-height: 30px; }
  .part-head { grid-template-columns: 38px 1fr; }
  .part-head h2 { font-size: 22px; line-height: 28px; }
  .why, .body, .ex, .fill { margin-left: 0; }
  .part-head { grid-template-columns: 30px 1fr; }
  #gate, .card { padding: 20px 18px; }
  .shot { grid-template-columns: 62px 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .field, .top, .foot, .who, .tools, .after, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  main { padding: 0; max-width: none; }
  .ex, .checks li, .blank, .note { box-shadow: none; border: 1px solid #ccc; }
  .part { break-inside: avoid-page; }
}
