/* === BASE === */
:root {
  --bg: #F7F4EF;
  --bg-alt: #F0EDE6;
  --fg: #111827;
  --fg-muted: #4B5563;
  --accent: #D97706;
  --accent-hover: #B45309;
  --navy: #0F172A;
  --amber: #F59E0B;
  --border: #E5DDD3;
  --card-bg: #FFFFFF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAVBAR === */
.navbar {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
}

/* === HERO === */
.hero {
  padding: 5rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}
.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: #FEF3C7;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* Dashboard mockup */
.hero-dashboard {
  display: flex;
  justify-content: center;
}
.dash-card {
  background: var(--navy);
  border-radius: 1rem;
  padding: 1.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 32px 64px rgba(15,23,42,0.15), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.dash-title {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 500;
}
.dash-badge {
  background: #166534;
  color: #86EFAC;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  letter-spacing: 0.05em;
}
.dash-grid { display: flex; flex-direction: column; gap: 0.6rem; }
.dash-row { display: flex; gap: 0.75rem; align-items: center; }
.dash-day {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  font-weight: 600;
  width: 2rem;
  flex-shrink: 0;
}
.dash-slot {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.slot-type {
  background: var(--amber);
  color: var(--navy);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 0.25rem;
  flex-shrink: 0;
}
.slot-text {
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  line-height: 1.3;
}
.dash-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}
.stat {
  flex: 1;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
}
.stat-sep {
  width: 1px;
  height: 3rem;
  background: var(--border);
}

/* === PLATFORM SECTION === */
.platform-section {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 2rem;
}
.platform-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1rem;
}
.section-heading.centered {
  text-align: center;
  margin-bottom: 3rem;
}
.section-body {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.platform-features { display: flex; flex-direction: column; gap: 1.25rem; }
.pf-item { display: flex; gap: 0.875rem; align-items: flex-start; }
.pf-icon { color: var(--accent); font-size: 0.9rem; margin-top: 0.1rem; flex-shrink: 0; }
.pf-item strong { font-size: 0.95rem; font-weight: 600; color: var(--fg); display: block; margin-bottom: 0.2rem; }
.pf-item p { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }

/* Signal card */
.signal-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}
.sc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.sc-dot.live {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0.08); }
}
.sc-title { font-size: 0.8rem; font-weight: 600; color: var(--fg); }
.sc-feed { padding: 0.5rem 0; }
.sc-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.sc-item:last-child { border-bottom: none; }
.sc-action { font-size: 0.85rem; font-weight: 600; color: var(--fg); }
.sc-meta { font-size: 0.75rem; color: var(--fg-muted); }

/* === HOW IT WORKS === */
.hiw-section { padding: 6rem 2rem; }
.hiw-inner { max-width: 1200px; margin: 0 auto; }
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.hiw-step { padding: 2rem 0; border-top: 3px solid var(--accent); }
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.hiw-step h3 { font-size: 1.1rem; font-weight: 700; color: var(--fg); margin-bottom: 0.75rem; }
.hiw-step p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.7; }

/* === FEATURES === */
.features-section { padding: 6rem 2rem; background: var(--navy); }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-section .section-eyebrow { color: var(--amber); }
.features-section .section-heading { color: #FFFFFF; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem;
  overflow: hidden;
}
.feat-card {
  background: var(--navy);
  padding: 2rem;
  transition: background 0.2s;
}
.feat-card:hover { background: rgba(255,255,255,0.04); }
.feat-icon {
  display: block;
  font-size: 1.5rem;
  color: var(--amber);
  margin-bottom: 1.25rem;
}
.feat-card h3 { font-size: 1rem; font-weight: 700; color: #FFFFFF; margin-bottom: 0.75rem; }
.feat-card p { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* === WHO IT'S FOR === */
.who-section { padding: 6rem 2rem; background: var(--bg-alt); }
.who-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
}
.who-signals { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1rem; }
.ws-item { color: var(--accent); font-weight: 700; font-size: 1rem; margin-top: 0.05rem; flex-shrink: 0; }
.who-signals p { font-size: 0.95rem; color: var(--fg); line-height: 1.5; }

.big-num {
  display: block;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1rem;
}
.big-num-sub { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.6; }

/* === CLOSING === */
.closing-section { padding: 8rem 2rem; background: var(--bg); text-align: center; }
.closing-inner { max-width: 760px; margin: 0 auto; }
.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.closing-sub { font-size: 1.05rem; color: var(--fg-muted); }

/* === FOOTER === */
.footer { padding: 2rem; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
}
.footer-copy { font-size: 0.8rem; color: var(--fg-muted); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner, .platform-inner, .who-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hiw-steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-direction: column; gap: 2rem; }
  .stat-sep { display: none; }
  .stat { border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
  .stat:last-child { border-bottom: none; }
  .hero-dashboard { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .big-num { font-size: 3.5rem; }
}