/* Outbuilt website v3: shared styles.
   Direction: Pentagram-style information architecture, printed on blueprint sheets.
   Type does the work. Blue bands carry the drafting grid. Hairline rules replace cards.
   Two families (Bricolage Grotesque for display, Inter for text), square corners, no shadows.
   Light only. */
:root {
  /* color: four roles, nothing else */
  --blue: #1F47C9;          /* blueprint */
  --blue-deep: #1A3DAF;
  --paper: #F4F1E8;         /* ground */
  --paper-2: #EAE5D7;       /* hover / pressed on paper */
  --ink: #0B1220;           /* text, rules, the dark instrument panels */
  --ink-2: #333A49;
  --muted: #5F6470;
  --signal: #FF6A3D;        /* actions only, plus the referral loop */
  --signal-hover: #FF8259;
  --signal-deep: #E5532A;   /* chart stroke on paper */
  --signal-ink: #C2420D;    /* orange for text and small marks on paper or white: 4.6:1 */
  --signal-soft: #FFB59C;   /* small orange text on blue / ink */
  --on-blue-2: #C9D6FF;
  --on-ink-2: #AEB6C6;
  --rule: rgba(11, 18, 32, .16);
  /* context: these flip inside blue and ink surfaces */
  --text: var(--ink);
  --text-2: var(--ink-2);
  --text-3: var(--muted);
  --line: var(--rule);
  --line-strong: var(--ink);
  --accent: var(--signal-ink);
  --focus: var(--blue);
  /* type */
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* layout: 12 columns, 8pt spacing */
  --max: 1280px;
  --gut: max(24px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --gap: 24px;
  --sec: clamp(96px, 10.5vw, 160px);
  --head-h: 72px;
  color-scheme: light;
}
@media (min-width: 760px) { :root { --gut: max(40px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); } }
@media (min-width: 1180px) { :root { --gut: max(56px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); --gap: 32px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.site { min-height: 100vh; padding-bottom: env(safe-area-inset-bottom, 0px); }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 700; text-wrap: balance; }
p, li, dd, dt, figcaption, summary, blockquote { text-wrap: pretty; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
svg { flex-shrink: 0; }
b, strong { font-weight: 600; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--head-h) + 16px); }
main:focus { outline: none; }
.nw { white-space: nowrap; }
.sr-only { position: absolute !important; 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: 12px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--signal); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.sec { position: relative; padding-block: var(--sec); }
/* consecutive paper sections: a full ink rule opens the next one */
.sec--rule { padding-top: calc(clamp(64px, 7vw, 108px) + 4px); }
.sec--rule::before { content: ""; position: absolute; top: 0; left: 0; right: 0; width: calc(min(100%, var(--max) + 2 * var(--gut)) - 2 * var(--gut)); height: 4px; margin-inline: auto; background: linear-gradient(var(--signal), var(--signal)) 0 0 / 72px 4px no-repeat, linear-gradient(var(--line-strong), var(--line-strong)) 0 0 / 100% 1px no-repeat; }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; align-items: start; }
.split > :first-child { grid-column: 1 / span 5; }
.split > :last-child { grid-column: 7 / -1; }
.split--wide > :first-child { grid-column: 1 / span 4; }
.split--wide > :last-child { grid-column: 6 / -1; }
.head { max-width: 900px; }
.head .lead { margin-top: 24px; }
.head + * { margin-top: clamp(56px, 6vw, 88px); }
.stack .lead { margin-top: 24px; }
.block { margin-top: clamp(88px, 9.5vw, 140px); }
.block-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 12px; align-items: baseline; margin-bottom: 44px; }
.block-head > :first-child { grid-column: 1 / span 5; }
.block-head > p { grid-column: 7 / -1; color: var(--text-2); }

/* ---------- type ---------- */
.display { font: 800 clamp(44px, 6vw, 84px)/.92 var(--display); letter-spacing: -.042em; }
.display--page { font-size: clamp(42px, 5vw, 72px); }
.display .br { display: block; }
.h2 { font: 700 clamp(33px, 3.75vw, 54px)/1.02 var(--display); letter-spacing: -.032em; }
.h3 { font: 700 clamp(21px, 1.8vw, 26px)/1.18 var(--display); letter-spacing: -.02em; }
.h3--lg { font-size: clamp(25px, 2.35vw, 34px); line-height: 1.1; letter-spacing: -.025em; }
.h4 { font: 600 18px/1.35 var(--body); letter-spacing: -.005em; }
.statement { font: 700 clamp(27px, 3.2vw, 46px)/1.08 var(--display); letter-spacing: -.032em; max-width: 1120px; }
.statement .dim, .h2 .dim { color: var(--text-3); }
.lead { max-width: 40em; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--text-2); }
.small { font-size: 14.5px; line-height: 1.5; color: var(--text-3); }
.label { font: 600 14px/1.4 var(--body); color: var(--accent); }
.prose { font-size: 18px; line-height: 1.65; color: var(--text-2); }
.prose p + p { margin-top: 1em; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 14px 26px; border: 1px solid transparent; border-radius: 0; background: var(--signal); color: var(--ink); font: 600 16px/1.2 var(--body); text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn:hover { background: var(--signal-hover); }
.btn:active { background: var(--signal-deep); }
.btn .i-arrow, .btn .i-down { transition: transform .2s ease; }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:hover .i-down { transform: translateY(2px); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn:disabled { opacity: .6; cursor: progress; }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: currentColor; transition: text-decoration-thickness .1s ease; }
.link:hover { text-decoration-thickness: 2px; }
.link .i-arrow { transition: transform .2s ease; }
.link:hover .i-arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 40px; }

/* ---------- surfaces ---------- */
.sec--blue, .on-ink, .site-footer { --accent: #fff; --text: #fff; --text-2: var(--on-blue-2); --text-3: var(--on-blue-2); --line: rgba(255,255,255,.24); --line-strong: rgba(255,255,255,.72); --focus: #fff; color: var(--text); }
.on-ink, .site-footer { --text-2: var(--on-ink-2); --text-3: var(--on-ink-2); --line: rgba(255,255,255,.16); --line-strong: rgba(255,255,255,.6); background: var(--ink); }
.on-paper { --accent: var(--signal-ink); --text: var(--ink); --text-2: var(--ink-2); --text-3: var(--muted); --line: var(--rule); --line-strong: var(--ink); --focus: var(--blue); background: var(--paper); color: var(--text); }
/* the blueprint sheet: drafting grid, a little light, a little grain */
.sec--blue {
  isolation: isolate; overflow: hidden;
  background-color: var(--blue);
  background-image:
    radial-gradient(120% 90% at 78% 0%, rgba(255,255,255,.10), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(10,26,68,.28), transparent 60%),
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: auto, auto, 128px 128px, 128px 128px, 32px 32px, 32px 32px;
  background-position: 0 0, 0 0, -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}
.sec--blue::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- lists: rows on hairlines ---------- */
.rows { border-top: 1px solid var(--line-strong); }
.rows > li { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.45; color: var(--text); }
.rows--num { counter-reset: row; }
.rows--num > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 8px; }
.rows--num > li::before { counter-increment: row; content: counter(row, decimal-leading-zero); padding-top: .2em; font: 600 14px/1.45 var(--body); font-variant-numeric: tabular-nums; color: var(--accent); }
.rows--sm > li { padding: 15px 0; font-size: 16px; }
.rows b { font-weight: 600; }
.kv { border-top: 1px solid var(--line-strong); }
.kv > div { display: grid; grid-template-columns: minmax(120px, 2fr) minmax(0, 5fr); column-gap: var(--gap); row-gap: 4px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.kv dt { font-weight: 600; color: var(--text); }
.kv dd { color: var(--text-2); }
.kv q { display: block; margin-top: 4px; color: var(--text-3); quotes: "\201C" "\201D"; }
.cols { --n: 3; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.cols--2 { --n: 2; }
.cols--4 { --n: 4; }
.cols > * { min-width: 0; padding: 28px var(--gap) 0 0; }
.cols > * + * { padding-left: var(--gap); border-left: 1px solid var(--line); }
.cols p { color: var(--text-2); }
.cols .h3 + p, .cols .h4 + p { margin-top: 12px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); background: var(--paper); border-bottom: 1px solid var(--rule); transition: border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--ink); }
.header-row { display: flex; align-items: center; gap: 32px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 800 21px/1 var(--display); letter-spacing: -.035em; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; color: var(--ink-2); font: 500 15.5px/1.2 var(--body); text-decoration: none; transition: color .15s ease, border-color .15s ease; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--signal); }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid var(--ink); border-radius: 0; background: transparent; cursor: pointer; }
.menu-btn span, .menu-btn span::before { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); transition: transform .2s ease, top .2s ease; }
.menu-btn span { top: 17px; }
.menu-btn span::before { content: ""; left: 0; top: 7px; }
.menu-btn[aria-expanded="true"] span { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(-90deg); }
.menu-panel { border-top: 1px solid var(--rule); background: var(--paper); }
.menu-panel nav { display: flex; flex-direction: column; padding-block: 8px 28px; }
.menu-panel a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--rule); font: 700 26px/1.1 var(--display); letter-spacing: -.025em; text-decoration: none; }
.menu-panel a[aria-current="page"] { color: var(--accent); }
.menu-panel .btn { margin-top: 24px; }

/* newsletter popup: drops from the header button instead of scrolling the page */
.nl-pop { position: absolute; top: 100%; left: 0; right: 0; z-index: 60; pointer-events: none; }
.nl-pop[hidden] { display: none; }
.nl-pop-wrap { display: flex; justify-content: flex-end; }
.nl-pop-card { position: relative; width: min(420px, 100%); margin-top: 10px; padding: 30px 28px 22px; background: #FFFEFA; pointer-events: auto; box-shadow: 0 1px 2px rgba(11,18,32,.08), 0 14px 32px -8px rgba(11,18,32,.22), 0 36px 72px -24px rgba(11,18,32,.3); }
.nl-pop-card::before { content: ""; position: absolute; top: 0; left: 0; width: 72px; height: 4px; background: var(--signal); }
.nl-pop-card:focus { outline: none; }
.nl-pop-title { padding-right: 40px; font: 700 24px/1.12 var(--display); letter-spacing: -.022em; }
.nl-pop-sub { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.nl-pop .signup-box { margin-top: 20px; }
.nl-pop .form-msg { min-height: 0; margin-top: 10px; }
.nl-pop .form-msg:empty { display: none; }
.nl-pop .legal-note { margin-top: 12px; }
.nl-pop-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.nl-pop-x:hover { background: rgba(11,18,32,.06); }
.nl-pop-x svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .nl-pop:not([hidden]) .nl-pop-card { animation: pop-in .18s ease-out; }
}
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- heroes ---------- */
.hero { padding-block: clamp(56px, 6vw, 88px) clamp(64px, 6.5vw, 96px); }
.hero-copy { grid-column: 1 / span 5; margin-top: clamp(40px, 5vw, 72px); }
.hero-copy .lead { color: #fff; }
.page-hero .hero-copy { grid-column: 1 / span 6; margin-top: clamp(24px, 3vw, 44px); }
.page-hero .display { max-width: 12em; }
.hero--center { text-align: center; }
.hero--center .display { margin-inline: auto; }
.hero--center .hero-copy { grid-column: 3 / span 8; }
.hero--center .lead { margin-inline: auto; }
.hero--center .actions { justify-content: center; }
.hero-facts { margin-top: 28px; font-size: 15px; color: var(--text-2); }
.hero-facts b { color: var(--text); }

/* home hero: centered, with hand-inked sketches drawing themselves around it and a strip of the businesses it's for */
.hero--home { display: flex; flex-direction: column; min-height: clamp(600px, calc(100svh - var(--head-h)), 860px); padding-block: clamp(64px, 8vw, 112px) clamp(32px, 3.4vw, 48px); }
.hero-main { position: relative; z-index: 1; margin-block: auto; text-align: center; }
.hero--home .display { font-size: clamp(44px, 5.2vw, 74px); line-height: .94; }
.hero-sub { max-width: 34em; margin: clamp(20px, 2vw, 28px) auto 0; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.45; color: var(--on-blue-2); }
.hero--home .actions { justify-content: center; gap: 16px; margin-top: clamp(28px, 3vw, 40px); }
.btn--line { background: transparent; border-color: rgba(255,255,255,.72); color: #fff; }
.btn--line:hover { background: #fff; border-color: #fff; color: var(--blue); }
.btn--line:active { background: var(--on-blue-2); border-color: var(--on-blue-2); color: var(--blue); }

.sketches { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.sk { position: absolute; overflow: visible; fill: none; stroke: #fff; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; opacity: .5; transition: opacity .9s ease; }
.sk--o { stroke: var(--signal); opacity: .9; }
.sk path { stroke-dasharray: 1 1.01; stroke-dashoffset: 1; animation: sk-draw .9s cubic-bezier(.45, .05, .35, 1) forwards; animation-delay: calc(var(--i, 0) * .17s); }
.sk.is-out { opacity: 0; }
.sk.is-still path { stroke-dashoffset: 0; animation: none; }
@keyframes sk-draw { to { stroke-dashoffset: 0; } }
.sk-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.page-hero > .wrap { position: relative; z-index: 1; }   /* the other heroes draw sketches too, under the words */

/* doodles: a few small blue sketches in the open spots of paper sections; they draw themselves once when they come into view */
.doodles { display: flex; align-items: flex-end; gap: 36px; margin-top: 56px; pointer-events: none; }
.doodle { --h: 64px; flex: none; width: calc(var(--h) * min(var(--r, 1), 1.7)); height: auto; aspect-ratio: var(--r, 1); overflow: visible; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.doodle:nth-child(1) { transform: rotate(-7deg); }
.doodle:nth-child(2) { transform: translateY(-16px) rotate(6deg); }
.doodle:nth-child(3) { transform: translateY(4px) rotate(-3deg); }
.doodles.is-waiting .doodle path { stroke-dasharray: 1 1.01; stroke-dashoffset: 1; opacity: 0; }   /* hidden until its turn, so no pen dots show early */
.doodles.is-drawn .doodle path { animation: doodle-draw .9s cubic-bezier(.45, .05, .35, 1) forwards; animation-delay: calc(var(--n, 0) * .45s + var(--i, 0) * .15s); }
@keyframes doodle-draw { from { opacity: 1; stroke-dashoffset: 1; } to { opacity: 1; stroke-dashoffset: 0; } }
/* beside a heading: in the empty top-right corner of the section */
.wrap:has(> .doodles--side) { position: relative; }
.doodles--side { position: absolute; top: 8px; right: var(--gut); margin: 0; }
/* down a tall empty column, zigzagging */
.doodles--stack { flex-direction: column; align-items: flex-start; gap: 40px; margin-top: 72px; }
.doodles--stack .doodle:nth-child(2) { margin-left: 112px; }
.doodles--stack .doodle:nth-child(3) { margin-left: 24px; }

.trades { position: relative; z-index: 1; margin-top: clamp(48px, 6vw, 80px); }
.trades-label { text-align: center; font-size: 14.5px; line-height: 1.4; color: var(--on-blue-2); }
.trades-strip { margin-top: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
/* still (no script, or reduced motion): one centered row that fades out at both edges */
.trades-list { display: flex; justify-content: center; margin: 0; padding: 0; list-style: none; }
.trades-list li { display: inline-flex; align-items: center; gap: 10px; padding: 10px clamp(16px, 1.8vw, 26px); font: 600 18px/1.1 var(--display); letter-spacing: -.01em; color: #fff; white-space: nowrap; }
.ico { flex: none; width: 30px; height: 30px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.trades-list .ico { opacity: .82; }
.trades.is-moving .trades-track { display: flex; width: max-content; animation: trades 70s linear infinite; }
.trades.is-moving .trades-list { justify-content: flex-start; }
.trades.is-moving .trades-strip:hover .trades-track { animation-play-state: paused; }
@keyframes trades { to { transform: translateX(-50%); } }

/* ---------- the building (linework in SVG, labels in HTML so they stay readable) ---------- */

/* ---------- home ---------- */
.after-list { margin-top: 28px; font-size: 18px; line-height: 1.5; color: var(--text-2); }
.after-list b { color: var(--text); }
.shift { margin-top: clamp(56px, 6vw, 88px); row-gap: 56px; }
.shift-text { grid-column: 1 / span 5; }
.shift-text p + p { margin-top: 1em; }
.shift-text p { font-size: 18px; color: var(--text-2); }
.shift-text .strong { color: var(--text); font-weight: 600; }
.shift-lists { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.defn { grid-column: 1 / -1; padding: 20px 0; border-block: 1px solid var(--line-strong); font-size: 18px; line-height: 1.45; color: var(--text-2); }
.defn b { color: var(--accent); }
.is-accent { color: var(--accent); }
.shift-lists .h4 { margin-bottom: 12px; }
.versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.versus > div { min-width: 0; padding-top: 32px; border-top: 1px solid var(--line-strong); }
.versus > div:first-child { padding-right: var(--gap); }
.versus > div + div { padding-left: var(--gap); border-left: 1px solid var(--line-strong); }
.versus .good { box-shadow: inset 0 4px 0 var(--signal); }
.versus-sub { margin: 8px 0 24px; color: var(--text-3); }
.versus .rows { border-top-color: var(--line); }
.versus .rows > li { font-size: 17px; }
.parts > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: var(--gap); row-gap: 4px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.parts { border-top: 1px solid var(--line); }
.parts dt { font-weight: 600; }
.versus .good .parts dt { color: var(--accent); }
.parts dd { color: var(--text-2); }
.versus-foot { margin-top: 24px; font-weight: 600; }
.systems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); border-top: 1px solid var(--line-strong); }
.systems > li { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-content: start; min-width: 0; padding: 32px var(--gap) 0 0; }
.systems > li + li { padding-left: var(--gap); border-left: 1px solid var(--line); }
.big-num { display: block; margin-bottom: 20px; font: 800 clamp(52px, 5vw, 72px)/.8 var(--display); letter-spacing: -.055em; color: #fff; }
.systems p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.sec--sys { padding-block: clamp(64px, 6.5vw, 96px); }
.sec--sys .h2 { font-size: clamp(30px, 3.2vw, 46px); }
.sec--sys .head .lead { margin-top: 18px; font-size: clamp(16px, 1.2vw, 17.5px); max-width: 38em; }
.sec--sys .head + * { margin-top: clamp(36px, 4vw, 56px); }
.sec--sys .systems .h3 { font-size: clamp(20px, 1.6vw, 23px); }
.systems .parts-line { margin-top: 16px; font-size: 14.5px; color: var(--text-3); }
.systems .link { margin-top: 28px; align-self: start; justify-self: start; }
.sys-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 40px; margin-top: clamp(40px, 4vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); }
.sys-foot p { max-width: 46em; font-size: 16.5px; color: var(--text-2); }
.sys-foot b { color: #fff; }
.who-list { border-top: 1px solid var(--line-strong); }
.who-list > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gap); row-gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.who-list dt { font: 700 22px/1.2 var(--display); letter-spacing: -.015em; }
.who-list dt span { display: block; margin-top: 6px; font: 400 14.5px/1.45 var(--body); letter-spacing: 0; color: var(--text-3); }
.who-list dd { color: var(--text-2); }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
/* the only raised surfaces on the site: two sheets lifted off the page */
.way { display: flex; flex-direction: column; min-width: 0; padding: clamp(28px, 3.4vw, 52px); background: #FFFEFA; box-shadow: 0 1px 2px rgba(11,18,32,.06), 0 12px 28px -8px rgba(11,18,32,.16), 0 36px 72px -24px rgba(11,18,32,.24); }
.way.on-ink {
  --text-2: #DCE4FA; --text-3: #CFD9F7; --line: rgba(255,255,255,.26); --line-strong: rgba(255,255,255,.75);
  background-color: var(--blue);
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(160deg, #2048CC 0%, #1F47C9 45%, #1939A8 100%);
  background-size: 128px 128px, 128px 128px, 32px 32px, 32px 32px, auto;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px, 0 0;
  box-shadow: 0 1px 2px rgba(11,18,32,.12), 0 14px 32px -8px rgba(11,18,32,.26), 0 40px 80px -24px rgba(31,71,201,.42);
}
.way-kicker { font: 600 14.5px/1.4 var(--body); color: var(--signal-ink); }
.way.on-ink .way-kicker { color: #FFBFA6; }
.way .h3 { margin-top: 12px; }
.way-meta { margin-top: 8px; font-size: 15px; color: var(--text-3); }
.way-desc { margin: 20px 0 24px; color: var(--text-2); }
.way-cta { margin-top: auto; padding-top: 36px; }
.founder { row-gap: 48px; }
.founder-side { grid-column: 1 / span 4; }
.founder-side .prose { margin-top: 28px; font-size: 17px; }
.founder-main { grid-column: 6 / -1; }
.quote blockquote p { font: 600 clamp(22px, 2.1vw, 30px)/1.22 var(--display); letter-spacing: -.022em; color: var(--text); }
.quote figcaption { margin-top: 20px; font-size: 14.5px; color: var(--text-3); }
.founder-end { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.founder-end p { max-width: 36em; color: var(--text-2); }
.founder-end .link { margin-top: 20px; }
.closer-grid { row-gap: 24px; }
.closer-grid > .display { grid-column: 1 / span 6; grid-row: 1; align-self: end; font-size: clamp(34px, 4vw, 58px); line-height: .95; }
.closer-copy { grid-column: 1 / span 5; grid-row: 2; }
.closer-copy .lead { color: #fff; }
.closer-form { grid-column: 7 / -1; grid-row: 1 / span 2; align-self: center; }

/* ---------- the math ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--ink); }
.calc-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto 40px auto auto auto; column-gap: 48px; align-content: center; padding: clamp(28px, 3.4vw, 48px); }
.field { display: grid; grid-template-rows: subgrid; grid-row: 1 / span 3; min-width: 0; }
.field:nth-child(n+3) { grid-row: 5 / span 3; }
.lifts { grid-column: 1 / -1; grid-row: 5 / span 3; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.lift-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; row-gap: 20px; margin-top: 16px; }
.lift-list > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lift-list dt { font-weight: 600; line-height: 1.35; }
.lift-list dt span { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--text-3); }
.lift-list dd { font: 700 24px/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--accent); white-space: nowrap; }
.field-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.field label { font-weight: 600; line-height: 1.35; }
.field label small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--text-3); }
.field output { font: 700 24px/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticks { display: flex; justify-content: space-between; margin-top: 4px; font-size: 12.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--signal) var(--fill, 50%), var(--ink) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--ink); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--signal); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border: 2px solid var(--ink); border-radius: 0; background: var(--signal); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid var(--ink); border-radius: 0; background: var(--signal); }
input[type="range"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.calc-out { display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 48px); }
.calc-label { font-size: 14.5px; color: var(--text-2); }
.bars { display: grid; gap: 20px; margin-top: 20px; }
.bar-top { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; }
.bar-val { font-weight: 700; font-variant-numeric: tabular-nums; }
.bar { height: 10px; margin-top: 8px; background: rgba(255,255,255,.1); }
.bar i { display: block; width: var(--w, 100%); height: 100%; background: #8B94A7; transition: width .35s cubic-bezier(.3,.7,.3,1); }
.is-new .bar i { background: var(--signal); }
.calc-big { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.calc-big strong { display: block; font: 800 clamp(48px, 5.2vw, 76px)/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.calc-big span { display: block; margin-top: 10px; color: var(--text-2); }
.calc-big b { color: var(--signal-soft); }
.calc-note { margin-top: 24px; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.calc-reset { align-self: flex-start; margin-top: auto; padding: 24px 0 0; border: 0; background: none; color: #fff; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }

/* ---------- signup ---------- */
.signup-box { width: 100%; max-width: 640px; container-type: inline-size; }
.signup { display: flex; flex-wrap: wrap; border: 1px solid var(--ink); background: #fff; }
.sec--blue .signup, .on-ink .signup { border-color: #fff; }
.signup input { flex: 1 1 0; min-width: 0; height: 58px; padding: 0 18px; border: 0; border-radius: 0; background: transparent; color: var(--ink); font-size: 16px; }
.signup input::placeholder { color: #737885; }
.signup input:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.signup .fname { flex: 0 0 26%; border-right: 1px solid var(--rule); }
.signup .btn { flex: 0 0 auto; min-height: 58px; }
.signup .btn:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
@container (max-width: 600px) {
  .signup .fname { flex-basis: 40%; }
  .signup .btn { flex: 1 0 100%; }
}
@container (max-width: 400px) {
  .signup .fname { flex: 1 0 100%; border-right: 0; border-bottom: 1px solid var(--rule); }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 1.5em; margin-top: 12px; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.form-msg.bad { color: var(--signal-ink); }
.sec--blue .form-msg.bad, .on-ink .form-msg.bad { color: var(--signal-soft); }
.sec--blue .on-paper .form-msg.bad, .on-ink .on-paper .form-msg.bad { color: var(--signal-ink); }
.form-msg.ok { color: var(--text); }
.preview-note { display: none; margin-bottom: 8px; padding: 12px 16px; border: 1px dashed var(--line-strong); font-size: 14px; line-height: 1.5; color: var(--text); }
.preview-note.show { display: block; }
.legal-note { font-size: 12.5px; line-height: 1.55; color: var(--text-3); }
.legal-note a { color: var(--text); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 24px 0; list-style: none; cursor: pointer; font: 700 21px/1.3 var(--display); letter-spacing: -.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: 0 0 18px; height: 18px; margin-top: 5px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--accent); transition: transform .2s ease; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--accent); }
.faq .ans { max-width: 640px; padding: 0 0 26px; color: var(--text-2); }

/* ---------- the system page ---------- */
.page-hero-sub { margin-top: clamp(40px, 4.5vw, 64px); row-gap: 48px; }
.hero-quote { grid-column: 1 / span 6; }
/* Andre's definition as a speech bubble: a paper sheet on the blueprint, its tail pointing at his name */
.bubble { position: relative; padding: clamp(26px, 2.8vw, 40px) clamp(24px, 3vw, 44px); background: #FFFEFA; color: var(--ink); filter: drop-shadow(0 1px 1px rgba(11,18,32,.18)) drop-shadow(0 16px 24px rgba(10,26,68,.32)); }
.bubble::before { content: ""; position: absolute; top: 0; left: 0; width: 72px; height: 4px; background: var(--signal); }
.bubble::after { content: ""; position: absolute; top: calc(100% - 1px); left: clamp(24px, 3vw, 44px); width: 30px; height: 24px; background: inherit; clip-path: polygon(0 0, 100% 0, 0 100%); }
.hero-quote p { font: 600 clamp(21px, 1.9vw, 27px)/1.3 var(--display); letter-spacing: -.015em; color: var(--ink); }
.hero-quote figcaption { margin-top: 14px; padding-left: calc(clamp(24px, 3vw, 44px) + 42px); font-size: 14.5px; color: var(--text-2); }
.index { grid-column: 8 / -1; }
.index-label { padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); font: 600 13.5px/1.3 var(--body); color: var(--on-blue-2); }
.index a { display: grid; grid-template-columns: 52px minmax(0, 1fr) 36px; align-items: center; column-gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: #fff; text-decoration: none; }
.index-n { font: 700 26px/1 var(--display); letter-spacing: -.03em; color: var(--on-blue-2); transition: color .15s ease; }
.index-t { font: 600 19px/1.2 var(--display); letter-spacing: -.012em; }
.index-t small { display: block; margin-top: 3px; font: 400 14.5px/1.4 var(--body); letter-spacing: 0; color: var(--on-blue-2); }
.index-go { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .4); color: #fff; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.index-go .i-down { transition: transform .2s ease; }
.index a:hover .index-n, .index a:focus-visible .index-n { color: #fff; }
.index a:hover .index-go, .index a:focus-visible .index-go { border-color: #fff; background: #fff; color: var(--blue); }
.index a:hover .i-down, .index a:focus-visible .i-down { transform: translateY(2px); }
.choices { margin-top: 40px; border-top: 1px solid var(--line-strong); }
.choice { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 16px; width: 100%; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font-size: 18px; line-height: 1.4; text-align: left; cursor: pointer; }
.choice-key { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--ink); font-size: 14px; font-weight: 600; transition: background-color .15s ease, color .15s ease; }
.choice:hover .choice-key { background: var(--paper-2); }
.choice[aria-pressed="true"] { font-weight: 600; }
.choice[aria-pressed="true"] .choice-key { border-color: var(--signal); background: var(--signal); color: var(--ink); }
.verdict { display: flex; flex-direction: column; min-height: 100%; padding: clamp(32px, 3.6vw, 56px); }
.verdict-label { font-size: 14.5px; color: var(--text-2); }
.verdict .h3 { margin-top: 12px; }
.verdict-text { margin-top: 16px; color: var(--text-2); }
.verdict .btn { align-self: flex-start; margin-top: 32px; }
.verdict-foot { margin-top: auto; padding-top: 40px; font-size: 14.5px; color: var(--text-2); }
.chapter { padding-block: clamp(80px, 9vw, 136px); }
.chapter-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: end; }
.chapter-num { grid-column: 1 / span 4; font: 800 clamp(104px, 14vw, 200px)/.74 var(--display); letter-spacing: -.06em; color: #fff; }
.chapter-body { grid-column: 6 / -1; }
.chapter-tag { margin-top: 14px; font: 700 clamp(20px, 1.9vw, 26px)/1.2 var(--display); letter-spacing: -.02em; color: #fff; }
.chapter-body .lead { margin-top: 20px; }
.definition { max-width: 1040px; font: 700 clamp(23px, 2.3vw, 33px)/1.24 var(--display); letter-spacing: -.02em; }
.definition span { display: block; margin-bottom: 12px; font: 600 14.5px/1.4 var(--body); letter-spacing: 0; color: var(--accent); }
.definition + * { margin-top: clamp(64px, 7vw, 104px); }
/* a definition lifted off the page as a small blueprint sheet (System: "The goal") */
.definition--box { position: relative; max-width: 860px; margin-inline: auto; padding: clamp(40px, 4.4vw, 64px) clamp(24px, 5.5vw, 88px); font-size: clamp(20px, 1.85vw, 26px); line-height: 1.28; text-align: center; text-wrap: balance; box-shadow: 0 1px 2px rgba(11,18,32,.14), 0 14px 32px -8px rgba(11,18,32,.3), 0 40px 80px -24px rgba(11,18,32,.34); }
.definition--box::before { content: ""; position: absolute; top: 0; left: calc(50% - 36px); width: 72px; height: 4px; background: var(--signal); }
.definition--box span { margin-bottom: 16px; color: #FFBFA6; }
.step-n { display: block; margin-bottom: 16px; font: 800 44px/1 var(--display); letter-spacing: -.04em; color: var(--accent); }
.steps-3 .small { margin-top: 16px; }
.types-block { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: start; }
.types-head { grid-column: 1 / span 4; }
.types-head p { margin-top: 14px; max-width: 30em; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.types { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.type { min-width: 0; padding: 16px var(--gap) 18px 0; border-bottom: 1px solid var(--line); }
.type:nth-child(even) { padding-right: 0; padding-left: var(--gap); border-left: 1px solid var(--line); }
.type .h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 700 18px/1.3 var(--display); letter-spacing: -.012em; }
.type p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.type .eg { margin-top: 4px; font-size: 14px; color: var(--text-3); }
.flag { padding: 3px 8px; background: var(--signal); color: var(--ink); font: 600 12.5px/1.3 var(--body); }
.coaster { row-gap: 40px; }
.coaster-copy p { margin-top: 16px; color: var(--text-2); }
.coaster-copy p:first-of-type { margin-top: 20px; }
.chart { min-width: 0; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.chart-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.chart-top .t { font-weight: 600; }
.chart-top .t small { display: block; font-size: 13.5px; font-weight: 400; color: var(--text-3); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13.5px; color: var(--text-2); }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend i { width: 18px; height: 2px; }
.chart-wrap { position: relative; }
.chart-wrap svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-wrap .axis { stroke: var(--ink); stroke-width: 1; }
.chart-wrap .grid { stroke: var(--rule); stroke-width: 1; }
.chart-wrap .tick { font: 500 11px var(--body); fill: var(--muted); letter-spacing: .02em; }
.chart-wrap .lbl { font: 600 12px var(--body); fill: var(--ink-2); }
.chart-wrap .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart-wrap .s-burst { stroke: var(--signal-deep); }
.chart-wrap .s-system { stroke: var(--blue); }
.chart-wrap .cross { stroke: var(--ink); stroke-width: 1; opacity: .35; }
.chart-wrap .hit { fill: transparent; cursor: crosshair; }
.chart-wrap .mk { stroke: var(--paper); stroke-width: 2; }
.chart-tip { position: absolute; z-index: 3; min-width: 150px; padding: 10px 12px; border: 1px solid var(--ink); background: #fff; font-size: 12.5px; line-height: 1.45; color: var(--ink); opacity: 0; pointer-events: none; transition: opacity .12s ease; }
.chart-tip.on { opacity: 1; }
.chart-tip b { display: block; margin-bottom: 3px; color: var(--muted); }
.chart-tip span { display: flex; align-items: center; gap: 7px; }
.chart-tip i { width: 8px; height: 8px; border-radius: 50%; }
.rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stop { position: relative; min-width: 0; padding-right: var(--gap); }
.stop:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 40px; right: 0; height: 2px; background: var(--ink); }
.node { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); font-weight: 700; font-size: 15px; }
.stop:last-child .node { border-color: var(--signal); background: var(--signal); }
.role { margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--accent); }
/* On wider screens the railway is drawn as a train: car bodies ride on the numbered circles,
   which become the wheels. The last stop carries the nose. Phones keep the plain vertical line. */
@media (min-width: 861px) {
  .rail { padding-top: 56px; }
  .stop::before { content: ""; position: absolute; top: -48px; left: 24px; width: calc(100% - 8px); height: 56px; padding: 0 9px; border: 2px solid var(--ink); border-radius: 10px 10px 4px 4px; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Crect x='5.75' y='.75' width='16.5' height='12.5' rx='2' fill='none' stroke='%230B1220' stroke-width='1.5'/%3E%3C/svg%3E") 0 10px / 28px 14px space no-repeat, linear-gradient(var(--signal), var(--signal)) 0 32px / 100% 3px no-repeat, var(--paper);
    background-origin: content-box, padding-box; background-clip: content-box, padding-box; }
  .stop:first-child::before { left: 0; width: calc(100% + 16px); border-radius: 14px 10px 4px 8px; }
  .stop:nth-last-child(2)::before { width: 100%; border-right: 0; border-radius: 10px 0 0 4px; }
  .stop:last-child::before { width: 100px; padding: 0; border: 0; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='56' viewBox='0 0 100 56'%3E%3Cpath d='M0 1H28C62 1 94 24 97 46Q97 55 88 55H0Z' fill='%23F4F1E8'/%3E%3Cpath d='M0 34H92.4L93.2 37H0Z' fill='%23FF6A3D'/%3E%3Cpath d='M0 1H28C62 1 94 24 97 46Q97 55 88 55H0' fill='none' stroke='%230B1220' stroke-width='2'/%3E%3Cpath d='M36.75 12.75H60Q73 13.5 82.5 25.25H38.5Q36.75 25.25 36.75 23.5Z' fill='none' stroke='%230B1220' stroke-width='1.5' stroke-linejoin='round'/%3E%3Ccircle cx='89.5' cy='45' r='2.5' fill='%23FF6A3D'/%3E%3C/svg%3E") 0 0 / 100px 56px no-repeat; }
}
.stop .h4 { margin-top: 4px; font: 700 22px/1.2 var(--display); letter-spacing: -.015em; }
.stop .h4 + p { margin-top: 8px; font-size: 16px; color: var(--text-2); }
.lists-2 { row-gap: 56px; }
.lists-2 > div { grid-column: span 6; min-width: 0; }
.lists-2, .am { --sep: clamp(32px, 4.5vw, 64px); }
.lists-2 > div:first-child, .am > div:first-child { padding-right: calc(var(--sep) - var(--gap)); }
.lists-2 > div + div, .am > div + div { padding-left: var(--sep); border-left: 1px solid var(--line); }
.lists-2 .h3 { margin-bottom: 20px; }
.lists-2 .kv-intro { margin: -8px 0 20px; color: var(--text-2); }
.am { row-gap: 64px; }
.am > div { grid-column: span 6; min-width: 0; }
.am-sub { margin-top: 12px; font-size: 18px; color: var(--text-2); }
.group { margin-top: 32px; }
.group-label { margin-bottom: 12px; font-size: 14.5px; font-weight: 600; color: var(--accent); }
.gym { row-gap: 56px; align-items: center; }
.ladder { grid-column: 1 / span 6; }
.ladder .h3 { margin-bottom: 20px; }
.rungs { border-top: 1px solid var(--line-strong); }
.rung { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; row-gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rung .amt { grid-row: span 2; font: 800 24px/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rung .what { color: var(--text-2); }
.rung .bar-s { height: 8px; background: var(--ink-2); width: var(--w); }
.rung--top .bar-s { background: var(--signal); }
.rung--top .amt { color: var(--accent); }
.gym .quote { grid-column: 7 / -1; }

/* ---------- the build-out page ---------- */
.principles .label { margin-bottom: 14px; }
.phases { border-top: 1px solid var(--line-strong); }
.phase { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 20px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.phase-side { grid-column: 1 / span 4; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 8px; align-content: start; }
.phase-n { grid-row: span 2; font: 800 44px/.9 var(--display); letter-spacing: -.04em; color: var(--accent); }
.phase-side p { margin-top: 8px; color: var(--text-2); }
.phase-steps { grid-column: 6 / -1; }
.phase-steps > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 4fr); column-gap: var(--gap); row-gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.phase-steps > div:first-child { padding-top: 4px; }
.phase-steps > div:last-child { border-bottom: 0; padding-bottom: 0; }
.phase-steps dt { font-weight: 600; }
.phase-steps dd { color: var(--text-2); }
.steps { margin-top: 40px; border-top: 1px solid var(--line-strong); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); grid-row: span 2; font: 800 26px/1 var(--display); color: #fff; }
.steps b { font-weight: 600; }
.steps span { color: var(--text-2); }
.form-panel { padding: clamp(28px, 3.4vw, 48px); }
.form-panel .h3 { margin: 8px 0 24px; }
/* build-out: the application, a paper sheet floating on the blueprint */
.sec--clip { overflow: clip; }   /* clips like hidden, but lets the intro stick while the form scrolls */
.apply { row-gap: 56px; align-items: start; }
.apply-intro { grid-column: 1 / span 4; position: sticky; top: calc(var(--head-h) + 48px); }
.apply-intro .lead { margin-top: 24px; }
.apply-panel { position: relative; grid-column: 6 / -1; padding: clamp(28px, 3.4vw, 52px); background: #FFFEFA; box-shadow: 0 1px 2px rgba(11,18,32,.12), 0 14px 32px -8px rgba(11,18,32,.26), 0 40px 80px -24px rgba(10,26,68,.45); }
.apply-panel::before { content: ""; position: absolute; top: 0; left: 0; width: 72px; height: 4px; background: var(--signal); }
.apply-form[hidden], .apply-done[hidden] { display: none; }
.apply-group { min-width: 0; margin: 0; padding: 32px 0; border: 0; border-top: 1px solid var(--line); }
.apply-group:first-child { padding-top: 0; border-top: 0; }
.apply-group legend { float: left; display: flex; gap: 14px; width: 100%; margin: 0 0 20px; padding: 0; font: 700 clamp(19px, 1.45vw, 21px)/1.25 var(--display); letter-spacing: -.012em; color: var(--text); }
.apply-group legend + * { clear: both; }
.apply-n { flex: 0 0 auto; min-width: 14px; color: var(--accent); font-variant-numeric: tabular-nums; }
.apply-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.apply-stack { display: grid; gap: 20px; }
.fld { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fld > span:first-child { font: 500 15px/1.4 var(--body); color: var(--text-2); }
.apply-form input:not([type="radio"]):not(.hp), .apply-form select, .apply-form textarea { display: block; width: 100%; min-height: 54px; margin: 0; padding: 14px 16px; border: 1px solid rgba(11,18,32,.4); border-radius: 0; background-color: #fff; color: var(--ink); font: 400 16px/1.4 var(--body); transition: border-color .15s ease, box-shadow .15s ease; }
.apply-form textarea { min-height: 132px; resize: vertical; }
.apply-form select { -webkit-appearance: none; appearance: none; padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5l4 4 4-4' stroke='%230B1220' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; text-overflow: ellipsis; cursor: pointer; }
.apply-form select:invalid { color: #737885; }
.apply-form select option { color: var(--ink); }
.apply-form ::placeholder { color: #737885; opacity: 1; }
.apply-form input:hover, .apply-form select:hover, .apply-form textarea:hover { border-color: var(--ink); }
.apply-form input:focus-visible, .apply-form select:focus-visible, .apply-form textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.apply-form [aria-invalid="true"]:not([type="radio"]) { border-color: var(--signal-ink); box-shadow: inset 0 0 0 1px var(--signal-ink); }
.apply-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.apply-opt { position: relative; display: block; min-width: 0; cursor: pointer; }
.apply-opt input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
.apply-opt > span { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 14px; align-content: start; height: 100%; padding: 16px 18px 17px; border: 1px solid rgba(11,18,32,.4); background: #fff; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.apply-opt > span::before { content: ""; grid-row: 1 / span 2; width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid var(--ink); border-radius: 50%; background: #fff; transition: background-color .15s ease, box-shadow .15s ease; }
.apply-opt b { line-height: 1.35; }
.apply-opt small { margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.apply-opt:hover > span { border-color: var(--ink); }
.apply-opt input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #FFF6F1; }
.apply-opt input:checked + span::before { background: var(--signal); box-shadow: inset 0 0 0 4px #fff; }
.apply-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.apply-opt input[aria-invalid="true"] + span { border-color: var(--signal-ink); }
.apply-opts--sm .apply-opt > span { align-items: center; padding-block: 14px; }
.apply-err { display: block; margin-top: 10px; font: 500 14.5px/1.4 var(--body); color: var(--signal-ink); }
.apply-err:empty { display: none; }
.fld .apply-err { margin-top: 0; }
.apply-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 32px; border-top: 1px solid var(--line-strong); }
.apply-submit .form-msg { min-height: 0; margin: 0; }
.apply-assure { font-size: 15px; color: var(--text-2); }
.apply-assure b { color: var(--text); }
.apply-submit .form-msg:empty { display: none; }
.apply-form .legal-note { margin-top: 20px; }
.apply-done:focus { outline: none; }
.apply-done .h3 { margin-top: 10px; }
.apply-done p:not(.label) { max-width: 34em; margin-top: 16px; color: var(--text-2); }
.apply-done p.apply-next { margin-top: 28px; font-weight: 600; color: var(--text); }
.apply-done p.apply-preview { padding: 12px 16px; border: 1px dashed var(--line-strong); font-size: 14px; line-height: 1.5; color: var(--text); }
/* community: what it costs if you join today */
.join-panel { align-self: center; }
.join-price { margin-top: 12px; font: 800 clamp(56px, 6vw, 80px)/1 var(--display); letter-spacing: -.045em; color: var(--text); }
.join-price span { margin-left: 12px; font: 600 18px/1 var(--body); letter-spacing: 0; color: var(--text-2); }
.join-later { margin-top: 12px; font-size: 17px; line-height: 1.45; color: var(--text-2); }
.join-panel .btn { width: 100%; margin-top: 32px; }
.join-panel .small { margin-top: 16px; }
.nl-band .signup-box { justify-self: stretch; }

/* ---------- the about page ---------- */
.story-side .byline { margin-top: 20px; color: var(--text-3); }
.story .prose { font-size: 19px; }
.pull { margin: 48px 0; padding-block: 28px; border-block: 1px solid var(--line-strong); }
.pull p { font: 600 clamp(22px, 2.1vw, 29px)/1.27 var(--display); letter-spacing: -.02em; color: var(--ink); }
.pull footer { margin-top: 16px; font-size: 14.5px; color: var(--text-3); }
.end-line { margin-top: 40px; font: 700 clamp(24px, 2.4vw, 32px)/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.values { border-top: 1px solid var(--line-strong); }
.value { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.value .n { grid-column: span 1; font: 800 30px/1 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.value .h3 { grid-column: 2 / span 4; }
.value p { grid-column: 7 / -1; color: var(--text-2); }
.fit .h3 { margin-bottom: 16px; }
.fit .rows > li { font-size: 17px; }
.fit .no .rows > li { color: var(--text-2); }
.purpose .big { font: 700 clamp(30px, 3.7vw, 54px)/1.1 var(--display); letter-spacing: -.03em; max-width: 1100px; }
.purpose .big .hl { color: var(--accent); }
.purpose .quote { margin-top: clamp(48px, 5vw, 72px); max-width: 760px; }

/* ---------- footer ---------- */
.site-footer { padding-block: clamp(72px, 8vw, 104px) 40px; }
.foot-grid { row-gap: 48px; }
.foot-brand { grid-column: 1 / span 6; }
.foot-brand .brand { color: #fff; }
.foot-tag { margin-top: 28px; font: 800 clamp(34px, 3.8vw, 56px)/.98 var(--display); letter-spacing: -.04em; }
.foot-nav { grid-column: 8 / span 2; }
.foot-col--wide { grid-column: 10 / -1; }
.foot-h { margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.foot-col li + li { margin-top: 8px; }
.foot-col a:not(.link) { text-decoration: none; }
.foot-col a:not(.link):hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-col p { color: var(--text-2); }
.foot-col .link { margin-top: 14px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: clamp(56px, 7vw, 96px); padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }

/* ---------- responsive ---------- */
@media (min-width: 961px) and (max-width: 1100px), (max-width: 640px) {
  .calc-inputs { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 32px; }
  .field, .field:nth-child(n+3), .lifts { display: block; grid-row: auto; }
  .lift-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .hero-copy { grid-column: 1 / span 6; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-nav { grid-column: 1 / span 4; }
  .foot-col--wide { grid-column: 5 / span 6; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .apply-panel { grid-column: 5 / -1; margin-left: 16px; }
}
@media (max-width: 960px) {
  .split > :first-child, .split > :last-child, .split--wide > :first-child, .split--wide > :last-child { grid-column: 1 / -1; }
  .hero-copy, .page-hero .hero-copy { grid-column: 1 / -1; }
  .closer-grid > .display, .closer-copy, .closer-form { grid-column: 1 / -1; grid-row: auto; }
  .closer-form { margin-top: 16px; }
  .shift-text, .shift-lists, .founder-side, .founder-main, .closer-copy, .closer-form, .hero-quote, .index, .ladder, .gym .quote, .chapter-body { grid-column: 1 / -1; }
  .chapter-num { grid-column: 1 / -1; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .block-head > :first-child, .block-head > p { grid-column: 1 / -1; }
  .phase-side, .phase-steps { grid-column: 1 / -1; }
  .apply-intro, .apply-panel { grid-column: 1 / -1; }
  .apply-intro { position: static; }
  .phase-steps { padding-left: 64px; }
  .types-head, .types { grid-column: 1 / -1; }
  .types-head p { max-width: 40em; }
  .value .n { grid-column: 1 / span 2; }
  .value .h3 { grid-column: 3 / -1; }
  .value p { grid-column: 3 / -1; }
}
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  :root { --head-h: 64px; }
  .cols, .systems, .versus { grid-template-columns: minmax(0, 1fr); }
  .cols > *, .cols > * + *, .systems > li, .systems > li + li { padding: 28px 0 32px; border-left: 0; border-bottom: 1px solid var(--line); }
  .versus > div, .versus > div:first-child, .versus > div + div { padding: 28px 0 0; border-left: 0; }
  .versus > div + div { margin-top: 48px; }
  .systems > li:last-child, .cols > *:last-child { border-bottom: 0; }
  .big-num { margin-bottom: 16px; font-size: 56px; }
  .systems { grid-template-rows: none; }
  .systems > li { display: flex; flex-direction: column; grid-row: auto; }
  .systems .link { align-self: flex-start; }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .lists-2 > div, .am > div, .lists-2 > div:first-child, .am > div:first-child, .lists-2 > div + div, .am > div + div { grid-column: 1 / -1; padding: 0; border-left: 0; }
  .rail { grid-template-columns: minmax(0, 1fr); }
  .stop { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 20px; padding: 0 0 32px; }
  .stop:not(:last-child)::after { top: 40px; bottom: 0; left: 19px; right: auto; width: 2px; height: auto; }
  .node { grid-row: span 3; }
  .role { margin-top: 0; }
  .shift-lists { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .display .br { display: inline; }
  .nl-pop-wrap { padding-inline: 0; }
  .nl-pop-card { width: 100%; margin-top: 0; padding: 28px var(--gut) 20px; }
  .display { font-size: clamp(38px, 11.6vw, 54px); line-height: .94; }
  .hero--home { min-height: clamp(560px, calc(100svh - var(--head-h)), 760px); padding-top: 56px; }
  .hero--home .display { font-size: min(54px, calc((100vw - 2 * var(--gut)) / 9.9)); }
  .hero--home .display .br { display: block; }
  .hero--home .actions { flex-direction: column; align-items: stretch; width: min(100%, 320px); margin-inline: auto; }
  .trades-label { font-size: 13.5px; }
  .trades-list li { gap: 8px; padding: 8px 14px; font-size: 16px; }
  .ico { width: 26px; height: 26px; }
  .closer-grid > .display { font-size: clamp(34px, 9.6vw, 46px); }
  .who-list > div, .kv > div, .parts > div, .phase-steps > div { grid-template-columns: minmax(0, 1fr); }
  .types { grid-template-columns: minmax(0, 1fr); }
  .type, .type:nth-child(even) { padding: 14px 0 16px; border-left: 0; }
  .index a { grid-template-columns: 44px minmax(0, 1fr) 36px; }
  .index-n { font-size: 23px; }
  .index-t { font-size: 18px; }
  .phase-steps { padding-left: 0; }
  .apply-row, .apply-opts { grid-template-columns: minmax(0, 1fr); }
  .apply-opts--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apply-opt > span { padding: 14px 16px 15px; column-gap: 12px; }
  .apply-submit .btn { width: 100%; }
  .value .n { grid-column: 1 / -1; }
  .value .h3, .value p { grid-column: 1 / -1; }
  .rung { grid-template-columns: 88px minmax(0, 1fr); column-gap: 12px; }
  .rung .amt { font-size: 21px; }
  .foot-nav, .foot-col--wide { grid-column: 1 / -1; }
  .faq summary { font-size: 19px; }
}

@media (max-width: 480px) {
  .apply-opts--sm { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1179px) { .doodles--side { display: none; } }
@media (min-width: 1180px) {   /* keep the words clear of the corner sketches */
  .doodles--side + .head { max-width: min(900px, calc(100% - 240px)); }
  .doodles--side + .definition { max-width: min(1040px, calc(100% - 240px)); }
}
@media (max-width: 960px) { .doodles { display: none; } }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.apply-opt-note { margin-left: 6px; font: 400 14px/1.4 var(--body); color: var(--text-3); }
.apply-form .fld[hidden] { display: none; }
