/* Cufo site: home, legal pages, 404. The Almanac, Orchard palette; dark by prefers-color-scheme or data-theme. */
/* Fonts are served from this site (latin subset; SIL Open Font License, see /assets/fonts/LICENSES.txt). */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/fraunces-latin.7234ed860a.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: 400 600; font-display: swap; src: url("/assets/fonts/geist-latin.19f9c92546.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 Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/geist-mono-latin.72971bd490.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; }
:root {
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r-s: 8px; --r-m: 14px; --r-l: 22px;
  --maxw: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --pm: clamp(0px, calc((100vw - 640px) * 0.05), 24px);
  --plate-r: clamp(0px, calc((100vw - 640px) * 0.04), 20px);
  --head-h: 68px;

  --bg: #F8F5EF; --bg-2: #F0EBE2; --surface: #FFFFFF; --surface-2: #FCFAF6;
  --ink: #1B2030; --ink-2: #4B5162; --ink-3: #6B7080; --rule: #1B203021; --rule-2: #1B203042;
  --accent: #D4532B; --accent-ink: #AE4220; --accent-wash: #FBE3D8; --on-accent: #FFFFFF;
  --see: #DDE9F6; --see-ink: #2C5C8D; --think: #E9E1F5; --think-ink: #5E43A0;
  --try: #FBE3D1; --try-ink: #A04E1C; --act: #DAEDDF; --act-ink: #2C6E4C;
  --good: #2C8653; --bad: #C2413A; --bad-ink: #A8352F; --bad-wash: #F8DEDB; --warn: #855806; --warn-wash: #F7EACB;
  --band: #1B2030; --on-band: #F8F5EF; --on-band-2: #C3C1BB; --band-rule: #F8F5EF33;
  --wl-bg: #F2E7D6; --stack-1: #F3EEE6; --stack-2: #EAE3D8;
  --shadow: #1B20302B;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #13151B; --bg-2: #1A1D25; --surface: #1D2029; --surface-2: #181B22;
    --ink: #EEEAE2; --ink-2: #BAB7B0; --ink-3: #9A9CA3; --rule: #EEEAE221; --rule-2: #EEEAE240;
    --accent: #F0875E; --accent-ink: #F59D79; --accent-wash: #3B241A; --on-accent: #1A0F0A;
    --see: #1D2B3B; --see-ink: #9DC3EC; --think: #272140; --think-ink: #C6B2F0;
    --try: #38281C; --try-ink: #F3B48A; --act: #1B3226; --act-ink: #93D2A9;
    --good: #6FCB93; --bad: #F2857C; --bad-ink: #F2857C; --bad-wash: #3D1F1D; --warn: #E5B256; --warn-wash: #3A2E16;
    --band: #232733; --on-band: #EEEAE2; --on-band-2: #B5B2AB; --band-rule: #EEEAE233;
    --wl-bg: #1D2029; --stack-1: #191C24; --stack-2: #16181F;
    --shadow: #00000066;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #13151B; --bg-2: #1A1D25; --surface: #1D2029; --surface-2: #181B22;
  --ink: #EEEAE2; --ink-2: #BAB7B0; --ink-3: #9A9CA3; --rule: #EEEAE221; --rule-2: #EEEAE240;
  --accent: #F0875E; --accent-ink: #F59D79; --accent-wash: #3B241A; --on-accent: #1A0F0A;
  --see: #1D2B3B; --see-ink: #9DC3EC; --think: #272140; --think-ink: #C6B2F0;
  --try: #38281C; --try-ink: #F3B48A; --act: #1B3226; --act-ink: #93D2A9;
  --good: #6FCB93; --bad: #F2857C; --bad-ink: #F2857C; --bad-wash: #3D1F1D; --warn: #E5B256; --warn-wash: #3A2E16;
  --band: #232733; --on-band: #EEEAE2; --on-band-2: #B5B2AB; --band-rule: #EEEAE233;
  --wl-bg: #1D2029; --stack-1: #191C24; --stack-2: #16181F;
  --shadow: #00000066;
  color-scheme: dark;
}

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
p, figure, dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; }
b, strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
::selection { background: var(--accent-wash); color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; }
.skip:focus { top: 12px; }
.sq { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 1.5px; background: currentColor; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--rule-2); font: 600 15.5px/1 var(--sans); color: var(--ink); white-space: nowrap; transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .15s var(--ease); }
.btn:hover { border-color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-ghost { border-color: transparent; color: var(--ink-2); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }
.tlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--rule-2); transition: text-decoration-color .18s var(--ease); }
.tlink:hover { text-decoration-color: currentColor; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.site-head.scrolled { border-bottom-color: var(--rule); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.site-head .wrap > .btn { margin-left: auto; }
.site-head .nav ~ .btn { margin-left: 8px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); --logo-accent: var(--accent); }
.wordmark svg { display: block; height: 25px; width: auto; }
.nav { margin-left: auto; display: flex; gap: 2px; }
.nav a { display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .18s var(--ease), background-color .18s var(--ease); }
.nav a:hover { color: var(--ink); background: var(--bg-2); }
.nav a[aria-current="page"], .nav a.is-on { color: var(--ink); }

/* hero: a light plate in both themes */
.hero {
  --hh: clamp(560px, min(100svh - var(--head-h) - 28px, 52vw), 720px);
  --h-bg: #F1DCC1;
  --bg: #F8F5EF; --ink: #1B2030; --ink-2: #4B5162; --rule-2: #1B203047;
  --accent: #D4532B; --on-accent: #FFFFFF;
  padding: 0 var(--pm);
}
.hero[data-hero="profile"] { --h-bg: #F9DCB3; }
.hero[data-hero="fitting"] { --h-bg: #CCB49B; --ink-2: #2F2D33; --rule-2: #1B203066; }
.plate { position: relative; isolation: isolate; overflow: hidden; height: var(--hh); background: var(--h-bg); color: var(--ink); border-radius: var(--plate-r); transition: background-color .9s ease-in-out; }
.hero-in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; padding-left: max(var(--gut) - var(--pm), (100% - var(--maxw)) / 2); pointer-events: none; }
.hero-in > * { pointer-events: auto; }
.hero .kicker, .hero-lede, .hero-status { transition: color .9s ease-in-out; }
.hero-copy, .hero-status { width: min(600px, 100% - var(--hh) * 0.96 - 32px); }
.hero-copy { margin-block: auto; padding-top: 20px; }
.kicker { display: flex; align-items: center; gap: 10px; font: 500 13.5px/1.3 var(--mono); color: var(--ink-2); }
.hero h1 { margin-top: 22px; font-family: var(--serif); font-optical-sizing: auto; font-weight: 500; font-size: clamp(42px, 4.1vw, 62px); line-height: 1.02; letter-spacing: -0.026em; text-wrap: balance; }
.stop { color: var(--accent); }
.hero-lede { margin-top: 24px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 33em; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 34px; }
.hero-status { display: flex; align-items: baseline; gap: 10px; padding: 0 0 30px; font: 500 13px/1.5 var(--mono); color: var(--ink-2); }
.hero-status .sq { color: #2C6E4C; transform: translateY(-1px); }
.hero-art { position: absolute; inset: 0; z-index: 0; }
.pic { display: none; }
.hero[data-hero="shortlist"] .pic-shortlist, .hero[data-hero="profile"] .pic-profile, .hero[data-hero="fitting"] .pic-fitting { display: block; }
/* rotation (home.js): every slide is laid out; the current one fades in over the one it replaces */
.hero.is-live .pic { display: block; }
.hero.is-live .pic img { opacity: 0; z-index: 0; transition: opacity .9s ease-in-out; }
.hero.is-live .pic.is-prev img { opacity: 1; z-index: 1; transition: none; }
.hero.is-live .pic.is-on img { opacity: 1; z-index: 2; }
.hero-ctl { position: absolute; z-index: 3; right: clamp(12px, 1.8vw, 24px); bottom: clamp(12px, 1.8vw, 22px); display: flex; align-items: center; padding: 2px 6px 2px 2px; border-radius: 999px; background: #F8F5EFD1; color: #1B2030; }
.hero-ctl button { display: grid; place-items: center; height: 32px; border-radius: 999px; }
.hc-toggle { width: 32px; }
.hc-toggle svg { width: 14px; height: 14px; }
.hc-toggle .i-pause { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.hc-toggle .i-play { display: none; fill: currentColor; }
.hero.is-paused .hc-toggle .i-pause { display: none; }
.hero.is-paused .hc-toggle .i-play { display: inline; }
.hc-toggle:hover { background: #1B203014; }
.hc-dot { width: 24px; }
.hc-dot::before { content: ""; width: 6px; height: 6px; border-radius: 1.5px; background: #1B203066; transition: width .3s var(--ease), background-color .3s var(--ease); }
.hc-dot:hover::before { background: #1B2030B3; }
.hc-dot[aria-current="true"]::before { width: 16px; background: #1B2030; }
.pic img { position: absolute; top: 0; right: calc(var(--hh) * -0.089); height: 100%; width: auto; max-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 13%); mask-image: linear-gradient(90deg, transparent, #000 13%); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy > *, .hero-status { animation: rise .7s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .05s; }
  .hero-copy > :nth-child(3) { animation-delay: .1s; }
  .hero-copy > :nth-child(4) { animation-delay: .15s; }
  .hero-status { animation-delay: .2s; }
  .pic img { animation: settle 1.1s var(--ease) backwards; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.015); } }

/* sections */
.sec { margin-top: clamp(80px, 8.5vw, 128px); }
#how { margin-top: clamp(56px, 5vw, 76px); }
.sec-label { display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid var(--rule-2); font: 500 13px/1.3 var(--mono); color: var(--ink-2); }
.sec-label .n { color: var(--ink-3); }
.wl .sec-label .n { color: var(--ink-2); }   /* the waitlist plate is tinted, so the lighter grey falls short on contrast */
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 30px 56px; align-items: end; margin-bottom: 56px; }
.sec-head .sec-label { grid-column: 1 / -1; }
.sec h2, .wl-title { font-family: var(--serif); font-optical-sizing: auto; font-weight: 500; font-size: clamp(34px, 4.1vw, 58px); line-height: 1.03; letter-spacing: -0.024em; text-wrap: balance; }
.sec-intro { font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.55; color: var(--ink-2); max-width: 32em; text-wrap: pretty; padding-bottom: 6px; }

/* the loop */
.loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.step { --lc: var(--see); --lci: var(--see-ink); display: flex; flex-direction: column; min-height: 340px; padding: 22px 24px 28px; border-radius: var(--r-l); background: var(--lc); }
.step.think { --lc: var(--think); --lci: var(--think-ink); }
.step.try { --lc: var(--try); --lci: var(--try-ink); }
.step.act { --lc: var(--act); --lci: var(--act-ink); }
.step-top { display: flex; justify-content: space-between; align-items: center; font: 500 13px/1.3 var(--mono); color: var(--lci); }
.step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--surface); }
.step-word { margin-top: 40px; font-family: var(--serif); font-optical-sizing: auto; font-size: clamp(46px, 4.6vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.step-word b { font-weight: 500; }
.step-text { margin-top: 48px; font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.loop-back { position: relative; height: 34px; margin: 0 12.5%; border: 1.5px solid var(--ink-3); border-top: 0; border-radius: 0 0 16px 16px; opacity: .7; }
.loop-back::before { content: ""; position: absolute; left: -7.5px; top: -1px; width: 12px; height: 12px; border-left: 1.5px solid var(--ink-3); border-top: 1.5px solid var(--ink-3); transform: rotate(45deg); }

/* the example brief */
.example-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 9px 16px; border: 1px dashed var(--rule-2); border-radius: 999px; font: 500 13px/1.4 var(--mono); color: var(--ink-2); }
.example-tag .sq { color: var(--warn); }
.stack { position: relative; padding-bottom: 22px; }
.stack::before, .stack::after { content: ""; position: absolute; z-index: 0; height: 60px; border: 1px solid var(--rule); border-radius: var(--r-l); }
.stack::before { left: 22px; right: 22px; bottom: 11px; background: var(--stack-1); }
.stack::after { left: 44px; right: 44px; bottom: 0; background: var(--stack-2); }
.card { position: relative; z-index: 1; display: grid; grid-template-columns: 96px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l); box-shadow: 0 30px 60px -40px var(--shadow); }
.card-idx { padding: 32px 0 0 32px; font: 400 48px/1 var(--serif); color: var(--accent); letter-spacing: -0.03em; }
.card-body { min-width: 0; padding: 32px 36px 0 0; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.kind { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--try); color: var(--try-ink); font-size: 13px; font-weight: 600; }
.of { font: 500 13px/1 var(--mono); color: var(--ink-2); }
.card-title { margin-top: 14px; font-family: var(--serif); font-optical-sizing: auto; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.1; letter-spacing: -0.018em; text-wrap: balance; }
.card-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 40px; margin-top: 28px; padding-bottom: 32px; }
.mini { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font: 500 12.5px/1.3 var(--mono); color: var(--ink-2); }
.card-main .mini:not(:first-child) { margin-top: 24px; }
.action { font-size: 18px; line-height: 1.5; text-wrap: pretty; }
.why { font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 5px 0 14px; border: 1px solid var(--rule-2); border-radius: 999px; font-size: 14px; font-weight: 500; }
.chips b { padding: 5px 8px; border-radius: 999px; background: var(--bg-2); font: 600 13px/1 var(--mono); font-variant-numeric: tabular-nums; }
.claims { margin-top: 20px; }
.claims li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.5; }
.kl { align-self: start; justify-self: start; padding: 2px 9px; border: 1px solid var(--ink); border-radius: 999px; font: 500 12px/1.5 var(--mono); color: var(--ink); white-space: nowrap; }
.kl-est { border-color: var(--warn); color: var(--warn); }
.kl-hyp { border-color: var(--accent); color: var(--accent-ink); }
.card-aside { display: grid; align-content: start; gap: 24px; padding-left: 32px; border-left: 1px solid var(--rule); }
.kv .mini { margin-bottom: 8px; }
.big { display: block; font: 500 27px/1.12 var(--serif); letter-spacing: -0.015em; font-variant-numeric: lining-nums tabular-nums; }
.kv-note { display: block; margin-top: 5px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.kv-test { font-size: 15px; line-height: 1.5; }
.conf { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.bars { display: inline-flex; align-items: flex-end; gap: 3px; }
.bars i { width: 6px; border-radius: 1.5px; background: var(--ink); }
.bars i:nth-child(1) { height: 8px; } .bars i:nth-child(2) { height: 12px; } .bars i:nth-child(3) { height: 16px; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 0 22px; border-top: 1px solid var(--rule); }
.card-actions .btn { height: 44px; font-size: 15px; cursor: not-allowed; }
.card-actions .btn:hover { background: inherit; }
.card-actions .btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.card-actions .btn:not(.btn-primary):hover { border-color: var(--rule-2); background: transparent; }
.card-actions .btn-ghost:hover { border-color: transparent; }
.card-actions .btn:active { transform: none; }
.inert-note { margin-left: auto; font: 500 12.5px/1.4 var(--mono); color: var(--ink-2); }

/* sample case study cards: home, case index, end of each case */
.cs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cs-card { position: relative; display: flex; flex-direction: column; padding: 26px 30px 24px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l); transition: border-color .18s var(--ease), box-shadow .25s var(--ease); }
.cs-card:hover { border-color: var(--rule-2); box-shadow: 0 26px 50px -38px var(--shadow); }
.cs-card:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.cs-card a:focus-visible { outline: none; }
.cs-card-top { display: flex; align-items: center; gap: 10px; font: 500 12.5px/1.3 var(--mono); color: var(--ink-2); }
.cs-card-top .sq { color: var(--warn); }
.cs-card-brand { margin-top: 18px; font-family: var(--serif); font-optical-sizing: auto; font-weight: 500; font-size: clamp(26px, 2.3vw, 32px); line-height: 1.1; letter-spacing: -0.018em; }
.cs-card-brand a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cs-card-what { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.cs-card-text { margin: 16px 0 24px; max-width: 34em; font-size: 16.5px; line-height: 1.55; text-wrap: pretty; }
.cs-card-num { display: flex; align-items: baseline; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rule); }
.cs-card-num b { flex: none; font: 500 26px/1.1 var(--serif); letter-spacing: -0.015em; font-variant-numeric: lining-nums tabular-nums; }
.cs-card-num span { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.cs-card-more { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 15px; font-weight: 600; }
.cs-card-more .arr { transition: transform .2s var(--ease); }
.cs-card:hover .arr { transform: translateX(3px); }
.cs-all { margin-top: 18px; }

/* principles and questions: two editorial columns */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 56px; padding-top: 14px; border-top: 1px solid var(--rule-2); }
.split .sec-label { padding-top: 0; border-top: 0; }
.split-head { align-self: start; position: sticky; top: calc(var(--head-h) + 28px); }
.split-head h2 { margin-top: 30px; }
.rules li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 12px; padding: 26px 0 28px; border-top: 1px solid var(--rule); }
.rules li:first-child { border-top: 0; padding-top: 0; }
.rule-n { grid-row: span 2; padding-top: 9px; font: 500 13px/1 var(--mono); color: var(--ink-3); }
.rules h3 { font-family: var(--serif); font-optical-sizing: auto; font-size: clamp(23px, 2.1vw, 29px); line-height: 1.15; letter-spacing: -0.014em; }
.rules p { margin-top: 8px; max-width: 44ch; font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }

.who { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 34px 56px; align-items: end; padding: clamp(36px, 6vw, 84px) clamp(24px, 6vw, 84px); border-radius: var(--r-l); background: var(--band); color: var(--on-band); }
.who .sec-label { grid-column: 1 / -1; border-top-color: var(--band-rule); color: var(--on-band-2); }
.who .sec-label .n { color: var(--on-band-2); }
.who h2 { font-size: clamp(36px, 4.8vw, 68px); }
.who-text { padding-bottom: 6px; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.55; color: var(--on-band-2); text-wrap: pretty; }

.qa { border-bottom: 1px solid var(--rule); }
.qa details + details { border-top: 1px solid var(--rule); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-optical-sizing: auto; font-weight: 500; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; letter-spacing: -0.008em; }
.qa details:first-child summary { padding-top: 0; }
.qa summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 30px; height: 30px; border: 1px solid var(--rule-2); border-radius: 9px; transition: transform .25s var(--ease), background-color .18s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px; background: var(--ink); border-radius: 1px; }
.pm::after { transform: rotate(90deg); }
.qa details[open] .pm { transform: rotate(45deg); }
.qa summary:hover .pm { background: var(--bg-2); }
.a { padding: 0 56px 24px 0; max-width: 62ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.a a, .consent a, .prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--rule-2); color: var(--ink); }
.a a:hover, .consent a:hover, .prose a:hover { text-decoration-color: currentColor; }

/* waitlist */
.wl { padding: clamp(28px, 5.4vw, 76px); border-radius: var(--r-l); background: var(--wl-bg); }
.wl-form { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px 56px; }
.wl-title { margin-top: 28px; }
.wl-lede { margin-top: 18px; max-width: 34ch; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
.wl-body { align-self: end; }
.wl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; align-items: start; }
.f-email, .wl-grid .join { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 500; }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select { display: block; width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--rule-2); border-radius: 12px; background-color: var(--surface); color: var(--ink); font-size: 16px; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 23px) 50%, calc(100% - 18px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:hover, .field select:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--ink); border-radius: 12px; }
.field [aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-wash); }
.err { font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--bad-ink); }
.err:not(:empty) { margin-top: 8px; }
.join { justify-self: start; display: inline-flex; align-items: center; justify-content: center; height: 54px; margin-top: 6px; padding: 0 32px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 16px; font-weight: 600; transition: background-color .18s var(--ease), color .18s var(--ease), transform .15s var(--ease); }
.join:hover { background: var(--accent); color: var(--on-accent); }
.join:active { transform: scale(.98); }
.join:disabled { opacity: .7; cursor: progress; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { margin-top: 18px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--bad-wash); font-size: 15px; line-height: 1.5; }
.status p { flex: 1 1 240px; }
.retry { height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; font-size: 14.5px; font-weight: 600; }
.retry:hover { background: var(--ink); color: var(--bg); }
.wl.is-done { display: flex; align-items: center; }
.done { display: flex; gap: 22px; align-items: flex-start; max-width: 660px; }
.done:focus { outline: none; }
.done-mark { flex: none; width: 56px; height: 56px; padding: 9px; border-radius: 14px; background: var(--act); color: var(--act-ink); }
.done-title { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 8px; }
.done p { color: var(--ink-2); font-size: 16.5px; }
.done b { color: var(--ink); overflow-wrap: anywhere; }
.done-ask { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule-2); font-size: 15px !important; }
.done-ask .mail { color: var(--ink); font-weight: 600; }

/* footer */
.site-foot { margin-top: clamp(88px, 10vw, 140px); padding: 22px 0 40px; border-top: 1px solid var(--rule); font-size: 14.5px; color: var(--ink-2); }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; }
.site-foot a:not(.wordmark) { display: inline-flex; align-items: center; min-height: 44px; transition: color .18s var(--ease); }
.site-foot a:not(.wordmark):hover { color: var(--ink); }
.site-foot .wordmark svg { height: 21px; }
.site-foot .wordmark + span { margin-left: 8px; }
.site-foot .email:last-child { margin-left: auto; }
.email, .mail { user-select: all; -webkit-user-select: all; }
.spacer { flex: 1; }
.themer { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--rule-2); border-radius: 999px; }
.themer button { height: 38px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.themer button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* documents: privacy, terms, 404 */
.notice { padding: 11px 0; background: var(--warn-wash); font-size: 14px; line-height: 1.5; }
.page-head { max-width: 820px; padding: clamp(44px, 7vw, 92px) 0 32px; border-bottom: 1px solid var(--rule-2); }
.page-head h1, .nf h1 { font-family: var(--serif); font-optical-sizing: auto; font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.024em; text-wrap: balance; }
.lede { margin-top: 18px; max-width: 46ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-2); }
.prose { max-width: 720px; padding-top: 32px; font-size: 17px; line-height: 1.65; }
.prose h2 { margin: 52px 0 14px; font-family: var(--serif); font-optical-sizing: auto; font-size: clamp(24px, 2.2vw, 29px); line-height: 1.2; letter-spacing: -0.014em; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0; padding-left: 1.25em; list-style: disc; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--ink-3); }
.meta { padding: 14px 18px; border-radius: var(--r-s); background: var(--bg-2); font-size: 15px; color: var(--ink-2); }
.ph { padding: 1px 6px; border-radius: 4px; background: var(--warn-wash); font: 500 .86em var(--mono); }
code { padding: 1px 5px; border-radius: 4px; background: var(--bg-2); font: 500 .86em var(--mono); }
.table-wrap { margin: 18px 0; overflow-x: auto; }
.prose table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.prose th, .prose td { padding: 12px 18px 12px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose th { font: 500 12.5px/1.3 var(--mono); color: var(--ink-2); border-bottom-color: var(--rule-2); }
.nf > * { max-width: 680px; }
.nf { padding: clamp(64px, 12vw, 160px) 0 clamp(24px, 4vw, 48px); }
.nf .mark { display: block; width: 26px; height: 26px; margin-bottom: 34px; border-radius: 3px; background: var(--accent); }
.nf p { margin-top: 18px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-2); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* responsive */
@media (max-width: 1119px) {
  .plate { height: auto; display: flex; flex-direction: column; }
  .hero-in { height: auto; padding: clamp(40px, 7vw, 72px) calc(var(--gut) - var(--pm)) 0; }
  .hero-copy, .hero-status { width: auto; max-width: 660px; }
  .hero-copy { padding-top: 0; }
  .hero h1 { font-size: clamp(40px, 6.6vw, 62px); }
  .hero-status { margin-top: 36px; padding-bottom: 0; }
  .hero-art { position: relative; inset: auto; margin-top: 8px; aspect-ratio: 16 / 10; }
  .pic img { inset: 0; right: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%); mask-image: linear-gradient(180deg, transparent, #000 14%); }
}
@media (max-width: 959px) {
  .nav { display: none; }
  .site-head .nav ~ .btn { margin-left: auto; }
  .sec-head, .split, .who, .wl-form { grid-template-columns: minmax(0, 1fr); }
  .sec-head { gap: 22px; margin-bottom: 40px; }
  .split-head { position: static; }
  .split-head h2 { margin-top: 22px; }
  .rules { margin-top: 12px; }
  .rules li:first-child { border-top: 1px solid var(--rule); padding-top: 26px; }
  .who { gap: 22px; }
  .wl-form { gap: 32px; }
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loop-back { display: none; }
  .step { min-height: 300px; }
  .card-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .card-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .cs-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  :root { --head-h: 60px; }
  .wordmark svg { height: 22px; }
  .site-head .btn-sm { padding: 0 18px; font-size: 14px; }
  .hero-art { aspect-ratio: 5 / 4; }
  .hero h1 { font-size: clamp(38px, 10.4vw, 48px); margin-top: 18px; }
  .hero-lede { margin-top: 20px; }
  .hero-cta { margin-top: 28px; }
  .hero-cta { gap: 6px 24px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-cta .tlink { margin-inline: auto; }
  .loop { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .step { min-height: 0; padding: 20px 20px 24px; }
  .step-word { margin-top: 18px; font-size: 48px; }
  .step-text { margin-top: 16px; }
  .example-tag { border-radius: 14px; align-items: baseline; }
  .stack::before { left: 14px; right: 14px; }
  .stack::after { left: 28px; right: 28px; }
  .card { grid-template-columns: minmax(0, 1fr); }
  .card-idx { padding: 22px 20px 0; font-size: 36px; }
  .card-body { padding: 10px 20px 0; }
  .card-aside { grid-template-columns: minmax(0, 1fr); }
  .claims li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .inert-note { margin-left: 0; flex-basis: 100%; }
  .cs-card { padding: 22px 20px 20px; }
  .rules li { grid-template-columns: 36px minmax(0, 1fr); }
  .a { padding-right: 0; }
  .wl { padding: 28px 20px; }
  .wl-grid { grid-template-columns: minmax(0, 1fr); }
  .join { width: 100%; }
  .site-foot .email:last-child { margin-left: 0; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .qa details[open] .a { animation: rise .3s var(--ease) both; }
}
