:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE6D8;
  --navy: #1A2744;
  --navy-light: #2A3A5C;
  --terracotta: #E8623A;
  --terracotta-dark: #C94E28;
  --terracotta-light: rgba(232,98,58,0.12);
  --sand: #D4BFAA;
  --text: #1A2744;
  --text-muted: #5A6A7E;
  --white: #FFFFFF;
}

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

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--cream);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(232,98,58,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.path-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(232,98,58,0.15), transparent);
  height: 1.5px;
  transform-origin: left center;
}

.path-line-1 {
  top: 30%;
  left: 45%;
  width: 55%;
  transform: rotate(-8deg);
}

.path-line-2 {
  top: 50%;
  left: 40%;
  width: 60%;
  transform: rotate(-4deg);
}

.path-line-3 {
  top: 70%;
  left: 50%;
  width: 50%;
  transform: rotate(2deg);
}

/* Diagonal grid accent */
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(232,98,58,0.04) 40px,
      rgba(232,98,58,0.04) 41px
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px 80px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,98,58,0.1);
  border: 1px solid rgba(232,98,58,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--terracotta-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-headline {
  font-family: 'Bitter', Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: normal;
  color: var(--terracotta);
}

.hero-lede {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-num {
  font-family: 'Bitter', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.trust-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--sand);
}

/* ─── CALC FEATURE ─── */
.calc-feature {
  background: var(--white);
  padding: 100px 48px;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-headline {
  font-family: 'Bitter', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 64px;
}

.calc-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.calc-step {
  position: relative;
}

.step-number {
  position: absolute;
  top: -12px;
  left: 0;
  font-family: 'Bitter', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  background: var(--terracotta);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  margin-bottom: 20px;
  margin-top: 12px;
}

.step-title {
  font-family: 'Bitter', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.calc-output {
  display: flex;
  justify-content: center;
}

.output-card {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  border: 1.5px solid rgba(232,98,58,0.2);
  border-radius: 16px;
  padding: 32px 40px;
  max-width: 600px;
  width: 100%;
}

.output-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 16px;
}

.output-items {
  display: grid;
  gap: 12px;
}

.output-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
}

/* ─── OUTCOMES ─── */
.outcomes {
  background: var(--navy);
  padding: 100px 48px;
}

.outcomes .section-headline,
.outcomes .section-label {
  color: var(--cream);
}

.outcomes .section-label { color: var(--terracotta); }

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

.outcome-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s, background 0.2s;
}

.outcome-card:hover {
  border-color: rgba(232,98,58,0.5);
  background: rgba(232,98,58,0.05);
}

.outcome-card-primary {
  background: rgba(232,98,58,0.12);
  border-color: rgba(232,98,58,0.4);
  grid-column: span 2;
}

.outcome-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 16px;
}

.outcome-numbers {
  display: flex;
  gap: 32px;
  margin-bottom: 16px;
}

.outcome-budget, .outcome-income {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.budget-label, .income-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}

.budget-value {
  font-family: 'Bitter', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cream);
}

.income-value {
  font-family: 'Bitter', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--terracotta);
}

.outcome-detail {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ─── MANIFESTO ─── */
.manifesto {
  background: var(--cream);
  padding: 100px 48px;
}

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

.manifesto-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 24px;
}

.manifesto-quote {
  font-family: 'Bitter', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 56px;
  padding-left: 24px;
  border-left: 4px solid var(--terracotta);
  font-style: normal;
}

.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Bitter', serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.manifesto-close {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--navy);
  padding: 64px 48px 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-text {
  font-family: 'Bitter', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  align-self: end;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  grid-column: span 2;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero-inner { padding: 64px 24px 64px; }
  .hero-trust { gap: 16px; }
  .calc-steps { grid-template-columns: 1fr; gap: 40px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcome-card-primary { grid-column: span 1; }
  .manifesto-stats { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { grid-column: span 1; }
  .calc-feature, .outcomes, .manifesto, .footer { padding: 64px 24px; }
  .section-headline { margin-bottom: 40px; }
  .output-card { padding: 24px; }
  .outcome-numbers { gap: 20px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.8rem; }
  .trust-divider { display: none; }
  .hero-trust { flex-direction: column; align-items: flex-start; }
}