/* /preview/ — the night version: near-black with film grain, one painted landscape, light grotesk headlines,
   small mono labels, glass pills and cards; every picture of the program a real screenshot. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 600; font-display: swap;
             src: url('/fonts/inter-latin-opsz-wght.woff2') format('woff2-variations'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
             src: url('/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }

[hidden] { display: none !important; }   /* a class's display (.form is a grid) must not undo hidden */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --ink: #ededeb;
  --ink-2: #a3a3a0;
  --ink-3: #6f6f6c;
  --line: rgba(255, 255, 255, .09);
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .08);
  --terracotta: #c4856a;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --page: 1200px;   /* one page width for the menu, the hero, every section and the footer */
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55;
       font-variation-settings: 'opsz' 16; -webkit-font-smoothing: antialiased; }
/* film grain over everything, very faint */
body::after { content: ''; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { margin: 0; font-weight: 400; letter-spacing: -0.035em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 32px, var(--page)); margin: 0 auto; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ── menu ── */
.nav { position: fixed; z-index: 40; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
       gap: 1rem; padding: 14px max(16px, calc((100vw - var(--page)) / 2)); transition: background .25s ease, border-color .25s ease;
       border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(10, 10, 10, .62); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
                   border-bottom-color: var(--line); }
.nav__brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-size: 1.12rem; font-weight: 500; letter-spacing: -0.02em; }
.nav__brand svg { width: 1.6rem; height: auto; margin-top: -.25rem; color: var(--ink); }
.nav__links { display: flex; gap: 1.6rem; font-size: .92rem; }
.nav__links a { text-decoration: none; color: rgba(237, 237, 235, .82); }
.nav__links a:hover { color: #fff; }
.nav__cta { justify-self: end; }
.nav__cta .short { display: none; }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 1.1rem; }
.nav__lang { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-decoration: none; color: rgba(237, 237, 235, .72);
             padding: .35rem .1rem; }
.nav__lang:hover { color: #fff; }

/* ── pills and links ── */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 2.6rem; padding: 0 1.25rem; border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none;
        font-size: .95rem; font-weight: 500; letter-spacing: -0.01em; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
        transition: background .2s ease, border-color .2s ease; white-space: nowrap; }
.pill:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .32); }
.pill--light { background: rgba(255, 255, 255, .92); color: #0a0a0a; border-color: transparent; }
.pill--light:hover { background: #fff; }
.link { color: rgba(237, 237, 235, .85); font-size: .95rem; text-decoration: none; border-bottom: 1px solid rgba(237, 237, 235, .3); padding-bottom: 1px; }
.link:hover { color: #fff; border-color: #fff; }

/* ── hero: the painting, darkened where the words and the menu sit ── */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; overflow: hidden; }
.hero__art { position: absolute; inset: 0; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__shade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,.1) 14%, rgba(10,10,10,0) 40%, rgba(10,10,10,.28) 58%,
                                      rgba(10,10,10,.72) 80%, var(--bg) 100%); }
.hero__copy { position: relative; z-index: 2; margin: 0 0 clamp(4.5rem, 11vh, 7.5rem); text-align: center; padding: 0 16px; max-width: 46rem; }
.hero h1 { font-size: clamp(2.7rem, 1rem + 4.9vw, 5.3rem); line-height: 1.02; letter-spacing: -0.045em; font-variation-settings: 'opsz' 32;
           text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero__copy > p { margin: 1.3rem auto 0; max-width: 32rem; color: rgba(237, 237, 235, .86); font-size: clamp(1rem, .95rem + .25vw, 1.12rem);
                  text-shadow: 0 1px 16px rgba(0, 0, 0, .5); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem 1.5rem; margin-top: 1.9rem; }
.hero__credit { position: absolute; z-index: 2; left: max(16px, calc((100vw - var(--page)) / 2)); bottom: 1.2rem; margin: 0;
                font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; color: rgba(237, 237, 235, .55); max-width: 30rem; }

/* ── hero mock-ups (?hero=1 … 7): the painting gives way to real material ── */
.hero--alt .hero__art { display: none; }
.hero--alt { background: var(--bg); }
.hero__alt { position: absolute; inset: 0; overflow: hidden; }
.hero--alt .hero__shade { background: linear-gradient(180deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,0) 18%, rgba(10,10,10,0) 55%, rgba(10,10,10,.75) 82%, var(--bg) 100%); }
.hero--top { justify-content: flex-start; }
.hero--top .hero__copy { margin: clamp(5.8rem, 12.5vh, 8.5rem) 0 0; }
.hero--top .hero__shade { background: linear-gradient(180deg, rgba(10,10,10,.96) 0%, rgba(10,10,10,.92) 38%, rgba(10,10,10,0) 58%, rgba(10,10,10,0) 86%, var(--bg) 100%); }
/* 2: the page drawing itself, light on black */
.v2 { position: absolute; inset: 0; display: grid; place-items: end center; padding-bottom: 5vh; }
.v2 img { width: min(780px, 62vw); filter: drop-shadow(0 0 18px rgba(236,235,231,.12)); }
/* the hero: words, then the engraving drawing itself below them, in the flow so the two never meet */
.hero.hero--v2 { justify-content: flex-start; min-height: 100svh; padding-bottom: 3.2rem; }
.hero--v2 .hero__copy { order: 1; margin: clamp(5rem, 10vh, 7rem) 0 0; }
.hero--v2 .hero__alt { position: relative; inset: auto; order: 2; width: 100%; overflow: visible; margin-top: clamp(1.2rem, 2.6vh, 2.2rem); }
.hero--v2 .v2 { position: static; display: flex; justify-content: center; padding: 0; }
.hero--v2 .v2 img { width: min(700px, 56vw, calc((100svh - 30rem) * 2.1)); min-width: min(560px, 92vw); }
.hero--v2 .hero__shade { display: none; }
.hero--v2 .hero__copy > p { text-shadow: none; }
.hero--v2 h1 { text-shadow: none; }
/* ── the hero (chosen 6 Oct, layout A): the words on the left, the score drawing itself on the right ── */
.hero.hero--L-split { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: 2rem clamp(2rem, 4vw, 4.5rem);
                      padding: 5.5rem max(16px, calc((100vw - var(--page)) / 2)) 3.6rem; }
.hero--L-split .hero__copy { order: 1; margin: 0; text-align: left; max-width: 33rem; padding: 0; }
.hero--L-split .hero__mark { margin: 0 0 1.5rem; width: clamp(46px, 2.6rem + .8vw, 60px); }
.hero--L-split h1 { font-size: clamp(2.5rem, .9rem + 3.6vw, 4.6rem); }
.hero--L-split .hero__copy > p { margin-left: 0; }
.hero--L-split .hero__cta { justify-content: flex-start; }
.hero--L-split .hero__alt { order: 2; margin: 0; }
.hero--L-split .v2 img { width: 100%; max-width: 780px; min-width: 0; }
@media (max-width: 860px) {
  .hero.hero--L-split { grid-template-columns: minmax(0, 1fr); padding-top: 6rem; }
  .hero--L-split .hero__copy { text-align: center; margin: 0 auto; }
  .hero--L-split .hero__mark { margin: 0 auto 1.2rem; }
  .hero--L-split .hero__copy > p { margin-left: auto; }
  .hero--L-split .hero__cta { justify-content: center; }
}

/* the mark above the headline, blinking */
.hero__mark { display: block; width: clamp(54px, 3rem + 1.6vw, 76px); height: auto; margin: 0 auto clamp(1rem, 2.4vh, 1.6rem); overflow: visible;
              filter: drop-shadow(0 0 22px rgba(196,133,106,.28)); }

/* ── the examples: a pinned stage (chosen 6 Oct) ── */
.show { padding-bottom: clamp(4rem, 9vw, 7rem); }
/* 1 the stage: text steps scroll past a window that stays put and changes with them */
.stage { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: clamp(2rem, 4vw, 4rem); margin-top: 3rem; }
.stage__step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .32; transition: opacity .4s ease; }
.stage__step.is-on { opacity: 1; }
.stage__k { margin: 0 0 .7rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); }
.stage__step h3 { margin: 0; font-weight: 400; font-size: clamp(1.5rem, 1rem + 1.2vw, 2.1rem); line-height: 1.12; letter-spacing: -0.03em; }
.stage__step p:not(.stage__k) { margin: .9rem 0 0; color: var(--ink-2); max-width: 26rem; }
.stage__inline { display: none; }
.stage__frame { position: sticky; top: max(5.5rem, calc(50vh - 18.5vw)); aspect-ratio: 1.6; width: 100%; max-height: calc(100vh - 7rem); align-self: start; border-radius: 12px; overflow: hidden;
                box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.12); background: #1d1a17; margin-top: 18vh; margin-bottom: 18vh; }
.stage__shot { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.stage__shot.is-on { opacity: 1; }
.stage__shot img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
@media (max-width: 860px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
  .stage__frame { display: none; }
  .stage__step { min-height: 0; opacity: 1; padding: 1.6rem 0; }
  .stage__inline { display: block; margin-top: 1.2rem; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
}

/* the band behind "Small on purpose": a real engraved page, very dim */
.reprise__art--page img { object-fit: cover; object-position: 50% 30%; opacity: .16 !important; filter: grayscale(1) invert(1); }

/* ── facts ── */
.facts { padding: clamp(3.5rem, 8vw, 6rem) 16px clamp(2rem, 5vw, 4rem); text-align: center; }
.facts__lead { margin: 0 0 2.6rem; color: var(--ink-2); font-size: 1rem; }
.facts ul { list-style: none; margin: 0 auto; padding: 0; width: min(100%, 1000px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.facts b { display: block; font-weight: 300; font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.9rem); letter-spacing: -0.04em; line-height: 1.05;
           font-variation-settings: 'opsz' 32; }
.facts span { display: block; margin-top: .5rem; font-size: .85rem; color: var(--ink-3); }

/* ── sections ── */
.sec { padding: clamp(4.5rem, 11vw, 8.5rem) 0; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.1rem; font-family: var(--mono); font-size: .72rem;
          letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.kicker::before { content: ''; width: 14px; height: 1px; background: currentColor; }
.kicker--center { display: flex; justify-content: center; }
.sec h2 { font-size: clamp(1.9rem, 1rem + 2.5vw, 3.1rem); line-height: 1.06; font-variation-settings: 'opsz' 32; }
.sub { margin: .9rem 0 0; color: var(--ink-2); max-width: 36rem; }
.sub.center { margin-left: auto; margin-right: auto; }
.lead { margin: 1.1rem 0 0; color: var(--ink-2); font-size: 1.05rem; max-width: 30rem; }

/* glass cards */
.card { margin: 0; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--glass), rgba(255,255,255,.015));
        overflow: hidden; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.6rem; }
.card__img { margin: 10px 10px 0; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: #000; border: 1px solid var(--line); }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.card figcaption { padding: 1.1rem 1.25rem 1.35rem; color: var(--ink-2); font-size: .92rem; }
.card figcaption b, .card--text b { display: block; margin-bottom: .35rem; color: var(--ink); font-weight: 500; font-size: 1.02rem; letter-spacing: -0.015em; }

/* the program: a framed screenshot and the text beside it */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.frame { margin: 0; padding: 10px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--glass), rgba(255,255,255,.01)); }
.frame img { border-radius: 10px; }
.ticks { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.ticks li { padding-left: 1.6rem; position: relative; color: var(--ink-2); font-size: .93rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .5em; width: .55rem; height: .55rem; border-radius: 50%; border: 1px solid var(--ink-2); }
.ticks b { display: block; color: var(--ink); font-weight: 500; }

/* the four steps on one drawn line */
.steps__field { position: relative; height: clamp(430px, 48vw, 560px); margin-top: 3rem; }
.steps__line { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(237, 237, 235, .45); }
.steps ol { list-style: none; margin: 0; padding: 0; }
.steps li { position: absolute; left: var(--x); top: var(--y); max-width: 17rem; padding-left: 1rem;
            color: var(--ink-2); font-size: .92rem; }
.steps li span { display: block; color: var(--ink); font-weight: 500; margin-bottom: .2rem; }

/* examples */
.grid6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.8rem; }
.tile { margin: 0; padding: 8px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--glass), rgba(255,255,255,.01)); }
.tile img { border-radius: 8px; aspect-ratio: 16 / 10; object-fit: cover; object-position: 0 0; }
.tile figcaption { padding: .8rem .45rem .35rem; font-size: .88rem; color: var(--ink-3); }
.tile figcaption b { display: block; color: var(--ink); font-weight: 500; }

/* how it is sold */
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.6rem; }
.card--text { padding: 1.4rem 1.3rem 1.5rem; }
.card--text p { margin: 0; color: var(--ink-2); font-size: .9rem; }

/* the painting again, dimmed, behind one sentence */
.reprise { position: relative; min-height: clamp(520px, 72vh, 760px); display: grid; place-items: center; overflow: hidden; text-align: center; }
.reprise__art { position: absolute; inset: 0; }
.reprise__art img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 6%; opacity: .78; }
.reprise::before { content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10,10,10,.15) 22%, rgba(10,10,10,.2) 60%, var(--bg) 100%),
              radial-gradient(46% 40% at 50% 62%, rgba(10,10,10,.62), transparent 80%); }
.reprise__copy { align-self: end; margin-bottom: clamp(3rem, 9vh, 6rem); }
.reprise__copy { position: relative; z-index: 2; padding: 0 16px; max-width: 38rem; }
.reprise h2 { font-size: clamp(2.1rem, 1.2rem + 2.8vw, 3.5rem); line-height: 1.04; }
.reprise p:not(.kicker) { margin: 1.1rem auto 1.9rem; color: rgba(237, 237, 235, .85); }

/* questions */
.faq__in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2.5rem 4rem; align-items: start; }
.faq__list { display: grid; gap: .6rem; }
.faq details { border-radius: 12px; border: 1px solid var(--line); background: var(--glass); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
               padding: 1rem 1.15rem; font-weight: 500; font-size: .96rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 300; font-size: 1.3rem; line-height: 1; color: var(--ink-2); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 1.15rem 1.1rem; color: var(--ink-2); font-size: .93rem; }

/* last word */
.final { padding: clamp(4rem, 10vw, 7rem) 16px clamp(5rem, 11vw, 8rem); text-align: center; }
.final h2 { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.3rem); line-height: 1.05; }
.final p { margin: 1rem 0 1.8rem; color: var(--ink-2); }
/* the mascot (the mark as a character, brand kit art): small, only in moments, never in the hero or on a screenshot.
   Every pose has the same frame (tools/make_mascot.py), so stacked poses swap in place. */
.mascot, .mascot img { display: block; }
.mascot img { width: 100%; height: auto; }
.poses { position: relative; display: block; aspect-ratio: 1560 / 1290; }
.poses .mascot { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; }
.poses[data-state="sleep"] .p-sleep, .poses[data-state="awake"] .p-awake, .poses[data-state="idle"] .p-idle,
.poses[data-state="typing"] .p-typing, .poses[data-state="wait"] .p-wait, .poses[data-state="ok"] .p-ok,
.poses[data-state="error"] .p-error, .poses[data-state="search"] .p-search, .poses[data-state="look"] .p-look,
.poses[data-state="found"] .p-found { opacity: 1; }
/* end of the home page: asleep until you point at Apply (a touch screen wakes it in view, site.js) */
.wake { width: clamp(104px, 5.6rem + 2.4vw, 136px); margin: -1.2rem auto 1rem; }
.final:has(.pill:hover, .pill:focus-visible) .wake .p-sleep { opacity: 0; }
.final:has(.pill:hover, .pill:focus-visible) .wake .p-awake { opacity: 1; }
/* 404: it searches; point at it and it looks at you; click and it finds the way home */
.lost__find { display: block; margin: 0 auto 1.2rem; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 12px; }
.lost__find:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 6px; }
.lost-mascot { width: clamp(112px, 6rem + 2.6vw, 148px); }
.lost__find:hover .lost-mascot[data-state="search"] .p-search { opacity: 0; }
.lost__find:hover .lost-mascot[data-state="search"] .p-look { opacity: 1; }
/* the application: it sits on the form card's top edge and follows along */
.card--form { position: relative; overflow: visible; }
.form-mascot { position: absolute; right: clamp(1rem, 3vw, 2rem); top: 0; width: clamp(96px, 5.2rem + 1.6vw, 124px); transform: translateY(-88.5%); }   /* feet on the edge */
/* the newsletter pages */
.nl-mascot { width: 104px; margin: 0 0 1.4rem -6px; }
/* the end of every blog post, like the fermata over a piece's last note */
.post__fermata { margin: 3.2rem 0 0; }
.mascot--end { width: 76px; margin: 0 auto; opacity: .92; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 2.6rem max(16px, calc((100vw - var(--page)) / 2)) 3rem; display: grid;
        grid-template-columns: minmax(0, 1fr) auto; gap: 1.6rem 2rem; font-size: .88rem; color: var(--ink-2); }
.foot__brand { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; color: var(--ink); font-weight: 500; }
.foot__brand svg { width: 1.4rem; height: auto; margin-top: -.2rem; color: var(--ink); }
.foot__brand p { flex-basis: 100%; margin: .4rem 0 0; color: var(--ink-2); font-weight: 400; }
.foot__links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-content: start; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: var(--ink); }
.foot__fine { grid-column: 1 / -1; margin: 0; font-size: .76rem; color: var(--ink-3); max-width: 60rem; }

/* ── inner pages: beta, blog, posts ── */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav__links a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.wrap--narrow { width: min(100% - 32px, 46rem); }
.page-hero { padding: clamp(8rem, 18vh, 11rem) 0 clamp(2.5rem, 6vw, 4rem); }
.page-hero h1, .post__head h1 { font-size: clamp(2.4rem, 1rem + 3.8vw, 4.4rem); line-height: 1.04; letter-spacing: -0.042em; font-variation-settings: 'opsz' 32; }
.page-hero .lead { margin-top: 1.3rem; font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem); max-width: 36rem; }
.sec--tight { padding-top: 0; }
.h3 { margin: 0; font-weight: 400; font-size: clamp(1.4rem, 1.1rem + .8vw, 1.8rem); letter-spacing: -0.03em; line-height: 1.15; }
.note { margin: .6rem 0 0; color: var(--ink-3); font-size: .86rem; }
.note a { color: var(--ink-2); }
/* the application: the form in a glass card, how it works beside it */
.apply { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.card--form { padding: clamp(1.4rem, 3vw, 2.2rem); }
.form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.field { display: grid; gap: .45rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { font-size: .86rem; color: var(--ink-2); padding: 0; }
.field input, .field select { width: 100%; height: 2.9rem; padding: 0 .9rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04); color: var(--ink); font: inherit; font-size: .98rem; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 1.25rem, calc(100% - .8rem) 1.25rem; background-size: .35rem .35rem; background-repeat: no-repeat; padding-right: 2.2rem; }
.field select option { background: #161616; color: var(--ink); }
.field input::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus { outline: none; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.07); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips legend { margin-bottom: .55rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; height: 2.2rem; padding: 0 .9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03); color: var(--ink-2); font-size: .88rem; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.chips input:checked + span { background: rgba(255,255,255,.92); color: #0a0a0a; border-color: transparent; }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.tick { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.tick input { flex: none; width: 1.05rem; height: 1.05rem; margin: .18rem 0 0; accent-color: #ececea; }
.pill--big { height: 3rem; padding: 0 1.6rem; font-size: 1rem; }
.status { margin: .8rem 0 0; font-size: .92rem; }
.status[data-state="ok"] { color: #b9e3c6; }
.status[data-state="error"] { color: #f0b6a0; }
.fallback { margin: 1rem 0 0; font-size: .86rem; color: var(--ink-2); padding: .8rem 1rem; border-radius: 10px; border: 1px dashed rgba(255,255,255,.2); }
.fallback a { color: var(--ink); }
.how dl { margin: 1.4rem 0 0; display: grid; gap: 1.4rem; }
.how dt { font-weight: 500; color: var(--ink); }
.how dd { margin: .3rem 0 0; color: var(--ink-2); font-size: .94rem; }
.cards3--text { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* the blog */
.posts { display: grid; gap: 1.2rem; }
.post-card { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.4rem, 3vw, 2.6rem); align-items: center; padding: 10px;
  border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--glass), rgba(255,255,255,.01)); text-decoration: none;
  transition: border-color .2s ease; }
.post-card:hover { border-color: rgba(255,255,255,.22); }
.post-card__img { border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 2; background: #161616; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.post-card:hover .post-card__img img { transform: scale(1.025); }
.post-card__text { padding: .6rem clamp(.4rem, 2vw, 1.4rem) .8rem 0; }
.post-card h2 { font-size: clamp(1.4rem, 1rem + 1vw, 2rem); line-height: 1.12; letter-spacing: -0.03em; margin: 0; }
.post-card p:not(.kicker) { margin: .8rem 0 1.1rem; color: var(--ink-2); font-size: .95rem; }
.card--news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem 3rem; align-items: center; padding: clamp(1.4rem, 3vw, 2.2rem); }
.form--inline { grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin-top: 0; }
.form--inline .pill { height: 2.9rem; }
/* a post */
.post { padding-bottom: clamp(3rem, 7vw, 5rem); }
.post__head { padding-top: clamp(8rem, 18vh, 11rem); }
.post__head .lead { margin-top: 1.2rem; }
.post__lead { margin: clamp(2.4rem, 5vw, 3.6rem) auto 0; width: min(100% - 32px, 1100px); }
.post__lead img { border-radius: 14px; width: 100%; }
.post__lead figcaption { margin-top: .8rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--ink-3); }
.post__body { margin-top: clamp(2.4rem, 5vw, 3.4rem); font-size: clamp(1.04rem, 1rem + .2vw, 1.14rem); line-height: 1.75; color: #d6d5d1; }
.post__body p { margin: 0 0 1.25em; }
.post__body h2 { margin: 2.2em 0 .6em; font-size: 1.5rem; letter-spacing: -0.025em; color: var(--ink); }
.post__body h3 { margin: 1.8em 0 .5em; font-weight: 500; font-size: 1.15rem; color: var(--ink); }
.post__body a { color: var(--ink); text-underline-offset: 3px; }
.post__body blockquote { margin: 1.6em 0; padding-left: 1.2rem; border-left: 2px solid var(--terracotta); color: var(--ink-2); }
.post__body ul, .post__body ol { padding-left: 1.2rem; margin: 0 0 1.25em; }
.post__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.6rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line); }

/* about, the legal pages, 404, the newsletter pages */
.page-hero--small { padding-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.frame--wide { max-width: 1080px; margin: 0 auto; }
.frame figcaption { padding: .8rem .2rem .2rem; font-size: .86rem; color: var(--ink-3); }
.split--text { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.split--text h2 { font-size: clamp(1.8rem, 1rem + 2.2vw, 2.8rem); line-height: 1.08; letter-spacing: -0.035em; }
.prose { color: #d6d5d1; font-size: clamp(1.02rem, .98rem + .2vw, 1.12rem); line-height: 1.72; }
.prose p { margin: 0 0 1.2em; }
.prose h2 { margin: 2em 0 .6em; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink); font-weight: 500; }
.prose h3 { margin: 1.6em 0 .5em; font-size: 1.1rem; color: var(--ink); font-weight: 500; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin: .25em 0; }
.legal { font-size: 1rem; }
.legal .imp { margin: 1.6rem 0 2rem; display: grid; border-top: 1px solid var(--line); }
.legal .imp > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: .4rem 1.5rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.legal .imp dt { color: var(--ink); font-weight: 500; }
.legal .imp dt span { display: block; color: var(--ink-3); font-weight: 400; font-size: .86rem; }
.legal .imp dd { margin: 0; color: var(--ink-2); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2.6rem; }
.lists ul { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--ink-2); font-size: .92rem; }
.lists li { margin: .35em 0; }
.cards3 { align-items: stretch; }
.lost { min-height: 78svh; display: grid; place-items: center; text-align: center; padding-bottom: 6rem; }
.lost .lead { margin: 1rem auto 2rem; }
.nl .h3 { margin-bottom: .4rem; }
.nl .lead { margin: .6rem 0 2rem; }

/* ── smaller screens ── */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .steps li { border-left: 1px solid rgba(237,237,235,.35); }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards3, .grid6, .split, .faq__in { grid-template-columns: minmax(0, 1fr); }
  .steps__field { height: auto; margin-top: 2rem; }
  .steps__line { display: none; }
  .steps ol { display: grid; gap: 1.4rem; }
  .steps li { position: static; max-width: none; background: none; }
  .hero__art img { object-position: 46% 60%; }
  .hero__credit { right: 16px; }
}
@media (max-width: 860px) {
  .apply, .card--news, .post-card, .split--text, .pair, .legal .imp > div { grid-template-columns: minmax(0, 1fr); }
  .cards3--text { grid-template-columns: minmax(0, 1fr); }
  .post-card__text { padding: .2rem .6rem .8rem; }
  .card--form { margin-top: 3.6rem; }          /* room above for the mascot on its edge */
}
@media (max-width: 560px) {
  .form--inline { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .cards4 { grid-template-columns: minmax(0, 1fr); }
  .nav__cta .long { display: none; }
  .nav__cta .short { display: inline; }
}
