:root {
  --bg: #fffdf9;
  --surface: #ffffff;
  --tint: #f0f9ff;
  --border: #cbd5e1;
  --text: #0f172a;
  --muted: #475569;
  --blue: #1d4ed8;
  --blue-dark: #1e40af;
  --green: #059669;
  --scale: 1;
}
* { box-sizing: border-box; }
html { font-size: calc(17px * var(--scale)); scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 20px; }
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 249, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--text); }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 16px; font-size: 0.9rem; font-weight: 600; flex-wrap: wrap; }
.text-scaler { display: inline-flex; gap: 4px; background: #e2e8f0; padding: 3px; border-radius: 8px; }
.text-scaler button { border: none; background: transparent; padding: 4px 8px; border-radius: 6px; font-weight: 700; cursor: pointer; font-size: 0.8rem; color: #334155; }
.text-scaler button.active { background: #fff; color: var(--blue); }
.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 55%, #fffbeb 100%);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
}
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.02em; }
.lead { font-size: 1.06rem; color: #334155; max-width: 720px; margin: 0 0 22px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 0.95rem; border: none; cursor: pointer; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); text-decoration: none; }
.btn-outline { background: #fff; color: var(--text); border: 1.5px solid #94a3b8; }
.btn-danger { background: #dc2626; color: #fff; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; margin: 20px 0; box-shadow: 0 2px 10px rgba(15,23,42,0.04); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 18px 0; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 800; margin-bottom: 8px; }
.pill.red { background: #fee2e2; color: #991b1b; }
.pill.purple { background: #f3e8ff; color: #6b21a8; }
.pill.amber { background: #fef3c7; color: #92400e; }
.pill.green { background: #d1fae5; color: #065f46; }
textarea, input[type="text"] { width: 100%; background: #fff; color: var(--text); border: 1.5px solid #94a3b8; border-radius: 10px; padding: 12px; font-size: 0.95rem; font-family: inherit; }
.samples { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.chip { background: #eff6ff; color: var(--blue-dark); border: 1px solid #bfdbfe; border-radius: 999px; padding: 6px 12px; font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.nutrition { background: #fff; color: #0f172a; border: 3px solid #0f172a; border-radius: 10px; padding: 16px; margin-top: 14px; }
.nutrition h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 900; border-bottom: 6px solid #0f172a; padding-bottom: 6px; }
.codeword-card { border: 2px dashed var(--blue); background: #eff6ff; border-radius: 12px; padding: 18px; margin-top: 12px; }
.hidden { display: none; }
.muted { color: var(--muted); font-size: 0.88rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 11px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--blue-dark); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .04em; }
footer { border-top: 1px solid var(--border); background: #f8fafc; padding: 28px 0 44px; margin-top: 40px; font-size: 0.86rem; color: var(--muted); }
@media print {
  header, footer, .no-print { display: none !important; }
  .print-only-card { border: 3px solid #000 !important; box-shadow: none !important; }
}
