/* WhamFood marketing site styles. Self-contained, no Tailwind. Uses the
 * same brand tokens as the Mini App so the visual identity stays cohesive
 * for users who land on whamfood.com after using the bot. */

:root {
  --brand-50: #FFF7ED;
  --brand-100: #FFEDD5;
  --brand-200: #FED7AA;
  --brand-500: #C2410C;
  --brand-700: #9A3412;
  --brand-800: #7C2D12;
  --leaf-500: #059669;
  --bg: #FFFBEB;
  --card: #FFFFFF;
  --fg: #0F172A;
  --muted: #FAF5EE;
  --muted-fg: #64748B;
  --border: #F2E6E2;
  --max-width: 64rem;
}

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

html {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: 'Newsreader', ui-serif, Georgia, serif;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--brand-800);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.15; margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--fg); }

p { color: var(--fg); }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Navigation ---- */
nav {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 251, 235, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
nav .container { display: flex; align-items: center; justify-content: space-between; }
nav .brand {
  font-family: 'Newsreader', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-800);
  letter-spacing: -0.02em;
}
nav .brand .dot {
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  background: var(--leaf-500);
  border-radius: 999px;
  margin: 0 0.05em 0.15em 0;
  vertical-align: middle;
}
nav ul { list-style: none; display: flex; gap: 2rem; }
nav a { color: var(--fg); font-weight: 500; font-size: 0.95rem; }
nav a:hover { color: var(--brand-700); text-decoration: none; }

/* ---- Hero ---- */
.hero { padding: 4rem 0 3rem; }
.hero .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-700);
  margin-bottom: 1rem;
}
.hero p.lede {
  font-size: 1.25rem;
  color: var(--muted-fg);
  margin-top: 1.5rem;
  max-width: 38rem;
  line-height: 1.5;
}
.hero .actions { margin-top: 2rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 120ms ease-out, box-shadow 120ms ease-out;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand-700); color: white; }
.btn-primary:hover { background: var(--brand-800); }
.btn-ghost { background: transparent; color: var(--brand-700); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--card); }

/* ---- Sections ---- */
section { padding: 4rem 0; }
section.muted { background: var(--muted); }

/* ---- Features ---- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.feature .icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-100);
  color: var(--brand-700);
  border-radius: 12px;
  margin-bottom: 1rem;
}
.feature p { color: var(--muted-fg); font-size: 0.95rem; }

/* ---- How it works ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.step { padding: 1rem 0; }
.step .num {
  font-family: 'Newsreader', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-200);
  line-height: 1;
}
.step h3 { margin-top: 0.5rem; }
.step p { color: var(--muted-fg); font-size: 0.95rem; }

/* ---- CTA strip ---- */
.cta {
  text-align: center;
  background: var(--brand-700);
  color: white;
  padding: 4rem 0;
}
.cta h2 { color: white; }
.cta p { color: rgba(255, 255, 255, 0.85); max-width: 36rem; margin: 1rem auto 2rem; }
.cta .btn-primary { background: white; color: var(--brand-700); }
.cta .btn-primary:hover { background: var(--brand-100); }

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  color: var(--muted-fg);
  font-size: 0.9rem;
}
footer .container { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; }
footer .links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
footer a { color: var(--muted-fg); }
footer a:hover { color: var(--brand-700); text-decoration: underline; }

/* ---- Legal pages ---- */
.legal { padding: 3rem 0 5rem; }
.legal .container { max-width: 44rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.legal .updated { color: var(--muted-fg); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: 0.75rem; color: var(--fg); }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal p, .legal li { font-size: 1rem; line-height: 1.7; color: var(--fg); margin-bottom: 1rem; }
.legal ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal a { color: var(--brand-700); }
.legal strong { font-weight: 600; }

/* ---- Responsive tweaks ---- */
@media (max-width: 600px) {
  nav ul { display: none; }
  .hero { padding: 3rem 0 2rem; }
  section { padding: 3rem 0; }
}
