/* pt-serif-cyrillic-ext-400-normal */
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/pt-serif-cyrillic-ext-400-normal-DU92duxl.woff2) format('woff2'), url(/assets/pt-serif-cyrillic-ext-400-normal-DWZRXqV9.woff) format('woff');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* pt-serif-cyrillic-400-normal */
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/pt-serif-cyrillic-400-normal-B-euljER.woff2) format('woff2'), url(/assets/pt-serif-cyrillic-400-normal-D8jOFnDU.woff) format('woff');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* pt-serif-latin-ext-400-normal */
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/pt-serif-latin-ext-400-normal-B7STXmTm.woff2) format('woff2'), url(/assets/pt-serif-latin-ext-400-normal-tfSDtiqN.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* pt-serif-latin-400-normal */
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/pt-serif-latin-400-normal-Cx0mQj7e.woff2) format('woff2'), url(/assets/pt-serif-latin-400-normal-DIu_lRW0.woff) format('woff');
  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;
}/* pt-serif-cyrillic-ext-700-normal */
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/pt-serif-cyrillic-ext-700-normal-CpXZPNZI.woff2) format('woff2'), url(/assets/pt-serif-cyrillic-ext-700-normal-C7FyUQsB.woff) format('woff');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* pt-serif-cyrillic-700-normal */
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/pt-serif-cyrillic-700-normal-DvVvs_4R.woff2) format('woff2'), url(/assets/pt-serif-cyrillic-700-normal-BeN6CUoB.woff) format('woff');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* pt-serif-latin-ext-700-normal */
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/pt-serif-latin-ext-700-normal-B7jTzfC-.woff2) format('woff2'), url(/assets/pt-serif-latin-ext-700-normal-BQOBW4N0.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* pt-serif-latin-700-normal */
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/pt-serif-latin-700-normal-Bsuo9jes.woff2) format('woff2'), url(/assets/pt-serif-latin-700-normal-BnJLcJ8K.woff) format('woff');
  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;
}/* pt-serif-cyrillic-ext-400-italic */
@font-face {
  font-family: 'PT Serif';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/pt-serif-cyrillic-ext-400-italic-3ud5gcxD.woff2) format('woff2'), url(/assets/pt-serif-cyrillic-ext-400-italic-BBGP3z3x.woff) format('woff');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* pt-serif-cyrillic-400-italic */
@font-face {
  font-family: 'PT Serif';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/pt-serif-cyrillic-400-italic-Bicg0I0x.woff2) format('woff2'), url(/assets/pt-serif-cyrillic-400-italic-CGr2MaNX.woff) format('woff');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* pt-serif-latin-ext-400-italic */
@font-face {
  font-family: 'PT Serif';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/pt-serif-latin-ext-400-italic-CBoOQ8LN.woff2) format('woff2'), url(/assets/pt-serif-latin-ext-400-italic-C59QcYwb.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* pt-serif-latin-400-italic */
@font-face {
  font-family: 'PT Serif';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/pt-serif-latin-400-italic-zg5EJ2cW.woff2) format('woff2'), url(/assets/pt-serif-latin-400-italic-Hdd9Jed5.woff) format('woff');
  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;
}/* courier-prime-latin-ext-400-normal */
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/courier-prime-latin-ext-400-normal-B-EsvyE4.woff2) format('woff2'), url(/assets/courier-prime-latin-ext-400-normal-CKOCNFvK.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* courier-prime-latin-400-normal */
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/courier-prime-latin-400-normal-BbyBr73r.woff2) format('woff2'), url(/assets/courier-prime-latin-400-normal-BAlbUm6l.woff) format('woff');
  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;
}/* schibsted-grotesk-latin-ext-400-normal */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/schibsted-grotesk-latin-ext-400-normal-DHVTfbSM.woff2) format('woff2'), url(/assets/schibsted-grotesk-latin-ext-400-normal-DUPvg9bQ.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* schibsted-grotesk-latin-400-normal */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/schibsted-grotesk-latin-400-normal-DPhJBilQ.woff2) format('woff2'), url(/assets/schibsted-grotesk-latin-400-normal-BkiRe4WW.woff) format('woff');
  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;
}/* schibsted-grotesk-latin-ext-500-normal */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/schibsted-grotesk-latin-ext-500-normal-Ch1izu81.woff2) format('woff2'), url(/assets/schibsted-grotesk-latin-ext-500-normal-BjmYCtCC.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* schibsted-grotesk-latin-500-normal */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/schibsted-grotesk-latin-500-normal-rf9C4Thp.woff2) format('woff2'), url(/assets/schibsted-grotesk-latin-500-normal-Ba39e-CX.woff) format('woff');
  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;
}/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
@layer utilities {
  @media (min-width: 961px) {
    .min-\[961px\]\:hidden {
      display: none;
    }
  }
}
:root {
  --paper: #ffffff;
  --cream: #f5f1e8;
  --cream-2: #ebe4d4;
  --ink: #141413;
  --ink-2: #55534d;
  --rule: #dcd6c8;
  --link: #2c5fb3;
  --night-text: #f5f1e8;
  --night-muted: #b9b3a5;
  --night-rule: #3a3935;

  --display: "PT Serif", Georgia, serif;
  --serif: "PT Serif", Georgia, serif;
  --sans: "Schibsted Grotesk", system-ui, sans-serif;
  --type: "Courier Prime", "Courier New", monospace;

  --gutter: clamp(20px, 4.5vw, 72px);
  --inset: clamp(6px, 0.6vw, 9px);
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink-2) var(--cream); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--paper); color: var(--ink); font: 18px/1.6 var(--serif); caret-color: var(--link); }
::selection { background: var(--ink); color: var(--cream); }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }
img, svg { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- nav ---------- */
/* nav: full width on the painting; past the hero it gathers into a floating pill */
.nav { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: 100%; z-index: 20; display: flex; align-items: center; gap: 36px; height: var(--nav-h); padding: 0 clamp(20px, 2.6vw, 40px); background: transparent; border-radius: 0; box-shadow: none;
  transition: width .7s var(--ease-out), top .7s var(--ease-out), height .7s var(--ease-out), padding .7s var(--ease-out), gap .7s var(--ease-out), border-radius .7s var(--ease-out), background .5s, box-shadow .7s; }
.nav.scrolled { top: 12px; width: min(880px, calc(100% - 24px)); height: 56px; gap: 24px; padding: 0 8px 0 26px; border-radius: 999px; background: color-mix(in srgb, var(--cream) 86%, transparent); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); box-shadow: 0 1px 2px rgba(20,20,19,.06), 0 12px 32px -16px rgba(20,20,19,.32); }
.nav.scrolled .tagline, .nav.scrolled .progress { display: none; }
.nav.scrolled .nav-links { gap: 22px; }
.nav.scrolled .nav-cta .btn { border-radius: 999px; }
.nav.scrolled .mark { font-size: 23px; }
.nav:not(.scrolled) .nav-links a { color: var(--ink); }
.brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.tagline { padding-left: 18px; border-left: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); font: 400 14px/1.3 var(--sans); color: var(--ink); white-space: nowrap; }
@media (max-width: 1240px) { .tagline { display: none; } }
.mark { font: italic 400 26px/1 var(--display); letter-spacing: -0.01em; text-decoration: none; }
.nav-links { display: flex; gap: 30px; margin-left: auto; font: 500 15px/1 var(--sans); }
.nav-links a { text-decoration: none; color: var(--ink-2); padding: 8px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; }
.progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--ink); border-radius: 4px; height: 40px; padding: 0 14px; font: 500 15px/1 var(--sans); color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 4px; font: 500 15px/1 var(--sans); text-decoration: none; border: 1px solid var(--ink); cursor: pointer; transition: background .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out); white-space: nowrap; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2a2926; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }
.btn-sm { height: 40px; padding: 0 16px; }

/* ---------- hero ---------- */
/* warm paper: white at the heart, cream at the edges, so it melts into the cream section below */
.hero { position: absolute; inset: 0; background: var(--cream); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.hero-frame { position: relative; height: 100%; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  background: var(--cream) url("/assets/painting-DHwSBEXO.jpg") center / cover no-repeat; } /* fallback when WebGL is unavailable */
.js .hero-frame:not(.no-field) { background-image: none; } /* with JS, only once the field fails: no flash before its first frame */
.hero-field { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; 
  image-rendering: pixelated; }
.hero-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: clamp(36px, 5vh, 60px); padding: 6vh 0 8vh; will-change: transform, opacity; }
.lockup { font-size: clamp(96px, 16vw, 268px); }
.line { display: flex; align-items: last baseline; gap: 0.1em; }
.line + .line { margin-left: 0.62em; margin-top: -0.08em; }
.word { font: italic 400 1em/0.92 var(--display); letter-spacing: -0.03em; }
/* reserved width keeps the centred lockup still while phrases are typed and erased */
.slot { font: 400 clamp(18px, 1.7vw, 27px)/1.3 var(--serif); width: 13em; min-height: 1.4em; white-space: nowrap; display: flex; align-items: flex-end; padding-bottom: 0.18em; color: var(--ink); }
.slot span { display: inline; }
.caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: var(--ink); }
.caret.idle { animation: blink 1.1s ease-in-out infinite; }
@keyframes blink { 0%, 45% { opacity: 1; } 55%, 100% { opacity: 0; } }
.hero-actions .btn { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 999px; }
.hero-actions .btn svg { transition: transform .4s var(--ease-out); }
.hero-actions .btn:hover svg { transform: translateY(3px); }
/* load: the words surface out of the paper, then the button */
.js .hero .word, .js .hero .hero-actions { opacity: 0; filter: blur(10px); transform: translateY(0.06em); transition: opacity 1.6s var(--ease-out), filter 1.6s var(--ease-out), transform 1.8s var(--ease-out); }
.js .hero .hero-actions { transform: translateY(14px); transition-delay: .7s; }
.js .hero .line + .line .word { transition-delay: .22s; }
.js .hero.ready .word, .js .hero.ready .hero-actions { opacity: 1; filter: none; transform: none; }

/* ---------- sections ---------- */
section.block { padding: clamp(88px, 12vw, 168px) var(--gutter); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
h2 { font: 400 clamp(40px, 5.2vw, 76px)/1.04 var(--display); letter-spacing: -0.025em; text-wrap: balance; }
h2 em { font-style: italic; }
.sec-head p { font-size: 20px; color: var(--ink-2); max-width: 46ch; justify-self: end; }

.facts { display: flex; gap: 32px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); font: 400 15px/1.4 var(--type); color: var(--ink-2); }
.facts b { display: block; font: 400 34px/1.1 var(--display); color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }

/* results */
.ledger { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.stat { padding: 30px 28px 32px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--rule); }
.stat b { display: block; font: 400 clamp(52px, 6vw, 88px)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: lining-nums tabular-nums; }
.stat span { display: block; margin-top: 12px; font: 400 15px/1.45 var(--type); color: var(--ink-2); }

/* roadmap */
.when { font: 400 15px/1 var(--type); color: var(--ink-2); display: block; margin-bottom: 14px; }

/* install (the night close) */
.night { background: var(--ink); color: var(--night-text); }
.night .sec-head p { color: var(--night-muted); }
.night :focus-visible { outline-color: var(--night-text); }
.install { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.addr-label { font: 400 15px/1 var(--type); color: var(--night-muted); margin-bottom: 12px; display: block; }
.install > * { min-width: 0; }
.addr #addr { white-space: nowrap; }
@media (max-width: 960px) { .addr #addr { white-space: normal; overflow-wrap: anywhere; } }
.addr { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--night-rule); border-radius: 6px; font: 400 clamp(15px, 1.3vw, 20px)/1.2 var(--type); }
.copy { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; background: transparent; border: 1px solid var(--night-rule); border-radius: 4px; color: var(--night-text); font: 500 14px/1 var(--sans); cursor: pointer; }
.copy:hover { border-color: var(--night-text); }
.copy svg { width: 15px; height: 15px; }
.no-auth { margin-top: 16px; font-size: 17px; color: var(--night-muted); }
.big-add { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.big-add .btn { height: 56px; padding: 0 28px; font-size: 17px; }
.night .btn-ink { background: var(--night-text); color: var(--ink); border-color: var(--night-text); }
.night .btn-ink:hover { background: #fff; }
.night .btn-line { color: var(--night-text); border-color: var(--night-text); }
.night .btn-line:hover { background: var(--night-text); color: var(--ink); }

.tabs { border: 1px solid var(--night-rule); border-radius: 6px; overflow: hidden; }
.tablist { display: flex; border-bottom: 1px solid var(--night-rule); }
.tablist button { flex: 1; height: 50px; background: none; border: 0; border-right: 1px solid var(--night-rule); color: var(--night-muted); font: 500 15px/1 var(--sans); cursor: pointer; }
.tablist button:last-child { border-right: 0; }
.tablist button[aria-selected="true"] { color: var(--ink); background: var(--night-text); }
.tabpanel { padding: 28px 28px 30px; font-size: 17px; line-height: 1.6; }
/* every panel shares one cell, so the box keeps the height of the tallest (Other clients) whichever tab is open */
.tabs { display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); }
.tabpanel { grid-row: 2; grid-column: 1; min-width: 0; }
.tabpanel[hidden] { display: block; visibility: hidden; }
.tabpanel b { font-weight: 700; }
.tabpanel a { color: var(--night-text); }
.tabpanel pre { margin-top: 18px; padding: 16px 18px; background: #1f1e1c; border-radius: 4px; font: 400 15px/1.55 var(--type); color: var(--night-text); overflow-x: auto; white-space: pre; }
.tabpanel .hint { margin-top: 14px; font-size: 15px; color: var(--night-muted); }

footer.site { background: var(--ink); color: var(--night-muted); padding: 0 var(--gutter) 40px; }
.foot-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; padding-top: 40px; border-top: 1px solid var(--night-rule); }
.foot-inner .mark { color: var(--night-text); font-size: 40px; display: block; margin-bottom: 12px; }
.foot-inner p { font-size: 17px; }
.foot-links { display: flex; gap: 26px; font: 500 15px/1 var(--sans); }
.foot-links a { text-decoration: none; color: var(--night-muted); }
.foot-links a:hover { color: var(--night-text); }

/* ---------- motion (JS adds .js; without it everything is simply visible) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.js .typed-h .t-char { opacity: 0; }
.js .typed-h .t-char.on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .js .typed-h .t-char { opacity: 1; }
  .caret.idle { animation: none; }
  .js .hero .word, .js .hero .hero-actions { opacity: 1; filter: none; transform: none; transition: none; }
}

/* ---------- contact page ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); padding: calc(var(--nav-h) + clamp(48px, 7vw, 104px)) var(--gutter) clamp(64px, 9vw, 128px); min-height: calc(100svh - 68px); align-items: start; }
.contact h1 { font: 400 clamp(56px, 8vw, 120px)/0.98 var(--display); letter-spacing: -0.03em; }
.contact h1 em { font-style: italic; }
.contact .intro { margin-top: 28px; font-size: 21px; color: var(--ink-2); max-width: 36ch; }
/* the 404: the contact layout on cream, with the valley's ASCII behind and a dithered plate beside */
.lost { position: relative; overflow: hidden; background: var(--cream); align-items: center; }
.lost > :not(pre) { position: relative; z-index: 1; }
.lost pre.ascii-bg { opacity: .34; } /* stronger than behind the deck, where it sits under slides */
.lost .dither-plate { width: min(100%, 420px); justify-self: center; }
.lost-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
@media (max-width: 960px) { .lost .dither-plate { width: min(100%, 300px); } }
.contact .direct { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule); font: 400 15px/1.7 var(--type); color: var(--ink-2); }
form.card { background: var(--cream); border: 1px solid var(--rule); border-radius: 6px; padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font: 500 15px/1.2 var(--sans); }
.field label small { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; font: 400 17px/1.4 var(--serif); color: var(--ink); background: var(--paper); border: 1px solid #bdb6a6; border-radius: 4px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 25%, transparent); }
.field .err { display: none; font: 400 14px/1.3 var(--sans); color: #a2311f; }
.field.bad input, .field.bad textarea, .field.bad select { border-color: #a2311f; }
.field.bad .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.form-foot p { font: 400 14px/1.4 var(--sans); color: var(--ink-2); max-width: 32ch; }
.form-foot .btn[disabled] { opacity: .55; cursor: progress; }
.sent { display: none; padding: 8px 0; }
.sent h2 { font-size: clamp(32px, 3.4vw, 48px); margin-bottom: 14px; }
.sent p { color: var(--ink-2); }
form.card.done > :not(.sent) { display: none; }
form.card.done .sent { display: block; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .tagline { display: none; }
  :root { --nav-h: 60px; }
  .nav.scrolled { width: calc(100% - 20px); height: 52px; padding: 0 6px 0 20px; }
  .nav.scrolled .menu-btn { border-radius: 999px; }
  .nav.open .nav-links { display: grid; position: absolute; top: calc(100% + 8px); left: 0; right: 0; gap: 0; background: var(--cream); border-radius: 18px; box-shadow: 0 12px 32px -16px rgba(20,20,19,.32); padding: 8px var(--gutter) 16px; }
  .nav.open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
  .lockup { font-size: clamp(88px, 27vw, 200px); }
  .line { flex-direction: column; align-items: center; gap: 4px; }
  .line + .line { margin-left: 0; margin-top: 0.12em; }
  .slot { font-size: 18px; width: auto; min-width: 16em; justify-content: center; text-align: center; }
  .sec-head, .install, .contact, .foot-inner { grid-template-columns: 1fr; }
  .sec-head p { justify-self: start; }
  .ledger { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .row2 { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .foot-links { flex-wrap: wrap; }
  .tablist button { font-size: 14px; }
}

/* Try the plugin: the arrow keeps falling while the page travels; Add to Claude rings once on arrival */
.btn.going svg { animation: drop .75s var(--ease-out) infinite; }
@keyframes drop { 0% { transform: translateY(-5px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(7px); opacity: 0; } }
.night .caret { background: var(--night-text); }
.btn.pulse { animation: ring 1.3s var(--ease-out) 2; }
@keyframes ring { 0% { outline: 2px solid rgba(245,241,232,0); outline-offset: 0; } 25% { outline: 2px solid rgba(245,241,232,.9); outline-offset: 3px; } 100% { outline: 2px solid rgba(245,241,232,0); outline-offset: 16px; } }
#install-title:focus, .typed-h:focus, .hiw:focus, #top h1:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { .btn.going svg, .btn.pulse { animation: none; } }

/* ---------- story: hero → screen → deck ---------- */
.story { position: relative; height: 540vh; background: var(--cream); }
.marker { position: absolute; left: 0; width: 1px; height: 1px; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--cream); perspective: 1900px; }
/* copy and screen as one centred composition */
.stage-grid { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); align-items: center; gap: clamp(40px, 5vw, 88px); max-width: 1380px; margin: 0 auto; padding: 132px var(--gutter) 40px; pointer-events: none; }
.screen-slot { width: min(100%, calc((100vh - 240px) * 1.6)); aspect-ratio: 16 / 10; justify-self: center; visibility: hidden; }
.screen-frame { position: absolute; z-index: 2; border-radius: 14px; pointer-events: none; opacity: 0; box-shadow: 0 0 0 1px rgba(20,20,19,.85), 0 30px 70px -40px rgba(20,20,19,.45); }
.story-copy { position: relative; display: grid; pointer-events: auto; }
/* a cream curtain for jumps that would otherwise scroll through the whole deck */
.curtain { position: fixed; inset: 0; z-index: 40; background: var(--cream); opacity: 0; pointer-events: none; transition: opacity .32s var(--ease-out); }
.curtain.on { opacity: 1; pointer-events: auto; }
.step { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); filter: blur(6px); pointer-events: none; transition: opacity .7s var(--ease-out), transform .8s var(--ease-out), filter .7s var(--ease-out); }
.step.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.step h3.lead { font-size: clamp(36px, 3.6vw, 56px); line-height: 1.04; }
.step h3 { font: 400 clamp(28px, 2.6vw, 40px)/1.12 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.step h3 em { font-style: italic; }
.step p { margin-top: 20px; color: var(--ink-2); font-size: 19px; max-width: 38ch; }
.step .facts { margin-top: 26px; }

.deck { position: absolute; z-index: 2; perspective: 1700px; container-type: inline-size; pointer-events: none; }
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 4.2cqw 4.8cqw; border-radius: 14px; overflow: hidden; opacity: 0; visibility: hidden;
  background: #fcfaf5; transform-style: preserve-3d; backface-visibility: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .28 0 0 0 0 .24 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.slide.on, .slide.leaving { visibility: visible; }
.slide.on { opacity: 1; }
/* the pop: spin in from the side, overshoot toward the viewer, settle */
.slide.in-f { animation: popInF .95s cubic-bezier(.2,.8,.2,1) both; }
.slide.in-b { animation: popInB .95s cubic-bezier(.2,.8,.2,1) both; }
.slide.out-f { animation: popOutF .6s cubic-bezier(.6,0,.8,.4) both; }
.slide.out-b { animation: popOutB .6s cubic-bezier(.6,0,.8,.4) both; }
@keyframes popInF { 0% { opacity: 0; transform: rotateY(-115deg) translateZ(-320px) scale(.82); } 55% { opacity: 1; transform: rotateY(9deg) translateZ(110px) scale(1.035); } 100% { opacity: 1; transform: none; } }
@keyframes popInB { 0% { opacity: 0; transform: rotateY(115deg) translateZ(-320px) scale(.82); } 55% { opacity: 1; transform: rotateY(-9deg) translateZ(110px) scale(1.035); } 100% { opacity: 1; transform: none; } }
@keyframes popOutF { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: rotateY(115deg) translateZ(-320px) scale(.82); } }
@keyframes popOutB { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: rotateY(-115deg) translateZ(-320px) scale(.82); } }

.slide header { display: flex; justify-content: space-between; font: 400 1.25cqw/1 var(--type); color: var(--ink-2); padding-bottom: 1.6cqw; border-bottom: 1px solid var(--rule); }
.slide h4 { font: 400 3.5cqw/1.12 var(--display); letter-spacing: -0.02em; margin-top: 3cqw; max-width: 30ch; text-wrap: balance; }
.slide footer { margin-top: auto; padding-top: 1.4cqw; border-top: 1px solid var(--rule); font: 400 1.15cqw/1.3 var(--type); color: var(--ink-2); }

.s-title .title-body { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 4cqw; align-items: center; }
.s-title h4 { font-size: 5.4cqw; font-style: italic; margin-top: 0; }
.s-title .kick { margin-top: 2cqw; font: 400 1.4cqw/1.3 var(--type); color: var(--ink-2); }
.s-title .by { margin-top: 1cqw; font: 400 1.6cqw/1.4 var(--sans); color: var(--ink-2); }
.dither-plate { width: 100%; aspect-ratio: 4 / 5; border-radius: 8px; image-rendering: pixelated; box-shadow: 0 0 0 1px var(--rule); }

.s-library .cmd { margin-top: 2.6cqw; font: 400 1.6cqw/1 var(--type); }
.lib { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw 2.4cqw; margin-top: 2.6cqw; }
.lib figure { display: grid; gap: 1cqw; align-content: start; }
.lib figcaption { font: 400 1.6cqw/1.2 var(--serif); }

.lines { list-style: none; margin-top: 2.6cqw; display: grid; gap: .2cqw; }
.lines li { display: grid; grid-template-columns: 4.5cqw 1fr auto; align-items: baseline; padding: 1.15cqw 0; border-bottom: 1px solid var(--rule); font: 400 2cqw/1.3 var(--serif); }
.lines b { font: 400 1.4cqw/1 var(--type); color: var(--ink-2); font-weight: 400; }
.lines i { font: 400 1.25cqw/1 var(--type); font-style: normal; color: var(--ink-2); }
.lines i.edit { color: var(--link); }

/* ---------- the hero's look, carried down the page ---------- */
/* paper grain over everything */
body::after { content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .32 0 0 0 0 .27 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* dotted halftone rules instead of solid hairlines */
.ledger { border-top: 0; border-bottom: 0; background: radial-gradient(circle, var(--ink) 45%, transparent 50%) top left / 5px 3px repeat-x, radial-gradient(circle, var(--ink-2) 40%, transparent 46%) bottom left / 5px 3px repeat-x; }

@media (max-width: 960px) {
  .stage-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 28px; padding: 122px var(--gutter) 24px; }
  .hiw { font-size: 26px; }
  .screen-slot { grid-row: 1; width: 100%; }
  .story-copy { grid-row: 2; }
  .step h3.lead { font-size: 30px; } .step h3 { font-size: 26px; } .step p { font-size: 16px; margin-top: 12px; }
  .step .facts { margin-top: 14px; }
  .slide { padding: 4.5cqw 5cqw; } .slide header { font-size: 2.2cqw; } .slide footer { font-size: 2cqw; }
  .slide h4 { font-size: 4.6cqw; } .s-title h4 { font-size: 6.4cqw; }
  .lines li { font-size: 2.8cqw; } .lib figcaption { font-size: 2.4cqw; }
}
@media (prefers-reduced-motion: reduce) { .slide.in-f, .slide.in-b, .slide.out-f, .slide.out-b { animation: none; } .step { transition: none; } }
/* without JS nothing drives the story, so it reads as a static stack: the hero, the heading, the steps, then the slides */
html:not(.js) .story { height: auto; }
html:not(.js) .stage { position: relative; height: auto; display: flex; flex-direction: column; }
html:not(.js) .flipper { position: relative; order: -1; height: 100vh; height: 100svh; }
html:not(.js) .hiw { position: static; padding: 72px var(--gutter) 0; opacity: 1; transform: none; filter: none; pointer-events: auto; }
html:not(.js) .stage-grid { position: static; display: block; width: 100%; padding-top: 40px; pointer-events: auto; }
html:not(.js) .screen-slot { display: none; }
html:not(.js) .story-copy { gap: 48px; }
html:not(.js) .step { grid-area: auto; opacity: 1; transform: none; filter: none; pointer-events: auto; }
html:not(.js) .deck { position: relative; align-self: center; width: min(100% - 2 * var(--gutter), 1100px); display: grid; gap: 32px; padding-bottom: 72px; pointer-events: auto; }
html:not(.js) .deck .slide { position: relative; inset: auto; aspect-ratio: 16 / 10; opacity: 1; visibility: visible; }

/* ---------- naturalistic ASCII, in the hero's print voice ---------- */
pre.ascii-hills, pre.ascii-tree { font: 400 9px/1 var(--type); letter-spacing: 0; margin: 0; user-select: none; pointer-events: none; }
section.block { position: relative; }
pre.ascii-hills span { display: block; will-change: transform; }
pre.ascii-tree { color: var(--ink); opacity: .7; font-size: 11px; line-height: 1.05; margin-bottom: 18px; }
section.night { padding-bottom: 0; overflow: hidden; }
#install { border-top: 0; background-image: radial-gradient(circle, var(--night-rule) 40%, transparent 46%); background-size: 6px 3px; background-repeat: repeat-x; background-position: var(--gutter) 0; }
section.night .install { padding-bottom: clamp(56px, 7vw, 96px); }
pre.ascii-hills { color: var(--night-text); opacity: .3; font-size: 8px; text-align: center; margin: 0 calc(var(--gutter) * -1);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%); mask-image: linear-gradient(to bottom, transparent, #000 40%); }
@media (max-width: 960px) { pre.ascii-hills { font-size: 6px; } }

/* the hero card: front is the painting (.hero), back is the first slide */
.flipper { position: absolute; inset: 0; z-index: 4; transform-style: preserve-3d; transform-origin: 50% 50%; }
.face.back { position: absolute; overflow: hidden; container-type: inline-size; transform: rotateY(180deg); -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 0 0 1px rgba(20,20,19,.85); }
.face.back .slide { opacity: 1; visibility: visible; border-radius: 0; }

/* slides built from real library layouts */
.lib img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--rule); border-radius: 3px; background: #fff; mix-blend-mode: multiply; }
.lib { gap: 2cqw 2.4cqw; }
.s-story .lines { gap: 0; margin-top: 1.8cqw; }
.s-story .lines li { padding: .62cqw 0; font-size: 1.75cqw; }
.s-built .built { flex: 1; display: grid; place-items: center; margin: 2cqw 0 1.4cqw; }
.s-built .built img { width: 100%; max-height: 100%; object-fit: contain; border: 1px solid var(--rule); border-radius: 4px; mix-blend-mode: multiply; }

/* the valley in ASCII, faint behind the slideshow */
pre.ascii-bg { position: absolute; inset: 0; z-index: 0; margin: 0; font: 400 9px/1 var(--type); color: var(--ink-2); opacity: .22; text-align: center; overflow: hidden; user-select: none; pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 50%, #000 40%, transparent 85%); mask-image: radial-gradient(120% 90% at 50% 50%, #000 40%, transparent 85%); }
pre.ascii-bg span { display: block; will-change: transform; }
@media (max-width: 960px) { pre.ascii-bg { font-size: 6px; } }

/* "How it works": one header for the whole slideshow, centred at the top of the stage */
.hiw { position: absolute; z-index: 3; top: 0; left: 0; right: 0; text-align: center; font: 400 clamp(32px, 3vw, 46px)/1 var(--display); letter-spacing: -0.02em; opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out), filter .8s var(--ease-out); pointer-events: none; }
.hiw.on { opacity: 1; transform: none; filter: none; }
.step-cta { margin-top: 28px; border-radius: 999px; height: 50px; padding: 0 24px; }

/* the ASCII climb: a full-screen canvas that swarms up between the deck and Impact */
.ascii-curtain { position: fixed; inset: 0; z-index: 35; width: 100%; height: 100%; pointer-events: none; display: none; }
.ascii-curtain.on { display: block; pointer-events: auto; }

/* Impact: the stats pop in on black, numbers rolling up */
/* the climb lands below a band of black (--buffer), so there is room to scroll back before the deck returns */
section.block.impact { --buffer: 40vh; padding-top: var(--buffer); padding-bottom: 0; }
.impact-main { min-height: calc(100vh - 150px); min-height: calc(100svh - 150px); display: flex; flex-direction: column; justify-content: center; padding: 84px 0 8px; }
.impact .sec-head { margin-bottom: clamp(32px, 3.6vw, 52px); }
.night h2 { color: var(--night-text); }
.night .ledger { background: radial-gradient(circle, var(--night-muted) 42%, transparent 48%) top left / 5px 3px repeat-x, radial-gradient(circle, var(--night-rule) 42%, transparent 48%) bottom left / 5px 3px repeat-x; }
.night .stat + .stat { border-left-color: var(--night-rule); }
.night .stat b { color: var(--night-text); }
.night .stat span { color: var(--night-muted); }
.js .impact .stat[data-reveal] { transform: translateY(36px) scale(.9); }
.js .impact .stat[data-reveal].in { transform: none; transition-timing-function: cubic-bezier(.2,1.3,.4,1); }
@media (max-width: 960px) { .night .stat:nth-child(n+3) { border-top-color: var(--night-rule); } }

/* a potted ASCII plant at the foot of each stat; only the leaves sway */
.impact .stat { position: relative; display: flex; flex-direction: column; }
@media (min-width: 961px) { .impact .stat { padding-right: clamp(76px, 6.6vw, 100px); padding-top: 62px; } .impact .stat span { font-size: clamp(12.5px, 0.94vw, 13.5px); } }
pre.plant { position: absolute; bottom: 30px; right: clamp(14px, 1.5vw, 22px); margin: 0; font: 400 clamp(10px, 0.8vw, 11.5px)/1.08 var(--type); color: var(--night-muted); opacity: .75; pointer-events: none; user-select: none; }
pre.plant span { display: block; }
pre.plant .leaf { transform-origin: 36px 100%; animation: plantsway 5.5s ease-in-out infinite; }
pre.plant .pot { opacity: .8; }
.stat:nth-child(2) .leaf { animation-delay: -1.4s; } .stat:nth-child(3) .leaf { animation-delay: -2.8s; } .stat:nth-child(4) .leaf { animation-delay: -4.1s; }
@keyframes plantsway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { pre.plant .leaf { animation: none; } }

/* trusted by */
.trusted { margin-top: clamp(26px, 3vw, 40px); display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); flex-wrap: wrap; }
.trusted p { font: 400 14px/1.3 var(--type); color: var(--night-muted); }
.trusted ul { list-style: none; display: flex; flex-wrap: wrap; gap: clamp(22px, 3.2vw, 52px); align-items: center; }
.trusted li { display: flex; align-items: center; gap: 12px; }
.trusted img { height: 46px; width: auto; filter: grayscale(1) invert(1) contrast(1.2); mix-blend-mode: screen; opacity: .82; }
.trusted span { font: 400 16px/1.2 var(--serif); color: var(--night-text); opacity: .85; }

/* the orb at the bottom of Impact */
.portal { position: relative; height: 150px; display: grid; place-items: center; }
.portal > * { position: absolute; left: 50%; top: 50%; border-radius: 50%; }
.orb { width: 22px; height: 22px; margin: -11px 0 0 -11px; background: #fff; transform: scale(var(--o, 1)); box-shadow: 0 0 0 0 rgba(255,255,255,.2); }
.portal .ring { width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 1px solid rgba(245,241,232,.85); transform: scale(var(--s, 1)); opacity: var(--a, 0); }

/* roadmap as a vertical timeline, entries alternating either side of the spine */
section.block.roadmap { padding-top: 0; padding-bottom: clamp(140px, 16vw, 240px); }
.road-head { position: relative; z-index: 2; text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 72px); padding: 34px 48px; background: radial-gradient(closest-side, var(--ink) 72%, transparent); }
.road-head p { margin: 18px auto 0; color: var(--night-muted); font-size: 20px; max-width: 46ch; }
.vroad { position: relative; display: grid; gap: clamp(28px, 4vw, 56px); max-width: 1100px; margin: 0 auto; }
.spine { position: absolute; left: 50%; width: 3px; margin-left: -1.5px; mix-blend-mode: difference; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.45) 40%, transparent 46%) center top / 3px 7px repeat-y; }
.spine i { position: absolute; inset: 0; background: #fff; transform-origin: 50% 0; transform: scaleY(var(--fill, 0)); }
.ventry { position: relative; width: 50%; }
.ventry.left { justify-self: start; padding-right: clamp(36px, 5vw, 72px); }
.ventry.right { justify-self: end; padding-left: clamp(36px, 5vw, 72px); }
.ventry + .ventry { margin-top: -6vw; }
.ventry .node { position: absolute; top: 34px; width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--night-muted); background: var(--ink); z-index: 1; transition: background .4s var(--ease-out), transform .4s var(--ease-out); }
.ventry.left .node { right: -8.5px; } .ventry.right .node { left: -8.5px; }
.ventry.lit .node { background: var(--night-text); border-color: var(--night-text); transform: scale(1.15); }
/* each phase arrives when the line reaches its node */
.ventry .card { padding: 22px 4px 8px; opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out), filter .9s var(--ease-out); }
.ventry.lit .card { opacity: 1; transform: none; filter: none; }
.ventry.left .card { text-align: right; }
.ventry.left .card ul { justify-items: end; }
.ventry .card ul { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 28px; }
/* left-hand lists mirror the right-hand ones: they fill from the spine side outward */
.ventry.left .card ul { direction: rtl; justify-content: start; justify-items: start; }
.ventry.left .card ul li { direction: ltr; text-align: right; }
.night .ventry .card p, .night .ventry .card ul, .night .when { color: var(--night-muted); }
.night .ventry .card ul { border-top-color: var(--night-rule); }
.night .ventry .card ul li::before { color: var(--night-text); }
.night .ventry .card a.inline { color: var(--night-text); }
.night pre.ascii-tree { color: var(--night-text); }
.ventry.left pre.ascii-tree { display: inline-block; text-align: left; }
@media (prefers-reduced-motion: reduce) { .ventry .card { opacity: 1; transform: none; filter: none; transition: none; } }
html:not(.js) .ventry .card { opacity: 1; transform: none; filter: none; }
.ventry .card h3 { font: 400 clamp(28px, 2.6vw, 38px)/1.12 var(--display); letter-spacing: -0.02em; margin-bottom: 12px; }
.ventry .card h3 em { font-style: italic; }
.ventry .card p { color: var(--ink-2); }
.ventry .card ul { list-style: none; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); font: 400 15px/1.5 var(--sans); color: var(--ink-2); display: grid; gap: 6px; }
.ventry .card ul li::before { content: "— "; color: var(--ink); }
.ventry .card a.inline { display: inline-block; margin-top: 16px; font: 500 15px/1 var(--sans); color: var(--link); }
@media (max-width: 960px) {
  .stat span { font-size: 13px; }
  .trusted { flex-direction: column; align-items: flex-start; }
  .trusted { gap: 14px; }
  .trusted ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .trusted img { height: 28px; } .trusted span { font-size: 12.5px; }
  pre.plant { position: static; margin: auto 0 0; padding-top: 12px; }
  .impact .sec-head { margin-bottom: 22px; } .impact .stat { padding-top: 18px; padding-bottom: 18px; }
  .vroad { gap: 44px; }
  .ventry, .ventry.left, .ventry.right { width: 100%; padding: 0; justify-self: stretch; }
  .ventry + .ventry { margin-top: 0; }
  .ventry .node, .ventry.left .node, .ventry.right .node { top: -26px; left: 50%; right: auto; margin-left: -8.5px; }
  .ventry .card, .ventry.left .card { background: var(--ink); text-align: left; padding: 18px 8px; }
  .ventry.left .card ul { direction: ltr; justify-items: start; justify-content: start; }
  .ventry.left .card ul li { text-align: left; }
  .ventry .card ul { grid-template-columns: 1fr 1fr; column-gap: 16px; font-size: 13.5px; }
  pre.plant { font-size: 8.5px; }
}

/* the roadmap's landscape: the painting's poplars in pale marks, faint behind the timeline */
pre.ascii-bg.road-bg { color: var(--night-text); opacity: .26;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 82%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 82%, transparent); }
.roadmap .vroad { z-index: 1; }

/* install tabs: the add action lives inside each tab */
.tabpanel .tab-cta { margin-top: 24px; width: 100%; height: 62px; padding: 0 24px; font-size: 17px; gap: 12px; }
.tabpanel .tab-cta svg { width: 18px; height: 18px; }
.night .tabpanel .tab-cta.btn-ink { background: var(--night-text); color: var(--ink); border-color: var(--night-text); }
.night .tabpanel .tab-cta.btn-ink:hover { background: #fff; }
.tabpanel .aside { color: var(--night-muted); }
.big-add .btn svg { width: 18px; height: 18px; }

/* ---- contact form: send errors and the honeypot ---- */
.form-foot .form-err { width: 100%; max-width: none; color: #a2311f; }
.form-foot:has(.form-err) { flex-wrap: wrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- tap targets: controls drawn smaller than 44px get an invisible hit area that reaches it ---- */
a.mark, .menu-btn, .copy, .foot-links a, a.inline { position: relative; }
a.mark::after, .menu-btn::after, .copy::after, .foot-links a::after, a.inline::after { content: ""; position: absolute; }
a.mark::after { inset: -11px 0; }
/* the bordered buttons' areas start inside their 1px border, hence the extra pixel */
.menu-btn::after { inset: -3px; }
.copy::after { inset: -5px; }
.foot-links a::after { inset: -14.5px -4px; }
a.inline::after { inset: -14.5px 0; }
