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

:root {
  --bg: #0d1117;
  --bg-card: #161b22;
  --bg-dim: #0d1117;
  --fg: #e6edf3;
  --fg-muted: #8b949e;
  --accent: #e8523a;
  --accent-dim: rgba(232, 82, 58, 0.15);
  --border: #30363d;
  --card-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(13,17,23,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; }
.nav-logo { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 32px 80px; }
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.hero-headline { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 24px; color: var(--fg); }
.hero-headline em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: 1.1rem; color: var(--fg-muted); line-height: 1.7; max-width: 440px; }

/* NEWSLETTER CARD */
.hero-card-wrap { display: flex; justify-content: center; }
.newsletter-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; width: 100%; max-width: 380px; box-shadow: var(--card-shadow); }
.card-meta { display: flex; gap: 6px; margin-bottom: 20px; }
.card-dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.card-issue-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 8px; }
.card-from { font-size: 0.75rem; color: var(--fg-muted); margin-bottom: 4px; }
.card-subject { font-size: 0.85rem; font-weight: 600; color: var(--fg); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.card-body { display: flex; flex-direction: column; gap: 14px; }
.card-story { padding: 10px; background: rgba(255,255,255,0.03); border-radius: 8px; border: 1px solid var(--border); }
.card-story-last { border-color: rgba(232,82,58,0.3); background: var(--accent-dim); }
.card-story-title { font-size: 0.8rem; font-weight: 600; color: var(--fg); margin-bottom: 3px; }
.card-story-excerpt { font-size: 0.7rem; color: var(--fg-muted); line-height: 1.4; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.card-sent-badge { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-dim); padding: 3px 8px; border-radius: 20px; }
.card-open-rate { font-size: 0.7rem; color: var(--fg-muted); }

/* HOW SECTION */
.how { padding: 120px 32px; background: linear-gradient(180deg, var(--bg) 0%, #0d1b1a 100%); }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-header { max-width: 600px; margin-bottom: 80px; }
.how-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 20px; }
.how-sub { font-size: 1.05rem; color: var(--fg-muted); line-height: 1.7; }
.how-steps { display: flex; flex-direction: column; gap: 0; }
.how-step { display: grid; grid-template-columns: 80px 1fr; gap: 40px; padding: 48px 0; border-top: 1px solid var(--border); align-items: start; }
.step-num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--accent); line-height: 1; margin-top: 4px; opacity: 0.8; }
.step-body h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.step-body p { color: var(--fg-muted); font-size: 0.95rem; line-height: 1.7; max-width: 500px; }

/* FEATURES */
.features { padding: 120px 32px; background: #0d1b1a; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 64px; max-width: 500px; line-height: 1.2; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.feature-item { padding: 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; }
.feature-icon { color: var(--accent); margin-bottom: 20px; }
.feature-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.feature-item p { color: var(--fg-muted); font-size: 0.9rem; line-height: 1.7; }

/* SCHEDULE */
.schedule { padding: 120px 32px; background: var(--bg); }
.schedule-inner { max-width: 1100px; margin: 0 auto; }
.schedule-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 32px; }
.schedule-visual { display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; }
.schedule-row { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; align-items: center; }
.day { font-size: 0.8rem; color: var(--fg-muted); }
.bar { height: 8px; border-radius: 4px; }
.bar-active { background: var(--accent); width: 60px; }
.bar-dim { background: var(--border); }
.event { font-size: 0.8rem; color: var(--accent); font-weight: 500; }
.schedule-caption { font-size: 0.9rem; color: var(--fg-muted); font-style: italic; font-family: var(--font-display); }

/* CLOSING */
.closing { padding: 120px 32px; background: linear-gradient(180deg, var(--bg) 0%, #1a0f0e 100%); }
.closing-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.closing-quote { font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem); font-style: italic; font-weight: 400; color: var(--fg); line-height: 1.4; margin-bottom: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }
.closing-sub { font-size: 1rem; color: var(--fg-muted); max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* FOOTER */
.footer { padding: 40px 32px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.footer-tagline { font-size: 0.8rem; color: var(--fg-muted); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 100px; }
  .hero-text { text-align: center; }
  .hero-sub { max-width: 100%; }
  .hero-card-wrap { order: -1; }
  .newsletter-card { max-width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .how-step { grid-template-columns: 60px 1fr; gap: 24px; }
  .step-num { font-size: 2rem; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding: 90px 20px 60px; }
  .how, .features, .schedule, .closing { padding: 80px 20px; }
}