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

:root {
  --bg: #FAFAF5;
  --bg-alt: #F2F1EB;
  --dark: #14303A;
  --dark-mid: #1D4556;
  --green: #1B6B3A;
  --accent: #F5A623;
  --accent-dim: rgba(245,166,35,0.12);
  --text: #14303A;
  --text-mid: #3D6070;
  --text-muted: #7A9BA6;
  --border: rgba(20,48,58,0.1);
  --card-bg: #FFFFFF;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Sora', -apple-system, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* =====================
   NAV
   ===================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(250,250,245,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* =====================
   HERO
   ===================== */
.hero {
  padding: 140px 48px 80px;
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  max-width: 860px;
  margin-bottom: 56px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 500;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-headline {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.08;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.7;
}

/* =====================
   HERO STATS
   ===================== */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 56px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
}

.stat {
  flex: 1;
  padding: 0 32px;
}

.stat:first-child { padding-left: 0; }

.stat-num {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
  letter-spacing: 0.01em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
}

/* =====================
   BRIEFING CARD
   ===================== */
.hero-briefing { max-width: 740px; }

.briefing-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}

.briefing-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.briefing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.briefing-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.briefing-meta {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
}

.briefing-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
}

.brief-story {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brief-story:last-of-type { border-bottom: none; }

.story-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.story-tag.signal { background: rgba(27,107,58,0.4); color: #6EFFa3; }
.story-tag.news { background: rgba(245,166,35,0.2); color: var(--accent); }
.story-tag.alert { background: rgba(220,80,60,0.2); color: #ff8a7a; }

.story-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin-bottom: 8px;
}

.story-meta {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}

.briefing-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
}

/* =====================
   HOW IT WORKS
   ===================== */
.how {
  padding: 100px 48px;
  background: var(--bg);
}

.how-header {
  max-width: 640px;
  margin: 0 auto 72px;
  text-align: center;
}

.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.how-headline {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.how-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.how-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
}

.step {
  flex: 0 0 240px;
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  padding: 0 8px;
}

/* =====================
   SAMPLE BRIEFING
   ===================== */
.sample-briefing {
  padding: 100px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.sb-inner {
  max-width: 840px;
  margin: 0 auto;
}

.sb-header {
  text-align: center;
  margin-bottom: 56px;
}

.sb-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.15;
}

.sb-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Email frame mockup */
.sb-email-frame {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(20,48,58,0.06);
  margin-bottom: 40px;
}

.ef-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.ef-from {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ef-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ef-sender {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

.ef-address {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.ef-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.ef-subject-row {
  padding: 14px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--card-bg);
  display: flex;
  gap: 8px;
}

.ef-subject-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.ef-subject-text {
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 500;
}

.ef-divider {
  height: 1px;
  background: var(--border);
}

.ef-story {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.ef-story:last-of-type { border-bottom: none; }

.ef-story-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

/* Signal badges */
.signal-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 8px;
  border-radius: 4px;
}

.signal-bull { background: rgba(27,107,58,0.1); color: #1B6B3A; }
.signal-bear { background: rgba(220,80,60,0.1); color: #c04030; }
.signal-mixed { background: rgba(245,166,35,0.12); color: #b07010; }

.ef-story-src {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.ef-story-headline {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.ef-story-body {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.ef-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  gap: 16px;
}

.ef-footer-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.ef-footer-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.sb-cta-row {
  text-align: center;
}

.cta-primary {
  display: inline-block;
  background: var(--dark);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 36px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.cta-primary:hover {
  background: var(--dark-mid);
  transform: translateY(-1px);
}

.sb-cta-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Scroll reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   FEATURES
   ===================== */
.features {
  padding: 0 48px 100px;
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  padding: 36px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(20,48,58,0.08);
}

.feature-card.feature-deep {
  grid-column: 1 / -1;
  background: var(--dark);
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}

.feature-card.feature-deep .feature-icon {
  margin-top: 4px;
}

.feature-card.feature-deep h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card.feature-deep p {
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin: 0;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =====================
   SOCIAL PROOF
   ===================== */
.social-proof {
  padding: 80px 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sp-inner { max-width: 900px; margin: 0 auto; }

.sp-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 32px;
  text-align: center;
}

.sp-counter {
  text-align: center;
  margin-bottom: 48px;
}

.sp-num {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.sp-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sp-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.sp-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0 28px;
  letter-spacing: -0.01em;
}

.sp-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sp-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.sp-stars {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.sp-quote {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}

.sp-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.sp-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sp-meta strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
}

.sp-meta span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* =====================
   INSIGHTS
   ===================== */
.insights {
  background: var(--dark);
  padding: 100px 48px;
  color: #fff;
}

.insights-inner { max-width: 900px; margin: 0 auto; }

.insights-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}

.insights-quote {
  border-left: 2px solid var(--accent);
  padding-left: 28px;
  margin-bottom: 64px;
}

.insights-quote p {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 12px;
}

.insights-quote cite {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-style: normal;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 48px;
}

.insight {
  padding-right: 40px;
  border-right: 1px solid rgba(255,255,255,0.1);
  padding-left: 0;
}

.insight:first-child { padding-left: 0; }
.insight:last-child { border-right: none; }

.insight-val {
  font-family: 'Sora', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.insight-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* =====================
   MANIFESTO
   ===================== */
.manifesto {
  padding: 100px 48px;
  background: var(--bg-alt);
}

.manifesto-inner { max-width: 720px; margin: 0 auto; }

.manifesto-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}

.manifesto-headline {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 40px;
  line-height: 1.2;
}

.manifesto-body p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}

.manifesto-body p:last-child { margin-bottom: 0; }

/* =====================
   CLOSING
   ===================== */
.closing {
  background: var(--dark);
  padding: 100px 48px;
  text-align: center;
}

.closing-inner { max-width: 640px; margin: 0 auto; }

.closing h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.1;
}

.closing p {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
}

.closing-vibe {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 10px 20px;
}

.closing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(27,107,58,0.3);
  animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 3px rgba(27,107,58,0.3); }
  50% { box-shadow: 0 0 0 6px rgba(27,107,58,0.1); }
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: color 0.2s;
}

.footer-links span:hover { color: rgba(255,255,255,0.6); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 120px 24px 60px; }
  .hero-stats { flex-direction: column; gap: 24px; align-items: flex-start; }
  .stat { padding: 0; }
  .stat-divider { width: 40px; height: 1px; }
  .features { padding: 0 24px 60px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.feature-deep { grid-template-columns: 1fr; }
  .how { padding: 60px 24px; }
  .how-steps { flex-direction: column; }
  .step-connector { transform: rotate(90deg); flex: 0 0 auto; padding: 8px 0; }
  .insights { padding: 60px 24px; }
  .insights-grid { grid-template-columns: 1fr; gap: 32px; }
  .insight { border-right: none; padding-right: 0; }
  .manifesto { padding: 60px 24px; }
  .closing { padding: 60px 24px; }
  .footer { flex-direction: column; gap: 12px; text-align: center; padding: 24px; }
}
