/* Paidroll · signal red field, ink, warm paper. Archivo (normal + expanded) + Martian Mono. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/assets/fonts/archivo-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: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/assets/fonts/archivo-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: 'Martian Mono'; font-style: normal; font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; src: url(/assets/fonts/martian-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: 'Martian Mono'; font-style: normal; font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; src: url(/assets/fonts/martian-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 {
  --red: #FF2A1A; --red-d: #E01F10; --red-dd: #B8170B; --red-soft: #FFE9E6;
  --ink: #0B0B0D; --ink-2: #44434A; --ink-3: #8C8A90; --ink-4: #B9B6B0;
  --paper: #F3F1EC; --paper-2: #EAE7E0; --white: #FFFFFF;
  --line: rgba(11, 11, 13, .1); --line-2: rgba(11, 11, 13, .16);
  --r-s: 12px; --r: 18px; --r-l: 26px;
  --sh: 0 1px 0 rgba(11, 11, 13, .04), 0 22px 44px -28px rgba(11, 11, 13, .28);
  --sh-l: 0 2px 0 rgba(11, 11, 13, .04), 0 50px 90px -40px rgba(11, 11, 13, .38);
  --sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); font-stretch: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
html[data-route="home"] body { background: var(--red); }
main { background: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.mono { font-family: var(--mono); font-stretch: 87.5%; letter-spacing: -.01em; }
.num { font-variant-numeric: tabular-nums; }
.hide, [hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(255, 42, 26, .45); outline-offset: 2px; border-radius: 8px; }

/* ---------------------------------------------------------------- lockup + header */
.lock { display: inline-flex; align-items: center; gap: 12px; }
.lock .mk { width: 24px; height: 30px; flex: none; color: var(--red); }
.lock .wm { font: 800 19px/1 var(--sans); font-stretch: 125%; letter-spacing: -.005em; }
.lock-xl .mk { width: 46px; height: 58px; }
.lock-xl .wm { font-size: 40px; }
.hd { position: absolute; inset: 0 0 auto 0; z-index: 30; color: var(--ink); }
.hd-in { display: flex; align-items: center; gap: 28px; height: 92px; }
.hd .nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 16px; opacity: .82; transition: opacity .2s, background .2s; }
.nav a:hover, .nav a.on { opacity: 1; background: rgba(11, 11, 13, .06); }
html[data-route="home"] .hd { color: #fff; }
html[data-route="home"] .hd .lock .mk { color: #fff; }
html[data-route="home"] .hd .nav a:hover, html[data-route="home"] .hd .nav a.on { background: rgba(255, 255, 255, .14); }
.btn-key { background: var(--ink); color: #fff; }
html[data-route="home"] .btn-key { background: #fff; color: var(--ink); }
.menu-b { display: none; width: 46px; height: 46px; border: 0; border-radius: 999px; background: rgba(11, 11, 13, .06); position: relative; }
html[data-route="home"] .menu-b { background: rgba(255, 255, 255, .16); }
.menu-b span, .menu-b span::before, .menu-b span::after { position: absolute; left: 14px; width: 18px; height: 2px; background: currentColor; border-radius: 2px; content: ''; }
.menu-b span { top: 22px; } .menu-b span::before { top: -6px; left: 0; } .menu-b span::after { top: 6px; left: 0; }
.sheet { position: fixed; z-index: 60; top: 84px; left: 12px; right: 12px; display: none; flex-direction: column; padding: 10px; background: #fff; border-radius: 22px; box-shadow: var(--sh-l); }
.sheet.open { display: flex; }
.sheet a { padding: 16px 18px; font-weight: 600; font-size: 18px; border-radius: 14px; }
.sheet a:hover { background: var(--paper); }

.dock { position: fixed; z-index: 50; top: 14px; left: 50%; transform: translate(-50%, -140%); opacity: 0; visibility: hidden; display: flex; align-items: center; gap: 18px; height: 60px; padding: 0 8px 0 22px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-radius: 999px; box-shadow: 0 1px 0 rgba(11, 11, 13, .06), 0 18px 40px -18px rgba(11, 11, 13, .35); transition: transform .5s var(--ease); white-space: nowrap; }
.dock { transition: transform .5s var(--ease), opacity .3s, visibility 0s .5s; }
.dock.on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .5s var(--ease), opacity .3s; }
.dock .lock .mk { width: 19px; height: 24px; }
.dock .lock .wm { font-size: 16px; }
.dock .nav { display: flex; gap: 2px; }
.dock .nav a { font-size: 15px; padding: 9px 12px; }
.dock .btn { height: 44px; padding: 0 18px; font-size: 15px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border: 0; border-radius: 999px; font: 650 16px/1 var(--sans); letter-spacing: -.005em; white-space: nowrap; transition: transform .25s var(--ease), background .2s, box-shadow .2s, opacity .2s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 14px 30px -14px rgba(90, 0, 0, .55); }
.btn-white:hover { box-shadow: 0 18px 36px -12px rgba(90, 0, 0, .6); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, .08); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #26252b; }
.btn-red, .btn-sig { background: var(--red); color: #fff; }
.btn-red:hover, .btn-sig:hover { background: var(--red-d); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-s { height: 40px; padding: 0 16px; font-size: 14.5px; }
.arrow::after { content: '→'; font-weight: 500; transition: transform .25s var(--ease); }
.btn.arrow:hover::after { transform: translateX(3px); }

/* ---------------------------------------------------------------- hero: the red field */
.hero { position: relative; overflow: hidden; background: var(--red); color: #fff; padding: 168px 0 120px; isolation: isolate; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero h1 { margin: 0; font: 800 clamp(76px, 10.2vw, 158px)/.86 var(--sans); letter-spacing: -.062em; }
.hero h1 span { display: block; }
.hero .lede { margin: 34px 0 0; max-width: 560px; font-size: 22px; line-height: 1.45; color: rgba(255, 255, 255, .92); font-weight: 450; }
.hero .cta { display: flex; gap: 12px; margin-top: 38px; flex-wrap: wrap; }
.hero .proof { display: flex; gap: 32px; margin-top: 52px; flex-wrap: wrap; }
.hero .proof div { display: flex; flex-direction: column; gap: 8px; }
.hero .proof b { font: 700 30px/1 var(--mono); font-stretch: 87.5%; letter-spacing: -.04em; }
.hero .proof span { font-size: 15.5px; color: rgba(255, 255, 255, .8); }

/* the ledger wall behind: real X accounts on a tilted plane, rolling up */
.wall { position: absolute; z-index: 0; top: -14%; right: -18%; width: 74%; height: 150%; perspective: 1400px; perspective-origin: 30% 20%; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-composite: intersect; }
.wall .plane { position: absolute; inset: 0; transform: rotateX(54deg) rotateZ(-14deg) translateZ(-40px); transform-origin: 50% 40%; }
.wall .roll { display: flex; flex-direction: column; gap: 14px; animation: roll 80s linear infinite; will-change: transform; }
.wall .wrow { display: flex; gap: 14px; }
.wall .chip { display: flex; align-items: center; gap: 12px; flex: none; height: 64px; padding: 0 22px 0 10px; border-radius: 16px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .74); font: 600 17px/1 var(--sans); }
.wall .chip img { width: 44px; height: 44px; border-radius: 50%; filter: grayscale(1) contrast(1.1) brightness(1.08); opacity: .8; }
.wall .chip .a { font: 500 14px/1 var(--mono); font-stretch: 87.5%; color: rgba(255, 255, 255, .5); margin-left: 6px; }
.wall .chip.paid { background: rgba(255, 255, 255, .2); }
.wall .chip.paid::after { content: ''; width: 18px; height: 18px; margin-left: 4px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23FF2A1A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
@keyframes roll { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* the live run sheet */
.run { position: relative; z-index: 2; justify-self: end; width: 100%; max-width: 560px; background: #fff; color: var(--ink); border-radius: var(--r-l); box-shadow: 0 2px 0 rgba(90, 0, 0, .1), 0 60px 100px -40px rgba(90, 0, 0, .6); overflow: hidden; }
.run-code { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 22px; background: var(--ink); color: #fff; font: 500 14.5px/1.5 var(--mono); font-stretch: 87.5%; white-space: nowrap; overflow: hidden; }
.run-code code { font: inherit; overflow: hidden; text-overflow: ellipsis; }
.run-code .p { color: #FF7A6C; }
.run-code .s { color: #FFB4AA; }
.run-code .go { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--red); color: #fff; font: 650 14px/1 var(--sans); border: 0; }
.run-code .go i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.run-code .go.busy i { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.run-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 22px 24px 12px; }
.run-head b { font: 750 22px/1.1 var(--sans); letter-spacing: -.025em; }
.run-head span { font-size: 15px; color: var(--ink-3); white-space: nowrap; }
.run-rows { list-style: none; margin: 0; padding: 0 12px; }
.run-rows li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 30px; gap: 14px; align-items: center; height: 66px; padding: 0 12px; border-radius: 14px; transition: background .4s; }
.run-rows li + li { box-shadow: 0 -1px 0 var(--line); }
.run-rows li img { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); }
.run-rows .who { min-width: 0; }
.run-rows .who b { display: block; font-weight: 700; font-size: 17px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.run-rows .who span { display: block; margin-top: 3px; font: 450 13px/1.4 var(--mono); font-stretch: 87.5%; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.run-rows .amt { font: 600 17px/1 var(--mono); font-stretch: 87.5%; letter-spacing: -.02em; text-align: right; }
.run-rows .amt small { font-size: 12px; color: var(--ink-3); margin-left: 4px; font-weight: 500; }
.st { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-2); position: relative; justify-self: end; transition: background .3s, box-shadow .3s; }
.st.busy { box-shadow: inset 0 0 0 2px var(--line); }
.st.busy::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--red); animation: spin .8s linear infinite; }
.st.ok { background: var(--red); box-shadow: none; }
.st.ok::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M8.5 14.4l3.6 3.6 7.4-7.6' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.st.bad { background: var(--ink); box-shadow: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.run-rows li.now { background: var(--red-soft); }
.run-foot { display: grid; grid-template-columns: repeat(3, 1fr); margin: 10px 12px 0; border-radius: 16px; background: var(--paper); }
.run-foot div { padding: 16px 16px 14px; min-width: 0; }
.run-foot div + div { box-shadow: -1px 0 0 var(--line); }
.run-foot b { display: block; font: 700 20px/1 var(--mono); font-stretch: 87.5%; letter-spacing: -.03em; }
.run-foot span { display: block; margin-top: 7px; font-size: 13.5px; color: var(--ink-3); }
.run-note { padding: 14px 24px 20px; font-size: 14px; color: var(--ink-3); }
.run-note b { color: var(--ink); font-weight: 650; }
.run-note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- sections */
.sec { padding: 150px 0; position: relative; }
.sec-tight { padding-top: 0; }
.sec-h { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: end; margin-bottom: 64px; }
.sec-h h2, .h2 { margin: 0; font: 800 clamp(46px, 5.6vw, 88px)/.92 var(--sans); letter-spacing: -.052em; }
.sec-h p, .lede2 { margin: 0; font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 520px; }
.sec-h p b, .lede2 b { color: var(--ink); font-weight: 650; }
.idx { display: block; margin-bottom: 26px; font: 650 18px/1 var(--sans); color: var(--ink-2); letter-spacing: -.01em; }
.sec-ink { background: var(--ink); color: #fff; padding: 150px 0; }
.sec-ink .sec-h p, .sec-ink .lede2 { color: rgba(255, 255, 255, .72); }
.sec-ink .sec-h p b, .sec-ink .lede2 b { color: #fff; }
.sec-red { background: var(--red); color: #fff; padding: 150px 0; }
.sec-red .sec-h p { color: rgba(255, 255, 255, .88); }
.sec-red .idx, .sec-ink .idx { color: rgba(255, 255, 255, .78); }
.card { background: #fff; border-radius: var(--r-l); box-shadow: var(--sh); padding: 32px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.grid2 > * { min-width: 0; }

/* 01 one call: steps + code */
.call { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 28px; align-items: start; }
.call-r { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.steps4 { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.steps4 li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 22px 24px; background: #fff; border-radius: var(--r); box-shadow: var(--sh); }
.steps4 .n { width: 56px; height: 56px; border-radius: 16px; background: var(--paper); display: grid; place-items: center; font: 700 18px/1 var(--mono); font-stretch: 87.5%; color: var(--red); }
.steps4 h4 { margin: 2px 0 6px; font: 750 21px/1.15 var(--sans); letter-spacing: -.025em; }
.steps4 p { margin: 0; color: var(--ink-2); font-size: 16.5px; }
.steps4 .v { display: inline-block; margin-top: 10px; padding: 6px 10px; border-radius: 9px; background: var(--paper); font: 500 14px/1.35 var(--mono); font-stretch: 87.5%; color: var(--ink); word-break: break-all; }
.steps4 .v.red { background: var(--red-soft); color: var(--red-dd); }
.try { margin-top: 12px; padding: 22px 24px; background: var(--ink); color: #fff; border-radius: var(--r); }
.try label { display: block; font-weight: 650; font-size: 16px; margin-bottom: 12px; }
.try .row { display: flex; gap: 10px; }
.try .inp-wrap { flex: 1; }
.try .inp { background: #1b1b1f; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.try .inp-wrap .pre { color: rgba(255, 255, 255, .5); }
.try .out { margin-top: 14px; font: 500 14px/1.75 var(--mono); font-stretch: 87.5%; color: rgba(255, 255, 255, .74); min-height: 48px; overflow-wrap: anywhere; }
.try .out b { color: #fff; font-weight: 600; }
.try .out .r { color: #FF8A7E; }

/* code panels (ui.js codePanel) */
.panel { background: #111114; color: #E9E8EC; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh-l); min-width: 0; }
.panel-h { display: flex; align-items: center; gap: 4px; padding: 12px 12px 0; }
.panel-h .t { height: 38px; padding: 0 14px; border: 0; border-radius: 10px 10px 0 0; background: transparent; color: rgba(255, 255, 255, .55); font: 600 14.5px/1 var(--sans); }
.panel-h .t.on { background: #1C1C21; color: #fff; }
.panel-h .sp { flex: 1; }
.panel-h .copy { height: 32px; padding: 0 12px; margin-bottom: 4px; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); font: 600 13.5px/1 var(--sans); }
.panel-h .copy:hover { background: rgba(255, 255, 255, .16); color: #fff; }
pre.code { margin: 0; padding: 24px 26px 28px; background: #1C1C21; font: 450 14px/1.75 var(--mono); font-stretch: 87.5%; letter-spacing: -.01em; overflow: auto; tab-size: 2; max-height: 620px; }
pre.code .c { color: #77757d; }
pre.code .s { color: #FFB1A6; }
pre.code .n { color: #fff; font-weight: 600; }
pre.code .key { color: #BDBBC4; }
pre.code .key.hl { color: #FF7A6C; }
pre.code .b { color: #FF7A6C; }

/* 02 payroll builder */
.pb { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); background: #fff; border-radius: 30px; box-shadow: var(--sh-l); overflow: hidden; color: var(--ink); }
.pb-in { padding: 34px; background: #fff; box-shadow: 1px 0 0 var(--line); display: flex; flex-direction: column; gap: 22px; }
.pb-out { padding: 34px; background: #FBFAF7; min-height: 600px; display: flex; flex-direction: column; min-width: 0; }
.pb label.l, .field > label { display: block; font: 650 15.5px/1.2 var(--sans); margin-bottom: 10px; letter-spacing: -.005em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip2 { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border: 0; border-radius: 999px; background: var(--paper); font: 600 15px/1 var(--sans); transition: background .2s, box-shadow .2s; }
.chip2 img { width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); }
.chip2.on { background: var(--ink); color: #fff; }
.chip2:hover:not(.on) { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.chip2.txt { padding: 0 16px; }
.who-list { display: flex; flex-wrap: wrap; gap: 8px; max-height: 300px; overflow: auto; padding: 2px; }
.who-list .chip2 { padding-right: 6px; }
.who-list .chip2 .x { width: 24px; height: 24px; border: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; font-size: 16px; line-height: 1; color: var(--ink-3); }
.who-list .chip2 .x:hover { background: rgba(0, 0, 0, .08); color: var(--ink); }
.add-row { display: flex; gap: 8px; }
.add-row .inp-wrap { flex: 1; }
.pb-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.pb-sum h3 { margin: 0; font: 800 36px/1 var(--sans); letter-spacing: -.045em; }
.pb-sum span { color: var(--ink-3); font-size: 15.5px; }
.txs { display: flex; flex-direction: column; gap: 12px; }
.tx { position: relative; padding: 16px 18px 18px; background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); animation: txin .6s var(--ease) both; }
@keyframes txin { from { opacity: 0; transform: translateY(10px); } }
.tx-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 15px; flex-wrap: wrap; }
.tx-h b { font-weight: 700; }
.tx-h .k { padding: 5px 9px; border-radius: 8px; background: var(--paper); font: 600 12.5px/1.2 var(--mono); font-stretch: 87.5%; }
.tx-h .k.sw { background: var(--ink); color: #fff; }
.tx-h .ok { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.tx-h .ok i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.tx-h .ok.no i { background: var(--ink); }
.tx-av { display: flex; flex-wrap: wrap; gap: 6px; }
.tx-av img { width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); box-shadow: 0 0 0 2px #fff; }
.tx-av img.new { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--red); }
.tx-av .route { display: flex; align-items: center; gap: 8px; font: 500 13.5px/1 var(--mono); font-stretch: 87.5%; color: var(--ink-2); }
.tx-av .route img { width: 30px; height: 30px; }
.tx-bar { margin-top: 14px; height: 8px; border-radius: 99px; background: var(--paper); overflow: hidden; }
.tx-bar i { display: block; height: 100%; border-radius: 99px; background: var(--ink); transform-origin: left; animation: grow .9s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.tx-f { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font: 500 13.5px/1.4 var(--mono); font-stretch: 87.5%; color: var(--ink-3); }
.tx-f b { color: var(--ink); font-weight: 600; }
.pb-empty { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; color: var(--ink-3); font-size: 17px; }
.pb-empty .big { font: 800 clamp(64px, 7vw, 104px)/.86 var(--sans); letter-spacing: -.06em; color: var(--paper-2); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: auto; padding-top: 22px; font-size: 14.5px; color: var(--ink-3); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 7px; vertical-align: -2px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--red); background: var(--paper-2); }
.sched { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.sched .s { padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.sched .s b { display: block; font: 750 22px/1.1 var(--sans); letter-spacing: -.02em; }
.sched .s span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .84); font-size: 16px; }

/* forms */
.field { display: flex; flex-direction: column; }
.inp { width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 17px; outline: 0; transition: box-shadow .2s; }
.inp:focus { box-shadow: inset 0 0 0 1.5px var(--red), 0 0 0 4px rgba(255, 42, 26, .14); }
.inp::placeholder { color: var(--ink-4); }
textarea.inp { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.inp-wrap { position: relative; display: flex; align-items: center; }
.inp-wrap .pre { position: absolute; left: 16px; color: var(--ink-3); font-weight: 600; pointer-events: none; }
.inp-wrap .inp { padding-left: 34px; }
.inp-wrap .av { position: absolute; right: 9px; width: 34px; height: 34px; border-radius: 50%; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper); flex-wrap: wrap; }
.seg button { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font: 650 15px/1 var(--sans); color: var(--ink-2); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 4px 10px -4px rgba(0, 0, 0, .18); }
.hint { margin-top: 8px; font-size: 14.5px; color: var(--ink-3); line-height: 1.45; }
.err { font-size: 15px; color: var(--red-dd); font-weight: 550; }
.err:not(:empty) { margin-top: 10px; }
.amt-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; }

/* 03 coins */
.coins { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: stretch; }
.coin-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-content: start; }
.coin-t { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; border: 0; border-radius: 18px; background: #fff; box-shadow: var(--sh); text-align: left; transition: transform .3s var(--ease), box-shadow .3s; min-width: 0; }
.coin-t:hover { transform: translateY(-2px); }
.coin-t.on { box-shadow: inset 0 0 0 2px var(--ink), var(--sh); }
.coin-t img { width: 46px; height: 46px; border-radius: 50%; background: var(--paper-2); }
.coin-t b { font-weight: 750; font-size: 17px; letter-spacing: -.01em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-t span { font-size: 13.5px; color: var(--ink-3); margin-top: -8px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route-c { padding: 30px; border-radius: var(--r-l); background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 22px; min-height: 440px; }
.route-c h3 { margin: 0; font: 800 34px/1.05 var(--sans); letter-spacing: -.04em; }
.route-c .path { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.route-c .node { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-weight: 650; }
.route-c .node img { width: 38px; height: 38px; border-radius: 50%; background: #222; }
.route-c .node.venue { padding: 0 16px; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font: 500 14px/1 var(--mono); font-stretch: 87.5%; color: rgba(255, 255, 255, .82); }
.route-c .to { font-size: 22px; color: rgba(255, 255, 255, .4); }
.route-c .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: auto; }
.route-c .facts div { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); min-width: 0; }
.route-c .facts b { display: block; font: 650 19px/1 var(--mono); font-stretch: 87.5%; letter-spacing: -.03em; overflow: hidden; text-overflow: ellipsis; }
.route-c .facts span { display: block; margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.route-c .msg { color: rgba(255, 255, 255, .7); font-size: 16px; }

/* 04 launch (ink) */
.lgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lcard { padding: 28px; border-radius: 30px; background: #fff; color: var(--ink); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7); }
.lcard .top { display: flex; align-items: center; gap: 16px; }
.lcard .cimg { width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; background: var(--red); color: #fff; overflow: hidden; }
.lcard .cimg svg { width: 36px; height: 46px; }
.lcard .nm { font: 800 28px/1 var(--sans); letter-spacing: -.035em; }
.lcard .tk { margin-top: 6px; font: 600 15px/1 var(--mono); font-stretch: 87.5%; color: var(--ink-3); }
.lcard .to { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px; border-radius: 20px; background: var(--paper); }
.lcard .to img { width: 48px; height: 48px; border-radius: 50%; }
.lcard .to .k { font-size: 14px; color: var(--ink-3); }
.lcard .to b { font-size: 19px; letter-spacing: -.01em; }
.lcard .to .pct { margin-left: auto; font: 800 40px/1 var(--sans); letter-spacing: -.05em; color: var(--red); }
.lcard .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.lcard .facts div { padding: 14px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.lcard .facts b { display: block; font: 650 18px/1 var(--mono); font-stretch: 87.5%; letter-spacing: -.03em; }
.lcard .facts span { display: block; margin-top: 7px; font-size: 13.5px; color: var(--ink-3); }
.lcard .lnote { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.ticks { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; line-height: 1.45; }
.ticks li::before { content: ''; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.4l3.1 3.1L17 8.6' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px no-repeat; }
.sec-ink .ticks li { color: rgba(255, 255, 255, .86); }
.lgrid .cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* 05 use cases with real logos */
.uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.use { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-l); background: #fff; box-shadow: var(--sh); min-height: 280px; min-width: 0; }
.use .lg { display: flex; gap: 8px; }
.use .lg span { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); }
.use .lg i { display: block; width: 28px; height: 28px; background: #fff; -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; }
.use .lg img { width: 34px; height: 34px; border-radius: 9px; }
.use h4 { margin: 4px 0 0; font: 750 22px/1.12 var(--sans); letter-spacing: -.03em; }
.use p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.use code { margin-top: auto; display: block; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: #fff; font: 500 13px/1.55 var(--mono); font-stretch: 87.5%; white-space: pre-wrap; word-break: break-word; }
.use code .s { color: #FFB1A6; }

/* 06 webhooks + receipts */
.wr { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: start; }
.rcard { padding: 28px; border-radius: 30px; background: #fff; box-shadow: var(--sh-l); }
.rcard .rh, .receipt .rh { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-3); flex-wrap: wrap; }
.rcard h3 { margin: 18px 0 4px; font: 800 44px/1 var(--sans); letter-spacing: -.05em; }
.rcard .sub { color: var(--ink-3); font-size: 15.5px; }
.rcard ul { list-style: none; margin: 22px 0 0; padding: 0; }
.rcard li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; box-shadow: 0 -1px 0 var(--line); }
.rcard li img { width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); }
.rcard li b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcard li span { font: 600 15px/1 var(--mono); font-stretch: 87.5%; }
.state { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--paper); color: var(--ink); font: 650 14px/1 var(--sans); white-space: nowrap; }
.state i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.state.ok { background: var(--red-soft); color: var(--red-dd); }
.state.ok i { background: var(--red); }
.state.wait i { background: #E3A008; animation: blink 1s steps(2) infinite; }
.state.bad { background: var(--ink); color: #fff; }
.state.bad i { background: #fff; }

/* 07 pricing (red band) */
.price { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: end; }
.price .big { font: 800 clamp(140px, 19vw, 300px)/.78 var(--sans); letter-spacing: -.075em; }
.price .big small { font-size: .3em; letter-spacing: -.03em; margin-left: .08em; }
.price .pl { margin: 24px 0 0; font-size: 21px; color: rgba(255, 255, 255, .9); max-width: 460px; }
.plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plist li { padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.plist b { display: block; font: 750 22px/1.1 var(--sans); letter-spacing: -.025em; }
.plist span { display: block; margin-top: 8px; font-size: 15.5px; color: rgba(255, 255, 255, .86); }

/* 08 final cta */
.end { padding: 140px 0 130px; }
.end-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: end; }
.end h2 { margin: 0; font: 800 clamp(56px, 8vw, 132px)/.86 var(--sans); letter-spacing: -.06em; }
.end .cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------------------------------------------------------------- footer */
.ft { background: var(--ink); color: #fff; padding: 90px 0 40px; }
.ft .lock .mk { color: var(--red); }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; }
.ft-big p { margin: 22px 0 0; max-width: 460px; color: rgba(255, 255, 255, .72); font-size: 18px; }
.npm { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(255, 255, 255, .08); font: 500 16px/1 var(--mono); font-stretch: 87.5%; }
.npm { max-width: 100%; }
.npm .mono { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.npm .copy-b { flex: none; }
.copy-b { height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 650 14px/1 var(--sans); }
.ft-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ft-cols div { display: flex; flex-direction: column; gap: 12px; }
.ft-cols b { font-weight: 700; margin-bottom: 4px; }
.ft-cols a { color: rgba(255, 255, 255, .72); }
.ft-cols a:hover { color: #fff; }
.ft-fine { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 80px; padding-top: 26px; box-shadow: 0 -1px 0 rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); font-size: 14.5px; }
.ft-fine .ca b { color: #fff; font-family: var(--mono); font-weight: 500; }

/* ---------------------------------------------------------------- inner pages */
.page { padding: 150px 0 120px; min-height: 80vh; }
.page-h { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.page-h h1 { margin: 0; font: 800 clamp(48px, 6.4vw, 104px)/.9 var(--sans); letter-spacing: -.058em; }
.page-h p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 520px; }

/* playground */
.pg { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.pg-form { display: flex; flex-direction: column; gap: 18px; }
.pg-out { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.trace { padding: 22px; border-radius: var(--r-l); background: #fff; box-shadow: var(--sh); }
.trace .tr { display: grid; grid-template-columns: 150px minmax(0, 1fr) 70px; gap: 12px; align-items: center; height: 34px; font: 500 13.5px/1 var(--mono); font-stretch: 87.5%; color: var(--ink-2); }
.trace .rbar { height: 10px; border-radius: 99px; background: var(--paper); position: relative; overflow: hidden; }
.trace .rbar .bar { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: var(--ink); }
.trace .rbar .bar.sig { background: var(--red); }
.trace .ms { text-align: right; color: var(--ink); font-weight: 600; }

/* docs */
.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; }
.docnav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; padding-bottom: 40px; }
.docnav .g { margin: 18px 0 8px; font: 700 14px/1 var(--sans); color: var(--ink-3); }
.docnav .g:first-child { margin-top: 0; }
.docnav a { padding: 9px 12px; border-radius: 10px; font-weight: 550; font-size: 15.5px; color: var(--ink-2); }
.docnav a:hover { background: rgba(0, 0, 0, .04); color: var(--ink); }
.docnav a.on { background: #fff; color: var(--ink); box-shadow: var(--sh); }
.doc { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.dsec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; padding: 34px; background: #fff; border-radius: var(--r-l); box-shadow: var(--sh); scroll-margin-top: 96px; }
.dsec h2 { margin: 0 0 14px; font: 800 34px/1 var(--sans); letter-spacing: -.04em; }
.dsec h3 { margin: 22px 0 8px; font: 750 19px/1.2 var(--sans); letter-spacing: -.02em; }
.dsec p, .dsec li { color: var(--ink-2); font-size: 16.5px; }
.dsec code { padding: 2px 7px; border-radius: 7px; background: var(--paper); font: 500 .86em var(--mono); font-stretch: 87.5%; color: var(--ink); }
.dsec .dcode { min-width: 0; position: sticky; top: 96px; align-self: start; }
.ep { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: #fff; font: 600 14.5px/1 var(--mono); font-stretch: 87.5%; }
.ep .m { padding: 4px 7px; border-radius: 7px; background: var(--red); color: #fff; font-size: 12.5px; }
.params { display: flex; flex-direction: column; margin-top: 10px; }
.param { padding: 14px 0; box-shadow: 0 -1px 0 var(--line); }
.param .pn { font: 650 15px/1 var(--mono); font-stretch: 87.5%; }
.param .pt { margin-left: 10px; font-size: 14px; color: var(--ink-3); }
.param .rq { margin-left: 10px; font-size: 13.5px; font-weight: 650; color: var(--red-dd); }
.param p { margin: 8px 0 0; font-size: 15.5px; }

/* dashboard */
.dash { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dash .wide { grid-column: 1 / -1; }
.card h3 { margin: 0 0 6px; font: 800 26px/1.1 var(--sans); letter-spacing: -.035em; }
.card .cs { margin: 0 0 18px; color: var(--ink-3); font-size: 15.5px; }
.gate { text-align: center; padding: 64px 32px; }
.gate h3 { font-size: 38px; }
.krow { display: flex; align-items: center; gap: 12px; padding: 14px 0; box-shadow: 0 -1px 0 var(--line); flex-wrap: wrap; }
.krow .m { font-family: var(--mono); font-stretch: 87.5%; font-size: 14.5px; }
.secret { margin: 14px 0; padding: 16px; border-radius: 14px; background: var(--ink); color: #fff; font: 500 14.5px/1.5 var(--mono); font-stretch: 87.5%; word-break: break-all; }
.lbl { font-size: 14px; color: var(--ink-3); }
.mute { color: var(--ink-3); }
.bal { font: 800 48px/1 var(--sans); letter-spacing: -.05em; }
.addr { margin-top: 10px; font: 500 14px/1.5 var(--mono); font-stretch: 87.5%; word-break: break-all; color: var(--ink-2); }
.log { display: flex; flex-direction: column; font: 500 13.5px/1.4 var(--mono); font-stretch: 87.5%; }
.log > div { display: grid; grid-template-columns: 80px 60px minmax(0, 1fr) 70px; gap: 10px; padding: 10px 0; box-shadow: 0 -1px 0 var(--line); }
.tab { width: 100%; border-collapse: collapse; font-size: 15px; }
.tab th { text-align: left; font-weight: 650; color: var(--ink-3); padding: 10px 8px; box-shadow: 0 1px 0 var(--line); }
.tab td { padding: 12px 8px; box-shadow: 0 1px 0 var(--line); }

/* launch page */
.lform { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; align-items: start; }
.drop, .field > label.drop { display: flex; align-items: center; gap: 16px; margin: 0; padding: 14px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1.5px transparent; cursor: pointer; transition: box-shadow .2s; font: inherit; }
.drop.over, .drop:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.drop .th { width: 64px; height: 64px; flex: none; border-radius: 16px; display: grid; place-items: center; background: #fff; font-size: 26px; color: var(--ink-3); overflow: hidden; }
.drop .th img { width: 100%; height: 100%; object-fit: cover; }
.drop b { display: block; font-weight: 650; }
.drop span { display: block; font-size: 14.5px; color: var(--ink-3); }
.drop .pill2 { margin-left: auto; padding: 10px 16px; border-radius: 999px; background: #fff; font-weight: 650; font-size: 14.5px; color: var(--ink); }
.coincard { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: 30px; background: var(--red); color: #fff; box-shadow: var(--sh-l); }
.coincard .row1 { display: flex; align-items: center; gap: 16px; }
.coincard .img { width: 72px; height: 72px; flex: none; border-radius: 20px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); font: 800 28px/1 var(--sans); overflow: hidden; }
.coincard .img img { width: 100%; height: 100%; object-fit: cover; }
.coincard .nm { font: 800 28px/1 var(--sans); letter-spacing: -.035em; }
.coincard .tk { margin-top: 6px; font: 600 15px/1 var(--mono); font-stretch: 87.5%; color: rgba(255, 255, 255, .8); }
.coincard .feeto { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: #fff; color: var(--ink); }
.coincard .feeto img { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); }
.coincard .feeto .k { font-size: 13.5px; color: var(--ink-3); }
.coincard .feeto .pct { margin-left: auto; font: 800 32px/1 var(--sans); letter-spacing: -.05em; color: var(--red); }
.coincard .btn-sig { background: #fff; color: var(--ink); }
.coincard .btn-sig:hover { background: #fff; box-shadow: 0 14px 30px -14px rgba(90, 0, 0, .6); }
.coincard .hint, .coincard .err { color: rgba(255, 255, 255, .88); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: rgba(255, 255, 255, .8); }
.steps li i { width: 22px; height: 22px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.steps li.now { color: #fff; }
.steps li.now i { box-shadow: inset 0 0 0 2px #fff; border-top: 2px solid transparent; animation: spin .9s linear infinite; }
.steps li.done { color: #fff; }
.steps li.done i { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l2.9 2.9 6.2-6.4' fill='none' stroke='%23FF2A1A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat; box-shadow: none; }

/* receipts */
.rpage { max-width: 640px; margin: 0 auto; }
.receipt { padding: 34px; border-radius: 30px; background: #fff; box-shadow: var(--sh-l); }
.receipt .amt2 { margin: 26px 0 0; font: 800 76px/.9 var(--sans); letter-spacing: -.06em; }
.receipt .amt2 small { font-size: .38em; letter-spacing: -.02em; color: var(--ink-3); }
.receipt .who { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 16px; border-radius: 20px; background: var(--paper); }
.receipt .who img { width: 52px; height: 52px; border-radius: 50%; }
.receipt .who b { font-size: 20px; letter-spacing: -.015em; }
.receipt dl { margin: 22px 0 0; }
.receipt dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; box-shadow: 0 -1px 0 var(--line); }
.receipt dt { color: var(--ink-3); }
.receipt dd { margin: 0; font: 550 15px/1.4 var(--mono); font-stretch: 87.5%; text-align: right; word-break: break-all; }
.receipt .rows { margin-top: 22px; }
.receipt .rows > div { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; box-shadow: 0 -1px 0 var(--line); }
.receipt .rows img { width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); }
.receipt .rows b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.receipt .rows .a { font: 600 15px/1 var(--mono); font-stretch: 87.5%; }

/* toast + wallet modal */
.toast { position: fixed; z-index: 90; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; padding: 14px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; pointer-events: none; transition: opacity .25s, transform .35s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.modal { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(11, 11, 13, .5); backdrop-filter: blur(6px); }
.modal .box { width: 100%; max-width: 420px; padding: 28px; border-radius: 28px; background: #fff; box-shadow: var(--sh-l); }
.modal h3 { margin: 0; font: 800 28px/1 var(--sans); letter-spacing: -.04em; }
.modal p { color: var(--ink-3); }
.modal .wl { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.modal .wl button { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 16px; border: 0; border-radius: 16px; background: var(--paper); font-weight: 650; font-size: 17px; }
.modal .wl button:hover { background: var(--paper-2); }
.modal .wl img { width: 32px; height: 32px; border-radius: 8px; }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
html.still .rv, html.still .tx, html.still .tx-bar i { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
html.still .wall .roll { animation: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .hero-in, .call, .pb, .coins, .lgrid, .wr, .price, .end-in, .ft-top, .sec-h, .page-h, .pg, .lform { grid-template-columns: minmax(0, 1fr); }
  .run { justify-self: start; }
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall { width: 130%; right: -45%; opacity: .7; }
  .end .cta { justify-content: flex-start; }
  .docs { grid-template-columns: minmax(0, 1fr); }
  .docnav { display: none; }
  .dsec { grid-template-columns: minmax(0, 1fr); }
  .coincard { position: static; }
  .pb-in { box-shadow: 0 1px 0 var(--line); }
}
@media (max-width: 900px) {
  .hd .nav, .hd .btn-key { display: none; }
  .menu-b { display: block; margin-left: auto; }
  .dock .nav { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .hd-in { height: 76px; }
  .lock .wm { font-size: 17px; }
  .hero { padding: 116px 0 72px; }
  .hero h1 { font-size: clamp(60px, 18.5vw, 96px); }
  .hero .lede { font-size: 18.5px; margin-top: 24px; }
  .hero .cta .btn { flex: 1 1 auto; }
  .hero .proof { gap: 18px 26px; margin-top: 36px; }
  .hero .proof b { font-size: 22px; }
  .hero .proof span { font-size: 14px; }
  .run-code { font-size: 12.5px; padding: 12px 12px 12px 16px; }
  .run-code .go { height: 32px; padding: 0 12px; font-size: 13px; }
  .run-head { padding: 18px 16px 10px; }
  .run-head b { font-size: 19px; }
  .run-rows { padding: 0 6px; }
  .run-rows li { grid-template-columns: 38px minmax(0, 1fr) auto 26px; gap: 10px; height: 60px; padding: 0 10px; }
  .run-rows li img { width: 38px; height: 38px; }
  .run-rows .amt { font-size: 15px; }
  .run-rows .who b { font-size: 16px; }
  .st { width: 24px; height: 24px; }
  .run-foot { margin: 8px 6px 0; }
  .run-foot b { font-size: 15px; }
  .run-foot div { padding: 12px 10px 10px; }
  .run-foot span { font-size: 12px; }
  .run-note { padding: 12px 16px 16px; font-size: 13px; }
  .sec, .sec-ink, .sec-red { padding: 90px 0; }
  .sec-tight { padding-top: 0; }
  .sec-h { margin-bottom: 36px; gap: 18px; }
  .sec-h p { font-size: 17.5px; }
  .steps4 li { grid-template-columns: 44px minmax(0, 1fr); padding: 18px; gap: 14px; }
  .steps4 .n { width: 44px; height: 44px; font-size: 15px; }
  .pb-in, .pb-out { padding: 20px; }
  .pb-out { min-height: 0; }
  .pb-sum h3 { font-size: 28px; }
  .coin-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-c, .lcard { padding: 20px; }
  .route-c .facts, .lcard .facts { grid-template-columns: 1fr 1fr; }
  .uses { grid-template-columns: minmax(0, 1fr); }
  .use { min-height: 0; }
  .sched { grid-template-columns: minmax(0, 1fr); }
  .plist { grid-template-columns: minmax(0, 1fr); }
  .ft-cols { grid-template-columns: 1fr 1fr; }
  .dash { grid-template-columns: minmax(0, 1fr); }
  .card, .dsec, .receipt, .rcard { padding: 20px; }
  .page { padding: 110px 0 80px; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .dock { top: 10px; gap: 12px; padding-left: 16px; max-width: calc(100% - 24px); }
  .dock .btn { height: 40px; padding: 0 14px; font-size: 14px; }
  .receipt .amt2 { font-size: 56px; }
  .trace .tr { grid-template-columns: 110px minmax(0, 1fr) 56px; font-size: 12px; }
  .end { padding: 90px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wall .roll { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* coin picker popover */
.pop { position: absolute; z-index: 85; width: 340px; max-width: calc(100vw - 32px); padding: 12px; border-radius: 22px; background: #fff; box-shadow: var(--sh-l), 0 0 0 1px var(--line); }
.pop input { width: 100%; height: 48px; padding: 0 14px; border: 0; border-radius: 14px; background: var(--paper); outline: 0; font-size: 16px; }
.pop .note { margin: 10px 4px; font-size: 14px; color: var(--ink-3); }
.pop .coins2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-height: 340px; overflow: auto; }
.pop .coin { display: flex; align-items: center; gap: 10px; padding: 8px; border: 0; border-radius: 14px; background: transparent; text-align: left; }
.pop .coin:hover { background: var(--paper); }
.pop .coin img { width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); }
.pop .coin .s { font-weight: 700; font-size: 15px; }
.pop .coin .c { font-size: 12.5px; color: var(--ink-3); }

/* payroll result: every account of a small run */
.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin-top: 18px; }
.who-grid > div { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 9px 0; box-shadow: 0 -1px 0 var(--line); font-size: 15px; }
.who-grid img { width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); }
.who-grid b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-grid span { font: 600 13.5px/1 var(--mono); font-stretch: 87.5%; }
.who-grid em { font-style: normal; padding: 3px 7px; border-radius: 7px; background: var(--red-soft); color: var(--red-dd); font-size: 12.5px; font-weight: 650; }
@media (max-width: 720px) { .who-grid { grid-template-columns: minmax(0, 1fr); } }

/* playground status line */
.card > .rbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); }
.card > .rbar .code { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--paper); font: 650 14px/1 var(--mono); font-stretch: 87.5%; color: var(--ink); }
.card > .rbar .code.ok { background: var(--red-soft); color: var(--red-dd); }
.card > .rbar .code.bad { background: var(--ink); color: #fff; }
.trace:empty { display: none; }

/* launch page: compact head, the essentials above the fold, result inside the card */
.page-launch { padding-top: 120px; }
.page-h.sm { margin-bottom: 30px; align-items: center; }
.page-h.sm h1 { font-size: clamp(40px, 4.6vw, 70px); line-height: .95; }
.page-h.sm p { font-size: 17px; }
details.more { border-radius: 14px; }
details.more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 15.5px; color: var(--ink-2); padding: 6px 0; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: '+'; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); font-weight: 600; }
details.more[open] summary::before { content: '−'; }
/* the launch result box: scoped to #lAct so it never matches the step rows (step() sets li.className = 'done') */
#lAct > .done { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .14); }
#lAct > .done b { font: 800 26px/1.05 var(--sans); letter-spacing: -.03em; }
#lAct > .done span { color: rgba(255, 255, 255, .88); font-size: 15px; }
#lAct > .done-b { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
#lAct > .done-b .btn { height: 46px; padding: 0 18px; font-size: 15px; }
.coincard.live .steps li { color: #fff; }
@media (max-width: 720px) { .page-launch { padding-top: 100px; } }
