/* ===== FONTS ===== */
:root {
  --bg:        #080808;
  --surface:   #111111;
  --surface2:  #1a1916;
  --text:      #FAFAF8;
  --muted:     #9A9187;
  --accent:    #F7B32B;
  --accent-dim:#6B4F10;
  --border:    #252220;
  --mono:      'DM Mono', monospace;
  --sans:      'DM Sans', system-ui, sans-serif;
  --serif:     'Instrument Serif', Georgia, serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
svg { flex-shrink: 0; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(8,8,8,0.85);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nav-links { display: flex; gap: 2rem; }
.nav-link {
  font-size: 0.8rem;
  font-family: var(--mono);
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(247,179,43,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero-headline em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.7;
}

/* ===== HERO VISUAL ===== */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  position: relative;
}
.signal-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  width: 100%;
  max-width: 380px;
  position: relative;
  overflow: hidden;
}
.signal-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}
.signal-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
  margin-bottom: 0.75rem;
}
.bar {
  flex: 1;
  background: var(--border);
  border-radius: 2px 2px 0 0;
  transition: height 0.3s ease;
  min-height: 8px;
}
.bar-active { background: var(--accent); }
.signal-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.fit-equation {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-align: center;
}
.eq-label { color: var(--accent); }
.eq-op { color: var(--muted); }
.eq-fn  { color: var(--text); font-weight: 500; }
.eq-var { color: var(--text); font-weight: 500; font-size: 1.1em; }
.eq-sub { font-size: 0.75em; }
.scan-line {
  width: 100%;
  max-width: 380px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.3;
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}
.scan-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent));
  animation: scan 3s ease-in-out infinite;
}
@keyframes scan {
  0%   { left: -40%; }
  100% { left: 140%; }
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 6rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
}
.manifesto-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.manifesto-text {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.5;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 2rem;
}
.manifesto-answer {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== HOW ===== */
.how {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.how-header { margin-bottom: 3.5rem; }
.how-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.how-headline {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.how-step {
  background: var(--surface);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.step-num {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.step-title {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}
.step-code {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  line-height: 1.8;
  margin-top: 0.5rem;
}

/* ===== OUTCOMES ===== */
.outcomes {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.outcomes-header { margin-bottom: 3.5rem; }
.outcomes-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.outcomes-headline {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.outcome-card {
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s;
}
.outcome-card:hover { border-color: var(--accent-dim); }
.outcome-icon {
  color: var(--accent);
  width: 24px; height: 24px;
}
.outcome-title {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.outcome-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ===== CLOSER ===== */
.closer {
  padding: 5rem 2rem 7rem;
  max-width: 1100px;
  margin: 0 auto;
}
.closer-inner { max-width: 620px; }
.closer-rule {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 2.5rem;
  opacity: 0.7;
}
.closer-statement {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.closer-statement em { font-style: italic; color: var(--accent); }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1rem;
}
.footer-tagline {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  display: block;
  margin-top: 0.15rem;
}
.footer-meta {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 7rem;
    gap: 2.5rem;
  }
  .hero-visual { order: -1; }
  .how-grid,
  .outcomes-grid {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }
