/* comealapp.com — New Palette + Inter design system from CoMeal mock-up
   (comeal_next/lib/design/tokens.dart: cream #FAF8F3, stone #F4F1EA,
    warm hairline #E6E1D6, ink sage #3B5844, soft sage #7E9A85,
    terracotta #C86D51 for person notes & highlights, charcoal #262A26). */

:root {
  --bg: #FAF8F3;
  --paper: #F4F1EA;
  --surface: #F4F1EA;
  --surface-muted: #E8E4DA;
  --white: #FFFFFF;
  --sage: #3B5844;
  --sage-dark: #2C4334;
  --sage-soft: #7E9A85;
  --sage-tint: rgba(59, 88, 68, 0.12);
  --warm: #C86D51;
  --warm-text: #9A4730;
  --warm-tint: #F9ECE7;
  --carb: #DECFA9;
  --ink: #262A26;
  --ink-panel: #1E2E24;
  --text-2: #363A36;
  --muted: #6F6B62;
  --faint: #8A857A;
  --line: #E6E1D6;
  --line-2: #D8D2C5;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --pad: clamp(18px, 4vw, 36px);
  --shadow-card: 0 1px 2px rgba(38, 42, 38, 0.04), 0 24px 48px -28px rgba(38, 42, 38, 0.16);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sage); text-underline-offset: 3px; }
a:hover { color: var(--sage-dark); }
button, input, select { font-family: inherit; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0 0 16px; text-wrap: pretty; }
[id] { scroll-margin-top: 84px; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip:focus { left: 8px; color: #fff; }

.eyebrow, .mock-eyebrow {
  margin: 0 0 10px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mock-eyebrow { color: var(--muted); font-size: 11px; margin-bottom: 6px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(250, 248, 243, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 50%; }
.site-header nav { display: flex; align-items: center; gap: 4px; }
.site-header nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.site-header nav a:hover { color: var(--ink); background: var(--paper); }
.site-header nav a.nav-join {
  margin-left: 8px;
  padding: 9px 18px;
  background: var(--sage);
  color: #fff;
  font-weight: 600;
}
.site-header nav a.nav-join:hover { background: var(--sage-dark); color: #fff; }

@media (max-width: 900px) { .hide-m { display: none; } }
@media (max-width: 640px) { .hide-s { display: none; } .site-header nav a { padding: 7px 10px; font-size: 13.5px; } }

/* Buttons (Pills, matching CoTokens.buttonRadius = 999) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--sage);
  color: #fff;
  text-decoration: none;
  font: 600 15px/1.2 var(--font);
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
}
.btn:hover { background: var(--sage-dark); color: #fff; }
.btn:active { transform: scale(0.98); }
.btn-ghost {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font-weight: 600;
}
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--muted); }
.btn-outline {
  border: 1.5px solid rgba(59, 88, 68, 0.35);
  background: var(--paper);
  color: var(--sage-dark);
  font-weight: 600;
}
.btn-outline:hover { background: var(--sage-tint); color: var(--sage-dark); border-color: var(--sage); }
.text-btn {
  background: transparent;
  border: 0;
  color: var(--sage);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 999px;
}
.text-btn:hover { background: var(--sage-tint); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.soon { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage-soft); }

/* Household Avatars (exact personColours from widgets.dart) */
.av {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.av-rohit { background: #52735A; }
.av-sam { background: #7A4E7E; }
.av-maya { background: #A4502F; }
.av-jo { background: #2D6A8A; }
.av-guest { background: #5B6472; }

/* Hero */
.hero { padding: clamp(28px, 4.5vw, 60px) 0 clamp(40px, 5vw, 68px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--muted); font-size: 13px; font-weight: 500; }
.badge b { padding: 4px 11px; border-radius: 999px; background: var(--sage-tint); color: var(--sage-dark); font-size: 12px; font-weight: 700; }
.hero h1 { font-size: clamp(40px, 4.8vw, 60px); line-height: 1.02; letter-spacing: -0.04em; }
.hero h1 span { color: var(--sage); }
.lead { max-width: 33em; margin: 18px 0 0; color: var(--muted); font-size: clamp(16.5px, 1.4vw, 18.5px); line-height: 1.55; }
.hero-steps-list {
  margin: 18px 0 0;
  padding: 14px 18px;
  list-style: none;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
  max-width: 500px;
}
.hero-steps-list b { color: var(--sage-dark); font-weight: 700; }
.hero-form { margin-top: 22px; }
.hero-form .signup { max-width: 470px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.hero-trust li { position: relative; padding-left: 14px; }
.hero-trust li::before { content: "•"; position: absolute; left: 0; color: var(--sage-soft); font-weight: 700; }

/* Hero 3-Phone Side-by-Side Trio */
.hero-grid-spread {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}
@media (max-width: 960px) {
  .hero-grid,
  .hero-grid-spread { grid-template-columns: minmax(0, 1fr); }
}
.hero-spread-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.3vw, 14px);
  width: 100%;
  max-width: 600px;
  align-items: start;
}
.trio-phone {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.trio-phone:hover,
.trio-phone.is-active {
  transform: translateY(-4px);
}
.trio-step-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
@media (max-width: 520px) {
  .trio-step-pill { font-size: 10px; padding: 3px 7px; }
}
.trio-phone.is-active .trio-step-pill,
.trio-phone:hover .trio-step-pill {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}
.trio-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14.6% / 6.95%;
  filter: drop-shadow(0 16px 24px rgba(38, 42, 38, 0.15));
}
.hero-trio-hint {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.stage-tabs {
  display: inline-flex;
  align-self: center;
  padding: 4px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  gap: 4px;
}
.stage-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.stage-tab.is-active { background: var(--sage); color: #fff; }
.stage-tab:hover:not(.is-active) { color: var(--ink); }

.phone {
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  filter: drop-shadow(0 24px 36px rgba(38, 42, 38, 0.16));
}
.story-phone { max-width: 290px; }
.phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14.6% / 6.95%;
  background: transparent;
  transition: opacity 0.16s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.phone img.is-swapping {
  opacity: 0.55;
  transform: scale(0.985);
}
.mock-phone {
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
  box-shadow: var(--shadow-card);
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.mock-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.mock-head img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; }
.mock-title { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }

.mock-card-muted {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.mock-people { margin: 8px 0 0; padding: 0; list-style: none; }
.mock-people li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.mock-people li:last-child { border-bottom: 0; padding-bottom: 2px; }
.mp-info { flex: 1 1 auto; min-width: 0; }
.mp-info b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.mp-info span { display: block; font-size: 12px; color: var(--muted); }
.mp-qty {
  flex: none;
  min-width: 34px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.mock-sum {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.mock-sum strong { color: var(--ink); }

/* Signature New Palette Person Note (border-left #C86D51) */
.mock-person-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--paper);
  border-left: 4px solid var(--warm);
}
.mock-person-note.is-rohit { border-left-color: var(--sage); }
.mock-person-note b { display: block; font-size: 13px; font-weight: 700; color: var(--warm-text); }
.mock-person-note.is-rohit b { color: var(--sage-dark); }
.mock-person-note p { margin: 2px 0 0; font-size: 13px; color: var(--ink); line-height: 1.4; }
.mock-cta { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 600; text-decoration: none; }

.mock-shot-wrap { text-align: center; }
.mock-shot-wrap img { max-width: 260px; margin: 0 auto; border-radius: 24px; box-shadow: 0 18px 36px -18px rgba(38, 42, 38, 0.28); }
.mock-shot-caption { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.mock-shot-caption b { color: var(--ink); }

/* Sections */
.section { padding: clamp(48px, 6vw, 80px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.paper { background: var(--paper); }
.section-head { max-width: 720px; }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.03em; }
.section-lead { max-width: 36em; margin: 14px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.all-link { font-size: 15px; font-weight: 600; text-decoration: none; }

/* Section 2: Sticky Scrollytelling 3-Step Flow */
.section.paper .stage-tabs { background: var(--bg); }
.chip-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.chip-btn:hover { border-color: var(--sage-soft); }
.chip-btn.is-active { background: var(--sage); border-color: var(--sage); color: #fff; }

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 32px clamp(28px, 5vw, 64px);
  align-items: start;
  margin-top: 36px;
}
.story-steps {
  display: grid;
  gap: 24px;
}
.story-step {
  padding: clamp(22px, 3vw, 30px);
  border-radius: 22px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.story-step.is-active {
  border-color: var(--sage);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.story-num {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--sage-dark);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.story-step.is-active .story-num { background: var(--sage); color: #fff; }
.story-step h3 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.18; margin-bottom: 10px; }
.story-step p { color: var(--muted); font-size: 15.5px; line-height: 1.58; margin-bottom: 14px; }
.story-bullets {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.48;
  color: var(--ink);
}
.story-bullets li {
  position: relative;
  padding-left: 16px;
}
.story-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}
.story-bullets b { color: var(--ink); font-weight: 600; }
.story-pills-wrap {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.story-pills-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.story-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }

.story-phone-rail {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.story-phone-caption {
  max-width: 320px;
  text-align: center;
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}
.story-phone-caption b { color: var(--ink); }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .story-phone-rail { position: static; order: -1; margin-bottom: 4px; }
  .story-phone { max-width: 260px; }
}

/* Section 3: Built for Real Households (#households) */
.persona-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.persona-pill {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.persona-pill:hover { border-color: var(--sage); }
.persona-pill.is-active { background: var(--sage); border-color: var(--sage); color: #fff; }

.persona-stage {
  margin-top: 20px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.ps-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.ps-head img {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  object-fit: cover;
  flex: none;
}
.ps-head h3 { font-size: clamp(20px, 2.3vw, 26px); line-height: 1.2; margin: 2px 0 4px; }
.ps-desc { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 52em; }

.ps-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 780px) { .ps-comparison { grid-template-columns: minmax(0, 1fr); } }
.ps-col {
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}
.ps-col.ps-table {
  border-left: 4px solid var(--warm);
}
.ps-col-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}
.ps-col-head span { font-size: 13px; font-weight: 700; color: var(--sage-dark); }
.ps-dish-name { margin: 0 0 8px; font-size: 13.5px; color: var(--muted); }
.ps-dish-name a { font-weight: 600; text-decoration: none; }
.ps-col p:last-child { margin-bottom: 0; }
.ps-col .plate-bar-shell { margin-top: 12px; }
.ps-shared-note {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.ps-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 20px;
}

/* Section 4: Clustered Playbooks & Recipes */
.clusters-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
@media (max-width: 820px) { .clusters-grid { grid-template-columns: minmax(0, 1fr); } }
.cluster-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.cluster-card h3 { font-size: 20px; margin-bottom: 6px; }
.cluster-sub { margin: 0 0 14px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.cluster-links { margin: 0 0 16px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cluster-links li a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.cluster-links li a span { flex: none; color: var(--sage); font-size: 12.5px; font-weight: 600; }
.cluster-links li a:hover { color: var(--sage); }
.cluster-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
}
.cluster-foot a { text-decoration: none; }
.featured-subhead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px 24px;
  margin-top: 44px;
}
.featured-subhead h3 { font-size: 22px; }
.recipe-grid.recipe-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 18px;
}

/* Unified Recipes & Playbooks Hub + Clustered Guides */
.hub-personas { margin-top: 22px; }
.hub-guides-strip {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 24px;
  align-items: center;
}
@media (max-width: 780px) { .hub-guides-strip { grid-template-columns: minmax(0, 1fr); } }
.hgs-copy .eyebrow { margin-bottom: 4px; }
.hgs-copy strong { font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.hgs-links {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 16px;
}
.hgs-links a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
}
.hgs-links a span { color: var(--sage); flex: none; font-size: 12px; }
.hgs-links a:hover { border-color: var(--sage); }

.filter-status-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  margin-top: 12px;
}
.filter-status-row .filter-status { margin: 0; }
.recipe-hero-cta { margin-top: 18px; }

.guide-cluster-block {
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.guide-cluster-block:first-child { padding-top: 0; margin-top: 24px; border-top: 0; }
.gc-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 24px;
}
.gc-head h2 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.15; }
.gc-sub { margin: 8px 0 0; color: var(--muted); max-width: 44em; font-size: 15.5px; }

/* Launch-list Plan & Grocery Unlock Modal */
.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
}
.pm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 46, 36, 0.56);
  backdrop-filter: blur(4px);
}
.pm-dialog {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(22px, 4vw, 32px);
  border-radius: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 32px 64px -20px rgba(30, 46, 36, 0.35);
}
.pm-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.pm-dialog h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 6px; padding-right: 36px; }
.pm-sub { margin: 0 0 16px; font-size: 14.5px; color: var(--muted); }
.pm-preview { display: grid; gap: 12px; margin-bottom: 18px; }
.pm-week, .pm-groceries {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.pm-week strong, .pm-groc-head strong { display: block; font-size: 13.5px; margin-bottom: 6px; }
.pm-week ul, .pm-groceries ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--text-2); display: grid; gap: 4px; }
.pm-groc-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.pm-groceries ul.pm-locked {
  filter: blur(4.5px);
  user-select: none;
  pointer-events: none;
}
.pm-lock-note { margin: 10px 0 0; font-size: 12.5px; color: var(--warm-text); font-weight: 600; }

/* Shared Plate Visuals & Timers */
.sim-goal-pill {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--white);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sim-goal-pill:hover { border-color: var(--sage); }
.sim-goal-pill.is-active { background: var(--sage); border-color: var(--sage); color: #fff; }
.plate-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.plate-stats small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.plate-stats strong { display: block; font-size: 18px; color: var(--ink); margin-top: 2px; }
.plate-bar-shell { background: var(--paper); border-radius: 999px; padding: 4px; overflow: hidden; }
.plate-bar {
  display: flex;
  gap: 3px;
  height: 28px;
  transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.plate-bar i {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 999px;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pb-veg { background: var(--sage-soft); }
.pb-pro { background: var(--sage); }
.pb-carb { background: var(--carb); color: var(--ink) !important; }
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.st-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--sage-tint);
  color: var(--sage-dark);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s;
}
.st-btn:hover { background: rgba(59, 88, 68, 0.22); }
.st-val { min-width: 44px; text-align: center; font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.timer-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
  background: var(--white);
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.timer-chip.is-running {
  border-color: var(--warm);
  background: var(--warm-tint);
  color: var(--warm-text);
}

/* Recipe Cards & Recipes Hub */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.recipe-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.recipe-card:hover {
  transform: translateY(-2px);
  border-color: var(--sage-soft);
  box-shadow: 0 16px 32px -24px rgba(38, 42, 38, 0.28);
  color: var(--ink);
}
.rc-img { position: relative; aspect-ratio: 4 / 3; background: var(--surface-muted); overflow: hidden; }
.rc-img img { width: 100%; height: 100%; object-fit: cover; }
.rc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(250, 248, 243, 0.92);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
}
.rc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1 1 auto; }
.rc-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.rc-meta span {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}
.recipe-card h3 { font-size: 16.5px; line-height: 1.3; margin-bottom: 8px; }
.rc-macros { margin: auto 0 0; font-size: 12.5px; font-weight: 600; color: var(--sage-dark); }

/* Recipes Index Filter Bar */
.filter-bar {
  margin-top: 28px;
  padding: 18px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.filter-search { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.filter-search input {
  flex: 1 1 280px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
}
.filter-search select {
  flex: 0 1 220px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  border-color: var(--sage-soft);
  background: var(--sage-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%232C4334' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center / 12px 8px;
  color: var(--sage-dark);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-status { margin: 12px 0 0; font-size: 13px; color: var(--muted); font-weight: 500; }
.load-more-wrap { margin-top: 28px; text-align: center; }

.az-directory {
  margin-top: 48px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.az-directory summary { font-weight: 600; cursor: pointer; color: var(--sage-dark); }
.az-directory ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 6px 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
}
.az-directory a { text-decoration: none; color: var(--ink); }
.az-directory a:hover { color: var(--sage); text-decoration: underline; }

/* Individual Recipe Page */
.recipe-page { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(56px, 8vw, 96px); }
.recipe-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-bottom: 36px;
}
.recipe-hero > *, .plate-panel-grid > *, .recipe-columns > * { min-width: 0; }
@media (max-width: 860px) { .recipe-hero { grid-template-columns: minmax(0, 1fr); } }
.recipe-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.recipe-hero h1 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; margin-bottom: 12px; }
.recipe-desc { font-size: 17px; color: var(--muted); margin-bottom: 20px; }
.recipe-quick-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.recipe-quick-facts div {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.recipe-quick-facts small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.recipe-quick-facts strong { font-size: 15.5px; }
.recipe-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-card); }

.plate-panel {
  padding: clamp(20px, 3vw, 28px);
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 36px;
}
.plate-panel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.plate-panel-head h2 { font-size: clamp(22px, 2.5vw, 30px); }
.plate-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.plate-panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; }
@media (max-width: 820px) { .plate-panel-grid { grid-template-columns: minmax(0, 1fr); } }

.plate-goal-result {
  padding: 18px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}
.rv-change { font-size: 16px; font-weight: 500; line-height: 1.5; margin: 10px 0 0; }
.rv-extra { margin: 10px 0 0; font-size: 13.5px; font-weight: 600; color: var(--sage-dark); }

.plate-swaps-col h3 { font-size: 16px; margin-bottom: 10px; }
.swap-grid { display: grid; gap: 10px; }
.swap-card {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sage);
}
.swap-card.is-plate { border-left-color: var(--warm); }
.swap-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 4px; font-size: 13px; }
.swap-head b { color: var(--sage-dark); }
.swap-card.is-plate .swap-head b { color: var(--warm-text); }
.swap-head span { color: var(--muted); font-weight: 600; font-size: 12px; }
.swap-card p { margin: 0; font-size: 13.5px; line-height: 1.45; }
.swap-extra { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.allergen-warn { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.muted-note { margin: 0; font-size: 14px; color: var(--muted); }

.recipe-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}
@media (max-width: 820px) { .recipe-columns { grid-template-columns: minmax(0, 1fr); } }
.recipe-ingredients {
  padding: 22px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.ing-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ing-head h2, .recipe-steps h2 { font-size: 22px; }
.ing-list { margin: 0; padding: 0; list-style: none; }
.ing-group { margin: 16px 0 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sage); }
.ing-line { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ing-line:last-child { border-bottom: 0; }

.step-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.step-list li {
  padding: 18px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.step-num { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage); margin-bottom: 6px; }
.step-body p { margin: 0; font-size: 16px; line-height: 1.55; }
.step-body .timer-chip { margin-top: 12px; }
.step-split {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--white);
  border-left: 4px solid var(--warm);
}
.step-split b { display: block; font-size: 12.5px; color: var(--warm-text); }
.step-split p { margin: 2px 0 0; font-size: 13.5px; }

.tips-box {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface-muted);
}
.tips-box h3 { font-size: 16px; margin-bottom: 8px; }
.tips-box ul { margin: 0; padding-left: 20px; font-size: 14.5px; color: var(--text-2); }
.tips-box li { margin-bottom: 6px; }
.related-recipes { margin-top: 56px; }
.related-recipes h2 { font-size: 24px; }

/* Guide Cards & Grid */
.grid2 { display: grid; gap: 14px; margin-top: 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid3 { display: grid; gap: 14px; margin-top: 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.guide-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
}
.section.paper .guide-card { background: var(--white); }
.guide-card:hover { border-color: var(--sage); transform: translateY(-2px); color: var(--ink); }
.topic-pill {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--sage-dark);
  font-size: 11.5px;
  font-weight: 700;
}
.guide-card h2, .guide-card h3 { margin-bottom: 8px; font-size: 18.5px; line-height: 1.3; }
.guide-card p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.guide-card .more { margin-top: auto; color: var(--sage); font-size: 13px; font-weight: 700; }
.guide-topics { margin-top: 24px; }

/* Visual Comparison Cards for Guide Tables (replaces spreadsheet look) */
.visual-table-wrap { margin: 24px 0 32px; }
.visual-table { width: 100%; border-collapse: collapse; }
.visual-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.visual-table tbody {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}
.visual-table tr {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  gap: 10px;
}
.visual-table td { display: block; padding: 0; border: 0; font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.visual-table td:first-child {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.visual-table td:first-child::before { display: none; }
.visual-table td::before {
  content: attr(data-label);
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--sage);
  margin-bottom: 2px;
}

/* Questions (FAQ) */
.faq-grid { display: flex; flex-wrap: wrap; gap: 40px; }
.faq-grid > div:first-child { flex: 1 1 260px; }
.faq-list { flex: 999 1 560px; min-width: 0; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 20px 36px 20px 0; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list summary h3 { display: inline; font-size: 17px; font-weight: 600; }
.faq-list details p { max-width: 44em; margin: -4px 0 20px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* Dark Join CTA Panel */
.join { padding: 0 clamp(12px, 3vw, 24px) clamp(12px, 3vw, 24px); }
.join-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 88px) clamp(24px, 5vw, 72px);
  border-radius: 26px;
  background: var(--ink-panel);
  color: #fff;
}
.join-copy { flex: 1 1 380px; min-width: 0; }
.join-copy .eyebrow { color: #A6C0AE; }
.join-copy h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.04; color: #fff; }
.join-copy p { max-width: 26em; margin: 16px 0 0; color: rgba(255, 255, 255, 0.74); font-size: 17px; }
.join-box .signup { flex: 1 1 380px; }

/* Launch-list Form */
.signup,
.pm-signup-form { position: relative; min-width: 0; max-width: 500px; margin: 0; text-align: left; }
.field-label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 500; }
.signup-row {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(38, 42, 38, 0.04);
}
.signup-row:focus-within { border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-tint); }
.signup input[type="email"],
.pm-signup-form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 15px var(--font);
}
.signup input[type="email"]:focus-visible,
.pm-signup-form input[type="email"]:focus-visible { outline: 0; }
.signup input[aria-invalid="true"],
.pm-signup-form input[aria-invalid="true"] { color: #B3261E; }
.signup button.btn,
.pm-signup-form button.btn { flex: none; padding: 11px 20px; }
.signup button.btn[disabled],
.pm-signup-form button.btn[disabled] { opacity: 0.6; cursor: progress; }
.platform { margin: 18px 0 0; padding: 0; border: 0; }
.platform legend { margin-bottom: 10px; padding: 0; font-size: 14px; }
.platform legend span { color: var(--faint); }
.platform div { display: flex; flex-wrap: wrap; gap: 8px; }
.platform label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
}
.platform label:has(input:checked) { border-color: var(--sage); background: var(--sage-tint); }
.platform input, .consent input { margin: 0; accent-color: var(--sage); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 17px; height: 17px; margin-top: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hp-label { position: absolute; left: -10000px; }
.fine { margin: 10px 0 0; color: var(--faint); font-size: 12.5px; }
.signup-msg { margin: 10px 0 0; font-size: 14px; font-weight: 600; }
.signup-msg:empty { display: none; }
.signup-msg.error { color: #B3261E; }
.signup-done h3 { margin-bottom: 8px; font-size: 20px; }
.signup-done p { margin: 0; }
.signup-done:focus { outline: none; }

.join-box .field-label, .join-box .platform legend { color: rgba(255, 255, 255, 0.82); }
.join-box .signup-row { border-color: transparent; }
.join-box .platform label { border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.join-box .platform label:has(input:checked) { border-color: #A6C0AE; background: rgba(166, 192, 174, 0.18); }
.join-box .consent, .join-box .fine { color: rgba(255, 255, 255, 0.72); }
.join-box a { color: #fff; }
.join-box .signup-msg.error { color: #FFB4A8; }

/* Footer */
.site-footer { margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.join + .site-footer { margin-top: 0; border-top: 0; }
.site-footer .wrap { padding-top: 36px; padding-bottom: 48px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.foot-tag { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-footer nav a:hover { color: var(--ink); }
.foot-copy { margin: 0; font-size: 12.5px; color: var(--faint); }

/* Inner & Article Pages */
.page-head { padding: clamp(36px, 6vw, 72px) 0 0; }
.page-head h1 { font-size: clamp(34px, 4.8vw, 52px); line-height: 1.06; }
.page-body { padding: 0 0 clamp(64px, 8vw, 96px); }
.crumbs { margin: 0 0 18px; color: var(--faint); font-size: 13px; }
.crumbs a { color: var(--faint); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-body .signup { margin-top: 32px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); max-width: none; }
.ticks { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.confirm-page { padding-bottom: 120px; }
.confirm .cta-row { margin-top: 24px; }

.article-wrap { max-width: 780px; margin: 0 auto; padding: clamp(36px, 6vw, 76px) var(--pad) 64px; }
.article h1 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; }
.meta { margin: 16px 0 0; color: var(--faint); font-size: 14px; }
.answer { margin: 32px 0 0; padding: 22px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.answer .eyebrow { margin-bottom: 8px; }
.answer p:last-child { margin: 0; font-size: 17.5px; font-weight: 500; line-height: 1.6; }
.prose { margin-top: 40px; color: var(--text-2); font-size: 17.5px; line-height: 1.7; }
.prose h2 { margin: 44px 0 14px; color: var(--ink); font-size: 26px; line-height: 1.2; }
.prose h3 { margin: 28px 0 8px; color: var(--ink); font-size: 19.5px; }
.prose p { margin: 0 0 20px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin-bottom: 8px; padding-left: 4px; }
.prose li::marker { color: var(--sage); font-weight: 700; }
.prose blockquote { margin: 0 0 24px; padding: 16px 20px; border-radius: 14px; background: var(--paper); border-left: 4px solid var(--sage); color: var(--muted); font-size: 15.5px; }
.prose blockquote p { margin: 0; }

.helps { margin: 48px 0 0; padding: 30px; border-radius: 22px; background: var(--ink-panel); color: #fff; }
.helps .eyebrow { color: #A6C0AE; }
.helps h2 { margin: 0 0 10px; font-size: 24px; color: #fff; }
.helps p { color: rgba(255, 255, 255, 0.74); }
.helps .cta-row { margin-top: 22px; }
.helps .btn { background: #fff; color: var(--ink-panel); }
.helps .btn:hover { background: var(--paper); }
.helps .btn-ghost { border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: #fff; }
.helps .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.helps .soon { color: rgba(255, 255, 255, 0.65); }

.more-guides { margin-top: 48px; }
.more-guides h2 { margin-bottom: 10px; font-size: 20px; }
.more-guides ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.more-guides a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.more-guides a:hover { color: var(--sage); }

/* Scroll reveal */
.js-reveal .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* Mobile refinements */
@media (max-width: 560px) {
  .recipe-grid,
  .grid2,
  .grid3,
  .visual-table tbody,
  .az-directory ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .bar { gap: 8px; height: 60px; }
  .brand { font-size: 15.5px; gap: 7px; }
  .brand img { width: 28px; height: 28px; }
  .site-header nav { gap: 2px; }
  .site-header nav a { padding: 6px 8px; font-size: 13px; }
  .site-header nav a.nav-join { margin-left: 4px; padding: 7px 12px; font-size: 12.5px; }
  .signup-row { flex-direction: column; border-radius: 18px; padding: 8px; gap: 8px; }
  .signup input[type="email"],
  .pm-signup-form input[type="email"] { width: 100%; padding: 11px 12px; font-size: 16px; }
  .signup button.btn,
  .pm-signup-form button.btn { width: 100%; padding: 12px 18px; }
  .stage-tabs { display: flex; flex-wrap: nowrap; justify-content: center; max-width: 100%; padding: 3px; gap: 2px; border-radius: 999px; }
  .stage-tab { padding: 6px 10px; font-size: 12px; white-space: nowrap; }
  .hero-spread { height: 315px; }
  .spread-phone { width: 130px; }
  .story-phone { max-width: 248px; }
  .ps-head { flex-direction: column; align-items: flex-start; }
  .plate-tabs { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .plate-tabs .sim-goal-pill { width: 100%; text-align: center; padding: 8px 10px; font-size: 13px; }
  .plate-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plate-stats > div:last-child { grid-column: 1 / -1; }
  .ing-head { flex-wrap: wrap; }
}

/* "Who's at your table?" on recipe pages (table.js) */
.table-teaser { padding: clamp(20px, 3vw, 28px); border-radius: 22px; background: var(--white); border: 1px solid var(--line); margin-bottom: 24px; }
.tt-head h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 4px 0 6px; }
.tt-lead { margin: 0; color: var(--text-2); }
.tt-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.tt-person { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 4px 10px; padding: 12px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.tt-av { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 600; font-size: 14px; }
.tt-name { font-weight: 600; }
.tt-person select { min-width: 0; height: 36px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white); color: var(--ink); font: 500 14px/1 var(--font); }
.tt-plates { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.tt-plates li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border-radius: 14px; background: var(--sage-tint); }
.tt-plates b { font-weight: 600; }
.tt-nums { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--sage-dark); }
.tt-plates p { grid-column: 1 / -1; margin: 0; font-size: 14.5px; color: var(--text-2); }
.tt-list { position: relative; }
.tt-list h3 { font-size: 17px; margin: 0 0 8px; }
.tt-list ul { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow: hidden; }
.tt-list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tt-list li.tt-hidden { filter: blur(5px); user-select: none; }
.tt-lock { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 16px 16px; text-align: center; background: linear-gradient(rgba(255,255,255,0), var(--white) 55%); }
.tt-lock p { margin: 0 auto 12px; max-width: 30em; font-weight: 500; }
.tt-method { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .tt-people { grid-template-columns: 1fr; } }
