/* =========================================================
   AION — Design System
   Brand: stealth / engineered. Committed dark, negative space,
   monospace for data, one accent (ember) used sparingly.
   ========================================================= */

:root {
  /* Palette (from AION brand guideline) */
  --ink: #0B0C0E;
  --panel: #15171B;
  --panel-2: #1C1F25;
  --bone: #F2F0EB;
  --steel: #9AA0A8;
  --dim: #5C626B;
  --ember: #F0593C;
  --ember-tint: #3A1E18;
  --hairline: #2A2E35;

  /* Type */
  --font-display: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-body: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: "Courier New", "SFMono-Regular", ui-monospace, Menlo, Monaco, monospace;

  /* Rhythm */
  --wrap: 1180px;
  --gutter: 24px;
  --radius: 14px;
  --radius-sm: 10px;
  --section-y: clamp(72px, 11vw, 148px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
  width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--ember); color: #000; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ember); color: #000; padding: 10px 16px; border-radius: 0 0 8px 0;
  font-family: var(--font-mono); font-size: 13px;
}
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* =========================================================
   Shared brand elements
   ========================================================= */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 22px;
}
.ember { color: var(--ember); }

.section-title {
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.section-lede {
  color: var(--steel);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  max-width: 62ch;
  margin-top: 22px;
}
.section-foot {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
  margin-top: 40px;
  letter-spacing: 0.03em;
}

.signature {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
  letter-spacing: 0.02em;
  margin-top: 32px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-primary { background: var(--ember); color: #0a0a0a; }
.btn-primary:hover { background: #ff6a4d; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--bone); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--steel); transform: translateY(-2px); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 12, 14, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--hairline);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { height: 24px; width: auto; display: block; }
.footer-brand .brand-logo { height: 30px; }
.brand-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--steel);
  padding: 4px 9px; border: 1px solid var(--hairline); border-radius: 999px;
  background: rgba(240,89,60,0.06);
}
.brand-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px 1px rgba(240,89,60,0.7);
  animation: blip 2s ease-in-out infinite;
}
@keyframes blip { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--ember), #ff8a72);
  z-index: 200; box-shadow: 0 0 12px rgba(240,89,60,0.6);
  transition: width .1s linear;
}
.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 14.5px; color: var(--steel);
  transition: color .2s var(--ease);
  position: relative;
}
.nav a:hover { color: var(--bone); }
.header-cta { display: flex; gap: 12px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--bone); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px var(--gutter) 24px;
  background: rgba(11,12,14,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.mobile-nav a { padding: 14px 0; color: var(--steel); border-bottom: 1px solid var(--hairline); }
.mobile-nav a:last-child { border: 0; margin-top: 14px; }
.mobile-nav .btn { color: #0a0a0a; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 150px 0 60px;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.14;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute; top: -220px; right: -120px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(240,89,60,0.16), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  font-size: clamp(40px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.hero-sub {
  color: var(--steel);
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.55;
  max-width: 54ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Live network-status terminal */
.hero-visual { display: flex; flex-direction: column; gap: 20px; align-items: stretch; }
.status-panel {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8);
}
.status-panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 60% at 100% 0%, rgba(240,89,60,0.10), transparent 60%);
}
.status-head {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono);
}
.status-dots { display: inline-flex; gap: 6px; }
.status-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2f333b; display: block; }
.status-dots i:first-child { background: #46351f; }
.status-cmd { font-size: 12.5px; color: var(--steel); letter-spacing: 0.04em; }
.status-body { padding: 18px 20px 20px; font-family: var(--font-mono); }
.status-group + .status-group { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--hairline); }
.status-key { font-size: 11px; letter-spacing: 0.16em; color: var(--dim); margin-bottom: 10px; }
.status-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13.5px; padding: 5px 0; color: var(--steel);
}
.status-row span:first-child { color: var(--dim); }
/* staggered entrance when panel enters view (JS toggles .typed) */
.js .status-panel .status-row { opacity: 0; transform: translateX(-6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.status-panel.typed .status-row { opacity: 1; transform: none; }
.status-panel.typed .status-row:nth-child(2) { transition-delay: .05s; }
.status-panel.typed .status-row:nth-child(3) { transition-delay: .11s; }
.status-panel.typed .status-row:nth-child(4) { transition-delay: .17s; }
.status-panel.typed .status-row:nth-child(5) { transition-delay: .23s; }
.status-panel.typed .status-group:nth-child(2) .status-row { transition-delay: .18s; }
.status-panel.typed .status-group:nth-child(3) .status-row { transition-delay: .32s; }
.status-row .live { color: var(--ember); font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.status-row .soon { color: var(--steel); }
.status-row .no { color: var(--dim); }
.status-row .yes { color: var(--bone); }
.status-row .yes b { color: var(--ember); font-weight: 700; }
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ember);
  position: relative; display: inline-block;
}
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--ember); animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* Positioning band */
.position-band {
  margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--hairline);
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center;
}
.position-lead {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 3.2vw, 34px); line-height: 1.1; letter-spacing: -0.02em;
}
.position-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.position-item { display: flex; flex-direction: column; gap: 6px; }
.pi-val { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.6vw, 40px); color: var(--ember); letter-spacing: -0.02em; }
.pi-lbl { color: var(--steel); font-size: 14px; line-height: 1.4; }

/* Receipt */
.receipt {
  width: 100%; max-width: 380px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  overflow: hidden;
}
.receipt-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  border-bottom: 1px dashed var(--hairline);
  font-size: 12.5px; color: var(--steel); letter-spacing: 0.06em;
}
.receipt-time { color: var(--ember); }
.receipt-body { padding: 6px 16px 14px; }
.receipt-body li {
  display: flex; justify-content: space-between;
  padding: 7px 0; font-size: 13px;
  border-bottom: 1px solid rgba(42,46,53,0.5);
}
.receipt-body li span:first-child { color: var(--dim); }
.receipt-body li span:last-child { color: var(--bone); }
.receipt-body li.paid { border-bottom: 0; }
.receipt-body li.paid span:last-child { color: var(--ember); font-weight: 700; }
.receipt-foot {
  padding: 11px 16px; border-top: 1px dashed var(--hairline);
  font-size: 11.5px; color: var(--dim); letter-spacing: 0.04em;
}

/* Hero receipt full width under status panel */
.hero-visual .receipt { max-width: none; }

/* Trust strip + marquee */
.trust { margin-top: 64px; padding-top: 30px; border-top: 1px solid var(--hairline); }
.trust-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; color: var(--dim); margin-bottom: 18px; }
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 22px;
  white-space: nowrap;
  animation: marquee 34s linear infinite;
  font-size: 20px; color: var(--steel); letter-spacing: -0.01em;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .dot { color: var(--ember); opacity: 0.55; font-size: 14px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: var(--section-y) 0; }
.section-alt { background: linear-gradient(180deg, rgba(21,23,27,0.55), rgba(21,23,27,0.2)); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

/* Stat grid */
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 56px;
}
.stat-card {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 4vw, 46px); letter-spacing: -0.02em;
  color: var(--ember); margin-bottom: 12px;
}
.stat-desc { color: var(--steel); font-size: 15px; line-height: 1.5; }

/* Tension compare */
.compare-two {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: stretch;
  margin-top: 56px;
}
.compare-col {
  background: var(--panel); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 34px 30px;
}
.compare-final { background: linear-gradient(180deg, var(--ember-tint), var(--panel)); border-color: #55352c; }
.compare-tag { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; color: var(--steel); }
.compare-state { font-family: var(--font-display); font-weight: 700; font-size: 34px; margin: 8px 0 14px; letter-spacing: -0.02em; }
.compare-detail { color: var(--steel); font-size: 15.5px; line-height: 1.55; }
.compare-arrow { display: flex; align-items: center; justify-content: center; color: var(--dim); font-size: 30px; }

/* Ember statement */
.statement {
  background: var(--ember);
  color: #0a0a0a;
  padding: clamp(70px, 12vw, 150px) 0;
  text-align: center;
}
.statement-title {
  font-size: clamp(44px, 9vw, 108px);
  line-height: 0.95; letter-spacing: -0.035em;
  color: #0a0a0a;
}
.statement-sub {
  font-family: var(--font-mono);
  margin-top: 22px; font-size: clamp(15px, 2.2vw, 20px);
  color: rgba(10,10,10,0.72); letter-spacing: 0.02em;
}

/* Solution */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.chip {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.03em;
  color: var(--bone);
  background: var(--panel-2); border: 1px solid var(--hairline);
  padding: 9px 16px; border-radius: 999px;
}
.solution-flow {
  font-family: var(--font-mono); font-size: clamp(15px, 2.4vw, 22px);
  margin-top: 40px; color: var(--steel); letter-spacing: 0.02em;
}
.solution-note {
  color: var(--dim); font-size: 15px; margin-top: 26px; max-width: 60ch;
  border-left: 2px solid var(--ember); padding-left: 18px;
}

/* Old way vs AION */
.vs {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch;
  margin-top: 56px;
}
.vs-card {
  background: var(--panel); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 30px 28px;
  display: flex; flex-direction: column;
}
.vs-old { background: linear-gradient(180deg, #121316, #0f1013); }
.vs-aion { background: linear-gradient(180deg, var(--ember-tint), var(--panel)); border-color: #55352c; }
.vs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.vs-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--steel); }
.vs-sub { font-family: var(--font-mono); font-size: 12px; color: var(--dim); }
.vs-visual {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 30px 0 26px; margin: 20px 0; text-align: center;
  border-top: 1px dashed var(--hairline); border-bottom: 1px dashed var(--hairline);
}
.spinner {
  width: 46px; height: 46px; border-radius: 50%;
  border: 3px solid #2c2f36; border-top-color: var(--steel);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.checkmark {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ember); color: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700;
  box-shadow: 0 0 0 0 rgba(240,89,60,0.5);
  animation: stamp 2.4s ease-in-out infinite;
}
@keyframes stamp {
  0%, 60%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(240,89,60,0.45); }
  12% { transform: scale(1.12); }
  30% { box-shadow: 0 0 0 14px rgba(240,89,60,0); }
}
.vs-state { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.vs-old .vs-state { color: var(--steel); }
.vs-aion .vs-state { color: var(--bone); }
.vs-timer { font-family: var(--font-mono); font-size: 13px; color: var(--dim); }
.vs-timer .waited { color: var(--steel); }
.vs-steps { display: flex; flex-direction: column; gap: 12px; }
.vs-steps li {
  position: relative; padding-left: 26px; color: var(--steel); font-size: 15px; line-height: 1.45;
}
.vs-steps li::before {
  content: "×"; position: absolute; left: 0; top: -1px;
  color: var(--dim); font-family: var(--font-mono); font-size: 15px;
}
.vs-steps-good li { color: var(--bone); }
.vs-steps-good li::before { content: "✓"; color: var(--ember); }
.vs-foot {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 12.5px; color: var(--dim); letter-spacing: 0.02em;
}
.vs-foot-good { color: var(--ember); }
.vs-divider {
  display: flex; align-items: center; justify-content: center;
}
.vs-divider span {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em;
  color: var(--dim); background: var(--ink);
  border: 1px solid var(--hairline); border-radius: 999px;
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
}

/* Animated flow connector */
.flow-track {
  position: relative; height: 2px; margin-top: 56px;
  background: linear-gradient(90deg, transparent, var(--hairline) 6%, var(--hairline) 94%, transparent);
  border-radius: 2px;
}
.flow-pulse {
  position: absolute; top: 50%; left: 0; transform: translateY(-50%);
  width: 90px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  box-shadow: 0 0 16px 2px rgba(240,89,60,0.6);
  animation: flow 3.4s var(--ease) infinite;
}
@keyframes flow { 0% { left: -6%; } 100% { left: 100%; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.step::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--ember); transition: width .4s var(--ease);
}
.step:hover::after { width: 100%; }
.step {
  background: var(--panel); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 30px 26px;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: #3a3f47; }
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--ember); letter-spacing: 0.1em; }
.step-title { font-size: 24px; margin: 16px 0 12px; letter-spacing: -0.01em; }
.step-desc { color: var(--steel); font-size: 15px; line-height: 1.5; }

/* Receipt layout */
.receipt-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.job-list { display: flex; flex-direction: column; gap: 18px; margin-top: 40px; }
.job { border-left: 2px solid var(--hairline); padding-left: 20px; transition: border-color .3s var(--ease); }
.job:hover { border-color: var(--ember); }
.job h3 { font-size: 19px; margin-bottom: 6px; }
.job p { color: var(--steel); font-size: 15px; }
.receipt-visual { display: flex; justify-content: center; }
.receipt-lg { max-width: 420px; }
.receipt-lg .receipt-body li { padding: 10px 0; font-size: 14px; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.feature {
  background: var(--panel); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 28px 26px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.feature:hover { transform: translateY(-4px); border-color: #3a3f47; }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { color: var(--steel); font-size: 15px; line-height: 1.5; }

/* Moat */
.moat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.moat {
  background: var(--panel); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 30px 26px;
  position: relative;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.moat:hover { transform: translateY(-4px); border-color: #55352c; }
.moat-num {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em;
  color: var(--ember);
  display: inline-block; padding: 4px 10px; border: 1px solid #55352c;
  border-radius: 6px; background: var(--ember-tint); margin-bottom: 18px;
}
.moat h3 { font-size: 20px; margin-bottom: 12px; letter-spacing: -0.01em; }
.moat p { color: var(--steel); font-size: 14.5px; line-height: 1.55; }

/* Comparison table */
.table-scroll { margin-top: 48px; overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--radius); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td {
  text-align: left; padding: 18px 22px; font-size: 15px;
  border-bottom: 1px solid var(--hairline); vertical-align: top;
}
.compare-table thead th { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); background: var(--panel-2); }
.compare-table tbody th { color: var(--bone); font-weight: 700; width: 190px; }
.compare-table td { color: var(--steel); }
.compare-table .col-aion { background: rgba(58,30,24,0.35); color: var(--bone); }
.compare-table thead .col-aion { color: var(--ember); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }

/* Use cases */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.usecase {
  background: var(--panel); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 28px 26px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.usecase:hover { transform: translateY(-4px); border-color: #3a3f47; }
.usecase h3 { font-size: 20px; margin-bottom: 10px; }
.usecase p { color: var(--steel); font-size: 15px; line-height: 1.5; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; counter-reset: phase; }
.phase {
  background: var(--panel); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 28px 24px;
  position: relative;
}
.phase::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 2px;
  background: var(--ember); opacity: 0.55; border-radius: 2px;
}
.phase-tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--ember); }
.phase h3 { font-size: 20px; margin: 14px 0 10px; }
.phase p { color: var(--steel); font-size: 14.5px; line-height: 1.5; }

/* In motion / roadmap */
.motion-line {
  position: relative; height: 2px; margin-top: 56px; margin-bottom: 26px;
  background: linear-gradient(90deg, var(--ember) 0%, var(--hairline) 26%, var(--hairline) 100%);
  border-radius: 2px; overflow: hidden;
}
.motion-pulse {
  position: absolute; top: 50%; left: 0; transform: translateY(-50%);
  width: 120px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  animation: flow 4.5s var(--ease) infinite;
}
.motion-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.phase-card {
  position: relative; background: var(--panel); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 26px 24px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.phase-card:hover { transform: translateY(-4px); border-color: #55352c; }
.phase-card.is-live { background: linear-gradient(180deg, var(--ember-tint), var(--panel)); border-color: #55352c; }
.phase-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.phase-node {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--panel-2); border: 2px solid var(--hairline); flex: none;
}
.is-live .phase-node { background: var(--ember); border-color: var(--ember); box-shadow: 0 0 0 4px rgba(240,89,60,0.18); }
.phase-badge {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--steel);
  display: inline-flex; align-items: center; gap: 7px;
}
.is-live .phase-badge { color: var(--ember); }
.phase-card h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -0.01em; }
.phase-card > p { color: var(--steel); font-size: 14.5px; line-height: 1.55; }
.phase-list { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 9px; }
.phase-list li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--bone); }
.phase-list li::before { content: "+"; position: absolute; left: 0; top: -1px; color: var(--ember); font-family: var(--font-mono); }
.is-live .phase-list li::before { content: "✓"; }

/* Revenue */
.revenue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.revenue {
  background: var(--panel); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 32px 28px;
}
.revenue-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); color: var(--ember); letter-spacing: -0.02em; margin-bottom: 14px; }
.revenue h3 { font-size: 20px; margin-bottom: 8px; }
.revenue p { color: var(--steel); font-size: 14.5px; line-height: 1.5; }

/* Traction */
.traction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.traction {
  background: var(--panel); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 30px 28px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.traction:hover { transform: translateY(-4px); border-color: #55352c; }
.traction-tag {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  color: var(--ember); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 5px 11px; border: 1px solid #55352c; border-radius: 6px; background: var(--ember-tint);
}
.traction h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -0.01em; }
.traction p { color: var(--steel); font-size: 15px; line-height: 1.55; }

/* Close / CTA */
.close {
  position: relative; overflow: hidden;
  padding: clamp(90px, 14vw, 170px) 0;
  text-align: center;
  border-top: 1px solid var(--hairline);
}
.close-glow {
  position: absolute; bottom: -260px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(240,89,60,0.20), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.close-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.close-inner .eyebrow { text-align: center; }
.close-title { font-size: clamp(40px, 8vw, 92px); line-height: 0.96; letter-spacing: -0.03em; }
.close-sub { color: var(--steel); font-size: clamp(16px, 2.2vw, 21px); margin-top: 24px; max-width: 46ch; }
.close-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { border-top: 1px solid var(--hairline); background: #0a0b0d; padding: 64px 0 34px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; }
.footer-tag { color: var(--steel); font-size: 15px; margin-top: 18px; max-width: 42ch; line-height: 1.55; }
.footer-reg {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em;
  color: var(--dim); margin-top: 16px; line-height: 1.5;
}
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col-title { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.footer-nav a { display: block; color: var(--steel); font-size: 15px; padding: 6px 0; transition: color .2s var(--ease); }
.footer-nav a:hover { color: var(--bone); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--hairline);
  color: var(--dim); font-size: 13.5px;
}
.footer-mono { font-family: var(--font-mono); letter-spacing: 0.04em; }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; transition-delay: 0s !important; }
  .flow-pulse, .motion-pulse, .pulse::after, .brand-dot, .marquee-track, .spinner, .checkmark { animation: none !important; }
  .status-row { opacity: 1; transform: none; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .stat-grid, .steps, .moat-grid, .timeline, .motion-track { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .usecase-grid, .revenue-grid, .traction-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: 2; max-width: 520px; }
  .receipt-layout { grid-template-columns: 1fr; gap: 40px; }
  .position-band { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 820px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .stat-grid, .steps, .moat-grid, .timeline, .motion-track,
  .feature-grid, .usecase-grid, .revenue-grid, .traction-grid { grid-template-columns: 1fr; }
  .compare-two { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); }
  .vs { grid-template-columns: 1fr; }
  .vs-divider span { transform: rotate(90deg); }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 120px; }
  .position-items { grid-template-columns: 1fr; gap: 18px; }
  .marquee-track { font-size: 17px; }
  .status-body { padding: 14px 14px 16px; }
  .status-row { font-size: 12px; }
  .status-cmd { font-size: 11px; }
  .status-key { font-size: 10px; }
}
