/* ─── Variables ─── */
:root {
  --bg: #0D0D0D;
  --bg-card: #131313;
  --bg-card-hover: #1a1a1a;
  --fg: #F5F0E8;
  --fg-muted: rgba(245, 240, 232, 0.5);
  --fg-faint: rgba(245, 240, 232, 0.25);
  --accent: #FF4D1C;
  --accent-glow: rgba(255, 77, 28, 0.15);
  --border: rgba(245, 240, 232, 0.08);
  --border-hover: rgba(245, 240, 232, 0.15);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 6px;
  --section-pad: clamp(5rem, 10vw, 8rem);
}

/* ─── Reset ─── */
*, *::before, *::after { 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;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.header-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ─── Hero ─── */
.hero {
  padding: var(--section-pad) 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 460px;
  line-height: 1.7;
}

/* Content Calendar Widget */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.content-calendar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  width: 100%;
  font-size: 0.875rem;
}

.cal-header {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.cal-row {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.cal-row:last-child { border-bottom: none; }

.cal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cal-label {
  color: var(--fg-muted);
  font-size: 0.8rem;
}

.cal-status {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: right;
}

.cal-sep {
  border-top: 1px solid var(--border);
  margin: 0.5rem 0;
}

.hero-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

/* ─── Problem ─── */
.problem {
  padding: var(--section-pad) 2rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.problem-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 2rem;
}

.problem-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--fg-muted);
  margin-bottom: 0;
}

.problem-statement--highlight {
  color: var(--fg);
}

.problem-divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 3rem auto;
}

/* ─── How It Works ─── */
.how-it-works {
  padding: var(--section-pad) 2rem;
}

.hiw-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hiw-label, .feat-label, .manifesto-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 3rem;
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.hiw-step {
  padding: 3rem 2.5rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
}

.hiw-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--fg-faint);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 2rem;
}

.hiw-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--fg);
}

.hiw-desc {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ─── Features ─── */
.features {
  padding: var(--section-pad) 2rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.feat-card {
  padding: 2.5rem 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.feat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.feat-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-glow);
  border: 1px solid rgba(255, 77, 28, 0.3);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.feat-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.feat-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ─── Manifesto ─── */
.manifesto {
  padding: var(--section-pad) 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

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

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 2rem;
  font-style: italic;
}

.manifesto-attribution {
  font-size: 0.875rem;
  color: var(--fg-faint);
  letter-spacing: 0.04em;
}

/* ─── Closing ─── */
.closing {
  padding: var(--section-pad) 2rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  text-align: center;
}

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

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

/* ─── Footer ─── */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--fg-faint);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-right {
    display: none;
  }
  .hiw-steps {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .feat-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero, .problem, .how-it-works, .features, .manifesto, .closing {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .site-header {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}