/* PureBite Nutrition — High-Speed Core Web Vitals Stylesheet */
:root {
  --primary: #15803d;
  --primary-hover: #166534;
  --primary-soft: #f0fdf4;
  --teal-soft: #f0fdfa;
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #475569;
  --border: #e2e8f0;
  --surface: #ffffff;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.brand-link { display: inline-flex; align-items: center; text-decoration: none !important; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0.45rem; }
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.93rem;
  padding: 0.42rem 0.72rem;
  border-radius: 8px;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-soft); }
.nav-links a.nav-cta {
  background: var(--primary);
  color: #ffffff !important;
  padding: 0.48rem 1rem;
}
.nav-links a.nav-cta:hover, .nav-links a.nav-cta.active { background: var(--primary-hover); }

.container { max-width: 1160px; margin: 0 auto; padding: 3.25rem 1.25rem; }
.narrow { max-width: 880px; margin: 0 auto; padding: 3rem 1.25rem; }

.hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #ccfbf1 100%);
  border-bottom: 1px solid #bbf7d0;
  padding: 4rem 1.25rem;
}
.hero-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-block;
  background: #dcfce7;
  color: #14532d;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  letter-spacing: 0.25px;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); color: var(--ink); line-height: 1.18; margin-bottom: 1rem; font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.8vw, 1.95rem); color: var(--ink); line-height: 1.25; margin: 2.2rem 0 0.85rem; font-weight: 800; }
h2:first-child { margin-top: 0; }
h3 { font-size: 1.18rem; color: #14532d; margin-bottom: 0.5rem; font-weight: 700; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 760px; margin: 0 auto 1.75rem; }

.btn-row { display: flex; justify-content: center; gap: 0.9rem; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.55rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-primary { background: var(--primary); color: #ffffff; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-outline { background: #ffffff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-soft); }

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: #ffffff !important;
  padding: 1rem 2.1rem;
  border-radius: 14px;
  border: 2px solid #16a34a;
  font-weight: 700;
  font-size: 1.12rem;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-play:hover { background: var(--primary); transform: translateY(-2px); }
.btn-play small { display: block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.65px; opacity: 0.9; text-align: left; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 1.4rem; margin-top: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); gap: 1.4rem; margin-top: 1.25rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
}
.card-soft { background: var(--primary-soft); border-color: #bbf7d0; }
.card-teal { background: var(--teal-soft); border-color: #99f6e4; }

.box {
  background: var(--primary-soft);
  border-left: 5px solid #16a34a;
  padding: 1.4rem 1.65rem;
  border-radius: 10px;
  margin: 1.6rem 0;
}

.table-wrap { overflow-x: auto; margin: 1.4rem 0; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { border: 1px solid var(--border); padding: 0.85rem 1rem; text-align: left; font-size: 0.95rem; }
th { background: var(--primary-soft); color: #14532d; font-weight: 700; }
tr:nth-child(even) td { background: #f8fafc; }

ul.list, ol.list { margin: 0.85rem 0 1.4rem 1.45rem; }
ul.list li, ol.list li { margin-bottom: 0.6rem; }

details.faq {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.05rem 1.25rem;
  margin-bottom: 0.8rem;
  background: #ffffff;
}
details.faq summary { font-weight: 700; cursor: pointer; color: var(--ink); }
details.faq p { margin-top: 0.7rem; margin-bottom: 0; color: var(--muted); }

.breadcrumb { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.1rem; }

.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 3rem 1.25rem 2rem;
  margin-top: 3.5rem;
}
.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem;
}
.site-footer h4 { color: #ffffff; font-size: 0.98rem; margin-bottom: 0.85rem; }
.site-footer a { color: #94a3b8; display: block; margin-bottom: 0.45rem; font-size: 0.92rem; }
.site-footer a:hover { color: #ffffff; }
.footer-bottom {
  max-width: 1160px;
  margin: 2rem auto 0;
  padding-top: 1.35rem;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 0.86rem;
  color: #94a3b8;
}
.adlv-credit {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.6rem;
}
