/* VEILROLL
   Concept: a payroll printout unspools from a steel roller and passes behind a frosted glass veil.
   Above the veil the paper shows names; below it, the same rows read as one-time addresses.
   Bold moment: the veil itself. Drag it and the line between "who" and "where" moves.
   Palette: blue-black stage, paper white, one cobalt accent (the veil's edge light). No brass, no red (used by MASQUE, GOVERNOR).
   Type: Hanken Grotesk set big and tight + IBM Plex Mono for anything read off the chain. */
:root {
  --bg: #0a0c10;
  --bg-2: #10131a;
  --bg-3: #161a23;
  --line: rgba(232, 228, 219, .11);
  --line-2: rgba(232, 228, 219, .2);
  --paper: #e8e4db;
  --paper-dim: #b9b6ae;
  --mute: #868c99;
  --accent: #4766ff;
  --accent-ink: #9fb0ff;
  --ok: #7ad7a8;
  --warn: #f0b45a;
  --sans: "Saira", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --r: 6px;
  --wrap: min(1240px, 100% - 48px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--paper); font-family: var(--sans);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: var(--wrap); margin-inline: auto; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; }
.mute { color: var(--mute); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--bg); padding: 8px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 3px; }

/* launch bar (coin contract) */
.lb { border-bottom: 1px solid var(--line); background: #07080b; font-family: var(--mono); font-size: 12px; color: var(--paper-dim); }
.lb .wrap { display: flex; align-items: center; gap: 18px; min-height: 36px; flex-wrap: wrap; }
.lb b { color: var(--paper); font-weight: 600; }
.lb .ca { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lb .ca span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.lb button, .lb a { background: none; border: 0; padding: 0; color: var(--accent-ink); cursor: pointer; text-decoration: none; font-size: 12px; }
.lb button:hover, .lb a:hover { color: var(--paper); }
.lb .links { margin-left: auto; display: flex; gap: 18px; }
.lb [aria-disabled="true"] { color: var(--mute); pointer-events: none; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(10, 12, 16, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .02em; font-size: 20px; text-transform: uppercase; font-stretch: 92%; }
.brand svg { width: 22px; height: 22px; }
.nav { display: flex; gap: 30px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-dim); margin-left: 28px; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.top .cta { margin-left: auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  height: 44px; padding: 0 20px; border-radius: var(--r); border: 1px solid transparent; cursor: pointer;
  background: var(--paper); color: var(--bg); font-weight: 650; font-size: 15px; text-decoration: none;
  transition: transform .16s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn:hover { background: #fff; }
.btn:active { transform: scale(.98); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--paper); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--paper); }
.btn.blue { background: var(--accent); color: #fff; }
.btn.blue:hover { background: #5a77ff; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.link { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; font-weight: 550; }
.link:hover { border-color: var(--paper); }

/* pills + panels */
.pill { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; padding: 5px 8px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--paper-dim); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.live { color: var(--ok); border-color: rgba(122, 215, 168, .35); }
.pill.beta { color: var(--warn); border-color: rgba(240, 180, 90, .35); }
.pill.planned { color: var(--mute); }
.panel { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: .98; letter-spacing: -.045em; }
.lede { font-size: 1.1rem; color: var(--paper-dim); max-width: 56ch; }
.note { font: 12px/1.5 var(--mono); color: var(--mute); }

.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--mute); }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot nav { display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 90; background: var(--paper); color: var(--bg); padding: 10px 16px; border-radius: var(--r); font-size: 14px; font-weight: 600; transition: all .3s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 860px) {
  :root { --wrap: calc(100% - 32px); }
  .nav { display: none; }
  .lb .links { margin-left: 0; }
  .lb .ca span { max-width: 22ch; }
  .foot .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.bk { --c: rgba(232, 228, 219, .5); position: relative; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px; white-space: nowrap;
  font: 600 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--paper);
  border: 1px solid var(--c); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background .2s, color .2s, transform .16s var(--ease); }
.bk svg { width: 12px; height: 12px; }
.bk:hover { background: rgba(232, 228, 219, .08); }
.bk:active { transform: scale(.98); }
.bk.solid { background: var(--paper); color: var(--bg); border-color: var(--paper); }
.bk.solid:hover { background: #fff; }

.bk.sm { height: 40px; padding: 0 16px; font-size: 12px; }
.hdr-ctas { display: flex; gap: 10px; }
.hdr-ctas .bk.solid { box-shadow: none; }
@media (max-width: 860px) { .hdr-ctas .bk:not(.solid) { display: none; } }
.banner { margin: 0; background: var(--accent); color: #fff; text-align: center; font: 600 13px/1.4 var(--sans); padding: 8px 16px; }

[hidden] { display: none !important; }
.brand img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
