/* pinull.com — one stylesheet, two worlds. Tokens first; every colour below comes from them. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/geist-latin-ext.woff2") format("woff2");
  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; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/geist-mono-latin-ext.woff2") format("woff2");
  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; }

:root {
  color-scheme: dark;
  --ground: #000000;
  --raised: #0d0d0f;
  --panel: rgba(28, 28, 30, .72);
  --card: #111113;
  --text: #f5f5f7;
  --muted: #86868b;
  --faint: #48484c;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .18);
  --code-far: rgba(245, 245, 247, .06);
  --code-dim: rgba(245, 245, 247, .11);
  --code-true: rgba(245, 245, 247, .96);
  --code-ink: #e6e6ea;
  --refuted: #ff453a;
  --refuted-soft: rgba(255, 69, 58, .14);
  --ok: #d1d1d6;
  --vignette: rgba(0, 0, 0, .88);
  --ring: #c7c7cc;
  --ring-glow: rgba(199, 199, 204, .28);
  --cell: #525257;
  --quiet: #808085;
  --spot-fill: rgba(255, 255, 255, .055);
  --spot-edge: rgba(255, 255, 255, .34);
  --krydia-top: #d1d1d6;
  --krydia-bottom: #85858b;
  --krydia-shine: #ffffff;
  --sans: "Geist", -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", "SF Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:root[data-world="light"] {
  color-scheme: light;
  --ground: #fbfbfd;
  --raised: #f5f5f7;
  --panel: rgba(255, 255, 255, .78);
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #636368;
  --faint: #c7c7cc;
  --line: rgba(0, 0, 0, .09);
  --line-strong: rgba(0, 0, 0, .16);
  --code-far: rgba(29, 29, 31, .06);
  --code-dim: rgba(29, 29, 31, .12);
  --code-true: rgba(29, 29, 31, .94);
  --code-ink: #2b2b30;
  --refuted: #d70015;
  --refuted-soft: rgba(215, 0, 21, .08);
  --ok: #3a3a3f;
  --vignette: rgba(251, 251, 253, .92);
  --ring: #3a3a3f;
  --ring-glow: rgba(58, 58, 63, .22);
  --cell: #8e8e93;
  --quiet: #6e6e73;
  --spot-fill: rgba(0, 0, 0, .035);
  --spot-edge: rgba(0, 0, 0, .22);
  --krydia-top: #3a3a3f;
  --krydia-bottom: #1d1d1f;
  --krydia-shine: #a1a1a6;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; scrollbar-gutter: stable; }
/* the opening is watched whole: no scrolling until it has played; never held past 7s, whatever happens */
html.intro-lock, html.intro-lock body { overflow: hidden; }
html.intro-lock, html.intro-lock body { animation: unhold 0s 7s forwards; }
.hero:not(.shown) .reveal { animation: failsafe-show 0s 8s forwards; }
.ovl:not(.done) { animation: failsafe-hide 0s 8s forwards; }
:root:not(.ready) .top { animation: failsafe-show 0s 8s forwards; }
@keyframes failsafe-show { to { opacity: 1; transform: none; filter: none; pointer-events: auto; } }
@keyframes failsafe-hide { to { visibility: hidden; } }
@keyframes unhold { to { overflow: visible; } }
html, body { margin: 0; background: var(--ground); color: var(--text); }
body { font: 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background .5s, color .5s; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--text); color: var(--ground); padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.skip:focus { left: 12px; }

/* ---------- the bar along the top ---------- */
.top { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: calc(52px + env(safe-area-inset-top, 0px)); display: flex; align-items: center; gap: 24px;
       padding: env(safe-area-inset-top, 0px) max(18px, env(safe-area-inset-right, 0px)) 0 max(18px, env(safe-area-inset-left, 0px));
       background: color-mix(in srgb, var(--ground) 72%, transparent); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
       border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); opacity: 0; transform: translateY(-8px); transition: opacity 1s .2s, transform 1s .2s, background .5s; }
.top { pointer-events: none; }
.ready .top { opacity: 1; transform: none; pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 600 16px var(--sans); letter-spacing: -.02em; margin-right: auto; }
.brand svg { width: 22px; height: 22px; fill: url(#fin); flex: none; overflow: visible; }
.brand .live { display: none; }
.brand.breathing .live { display: inline; }
.brand.breathing .still { display: none; }
.cta { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; margin-right: 8px; border-radius: 999px; background: var(--text); color: var(--ground);
       font: 500 13px/1 var(--sans); text-decoration: none; white-space: nowrap; }
[data-magnetic] { transition: transform .55s cubic-bezier(.2, 1.5, .4, 1), opacity .2s; }
[data-magnetic] > span { display: inline-block; transition: transform .55s cubic-bezier(.2, 1.5, .4, 1); }
.links { display: flex; gap: 26px; }
.links a { text-decoration: none; font-size: 13px; color: var(--muted); transition: color .2s; }
.links a:hover { color: var(--text); }
.tools { display: flex; align-items: center; gap: 6px; }
.lang { text-decoration: none; font: 500 12px/1 var(--sans); letter-spacing: .06em; color: var(--muted); padding: 7px 8px; border-radius: 8px; opacity: .8; }
.lang:hover { color: var(--text); opacity: 1; }
.world { width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; opacity: .7; transition: opacity .3s, color .3s; }
.world:hover { opacity: 1; color: var(--text); }

/* ---------- the first screen ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; place-items: center; isolation: isolate; padding-block: 90px 110px; }
.stream { position: absolute; inset: 0; z-index: 0; pointer-events: none;
          -webkit-mask-image: linear-gradient(#000 calc(100% - 64px), transparent calc(100% - 16px)); mask-image: linear-gradient(#000 calc(100% - 64px), transparent calc(100% - 16px)); }
.layer { position: absolute; inset: 0; overflow: hidden; }
.track { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.code { margin: 0; padding: 0 6vw; font: 400 15px/1.75 var(--mono); white-space: pre; }
.ln { display: block; position: relative; min-height: 1.75em; }
.far .code { font-size: 12px; color: var(--code-far); filter: blur(2.6px); padding-left: 38vw; }
.base .code { color: var(--code-dim); filter: blur(1.1px); }
.truth { -webkit-mask-image: radial-gradient(circle var(--lr, 0px) at var(--lx, -999px) var(--ly, -999px), #000 calc(var(--lr, 0px) - 1.5px), transparent var(--lr, 0px));
         mask-image: radial-gradient(circle var(--lr, 0px) at var(--lx, -999px) var(--ly, -999px), #000 calc(var(--lr, 0px) - 1.5px), transparent var(--lr, 0px)); }
.truth .code { color: var(--code-true); }
.truth .refuted .bad { color: var(--refuted); text-decoration: underline wavy color-mix(in srgb, var(--refuted) 75%, transparent); text-underline-offset: 5px; }
.ln .tx { display: inline-block; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s; }
.ln.gone .tx { opacity: 0; transform: translateY(-9px); filter: blur(7px); }
.ln::after { content: attr(data-gone); position: absolute; left: 0; top: 0; font: 400 12.5px/1.75rem var(--mono); color: var(--muted); opacity: 0; transition: opacity .9s .7s; white-space: nowrap; }
.ln.gone::after { opacity: .85; }
.base .ln::after { color: var(--faint); }
.far .ln::after { display: none; }
.vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none;
            background: radial-gradient(62% 54% at 50% 47%, var(--ground) 0%, var(--vignette) 46%, color-mix(in srgb, var(--vignette) 60%, transparent) 66%, transparent 86%); }
/* clear ground under the words themselves, measured by the script, so no code ever shows through them */
.clear { position: absolute; z-index: 1; left: 0; top: 0; width: 0; height: 0; pointer-events: none; background: var(--ground); border-radius: 56px; filter: blur(26px); }
.lens { position: absolute; z-index: 0; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .9s; }
.lens.on { opacity: 1; }
.lens span { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); }
.lens .ring { width: calc(var(--lr) * 2); height: calc(var(--lr) * 2); border: 1.5px solid color-mix(in srgb, var(--ring) 62%, transparent);
              box-shadow: 0 0 0 1px color-mix(in srgb, var(--ring) 14%, transparent), 0 0 34px 2px var(--ring-glow), inset 0 0 26px var(--ring-glow); }
.lens .dot { width: 5px; height: 5px; background: var(--ring); opacity: .75; }
.pop { position: absolute; z-index: 2; left: 0; top: 0; display: flex; align-items: center; gap: 9px; max-width: min(640px, calc(100vw - 32px));
       padding: 9px 13px; border-radius: 12px; background: var(--card); border: 1px solid var(--line-strong);
       box-shadow: 0 0 0 6px var(--ground), 0 18px 50px -14px rgba(0, 0, 0, .7), inset 3px 0 0 var(--refuted);
       font: 400 12.5px/1.45 var(--mono); color: var(--code-ink); pointer-events: none; opacity: 0; transition: opacity .45s var(--ease), translate .45s var(--ease); translate: 0 6px; }
.pop.on { opacity: 1; translate: 0 0; }
.pop svg { width: 15px; height: 15px; flex: none; fill: url(#fin); }
.pop .badge { flex: none; }
.pop code { font: inherit; min-width: 0; }
.copy { position: relative; z-index: 3; text-align: center; padding: 0 20px; max-width: 920px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.6s var(--ease); }
.hero h1.reveal { filter: blur(22px); transform: scale(1.04); }
.shown h1.reveal { filter: blur(0); transform: none; }
.shown .reveal { opacity: 1; transform: none; }
.shown .reveal:nth-child(2) { transition-delay: .12s; } .shown .reveal:nth-child(3) { transition-delay: .26s; }
.shown .reveal:nth-child(4) { transition-delay: .4s; } .shown .reveal:nth-child(5) { transition-delay: .52s; }
.eyebrow { margin: 0 0 18px; font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0; font: 600 clamp(44px, 8.2vw, 108px)/1.0 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.sub { margin: 26px auto 0; max-width: 34ch; font: 400 clamp(18px, 1.8vw, 22px)/1.45 var(--sans); color: var(--muted); letter-spacing: -.01em; text-wrap: pretty; }
.sub b { color: var(--text); font-weight: 500; }
/* the promise of the first screen keeps to a line of its own where there is room for one */
@media (min-width: 641px) { .hero .sub b { display: block; } }
.perk { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.truthnote { position: absolute; z-index: 3; left: 0; right: 0; bottom: 24px; margin: 0; text-align: center; font: 400 12px/1.4 var(--mono); color: var(--muted); padding: 0 20px;
             text-shadow: 0 0 6px var(--ground), 0 0 14px var(--ground), 0 0 24px var(--ground); opacity: 0; transition: opacity 1.4s 1s; }
.shown .truthnote { opacity: .8; }
.shown.popping .truthnote { opacity: 0; transition-delay: 0s; }
.ovl { position: absolute; inset: 0; z-index: 10; width: 100%; height: 100%; pointer-events: none; }
.ovl .ground { fill: var(--ground); }
.ovl.done { display: none; }

/* ---------- the form ---------- */
.joinform { margin: 38px auto 0; max-width: 460px; }
.join { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line);
        backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); transition: border-color .3s, box-shadow .3s; }
.join:focus-within { border-color: var(--line-strong); box-shadow: 0 0 0 4px color-mix(in srgb, var(--text) 5%, transparent); }
.join input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 400 16px var(--sans); padding: 12px 18px; outline: none; }
.join input::placeholder { color: var(--muted); }
.join button { border: 0; border-radius: 999px; padding: 12px 22px; font: 500 15px var(--sans); color: var(--ground); background: var(--text); cursor: pointer; white-space: nowrap; transition: transform .15s, opacity .2s; }
.join button:active { transform: scale(.97); }
.join button:disabled { opacity: .55; cursor: default; }
.turnstile { display: flex; justify-content: center; margin-top: 10px; min-height: 0; }
.form-msg { min-height: 1.4em; margin: 10px 0 0; font-size: 13.5px; color: var(--refuted); }
.form-privacy { margin: 8px 0 0; font-size: 12px; color: var(--quiet); }
.form-privacy a { color: var(--muted); }
.done { display: none; padding: 20px 22px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.joinform.is-done .join, .joinform.is-done .form-privacy, .joinform.is-done .turnstile { display: none; }
.joinform.is-done .done { display: block; animation: rise .8s var(--ease); }
.done b { display: block; font-size: 17px; margin-bottom: 2px; }
.done span { color: var(--muted); font-size: 14px; }
.roles { margin-top: 14px; }
.roles p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.roles div { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.roles button { border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 8px 14px; font-size: 13.5px; cursor: pointer; transition: background .2s; }
.roles button:hover { background: color-mix(in srgb, var(--text) 7%, transparent); }
.roles.answered div { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- scenes ---------- */
.scene { padding-block: clamp(96px, 14vw, 180px) 0; overflow-x: clip; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: max(22px, env(safe-area-inset-left, 0px)); }
.wrap.narrow { max-width: 820px; }
.kicker { margin: 0 0 14px; font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.display { margin: 0 0 20px; font: 600 clamp(38px, 6vw, 80px)/1.02 var(--sans); letter-spacing: -.042em; text-wrap: balance; }
.lede { margin: 0; max-width: 60ch; color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; text-wrap: pretty; }
.lede.small { font-size: 17px; }
.cap { color: var(--muted); font-size: 13.5px; }
.center { text-align: center; }
.again { border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 8px 14px; font-size: 13.5px; color: var(--muted); cursor: pointer; transition: color .2s, background .2s; }
.again:hover { color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.inview { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.wf .w { display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(.14em) scale(1.03);
         transition: opacity 1s var(--ease), filter 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i) * 65ms); }
.wf.seen .w { opacity: 1; filter: blur(0); transform: none; }
.inview.seen { opacity: 1; transform: none; }

/* the confident lie */
.lie-stage { margin: clamp(48px, 7vw, 88px) 0 0; padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: var(--raised); border: 1px solid var(--line); position: relative; overflow: hidden; }
.lie-line { position: relative; display: flex; align-items: flex-start; gap: 14px; font: 400 clamp(15px, 1.9vw, 24px)/1.55 var(--mono); color: var(--code-ink); min-height: 1.6em; padding-bottom: 4px; }
.lie-code { flex: 1; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.lie-mark { width: 1.05em; height: 1.05em; flex: none; margin-top: .25em; fill: url(#fin); opacity: 0; transform: scale(.6) rotate(-30deg); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.lie-stage.scanning .lie-mark, .lie-stage.verdict .lie-mark { opacity: 1; transform: none; }
.lie-code .cm { color: var(--muted); }
.lie-code .bad { transition: color .5s, text-decoration-color .5s; text-decoration: underline wavy transparent; text-underline-offset: 6px; }
.lie-stage.verdict .lie-code .bad { color: var(--refuted); text-decoration-color: color-mix(in srgb, var(--refuted) 75%, transparent); }
.lie-stage .lie-code .bad.crumbled { color: transparent; text-decoration-color: transparent; transition: none; }
.dust { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 2; }
.caret { display: inline-block; width: .55em; height: 1.1em; margin-left: 1px; background: var(--text); opacity: .75; vertical-align: -.2em; animation: blink 1s steps(1) infinite; }
.lie-stage.scanning .caret, .lie-stage.verdict .caret { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.scan { position: absolute; top: -20%; bottom: -20%; width: 120px; left: -140px; pointer-events: none;
        background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ring) 30%, transparent), transparent); opacity: 0; }
.lie-stage.scanning .scan { animation: scan 1.1s var(--ease) forwards; }
@keyframes scan { 0% { left: -140px; opacity: 1; } 100% { left: 100%; opacity: 0; } }
.lie-verdict { margin: 22px 0 0; font: 400 clamp(13px, 1.4vw, 16px)/1.5 var(--mono); color: var(--muted); opacity: 0; transform: translateY(8px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.lie-stage.verdict .lie-verdict { opacity: 1; transform: none; }
.lie-verdict code { color: var(--refuted); font: inherit; }
.badge { display: inline-block; font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--refuted); background: var(--refuted-soft); padding: 5px 8px; border-radius: 6px; vertical-align: 2px; }
.lie-verdict .src { font-family: var(--sans); color: var(--quiet); }
.lie-stage figcaption { margin-top: 18px; color: var(--muted); font-size: 14px; opacity: 0; transition: opacity 1s .4s; }
.lie-stage.verdict figcaption { opacity: 1; }
.lie-stage .again { position: absolute; right: 16px; bottom: 14px; opacity: 0; transition: opacity .6s .8s; }
.lie-stage.verdict .again { opacity: 1; }

/* the demo: one real run, as pinull-write printed it */
.term-wrap { margin: clamp(44px, 6vw, 72px) 0 0; }
.term { position: relative; border-radius: 22px; background: var(--card); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .55); }
.term-screen { height: 520px; overflow: hidden; padding: 20px 24px 30px; font: 400 13.5px/1.62 var(--mono); color: var(--code-ink); transition: opacity .6s var(--ease); }
.term.fading .term-screen { opacity: 0; }
.tl { min-height: 1.62em; white-space: pre-wrap; overflow-wrap: anywhere; animation: tl-in .28s var(--ease) both; }
@keyframes tl-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.tl.cmd, .tl.ask, .tl.ok { color: var(--text); }
.tl.cmd .pr { color: var(--quiet); }
.tl.ask b { font-weight: 600; }
.tl.out, .tl.spec { color: var(--muted); }
.tl.no { color: var(--refuted); }
.tl.acc { color: var(--text); font-weight: 600; }
.term-screen .caret { width: .5em; height: 1.05em; margin-left: 2px; }
/* what Pinull found sits over the top of the screen, on lines already read, never over the newest */
.term-found { position: absolute; right: 18px; top: 58px; width: min(600px, calc(100% - 36px)); padding: 16px 18px 14px; border-radius: 16px; background: var(--raised);
              border: 1px solid var(--line-strong); box-shadow: 0 0 0 6px var(--card), 0 24px 60px -18px rgba(0, 0, 0, .6), inset 3px 0 0 var(--refuted);
              opacity: 0; transform: translateY(-12px) scale(.98); transition: opacity .5s var(--ease), transform .7s var(--ease); pointer-events: none; }
.term.found .term-found { opacity: 1; transform: none; }
.tf-code { margin: 0 0 10px; font: 400 12.5px/1.6 var(--mono); color: var(--code-ink); white-space: pre; overflow: hidden; }
.tf-code .l { display: block; position: relative; padding-left: 3.4ch; }
.tf-code .l::before { content: attr(data-n); position: absolute; left: 0; color: var(--faint); }
.tf-code mark { background: var(--refuted-soft); color: var(--refuted); border-radius: 3px; text-decoration: underline wavy color-mix(in srgb, var(--refuted) 75%, transparent); text-underline-offset: 4px; }
.tf-ver { margin: 0; font: 400 12.5px/1.5 var(--mono); color: var(--refuted); }
.tf-more { margin: 6px 0 0; font: 400 12px/1.5 var(--mono); color: var(--muted); }
.term-time { height: 2px; background: var(--line); }
.term-time i { display: block; width: 0; height: 100%; background: var(--text); opacity: .45; }
.term-wrap figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; color: var(--muted); font-size: 13.5px; }

/* how it works */
.how-grid { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 40px; margin-top: clamp(44px, 6vw, 72px); align-items: start; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: s; }
.how-steps li { counter-increment: s; }
.how-steps button { position: relative; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; width: 100%; text-align: left; border: 0; background: transparent; padding: 14px 14px 18px; border-radius: 14px; cursor: pointer; color: var(--muted); transition: background .3s, color .3s; }
.how-steps .bar { position: absolute; left: 54px; right: 16px; bottom: 9px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; opacity: 0; transition: opacity .4s; }
.how-steps .bar i { display: block; height: 100%; width: 0; background: var(--text); }
.how-steps button.on .bar { opacity: 1; }
.how-steps button::before { content: counter(s); grid-row: span 2; font: 500 13px/1.6 var(--mono); color: var(--quiet); transition: color .3s; }
.how-steps b { font-weight: 500; font-size: 16px; }
.how-steps span { font-size: 13px; color: var(--quiet); transition: color .3s; }
.how-steps button.on { background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text); }
.how-steps button.on::before, .how-steps button.on span { color: var(--muted); }
.how-steps button.past::before { content: "\2713"; color: var(--muted); }
.how-panel { border-radius: 22px; background: var(--card); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .55); }
.how-chrome { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 400 12px var(--mono); color: var(--quiet); }
.how-chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.how-chrome span { margin-left: 8px; }
.how-screen { height: 560px; overflow: hidden; padding: 22px 24px; font: 400 13.5px/1.6 var(--mono); color: var(--code-ink); }
.how-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--quiet); }
.hs-label { font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.hs-in { animation: rise .55s var(--ease) both; }
.hs-task { font: 400 17px/1.5 var(--sans); color: var(--text); }
.hs-spec { display: grid; gap: 6px; }
.hs-spec .sig { color: var(--text); margin-bottom: 6px; white-space: pre-wrap; }
.hs-spec .row { display: flex; gap: 10px; color: var(--code-ink); }
.hs-spec .row em { font-style: normal; color: var(--muted); }
.hs-spec .row .arrow { color: var(--faint); }
.stamp { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font: 500 13px var(--sans); color: var(--text); }
.hs-code { margin: 0; white-space: pre; overflow-x: auto; counter-reset: l; font-size: 12.5px; }
.hs-code .l { display: block; counter-increment: l; padding-left: 3.2ch; position: relative; }
.hs-code .l::before { content: counter(l); position: absolute; left: 0; color: var(--faint); }
.hs-code .l.bad { background: var(--refuted-soft); color: var(--refuted); }
.hs-code.fade { max-height: 470px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.hs-gates { margin-top: 14px; }
.gate { display: grid; grid-template-columns: 18px 110px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: 14px; }
.gate:last-child { border-bottom: 0; }
.gate .ic { font-family: var(--mono); }
.gate.ok .ic { color: var(--ok); } .gate.no .ic { color: var(--refuted); }
.gate b { font-weight: 500; }
.gate span { color: var(--muted); font-family: var(--mono); font-size: 12.5px; }
.gate.no span { color: var(--refuted); }
.hs-sent { margin-top: 14px; color: var(--muted); font-family: var(--sans); font-size: 14px; }
.metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.metric { padding: 16px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); font-family: var(--sans); }
.metric .v { font: 600 30px/1 var(--sans); letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.metric .k { margin-top: 6px; font-size: 13px; color: var(--muted); }
.passport { border-radius: 18px; padding: 20px; background: var(--raised); border: 1px solid var(--line-strong); font-family: var(--sans); }
.passport .ph { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.passport .ph svg { width: 34px; height: 34px; fill: url(#fin); }
.passport .ph b { font-size: 17px; } .passport .ph span { color: var(--muted); font-size: 13px; display: block; }
.passport ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13.5px; color: var(--code-ink); }
.passport li::before { content: "\2713  "; color: var(--muted); }
.passport .handed { margin-top: 14px; font-weight: 600; }

/* the game */
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s;
               background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), var(--spot-fill), transparent 62%); }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .5s;
                background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), var(--spot-edge), transparent 65%);
                -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
                mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.spot.lit::after, .spot.lit::before { opacity: 1; }
.game-card { position: relative; margin-top: clamp(44px, 6vw, 72px); border-radius: 28px; background: var(--card); border: 1px solid var(--line); padding: clamp(20px, 3.4vw, 36px); box-shadow: 0 40px 100px -50px rgba(0, 0, 0, .5); }
.g-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.g-q { font: 600 clamp(20px, 2.4vw, 26px)/1.25 var(--sans); letter-spacing: -.02em; margin: 0 0 18px; }
.g-code { margin: 0; padding: 18px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); font: 400 13.5px/1.7 var(--mono); color: var(--code-ink); white-space: pre; overflow-x: auto; }
.g-code .gl { display: block; }
.tok { font: inherit; color: inherit; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--text) 7%, transparent); border-radius: 6px; padding: 0 4px; margin: 0 -2px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.tok:hover { background: color-mix(in srgb, var(--text) 14%, transparent); }
.tok[disabled] { cursor: default; }
.tok.is-bad { color: var(--refuted); border-color: color-mix(in srgb, var(--refuted) 60%, transparent); background: var(--refuted-soft); }
.tok.is-real { opacity: .7; }
.g-out { margin-top: 18px; }
.g-out:empty { display: none; }
.g-msg { font: 600 18px/1.35 var(--sans); margin: 0 0 8px; animation: rise .5s var(--ease); }
.g-msg.right { color: var(--text); } .g-msg.wrong { color: var(--muted); }
.g-ver { font: 400 13px/1.55 var(--mono); color: var(--muted); margin: 0 0 4px; animation: rise .5s .1s var(--ease) both; }
.g-ver b { font-family: var(--sans); font-weight: 600; color: var(--refuted); }
.g-ver.real b { color: var(--ok); }
.g-next { margin-top: 14px; border: 0; background: var(--text); color: var(--ground); border-radius: 999px; padding: 10px 20px; font-weight: 500; cursor: pointer; }
.game-end { text-align: center; padding: clamp(40px, 6vw, 64px) 0 0; }
.game-end:not([hidden]) { animation: rise .8s var(--ease) both; }
.game-end .score { font: 600 clamp(44px, 7vw, 88px)/1 var(--sans); letter-spacing: -.045em; margin: 0 0 14px; }
.game-end .note { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); margin: 0 auto; max-width: 40ch; }
.game-end .join-q { margin: clamp(36px, 5vw, 56px) 0 0; font: 600 clamp(22px, 2.6vw, 30px)/1.2 var(--sans); letter-spacing: -.025em; }
.game-end .joinform { margin-top: 22px; }
.game-end .again { margin-top: 26px; }

/* proof */
.proof-grid-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 40px; margin-top: clamp(44px, 6vw, 72px); align-items: center; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15px, 1fr)); gap: 4px; }
.proof-grid i { aspect-ratio: 1; border-radius: 3px; background: color-mix(in srgb, var(--text) 6%, transparent);
                transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--rot, 0deg)) scale(.5); opacity: 0;
                transition: transform 1.25s cubic-bezier(.2, 1.3, .35, 1) var(--d, 0s), opacity .45s linear var(--d, 0s), background .4s; }
.proof-grid.lit i { transform: none; opacity: 1; }
.proof-grid i.refuted { background: var(--cell); }
.proof-grid i.unverifiable { background: transparent; box-shadow: inset 0 0 0 1.5px var(--cell); }
.proof-grid i.guarded { background: transparent; box-shadow: inset 0 0 0 1.5px var(--cell); background-image: radial-gradient(var(--cell) 1.2px, transparent 1.5px); background-size: 5px 5px; }
.proof-legend .zero { display: flex; align-items: baseline; gap: 14px; margin: 0 0 18px; }
.proof-legend .big { font: 600 clamp(64px, 9vw, 120px)/1 var(--sans); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.proof-legend .zero > span:last-child { color: var(--muted); font-size: 17px; max-width: 12ch; line-height: 1.3; }
.proof-legend ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.proof-legend li { display: flex; align-items: center; gap: 10px; }
.proof-legend b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.proof-legend .k { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.proof-legend .k.refuted { background: var(--cell); }
.proof-legend .k.unverifiable { box-shadow: inset 0 0 0 1.5px var(--cell); }
.proof-legend .k.guarded { box-shadow: inset 0 0 0 1.5px var(--cell); background-image: radial-gradient(var(--cell) 1.2px, transparent 1.5px); background-size: 5px 5px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: clamp(56px, 8vw, 96px); }
.stats div { position: relative; padding: 28px; border-radius: 24px; background: var(--raised); border: 1px solid var(--line); }
.stats .num { font: 600 clamp(48px, 6vw, 76px)/1 var(--sans); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.odo { display: inline-flex; align-items: flex-start; }
/* the window shows one digit of the reel: it cuts above and below, never at the sides, where the
   tight letter-spacing makes a digit's ink wider than its box (a folding zero is cut, so it never
   slides over its neighbour); `hidden` stays for a browser without `clip` */
.odo .dg { display: inline-block; height: 1em; overflow: hidden; overflow: visible clip; max-width: 1em; transition: max-width .7s var(--ease), opacity .5s; }
.odo .dg.fold { max-width: 0; opacity: 0; overflow: hidden; }
.odo .col { display: flex; flex-direction: column; will-change: transform; }
.odo .col span { display: block; height: 1em; line-height: 1; }
.stats p { margin: 10px 0 0; color: var(--muted); max-width: 36ch; }
.sub-title { margin: clamp(64px, 9vw, 110px) 0 8px; font: 600 clamp(26px, 3.4vw, 40px)/1.12 var(--sans); letter-spacing: -.03em; text-wrap: balance; max-width: 24ch; }
.reports { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.report { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, transform .3s var(--ease); }
.report:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.report .proj { font: 500 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.report .title { font: 400 13.5px/1.5 var(--mono); color: var(--code-ink); }
.report .status { font-size: 13px; font-weight: 600; }
.report .ans { font-size: 14px; color: var(--muted); }
.report .num { margin-top: auto; font: 400 12.5px var(--mono); color: var(--quiet); }

/* beta */
.perks { list-style: none; margin: clamp(44px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.perks li { position: relative; padding: 24px; border-radius: 22px; background: var(--raised); border: 1px solid var(--line); }
.perks b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 6px; }
.perks span { color: var(--muted); font-size: 14.5px; }
.beta-form { margin-top: 48px; }
.beta .center { margin-top: 18px; }
/* invitations: what a personal link earns */
.ref { margin-top: clamp(72px, 10vw, 120px); padding-top: clamp(44px, 6vw, 64px); border-top: 1px solid var(--line); }
.ref-title { margin: 0 0 10px; font: 600 clamp(28px, 3.6vw, 44px)/1.1 var(--sans); letter-spacing: -.032em; text-wrap: balance; }
.ref-lede { margin: 0; max-width: 58ch; color: var(--muted); font-size: 17px; text-wrap: pretty; }
.ref-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ref-steps li { padding: 24px; border-radius: 22px; background: var(--raised); border: 1px solid var(--line); }
.ref-steps b { display: block; margin-bottom: 10px; font: 600 clamp(26px, 2.8vw, 34px)/1 var(--sans); letter-spacing: -.035em; }
.ref-steps span { color: var(--muted); font-size: 14.5px; }

/* questions */
.qa { margin-top: 40px; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 2px; font: 500 clamp(18px, 2vw, 21px)/1.35 var(--sans); letter-spacing: -.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-weight: 300; font-size: 26px; line-height: 1; color: var(--muted); transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details.shut summary::after { transform: none; }
.qa .a { overflow: hidden; }
.qa p { margin: 0; padding: 0 2px 24px; color: var(--muted); max-width: 64ch; }

/* footer: the product and who makes it, read as one thing - "Pinull, from Krydia", the way people
   already read "Instagram, from Meta" - with how to reach us on the other side */
.foot { margin-top: clamp(110px, 14vw, 180px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.foot-in { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand links" "from made"; align-items: center; gap: 10px 24px;
           font-size: 13px; color: var(--muted); padding: 30px max(18px, env(safe-area-inset-right, 0px)) 30px max(18px, env(safe-area-inset-left, 0px)); }
.foot-in p { margin: 0; display: flex; align-items: center; flex-wrap: wrap; }
.foot .brand { grid-area: brand; justify-self: start; margin-right: 0; font-size: 15px; }
/* "from" starts where the word Pinull starts, so the two lines read as one name and its maker */
.foot .from { grid-area: from; gap: 10px; padding-left: 31px; }
.foot .from > span:first-child { color: var(--quiet); }
.foot-links { grid-area: links; justify-content: flex-end; }
.foot .dot { margin: 0 9px; color: var(--faint); }
.foot-links a { color: var(--muted); text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: var(--text); }
.made { grid-area: made; justify-content: flex-end; color: var(--quiet); }
/* Krydia, set as a word: wide-tracked capitals in a brushed-metal tone, a glint of light now and then */
.krydia { display: inline-block; font: 500 13px/1 var(--sans); letter-spacing: .38em; text-transform: uppercase; margin-right: -.38em;
          color: transparent; -webkit-background-clip: text; background-clip: text;
          background-image: linear-gradient(105deg, transparent 38%, var(--krydia-shine) 50%, transparent 62%), linear-gradient(180deg, var(--krydia-top), var(--krydia-bottom));
          background-size: 320% 100%, 100% 100%; background-repeat: no-repeat; background-position: 150% 0, 0 0; animation: kshine 8s 3s infinite; }
@keyframes kshine { 0% { background-position: 150% 0, 0 0; } 22%, 100% { background-position: -50% 0, 0 0; } }

/* the phone's menu exists only in mobile.css */
.menu-btn, .menu { display: none; }

/* switching worlds: the new one opens like an aperture from the switch */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.switching, .switching *, .switching *::before, .switching *::after { transition: none !important; }

/* the privacy page */
.doc { max-width: 720px; margin: 0 auto; padding: 120px max(22px, env(safe-area-inset-left, 0px)) 40px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); text-align: left; margin-bottom: 8px; }
.doc .updated { color: var(--muted); margin: 0 0 40px; }
.doc h2 { font: 600 22px/1.3 var(--sans); letter-spacing: -.015em; margin: 36px 0 8px; }
.doc p { color: var(--muted); margin: 0 0 12px; }
.doc a { color: var(--text); }
.doc .back { display: inline-block; margin-top: 40px; }
/* the admin page (/admin/): the waitlist as a table, wider than a page of prose */
.doc:has(.admin) { max-width: 1080px; }
.admin-tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }
.admin-btn { height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--text); color: var(--ground);
             font: 500 14px/1 var(--sans); cursor: pointer; }
.admin-btn.quiet { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.admin-btn:disabled { opacity: .5; cursor: default; }
.admin-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font: 14px/1.4 var(--sans); }
.admin-table th { text-align: left; font-weight: 500; color: var(--muted); padding: 10px 12px;
                  border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.admin-table td { padding: 12px; border-bottom: 1px solid var(--line); color: var(--text); white-space: nowrap; }
.admin-table td.email { font: 13px/1.4 var(--mono); }
.admin-table tr.waiting td { color: var(--muted); }
.admin-note.small { margin-top: 18px; font-size: 13px; }
/* the member's own page (/confirmed/): the invite link and what it has earned */
.you { margin-top: 36px; }
.you-badge { display: inline-block; margin: 0 0 6px !important; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong);
             font: 600 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text) !important; }
.you h2 { margin: 18px 0 6px; font-size: clamp(26px, 3.4vw, 34px); }
.you-label { display: block; margin: 26px 0 8px; font-size: 13px; color: var(--muted); }
.you-line { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.you-link { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 400 15px var(--mono); padding: 10px 14px; outline: none; }
.you-btn { flex: none; border: 0; border-radius: 999px; padding: 10px 20px; background: var(--text); color: var(--ground); font: 500 14px/1.2 var(--sans); cursor: pointer; }
.you-btn.quiet { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.you-share { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 14px 0 0 !important; font-size: 14px; }
.doc .you-share a { color: var(--muted); }
.you-count { display: flex; align-items: baseline; gap: 14px; margin-top: 40px; }
.you-count b { font: 600 64px/1 var(--sans); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.you-count span { max-width: 20ch; color: var(--muted); line-height: 1.3; }
.you-steps { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.you-steps li { display: grid; grid-template-columns: 110px 1fr auto; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.you-steps b { font-weight: 600; }
.you-steps span { color: var(--muted); font-size: 15px; }
.you-steps em { font: normal 600 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.you-steps li:not(.reached) b { color: var(--muted); }
.doc .you-top { margin-top: 18px; color: var(--text); font-weight: 500; }
.doc .you-note { margin-top: 24px; font-size: 14px; }

@media (max-height: 860px) and (min-width: 641px) {
  h1 { font-size: clamp(44px, min(8.2vw, 11.5vh), 108px); }
  .sub { margin-top: 18px; }
  .joinform { margin-top: 28px; }
  .eyebrow { margin-bottom: 14px; }
}
