/* ===== VARIABLES ===== */
:root {
  --bg: #FAF7F2;
  --bg-alt: #F0EBE3;
  --fg: #1a1a2e;
  --fg-muted: #6b6b7a;
  --accent: #8B0000;
  --accent-light: #b81212;
  --accent-bg: rgba(139, 0, 0, 0.06);
  --gold: #C8960C;
  --border: rgba(26, 26, 46, 0.12);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

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

/* ===== MASTHEAD ===== */
.masthead {
  padding: 0;
}
.masthead__rule {
  height: 4px;
  background: var(--accent);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.masthead__edition {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.masthead__sep { color: var(--border); }
.masthead__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.masthead__lion {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.masthead__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.masthead__tagline {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-style: italic;
  font-family: var(--font-display);
}

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 3rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--fg);
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}
.hero__headline em {
  font-style: italic;
  color: var(--accent);
}
.hero__sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--fg-muted);
  max-width: 480px;
}

/* Hero Feed */
.hero__feed {
  background: var(--fg);
  color: #e8e4dc;
  border-radius: 4px;
  padding: 1.75rem;
  font-size: 0.85rem;
  box-shadow: 0 8px 32px rgba(26,26,46,0.15);
}
.hero__feed-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 0.75rem;
}
.hero__feed-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #c8c4bc;
}
.hero__feed-item--breaking { color: #f0c060; }
.hero__feed-item--published { color: #60d080; }
.feed-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.feed-dot--red { background: #e83030; box-shadow: 0 0 6px #e83030; }
.feed-dot--amber { background: #e8a020; }
.feed-dot--grey { background: rgba(255,255,255,0.2); }
.feed-check { color: #60d080; font-size: 0.85rem; margin-top: 3px; }
.hero__feed-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  font-size: 0.72rem;
  color: #8a8680;
  letter-spacing: 0.05em;
}
.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60d080;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(96,208,128,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(96,208,128,0); }
}

/* Hero Stats */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.hero__stat {
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.hero__stat:last-child { border-right: none; }
.hero__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.hero__stat-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 0.4rem;
}

/* ===== MANIFESTO ===== */
.manifesto {
  background: var(--fg);
  color: #e8e4dc;
  padding: 4rem 3rem;
}
.manifesto__rule {
  height: 2px;
  background: var(--accent);
  margin-bottom: 2rem;
}
.manifesto__inner {
  max-width: 820px;
  margin: 0 auto;
}
.manifesto__quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: #f0e8dc;
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
  margin-bottom: 3rem;
}
.manifesto__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.manifesto__body p {
  font-size: 1rem;
  line-height: 1.8;
  color: #a0a098;
}

/* ===== FEATURES ===== */
.features {
  padding: 5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.features__header {
  margin-bottom: 3.5rem;
}
.features__eyebrow {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.features__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.feature-card:hover { background: var(--accent-bg); }
.feature-card:nth-child(even) { border-right: none; }
.feature-card:nth-child(3), .feature-card:nth-child(4) { border-bottom: none; }
.feature-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
}
.feature-card__icon svg { width: 100%; height: 100%; }
.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.feature-card__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* ===== OUTCOMES ===== */
.outcomes {
  background: var(--accent);
  padding: 4rem 3rem;
}
.outcomes__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.outcomes__headline {
  margin-bottom: 3rem;
}
.outcomes__eyebrow {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.5);
  margin-bottom: 0.75rem;
}
.outcomes__headline h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--bg);
  max-width: 580px;
}
.outcomes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(250,247,242,0.15);
}
.outcome {
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(250,247,242,0.15);
}
.outcome:last-child { border-right: none; }
.outcome__stat {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--bg);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.outcome__label {
  display: block;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(250,247,242,0.65);
}

/* ===== CLOSING ===== */
.closing {
  background: var(--bg-alt);
  padding: 5rem 3rem;
  text-align: center;
}
.closing__inner {
  max-width: 700px;
  margin: 0 auto;
}
.closing__statement {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--fg);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.closing__sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 3rem;
}
.closing__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.closing__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.closing__brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
}
.closing__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--fg-muted);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 4px solid var(--accent);
  background: var(--fg);
  color: #a0a098;
  padding: 2rem 3rem;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg);
  margin-right: 1.5rem;
}
.footer__copy { font-size: 0.8rem; }
.footer__note {
  font-size: 0.75rem;
  font-style: italic;
  color: #6a6a6a;
}

/* ===== SUBSCRIBE CTA ===== */
.closing__subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.1s;
}
.closing__subscribe-btn:hover { background: var(--accent-light); }
.closing__subscribe-btn:active { transform: scale(0.98); }
.closing__subscribe-btn svg { stroke: currentColor; }

.masthead__subscribe-btn {
  padding: 0.45rem 1.1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s;
}
.masthead__subscribe-btn:hover { background: var(--accent-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 1.5rem; }
  .features__grid { grid-template-columns: 1fr; }
  .feature-card { border-right: none !important; }
  .feature-card:nth-child(odd) { border-bottom: 1px solid var(--border); }
  .outcomes__grid { grid-template-columns: repeat(2, 1fr); }
  .outcome { border-right: none; border-bottom: 1px solid rgba(250,247,242,0.15); }
  .outcomes__grid .outcome:nth-child(3), .outcomes__grid .outcome:nth-child(4) { border-bottom: none; }
  .masthead__inner { padding: 1rem 1.5rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .outcomes__grid { grid-template-columns: 1fr; }
  .outcomes__grid .outcome { border-bottom: 1px solid rgba(250,247,242,0.15); }
  .outcomes__grid .outcome:last-child { border-bottom: none; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); }
  .manifesto { padding: 3rem 1.5rem; }
  .features { padding: 3rem 1.5rem; }
  .closing { padding: 3rem 1.5rem; }
  .manifesto__quote { font-size: 1.2rem; }
}