/* ============================================
   MINDFRAME — COACHING AI LANDING PAGE
   Theme: Editorial warmth, human intelligence
   ============================================ */

/* === TOKENS === */
:root {
  --bg: #FAF7F2;
  --bg-alt: #F0EBE3;
  --fg: #0F1923;
  --fg-muted: #6B7280;
  --accent: #C84B31;
  --accent-warm: #D4853A;
  --accent-light: #F5E6D3;
  --navy: #1A2740;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;
  --max-w: 1200px;
  --radius: 4px;
}

/* === 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(--sans);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid rgba(15,25,35,0.08);
  background: rgba(250,247,242,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.tagline {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* === SECTION LABELS === */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(212,133,58,0.12) 0%, transparent 70%);
}
.hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(15,25,35,0.04) 79px,
      rgba(15,25,35,0.04) 80px
    );
}
.hero-content {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.hero-accent-bar {
  width: 3px;
  height: 5rem;
  background: var(--accent);
  margin-bottom: 2rem;
}
.hero-text { max-width: 680px; }
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 1.75rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}
.hero-aside {
  flex-shrink: 0;
}
.hero-stat-block {
  background: var(--navy);
  color: #fff;
  padding: 2rem 2.5rem;
  text-align: center;
  border-radius: var(--radius);
  min-width: 160px;
}
.stat-number {
  display: block;
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent-warm);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg-muted);
}
.scroll-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--navy);
  padding: var(--space-xl) 2rem;
}
.manifesto-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.manifesto .section-label { color: var(--accent-warm); }
.manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-style: italic;
  color: #fff;
  line-height: 1.3;
  max-width: 780px;
  margin-bottom: 2rem;
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
}
.manifesto-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.manifesto-body em { color: #fff; font-style: italic; }
.manifesto-body.secondary { color: rgba(255,255,255,0.55); }
.manifesto-body strong { color: var(--accent-warm); font-weight: 600; }
.manifesto-divider {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 2.5rem 0;
}

/* === HOW IT WORKS === */
.how-it-works {
  padding: var(--space-xl) 2rem;
  background: var(--bg);
}
.hiw-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.hiw-heading {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  max-width: 520px;
  margin-bottom: var(--space-lg);
}
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.hiw-step {
  position: relative;
  padding-top: 3rem;
}
.step-number {
  position: absolute;
  top: 0;
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.step-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.step-desc {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === OUTCOMES === */
.outcomes {
  padding: var(--space-xl) 2rem;
  background: var(--bg-alt);
}
.outcomes-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 4rem;
  margin-top: 0.5rem;
}
.outcome-item {
  padding: 2rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid rgba(15,25,35,0.06);
}
.outcome-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}
.outcome-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}
.outcome-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === CLOSING === */
.closing-section {
  padding: var(--space-xl) 2rem;
  background: var(--navy);
  text-align: center;
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
}
.closing-headline {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 2rem;
}
.closing-headline em {
  font-style: italic;
  color: var(--accent-warm);
}
.closing-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}
.closing-statement {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.45);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === FOOTER === */
.site-footer {
  padding: 3rem 2rem;
  background: #0A1220;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.footer-wordmark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-links {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.06em;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-aside { display: none; }
  .hiw-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .outcomes-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: 7rem 1.25rem 4rem; }
  .hero-headline { font-size: 2.4rem; }
  .manifesto, .how-it-works, .outcomes, .closing-section { padding: 4rem 1.25rem; }
  .manifesto-quote { font-size: 1.35rem; padding-left: 1.25rem; }
  .outcome-item { padding: 1.25rem; }
}