:root {
  /* ── Color: OKLCH ── */
  --bg:           oklch(0.08 0.005 75); /* Deep dark amber tint */
  --bg2:          oklch(0.12 0.01 75);
  --bg3:          oklch(0.15 0.01 75);
  --accent:       oklch(0.76 0.16 75);  /* The signature amber */
  --accent-dim:   oklch(0.65 0.14 75);
  --accent-glow:  oklch(0.76 0.16 75 / 0.12);
  --accent-subtle: oklch(0.76 0.16 75 / 0.06);
  
  --text:         oklch(0.95 0.005 75);
  --text-muted:   oklch(0.55 0.01 75);
  --border:       oklch(1 0 0 / 0.1);
  
  --font-display: 'Bebas Neue', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --font-body:    'DM Sans', sans-serif;

  /* ── Spacing ── */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 72px;

  /* ── Focus ── */
  --focus-ring: 2px solid var(--accent);
  --focus-offset: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  transition: margin-top 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  -webkit-font-smoothing: antialiased;
}

body:has(.site-nav.force-show) {
  margin-top: 40px;
}

/* ── NOISE + GRID OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
  opacity: 0.5;
}

.grid-bg {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(oklch(0.76 0.16 75 / 0.02) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.76 0.16 75 / 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none; z-index: 0;
}

section, nav, footer, .ticker-wrap, .stats-bar, .site-nav {
  position: relative; z-index: 1;
}

/* ── SITE NAV (SHARED GLOBALLY) ── */
.site-nav {
  background: oklch(0.08 0.005 75 / 0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--accent-subtle);
  padding: 0 48px; display: flex; align-items: center; justify-content: center; gap: 2px;
  position: fixed; width: 100%; top: 0; z-index: 2000;
  transform: translateY(-100%); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-nav.force-show { transform: translateY(0); }

.site-nav a {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none; padding: 14px 24px;
  color: var(--text-muted); transition: color 0.2s; position: relative;
  border-radius: 2px;
}

.site-nav a:hover, .site-nav a.active { color: var(--accent); }

.site-nav a.active::after {
  content: ''; position: absolute; bottom: 0; left: 24px; right: 24px;
  height: 2px; background: var(--accent);
}

.site-nav a:focus-visible {
  outline: var(--focus-ring);
  outline-offset: -2px;
}

/* ── PAGE NAV ── */
nav {
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display); font-size: 26px; letter-spacing: 4px;
}

.nav-logo span { color: var(--accent); }

.nav-links { display: flex; gap: 28px; }

.nav-links a {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
  text-decoration: none; letter-spacing: 1px; transition: color 0.2s;
  min-height: 44px; display: flex; align-items: center;
  border-radius: 2px;
}

.nav-links a:hover { color: var(--accent); }

.nav-links a:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* ── HERO ── */
.hero {
  padding: 64px 24px 48px; max-width: 600px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}

.hero-tag {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}

.hero h1 {
  font-family: var(--font-display); font-size: clamp(48px, 12vw, 96px);
  line-height: 0.92; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 28px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 .accent {
  color: transparent; -webkit-text-stroke: 1px var(--accent);
  text-shadow: 0 0 16px oklch(0.76 0.16 75 / 0.05);
}

.hero-sub {
  font-size: 17px; color: var(--text-muted);
  max-width: 45ch; line-height: 1.6; margin-bottom: 40px; font-weight: 300;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  width: 100%; animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-primary {
  background: var(--accent); color: #000;
  padding: 14px 28px; font-family: var(--font-mono);
  font-size: 12px; font-weight: 700; text-decoration: none;
  letter-spacing: 1.5px; transition: all 0.25s ease;
  min-height: 44px; display: inline-flex; align-items: center;
}

.btn-primary:hover {
  background: var(--text); transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.btn-secondary {
  border: 1px solid var(--border); color: var(--text);
  padding: 14px 28px; font-family: var(--font-mono);
  font-size: 12px; text-decoration: none; letter-spacing: 1.5px;
  display: inline-flex; align-items: center; transition: all 0.25s ease;
  min-height: 44px;
}

.btn-secondary:hover {
  border-color: var(--accent); color: var(--accent); transform: translateY(-2px);
}

.btn-secondary:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* ── STATS ── */
.stats-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(2, 1fr); max-width: 600px;
  margin: 0 auto; background: var(--bg2);
}

.stat-item { padding: 28px 20px; text-align: center; transition: background 0.3s; }
.stat-item:hover { background: var(--bg3); }
.stat-item+.stat-item { border-left: 1px solid var(--border); }
.stat-item:nth-child(3) { border-top: 1px solid var(--border); border-left: none; }
.stat-item:nth-child(4) { border-top: 1px solid var(--border); border-left: 1px solid var(--border); }

.stat-num {
  font-family: var(--font-display); font-size: clamp(32px, 4vw, 44px);
  color: var(--accent); letter-spacing: 2px;
}

.stat-label {
  font-family: var(--font-mono); font-size: 10px; color: var(--text-muted);
  letter-spacing: 2px; text-transform: uppercase; margin-top: 6px;
}

.stat-context { font-size: 11px; color: oklch(1 0 0 / 0.25); margin-top: 4px; }

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden; border-bottom: 1px solid var(--border);
  padding: 13px 0; background: var(--bg2);
}

.ticker {
  display: flex; gap: 64px; white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-item {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase;
}

.ticker-item em { color: var(--accent); font-style: normal; margin-right: 8px; }

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SECTION ── */
.section-wrap { max-width: 600px; margin: 0 auto; padding: 0 24px; }
.section-head { padding: 80px 24px 20px; max-width: 600px; margin: 0 auto; text-align: center; }

.section-tag {
  font-family: var(--font-mono); font-size: 10px; color: var(--accent);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display); font-size: clamp(32px, 5vw, 48px);
  letter-spacing: 2px; text-transform: uppercase;
}

/* ── AUTHORITY NOTE ── */
.authority-bar {
  border: 1px solid var(--border); background: var(--bg2);
  padding: 20px 24px; display: flex; align-items: center; gap: 24px;
  max-width: 600px; margin: 0 auto; border-radius: 8px;
}

.authority-line {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
  letter-spacing: 1px; line-height: 1.6; border-left: 2px solid var(--accent);
  padding-left: 16px;
}

.authority-line strong { color: var(--text); }

/* ── PRODUCT CARDS ── */
.products-grid { display: flex; flex-direction: column; gap: 16px; }

.product-card {
  background: var(--bg2); padding: 24px; border: 1px solid var(--border);
  border-radius: 8px; cursor: pointer; transition: all 0.3s ease;
  position: relative; text-align: left; display: flex; flex-direction: column;
}

.product-card:hover { border-color: var(--accent-dim); transform: translateY(-2px); }

.product-icon { font-size: 28px; margin-bottom: 12px; }

.product-name {
  font-family: var(--font-display); font-size: 24px;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px;
}

.product-desc {
  font-size: 15px; color: var(--text-muted); line-height: 1.6;
  margin-bottom: 20px; font-weight: 300; max-width: 55ch;
}

.product-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--border);
}

.product-price { font-family: var(--font-mono); font-size: 20px; color: var(--accent); }

.product-badge {
  font-family: var(--font-mono); font-size: 9px; color: var(--text-muted);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px;
  display: inline-block;
}

.product-cta {
  font-family: var(--font-mono); font-size: 10px; color: var(--accent);
  background: oklch(0.76 0.16 75 / 0.05); text-decoration: none;
  letter-spacing: 1px; border: 1px solid var(--accent-dim);
  border-radius: 4px; padding: 7px 14px; transition: all 0.2s;
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}

.product-cta:hover { background: var(--accent); color: #000; box-shadow: 0 0 12px var(--accent-glow); }

/* ── BUNDLE ── */
.bundle-wrap { padding: 16px 24px 40px; max-width: 600px; margin: 0 auto; }

.bundle-inner {
  border: 1px dashed var(--accent-dim); background: var(--bg2);
  padding: 24px; border-radius: 8px; display: flex; flex-direction: column;
  align-items: center; gap: 24px; transition: border-color 0.3s; text-align: center;
}

.bundle-inner:hover { border-color: var(--accent); }

.bundle-info h3 {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 30px);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}

.bundle-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

.bundle-tag {
  font-family: var(--font-mono); font-size: 10px; border: 1px solid var(--border);
  padding: 3px 9px; color: var(--text-muted); border-radius: 4px;
}

.bundle-right { text-align: center; flex-shrink: 0; width: 100%; }

.bundle-price {
  font-family: var(--font-display); font-size: clamp(36px, 4vw, 48px);
  color: var(--accent); letter-spacing: 2px;
}

.bundle-was {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted); text-decoration: line-through; margin-bottom: 16px;
}

/* ── FREE RUNBOOK ── */
.runbook-inner {
  border: 1px solid var(--border); padding: 32px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  text-align: center; transition: border-color 0.3s; border-radius: 8px;
  background: var(--bg2);
}

.runbook-inner:hover { border-color: var(--accent-dim); }

.runbook-inner h3 {
  font-family: var(--font-display); font-size: clamp(28px, 3vw, 34px);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
}

.runbook-inner p {
  font-size: 16px; color: var(--text-muted); line-height: 1.6;
  max-width: 50ch; font-weight: 300; margin: 0 auto;
}

.runbook-right {
  flex-shrink: 0; text-align: center; width: 100%;
  border-top: 1px dashed var(--border); padding-top: 24px;
}

.runbook-note {
  font-family: var(--font-mono); font-size: 10px; color: var(--text-muted);
  letter-spacing: 2px; margin-bottom: 14px; text-transform: uppercase;
  display: block;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border); padding: 28px 48px;
  display: flex; align-items: center; justify-content: space-between;
}

.footer-left { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.footer-left span { color: var(--accent); }
.footer-right { font-family: var(--font-display); font-size: 16px; letter-spacing: 2px; color: oklch(1 0 0 / 0.1); }

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .site-nav { padding: 0 16px; }
  nav { padding: 16px 20px; }
  .hero { padding: 40px 20px; }
  .hero h1 { font-size: clamp(48px, 14vw, 80px); }
  .section-head, .bundle-wrap { padding-left: 20px; padding-right: 20px; }
  .section-wrap { padding-left: 20px; padding-right: 20px; }
  .runbook-inner { padding: 24px; }
  footer { flex-direction: column; gap: 10px; padding: 24px 20px; text-align: center; }
  .footer-right { display: none; }
}