@font-face { font-family: 'Mona Sans'; src: url('/assets/fonts/MonaSans.woff2') format('woff2'); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: 'Martian Mono'; src: url('/assets/fonts/MartianMono.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #0a0b12;
  --bg2: #0d0f18;
  --panel: #11131e;
  --panel2: #161929;
  --line: rgba(238, 240, 247, .08);
  --line2: rgba(238, 240, 247, .14);
  --ink: #eef0f7;
  --ink2: #c9cddb;
  --mute: #9298ad;
  --dim: #6d7287;
  --acc: #5d20c7;         /* his violet: fills (buttons, pills, logo tile, glows) */
  --acc2: #6e33de;        /* fill hover */
  --acc-text: #9b6bff;    /* the same violet lifted for text and lines on the dark page (5.5:1) */
  --acc-ink: #ffffff;     /* text on a violet fill (8.6:1) */
  --acc-soft: rgba(93, 32, 199, .16);
  --good: #8fe3b4;
  --r: 18px;
  --wrap: 1120px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 'Mona Sans', system-ui, sans-serif; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--acc); color: var(--acc-ink); }
.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--acc); color: var(--acc-ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--acc-text); outline-offset: 3px; border-radius: 8px; }
.mono { font-family: 'Martian Mono', ui-monospace, monospace; font-size: .86em; letter-spacing: -.01em; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(10, 11, 18, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; font-stretch: 108%; }
.brand svg { width: 32px; height: 32px; padding: 6px; border-radius: 9px; background: var(--acc); color: #fff; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--ink2); }
.nav a { transition: color .2s; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
.top-r { display: flex; align-items: center; gap: 10px; }
.ca { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 14px; border: 1px solid var(--line2); border-radius: 999px; font-size: 13px; color: var(--ink2); background: rgba(17, 19, 30, .6); }
.ca b { color: var(--ink); font-weight: 650; }
.ca .ca-t { font-family: 'Martian Mono', monospace; font-size: 11.5px; color: var(--mute); }
.ca button, .ca a.scan { height: 28px; padding: 0 11px; border-radius: 999px; border: 0; background: var(--panel2); color: var(--ink); font-size: 12.5px; cursor: pointer; display: inline-flex; align-items: center; }
.ca button:disabled { opacity: .45; cursor: default; }
.ca a.scan[hidden] { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line2); background: transparent; font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .15s var(--ease), background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:hover { border-color: rgba(238, 240, 247, .3); }
.btn:active { transform: scale(.98); }
.btn.solid { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.btn.solid:hover { background: var(--acc2); border-color: var(--acc2); }
.btn.sm { height: 38px; padding: 0 15px; font-size: 14px; border-radius: 11px; }
.btn svg { width: 16px; height: 16px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 72px; isolation: isolate; overflow-x: clip; }
.hero::before { content: ''; position: absolute; inset: -72px 0 0; z-index: -2; background:
  radial-gradient(900px 520px at 78% 22%, rgba(93, 32, 199, .34), transparent 60%),
  radial-gradient(700px 400px at 100% 70%, rgba(155, 107, 255, .07), transparent 70%); pointer-events: none; }
.beam { position: absolute; z-index: -1; right: -10%; top: -40px; width: 70%; height: 120%; pointer-events: none; opacity: .9;
  background: linear-gradient(115deg, transparent 38%, rgba(155, 107, 255, .14) 50%, transparent 58%); filter: blur(18px); transform: skewX(-8deg); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--acc-text); font-size: 14px; font-weight: 550; margin: 18px 0 22px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc-text); box-shadow: 0 0 0 4px var(--acc-soft); }
h1 { font-size: clamp(42px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 640; font-stretch: 104%; margin: 0 0 24px; text-wrap: balance; }
.lede { font-size: 18px; color: var(--ink2); max-width: 31em; margin: 0 0 30px; }
.note { border-left: 2px solid var(--acc-text); padding: 2px 0 2px 16px; color: var(--mute); font-size: 14px; max-width: 30em; margin: 0 0 34px; }
.note b { color: var(--ink); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 18px 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 28px; font-weight: 640; letter-spacing: -.02em; font-variant-numeric: tabular-nums; transition: color .6s; }
.stat b.up { color: var(--acc-text); }
.stat span { font-size: 13px; color: var(--mute); }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--mute); margin-top: 14px; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.pill[data-s="live"] i { background: var(--good); box-shadow: 0 0 0 3px rgba(143, 227, 180, .16); }
.pill[data-s="offline"] i { background: #ff8f7a; }

/* ---------- checker panel ---------- */
.panel { position: relative; background: linear-gradient(180deg, rgba(22, 25, 41, .92), rgba(15, 17, 28, .94)); border: 1px solid var(--line2); border-radius: 24px; padding: 26px; box-shadow: 0 40px 120px -40px rgba(91, 70, 214, .45), inset 0 1px 0 rgba(255, 255, 255, .05); }
.panel h2 { font-size: 21px; font-weight: 620; letter-spacing: -.01em; margin: 0 0 4px; }
.panel .sub { color: var(--mute); font-size: 14px; margin: 0 0 18px; }
.field { display: flex; gap: 8px; padding: 6px; border-radius: 15px; background: var(--bg2); border: 1px solid var(--line2); transition: border-color .2s, box-shadow .2s; }
.field:focus-within { border-color: rgba(155, 107, 255, .6); box-shadow: 0 0 0 4px rgba(93, 32, 199, .28); }
.field input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0 10px; font-family: 'Martian Mono', monospace; font-size: 13px; color: var(--ink); }
.field input::placeholder { color: var(--dim); }
.field .btn { height: 44px; }
.tries { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; font-size: 13px; color: var(--dim); align-items: center; }
.tries button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; color: var(--ink2); cursor: pointer; transition: border-color .2s, color .2s; }
.tries button:hover { border-color: var(--line2); color: var(--ink); }
.err { color: #ffb3a6; font-size: 14px; margin: 12px 2px 0; min-height: 0; }

.result { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 22px; }
.result[hidden] { display: none; }
.verdict { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .08em; border: 1px solid var(--line2); color: var(--ink); }
.verdict.hot { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.big { font-size: clamp(40px, 5vw, 56px); line-height: 1.05; font-weight: 680; letter-spacing: -.035em; margin: 14px 0 4px; font-variant-numeric: tabular-nums; }
.line { color: var(--ink2); margin: 0 0 18px; }
.rows { margin: 0; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 16px; font-size: 14px; }
.rows div + div { border-top: 1px solid var(--line); }
.rows dt { color: var(--mute); }
.rows dd { margin: 0; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.means { font-size: 14px; color: var(--mute); margin: 16px 2px 18px; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.skel { height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--panel2), #1d2135, var(--panel2)); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- sections ---------- */
section.s { border-top: 1px solid var(--line); padding: 96px 0; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.k { color: var(--acc-text); font-size: 14px; font-weight: 550; margin: 0 0 14px; }
h2.t { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.06; letter-spacing: -.03em; font-weight: 630; font-stretch: 104%; margin: 0 0 18px; text-wrap: balance; }
.p { color: var(--ink2); max-width: 30em; margin: 0 0 20px; }
.more { display: inline-flex; gap: 6px; align-items: center; font-size: 14.5px; color: var(--ink); border-bottom: 1px solid var(--line2); padding-bottom: 2px; }
.more:hover { border-color: var(--acc-text); }

.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 13px; background: var(--bg2); border: 1px solid var(--line); margin-bottom: 18px; }
.tabs button { flex: 1; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--mute); font-size: 14px; font-weight: 550; cursor: pointer; transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--panel2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.kind h3 { font-size: 22px; font-weight: 620; letter-spacing: -.015em; margin: 6px 0 6px; }
.kind > p { color: var(--mute); margin: 0 0 18px; font-size: 15px; }
.addr-demo { font-family: 'Martian Mono', monospace; font-size: 12.5px; color: var(--ink2); padding: 14px 16px; border-radius: 12px; background: var(--bg2); border: 1px dashed var(--line2); margin-bottom: 16px; overflow-wrap: anywhere; }
.addr-demo em { font-style: normal; color: var(--acc-text); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline li:first-child { border-top: 1px solid var(--line); }
.timeline time { color: var(--acc-text); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.timeline b { display: block; font-weight: 600; margin-bottom: 3px; }
.timeline span { color: var(--mute); font-size: 14.5px; }
.timeline a { color: var(--ink2); border-bottom: 1px solid var(--line2); }
.truth { margin-top: 26px; padding: 18px 20px; border-radius: 16px; background: var(--acc-soft); border: 1px solid rgba(155, 107, 255, .3); color: var(--ink); font-size: 15px; }

.list { list-style: none; margin: 0; padding: 0; }
.list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.list li:first-child { border-top: 1px solid var(--line); }
.list svg { width: 22px; height: 22px; color: var(--ink2); margin-top: 3px; }
.list b { display: block; font-weight: 600; }
.list span { color: var(--mute); font-size: 14px; }
.tag { font-size: 12.5px; color: var(--acc-text); margin-top: 3px; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 560; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; color: var(--mute); transition: transform .25s var(--ease); margin-top: 3px; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: -6px 0 20px; color: var(--ink2); max-width: 40em; }
.faq details a { border-bottom: 1px solid var(--line2); }

.cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { margin: 0; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--mute); font-size: 14px; }
.ftr .g { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .6fr)); gap: 40px; }
.ftr h4 { color: var(--ink); font-size: 14px; font-weight: 600; margin: 4px 0 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a:hover { color: var(--ink); }
.ftr .fine { font-size: 13px; color: var(--dim); margin-top: 14px; max-width: 34em; }
.ftr .mint { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.ftr .mint .mono { color: var(--ink2); overflow-wrap: anywhere; }

/* ---------- receipt page ---------- */
.rcpt { padding: 56px 0 96px; }
.rcpt .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.rcpt figure { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line2); box-shadow: 0 40px 120px -50px rgba(91, 70, 214, .5); }
.rcpt h1 { font-size: clamp(34px, 4vw, 48px); }

/* ---------- motion ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .skel { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .hero .wrap, .split, .rcpt .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { padding-top: 28px; }
  section.s { padding: 72px 0; }
  .ftr .g { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ftr .g > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .top .wrap { height: 62px; gap: 12px; }
  .top-r .btn { display: none; }
  .ca { height: 34px; padding-left: 11px; margin-left: auto; }
  .ca .lbl { display: none; }
  .stat b { font-size: 22px; }
  .stat + .stat { padding-left: 12px; }
  .panel { padding: 18px; border-radius: 20px; }
  .field { flex-direction: column; }
  .field input { height: 44px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .list li { grid-template-columns: 30px minmax(0, 1fr); }
  .list .tag { grid-column: 2; }
}
