/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0d14;
  --fg: #f0ede8;
  --accent: #f59e0b;
  --accent-dim: rgba(245,158,11,0.12);
  --muted: rgba(240,237,232,0.45);
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.07);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* === NAV === */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 56px;
  display: flex;
  align-items: center;
  background: rgba(13,13,20,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-nav .nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px clamp(1.5rem, 5vw, 4rem) 80px;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}
.hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.hero-headline {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
  max-width: 16ch;
}
.hero-lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.75;
  margin-bottom: 3rem;
}
.hero-metric-row {
  display: flex;
  gap: 3rem;
}
.hero-metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.metric-val {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}
.metric-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
}
.signal-ring { position: relative; display: flex; align-items: center; justify-content: center; }
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,0.2);
}
.ring-1 { width: 80px; height: 80px; animation: pulse-ring 3s ease-in-out infinite; }
.ring-2 { width: 140px; height: 140px; animation: pulse-ring 3s ease-in-out infinite 0.4s; }
.ring-3 { width: 200px; height: 200px; animation: pulse-ring 3s ease-in-out infinite 0.8s; }
.ring-4 { width: 260px; height: 260px; animation: pulse-ring 3s ease-in-out infinite 1.2s; }
.signal-core { position: relative; z-index: 2; }
@keyframes pulse-ring {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.04); }
}

/* === HOW SECTION === */
.how-section {
  padding: clamp(80px, 10vw, 140px) clamp(1.5rem, 5vw, 4rem);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}
.section-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fg);
  margin-bottom: 3.5rem;
  max-width: 20ch;
}
.how-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.how-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.card-icon {
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}
.how-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--fg);
}
.how-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* === DIFFERENCE SECTION === */
.diff-section {
  padding: clamp(80px, 10vw, 140px) clamp(1.5rem, 5vw, 4rem);
}
.diff-inner { max-width: 1200px; margin: 0 auto; }
.diff-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-top: 3rem;
  border: 1px solid var(--border);
}
.diff-item {
  padding: 2.5rem;
}
.diff-old { background: rgba(255,255,255,0.02); }
.diff-new { background: rgba(245,158,11,0.04); border-left: 1px solid var(--border); }
.diff-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: block;
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.diff-item ul { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.diff-item li {
  font-size: 0.95rem;
  color: var(--muted);
  padding-left: 1.25rem;
  position: relative;
}
.diff-item li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
}
.diff-new li::before { background: var(--accent); }
.diff-new li { color: var(--fg); }
.diff-divider { width: 1px; background: var(--border); }

/* === MANIFESTO === */
.manifesto-section {
  padding: clamp(80px, 10vw, 120px) clamp(1.5rem, 5vw, 4rem);
  background: var(--accent-dim);
  border-top: 1px solid rgba(245,158,11,0.2);
  border-bottom: 1px solid rgba(245,158,11,0.2);
}
.manifesto-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.manifesto-quote {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--fg);
  line-height: 1.4;
  font-style: italic;
}

/* === CLOSING === */
.closing-section {
  padding: clamp(100px, 12vw, 180px) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
}
.closing-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--accent));
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-headline {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.closing-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 50ch;
  margin: 0 auto;
}

/* === FOOTER === */
.site-footer {
  padding: 40px clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-brand {
  font-family: 'Instrument Serif', serif;
  font-size: 1.1rem;
  color: var(--fg);
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-metric-row { gap: 2rem; }
  .how-cards { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .diff-divider { width: 100%; height: 1px; }
  .diff-new { border-left: none; border-top: 1px solid var(--border); }
  .hero-metric-row { flex-wrap: wrap; }
}