:root {
  --bg: #faf7f2;
  --bg-dark: #1a1a1a;
  --fg: #1a1a1a;
  --fg-light: #faf7f2;
  --cream: #faf7f2;
  --cream-mid: #f0ebe1;
  --charcoal: #1a1a1a;
  --charcoal-mid: #2d2d2d;
  --tomato: #c0392b;
  --tomato-dark: #922b21;
  --amber: #e67e22;
  --amber-light: #f5d7a8;
  --sage: #6b8e6b;
  --muted: #6b6560;
  --border: #e0d9cf;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --font-accent: 'Commissioner', system-ui, sans-serif;
}

* { 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(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: rgba(250, 247, 242, 0.65);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cream); }

/* ─── HERO ─── */
.hero {
  background: var(--charcoal);
  color: var(--cream);
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(192, 57, 43, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-overline {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tomato);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(250, 247, 242, 0.7);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--tomato);
  color: white;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--tomato-dark); }
.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); }
.btn-ghost {
  color: rgba(250,247,242,0.6);
  font-size: 0.875rem;
  padding: 12px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hero visual */
.hero-visual { position: relative; }
.hero-card-stack { position: relative; height: 420px; }
.recipe-card-hero {
  position: absolute;
  width: 280px;
  background: var(--cream);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  color: var(--charcoal);
}
.recipe-card-hero:first-child {
  top: 20px;
  left: 0;
  z-index: 2;
}
.recipe-card-hero.card-float {
  top: 60px;
  right: 0;
  left: auto;
  z-index: 1;
  width: 250px;
}
.card-img-placeholder {
  height: 160px;
  background: linear-gradient(135deg, var(--amber-light) 0%, #e8c97a 50%, #c0392b33 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img-2 {
  background: linear-gradient(135deg, #c0392b22 0%, #e67e2266 100%);
}
.card-img-inner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.card-body { padding: 16px; }
.card-badge {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--charcoal);
  color: var(--cream);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.card-badge.badge-red { background: var(--tomato); }
.card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}
.card-meta {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.meta-sep { color: var(--border); }

/* ─── SECTIONS BASE ─── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section-label {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tomato);
  margin-bottom: 10px;
}
.section-label.light { color: var(--amber); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.section-title.light-title { color: var(--cream); }
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ─── CATEGORIES ─── */
.categories { background: var(--cream); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.cat-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cat-item:hover {
  border-color: var(--tomato);
  box-shadow: 0 4px 20px rgba(192,57,43,0.08);
}
.cat-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}
.cat-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.3;
}
.cat-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── REHAB ─── */
.rehab { background: var(--charcoal); }
.rehab-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.rehab-text { color: var(--cream); }
.rehab-title { color: var(--cream); }
.rehab-desc {
  font-size: 0.95rem;
  color: rgba(250,247,242,0.65);
  line-height: 1.75;
  margin-bottom: 16px;
}
.rehab-stat-row {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.rehab-stat { text-align: left; }
.rehab-stat-num {
  display: block;
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 900;
  color: var(--tomato);
  line-height: 1;
}
.rehab-stat-label {
  font-size: 0.75rem;
  color: rgba(250,247,242,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.rehab-cards { display: flex; flex-direction: column; gap: 16px; }
.rehab-card {
  background: var(--charcoal-mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 100px 1fr;
  transition: border-color 0.2s;
}
.rehab-card:hover { border-color: rgba(192,57,43,0.4); }
.rehab-card-img {
  background: linear-gradient(135deg, var(--amber-light) 30%, #d4a01760 100%);
  min-height: 120px;
}
.rehab-card-img-2 { background: linear-gradient(135deg, #c0392b22 30%, #e67e2266 100%); }
.rehab-card-img-3 { background: linear-gradient(135deg, #6b8e6b33 30%, #4a7a4a60 100%); }
.rehab-card-body { padding: 16px 20px; }
.rehab-card-tag {
  font-family: var(--font-accent);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tomato);
  display: block;
  margin-bottom: 6px;
}
.rehab-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 6px;
}
.rehab-card-desc {
  font-size: 0.8rem;
  color: rgba(250,247,242,0.55);
  line-height: 1.5;
  margin-bottom: 10px;
}
.rehab-card-meta { display: flex; gap: 8px; flex-wrap: wrap; }

/* ─── FLAVOR SECTION ─── */
.flavor-section { background: var(--cream-mid); }
.flavor-inner { padding: 80px 24px; }
.flavor-header { text-align: center; margin-bottom: 48px; }
.flavor-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.flavor-item {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: white;
}
.flavor-item:nth-child(3n) { border-right: none; }
.flavor-item:nth-child(n+4) { border-bottom: none; }
.flavor-num {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--tomato);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.flavor-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.3;
}
.flavor-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}
.flavor-cta {
  margin-top: 40px;
  text-align: center;
}
.flavor-cta-text {
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 400;
}
.flavor-cta-text strong { color: var(--tomato); }

/* ─── RECIPE GRID ─── */
.recipe-preview { background: var(--cream); }
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.recipe-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.recipe-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.recipe-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--amber-light) 0%, #d4a01760 50%, var(--tomato) 80%);
}
.rci-2 { background: linear-gradient(135deg, #c0392b22 0%, #922b2160 50%, #e67e2266 100%); }
.rci-3 { background: linear-gradient(135deg, #6b8e6b33 0%, #4a7a4a60 100%); }
.rci-4 { background: linear-gradient(135deg, #1a1a1a44 0%, #2d2d2d88 100%); }
.recipe-card-body { padding: 18px; }
.recipe-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.badge {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--charcoal);
  color: var(--cream);
  padding: 3px 8px;
  border-radius: 3px;
}
.badge.badge-red { background: var(--tomato); }
.badge.badge-blue { background: var(--sage); }
.badge.badge-outline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.recipe-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 8px;
}
.recipe-card-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.recipe-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.recipe-time { display: flex; gap: 10px; }
.time-item { font-size: 0.75rem; color: var(--muted); }
.time-item strong { color: var(--charcoal); font-weight: 600; }
.sodium-tag {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--tomato);
}

/* ─── SIGNUP ─── */
.signup-section {
  background: var(--charcoal);
  color: var(--cream);
}
.signup-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 24px;
}
.signup-guide {
  background: var(--charcoal-mid);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 36px;
}
.guide-icon { width: 60px; margin-bottom: 16px; }
.guide-label {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 10px;
}
.guide-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 12px;
}
.guide-desc {
  font-size: 0.875rem;
  color: rgba(250,247,242,0.6);
  line-height: 1.65;
  margin-bottom: 20px;
}
.guide-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.guide-perks li {
  font-size: 0.85rem;
  color: rgba(250,247,242,0.7);
  padding-left: 20px;
  position: relative;
}
.guide-perks li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--tomato);
  font-weight: 700;
}
.signup-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}
.signup-sub {
  font-size: 0.95rem;
  color: rgba(250,247,242,0.6);
  line-height: 1.65;
  margin-bottom: 28px;
}
.signup-form {}
.form-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: rgba(250,247,242,0.4);
  cursor: text;
  transition: border-color 0.2s;
}
.form-input:hover { border-color: rgba(255,255,255,0.3); }

/* ─── CLOSING ─── */
.closing-section { background: var(--cream-mid); padding: 80px 24px; }
.closing-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.closing-rule {
  width: 60px;
  height: 4px;
  background: var(--tomato);
  border-radius: 2px;
  margin: 0 auto 40px;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.closing-body {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.closing-tagline {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tomato);
  margin-top: 32px;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--charcoal);
  color: rgba(250,247,242,0.6);
  padding: 60px 24px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand { margin-bottom: 36px; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--cream);
  display: block;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(250,247,242,0.4);
}
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(250,247,242,0.5);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }
.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(250,247,242,0.3);
  line-height: 1.7;
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
}
.footer-bottom {
  font-size: 0.75rem;
  color: rgba(250,247,242,0.25);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .rehab-inner { grid-template-columns: 1fr; }
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
  .flavor-item:nth-child(3n) { border-right: 1px solid var(--border); }
  .flavor-item:nth-child(2n) { border-right: none; }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .signup-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 48px 20px 64px; }
  .nav-links { display: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .flavor-grid { grid-template-columns: 1fr; }
  .flavor-item { border-right: none; }
  .recipe-grid { grid-template-columns: 1fr; }
  .rehab-stat-row { gap: 16px; }
  .section-inner { padding: 56px 20px; }
  .flavor-inner { padding: 56px 20px; }
  .signup-inner { padding: 56px 20px; }
  .footer-nav { grid-template-columns: 1fr; }
  .closing-section { padding: 56px 20px; }
}