/* === BASE === */
:root {
  --bg: #0a0f1a;
  --surface: #0f1a2e;
  --surface-2: #162240;
  --fg: #e8edf5;
  --fg-muted: #8896b0;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --red: #ef4444;
  --green: #22c55e;
  --border: rgba(255,255,255,0.07);
  --radius: 6px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 60px;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-logo-accent { color: var(--accent); }
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 40px 80px;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-left { }
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* === MONITOR MOCK === */
.hero-right { }
.monitor-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,158,11,0.08);
}
.monitor-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.monitor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.monitor-dot.red { background: #ef4444; }
.monitor-dot.yellow { background: #f59e0b; }
.monitor-dot.green { background: #22c55e; }
.monitor-title {
  font-size: 0.72rem;
  color: var(--fg-muted);
  margin-left: 8px;
  font-family: monospace;
}
.monitor-body { padding: 0; }
.carrier-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.carrier-name { color: var(--fg); font-weight: 500; }
.status-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}
.status-badge.ok {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
}
.status-badge.alert {
  background: rgba(245,158,11,0.15);
  color: var(--accent);
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.last-check { font-size: 0.72rem; color: var(--fg-muted); }
.change-popup {
  margin: 12px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 8px;
  padding: 12px 14px;
}
.change-popup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 6px;
}
.change-popup-body { font-size: 0.78rem; color: var(--fg-muted); line-height: 1.5; }

/* === PROOF / PROBLEM === */
.proof {
  padding: 100px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-inner { max-width: 1200px; margin: 0 auto; }
.proof-header { margin-bottom: 56px; }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.problem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
}
.problem-icon { margin-bottom: 20px; }
.problem-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.3;
}
.problem-card p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }

/* === HOW === */
.how { padding: 100px 40px; }
.how-inner { max-width: 1200px; margin: 0 auto; }
.how .section-headline { margin: 16px 0 64px; }
.section-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.15;
}
.steps { display: flex; align-items: center; gap: 0; }
.step { flex: 1; padding: 0 40px; }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(245,158,11,0.15);
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}
.step h3 { font-size: 1.05rem; font-weight: 600; color: var(--fg); margin-bottom: 12px; }
.step p { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.65; }
.step-connector {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  flex-shrink: 0;
}

/* === FEATURES === */
.features {
  padding: 100px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.features-inner { max-width: 1200px; margin: 0 auto; }
.features .section-headline { margin: 16px 0 64px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(245,158,11,0.3); }
.feature-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--fg); margin-bottom: 10px; }
.feature-card p { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.65; }

/* === MANIFESTO === */
.manifesto {
  padding: 100px 40px;
  background: var(--bg);
}
.manifesto-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.manifesto-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: 24px;
}
.manifesto-attribution {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

/* === CLOSING === */
.closing {
  padding: 100px 40px 120px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; }
.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 28px;
}
.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* === FOOTER === */
.site-footer {
  padding: 60px 40px 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
}
.footer-logo-accent { color: var(--accent); }
.footer-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 8px;
  max-width: 300px;
}
.footer-links { text-align: right; }
.footer-note { font-size: 0.8rem; color: var(--fg-muted); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
}
.footer-bottom p { font-size: 0.78rem; color: var(--fg-muted); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .problem-grid, .features-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 32px; }
  .step-connector { width: 1px; height: 32px; background: var(--border); }
  .footer-inner { flex-direction: column; }
  .footer-links { text-align: left; }
}
@media (max-width: 640px) {
  .hero { padding: 80px 20px 60px; }
  .proof, .how, .features, .manifesto, .closing { padding: 60px 20px; }
  .site-nav { padding: 0 20px; }
  .nav-tagline { display: none; }
  .hero-stats { flex-wrap: wrap; }
  .problem-card, .feature-card { padding: 22px; }
}