/* ═══════════════════════════════════════════════════════════════════════
   Ceres Meals — shared marketing-site shell.
   Loaded after tokens.css. Nav, footer, pills, type, placeholders, reveal.
   ═══════════════════════════════════════════════════════════════════════ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01' 1;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent-soft); }

.wrap { max-width: var(--page-wide); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

/* ── nav ── */
header.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.1) blur(10px);
  -webkit-backdrop-filter: saturate(1.1) blur(10px);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; }
.brand { font-family: var(--display); font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.brand .stop { color: var(--accent); }
.nav-links { display: flex; gap: 32px; align-items: center; font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

/* ── pills ── */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 22px; background: var(--accent); color: var(--accent-ink);
  border: none; border-radius: 100px;
  font-family: var(--body); font-size: 14px; font-weight: 600; cursor: pointer;
  letter-spacing: 0.005em; transition: transform .15s ease, filter .2s ease; white-space: nowrap;
}
.pill:hover { transform: translateY(-1px); filter: brightness(1.04); }
.pill.small { padding: 10px 18px; font-size: 13.5px; }
.pill.ghost { background: transparent; color: var(--ink-soft); font-weight: 500; }
.pill.ghost:hover { color: var(--ink); background: var(--surface-2); transform: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-faint);
}
.eyebrow .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* ── page header (interior pages) ── */
.page-head { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(36px, 5vw, 64px); }
.page-head h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -0.025em; line-height: 1.02;
  margin-top: 24px; max-width: 17ch; text-wrap: balance;
}
.page-head .lede {
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--ink-soft);
  max-width: 54ch; margin-top: 26px; font-weight: 450;
}

/* ── screenshot frames ── */
.shot-img { border-radius: 16px; overflow: hidden; box-shadow: 0 1px 0 var(--hairline), 0 44px 88px -54px rgba(60,40,20,0.42); }
.shot-img img { display: block; width: 100%; height: auto; }
.shot-img.bleed { box-shadow: 0 1px 0 var(--hairline), 0 30px 60px -46px rgba(60,40,20,0.4); }

/* ── footer ── */
footer.foot { padding-block: 56px; border-top: 1px solid var(--hairline); margin-top: clamp(48px, 6vw, 96px); }
.foot .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot .brand { font-size: 18px; }
.foot .links { display: flex; gap: 26px; font-size: 13.5px; color: var(--ink-faint); font-weight: 500; flex-wrap: wrap; }
.foot .links a:hover { color: var(--ink-soft); }
.foot .copy { font-size: 13px; color: var(--ink-faint); font-weight: 450; }

/* ── reveal ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

@media (max-width: 620px) {
  .nav-links .only-wide { display: none; }
  .nav-links { gap: 16px; }
}
