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

:root {
  --bg: #FAF9F6;
  --bg-warm: #F5F0E8;
  --fg: #1A1916;
  --fg-muted: #7A7670;
  --accent: #C4522A;
  --accent-warm: #E8876B;
  --sage: #8A9A7A;
  --sage-light: #C4CDB5;
  --border: #E2DDD6;
  --card: #FFFFFF;
}

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

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

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-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;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
  letter-spacing: 0.01em;
}

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

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(196, 82, 42, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-voice-preview {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px 10px 14px;
}

.voice-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg);
}

.voice-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.voice-line {
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  width: 48px;
  opacity: 0.6;
}

.voice-line--short { width: 32px; }

/* === HERO ILLUSTRATION === */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-illustration {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.email-stack {
  position: relative;
  width: 320px;
  height: 260px;
}

.email-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.email-card--back {
  width: 260px;
  top: 0;
  left: 0;
  opacity: 0.5;
  transform: rotate(-4deg);
}

.email-card--mid {
  width: 270px;
  top: 40px;
  left: 20px;
  opacity: 0.75;
  transform: rotate(1deg);
}

.email-card--front {
  width: 280px;
  top: 80px;
  left: 0;
  background: var(--card);
  border: 1.5px solid var(--accent);
  box-shadow: 0 8px 32px rgba(196,82,42,0.15);
}

.email-meta {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.email-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.email-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.email-from {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg);
}

.email-subject {
  font-size: 0.72rem;
  color: var(--fg-muted);
  font-style: italic;
}

.email-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.email-line {
  height: 6px;
  background: var(--border);
  border-radius: 4px;
}

.email-line.long { width: 90%; }
.email-line.medium { width: 65%; }
.email-line.short { width: 40%; }

.email-badge {
  position: absolute;
  bottom: -12px;
  right: 16px;
  background: var(--accent);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.arrow-connector {
  color: var(--sage);
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--fg);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
}

/* === PROBLEM === */
.problem {
  background: var(--fg);
  color: white;
  padding: 100px 32px;
}

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

.problem .section-label {
  color: var(--accent-warm);
}

.problem-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.problem-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin-bottom: 64px;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-col {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
}

.compare-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.compare-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-line {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}

.c-line--med { width: 70%; }
.c-line--short { width: 45%; }

.compare-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-icon.bad { background: rgba(255,80,80,0.2); color: #ff8080; }
.compare-icon.good { background: rgba(138,154,122,0.3); color: var(--sage-light); }

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

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.how-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 64px;
  line-height: 1.2;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 48px;
}

.step {
  padding: 0 40px;
}

.step-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

.step-body {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.step-divider {
  width: 1px;
  height: 160px;
  background: var(--border);
  align-self: center;
}

.klaviyo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--accent);
  color: white;
  padding: 100px 32px;
}

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

.manifesto-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 32px;
  opacity: 0.95;
}

.manifesto-body {
  font-size: 1rem;
  line-height: 1.75;
  opacity: 0.85;
  margin-bottom: 16px;
}

.manifesto-body em {
  font-style: normal;
  font-weight: 600;
  opacity: 1;
}

/* === VOICE === */
.voice-section {
  padding: 100px 32px;
  background: var(--bg-warm);
}

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

.voice-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
  line-height: 1.2;
}

.voice-example {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 20px;
  position: relative;
}

.voice-example--yours {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(196,82,42,0.1);
}

.example-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.example-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.example-score {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.example-score.generic { background: rgba(122,118,112,0.1); color: var(--fg-muted); }
.example-score.yours { background: rgba(196,82,42,0.1); color: var(--accent); }

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

.voice-example--yours .example-text {
  color: var(--fg);
  font-style: italic;
}

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

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

.closing-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.closing-headline em {
  font-style: italic;
  color: var(--accent);
}

.closing-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.closing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tag {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.78rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* === FOOTER === */
.footer {
  background: var(--fg);
  color: rgba(255,255,255,0.5);
  padding: 40px 32px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
}

.footer-tagline {
  font-size: 0.82rem;
}

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

.footer-link {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-link:hover { color: white; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-inner { padding: 14px 20px; }
  .nav-tagline { display: none; }

  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-right { order: -1; }
  .hero-illustration { transform: scale(0.85); transform-origin: center; }
  .hero-headline { font-size: 2.6rem; }
  .hero-sub { font-size: 1rem; }

  .problem { padding: 72px 20px; }
  .comparison { grid-template-columns: 1fr; }

  .how { padding: 72px 20px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step-divider { display: none; }
  .step { padding: 0; }

  .manifesto { padding: 72px 20px; }
  .manifesto-quote { font-size: 1.5rem; }

  .voice-section { padding: 72px 20px; }
  .example-header { flex-direction: column; align-items: flex-start; gap: 8px; }

  .closing { padding: 72px 20px 96px; }
  .closing-headline { font-size: 2rem; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* === SELECTION === */
::selection { background: var(--accent); color: white; }
