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

:root {
  --cream:      #FBF6EF;
  --surface:    #FFFFFF;
  --surface-2:  #F3EBE0;
  --ink:        #2E2A24;
  --muted:     #1f1d1b;
  --terracotta: #E8734A;
  --terracotta-dim: rgba(232,115,74,0.12);
  --sage:       #6F9271;
  --sage-dim:   rgba(64, 138, 69, 0.35);
  --amber-flag: #D89A3E;
  --amber-flag-dim: rgba(216,154,62,0.14);
  --radius:     16px;
  --radius-lg:  22px;
  --max-width:  1080px;
  --border:     rgba(46,42,36,0.09);
  --border-md:  rgba(46,42,36,0.16);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Nunito', sans-serif;
  font-size: 15.5px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main { flex: 1; display: flex; flex-direction: column; }
a { color: inherit; }
h1, h2, h3, .heading-font { font-family: 'Quicksand', sans-serif; }

/* ── MINIMAL HEADER — app-like, not marketing-page-like ── */
header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.logo {
  font-family: 'Quicksand', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: -0.3px;
  text-decoration: none;
}

.header-right { display: flex; align-items: center; gap: 24px; }

/* Desktop nav — visible by default */
.desktop-nav { display: flex; align-items: center; gap: 22px; }
.desktop-nav a {
  font-size: 14px; font-weight: 600; color: var(--muted);
  text-decoration: none; border-bottom: 2px solid transparent; padding: 3px 0;
  transition: color 0.2s;
}
.desktop-nav a:hover { color: var(--ink); }
.desktop-nav a.active { color: var(--terracotta); border-bottom-color: var(--terracotta); }

.menu-btn {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: 12px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}
.menu-btn svg { width: 18px; height: 18px; }

.menu-panel {
  position: absolute;
  top: 62px;
  right: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(46,42,36,0.1);
  z-index: 20;
  min-width: 140px;
}
.menu-panel.open { display: flex; }
.menu-panel a {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.menu-panel a:hover { background: var(--surface-2); }
.menu-panel a.active { color: var(--terracotta); }

/* Mobile — swap nav for hamburger */
@media (max-width: 640px) {
  .desktop-nav { display: none; }
  .menu-btn { display: flex; }
}

.safety-badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--sage); background: var(--sage-dim); border: 1px solid rgba(111,146,113,0.3);
  padding: 4px 10px; border-radius: 20px; white-space: nowrap;
}

footer {
  text-align: center;
  padding: 20px 20px 28px;
  font-size: 12px;
  color: var(--muted);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
footer strong { color: var(--ink); }
footer .footer-links { margin-top: 8px; display: flex; gap: 14px; justify-content: center; }
footer .footer-links a { color: var(--muted); font-size: 12px; text-decoration: none; }
footer .footer-links a:hover { color: var(--terracotta); }

.page-hero { max-width: var(--max-width); margin: 0 auto; padding: 32px 20px 20px; width: 100%; }
.page-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(24px, 5vw, 32px); font-weight: 700; letter-spacing: -0.4px; margin-bottom: 10px; }
.page-hero p.lead { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
button { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
