/* Mogul Meal IE — static directory styles */
:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e4e0d8;
  --accent: #0f6b4c;
  --accent-soft: #e6f3ed;
  --warn: #8a5a00;
  --warn-bg: #fff6e5;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.04);
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 1rem;
}
img { max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem 0; flex-wrap: wrap;
}
.logo {
  font-weight: 700; color: var(--ink); text-decoration: none;
  letter-spacing: -0.02em; font-size: 1.05rem;
}
.logo span { color: var(--accent); }
nav { display: flex; gap: .9rem; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

.hero {
  padding: 2.5rem 0 1.5rem;
}
.hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  line-height: 1.2; letter-spacing: -0.03em; margin: 0 0 .75rem;
}
.hero p.lead { font-size: 1.08rem; color: var(--muted); max-width: 42rem; margin: 0 0 1.25rem; }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.badge {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  border-radius: 999px; padding: .25rem .7rem; font-size: .82rem; font-weight: 600;
}

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem;
}
.card + .card { margin-top: 1rem; }

.note, .disclosure {
  background: var(--warn-bg); border: 1px solid #f0dfb4; color: #4d3500;
  border-radius: var(--radius); padding: 1rem 1.1rem; font-size: .92rem;
}
.disclosure { margin: 1.5rem 0; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
table.compare {
  width: 100%; border-collapse: collapse; min-width: 720px; font-size: .92rem;
}
table.compare th, table.compare td {
  padding: .75rem .85rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top;
}
table.compare th {
  background: #f0ede7; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .04em; color: var(--muted); white-space: nowrap;
}
table.compare tr:last-child td { border-bottom: 0; }
table.compare tr:hover td { background: #fbfaf8; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.yes { color: var(--accent); font-weight: 600; }
.no { color: #9a3412; font-weight: 600; }
.muted { color: var(--muted); }
.tiny { font-size: .82rem; color: var(--muted); }

.grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.product-card h2, .product-card h3 { margin: 0 0 .35rem; font-size: 1.05rem; letter-spacing: -0.02em; }
.product-card .meta { font-size: .88rem; color: var(--muted); margin-bottom: .75rem; }
.product-card .stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: .75rem 0 1rem;
}
.stat {
  background: var(--bg); border-radius: 8px; padding: .55rem .65rem;
}
.stat strong { display: block; font-size: 1.05rem; letter-spacing: -0.02em; }
.stat span { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }

.btn {
  display: inline-block; background: var(--accent); color: #fff !important;
  text-decoration: none !important; border-radius: 8px;
  padding: .55rem 1rem; font-weight: 600; font-size: .92rem;
  border: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.05); }
.btn.secondary {
  background: transparent; color: var(--accent) !important;
  border: 1px solid var(--accent);
}
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }

.product-hero { padding: 2rem 0 1rem; }
.product-hero h1 { margin: 0 0 .4rem; letter-spacing: -0.03em; }
.kv {
  display: grid; grid-template-columns: minmax(8rem, 11rem) 1fr;
  gap: .55rem 1rem; margin: 1.25rem 0;
}
.kv dt { color: var(--muted); font-size: .9rem; }
.kv dd { margin: 0; }

.sources {
  margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: .9rem;
}
.sources ul { margin: .4rem 0 0; padding-left: 1.1rem; }

.site-footer {
  margin-top: 3rem; padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem;
}
.site-footer a { color: var(--muted); }

h2.section { margin: 2rem 0 .75rem; letter-spacing: -0.02em; font-size: 1.35rem; }
ul.plain { padding-left: 1.15rem; }
ul.plain li { margin-bottom: .35rem; }

@media (max-width: 560px) {
  .kv { grid-template-columns: 1fr; gap: .15rem; }
  .kv dt { margin-top: .55rem; }
}

/* Student filter + picks */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem;
  margin: 0 0 .85rem;
}
.filter-label { font-size: .88rem; color: var(--muted); font-weight: 600; }
.filter-btn {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .3rem .85rem; font-size: .88rem; font-weight: 600;
  cursor: pointer; font-family: inherit;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.is-active {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
a.badge { text-decoration: none; }
a.badge:hover { filter: brightness(0.97); }
.student-note { font-size: .92rem; color: var(--muted); margin: 0 0 .75rem; }
.student-grid .product-card .stats { grid-template-columns: 1fr 1fr; }
.cta-band {
  margin: 2.5rem 0 1rem; padding: 1.25rem 1.35rem;
  background: var(--accent-soft); border-radius: var(--radius);
  border: 1px solid #cfe6db;
}
.cta-band h2 { margin: 0 0 .35rem; font-size: 1.15rem; letter-spacing: -0.02em; }
.cta-band p { margin: 0; color: var(--muted); }
table.compare tr[hidden] { display: none; }

/* Est. delivery */
.ship-stack { font-size: 0.8rem; line-height: 1.35; }
.ship-stack .ship-label {
  display: inline-block; min-width: 1.6rem; font-weight: 700;
  color: var(--muted, #64748b); font-size: 0.7rem; text-transform: uppercase;
}
.ship-cell { max-width: 14rem; }
.ship { font-size: 0.85rem; }
table.compare th:last-child, table.compare td.ship-cell { white-space: normal; }
