/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:    #faf6f0;
  --warm:     #f5ece0;
  --brown:    #2A1E16;
  --mid:      #5c4f3d;
  --muted:    #8a7a6a;
  --green:    #1a7a4a;
  --green-lt: #e6f5ed;
  --gold:     #c4a247;
  --white:    #ffffff;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(42,30,22,.08);
  --shadow-lg:0 12px 48px rgba(42,30,22,.13);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--brown);
  background: var(--white);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.15;
  color: var(--brown);
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: .65rem 1.4rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s;
  text-decoration: none !important;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,122,74,.25);
}
.btn-primary:hover { background: #155f39; box-shadow: 0 4px 16px rgba(26,122,74,.35); }
.btn-ghost {
  color: var(--brown);
  border: 1.5px solid var(--brown);
  background: transparent;
}
.btn-ghost:hover { background: var(--warm); }
.btn-sm { font-size: .82rem; padding: .45rem 1rem; }
.btn-lg { font-size: 1.05rem; padding: .85rem 2rem; }

/* ── Screenshot placeholders ── */
/* These are replaced by real <img> tags once screenshots arrive */
.screenshot-placeholder {
  background: linear-gradient(135deg, var(--warm) 0%, var(--cream) 100%);
  border: 2px dashed #c4b8a8;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 2rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
  min-height: 180px;
}
.screenshot-placeholder span { font-size: 2rem; }
.screenshot-placeholder.tall { min-height: 380px; margin-top: 0; }
.screenshot-placeholder.phone {
  min-height: 480px;
  max-width: 260px;
  border-radius: 28px;
  margin: 0 auto;
}

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196,184,168,.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .9rem;
  padding-bottom: .9rem;
}
.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brown);
  text-decoration: none !important;
}
.nav-logo span { color: var(--green); }
.site-nav nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-nav nav a { font-size: .88rem; color: var(--mid); font-weight: 500; }
.site-nav nav a:hover { color: var(--brown); text-decoration: none; }

/* ── Hero ── */
.hero {
  background: var(--cream);
  padding: 5rem 0 4rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-lt);
  padding: .25rem .75rem;
  border-radius: 99px;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1.1rem;
}
.rotating-word {
  display: inline-block;
  color: var(--green);
}
.rotating-word--diet { color: var(--gold); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Strip ── */
.strip {
  background: var(--brown);
  padding: .9rem 0;
  overflow: hidden;
}
.strip-inner {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.strip span {
  color: var(--cream);
  font-size: .82rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ── Features ── */
.features { padding: 5rem 0; }
.feature-group-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2.5rem 0 1rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid rgba(196,184,168,.4);
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: .65rem;
}
.section-sub {
  text-align: center;
  color: var(--mid);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 3rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--cream);
  border: 1px solid rgba(196,184,168,.5);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow .18s;
}
.feature-card:hover { box-shadow: var(--shadow); }
.feature-icon { font-size: 1.8rem; margin-bottom: .75rem; }
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}
.feature-card p { font-size: .9rem; color: var(--mid); line-height: 1.6; }

/* ── Highlight ── */
.highlight {
  background: var(--brown);
  color: var(--cream);
  padding: 5rem 0;
}
.highlight-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.highlight .eyebrow { background: rgba(255,255,255,.12); color: #a8d8be; }
.highlight h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--cream);
  margin-bottom: 1rem;
}
.highlight p { color: rgba(250,246,240,.8); margin-bottom: 1.25rem; }
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: .35rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: rgba(250,246,240,.85);
  font-size: .92rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #5ecb91;
  font-weight: 600;
}
.highlight .screenshot-placeholder {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.2);
  color: rgba(250,246,240,.5);
}

/* ── How it works ── */
.how-it-works {
  background: var(--warm);
  padding: 5rem 0;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.step-num {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .85rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { font-size: .88rem; color: var(--mid); }
.step-arrow {
  color: var(--muted);
  font-size: 1.5rem;
  padding-top: 1.5rem;
  flex-shrink: 0;
}

/* ── CTA section ── */
.cta-section {
  background: var(--green);
  padding: 5rem 0;
  text-align: center;
}
.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .75rem;
}
.cta-inner p { color: rgba(255,255,255,.8); margin-bottom: 2rem; }
.cta-section .btn-primary {
  background: var(--white);
  color: var(--green);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.cta-section .btn-primary:hover { background: var(--cream); }

/* ── Footer ── */
.site-footer {
  background: var(--brown);
  padding: 2rem 0;
  color: rgba(250,246,240,.6);
  font-size: .85rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.site-footer .nav-logo { color: var(--cream); font-size: 1.1rem; }

/* ── Responsive ── */

/* Tablet — 2-col features */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  /* Nav */
  .site-nav nav a:not(.btn) { display: none; }

  /* Hero */
  .hero { padding: 2.5rem 0 2rem; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-visual img { max-height: 340px; width: 100%; object-fit: cover; object-position: top; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }

  /* Highlight */
  .highlight-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .highlight-visual { display: flex; justify-content: center; }
  .highlight-visual img { max-width: 220px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Steps */
  .step-arrow { display: none; }
  .steps { flex-direction: column; }

  /* Strip */
  .strip-inner { gap: 1.25rem; }
}
