/* TOR EIN — Azure Signal design system */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap");

:root {
  --bg: #06080d;
  --bg2: #0a0e16;
  --panel: #0d121c;
  --panel2: #121925;
  --line: #1a2333;
  --line2: #243044;
  --cyan: #3de0ff;
  --cyan2: #1ab8d9;
  --cyan-dim: rgba(61, 224, 255, 0.12);
  --cyan-glow: rgba(61, 224, 255, 0.35);
  --text: #e6edf5;
  --muted: #7a8ba3;
  --muted2: #a8b6c9;
  --white: #f4f8fc;
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Outfit", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --snap: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: 0.7;
}
.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; width: 480px; height: 480px; border-radius: 50%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(61,224,255,0.07) 0%, transparent 70%);
  transform: translate(-50%, -50%); opacity: 0;
}
body.has-pointer .cursor-glow { opacity: 1; }
body > *:not(#bg-canvas):not(.grain):not(.cursor-glow):not(.loader) { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* LOADER */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 40%, #0c1522 0%, var(--bg) 70%);
  transition: opacity 0.75s var(--ease), visibility 0.75s, transform 0.9s var(--ease);
}
.loader.is-done {
  opacity: 0; visibility: hidden; transform: scale(1.03);
  pointer-events: none;
}
.loader-frame {
  width: min(300px, 88vw); text-align: center;
}
.loader-orb {
  width: 56px; height: 56px; margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--cyan), #0a8fad);
  box-shadow: 0 0 40px var(--cyan-glow), 0 0 80px rgba(61,224,255,0.15);
  position: relative;
  animation: orbPulse 1.5s ease-in-out infinite;
}
.loader-orb::after {
  content: ""; position: absolute; inset: 8px;
  border-radius: 50%; background: var(--bg);
  box-shadow: inset 0 0 12px rgba(61,224,255,0.3);
}
@keyframes orbPulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 30px var(--cyan-glow); }
  50% { transform: scale(1.06); box-shadow: 0 0 50px var(--cyan-glow), 0 0 90px rgba(61,224,255,0.2); }
}
.loader-word {
  font-weight: 800; font-size: 1.5rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--white); margin-bottom: 1.2rem;
}
.loader-word em { font-style: normal; color: var(--cyan); }
.loader-track {
  height: 3px; background: var(--line); border-radius: 99px;
  overflow: hidden; margin-bottom: 0.9rem;
}
.loader-track i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--cyan2), var(--cyan));
  border-radius: 99px;
  animation: fillBar 1.7s var(--snap) forwards;
}
@keyframes fillBar { to { width: 100%; } }
.loader-msg {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.18em;
  color: var(--muted); text-transform: uppercase;
  animation: pulseMsg 1.1s ease-in-out infinite;
}
.loader-row { display: flex; justify-content: space-between; margin-bottom: 0.75rem; }
.loader-id, .loader-pct {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; color: var(--muted);
}
.loader-pct { color: var(--cyan); }
@keyframes pulseMsg { 0%,100%{opacity:.4} 50%{opacity:1} }

body.is-loading { overflow: hidden; }
body.is-loading > *:not(.loader):not(#bg-canvas):not(.grain):not(.cursor-glow) { opacity: 0; }
body:not(.is-loading) .site-shell {
  animation: shellIn 0.9s var(--ease) both;
}
@keyframes shellIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* NAV — floating pill */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 0.85rem 0 0;
  background: transparent;
}
.nav-inner {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem 0.55rem 1rem;
  background: rgba(10, 14, 22, 0.75);
  backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 0.85rem; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand-box {
  width: 28px; height: 28px; border-radius: 9px;
  background: linear-gradient(135deg, var(--cyan), #0d7a96);
  display: grid; place-items: center; font-size: 12px; color: #041018;
  box-shadow: 0 0 18px var(--cyan-glow);
}
.brand span { color: var(--cyan); }
.nav-links {
  display: flex; list-style: none; gap: 0.15rem;
  background: rgba(0,0,0,0.25); border-radius: 999px; padding: 0.2rem;
}
.nav-links a {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
  padding: 0.45rem 0.85rem; border-radius: 999px; color: var(--muted);
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active {
  color: #041018; background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-glow);
}
.nav-actions { display: flex; align-items: center; gap: 0.3rem; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line2); background: transparent;
  color: var(--muted2); cursor: pointer; display: grid; place-items: center;
  font-size: 0.8rem; transition: border-color 0.25s, color 0.25s, background 0.25s, box-shadow 0.25s;
}
.icon-btn:hover {
  border-color: var(--cyan); color: var(--cyan);
  background: var(--cyan-dim); box-shadow: 0 0 16px rgba(61,224,255,0.15);
}
.nav-toggle { display: none; }

/* HERO */
.hero {
  padding: 3.5rem 0 3rem;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.14em;
  color: var(--cyan); text-transform: uppercase;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  background: var(--cyan-dim); border: 1px solid rgba(61,224,255,0.25);
  margin-bottom: 1.15rem;
}
.kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
  font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.8rem);
  line-height: 1.02; letter-spacing: -0.03em; color: var(--white);
  margin-bottom: 0.25rem;
}
.hero-title .thin {
  display: block; font-weight: 500; font-size: 0.42em;
  letter-spacing: 0.14em; color: var(--muted); margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.hero-title .accent {
  background: linear-gradient(100deg, var(--cyan), #7af0ff 50%, var(--cyan2));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.hero-sub {
  font-size: 1rem; color: var(--muted2); max-width: 30rem;
  margin: 1.15rem 0 1.5rem; line-height: 1.65;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.6rem; }
.tag {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em;
  padding: 0.35rem 0.7rem; border-radius: 999px;
  border: 1px solid var(--line2); color: var(--muted);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.tag:hover {
  border-color: var(--cyan); color: var(--cyan);
  box-shadow: 0 0 14px rgba(61,224,255,0.12); transform: translateY(-1px);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.8rem 1.35rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  border: 1px solid transparent; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--snap), box-shadow 0.3s, background 0.25s, border-color 0.25s, color 0.25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.15) 50%, transparent 65%);
  transform: translateX(-130%); transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(130%); }
.btn-fill {
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #041018; border-color: transparent;
  box-shadow: 0 4px 24px var(--cyan-glow);
}
.btn-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px var(--cyan-glow);
}
.btn-line {
  background: transparent; color: var(--muted2); border-color: var(--line2);
}
.btn-line:hover {
  color: var(--cyan); border-color: var(--cyan);
  background: var(--cyan-dim); transform: translateY(-2px);
}

/* HUD glass card */
.hud {
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(18,25,37,0.95), rgba(10,14,22,0.98));
  border: 1px solid var(--line2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(61,224,255,0.06), inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden; position: relative;
}
.hud::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61,224,255,0.4), transparent);
}
.hud-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1rem; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--muted);
}
.hud-top .live {
  display: flex; align-items: center; gap: 0.4rem; color: var(--cyan);
}
.hud-top .live i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan); animation: blink 1.4s ease-in-out infinite;
}
.eq { display: flex; align-items: end; gap: 3px; height: 14px; }
.eq i {
  width: 3px; background: var(--cyan); opacity: 0.6; border-radius: 1px;
  animation: eq 1s ease-in-out infinite;
}
.eq i:nth-child(1){height:40%;animation-delay:0s}
.eq i:nth-child(2){height:80%;animation-delay:.15s}
.eq i:nth-child(3){height:55%;animation-delay:.3s}
.eq i:nth-child(4){height:100%;animation-delay:.45s}
@keyframes eq { 0%,100%{transform:scaleY(.5)} 50%{transform:scaleY(1)} }

.hud-body { display: grid; grid-template-columns: 112px 1fr; min-height: 270px; }
.hud-rail {
  border-right: 1px solid var(--line); padding: 0.5rem;
  display: flex; flex-direction: column; gap: 0.2rem; background: rgba(0,0,0,0.2);
}
.hud-rail button {
  text-align: left; background: transparent; border: 1px solid transparent;
  color: var(--muted); font-size: 0.68rem; font-weight: 600;
  padding: 0.55rem 0.55rem; border-radius: 8px; cursor: default;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.hud-rail button.on {
  color: var(--cyan); background: var(--cyan-dim);
  border-color: rgba(61,224,255,0.25);
}
.hud-main { padding: 0.85rem 1rem; }
.hud-main h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--cyan); margin-bottom: 0.85rem; text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.hud-main h4 span { color: var(--muted); font-weight: 500; }
.hud-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.82rem; color: var(--muted2);
}
.hud-line:last-child { border-bottom: 0; }
.hud-line small { display: block; font-size: 0.65rem; color: var(--muted); margin-top: 0.1rem; }
.sw {
  width: 36px; height: 20px; border-radius: 99px;
  background: var(--line); border: 1px solid var(--line2); position: relative; flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s;
}
.sw.on { background: rgba(61,224,255,0.25); border-color: var(--cyan2); }
.sw::after {
  content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: var(--muted); top: 2px; left: 2px;
  transition: left 0.25s var(--snap), background 0.25s, box-shadow 0.25s;
}
.sw.on::after { left: 18px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.chip {
  font-family: var(--mono); font-size: 0.6rem; padding: 0.2rem 0.45rem;
  border-radius: 6px; background: var(--cyan-dim); color: var(--cyan);
  border: 1px solid rgba(61,224,255,0.2);
}

/* STRIP */
.strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem; margin: 0.5rem 0 2rem;
}
.strip div {
  padding: 1rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--panel); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.1em; color: var(--muted);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.strip div:hover {
  border-color: rgba(61,224,255,0.3);
  box-shadow: 0 0 20px rgba(61,224,255,0.06);
}
.strip strong {
  display: block; font-family: var(--font); font-size: 1rem;
  color: var(--white); letter-spacing: 0; margin-top: 0.35rem; font-weight: 700;
}

/* SECTIONS */
.section { padding: 3.25rem 0; }
.sec-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 1.5rem; margin-bottom: 1.6rem; flex-wrap: wrap;
}
.sec-num {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em;
  color: var(--cyan); margin-bottom: 0.35rem;
}
.sec-head h2 {
  font-weight: 800; font-size: clamp(1.45rem, 3vw, 1.95rem);
  letter-spacing: -0.02em;
}
.sec-head p { color: var(--muted); max-width: 26rem; font-size: 0.92rem; }

.matrix {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem;
}
.cell {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem 1.25rem;
  transition: border-color 0.3s, transform 0.35s var(--snap), box-shadow 0.35s, background 0.3s;
  position: relative; overflow: hidden;
}
.cell::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.cell:hover {
  border-color: rgba(61,224,255,0.3); background: var(--panel2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 30px rgba(61,224,255,0.06);
}
.cell:hover::before { opacity: 1; }
.cell .idx {
  font-family: var(--mono); font-size: 0.6rem; color: var(--cyan);
  letter-spacing: 0.12em; margin-bottom: 0.7rem;
}
.cell .glyph {
  position: absolute; top: 1.15rem; right: 1.15rem;
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--cyan-dim); color: var(--cyan);
  display: grid; place-items: center; font-size: 0.9rem;
  border: 1px solid rgba(61,224,255,0.2);
  transition: box-shadow 0.3s, transform 0.3s;
}
.cell:hover .glyph {
  box-shadow: 0 0 18px rgba(61,224,255,0.25); transform: scale(1.08);
}
.cell h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.4rem; }
.cell p { font-size: 0.86rem; color: var(--muted); line-height: 1.55; }

.vouch {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem;
}
.vouch-card {
  aspect-ratio: 5/4; border-radius: var(--radius-sm);
  background: var(--panel); border: 1px solid var(--line);
  position: relative; overflow: hidden; cursor: pointer;
  transition: border-color 0.3s, transform 0.35s var(--snap), box-shadow 0.35s;
}
.vouch-card:hover {
  border-color: rgba(61,224,255,0.4); transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.35), 0 0 24px rgba(61,224,255,0.08);
}
.vouch-card .inner {
  position: absolute; inset: 12%; border-radius: 10px;
  background: var(--bg2); border: 1px solid var(--line);
  padding: 0.7rem; font-family: var(--mono); font-size: 0.6rem; color: var(--muted);
}
.vouch-card .amt {
  font-family: var(--font); font-size: 1.1rem; color: var(--cyan);
  margin-top: 0.4rem; font-weight: 700;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--line); background: var(--panel);
  border-radius: var(--radius-sm); margin-bottom: 0.55rem;
  transition: border-color 0.25s, box-shadow 0.25s; overflow: hidden;
}
.faq-item.open {
  border-color: rgba(61,224,255,0.35);
  box-shadow: 0 0 24px rgba(61,224,255,0.06);
}
.faq-q {
  width: 100%; text-align: left; background: none; border: 0;
  color: var(--white); padding: 1rem 1.15rem; cursor: pointer;
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.92rem; font-weight: 600;
}
.faq-q em {
  font-style: normal; font-family: var(--mono); color: var(--muted);
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line2); display: grid; place-items: center;
  transition: transform 0.3s var(--snap), color 0.25s, border-color 0.25s, background 0.25s;
}
.faq-item.open .faq-q em {
  transform: rotate(45deg); color: var(--cyan);
  border-color: var(--cyan); background: var(--cyan-dim);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
  color: var(--muted2); font-size: 0.88rem; padding: 0 1.15rem;
}
.faq-item.open .faq-a { max-height: 180px; padding: 0 1.15rem 1.05rem; }

/* CTA */
.terminal {
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--panel), #0e1824 50%, var(--panel));
  border: 1px solid rgba(61,224,255,0.2);
  padding: 1.6rem 1.7rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
  box-shadow: 0 0 40px rgba(61,224,255,0.05), inset 0 1px 0 rgba(61,224,255,0.08);
  position: relative; overflow: hidden;
}
.terminal::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(61,224,255,0.08), transparent 50%);
  pointer-events: none;
}
.terminal h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; }
.terminal p { color: var(--muted); font-size: 0.9rem; margin-top: 0.3rem; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; margin-top: 2rem;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em; color: var(--muted);
}
.footer-links { display: flex; gap: 1.15rem; list-style: none; }
.footer-links a:hover { color: var(--cyan); }

/* PAGE TOP */
.page-top { padding: 2.75rem 0 1.4rem; }
.page-top .label {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em;
  color: var(--cyan); text-transform: uppercase; margin-bottom: 0.7rem;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  background: var(--cyan-dim); border: 1px solid rgba(61,224,255,0.2);
}
.page-top h1 {
  font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  letter-spacing: -0.02em; margin-bottom: 0.55rem;
}
.page-top p { color: var(--muted); max-width: 34rem; font-size: 0.95rem; }

/* BUY TIERS */
.tier-board {
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--panel); overflow: hidden; margin-top: 1.4rem;
}
.tier-board .head {
  display: grid; grid-template-columns: 1fr 90px 90px;
  padding: 0.7rem 1.2rem; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; color: var(--muted);
}
.tier {
  display: grid; grid-template-columns: 1fr 90px 90px; align-items: center;
  padding: 1rem 1.2rem; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background 0.25s;
}
.tier:last-child { border-bottom: 0; }
.tier:hover { background: rgba(61,224,255,0.04); }
.tier.sel {
  background: var(--cyan-dim);
  box-shadow: inset 3px 0 0 var(--cyan);
}
.tier .name { display: flex; align-items: center; gap: 0.75rem; }
.tier .sq {
  width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid var(--line2); display: grid; place-items: center;
  font-size: 0.65rem; color: var(--muted);
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.tier.sel .sq, .tier:hover .sq {
  background: var(--cyan); color: #041018; border-color: var(--cyan);
  box-shadow: 0 0 14px var(--cyan-glow);
}
.tier strong { display: block; font-size: 0.95rem; }
.tier small { color: var(--muted); font-size: 0.75rem; }
.tier .price { font-weight: 700; font-size: 0.95rem; }
.tier .per { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.badge {
  font-family: var(--mono); font-size: 0.52rem; letter-spacing: 0.08em;
  padding: 0.18rem 0.45rem; border-radius: 999px;
  background: var(--cyan); color: #041018; margin-left: 0.35rem; vertical-align: middle;
}
.promo {
  margin: 0.7rem; border-radius: 12px !important;
  border: 1px solid rgba(61,224,255,0.3) !important;
  background: rgba(61,224,255,0.06) !important;
}
.strike { text-decoration: line-through; color: var(--muted); margin-right: 0.35rem; font-weight: 400; }

.order-grid {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 1rem; margin-top: 1.6rem;
}
.box {
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--panel); padding: 1.3rem;
}
.box h3 {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--muted); text-transform: uppercase; margin-bottom: 1rem;
}
.field { margin-bottom: 0.85rem; }
.field label {
  display: block; font-family: var(--mono); font-size: 0.58rem;
  letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.35rem; text-transform: uppercase;
}
.field input, .field select {
  width: 100%; background: var(--bg2); border: 1px solid var(--line2);
  border-radius: 10px; padding: 0.7rem 0.85rem; outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus {
  border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(61,224,255,0.1);
}
.sum-line {
  display: flex; justify-content: space-between; padding: 0.45rem 0;
  font-size: 0.9rem; color: var(--muted2);
}
.sum-line.tot {
  border-top: 1px solid var(--line); margin-top: 0.5rem; padding-top: 0.75rem;
  color: var(--white); font-weight: 600;
}
.sum-line.tot span:last-child {
  color: var(--cyan); font-size: 1.2rem; font-weight: 800;
}

/* CONTENT */
.content { max-width: 680px; }
.content h2 {
  font-size: 1.1rem; font-weight: 700; margin: 1.9rem 0 0.7rem; color: var(--white);
}
.content p, .content li { color: var(--muted2); font-size: 0.94rem; margin-bottom: 0.55rem; }
.content ul { padding-left: 1.15rem; margin-bottom: 1rem; }
.content code {
  font-family: var(--mono); font-size: 0.85em;
  background: var(--cyan-dim); color: var(--cyan);
  padding: 0.12rem 0.4rem; border-radius: 5px; border: 1px solid rgba(61,224,255,0.2);
}
.steps { list-style: none; counter-reset: s; padding: 0; }
.steps li {
  counter-increment: s; position: relative; padding-left: 2.7rem; margin-bottom: 1.15rem;
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--mono); font-size: 0.78rem; color: var(--cyan); font-weight: 600;
}

/* ORDER / TRACK */
.order-stage {
  border-radius: var(--radius); border: 1px solid var(--line2);
  background: var(--panel); padding: 1.5rem 1.4rem; margin-top: 1.4rem;
  position: relative; overflow: hidden;
}
.order-stage::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.order-stage h2 { font-size: 1.45rem; font-weight: 800; margin-bottom: 0.35rem; }
.order-stage .lead { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.4rem; max-width: 28rem; }

.progress-rail {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 1.4rem 0 1.6rem; position: relative;
}
.progress-rail::before {
  content: ""; position: absolute; top: 14px; left: 12%; right: 12%;
  height: 2px; background: var(--line); z-index: 0; border-radius: 99px;
}
.progress-rail .fill-line {
  position: absolute; top: 14px; left: 12%; height: 2px;
  background: linear-gradient(90deg, var(--cyan2), var(--cyan));
  z-index: 1; width: 0%; border-radius: 99px;
  transition: width 0.8s var(--ease);
  box-shadow: 0 0 12px var(--cyan-glow);
}
.prog-step {
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  position: relative; z-index: 2; text-align: center;
}
.prog-step .diamond {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--line2); background: var(--bg2);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.prog-step.done .diamond, .prog-step.active .diamond {
  background: var(--cyan); border-color: var(--cyan);
  box-shadow: 0 0 18px var(--cyan-glow);
}
.prog-step.active .diamond { animation: diamondPulse 1.6s ease-in-out infinite; }
@keyframes diamondPulse {
  0%,100% { box-shadow: 0 0 12px var(--cyan-glow); }
  50% { box-shadow: 0 0 28px var(--cyan-glow); }
}
.prog-step .lab {
  font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.08em;
  color: var(--muted); text-transform: uppercase; line-height: 1.3; max-width: 5.5rem;
}
.prog-step.done .lab, .prog-step.active .lab { color: var(--cyan); }

.ref-card {
  border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg2); padding: 1.2rem; margin-bottom: 1.2rem;
}
.ref-card .ref-id {
  font-family: var(--mono); font-size: 1.05rem; letter-spacing: 0.06em;
  color: var(--cyan); font-weight: 600; margin-bottom: 0.8rem; word-break: break-all;
}
.ref-card .ref-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.35rem 0; font-size: 0.88rem; color: var(--muted2);
  border-bottom: 1px solid var(--line);
}
.ref-card .ref-row:last-child { border-bottom: 0; }
.ref-card .ref-row strong { color: var(--white); font-weight: 600; }

.action-stack { display: flex; flex-direction: column; gap: 0.55rem; }
.action-stack .btn { width: 100%; justify-content: center; }

.lookup-box {
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--panel); padding: 1.25rem; margin-top: 1.75rem;
}
.lookup-box h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.3rem; }
.lookup-box p { color: var(--muted); font-size: 0.85rem; margin-bottom: 1rem; }
.lookup-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.lookup-row input {
  flex: 1; min-width: 180px; background: var(--bg2);
  border: 1px solid var(--line2); border-radius: 10px;
  padding: 0.75rem 0.9rem; outline: none;
  font-family: var(--mono); font-size: 0.85rem;
}
.lookup-row input:focus {
  border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(61,224,255,0.1);
}

.status-banner {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.9rem 1rem; border-radius: 12px;
  border: 1px solid rgba(61,224,255,0.25); background: var(--cyan-dim);
  margin-bottom: 1.2rem; font-size: 0.88rem; color: var(--muted2);
}
.status-banner .mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--cyan); color: #041018;
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 700;
  flex-shrink: 0;
}
.pulse-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); margin-right: 0.4rem;
  animation: blink 1.4s ease-in-out infinite; vertical-align: middle;
  box-shadow: 0 0 8px var(--cyan);
}
.hidden { display: none !important; }

/* TOAST / CMD */
.toast {
  position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 200;
  background: var(--panel2); border: 1px solid rgba(61,224,255,0.3);
  color: var(--white); padding: 0.8rem 1.1rem; border-radius: 12px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 20px rgba(61,224,255,0.1);
  transform: translateY(120%); opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s; max-width: 300px;
}
.toast.show { transform: translateY(0); opacity: 1; }

.cmd-overlay {
  position: fixed; inset: 0; z-index: 500; background: rgba(4,8,14,0.75);
  display: none; place-items: start center; padding-top: 18vh;
  backdrop-filter: blur(8px);
}
.cmd-overlay.open { display: grid; }
.cmd {
  width: min(460px, 92vw); border-radius: 16px;
  border: 1px solid var(--line2); background: var(--panel);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 40px rgba(61,224,255,0.06);
  overflow: hidden;
}
.cmd input {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 1rem 1.15rem; outline: none; font-size: 0.9rem; color: var(--white);
}
.cmd-list { max-height: 280px; overflow: auto; }
.cmd-list button {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 0.75rem 1.15rem; color: var(--muted2); font-size: 0.88rem;
  display: flex; justify-content: space-between; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cmd-list button:hover, .cmd-list button.active {
  background: var(--cyan-dim); color: var(--cyan);
}
.cmd-list kbd {
  font-family: var(--mono); font-size: 0.62rem; color: var(--muted);
  border: 1px solid var(--line2); border-radius: 5px; padding: 0.1rem 0.4rem;
}

/* REVEAL */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.07s; }
.d2 { transition-delay: 0.14s; }
.d3 { transition-delay: 0.21s; }
.d4 { transition-delay: 0.28s; }

/* LIGHT */
body.light {
  --bg: #f0f4f8; --bg2: #fff; --panel: #fff; --panel2: #f5f8fb;
  --line: #d8e0ea; --line2: #c5d0de;
  --text: #0e1620; --muted: #6a7a8f; --muted2: #3d4d62; --white: #0e1620;
  --cyan-dim: rgba(26, 140, 170, 0.1);
  --cyan-glow: rgba(26, 140, 170, 0.25);
}
body.light .nav-inner { background: rgba(255,255,255,0.85); }
body.light .loader { background: var(--bg); }
body.light #bg-canvas { opacity: 0.3; }
body.light .btn-fill { color: #fff; }
body.light .nav-links a.active { color: #fff; }
body.light .brand-box { color: #fff; }
body.light .tier.sel .sq, body.light .tier:hover .sq { color: #fff; }
body.light .badge { color: #fff; }
body.light .status-banner .mark { color: #fff; }
body.light .cmd { background: #fff; }
body.light .toast { background: #fff; color: #0e1620; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hud { max-width: 420px; }
  .matrix { grid-template-columns: 1fr 1fr; }
  .vouch { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .order-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: calc(100% + 0.4rem); left: 0; right: 0;
    background: var(--panel); border: 1px solid var(--line);
    border-radius: 16px; padding: 0.5rem; gap: 0.15rem;
  }
  .nav-links.open a { border-radius: 10px; }
  .nav { position: relative; }
  .nav-inner { position: relative; border-radius: 20px; }
  .nav-toggle { display: grid; }
  .matrix, .vouch, .strip { grid-template-columns: 1fr; }
  .hud-body { grid-template-columns: 1fr; }
  .hud-rail {
    flex-direction: row; flex-wrap: wrap; border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .tier, .tier-board .head { grid-template-columns: 1fr 70px 70px; }
  .prog-step .lab { font-size: 0.5rem; max-width: 4.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
