/* NOVA Protocol — trading-product marketing site styles */

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body { overflow-x: hidden; background: var(--ink); }

:root {
  --ink: #03101f;
  --panel: #081a2c;
  --line: rgba(221, 245, 255, 0.14);
  --signal: #85f7d2;
  --signal-soft: rgba(133, 247, 210, 0.13);
  --green: #72efb2;
  --blue: #65d8ff;
  --violet: #a994ff;
  --danger: #ff6378;
  --amber: #f9b95c;
  --cream: #f4f8e8;
  --button-ink: #06101a;
  --shadow-ink: rgba(2, 14, 27, 0.62);
  --glow: 0 0 0 1px rgba(133, 247, 210, 0.23), 0 0 42px rgba(101, 216, 255, 0.12);
}

/* Ambient market background + grid */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(221, 245, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(221, 245, 255, 0.038) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(9, 41, 62, 0.95), rgba(3, 12, 25, 0.38) 35%, transparent 62%),
    linear-gradient(245deg, rgba(13, 36, 63, 0.9), rgba(3, 16, 31, 0.28) 44%, transparent 72%),
    linear-gradient(180deg, rgba(101, 216, 255, 0.055), rgba(3, 16, 31, 0) 30%, rgba(2, 8, 18, 0.62) 100%);
  pointer-events: none;
}

/* Header blur on scroll */
header { transition: background 0.3s, border-color 0.3s; }
header.scrolled {
  background: rgba(3, 16, 31, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.logo-mark {
  width: 18px; height: 18px;
  background: conic-gradient(from 210deg, var(--signal), var(--green), var(--blue), var(--signal));
  border-radius: 5px;
  box-shadow: 0 0 16px rgba(133, 247, 210, 0.42), 0 0 28px rgba(101, 216, 255, 0.18);
  display: inline-block;
}

/* Buttons */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.95rem;
  padding: 0.8rem 1.3rem; border-radius: 0.7rem;
  transition: transform 0.15s, box-shadow 0.25s, background 0.2s;
  cursor: pointer; white-space: nowrap;
}
.btn-primary {
  color: var(--button-ink);
  background: linear-gradient(135deg, var(--signal), var(--blue));
  box-shadow: 0 10px 30px rgba(101, 216, 255, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(101, 216, 255, 0.24), 0 0 28px rgba(133, 247, 210, 0.18); }
.btn-ghost {
  color: #fff;
  background: rgba(101, 216, 255, 0.06);
  border: 1px solid rgba(150, 220, 255, 0.16);
}
.btn-ghost:hover { background: rgba(101, 216, 255, 0.11); transform: translateY(-2px); }
.w-full { width: 100%; }
.justify-center { justify-content: center; }

/* Pills + text helpers */
.status-pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.78rem; font-family: "JetBrains Mono", monospace;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(133, 247, 210, 0.34);
  background: rgba(133, 247, 210, 0.075);
  padding: 0.4rem 0.8rem; border-radius: 999px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px rgba(114, 239, 178, 0.76);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.gradient-text {
  background: linear-gradient(110deg, var(--signal), var(--blue) 56%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.kicker {
  font-family: "JetBrains Mono", monospace; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--signal);
  margin-bottom: 0.8rem;
}
.h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; }
.sub { margin-top: 1rem; color: rgba(255, 255, 255, 0.6); font-size: 1.05rem; max-width: 46rem; }
.section-head { max-width: 52rem; }

/* Hero metrics */
.metric { border-left: 2px solid rgba(133, 247, 210, 0.48); padding-left: 0.8rem; }
.metric-num { font-size: 1.6rem; font-weight: 800; font-family: "JetBrains Mono", monospace; }
.metric-label { font-size: 0.72rem; color: rgba(255, 255, 255, 0.45); margin-top: 0.15rem; }

/* Terminal card */
.terminal {
  background: linear-gradient(180deg, rgba(9, 25, 42, 0.94), rgba(3, 10, 22, 0.96));
  border: 1px solid var(--line);
  border-radius: 1.1rem; overflow: hidden;
  box-shadow: 0 30px 80px var(--shadow-ink), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
}
.terminal-bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.8rem 1rem; border-bottom: 1px solid rgba(150, 220, 255, 0.1);
  background: rgba(101, 216, 255, 0.032);
}
.tdot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.tdot:nth-child(1) { background: var(--danger); }
.tdot:nth-child(2) { background: var(--amber); }
.tdot:nth-child(3) { background: var(--green); }
.terminal-body { padding: 1.1rem 1.2rem; min-height: 264px; }
.terminal-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem 1.2rem; border-top: 1px solid rgba(150, 220, 255, 0.1);
  background: rgba(101, 216, 255, 0.032);
}
.t-line { opacity: 0; transform: translateY(4px); animation: tin 0.35s forwards; }
@keyframes tin { to { opacity: 1; transform: none; } }
.t-time { color: rgba(255, 255, 255, 0.35); }
.t-buy { color: var(--green); }
.t-sell { color: var(--blue); }
.t-win { color: var(--green); }
.t-skip { color: rgba(255, 255, 255, 0.35); }
.t-info { color: rgba(255, 255, 255, 0.65); }

/* Cards */
.card {
  position: relative; padding: 1.6rem;
  background: rgba(101, 216, 255, 0.035);
  border: 1px solid rgba(150, 220, 255, 0.11);
  border-radius: 1rem; transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(133, 247, 210, 0.42); background: rgba(133, 247, 210, 0.055); }
.card .ic { width: 26px; height: 26px; color: var(--signal); margin-bottom: 0.9rem; }
.card h3 { font-size: 1.2rem; font-weight: 700; }
.card p { margin-top: 0.5rem; color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; }
.card-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--signal);
  font-size: 0.84rem;
  font-weight: 800;
}
.step-num {
  position: absolute; top: 1.2rem; right: 1.3rem;
  font-family: "JetBrains Mono", monospace; font-size: 0.85rem; color: rgba(255, 255, 255, 0.25);
}

/* Stat cards */
.stat-card {
  text-align: center; padding: 2rem 1rem;
  border: 1px solid rgba(150, 220, 255, 0.11); border-radius: 1rem;
  background: rgba(101, 216, 255, 0.032);
}
.stat-num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; font-family: "JetBrains Mono", monospace; }
.stat-label { margin-top: 0.5rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }

/* Calculator */
.calc-panel, .calc-output {
  min-width: 0;
  padding: 1.8rem;
  border: 1px solid rgba(150, 220, 255, 0.11); border-radius: 1.2rem;
  background: rgba(101, 216, 255, 0.035);
}
.calc-output { background: linear-gradient(180deg, rgba(133, 247, 210, 0.06), rgba(101, 216, 255, 0.035)); box-shadow: var(--glow); }
.field { margin-bottom: 1.5rem; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field-val { font-family: "JetBrains Mono", monospace; color: var(--signal); font-weight: 700; }
.hint { font-size: 0.75rem; color: rgba(255, 255, 255, 0.4); margin-top: 0.4rem; }
.num-input, input[type="range"] { width: 100%; }
.num-input {
  margin-top: 0.6rem; background: rgba(5, 18, 32, 0.55); border: 1px solid rgba(150, 220, 255, 0.15);
  border-radius: 0.5rem; padding: 0.5rem 0.7rem; color: #fff; font-family: "JetBrains Mono", monospace;
}
.num-input:focus { outline: none; border-color: var(--signal); }

input[type="range"] {
  -webkit-appearance: none; appearance: none; height: 6px; border-radius: 999px;
  background: rgba(150, 220, 255, 0.16); outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--signal), var(--green)); cursor: pointer;
  box-shadow: 0 0 0 4px rgba(133, 247, 210, 0.18), 0 2px 8px rgba(2,14,27,0.48);
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--signal), var(--green)); cursor: pointer;
}
.link-reset { font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); background: none; border: none; cursor: pointer; }
.link-reset:hover { color: var(--signal); }

.out-tile { padding: 1.1rem; border: 1px solid rgba(150, 220, 255, 0.11); border-radius: 0.85rem; background: rgba(5, 18, 32, 0.42); }
.out-label { font-size: 0.78rem; color: rgba(255, 255, 255, 0.45); }
.out-num { font-size: 1.7rem; font-weight: 800; font-family: "JetBrains Mono", monospace; margin-top: 0.25rem; }

.chart-wrap { margin-top: 1.2rem; border: 1px solid rgba(150, 220, 255, 0.11); border-radius: 0.85rem; padding: 1rem; background: rgba(5,18,32,0.42); }
.chart-head { display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 0.5rem; }
#growth-chart { width: 100%; height: 160px; display: block; }

.monthly-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin: 1.2rem 0; text-align: center; }
.monthly-row > div { padding: 0.6rem; border: 1px solid rgba(150,220,255,0.1); border-radius: 0.6rem; background: rgba(5,18,32,0.36); }
.monthly-row .font-mono { font-size: 1rem; font-weight: 700; margin-top: 0.2rem; }

.calc-warn {
  margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 0.6rem;
  background: rgba(255, 99, 120, 0.11); border: 1px solid rgba(255, 99, 120, 0.34);
  color: #ffc4cc; font-size: 0.85rem;
}

/* Pricing */
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 2rem 1.8rem; border: 1px solid rgba(150, 220, 255, 0.12); border-radius: 1.2rem;
  background: rgba(101, 216, 255, 0.035); transition: transform 0.25s, border-color 0.25s;
}
.price-card:hover { transform: translateY(-5px); }
.price-card.featured {
  border-color: rgba(133, 247, 210, 0.52);
  background: linear-gradient(180deg, rgba(133, 247, 210, 0.08), rgba(101, 216, 255, 0.035));
  box-shadow: var(--glow);
}
.ribbon {
  position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--signal), var(--green)); color: var(--button-ink);
  padding: 0.3rem 0.9rem; border-radius: 999px;
}
.price-name { font-family: "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.price-amt { font-size: 2.8rem; font-weight: 800; margin-top: 0.4rem; }
.price-amt span { font-size: 1rem; font-weight: 500; color: rgba(255, 255, 255, 0.45); }
.price-note { color: var(--green); font-family: "JetBrains Mono", monospace; font-size: 0.8rem; margin-top: -0.1rem; }
.price-desc { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; margin: 0.5rem 0 1.2rem; }
.price-list { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.6rem; }
.price-list li { position: relative; padding-left: 1.5rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.mt-auto { margin-top: auto; }

/* Onboarding */
.onboard {
  margin-top: 2.5rem; padding: 2rem;
  border: 1px solid rgba(150, 220, 255, 0.12); border-radius: 1.2rem;
  background: rgba(101, 216, 255, 0.035); box-shadow: var(--glow);
}
.steps-track { margin-bottom: 2rem; }
#steps-fill { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--signal), var(--green)); transition: width 0.4s; }
.steps-bar { height: 4px; border-radius: 999px; background: rgba(150, 220, 255, 0.16); overflow: hidden; }
.steps-labels { display: flex; justify-content: space-between; gap: 0.5rem; margin-top: 0.6rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); font-family: "JetBrains Mono", monospace; }
.steps-labels span { white-space: nowrap; }
.steps-labels .active { color: var(--signal); }

.lbl { display: block; font-size: 0.85rem; font-weight: 600; margin: 1rem 0 0.4rem; }
.inp {
  width: 100%; background: rgba(5, 18, 32, 0.55); border: 1px solid rgba(150, 220, 255, 0.15);
  border-radius: 0.6rem; padding: 0.75rem 0.9rem; color: #fff; font-size: 0.95rem;
}
.inp:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(133, 247, 210, 0.16); }
.inp-prefix { display: flex; align-items: center; background: rgba(5,18,32,0.55); border: 1px solid rgba(150,220,255,0.15); border-radius: 0.6rem; padding-left: 0.8rem; }
.inp-prefix span { color: rgba(255, 255, 255, 0.4); font-family: "JetBrains Mono", monospace; }
.inp-prefix .inp { border: none; background: transparent; box-shadow: none; }
.micro { font-size: 0.75rem; color: rgba(255, 255, 255, 0.4); margin-top: 0.4rem; }
.secure-note {
  display: flex; gap: 0.6rem; align-items: flex-start;
  background: rgba(114, 239, 178, 0.07); border: 1px solid rgba(114, 239, 178, 0.28);
  border-radius: 0.7rem; padding: 0.8rem 1rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.75);
}
.secure-note i { color: var(--green); flex: none; margin-top: 2px; }
.referral-callout {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(133, 247, 210, 0.24);
  border-radius: 0.8rem;
  background: rgba(133, 247, 210, 0.055);
}
.referral-callout div {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}
.referral-callout strong { font-size: 0.92rem; }
.referral-callout span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  line-height: 1.45;
}
.referral-callout .btn-ghost {
  flex: none;
  padding: 0.68rem 0.95rem;
  font-size: 0.82rem;
}
.key-guide {
  margin-top: 1rem;
  border: 1px solid rgba(150, 220, 255, 0.14);
  border-radius: 0.75rem;
  background: rgba(5, 18, 32, 0.34);
  padding: 0.9rem 1rem;
}
.key-guide summary {
  cursor: pointer;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.84);
}
.key-guide ol {
  margin: 0.8rem 0 0.75rem;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.85rem;
  line-height: 1.55;
}
.key-guide li + li { margin-top: 0.35rem; }
.key-guide a {
  color: var(--signal);
  font-size: 0.82rem;
  font-weight: 700;
}
.step-actions { display: flex; gap: 0.8rem; justify-content: flex-end; margin-top: 1.5rem; }
.plan-pick, .pay-pick { display: grid; gap: 0.6rem; }
.pay-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan-opt, .pay-opt { display: flex; align-items: center; gap: 0.7rem; padding: 0.8rem 1rem; border: 1px solid rgba(150,220,255,0.15); border-radius: 0.7rem; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.plan-opt span, .pay-opt span { display: flex; flex-direction: column; gap: 0.12rem; min-width: 0; }
.plan-opt b, .pay-opt b { line-height: 1.2; }
.plan-opt small, .pay-opt small { color: rgba(255, 255, 255, 0.52); font-size: 0.78rem; line-height: 1.35; }
.plan-opt:has(input:checked), .pay-opt:has(input:checked) { border-color: var(--signal); background: rgba(133, 247, 210, 0.07); }
.plan-opt input, .pay-opt input { accent-color: var(--signal); flex: none; }
.coupon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
}
.coupon-row .inp { margin: 0; }
.coupon-row .btn-ghost { justify-content: center; }
.upgrade-preview {
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid rgba(133, 247, 210, 0.22);
  border-radius: 0.85rem;
  background:
    linear-gradient(135deg, rgba(133, 247, 210, 0.08), rgba(114, 239, 178, 0.035)),
    rgba(5, 18, 32, 0.42);
}
.upgrade-head h3 {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
}
.upgrade-head p:not(.upgrade-kicker) {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.55;
}
.upgrade-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.35rem;
}
.upgrade-grid {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.95rem;
}
.upgrade-card {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid rgba(150, 220, 255, 0.13);
  border-radius: 0.7rem;
  background: rgba(7, 25, 42, 0.58);
}
.upgrade-card span,
.upgrade-card small {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.75rem;
  line-height: 1.4;
}
.upgrade-card strong {
  display: block;
  margin: 0.2rem 0;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1.05rem, 3vw, 1.45rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.upgrade-card .upgrade-amount { color: var(--green); }
.upgrade-card.is-current {
  border-color: rgba(101, 216, 255, 0.26);
  background: rgba(101, 216, 255, 0.07);
}
.upgrade-note {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
  line-height: 1.45;
}
.checkout-summary {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(114, 239, 178, 0.24);
  border-radius: 0.85rem;
  background: rgba(114, 239, 178, 0.055);
}
.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.5;
}
.checkout-line + .checkout-line { margin-top: 0.35rem; }
.checkout-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(150, 220, 255, 0.12);
  color: #fff;
  font-weight: 800;
}
.checkout-total strong {
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  text-align: right;
}
.check { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1.2rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.check input { accent-color: var(--signal); margin-top: 3px; }
.form-error {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 99, 120, 0.34);
  border-radius: 0.7rem;
  background: rgba(255, 99, 120, 0.1);
  color: #ffc4cc;
  font-size: 0.85rem;
  line-height: 1.45;
}
.onboard-done { text-align: center; padding: 1rem; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.onboard-done h3 { font-size: 1.5rem; font-weight: 800; }
.onboard-done p { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; max-width: 26rem; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.7rem; }
.faq { border: 1px solid rgba(150, 220, 255, 0.12); border-radius: 0.8rem; background: rgba(101, 216, 255, 0.03); padding: 0 1.2rem; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 1.1rem 0; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--signal); font-weight: 700; font-size: 1.2rem; }
.faq[open] summary::after { content: "−"; }
.faq p { padding-bottom: 1.1rem; color: rgba(255, 255, 255, 0.6); font-size: 0.93rem; line-height: 1.6; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .dot, .t-line { animation: none; }
}

@media (min-width: 640px) {
  .upgrade-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .onboard { padding: 1.2rem; }
  .steps-labels { font-size: 0.68rem; }
  .pay-pick, .coupon-row { grid-template-columns: 1fr; }
  .referral-callout { align-items: stretch; flex-direction: column; }
  .referral-callout .btn-ghost { justify-content: center; }
  .step-actions { flex-direction: column-reverse; align-items: stretch; }
  .step-actions .btn-primary,
  .step-actions .btn-ghost { justify-content: center; }
}

/* Admin queue */
.admin-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0;
}
.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.admin-auth,
.admin-card,
.admin-summary > div,
.admin-empty {
  border: 1px solid rgba(150, 220, 255, 0.12);
  border-radius: 0.85rem;
  background: rgba(101, 216, 255, 0.035);
}
.admin-auth {
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}
.admin-summary > div {
  padding: 1rem;
}
.admin-summary span {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
}
.admin-summary strong {
  display: block;
  margin-top: 0.2rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.6rem;
}
.admin-list {
  display: grid;
  gap: 0.85rem;
}
.admin-card {
  padding: 1rem;
}
.admin-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.admin-card h2 {
  font-size: 1.05rem;
  font-weight: 800;
}
.admin-card p,
.admin-meta,
.admin-tasks {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}
.admin-card-head strong {
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  white-space: nowrap;
}
.admin-statuses,
.admin-meta,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(150, 220, 255, 0.14);
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(5, 18, 32, 0.38);
  font-size: 0.74rem;
}
.admin-pill b {
  color: var(--signal);
}
.admin-meta span {
  border-left: 2px solid rgba(133, 247, 210, 0.34);
  padding-left: 0.55rem;
}
.admin-tasks {
  margin-top: 0.85rem;
}
.admin-tasks h3 {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}
.admin-tasks ul {
  margin-top: 0.35rem;
  padding-left: 1rem;
}
.admin-action {
  border: 1px solid rgba(150, 220, 255, 0.14);
  border-radius: 0.55rem;
  padding: 0.45rem 0.65rem;
  color: #fff;
  background: rgba(101, 216, 255, 0.08);
  font-size: 0.78rem;
  cursor: pointer;
}
.admin-action:hover {
  border-color: rgba(133, 247, 210, 0.44);
}
.admin-empty {
  padding: 1rem;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 720px) {
  .admin-head,
  .admin-card-head {
    flex-direction: column;
  }
  .admin-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
