/* ============================================================
   Nourish — stylesheet
   ============================================================ */

:root {
  --cream: #FBF7F0;
  --cream-2: #F5EEE2;
  --ink: #1C2620;
  --ink-soft: #4A574F;
  --ink-faint: #7C8880;
  --green: #2F6B4F;
  --green-deep: #1B4432;
  --green-tint: #E7F0E9;
  --terracotta: #C4622D;
  --terracotta-tint: #FBEDE4;
  --gold: #D9A227;
  --line: #E2D8C8;
  --white: #FFFFFF;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(28, 38, 32, 0.06), 0 2px 8px rgba(28, 38, 32, 0.04);
  --shadow-md: 0 4px 12px rgba(28, 38, 32, 0.08), 0 12px 32px rgba(28, 38, 32, 0.06);
  --shadow-lg: 0 12px 48px rgba(28, 38, 32, 0.16);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0 0 1em; }
a { color: var(--green); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 240, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--green-deep);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #6FAE86, var(--green) 62%, var(--green-deep));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-family: var(--sans);
  font-weight: 700;
  box-shadow: inset 0 -2px 6px rgba(0,0,0,.18);
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .16s, color .16s;
}
.nav-links a:hover { background: var(--green-tint); color: var(--green-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 420px at 82% -8%, rgba(217, 162, 39, 0.16), transparent 62%),
    radial-gradient(620px 400px at 6% 108%, rgba(47, 107, 79, 0.13), transparent 60%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: var(--terracotta-tint);
  border: 1px solid rgba(196, 98, 45, 0.22);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  max-width: 17ch;
  margin-bottom: 20px;
  color: var(--green-deep);
}

.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-lede {
  font-size: 1.16rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .14s, box-shadow .18s, background .18s, border-color .18s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 10px rgba(47, 107, 79, 0.28);
}
.btn-primary:hover { background: var(--green-deep); box-shadow: 0 4px 18px rgba(47, 107, 79, 0.34); }

.btn-ghost {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--white); border-color: var(--green); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 720px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.66);
  padding: 20px 22px;
}
.hero-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--green-deep);
  line-height: 1.1;
  margin-bottom: 3px;
}
.hero-stat span {
  font-size: 0.82rem;
  color: var(--ink-faint);
  line-height: 1.35;
  display: block;
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--cream-2); }

.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  color: var(--green-deep);
  margin-bottom: 12px;
}
.section-head p { color: var(--ink-soft); font-size: 1.04rem; margin: 0; }

/* ---------- Controls ---------- */
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.search-field {
  position: relative;
  flex: 1 1 260px;
  max-width: 340px;
}
.search-field input {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.94rem;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color .16s, box-shadow .16s;
}
.search-field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 107, 79, 0.12);
}
.search-field svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  pointer-events: none;
}

.chips { display: flex; flex-wrap: wrap; gap: 7px; }

.chip {
  font-family: var(--sans);
  font-size: 0.83rem;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .16s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--green); color: var(--green-deep); }
.chip[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ---------- Nutrient grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  opacity: 0;
  transition: opacity .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #D3C7B2;
}
.card:hover::after { opacity: 1; }

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 1.32rem;
  color: var(--green-deep);
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: var(--terracotta-tint);
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.card-tagline {
  font-size: 0.9rem;
  color: var(--ink-faint);
  margin-bottom: 16px;
  line-height: 1.5;
}

.card-foods {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.card-foods li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.87rem;
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
}
.card-foods li:last-child { border-bottom: none; padding-bottom: 0; }
.card-foods b {
  color: var(--green-deep);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.card-more {
  background: none;
  border: none;
  border-top: 1px solid var(--line);
  padding: 14px 0 0;
  margin-top: auto;
  font-family: var(--sans);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .16s, color .16s;
}
.card-more:hover { gap: 11px; color: var(--green-deep); }

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-faint);
  font-size: 0.95rem;
}

/* ---------- Modal ---------- */
dialog.modal {
  border: none;
  padding: 0;
  border-radius: 20px;
  max-width: 720px;
  width: calc(100% - 32px);
  max-height: 88vh;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  overflow: hidden;
}
dialog.modal::backdrop {
  background: rgba(20, 30, 25, 0.5);
  backdrop-filter: blur(3px);
}

.modal-scroll {
  max-height: 88vh;
  overflow-y: auto;
  padding: 0 0 32px;
}

.modal-head {
  position: sticky;
  top: 0;
  background: var(--cream);
  padding: 26px 32px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  z-index: 2;
}
.modal-head h3 {
  font-size: 1.7rem;
  color: var(--green-deep);
  margin-bottom: 4px;
}
.modal-head p {
  font-size: 0.88rem;
  color: var(--ink-faint);
  margin: 0;
}

.modal-close {
  margin-left: auto;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .16s, color .16s;
}
.modal-close:hover { background: var(--green-tint); color: var(--green-deep); }

.modal-body { padding: 24px 32px 0; }

.modal-body h4 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 26px 0 10px;
}
.modal-body h4:first-child { margin-top: 0; }

.modal-body p { font-size: 0.95rem; color: var(--ink-soft); }

.modal-body ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.modal-body ul li { margin-bottom: 6px; }

.dose-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}
.dose-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.dose-item span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 5px;
}
.dose-item strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.4;
  display: block;
}

.food-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.food-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.food-table tr:last-child td { border-bottom: none; }
.food-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.food-table .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
}
.dot-heme { background: #B4443A; }
.dot-plant { background: var(--green); }
.dot-animal { background: #B4443A; }
.dot-fortified { background: var(--gold); }
.dot-dairy { background: #7A9CC6; }

.fix-box {
  background: var(--green-tint);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 18px;
  font-size: 0.94rem;
  color: var(--green-deep);
  line-height: 1.6;
}

/* ---------- Symptom checker ---------- */
.checker {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.checker-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.checker-panel h3 {
  font-size: 1.15rem;
  color: var(--green-deep);
  margin-bottom: 6px;
}
.checker-panel .hint {
  font-size: 0.86rem;
  color: var(--ink-faint);
  margin-bottom: 18px;
}

.symptom-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 460px;
  overflow-y: auto;
  padding-right: 6px;
  margin-right: -6px;
}

.symptom {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: background .14s, color .14s;
  line-height: 1.45;
}
.symptom:hover { background: var(--cream-2); }
.symptom input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #C9BCA6;
  border-radius: 5px;
  margin: 2px 0 0;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: all .14s;
  background: var(--white);
}
.symptom input:checked {
  background: var(--green);
  border-color: var(--green);
}
.symptom input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}
.symptom input:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.symptom:has(input:checked) { background: var(--green-tint); color: var(--green-deep); }

.results-panel {
  position: sticky;
  top: 88px;
}

.result-empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--ink-faint);
  font-size: 0.9rem;
  line-height: 1.6;
}

.result-list { display: flex; flex-direction: column; gap: 10px; }

.result-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .16s, transform .16s, box-shadow .16s;
  text-align: left;
  width: 100%;
  font-family: var(--sans);
}
.result-item:hover {
  border-color: var(--green);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}

.result-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.result-name {
  font-weight: 600;
  color: var(--green-deep);
  font-size: 0.98rem;
}
.result-count {
  font-size: 0.76rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bar {
  height: 5px;
  background: var(--cream-2);
  border-radius: 999px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transition: width .35s cubic-bezier(.4,0,.2,1);
}

.result-foods {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: 8px;
  line-height: 1.45;
}

.reset-btn {
  margin-top: 16px;
  width: 100%;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .16s;
}
.reset-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }

/* ---------- Meal plan ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 18px;
}

.day-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.day-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.day-head {
  padding: 18px 22px 16px;
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: #fff;
}
.day-head .day-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 3px;
}
.day-head h3 {
  font-size: 1.18rem;
  color: #fff;
}

.day-body { padding: 18px 22px 20px; flex: 1; display: flex; flex-direction: column; }

.meal {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.89rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.meal:last-of-type { border-bottom: none; }

.meal-label {
  flex-shrink: 0;
  width: 62px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--terracotta);
  padding-top: 3px;
}

.day-note {
  margin-top: 14px;
  padding: 11px 13px;
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
  font-style: italic;
}

.day-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}
.day-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--green-tint);
  color: var(--green-deep);
}

/* ---------- Shopping ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.shop-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.shop-card h3 {
  font-size: 1.02rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--green-deep);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-tint);
}
.shop-card ul { list-style: none; padding: 0; margin: 0; }
.shop-card li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.89rem;
  color: var(--ink-soft);
  padding: 5px 0;
  cursor: pointer;
  line-height: 1.45;
  transition: color .14s;
}
.shop-card li:hover { color: var(--green-deep); }
.shop-card li input {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border: 1.5px solid #C9BCA6;
  border-radius: 4px;
  margin: 3px 0 0;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  background: var(--white);
  transition: all .14s;
}
.shop-card li input:checked { background: var(--green); border-color: var(--green); }
.shop-card li input:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}
.shop-card li:has(input:checked) span {
  text-decoration: line-through;
  color: var(--ink-faint);
}

/* ---------- Supplements ---------- */
.supp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-item i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.dot-good { background: var(--green); }
.dot-neutral { background: var(--gold); }
.dot-caution { background: var(--terracotta); }
.dot-avoid { background: #9A3B3B; }

.supp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}

.supp-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--green);
  transition: box-shadow .18s, transform .18s;
}
.supp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.supp-card[data-verdict="neutral"] { border-top-color: var(--gold); }
.supp-card[data-verdict="caution"] { border-top-color: var(--terracotta); }
.supp-card[data-verdict="avoid"] { border-top-color: #9A3B3B; }

.supp-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.supp-head h3 {
  font-size: 1.2rem;
  color: var(--green-deep);
}
.supp-verdict {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--green-tint);
  color: var(--green-deep);
}
.supp-card[data-verdict="neutral"] .supp-verdict { background: #FBF2DC; color: #8A6410; }
.supp-card[data-verdict="caution"] .supp-verdict { background: var(--terracotta-tint); color: #8F4419; }
.supp-card[data-verdict="avoid"] .supp-verdict { background: #F6E4E4; color: #7E2E2E; }

.supp-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.87rem;
  line-height: 1.5;
}
.supp-row:last-of-type { border-bottom: none; }
.supp-row dt {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 3px;
}
.supp-row dd {
  margin: 0;
  color: var(--ink-soft);
}
.supp-row dd strong { color: var(--green-deep); font-weight: 600; }

.supp-watch {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.supp-watch b {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 4px;
}

.supp-note {
  margin-top: 12px;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-faint);
  line-height: 1.55;
}

/* ---------- Callout ---------- */
.callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--terracotta-tint);
  border: 1px solid rgba(196, 98, 45, 0.24);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-top: 40px;
}
.callout-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--serif);
  margin-top: 1px;
}
.callout p {
  margin: 0;
  font-size: 0.9rem;
  color: #7A3D19;
  line-height: 1.6;
}
.callout strong { color: #5E2E12; }

/* ---------- Footer ---------- */
.footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 52px 0 40px;
  font-size: 0.87rem;
}
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer p { margin: 0; max-width: 46ch; line-height: 1.65; }
.footer-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .checker { grid-template-columns: 1fr; }
  .results-panel { position: static; }
  .symptom-list { max-height: 340px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 56px 0 52px; }
  .section { padding: 56px 0; }
  .nav-inner { gap: 14px; height: 60px; }
  .nav-links a { padding: 7px 10px; font-size: 0.84rem; }
  .brand span.brand-text { display: none; }
  .grid, .plan-grid, .shop-grid, .supp-grid { grid-template-columns: 1fr; }
  .supp-row { grid-template-columns: 1fr; gap: 3px; }
  .supp-row dt { padding-top: 0; }
  .modal-head, .modal-body { padding-left: 20px; padding-right: 20px; }
  .dose-box { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .hero-actions, .controls, .card-more, .reset-btn, .footer, .checker { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .section { padding: 18px 0; break-inside: avoid; }
  .day-card, .shop-card, .card, .supp-card { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; }
  .day-head { background: #1B4432 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  a { text-decoration: none; color: inherit; }
}
