/* AOAS Landing · main stylesheet
   Loads after tokens.css. */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
html.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  z-index: 200;
  background: linear-gradient(90deg, var(--brand-action) 0%, var(--brand-link) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(125, 193, 28, 0.6);
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.005em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-action);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--brand-action-soft);
  border: 1px solid rgba(125, 193, 28, 0.2);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand-action);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-action);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.8); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
}

.btn-primary {
  background: var(--brand-action);
  color: var(--aoas-carbon-1000);
  box-shadow: 0 8px 24px -10px rgba(125, 193, 28, 0.7);
}

.btn-primary:hover {
  background: var(--brand-action-hover);
  box-shadow: 0 18px 40px -10px rgba(125, 193, 28, 0.9);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 100px at var(--bx, 50%) var(--by, 50%),
    rgba(255, 255, 255, 0.25),
    transparent 60%);
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
  pointer-events: none;
}

.btn-primary:hover::after { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary { will-change: transform; }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--aoas-carbon-600);
}

.btn-sm {
  padding: 11px 20px;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-lg {
  padding: 18px 32px;
  font-size: var(--text-md);
  width: 100%;
  margin-top: var(--space-2);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease-out);
}

.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Site header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.25s var(--ease-out);
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: nowrap;
}

.site-header .brand { min-width: 0; flex: 0 1 auto; }
.site-header .brand-text { min-width: 0; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.2s var(--ease-out);
}

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 12px;
}

.header-actions .btn { flex-shrink: 0; }

.header-contact-btn {
  gap: 8px;
}

.header-contact-icon {
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease-out);
}

.header-contact-btn:hover .header-contact-icon { opacity: 1; }

.brand:hover { opacity: 0.85; }

.brand-mark {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 10px;
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out);
}

.site-header.scrolled .brand-mark {
  width: 52px;
  height: 52px;
}

.brand-name-top, .brand-name-bot {
  transition: font-size 0.25s var(--ease-out);
}

.site-header.scrolled .brand-name-top { font-size: 18px; }
.site-header.scrolled .brand-name-bot { font-size: 10px; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name-top {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, var(--aoas-lime-400) 0%, var(--aoas-lime-500) 35%, var(--aoas-sapphire-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-name-bot {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 180px 0 var(--space-7);
  overflow: hidden;
  --grid-reveal: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 45% at 78% 25%, rgba(31, 72, 133, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 18% 75%, rgba(125, 193, 28, 0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(54, 58, 65, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 58, 65, 0.18) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse calc(70% * var(--grid-reveal)) calc(60% * var(--grid-reveal)) at 50% 30%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse calc(70% * var(--grid-reveal)) calc(60% * var(--grid-reveal)) at 50% 30%, black 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
  opacity: calc(0.6 * var(--grid-reveal));
}

/* ---- Background scrolling text ---- */
.hero-bg-text {
  position: absolute;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  font-family: var(--font-display-bold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  z-index: 0;
  user-select: none;
}

.hero-bg-text-1 {
  top: 14%;
  font-size: clamp(80px, 14vw, 210px);
  -webkit-text-stroke: 1.4px rgba(125, 193, 28, 0.13);
  color: transparent;
}

.hero-bg-text-2 {
  bottom: 10%;
  font-size: clamp(60px, 11vw, 170px);
  -webkit-text-stroke: 1.4px rgba(31, 72, 133, 0.18);
  color: transparent;
}

.bg-text-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.hero-bg-text-1 .bg-text-track {
  animation: marqueeBgL 65s linear infinite;
}

.hero-bg-text-2 .bg-text-track {
  animation: marqueeBgR 85s linear infinite;
}

.bg-text-track span {
  flex-shrink: 0;
  padding-right: 0.4em;
}

@keyframes marqueeBgL {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes marqueeBgR {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ---- Floating ambient orbs ---- */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.hero-orb-1 {
  width: 280px; height: 280px;
  background: var(--aoas-lime-500);
  top: 18%; left: 4%;
  opacity: 0.13;
}

.hero-orb-2 {
  width: 340px; height: 340px;
  background: var(--aoas-sapphire-500);
  top: 50%; right: 6%;
  opacity: 0.18;
}

.hero-orb-3 {
  width: 180px; height: 180px;
  background: var(--aoas-sapphire-400);
  top: 8%; right: 28%;
  opacity: 0.1;
}

.hero-orb-4 {
  width: 220px; height: 220px;
  background: var(--aoas-lime-500);
  bottom: 14%; left: 28%;
  opacity: 0.08;
}

/* ---- Scroll cue ---- */
.hero-scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 2;
  pointer-events: none;
}

.cue-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-weight: 500;
}

.cue-rail {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent 0%, var(--aoas-carbon-700) 100%);
  position: relative;
  overflow: hidden;
}

.cue-pulse {
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(180deg, transparent, var(--brand-action));
  animation: cueDrop 2.4s ease-in-out infinite;
}

@keyframes cueDrop {
  0%   { top: -20px;  opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 60px;   opacity: 0; }
}

/* ---- Chart "now" marker ---- */
.chart-now-line {
  animation: nowPulse 2.4s ease-in-out infinite;
}

.chart-now-dot {
  animation: nowDotPulse 2.4s ease-in-out infinite;
}

@keyframes nowPulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.7; }
}

@keyframes nowDotPulse {
  0%, 100% { r: 3; opacity: 0.7; }
  50%      { r: 4.5; opacity: 1; }
}

/* ---- Floating PnL indicator ---- */
.chart-pnl {
  animation: pnlFloat 3.5s ease-in-out infinite;
  transform-origin: center;
}

.chart-pnl text { animation: pnlOpacity 3.5s ease-in-out infinite; }

@keyframes pnlFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

@keyframes pnlOpacity {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.hero-content > * + * { margin-top: var(--space-3); }

.hero-headline {
  font-family: var(--font-display-bold);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 78px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.95;
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);
}

.hero-headline .line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0;
  margin: -0.04em 0;
}

.hero-headline .line-inner {
  display: inline-block;
  will-change: transform;
}

.hero-headline .line-2 .line-inner {
  color: transparent;
  -webkit-text-stroke: 0.025em var(--brand-action);
  text-stroke: 0.025em var(--brand-action);
  animation: heroOutlineShift 6s ease-in-out infinite;
}

@keyframes heroOutlineShift {
  0%, 100% { -webkit-text-stroke-color: var(--aoas-lime-500); }
  50%      { -webkit-text-stroke-color: var(--aoas-sapphire-300); }
}

.hero-lead {
  font-size: var(--text-md);
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 540px;
  margin-bottom: var(--space-5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  max-width: 540px;
}

.hero-meta .meta-num {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  color: var(--brand-action);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.hero-meta .meta-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-subtle);
  font-weight: 500;
}

/* Hero chart card */
.hero-visual { position: relative; }

.chart-card {
  background: linear-gradient(180deg, var(--aoas-carbon-950) 0%, var(--aoas-carbon-1000) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow:
    0 32px 64px -32px rgba(0, 0, 0, 0.9),
    0 0 100px -20px rgba(31, 72, 133, 0.25);
  position: relative;
  overflow: hidden;
}

.chart-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(125, 193, 28, 0.7) 50%,
    transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 4.5s ease-in-out infinite;
  z-index: 6;
}

.chart-card::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  left: -90px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(125, 193, 28, 0.08) 30%,
    rgba(125, 193, 28, 0.18) 50%,
    rgba(125, 193, 28, 0.08) 70%,
    transparent 100%);
  pointer-events: none;
  z-index: 5;
  animation: scanBeam 11s linear infinite;
  filter: blur(0.5px);
}

@keyframes shimmer {
  0%, 100% { background-position: -120% 0; }
  50%      { background-position: 120% 0; }
}

@keyframes scanBeam {
  0%   { left: -90px; }
  100% { left: calc(100% + 10px); }
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.chart-system { display: flex; align-items: center; gap: 12px; }

.chart-system .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--aoas-lime-500) 0%, var(--aoas-sapphire-500) 100%);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--aoas-carbon-1000);
}

.chart-system .name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fg);
}

.chart-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-action);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--brand-action-soft);
  border: 1px solid rgba(125, 193, 28, 0.2);
}

.chart-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand-action);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-action);
  animation: pulse 1.6s ease-in-out infinite;
}

.chart-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  padding: 0 12px 14px;
}

.price-block { display: flex; flex-direction: column; gap: 4px; }

.price-block .label {
  color: var(--fg-subtle);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.price-block .value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
}

.price-block.entry .value { color: var(--brand-action); }
.price-block.stop .value { color: var(--aoas-crimson-300); }
.price-block.target .value { color: var(--brand-action); }

.price-block .delta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-subtle);
  margin-top: 2px;
}

.chart-svg { width: 100%; height: auto; display: block; }

.chart-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 12px 4px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-subtle);
  letter-spacing: 0.16em;
}

.chart-foot .symbol { color: var(--fg-muted); }
.chart-foot .signal { color: var(--brand-action); }

/* Systems strip */
.systems-strip {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

.systems-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: var(--space-3);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.systems-marquee {
  position: relative;
  overflow: hidden;
  margin-top: var(--space-2);
  padding: var(--space-2) 0;
}

.systems-marquee::before,
.systems-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.systems-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.systems-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg) 0%, transparent 100%);
}

.systems-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: var(--space-3);
  animation: systemsMarquee 50s linear infinite;
  will-change: transform;
}

.systems-marquee:hover .systems-track {
  animation-play-state: paused;
}

.systems-track .engine {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  flex-shrink: 0;
  transition: color 0.25s var(--ease-out);
}

.systems-track .engine:hover {
  color: var(--brand-action);
}

.systems-track .dot {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--brand-action);
  opacity: 0.6;
  flex-shrink: 0;
}

@keyframes systemsMarquee {
  to { transform: translateX(-50%); }
}

/* ========== Section base ========== */
.section {
  padding: var(--space-7) 0;
  position: relative;
}

.section.elevated {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section-header { max-width: 720px; margin-bottom: var(--space-6); }

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header.centered .eyebrow { margin-left: auto; margin-right: auto; }

.section-title {
  font-family: var(--font-display-bold);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--fg);
  margin: var(--space-3) 0 var(--space-4);
}

.section-title .line {
  display: block;
}

.section-title .outline {
  color: transparent;
  -webkit-text-stroke: 0.022em var(--brand-action);
  text-stroke: 0.022em var(--brand-action);
}

.section-lead {
  font-size: var(--text-md);
  color: var(--fg-muted);
  line-height: 1.55;
  max-width: 620px;
}

.section-header.centered .section-lead { margin-left: auto; margin-right: auto; }

/* ========== Section · Catch / The Model ========== */
.catch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.catch-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.catch-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 50%),
    rgba(125, 193, 28, 0.13),
    rgba(125, 193, 28, 0.04) 30%,
    transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

.catch-card > * { position: relative; z-index: 1; }

.catch-card:hover { border-color: var(--border-strong); }
.catch-card:hover::after { opacity: 1; }

.catch-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--brand-action);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--brand-action-soft);
  border: 1px solid rgba(125, 193, 28, 0.18);
}

.catch-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
  color: var(--fg);
}

.catch-card p {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ========== Section · Systems ========== */
.systems-section { background: var(--bg-elevated); border-block: 1px solid var(--border); }

.systems-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.system-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  position: relative;
  overflow: hidden;
  transition: all 0.25s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.system-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-action), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  z-index: 2;
}

.system-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 320px at var(--mx, 50%) var(--my, 50%),
    rgba(31, 72, 133, 0.16),
    rgba(125, 193, 28, 0.06) 25%,
    transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

.system-card > * { position: relative; z-index: 1; }

.system-card:hover::before { opacity: 1; }
.system-card:hover::after { opacity: 1; }
.system-card:hover { border-color: var(--border-strong); }

.system-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--fg-subtle);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
}

.system-card .name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  letter-spacing: 0.02em;
  color: var(--fg);
  font-weight: 600;
}

.system-card .desc {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: var(--space-3);
  flex-grow: 1;
}

.system-card .system-for {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-subtle);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border);
}

.system-card .system-for strong {
  color: var(--brand-action);
  font-weight: 500;
}

/* ========== Section · Demos ========== */
.demos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.demos-grid-3 { grid-template-columns: repeat(2, 1fr); }

.demos-soldout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.demo-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s var(--ease-out);
}

/* Featured ribbon · "This Month's #1 System" */
.demo-card-featured {
  border-color: rgba(125, 193, 28, 0.35);
  box-shadow: 0 0 0 1px rgba(125, 193, 28, 0.15) inset;
}

.demo-ribbon {
  position: absolute;
  top: 14px;
  right: -36px;
  z-index: 5;
  transform: rotate(38deg);
  background: var(--brand-action);
  color: var(--aoas-carbon-1000);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 44px;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

/* Sold-out variant */
.demo-card-soldout { cursor: default; }

.demo-card-soldout:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}

.demo-card-soldout .demo-poster {
  cursor: default;
}

.demo-card-soldout .demo-thumb {
  filter: grayscale(0.65) brightness(0.55);
  opacity: 0.5;
}

.soldout-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.0) 0 14px, rgba(198,40,40,0.06) 14px 16px),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

.soldout-stamp {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
  text-align: center;
  transform: rotate(-6deg);
}

.soldout-stamp-line {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.6vw, 48px);
  letter-spacing: 0.08em;
  color: #FF5A5A;
  text-transform: uppercase;
  padding: 6px 22px;
  border: 3px solid #FF5A5A;
  border-radius: 6px;
  background: rgba(20, 4, 4, 0.55);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.soldout-stamp-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FFB4B4;
  background: rgba(0, 0, 0, 0.55);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.demo-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.8);
}

.demo-poster {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--aoas-carbon-900) 0%, var(--aoas-carbon-1000) 100%);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.demo-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(125, 193, 28, 0.12) 0%, transparent 70%);
  z-index: 1;
}

.demo-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease-out);
}

.demo-card:hover .demo-thumb { opacity: 1; }

.demo-play {
  position: relative;
  z-index: 3;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--brand-action);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 12px 32px -8px rgba(125, 193, 28, 0.7);
}

.demo-play::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--brand-action);
  opacity: 0.4;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.25); opacity: 0; }
}

.demo-play:hover {
  transform: scale(1.06);
  background: var(--brand-action-hover);
}

.demo-play svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
  fill: var(--aoas-carbon-1000);
}

.demo-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg);
  padding: 7px 14px;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.demo-duration {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg);
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
}

.demo-info { padding: var(--space-3) var(--space-4); }

.demo-info h3 {
  font-size: var(--text-lg);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.demo-info p {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.55;
}

/* ========== Section · Process ========== */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-2);
  position: relative;
}

.process-list::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), var(--border-strong), transparent);
  z-index: 0;
  transform: scaleX(var(--line-scale, 1));
  transform-origin: left center;
}

.process-step {
  padding: 0 var(--space-1);
  position: relative;
  z-index: 1;
}

.process-step .step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--fg);
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-3);
  transition: all 0.25s var(--ease-out);
}

.process-step:hover .step-num {
  border-color: var(--brand-action);
  color: var(--brand-action);
  box-shadow: 0 0 24px -4px rgba(125, 193, 28, 0.3);
}

.process-step .step-title {
  font-size: var(--text-lg);
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: var(--font-display);
}

.process-step .step-desc {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ========== Section · Receive ========== */
.receive-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-6);
  align-items: start;
}

.receive-list {
  display: grid;
  gap: var(--space-2);
}

.receive-list li {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.receive-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-top: 2px solid var(--brand-action);
  border-left: 2px solid var(--brand-action);
  border-radius: var(--radius-md) 0 0 0;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
  z-index: 2;
}

.receive-list li::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 50%),
    rgba(125, 193, 28, 0.1),
    transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

.receive-list li > * { position: relative; z-index: 1; }

.receive-list li:hover {
  border-color: var(--border-strong);
  transform: translateX(8px);
  background: var(--bg-card);
}

.receive-list li:hover::before { opacity: 1; }
.receive-list li:hover::after { opacity: 1; }

.receive-list .check {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-action-soft);
  color: var(--brand-action);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
  border: 1px solid rgba(125, 193, 28, 0.3);
  transition: all 0.4s var(--ease-out);
}

.receive-list li:hover .check {
  background: var(--brand-action);
  color: var(--aoas-carbon-1000);
  border-color: var(--brand-action);
  transform: scale(1.12) rotate(360deg);
  box-shadow: 0 0 28px -4px rgba(125, 193, 28, 0.6);
}

.receive-list li h4 {
  transition: color 0.3s var(--ease-out);
}

.receive-list li:hover h4 {
  color: var(--brand-action);
}

.receive-list h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--fg);
  margin-bottom: 4px;
  line-height: 1.3;
}

.receive-list p {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.55;
}

/* ========== Section · Both audiences ========== */
.both-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.both-card {
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s var(--ease-out);
}

.both-card:hover { border-color: var(--border-strong); }

.both-card::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.25;
  pointer-events: none;
}

.both-card.new::before {
  top: -80px;
  left: -80px;
  background: var(--brand-action);
}

.both-card.experienced::before {
  top: -80px;
  right: -80px;
  background: var(--brand-structure);
}

.both-card > * { position: relative; z-index: 1; }

.both-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-action);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--brand-action-soft);
  border: 1px solid rgba(125, 193, 28, 0.2);
  margin-bottom: var(--space-3);
}

.both-card.experienced .both-tag {
  color: var(--brand-link);
  background: rgba(31, 72, 133, 0.18);
  border-color: rgba(31, 72, 133, 0.35);
}

.both-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.both-card p {
  font-size: var(--text-base);
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ========== Pre-CTA attention slab ========== */
.pre-cta {
  background: var(--brand-action);
  color: var(--aoas-carbon-1000);
  padding: clamp(80px, 11vw, 180px) 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.pre-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(255, 255, 255, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(0, 0, 0, 0.12), transparent 60%);
  pointer-events: none;
}

.pre-cta-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.pre-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.75);
  display: inline-block;
  margin-bottom: var(--space-3);
}

.pre-cta-title {
  font-family: var(--font-display-bold);
  font-size: clamp(110px, 22vw, 320px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.045em;
  color: var(--aoas-carbon-1000);
  margin: 0;
  text-transform: uppercase;
  display: inline-flex;
}

.pre-cta-title .char {
  display: inline-block;
  will-change: transform;
}

.pre-cta-title .char.punct {
  margin-left: 0.04em;
}

.pre-cta-sub {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.85);
  font-weight: 500;
  margin-top: var(--space-4);
}

.pre-cta-arrow {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--aoas-carbon-1000);
  color: var(--brand-action);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-5);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  cursor: pointer;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.3);
}

.pre-cta-arrow:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.5);
}

.pre-cta-arrow svg {
  animation: arrowBob 2.2s ease-in-out infinite;
}

@keyframes arrowBob {
  0%, 100% { transform: translateY(-2px); }
  50%      { transform: translateY(4px); }
}

@media (max-width: 600px) {
  .pre-cta { padding: 64px 24px; }
  .pre-cta-title { font-size: clamp(72px, 26vw, 140px); }
  .pre-cta-sub { letter-spacing: 0.2em; }
}

/* ========== Section · Register ========== */
.register {
  position: relative;
  overflow: hidden;
}

.register::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 70% 30%, rgba(31, 72, 133, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(125, 193, 28, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.register .container { position: relative; }

.register-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-6);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  align-items: start;
  box-shadow: 0 32px 64px -32px rgba(0,0,0,0.8);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.register-content,
.register-form { min-width: 0; }

.register-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-action), var(--brand-link), transparent);
}

.register-content { max-width: none; }
.register-content .section-title { font-size: clamp(28px, 3.6vw, 40px); }
.register-content .section-lead { max-width: 480px; }

.register-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.register-stats .stat .num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--brand-action);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
  font-weight: 600;
}

.register-stats .stat .label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-subtle);
  font-weight: 500;
}

/* Form */
.register-form { display: grid; gap: var(--space-2); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.form-counter {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--fg-subtle);
  font-variant-numeric: tabular-nums;
  transition: color 0.2s var(--ease-out);
}

.form-counter.is-near-limit { color: var(--fg-muted); }
.form-counter.is-at-limit   { color: var(--aoas-crimson-300); }

.email-suggest {
  margin-top: 8px;
  font-size: var(--text-xs);
  color: var(--fg-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.email-suggest-apply {
  background: none;
  border: none;
  color: var(--brand-action);
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0 2px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(125, 193, 28, 0.4);
  transition: color 0.15s var(--ease-out), text-decoration-color 0.15s var(--ease-out);
}

.email-suggest-apply:hover {
  color: var(--brand-action-hover);
  text-decoration-color: var(--brand-action);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color 0.15s var(--ease-out), background 0.15s var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
  font-family: var(--font-body);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-action);
  background: var(--bg-card);
  box-shadow: 0 0 0 4px rgba(125, 193, 28, 0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--fg-subtle); }

.form-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%237DC11C' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
  padding-right: 44px;
  cursor: pointer;
}

.form-note {
  font-size: var(--text-xs);
  color: var(--fg-subtle);
  text-align: center;
  margin-top: var(--space-2);
  line-height: 1.55;
  letter-spacing: 0.02em;
}

/* Honeypot — invisible to humans, visible to dumb bots */
.form-field-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  pointer-events: none;
}

.form-error {
  display: none;
  margin-top: var(--space-2);
  padding: 12px 14px;
  border: 1px solid rgba(198, 40, 40, 0.35);
  border-left: 3px solid var(--aoas-crimson-500);
  border-radius: var(--radius-md);
  background: rgba(198, 40, 40, 0.08);
  color: var(--aoas-crimson-300);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.form-error.visible { display: block; }

button[disabled] { opacity: 0.6; cursor: not-allowed; }

/* hidden attribute must beat explicit display values like .btn { display: inline-flex } */
[hidden] { display: none !important; }

.form-success {
  text-align: center;
  padding: var(--space-5);
  display: none;
}

.form-success.visible { display: block; }

.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
  background: var(--brand-action);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aoas-carbon-1000);
  font-size: 36px;
  font-weight: 600;
  box-shadow: 0 12px 32px -8px rgba(125, 193, 28, 0.7);
}

.form-success h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
}

.form-success p {
  color: var(--fg-muted);
  font-size: var(--text-md);
  max-width: 360px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: var(--space-6) 0 var(--space-3);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-3);
}

.footer-brand .brand { margin-bottom: var(--space-3); gap: 16px; }

.footer-brand .brand-mark {
  width: 100px;
  height: 100px;
  border-radius: 14px;
}

.footer-brand .brand-name-top {
  font-size: 28px;
}

.footer-brand .brand-name-bot {
  font-size: 13px;
  letter-spacing: 0.4em;
  margin-top: 6px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: var(--text-md);
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  max-width: 320px;
  line-height: 1.5;
}

.footer-section h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: var(--space-2);
}

.footer-section ul { display: flex; flex-direction: column; gap: 8px; }

.footer-section li a {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  transition: color 0.15s var(--ease-out);
}

.footer-section li a:hover { color: var(--fg); }

.footer-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4);
  align-items: start;
  margin-top: var(--space-3);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-subtle);
  text-transform: uppercase;
}

.footer-risk {
  font-size: 11px;
  color: var(--fg-subtle);
  line-height: 1.7;
  max-width: 720px;
}

.footer-risk strong {
  color: var(--fg-muted);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 10px;
}

/* ========== Legal modals ========== */
.modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 720px;
  width: calc(100% - 48px);
  max-height: 86vh;
  border-radius: var(--radius-xl);
  margin: auto;
  color: var(--fg);
  overflow: visible;
  inset: 0;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}

.modal-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  max-height: 86vh;
  overflow: hidden;
  box-shadow:
    0 32px 80px -16px rgba(0, 0, 0, 0.7),
    0 0 120px -20px rgba(31, 72, 133, 0.35);
  position: relative;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--brand-action) 30%,
    var(--brand-link) 70%,
    transparent 100%);
}

/* Modal head */
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5) var(--space-3);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 100% 100% at 0% 0%, rgba(125, 193, 28, 0.05), transparent 60%),
    radial-gradient(ellipse 100% 100% at 100% 0%, rgba(31, 72, 133, 0.08), transparent 60%);
}

.modal-head-text { min-width: 0; flex: 1; }

.modal-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-action);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--brand-action-soft);
  border: 1px solid rgba(125, 193, 28, 0.18);
  margin-bottom: 12px;
}

.modal-eyebrow-warn {
  color: var(--aoas-crimson-300);
  background: rgba(198, 40, 40, 0.1);
  border-color: rgba(198, 40, 40, 0.25);
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.1;
}

.modal-effective {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-top: 14px;
}

.modal-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s var(--ease-out);
}

.modal-close:hover {
  background: var(--bg-card);
  color: var(--fg);
  border-color: var(--border-strong);
  transform: rotate(90deg);
}

.modal-close:active { transform: rotate(90deg) scale(0.95); }

/* Modal body */
.modal-body {
  padding: var(--space-4) var(--space-5);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 3px;
}
.modal-body::-webkit-scrollbar-thumb:hover { background: var(--aoas-carbon-600); }

.modal-warn {
  background: rgba(198, 40, 40, 0.08);
  border: 1px solid rgba(198, 40, 40, 0.25);
  border-left: 3px solid var(--aoas-crimson-500);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--aoas-crimson-300);
  line-height: 1.5;
}

.modal-section {
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}

.modal-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.modal-section h3 {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--fg);
  margin-bottom: 12px;
  position: relative;
  padding-left: 18px;
}

.modal-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--brand-action);
  transform: translateY(-50%);
}

.modal-section p {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--fg-muted);
}

.modal-section p + p { margin-top: 12px; }

.modal-section a {
  color: var(--brand-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(122, 161, 211, 0.4);
  transition: text-decoration-color 0.15s var(--ease-out);
}

.modal-section a:hover {
  text-decoration-color: var(--brand-link);
}

/* Modal footer */
.modal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid var(--border);
  gap: var(--space-3);
  background: var(--aoas-carbon-1000);
}

.modal-foot-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-weight: 500;
}

/* ----- Contact modal ----- */
.contact-intro {
  font-size: var(--text-md);
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.contact-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.contact-channel {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.contact-channel:hover {
  border-color: rgba(125, 193, 28, 0.45);
  background: var(--bg-elevated);
  transform: translateY(-2px);
}

.contact-channel-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-action-soft);
  border: 1px solid rgba(125, 193, 28, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-action);
  flex-shrink: 0;
}

.contact-channel-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-weight: 500;
}

.contact-channel-label {
  grid-column: 2;
  grid-row: 1;
}

.contact-channel-value {
  grid-column: 2;
  grid-row: 2;
  font-size: var(--text-sm);
  color: var(--fg);
  font-weight: 500;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.contact-form { margin-top: var(--space-2); }

.contact-form-note { text-align: left; margin-top: 4px; }

.modal-contact .form-success { padding: var(--space-4) var(--space-2); }

.modal-foot-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.modal-foot-submit { gap: 8px; }

/* Body lock when modal is open */
body.modal-open { overflow: hidden; }

/* ========== Intro video modal ========== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.modal-intro { max-width: 880px; }

.modal-intro-content {
  overflow: hidden;
  background: var(--aoas-carbon-1000);
}

.modal-intro-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 4;
  width: 40px; height: 40px;
  background: rgba(7, 8, 10, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.intro-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--aoas-carbon-1000);
  overflow: hidden;
}

.intro-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Sound toggle */
.intro-sound {
  position: absolute;
  left: 16px; bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 11px;
  border-radius: var(--radius-full);
  background: rgba(7, 8, 10, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--fg);
  cursor: pointer;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.25s var(--ease-spring);
}

.intro-sound:hover {
  background: rgba(7, 8, 10, 0.78);
  border-color: var(--brand-action);
  transform: translateY(-1px);
}

.intro-sound-icon { display: none; color: var(--brand-action); flex-shrink: 0; }
.intro-sound .intro-sound-off { display: block; }
.intro-sound[aria-pressed="true"] .intro-sound-off { display: none; }
.intro-sound[aria-pressed="true"] .intro-sound-on  { display: block; }

.intro-sound-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.intro-sound[aria-pressed="true"] .intro-sound-label { color: var(--fg); }

/* subtle pulse while still muted, to invite the click */
@media (prefers-reduced-motion: no-preference) {
  .intro-sound:not([aria-pressed="true"]) {
    animation: introSoundPulse 2.4s var(--ease-out) infinite;
  }
}
@keyframes introSoundPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(125, 193, 28, 0.0); }
  50%      { box-shadow: 0 0 0 6px rgba(125, 193, 28, 0.10); }
}

/* Progress bar */
.intro-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.10);
}
.intro-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand-action), var(--brand-link));
}

/* Footer */
.intro-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.intro-dismiss {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--fg-muted);
  user-select: none;
}
.intro-dismiss input { position: absolute; opacity: 0; width: 0; height: 0; }
.intro-dismiss-box {
  width: 18px; height: 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-card);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.intro-dismiss input:checked + .intro-dismiss-box {
  background: var(--brand-action);
  border-color: var(--brand-action);
}
.intro-dismiss input:checked + .intro-dismiss-box::after {
  content: '';
  position: absolute;
  left: 5px; top: 1.5px;
  width: 5px; height: 10px;
  border: solid var(--aoas-carbon-1000);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.intro-dismiss input:focus-visible + .intro-dismiss-box {
  outline: 2px solid var(--brand-link);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .intro-foot { padding: var(--space-2) var(--space-3); }
  .intro-dismiss { font-size: var(--text-xs); }
  .intro-sound-label { display: none; }
  .intro-sound { left: 12px; bottom: 12px; padding: 10px; }
}

@media (max-width: 600px) {
  .modal { width: calc(100% - 24px); max-height: 90vh; }
  .modal-head { padding: var(--space-3); }
  .modal-body { padding: var(--space-3); }
  .modal-foot { padding: var(--space-2) var(--space-3); flex-direction: column-reverse; align-items: stretch; gap: var(--space-2); }
  .modal-foot .btn { width: 100%; }
  .modal-foot-meta { text-align: center; }
  .modal-foot-actions { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
  .modal-title { font-size: 26px; }
  .modal-close { width: 38px; height: 38px; }
  .contact-channels { grid-template-columns: 1fr; }
}


/* ========== Reduced motion ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== Responsive ========== */
@media (max-width: 1080px) {
  .hero-grid { gap: var(--space-5); }
  .hero-headline { font-size: clamp(40px, 6vw, 60px); }
  .systems-cards { grid-template-columns: repeat(2, 1fr); }
  .demos-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .register-card { grid-template-columns: 1fr; gap: var(--space-4); }
}

@media (max-width: 960px) {
  .section { padding: var(--space-6) 0; }
  .hero { padding: 140px 0 var(--space-6); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: var(--space-3); max-width: none; }
  .systems-list { grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--border); }
  .systems-list li:nth-child(2) { border-right: 1px solid var(--border); }
  .catch-grid { grid-template-columns: 1fr; }
  .systems-cards { grid-template-columns: 1fr; }
  .demos-grid,
  .demos-grid-3,
  .demos-soldout { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; gap: var(--space-3); }
  .process-list::before { display: none; }
  .process-step { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; }
  .process-step .step-num { margin-bottom: 0; }
  .receive-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .both-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .footer-meta { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .brand-mark { width: 56px; height: 56px; }
  .brand-name-top { font-size: 20px; }
  .brand-name-bot { font-size: 10px; letter-spacing: 0.3em; }
  .register-card { padding: var(--space-4); gap: var(--space-3); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-contact-btn .header-contact-label { display: none; }
  .header-contact-btn { padding: 9px 11px; gap: 0; }
  .header-actions { gap: 8px; }
}

@media (max-width: 600px) {
  :root { --container-pad: 24px; }
  .section-title { font-size: clamp(36px, 10vw, 56px); line-height: 0.96; }
  .hero-headline { font-size: clamp(36px, 10vw, 56px); }
  .hero-scroll-cue { display: none; }
  .hero-orb-3, .hero-orb-4 { display: none; }
  .hero-orb-1, .hero-orb-2 { transform: scale(0.7); opacity: 0.1; }
  .hero-bg-text-2 { display: none; }
  .hero-bg-text-1 { top: auto; bottom: -8%; opacity: 0.7; }
  .systems-track .engine { font-size: var(--text-md); }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-meta .meta-num { font-size: 32px; }
  .brand-name-top { font-size: 17px; white-space: nowrap; }
  .brand-name-bot { font-size: 9px; letter-spacing: 0.3em; white-space: nowrap; }
  .brand-mark { width: 48px; height: 48px; }
  .btn { padding: 14px 24px; }
  .btn-sm { padding: 10px 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .systems-list { grid-template-columns: 1fr; }
  .systems-list li { border-bottom: 1px solid var(--border); border-right: 1px solid var(--border) !important; }
  .systems-list li:last-child { border-bottom: 1px solid var(--border); }
  .chart-prices { grid-template-columns: 1fr; gap: 12px; }
  .price-block { flex-direction: row; align-items: baseline; gap: 12px; }
  .register-card { padding: var(--space-3); }
  .form-row { grid-template-columns: 1fr; }
  .register-stats { grid-template-columns: 1fr 1fr; gap: var(--space-2); }
  .register-stats .stat .num { font-size: 28px; }
  .register-stats .stat .label { letter-spacing: 0.1em; font-size: 10px; }
  .register-content .section-title { font-size: clamp(30px, 9vw, 40px); }
  .demo-info { padding: var(--space-2) var(--space-3); }
  .pre-cta { padding: 56px 20px; }
  .pre-cta-title { font-size: clamp(64px, 22vw, 110px); letter-spacing: -0.05em; }
  .pre-cta-eyebrow { letter-spacing: 0.28em; font-size: 11px; }
  .pre-cta-arrow { width: 80px; height: 80px; margin-top: var(--space-4); }
}

@media (max-width: 420px) {
  :root { --container-pad: 18px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name-top { font-size: 15px; letter-spacing: 0.02em; }
  .brand-name-bot { font-size: 8px; letter-spacing: 0.26em; }
  .header-contact-btn { padding: 8px 9px; }
  .btn-sm { padding: 9px 12px; font-size: 10px; letter-spacing: 0.05em; }
  .pre-cta-title { font-size: clamp(48px, 18vw, 80px); }
  .pre-cta-arrow { width: 68px; height: 68px; }
  .pre-cta-arrow svg { width: 32px; height: 36px; }
  .register-card { padding: var(--space-2); }
  .register-stats { grid-template-columns: 1fr; gap: 14px; padding-top: var(--space-3); margin-top: var(--space-3); }
  .register-stats .stat { display: flex; align-items: baseline; gap: 12px; }
  .register-stats .stat .num { margin-bottom: 0; font-size: 24px; }
  .register-stats .stat .label { font-size: 10px; }
  .form-field input,
  .form-field select,
  .form-field textarea { padding: 12px 14px; font-size: var(--text-sm); }
  .modal-title { font-size: 22px; }
  .contact-channel { padding: 12px; column-gap: 10px; }
  .contact-channel-icon { width: 34px; height: 34px; }
  .contact-channel-value { font-size: 13px; }
}
