/* ============================================================
   ROSTER / RSTR — dark registry interface
   Single accent: vermilion. Neutrals only. No external assets.
   ============================================================ */

:root {
  --bg: #08090a;
  --bg-deep: #060708;
  --panel: #0d0f11;
  --panel-2: #111417;
  --panel-3: #15191c;
  --line: #262b30;
  --line-soft: #191d21;
  --ink: #e9edef;
  --ink-2: #c3cbd0;
  --muted: #8a949b;
  --dim: #5b646b;
  --accent: #ff5c35;
  --accent-soft: rgba(255, 92, 53, 0.12);
  --accent-line: rgba(255, 92, 53, 0.38);
  --ok: #ff5c35;
  --radius: 2px;
  --wrap: 1180px;
  --gutter: clamp(18px, 4.2vw, 52px);
  --sans: "Inter", "SF Pro Text", "Segoe UI", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 0%, transparent 78%);
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.5;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.014) 3px,
    rgba(255, 255, 255, 0.014) 4px
  );
}

::selection { background: var(--accent); color: #0b0604; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }

code, .mono { font-family: var(--mono); font-variant-ligatures: none; }

code {
  font-size: 0.92em;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-soft);
  border-radius: 1px;
  padding: 1px 4px;
  overflow-wrap: anywhere;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--accent);
  color: #0b0604;
  font-family: var(--mono);
  font-size: 11px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hidden { display: none !important; }
.muted { color: var(--dim) !important; }
.tiny { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.link { color: var(--accent); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 9, 10, 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.brand-mark { width: 22px; height: 22px; color: var(--accent); }
.brand-name {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
}
.brand-sym {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--dim);
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.site-nav a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 140ms ease;
}
.site-nav a:hover { color: var(--ink); }

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 8px;
  padding-left: 20px;
  border-left: 1px solid var(--line-soft);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dim);
  flex: 0 0 auto;
}
.dot.is-live { background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 92, 53, 0.12); animation: pulse 2.6s ease-in-out infinite; }
.dot.is-error { background: var(--accent); animation: none; opacity: 0.55; }
.dot.is-pending { background: #6d747a; animation: none; }

.meta-sep { width: 1px; height: 12px; background: var(--line); }

.state {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 7px;
  border-radius: 1px;
}
.state.is-live { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.state.is-error { color: var(--accent); border-color: var(--accent-line); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.42; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(58px, 8vw, 104px);
  border-bottom: 1px solid var(--line-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(360px, 0.87fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 26px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
}
.eyebrow span { display: inline-flex; align-items: center; }
.eyebrow span + span::before {
  content: "/";
  margin: 0 12px;
  color: var(--line);
}
.eyebrow span:first-child { color: var(--accent); }

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 7.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  max-width: 46ch;
  margin: 28px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.hero-invite {
  max-width: 46ch;
  margin: 16px 0 0;
  padding: 12px 0 12px 14px;
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, var(--accent-soft), transparent 88%);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink);
}
.hero-invite .mono {
  display: block;
  margin-bottom: 4px;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}
.btn:hover { border-color: #485057; background: rgba(255, 255, 255, 0.035); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #120704;
  font-weight: 600;
}
.btn-primary:hover { background: #ff7450; border-color: #ff7450; }
.btn-primary:disabled {
  background: #24282c;
  border-color: #24282c;
  color: #6f787f;
  cursor: not-allowed;
  transform: none;
}
.btn-ghost { background: transparent; }
.btn .arrow { font-size: 13px; color: var(--muted); }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 40px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 9px; }
.hero-facts .mono {
  color: var(--accent);
  font-size: 9px;
  border: 1px solid var(--accent-line);
  padding: 2px 4px;
}

/* hero ledger card */

.hero-ledger {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    var(--panel);
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  padding: 22px;
  min-height: 100%;
}
.hero-ledger::before,
.hero-ledger::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.8;
}
.hero-ledger::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.hero-ledger::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }

.ledger-head,
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ledger-head {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
#heroReadState { color: var(--accent); }

.serial-block {
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--line-soft);
}
.serial-label {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 6px;
}
.serial-value {
  display: block;
  font-family: var(--mono);
  font-size: clamp(48px, 6vw, 68px);
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.serial-sub {
  display: block;
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--dim);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line-soft);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 12px 18px 0;
  min-width: 0;
}
.hero-stat + .hero-stat { padding-left: 12px; border-left: 1px solid var(--line-soft); }
.stat-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--dim);
}
.hero-stat strong {
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.stat-sub {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--dim);
  white-space: nowrap;
}

.mini-track {
  height: 3px;
  margin-top: 20px;
  background: #191d20;
  overflow: hidden;
}
.mini-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ledger-note {
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--dim);
}
.ledger-bars {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 16px;
  margin-top: 18px;
  opacity: 0.55;
}
.ledger-bars i {
  display: block;
  flex: 1;
  height: 5px;
  background: var(--line);
}
.ledger-bars i:nth-child(3n) { height: 10px; background: #333a40; }
.ledger-bars i:nth-child(5n) { height: 14px; background: var(--accent-line); }

/* spec strip */

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(44px, 6vw, 72px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.spec-strip li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 22px 24px 0;
  border-bottom: 1px solid var(--line-soft);
}
.spec-strip li + li {
  padding-left: 22px;
  border-left: 1px solid var(--line-soft);
}
.spec-strip span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--dim);
}
.spec-strip strong {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.spec-strip small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- sections ---------- */

.section {
  position: relative;
  padding-block: clamp(66px, 9vw, 112px);
  border-bottom: 1px solid var(--line-soft);
  scroll-margin-top: 78px;
}

.section-head {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(18px, 3vw, 48px);
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 56px);
}
.secno {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent);
  padding-top: 9px;
}
.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4.1vw, 54px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 20ch;
}
.section-head h2 em { font-style: normal; color: var(--accent); }
.section-head p {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}
.section-head p .link { white-space: nowrap; }

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}
.panel-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.chip {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 1px;
  color: var(--muted);
  white-space: nowrap;
}
.chip.is-live { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.chip.is-error { color: var(--accent); border-color: var(--accent-line); }

/* ---------- mint ---------- */

.mint-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 18px;
  align-items: stretch;
}

.ticket { padding: 24px; }

.field { padding-top: 2px; }
.field-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.field-label label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field-label .tiny { color: var(--dim); }

.stepper {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  border: 1px solid var(--line);
  background: #090b0d;
  border-radius: 1px;
  overflow: hidden;
}
.step-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1;
  min-height: 64px;
  transition: background 140ms ease, color 140ms ease;
}
.step-btn:hover { background: rgba(255, 255, 255, 0.04); color: var(--accent); }
.stepper input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-inline: 1px solid var(--line-soft);
  background: transparent;
  text-align: center;
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 500;
  color: var(--ink);
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
.stepper:focus-within { border-color: var(--accent-line); }

.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 8px;
}
.quick button {
  min-height: 34px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}
.quick button:hover { border-color: var(--line); color: var(--ink); }
.quick button.is-active { border-color: var(--accent-line); color: var(--accent); background: var(--accent-soft); }

.field-help {
  margin: 9px 0 0;
  font-size: 11px;
  color: var(--dim);
}

.calc {
  margin: 24px 0 0;
  border-top: 1px solid var(--line-soft);
}
.calc > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.calc dt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.calc dd {
  margin: 0;
  font-size: 13px;
  color: var(--ink-2);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.calc dd.is-accent { color: var(--accent); }

.wallet-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 11px;
  border: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.wallet-line.is-ok { border-color: var(--accent-line); color: var(--ink-2); }
.wallet-line.is-ok .dot { background: var(--accent); }
.wallet-line.is-error { border-color: var(--accent-line); color: var(--accent); }
.wallet-line.is-error .dot { background: var(--accent); }

.ticket-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  gap: 8px;
  margin-top: 18px;
}
.ticket-actions .btn { width: 100%; }
.btn-send {
  width: 100%;
  margin-top: 8px;
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}
.btn-send:hover { background: rgba(255, 92, 53, 0.2); border-color: var(--accent); }
.btn-send:disabled {
  color: #6f787f;
  border-color: #24282c;
  background: transparent;
  cursor: not-allowed;
  transform: none;
}

.fineprint {
  margin: 14px 0 0;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--dim);
}

/* agent panel */

.agent-panel {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 92, 53, 0.035), transparent 38%),
    var(--panel);
}
.agent-panel .panel-head a { color: var(--accent); }
.agent-lead {
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}
.instruction {
  flex: 1;
  min-height: 292px;
  max-height: 380px;
  overflow: auto;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line-soft);
  background: #070809;
  color: #c7d0d5;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  scrollbar-width: thin;
  scrollbar-color: #343b41 transparent;
}
.instruction::selection { background: var(--accent); color: #0b0604; }
.agent-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.11em;
  color: var(--dim);
}

/* ---------- ledger ---------- */

.ledger-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 18px;
  align-items: stretch;
}

.progress-panel { padding: 24px; }

.progress-number {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.progress-number > span:first-child {
  font-size: clamp(50px, 7.6vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.progress-number .denom {
  font-size: 17px;
  color: var(--dim);
  letter-spacing: -0.01em;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--dim);
  text-transform: uppercase;
}
.progress-meta #pctOut { color: var(--accent); }

.bar {
  position: relative;
  height: 10px;
  margin-top: 14px;
  background: #15181b;
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 calc(1% - 1px),
    rgba(8, 9, 10, 0.62) calc(1% - 1px) 1%
  );
}
.bar-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--dim);
}

.split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.split > div { padding-right: 14px; }
.split > div + div { padding-left: 16px; border-left: 1px solid var(--line-soft); }
.split dt {
  font-size: clamp(18px, 2.6vw, 24px);
  color: var(--accent);
  letter-spacing: -0.03em;
}
.split dd {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}
.split dd span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.data-state {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--dim);
  overflow-wrap: anywhere;
}
.data-state.is-error { color: var(--accent); }

.mints-panel {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.mint-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  max-height: 472px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #343b41 transparent;
}
.mint-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mint-row:first-child { padding-top: 0; }
.mint-idx {
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.mint-main { min-width: 0; }
.mint-buyer {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mint-meta {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mint-right { text-align: right; }
.mint-shares {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.mint-paid {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--dim);
}
.mint-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  padding: 24px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--dim);
  border: 1px dashed var(--line-soft);
}
.mint-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--dim);
}
.mint-note.is-error { color: var(--accent); }

/* ---------- articles ---------- */

.articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line-soft);
}
.article {
  padding: 24px 24px 26px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.006);
  transition: background 160ms ease;
}
.article:hover { background: rgba(255, 255, 255, 0.018); }
.article-no {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.article h3 {
  margin: 14px 0 9px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.article p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.78;
  color: var(--muted);
}
.article code { font-size: 0.88em; }

.notice {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 22px;
  padding: 20px 24px;
  border: 1px dashed var(--line);
  background: rgba(255, 92, 53, 0.035);
}
.notice-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding-top: 3px;
}
.notice p {
  margin: 0;
  max-width: 84ch;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.referral-body { min-width: 0; }
.referral-body strong { color: var(--ink); font-weight: 500; }
.referral-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.referral-actions .btn { width: auto; }
@media (max-width: 560px) {
  .referral-actions .btn { flex: 1 1 100%; }
}

/* ---------- faq ---------- */

.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  letter-spacing: 0.005em;
  color: var(--ink-2);
  transition: color 140ms ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ink); }
.faq .plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.faq .plus::before,
.faq .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--dim);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background 180ms ease;
}
.faq .plus::before { width: 14px; height: 1px; }
.faq .plus::after { width: 1px; height: 14px; }
.faq[open] .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq[open] .plus::before { background: var(--accent); }
.faq[open] summary { color: var(--ink); }
.faq-body {
  padding: 0 0 22px;
  max-width: 78ch;
}
.faq-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- contracts ---------- */

.addr-panel {
  padding: 0 24px;
}
.addr-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 56px 88px;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.addr-row:last-child { border-bottom: 0; }
.addr-key {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.addr {
  min-width: 0;
  font-size: 12px;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  padding: 0;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.addr.is-pending { color: var(--dim); }
.mini-btn {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  border-radius: 1px;
  transition: color 140ms ease, border-color 140ms ease;
}
.mini-btn:hover { color: var(--accent); border-color: var(--accent-line); }
.mini-link {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--accent);
  white-space: nowrap;
}
.mini-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.mini-link[aria-disabled="true"] { color: var(--dim); pointer-events: none; }

.verify-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 10px;
}
.verify-strip .link[aria-disabled="true"] { color: var(--dim); pointer-events: none; }

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 54px 0 22px;
  background: var(--bg-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.72fr));
  gap: 32px;
}
.footer-brand p {
  max-width: 36ch;
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}
.footer-col h4 {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.footer-col a,
.footer-col span {
  display: block;
  margin: 7px 0;
  font-size: 11.5px;
  color: var(--muted);
}
.footer-col a:hover { color: var(--accent); }

.footer-addrs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
}
.footer-addrs > div {
  min-width: 0;
  padding: 14px 18px 16px 0;
}
.footer-addrs > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line-soft);
}
.footer-addrs span {
  display: block;
  margin-bottom: 7px;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--dim);
}
.footer-addrs code {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 10px;
  line-height: 1.5;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.footer-addrs code.is-pending { color: var(--dim); }

.footer-verify {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--dim);
}
.footer-verify .link[aria-disabled="true"] { color: var(--dim); pointer-events: none; }

.disclaimer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.disclaimer p {
  max-width: 92ch;
  margin: 0;
  font-size: 11px;
  line-height: 1.85;
  color: var(--dim);
}
.disclaimer p + p { margin-top: 10px; }
.disclaimer strong { color: var(--ink-2); font-weight: 500; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--dim);
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 16px;
  border: 1px solid var(--accent-line);
  border-left: 2px solid var(--accent);
  background: #111417;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.6;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.is-error { border-color: var(--accent); color: #ffd7cc; }

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .hero-ledger { max-width: 620px; }
  .section-head {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .section-head p {
    grid-column: 2;
    max-width: 64ch;
    margin-top: 0;
    padding-top: 10px;
  }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .header-meta { margin-left: auto; }
  .mint-grid,
  .ledger-grid { grid-template-columns: minmax(0, 1fr); }
  .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-addrs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-addrs > div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-soft); }
  .footer-addrs > div:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .instruction { min-height: 260px; max-height: 330px; }
  .mint-list { max-height: 420px; }
}

@media (max-width: 720px) {
  .header-inner { min-height: 58px; gap: 16px; }
  .brand-sym { display: none; }
  .header-meta { padding-left: 14px; }
  .hero { padding-top: 46px; }
  h1 { font-size: clamp(42px, 12vw, 66px); }
  .lede { margin-top: 22px; font-size: 14.5px; }
  .hero-actions { margin-top: 28px; }
  .hero-actions .btn { flex: 1 1 190px; }
  .hero-facts { margin-top: 30px; }

  .spec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-strip li:nth-child(3) { padding-left: 0; border-left: 0; }
  .spec-strip li:nth-child(3),
  .spec-strip li:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .spec-strip li:nth-child(4) { padding-left: 22px; border-left: 1px solid var(--line-soft); }

  .section-head { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .section-head p { grid-column: auto; padding-top: 0; }
  .secno { padding-top: 0; }

  .ticket-actions { grid-template-columns: minmax(0, 1fr); }
  .ticket-actions .btn { width: 100%; }

  .addr-row {
    grid-template-columns: 76px minmax(0, 1fr) 52px;
    gap: 10px;
    padding: 14px 0;
  }
  .addr-row .mini-link { grid-column: 2 / -1; justify-self: start; margin-top: -3px; }
  .addr { font-size: 11px; }

  .notice { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-addrs { grid-template-columns: minmax(0, 1fr); }
  .footer-addrs > div,
  .footer-addrs > div + div {
    padding: 13px 0;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }
  .footer-addrs > div:first-child { border-top: 0; }
  .footer-bottom { flex-wrap: wrap; gap: 8px 18px; }
  .toast { right: 18px; bottom: 18px; left: 18px; max-width: none; }
}

@media (max-width: 560px) {
  .articles { grid-template-columns: minmax(0, 1fr); }
  .article { padding: 20px 18px 22px; }
  .progress-panel,
  .ticket,
  .agent-panel,
  .mints-panel { padding: 18px; }
  .addr-panel { padding: 0 18px; }
  .addr-key { font-size: 8px; }
  .hero-stat strong { font-size: 15px; }
  .stat-sub { font-size: 7px; }
  .split > div { padding-right: 8px; }
  .split > div + div { padding-left: 10px; }
  .split dd { font-size: 10px; }
  .progress-number { gap: 8px; }
  .progress-number .denom { font-size: 13px; }
  .verify-strip { flex-wrap: wrap; gap: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}.ref-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: #090b0d;
  border-radius: 1px;
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
}
.ref-input::placeholder { color: var(--dim); }
.ref-input:focus { outline: none; border-color: var(--accent-line); }
.btn-ref { width: 100%; margin-top: 8px; }
