/* InstantBlock "Checkpoint" - public site stylesheet, written from scratch.
   Ink black, one signal orange, mono labels, living glyph canvases. No dependency on the dashboard CSS. */
@font-face { font-family: 'CP Archivo'; src: url('/cp-archivo.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'CP Mono'; src: url('/cp-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'CP Mono'; src: url('/cp-mono-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --bg: #070605; --bg-2: #0c0b09; --panel: #100f0c; --panel-2: #161411;
  --ink: #f4f2ee; --mute: #b9b4aa; --dim: #8b867c; --faint: #57534b;
  --line: #26231f; --line-2: #3a3630;
  --or: #ff6a1a; --or-hi: #ff9a5c; --or-lo: #7a3410; --or-soft: #1f1108;
  --disp: 'CP Archivo', 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'CP Mono', 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --w: 1200px; --pad: clamp(18px, 4vw, 40px); --r: 14px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.cp { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--disp); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.cp a { color: inherit; text-decoration: none; }
.cp img { max-width: 100%; height: auto; }
.cp ::selection { background: var(--or); color: #120904; }
.cp :focus-visible { outline: 2px solid var(--or-hi); outline-offset: 3px; border-radius: 4px; }
.cp-skip { position: absolute; left: -9999px; }
.cp-skip:focus { left: 14px; top: 10px; z-index: 99; background: var(--or); color: #120904; padding: 8px 14px; border-radius: 8px; }
.w { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 40; background: rgba(7,6,5,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hd-in { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); height: 62px; display: flex; align-items: center; gap: 26px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; font-size: 17px; }
.logo svg { width: 26px; height: 26px; transition: transform .25s cubic-bezier(.3,1.5,.5,1); }
.logo:hover svg { transform: rotate(-8deg) scale(1.08); }
.logo b { font-weight: 700; } .logo b i { font-style: normal; color: var(--or); }
.nav { display: flex; gap: 4px; margin-left: 10px; }
.nav a { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--mute); padding: 8px 11px; border-radius: 8px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: var(--panel-2); }
.nav a[aria-current] { color: var(--or-hi); }
.hd-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; font: 600 11px var(--mono); letter-spacing: .08em; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.lang a, .lang span { padding: 5px 10px; color: var(--dim); } .lang a:hover { color: var(--ink); }
.lang [aria-current] { background: var(--or); color: #120904; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); background: transparent; border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { width: 17px; height: 2px; background: var(--ink); }
.mnav { display: none; flex-direction: column; border-top: 1px solid var(--line); padding: 10px var(--pad) 20px; background: var(--bg); }
.mnav.open { display: flex; }
.mnav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 14px; color: var(--mute); }
.mnav .btn { margin-top: 14px; }
@media (max-width: 920px) { .nav, .hd-r .btn--ghost { display: none; } .burger { display: inline-flex; } .hd-r { gap: 8px; } }
@media (max-width: 520px) { .hd-r .btn { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 14px var(--disp); letter-spacing: -.005em; padding: 11px 20px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: transform .12s, background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn--or { background: var(--or); color: #120904; border-color: var(--or); }
.btn--or:hover { background: var(--or-hi); border-color: var(--or-hi); transform: translateY(-1px); }
.btn--ghost { color: var(--ink); border-color: var(--line-2); background: transparent; }
.btn--ghost:hover { border-color: var(--or); color: var(--or-hi); }
.btn--lg { padding: 14px 26px; font-size: 15.5px; border-radius: 12px; }
.btn--sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 400 11.5px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 4px rgba(255,106,26,.15); }
.h1 { font-weight: 800; font-size: clamp(42px, 7vw, 92px); line-height: .94; letter-spacing: -.045em; margin: 20px 0 0; }
.h1 em { font-style: normal; color: var(--or); }
.h2 { font-weight: 800; font-size: clamp(30px, 4.6vw, 58px); line-height: 1; letter-spacing: -.04em; margin: 0; }
.h3 { font-weight: 700; font-size: 20px; letter-spacing: -.02em; margin: 0 0 8px; }
.lede { color: var(--mute); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; max-width: 58ch; margin: 22px 0 0; }
.tag { font: 400 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--or); }

/* ---------- sections ---------- */
.sec { padding: clamp(56px, 8vw, 120px) 0; position: relative; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-h { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 780px; }
.sec-h .lede { margin: 0; }
.hazard { height: 10px; border: 0; margin: 0; background: repeating-linear-gradient(-45deg, var(--or) 0 12px, #0b0a08 12px 24px); }
.hazard--t { height: 5px; opacity: .55; }

/* ---------- glyph canvases ---------- */
.gl { display: block; width: 100%; height: 100%; }
.term { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); }
.term-bar { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); font: 400 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.term-bar b { font-weight: 400; color: var(--or); }
.term-body { position: relative; }
.term-body .gl { position: absolute; inset: 0; }
.ratio-hero { aspect-ratio: 16 / 11; }
.ratio-flow { aspect-ratio: 16 / 5; }
.ratio-scan { aspect-ratio: 4 / 3; }
.ratio-cta { aspect-ratio: 16 / 4; }
@media (max-width: 700px) { .ratio-flow { aspect-ratio: 4 / 3; } .ratio-cta { aspect-ratio: 16 / 7; } }

/* ---------- hero ---------- */
.hero { padding: clamp(44px, 7vw, 110px) 0 clamp(40px, 5vw, 72px); }
.hero-g { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 0; list-style: none; font: 400 12px var(--mono); color: var(--dim); }
.facts li::before { content: '+'; color: var(--or); margin-right: 8px; }
.hero-stage { position: relative; margin-top: 70px; }
.hero-stage .ping { position: absolute; z-index: 3; right: clamp(14px, 4%, 44px); width: var(--pw); bottom: calc(100% - var(--pw) * .401); pointer-events: none; }
@media (max-width: 920px) { .hero-g { grid-template-columns: 1fr; } .hero-stage { margin-top: 90px; } }

/* ---------- ping ---------- */
.ping { display: block; height: auto; user-select: none; -webkit-user-drag: none; }
.host { position: relative; }
.host > .ping--sit { position: absolute; z-index: 3; width: var(--pw, 150px); bottom: calc(100% - var(--pw, 150px) * .401); right: clamp(14px, 5%, 56px); pointer-events: none; }
.host > .ping--peek { position: absolute; z-index: 3; width: var(--pw, 150px); bottom: calc(100% - var(--pw, 150px) * .074); right: clamp(14px, 8%, 90px); pointer-events: none; }
.host > .ping--left { right: auto; left: clamp(14px, 5%, 56px); }
@media (prefers-reduced-motion: no-preference) { .ping--sit { animation: bob 5s ease-in-out infinite; } @keyframes bob { 50% { transform: translateY(-3px); } } }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 15px 0; background: var(--bg-2); }
.ticker-t { display: flex; gap: 38px; width: max-content; font: 400 12.5px var(--mono); letter-spacing: .06em; color: var(--mute); text-transform: uppercase; animation: tick 46s linear infinite; }
.ticker-t span::after { content: '/'; color: var(--or); margin-left: 38px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-t { animation: none; } }

/* ---------- steps / cards ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 26px; background: var(--panel); }
.step { padding: 26px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step .n { font: 600 12px var(--mono); color: var(--or); letter-spacing: .14em; }
.step p, .card p { color: var(--mute); margin: 0; font-size: 15px; }
.step h3 { margin-top: 12px; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards, .cards--2 { grid-template-columns: 1fr; } }
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: border-color .18s, transform .18s; overflow: hidden; }
a.card:hover, .card:hover { border-color: var(--or-lo); }
a.card:hover { border-color: var(--or); transform: translateY(-2px); }
.ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--or-soft); border: 1px solid var(--or-lo); color: var(--or); margin-bottom: 8px; transition: background .2s, color .2s, transform .2s; }
.ico svg { width: 28px; height: 28px; }
.ico .a { stroke: var(--or-hi); }
.card:hover .ico { background: var(--or); color: #120904; transform: translateY(-2px); } .card:hover .ico .a { stroke: #120904; }
.card pre.art { margin: 0 0 8px; font: 400 12.5px/1.25 var(--mono); color: var(--faint); white-space: pre; transition: color .2s; min-height: 6.4em; }
.card:hover pre.art { color: var(--mute); }
pre.art .o, pre.ascii .o { color: var(--or); font-weight: 600; }
pre.art .w, pre.ascii .w { color: var(--ink); }
pre.art .d, pre.ascii .d { color: var(--dim); }
.card .more { font-family: var(--disp) !important; margin-top: auto; padding-top: 8px; font: 600 12px var(--mono); letter-spacing: .06em; color: var(--or-hi); }
.card ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.card li { font-size: 14.5px; color: var(--mute); padding-left: 18px; position: relative; }
.card li::before { content: '+'; position: absolute; left: 0; color: var(--or); font-family: var(--mono); }

/* ---------- ascii blocks ---------- */
pre.ascii { margin: 0; font: 400 clamp(10.5px, 1.3vw, 13.5px)/1.34 var(--mono); color: var(--mute); white-space: pre; overflow-x: auto; scrollbar-width: none; tab-size: 4; }
pre.ascii::-webkit-scrollbar { display: none; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 2.4vw, 30px); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.shot { position: relative; }
.shot img { display: block; width: 100%; height: auto; }
.shot--float img { filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
@media (prefers-reduced-motion: no-preference) { .shot--float img { animation: bob2 7s ease-in-out infinite; } @keyframes bob2 { 50% { transform: translateY(-6px); } } }

/* ---------- demo widget ---------- */
.demo { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.demo-bar { display: flex; justify-content: space-between; padding: 11px 16px; border-bottom: 1px solid var(--line); font: 400 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.demo-bar b { font-weight: 400; color: var(--or); }
.demo-b { padding: clamp(18px, 3vw, 30px); display: grid; gap: 20px; }
.chk { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; border: 1px solid var(--line-2); border-radius: 12px; padding: 16px 18px; cursor: pointer; background: var(--bg-2); width: 100%; text-align: left; color: var(--ink); font: 600 16px var(--disp); transition: border-color .2s, box-shadow .3s; --p: 0; }
.chk:hover { border-color: var(--or); }
.chk .box { position: relative; z-index: 1; width: 28px; height: 28px; border: 2px solid var(--line-2); border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto; transition: background .25s, border-color .25s, transform .25s; }
.chk .box svg { width: 24px; height: 24px; overflow: visible; }
.chk .ring { stroke: var(--or); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 14 43; opacity: 0; transform-origin: 14px 14px; }
.chk .tick { stroke: #120904; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 26; stroke-dashoffset: 26; }
.chk > span:not(.box) { position: relative; z-index: 1; }
.chk .sub { margin-left: auto; font: 400 11px var(--mono); color: var(--dim); letter-spacing: .08em; }
/* progress fill + scan line under the label */
.chk::before { content: ''; position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: linear-gradient(90deg, rgba(255,106,26,.04), rgba(255,106,26,.16)); transition: width .45s cubic-bezier(.2,.7,.2,1); }
.chk::after { content: ''; position: absolute; top: 0; bottom: 0; width: 70px; left: -80px; background: linear-gradient(90deg, transparent, rgba(255,154,92,.28), transparent); opacity: 0; }
.chk[data-s="run"] { border-color: var(--or); }
.chk[data-s="run"] .box { border-color: var(--or); }
.chk[data-s="run"] .ring { opacity: 1; animation: ring 0.9s linear infinite; }
.chk[data-s="run"]::after { opacity: 1; animation: sweep 1.3s ease-in-out infinite; }
.chk[data-s="run"] .sub { color: var(--or-hi); }
.chk[data-s="done"] { border-color: var(--or); box-shadow: 0 0 0 4px rgba(255,106,26,.14); }
.chk[data-s="done"]::before { width: 100%; background: linear-gradient(90deg, rgba(255,106,26,.06), rgba(255,106,26,.14)); }
.chk[data-s="done"] .box { background: var(--or); border-color: var(--or); animation: pop .42s cubic-bezier(.3,1.6,.5,1); }
.chk[data-s="done"] .ring { opacity: 0; }
.chk[data-s="done"] .tick { animation: draw .32s .12s ease-out forwards; }
@keyframes ring { to { transform: rotate(360deg); } }
@keyframes sweep { to { left: 105%; } }
@keyframes pop { 0% { transform: scale(.8); } 60% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .chk .ring, .chk::after, .chk .box { animation: none !important; } .chk .tick { stroke-dashoffset: 0; } }
.log { margin: 0; min-height: 9.4em; font: 400 13px/1.7 var(--mono); color: var(--mute); white-space: pre-wrap; }
.log .ok { color: var(--or); } .log .dm { color: var(--faint); }
.log .ln { display: block; animation: lin .28s ease-out both; } @keyframes lin { from { opacity: 0; transform: translateX(-6px); } }
.verdict { display: none; align-items: center; gap: 14px; border: 1px solid var(--or); background: var(--or-soft); border-radius: 12px; padding: 14px 16px; font: 400 12.5px var(--mono); color: var(--or-hi); word-break: break-all; }
.verdict.on { display: flex; animation: vin .45s cubic-bezier(.2,.9,.3,1.2) both; } @keyframes vin { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.verdict strong { flex: 0 0 auto; white-space: nowrap; font: 700 13px var(--mono); letter-spacing: .12em; color: var(--ink); background: var(--or); color: #120904; padding: 5px 9px; border-radius: 6px; }
.demo-foot { padding: 12px 16px; border-top: 1px solid var(--line); font: 400 11px var(--mono); color: var(--faint); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- code ---------- */
.code { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.code-tabs { display: flex; border-bottom: 1px solid var(--line); }
.code-tabs button { background: none; border: 0; border-right: 1px solid var(--line); color: var(--dim); font: 600 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 12px 18px; cursor: pointer; }
.code-tabs button[aria-selected="true"] { color: var(--or-hi); background: var(--panel); }
.code-tabs .cp { margin-left: auto; border-right: 0; border-left: 1px solid var(--line); }
.code pre { margin: 0; padding: 20px 22px; overflow-x: auto; font: 400 13px/1.65 var(--mono); color: var(--mute); max-height: 480px; }
.code pre[hidden] { display: none; }
.code .k { color: var(--or-hi); } .code .c { color: var(--faint); } .code .s { color: #e8c9ad; }

/* ---------- verdict trio ---------- */
.vtrio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 800px) { .vtrio { grid-template-columns: 1fr; } }
.vcard { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.vcard pre { margin: 0 0 14px; font: 400 13px/1.3 var(--mono); color: var(--dim); }
.vcard .lamp { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 10px; background: var(--or); box-shadow: 0 0 0 4px rgba(255,106,26,.16); }
.vcard:nth-child(2) .lamp { background: var(--ink); box-shadow: 0 0 0 4px rgba(244,242,238,.12); }
.vcard:nth-child(3) .lamp { background: var(--faint); box-shadow: 0 0 0 4px rgba(255,255,255,.05); }
.vcard h3 { font-size: 20px; margin: 0 0 6px; display: flex; align-items: center; }
.vcard p { margin: 0; color: var(--mute); font-size: 15px; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 600 18px var(--mono); color: var(--or); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--or-hi); }
.faq .a { padding: 0 20px 20px; color: var(--mute); }

/* ---------- cta ---------- */
.cta { position: relative; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); margin: clamp(30px, 5vw, 70px) 0 clamp(50px, 7vw, 100px); }
.cta::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 7px; border-radius: 20px 20px 0 0; background: repeating-linear-gradient(-45deg, var(--or) 0 12px, #0b0a08 12px 24px); z-index: 2; }
.cta-bg { position: absolute; inset: 0; opacity: .5; overflow: hidden; border-radius: 20px; }
.cta-in { position: relative; z-index: 1; text-align: center; padding: clamp(54px, 8vw, 110px) var(--pad) clamp(44px, 6vw, 84px); }
.cta-in .lede { margin: 18px auto 0; }
.cta-in .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- page hero (interior) ---------- */
.ph { padding: clamp(40px, 6vw, 90px) 0 clamp(30px, 4vw, 56px); }
.ph .h1 { font-size: clamp(38px, 6vw, 78px); }
.ph-g { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .ph-g { grid-template-columns: 1fr; } }
.ph .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- footer ---------- */
.ft { border-top: 1px solid var(--line); padding: clamp(46px, 6vw, 80px) 0 34px; background: var(--bg-2); }
.ft-g { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.ft p { color: var(--dim); font-size: 14px; max-width: 34ch; margin: 14px 0 0; }
.ft h4 { font: 400 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin: 0 0 14px; }
.ft nav a { display: block; padding: 5px 0; color: var(--mute); font-size: 14.5px; } .ft nav a:hover { color: var(--or-hi); }
.ft-b { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font: 400 12px var(--mono); color: var(--faint); }
.ft-b a { color: var(--mute); } .ft-b a:hover { color: var(--or-hi); }
.ft-ping { position: relative; }
@media (max-width: 760px) { .ft-g { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .ft-g { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.ct { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(40px, 6vw, 90px) 0; align-items: start; }
@media (max-width: 880px) { .ct { grid-template-columns: 1fr; } }
.ct-mail { font: 600 clamp(17px, 2.2vw, 22px) var(--mono); color: var(--or-hi); margin: 10px 0; }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } @media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font: 400 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 7px; }
.form input, .form textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px; color: var(--ink); font: 400 15px var(--disp); transition: border-color .15s; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--or); }
.form textarea { resize: vertical; min-height: 150px; }
.form .priv { color: var(--dim); font-size: 13px; margin: 0; } .form .priv a { color: var(--mute); border-bottom: 1px solid var(--line-2); }
.err { border: 1px solid #7a2b1a; background: #2a110b; color: #ffb59c; border-radius: 10px; padding: 12px 14px; }
.err p { margin: 0; }

/* ---------- blog ---------- */
.blog-h { padding: clamp(40px, 6vw, 90px) 0 30px; }
.posts { display: grid; gap: 14px; }
.post { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); transition: border-color .18s; }
.post:hover { border-color: var(--or); }
.post--lead h2 { font-size: clamp(26px, 3.4vw, 40px); }
.post h2 { font-weight: 800; font-size: 24px; letter-spacing: -.03em; margin: 12px 0; } .post h2 a:hover { color: var(--or-hi); }
.post p { color: var(--mute); margin: 0 0 14px; }
.meta { display: flex; gap: 14px; font: 400 11.5px var(--mono); color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }
.post-b { display: flex; justify-content: space-between; font: 400 12.5px var(--mono); color: var(--dim); }
.post-b a { color: var(--or-hi); }
.pager { display: flex; justify-content: space-between; margin-top: 24px; font: 400 12.5px var(--mono); color: var(--dim); } .pager a { color: var(--or-hi); margin-left: 14px; }
.empty { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 36px; } .empty h2 { margin: 0 0 8px; } .empty p { color: var(--mute); }
.empty .lk { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; font: 600 13px var(--mono); color: var(--or-hi); }
.art-h { padding: clamp(36px, 5vw, 70px) 0 24px; max-width: 760px; }
.art-h .back { font: 400 12.5px var(--mono); color: var(--dim); } .art-h .back:hover { color: var(--or-hi); }
.art-h h1 { font-weight: 800; font-size: clamp(32px, 5vw, 60px); letter-spacing: -.04em; line-height: 1; margin: 18px 0; }
.prose { max-width: 760px; font-size: 17px; line-height: 1.75; color: #d9d5cc; padding-bottom: 40px; }
.prose h2, .prose h3 { font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin: 1.8em 0 .5em; }
.prose a { color: var(--or-hi); border-bottom: 1px solid var(--or-lo); } .prose img { border-radius: 12px; }
.prose pre { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 16px; overflow-x: auto; font: 400 13px/1.6 var(--mono); }
.prose code { font-family: var(--mono); font-size: .92em; background: var(--panel-2); padding: 2px 6px; border-radius: 5px; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 34px; position: relative; color: var(--mute); font-style: italic; }
.prose blockquote::before { content: '"'; position: absolute; left: 0; top: -6px; font: 800 44px/1 var(--disp); color: var(--or); }
.art-f { display: flex; justify-content: space-between; gap: 14px; padding: 24px 0 70px; font: 600 13px var(--mono); color: var(--or-hi); border-top: 1px solid var(--line); max-width: 760px; }
.pnote { border: 1px solid var(--or-lo); background: var(--or-soft); border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; } .pnote p { margin: 4px 0 0; color: var(--mute); font-size: 14px; } .pnote a { color: var(--or-hi); font: 600 13px var(--mono); }

/* ---------- legal + docs ---------- */
.lg { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding-bottom: 80px; align-items: start; }
@media (max-width: 860px) { .lg { grid-template-columns: 1fr; } }
.lg-nav { position: sticky; top: 84px; display: grid; gap: 2px; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; background: var(--panel); }
@media (max-width: 860px) { .lg-nav { position: static; } }
.lg-nav strong { font: 400 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 2px 8px 8px; }
.lg-nav a { padding: 8px 10px; border-radius: 8px; color: var(--mute); font-size: 14.5px; } .lg-nav a:hover { background: var(--panel-2); color: var(--ink); } .lg-nav a[aria-current] { background: var(--or-soft); color: var(--or-hi); }
.lg-body { max-width: 780px; color: #d4d0c7; line-height: 1.75; }
.lg-body h2 { font-weight: 800; font-size: 28px; letter-spacing: -.03em; color: var(--ink); margin: 1.6em 0 .5em; } .lg-body h2:first-of-type { margin-top: 0; }
.lg-body h3 { font-weight: 700; font-size: 19px; color: var(--ink); margin: 1.6em 0 .4em; }
.lg-body a { color: var(--or-hi); border-bottom: 1px solid var(--or-lo); }
.lg-body ul, .lg-body ol { padding-left: 20px; } .lg-body li { margin: 6px 0; }
.lg-body .small-note { font: 400 12px var(--mono); color: var(--dim); }
.lg-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; } .lg-body th, .lg-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; } .lg-body th { color: var(--dim); font: 400 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; }

.dc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding-bottom: 80px; align-items: start; }
@media (max-width: 900px) { .dc { grid-template-columns: 1fr; } }
.dc-nav { position: sticky; top: 84px; display: grid; gap: 2px; } @media (max-width: 900px) { .dc-nav { position: static; } }
.dc-nav .t { font: 400 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 14px 10px 6px; } .dc-nav .t:first-child { margin-top: 0; }
.dc-nav a { padding: 7px 10px; border-radius: 8px; color: var(--mute); font-size: 14.5px; border-left: 2px solid transparent; } .dc-nav a:hover { color: var(--or-hi); border-left-color: var(--or); }
.dc-help { margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--dim); font-size: 13.5px; } .dc-help a { display: block; color: var(--or-hi); margin-top: 4px; }
.dc-body { max-width: 820px; min-width: 0; }
.dc-body section { padding: 8px 0 44px; scroll-margin-top: 84px; }
.dc-body h2 { font-weight: 800; font-size: 30px; letter-spacing: -.035em; margin: 0 0 14px; display: flex; gap: 14px; align-items: baseline; } .dc-body h2 .sn { font: 600 13px var(--mono); color: var(--or); }
.dc-body p, .dc-body li, .dc-body dd { color: var(--mute); } .dc-body strong { color: var(--ink); }
.dc-body a { color: var(--or-hi); border-bottom: 1px solid var(--or-lo); }
.dc-body code { font-family: var(--mono); font-size: .9em; background: var(--panel-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; color: var(--ink); }
.dc-body ol { padding-left: 20px; display: grid; gap: 10px; }
.dc-note { border: 1px solid var(--or-lo); background: var(--or-soft); padding: 14px 18px; border-radius: 10px; color: var(--mute); }
.dc-note::before { content: '!'; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 10px; border-radius: 5px; background: var(--or); color: #120904; font: 800 13px var(--mono); }
.dc-code { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 18px 0; }
.dc-code .top { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); font: 400 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.dc-code button { background: none; border: 1px solid var(--line-2); color: var(--mute); font: 600 11px var(--mono); border-radius: 7px; padding: 4px 10px; cursor: pointer; } .dc-code button:hover { border-color: var(--or); color: var(--or-hi); }
.dc-code pre { margin: 0; padding: 18px 20px; overflow-x: auto; font: 400 13px/1.65 var(--mono); color: var(--mute); }
.dc-code code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.dc-dec { display: grid; gap: 10px; } .dc-dec > div { border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 16px 18px; } .dc-dec p { margin: 6px 0 0; }
.dc-tw { overflow-x: auto; } .dc-t { width: 100%; border-collapse: collapse; font-size: 14.5px; } .dc-t th, .dc-t td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; } .dc-t th { font: 400 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.dc-faq { display: grid; gap: 12px; margin: 0; } .dc-faq > div { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--panel); } .dc-faq dt { color: var(--ink); font-weight: 600; } .dc-faq dd { margin: 6px 0 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ================= ad-style visual layer ================= */
/* hero 3D props */
.hero-stage .prop { position: absolute; z-index: 4; pointer-events: none; filter: drop-shadow(0 22px 28px rgba(0,0,0,.6)); }
.hero-stage .prop--l { left: clamp(-70px, -5vw, -24px); bottom: -62px; width: clamp(130px, 15vw, 190px); }
.hero-stage .prop--s { left: clamp(-34px, -2vw, 0px); top: clamp(-40px, -3vw, -18px); width: clamp(90px, 10vw, 130px); opacity: .95; }
@media (max-width: 920px) { .hero-stage .prop--l { left: -8px; } .hero-stage .prop--s { display: none; } }
@media (prefers-reduced-motion: no-preference) { .hero-stage .prop--l { animation: bob2 6.5s ease-in-out infinite; } }

/* wall vs gate */
.versus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; position: relative; }
@media (max-width: 800px) { .versus { grid-template-columns: 1fr; } }
.vs { border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 36px); background: var(--panel); display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.vs--bad { background: repeating-linear-gradient(135deg, var(--panel) 0 14px, #0d0c0a 14px 28px); }
.vs--good { border-color: var(--or); background: linear-gradient(180deg, var(--or-soft), var(--panel) 70%); }
.vs-k { display: flex; justify-content: space-between; font: 600 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.vs--good .vs-k { color: var(--or-hi); }
.vs h3 { font-weight: 800; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.04em; line-height: 1.02; margin: 0; }
.vs--bad h3 { color: var(--mute); text-decoration: line-through; text-decoration-color: var(--faint); text-decoration-thickness: 2px; }
.vs pre { margin: 0; font: 400 12.5px/1.25 var(--mono); color: var(--dim); min-height: 11em; overflow: hidden; }
.vs--good pre { color: var(--mute); }
.vs ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 15px; color: var(--mute); }
.vs li { display: flex; gap: 10px; } .vs li::before { content: 'x'; font: 600 13px var(--mono); color: var(--faint); }
.vs--good li::before { content: '+'; color: var(--or); }
.vs-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; width: 58px; height: 58px; border-radius: 50%; background: var(--bg); border: 1px solid var(--or); display: grid; place-items: center; font: 800 15px var(--mono); color: var(--or); }
@media (max-width: 800px) { .vs-badge { display: none; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.bt { position: relative; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); overflow: hidden; padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; transition: border-color .2s; }
.bt:hover { border-color: var(--or-lo); }
.bt h3 { font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.035em; line-height: 1.05; margin: 0 0 8px; position: relative; z-index: 2; }
.bt p { color: var(--mute); margin: 0; font-size: 15px; max-width: 34ch; position: relative; z-index: 2; }
.bt .k { position: relative; z-index: 2; font: 600 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--or); margin-bottom: 12px; }
.bt img { position: absolute; z-index: 1; pointer-events: none; height: auto; filter: drop-shadow(0 24px 30px rgba(0,0,0,.55)); }
.bt--a { grid-column: span 4; min-height: 380px; } .bt--b { grid-column: span 2; } .bt--c { grid-column: span 2; } .bt--d { grid-column: span 2; } .bt--e { grid-column: span 2; }
.bt--a canvas { position: absolute; inset: 0 0 auto 0; width: 100%; height: 62%; opacity: .95; }
.bt--a { min-height: 460px; }
.bt--b img { right: 8%; top: 6%; width: 44%; } .bt--c img { right: 8%; top: 8%; width: 42%; } .bt--d img { right: 8%; top: 4%; width: 36%; } .bt--e img { right: 6%; top: 8%; width: 62%; }
.bt--b, .bt--c, .bt--d, .bt--e { min-height: 330px; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bt--a { grid-column: span 2; } .bt--b, .bt--c, .bt--d, .bt--e { grid-column: span 1; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bt--a, .bt--b, .bt--c, .bt--d, .bt--e { grid-column: span 1; } }

/* numbers */
.nums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); }
.num { padding: clamp(18px, 2.6vw, 34px); border-right: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.num:last-child { border-right: 0; }
.num b { font-weight: 800; font-size: clamp(44px, 6.4vw, 92px); line-height: .9; letter-spacing: -.06em; color: var(--ink); }
.num b i { font-style: normal; color: var(--or); }
.num span { font: 400 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 900px) { .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } .num { border-bottom: 1px solid var(--line); } .num:nth-child(2n) { border-right: 0; } .num:last-child { grid-column: span 2; border-bottom: 0; } }

/* token anatomy graphic */
.anat { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); padding: clamp(18px, 2.6vw, 30px); margin-top: 22px; }
.anat svg { width: 100%; height: auto; display: block; }
.anat text { font-family: var(--mono); }

/* showcase scene */
.scene { position: relative; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: radial-gradient(ellipse at 50% 100%, #1d0f06 0%, var(--bg-2) 62%); min-height: 340px; display: grid; }
.scene img.big { width: min(100%, 980px); height: auto; margin: 0 auto; display: block; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.scene .cap { position: absolute; left: clamp(18px, 3vw, 40px); top: clamp(18px, 3vw, 36px); max-width: 30ch; z-index: 3; }
.scene .cap h3 { font-weight: 800; font-size: clamp(26px, 3.4vw, 46px); letter-spacing: -.04em; line-height: 1; margin: 12px 0 0; }
.scene .ground { position: absolute; left: 0; right: 0; bottom: 0; height: 7px; border-radius: 20px 20px 0 0; background: repeating-linear-gradient(-45deg, var(--or) 0 12px, #0b0a08 12px 24px); z-index: 2; }
@media (max-width: 700px) { .scene .cap { position: static; padding: 22px 18px 0; } }

/* verdict layout: real traffic-light colors */
.vlay { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; margin-top: 70px; }
.vlay-l { max-width: 220px; }
.vstack { display: grid; gap: 12px; }
.vrow { --c: var(--or); position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 9%, var(--panel)), var(--panel) 55%); transition: border-color .2s, transform .2s; }
.vrow:hover { border-color: var(--c); transform: translateX(4px); }
.vrow .lamp { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent), 0 0 22px color-mix(in srgb, var(--c) 55%, transparent); }
.vrow h3 { font-weight: 800; font-size: 22px; letter-spacing: -.03em; margin: 0 0 4px; }
.vrow p { margin: 0; color: var(--mute); font-size: 15px; max-width: 52ch; }
.vrow code { font: 400 12px var(--mono); color: var(--c); letter-spacing: .06em; white-space: nowrap; }
.vrow--g { --c: #34d399; } .vrow--y { --c: #fbbf24; } .vrow--r { --c: #f87171; }
@media (max-width: 720px) { .vlay { grid-template-columns: 1fr; margin-top: 30px; } .vlay-l { max-width: 150px; } .vrow { grid-template-columns: auto 1fr; } .vrow code { display: none; } .vstack { margin-top: 90px; } }

/* mobile: keep Ping clear of text */
@media (max-width: 920px) {
  .hero-stage { --pw: 112px !important; margin-top: 168px; }
  .hero-stage .ping { right: 8% !important; }
  .ph-g .host { margin-top: 190px !important; }
  .ph-g .host > .ping { width: 112px !important; }
  .host > .ping--peek, .host > .ping--sit { max-width: 140px; }
}

/* polish: reveal, spotlight, header state, footer Ping, counters */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }
.spot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(255,106,26,.11), transparent 70%); opacity: 0; transition: opacity .25s; pointer-events: none; z-index: 0; }
.spot:hover::after { opacity: 1; }
.hd { transition: background .25s, box-shadow .25s; } .hd.sc { background: rgba(7,6,5,.94); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.ft { position: relative; }
.ft-ping { position: absolute; right: clamp(20px, 9%, 140px); bottom: calc(100% - 2px); width: clamp(120px, 14vw, 170px); height: auto; pointer-events: none; }
.vstack > .ping--sit { right: 34% !important; }
.btn { position: relative; } .btn:active { transform: translateY(1px) scale(.99); }
.btn--or { box-shadow: 0 0 0 0 rgba(255,106,26,.5); } .btn--or:hover { box-shadow: 0 8px 28px -6px rgba(255,106,26,.55); }
.nav a { position: relative; } .nav a[aria-current]::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--or); border-radius: 2px; }
::-webkit-scrollbar { width: 11px; background: var(--bg); } ::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; border: 2px solid var(--bg); } ::-webkit-scrollbar-thumb:hover { background: var(--or-lo); }
html { scrollbar-color: var(--line-2) var(--bg); }
