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

:root {
  --green: #16a34a;
  --green-dark: #15803d;
  --green-light: #dcfce7;
  --amber: #f59e0b;
  --red: #ef4444;
  --bg: #f8faf7;
  --bg-card: #ffffff;
  --text: #111111;
  --text-muted: #6b7280;
  --border: #e5e7eb;
}

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: 'Syne', system-ui, sans-serif;
  line-height: 1.15;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 250, 247, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}
.site-header nav {
  display: flex;
  gap: 32px;
}
.site-header nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.site-header nav a:hover { color: var(--text); }

/* Sections */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

/* Hero */
.hero {
  padding: 140px 24px 80px;
  background: var(--bg);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.overline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}
.lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-stat-row {
  display: flex;
  gap: 40px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}
.phone-frame {
  width: 280px;
  background: #111;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.08) inset;
  position: relative;
}
.phone-notch {
  width: 100px;
  height: 28px;
  background: #111;
  border-radius: 0 0 20px 20px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.phone-screen {
  background: #f8faf7;
  border-radius: 34px;
  padding: 48px 20px 24px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.phone-date { font-size: 0.75rem; color: #6b7280; font-weight: 500; }
.phone-cal { font-family: 'Syne', sans-serif; font-size: 0.9rem; font-weight: 700; color: #111; }
.meal-card {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.meal-img-placeholder {
  width: 72px;
  height: 72px;
  background: var(--green-light);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 1.4rem;
  color: var(--green);
}
.meal-img-placeholder span { font-size: 0.6rem; color: var(--green); font-weight: 600; }
.meal-macros { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.macro-row { display: flex; align-items: center; gap: 8px; }
.macro-dot { width: 8px; height: 8px; border-radius: 50%; }
.macro-name { font-size: 0.75rem; color: #6b7280; flex: 1; }
.macro-val { font-size: 0.8rem; font-weight: 600; color: #111; }
.cal-badge {
  display: inline-flex;
  align-items: center;
  background: var(--green);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  align-self: flex-start;
  margin-top: 4px;
}
.phone-bottom { margin-top: auto; }
.snap-btn {
  background: var(--green);
  color: #fff;
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* How it works */
.how-it-works {
  padding: 100px 24px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.how-it-works h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 56px;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-card { position: relative; }
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Features */
.features {
  padding: 100px 24px;
  background: var(--bg);
}
.features h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 56px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: box-shadow 0.2s;
}
.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.feature-card--large {
  grid-column: span 2;
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Closing */
.closing {
  padding: 100px 24px 120px;
  background: #111;
  color: #fff;
}
.closing-content { max-width: 640px; }
.closing-overline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.closing h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 1rem;
  color: #9ca3af;
  line-height: 1.7;
}

/* Footer */
footer {
  background: #111;
  border-top: 1px solid #222;
  padding: 0 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}
.footer-brand p { font-size: 0.8rem; color: #6b7280; }
.footer-links { display: flex; gap: 24px; align-items: center; }
.footer-links a { font-size: 0.85rem; color: #9ca3af; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid #222;
}
.footer-bottom p { font-size: 0.75rem; color: #4b5563; }

/* Responsive */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .phone-frame { width: 240px; }
  .steps-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }
  .hero-stat-row { gap: 24px; }
  .site-header nav { gap: 20px; }
  .footer-inner { flex-direction: column; gap: 24px; }
}