/* =====================
   VARIABLES & RESET
   ===================== */
:root {
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --charcoal: #1C1917;
  --charcoal-light: #44403C;
  --terracotta: #B45309;
  --terracotta-light: #D97706;
  --stone: #78716C;
  --stone-light: #A8A29E;
  --radius: 12px;
  --radius-sm: 8px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

/* =====================
   NAVIGATION
   ===================== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid rgba(28, 25, 23, 0.08);
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.875rem;
  color: var(--stone);
}

/* =====================
   HERO
   ===================== */
.hero {
  min-height: calc(100vh - 81px);
  display: flex;
  align-items: center;
  padding: 80px 48px;
  background: var(--cream);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-accent-bar {
  width: 48px;
  height: 4px;
  background: var(--terracotta);
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  max-width: 640px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--charcoal-light);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 56px;
}

.hero-visual {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 24px;
}

.ingredient-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ing-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid rgba(28, 25, 23, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  min-width: 180px;
}

.ing-icon {
  font-size: 1.2rem;
}

.ingredient-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-output {
  background: var(--charcoal);
  color: white;
  border-radius: var(--radius);
  padding: 28px;
  max-width: 360px;
  box-shadow: 0 20px 60px rgba(28, 25, 23, 0.15);
}

.recipe-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta-light);
  margin-bottom: 8px;
  font-weight: 600;
}

.recipe-title {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: white;
  margin-bottom: 6px;
}

.recipe-meta {
  font-size: 0.8rem;
  color: var(--stone-light);
  margin-bottom: 20px;
}

.recipe-steps-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.step-num {
  background: var(--terracotta);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =====================
   THE GAP
   ===================== */
.thegap {
  background: var(--cream-dark);
  padding: 100px 48px;
  border-top: 1px solid rgba(28, 25, 23, 0.06);
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

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

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

.gap-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  max-width: 640px;
  margin-bottom: 64px;
}

.gap-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
}

.comp-col {
  padding: 36px;
  border-radius: var(--radius);
}

.comp-old {
  background: white;
  border: 1px solid rgba(28, 25, 23, 0.1);
}

.comp-new {
  background: var(--charcoal);
  color: white;
}

.comp-header {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.comp-body p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
  color: inherit;
}

.comp-old .comp-body p { color: var(--charcoal-light); }
.comp-new .comp-body p { color: rgba(255,255,255,0.7); }

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comp-list li {
  font-size: 0.875rem;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.comp-old .comp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stone-light);
}

.comp-new .comp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta-light);
}

.comp-tag {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--stone-light);
  background: rgba(28, 25, 23, 0.06);
  padding: 6px 12px;
  border-radius: 4px;
}

.comp-tag-new {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--terracotta);
  padding: 6px 12px;
  border-radius: 4px;
}

.comp-divider {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--stone-light);
  align-self: center;
  padding-top: 60px;
}

/* =====================
   FEATURES
   ===================== */
.features {
  padding: 100px 48px;
  background: var(--cream);
}

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

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

.features-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  max-width: 500px;
  margin-bottom: 64px;
}

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

.feature-card {
  padding: 36px;
  background: white;
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: var(--radius);
  transition: box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(28, 25, 23, 0.08);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  line-height: 1.65;
}

/* =====================
   HOW IT WORKS
   ===================== */
.howitworks {
  padding: 100px 48px;
  background: var(--cream-dark);
  border-top: 1px solid rgba(28, 25, 23, 0.06);
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

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

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

.how-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  max-width: 520px;
  margin-bottom: 64px;
}

.step-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.flow-step {
  position: relative;
}

.flow-num {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--terracotta);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
}

.flow-connector {
  width: 100%;
  height: 1px;
  background: rgba(28, 25, 23, 0.1);
  margin-bottom: 20px;
}

.flow-step h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}

.flow-step p {
  font-size: 0.875rem;
  color: var(--charcoal-light);
  line-height: 1.65;
}

/* =====================
   CLOSING
   ===================== */
.closing {
  padding: 120px 48px;
  background: var(--cream);
}

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

.closing-rule {
  width: 48px;
  height: 3px;
  background: var(--terracotta);
  border-radius: 2px;
  margin: 0 auto 48px;
}

.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: 24px;
  font-style: italic;
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--charcoal-light);
  line-height: 1.7;
  margin-bottom: 48px;
}

.closing-vibe {
  display: flex;
  justify-content: center;
}

.vibe-tag {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--stone);
  border: 1px solid rgba(28, 25, 23, 0.15);
  border-radius: 100px;
  padding: 10px 24px;
  display: inline-block;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  border-top: 1px solid rgba(28, 25, 23, 0.08);
  padding: 40px 48px;
  background: var(--cream-dark);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--stone);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--stone-light);
  margin-top: 8px;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .step-flow { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 60px 24px; }
  .thegap { padding: 80px 24px; }
  .features { padding: 80px 24px; }
  .howitworks { padding: 80px 24px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 32px 24px; }

  .hero-visual { grid-template-columns: 1fr; gap: 32px; }
  .ingredient-arrow { transform: rotate(90deg); }
  .recipe-output { max-width: 100%; }
  .ingredient-cards { flex-direction: row; flex-wrap: wrap; }
  .ing-card { min-width: unset; }

  .gap-comparison { grid-template-columns: 1fr; }
  .comp-divider { padding: 0; text-align: center; }

  .step-flow { grid-template-columns: 1fr; }
  .flow-connector { display: none; }
}

@media (max-width: 480px) {
  .nav-tagline { display: none; }
  .hero-headline { font-size: 2rem; }
  .comp-col { padding: 24px; }
}