/* Kitchen Table website. The colors, type and shapes follow the app: the Market palette and Manrope (PLAN.md §9). */

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #1f6b4f;
  --on-accent: #ffffff;
  --bg: #f4f7f5;
  --card: #ffffff;
  --line: #e3eae6;
  --ink: #13201b;
  --muted: #55665e;
  --tint: #e3efe8;
  --tint-ink: #1a5a42;
  --amber-tint: #fbebd0;
  --amber-ink: #7a4f0e;
  --track: #edf2ef;
  --protein: #1f6b4f;
  --carbs: #e9a23b;
  --fat: #c8553d;
  --band: #1f6b4f;
  --band-ink: #ffffff;
  --band-muted: #cfe6da;
  --frame: #0e1512;
  --frame-edge: #36413c;
  --shadow: 0 1px 2px rgb(19 32 27 / 0.06), 0 24px 48px -24px rgb(19 32 27 / 0.35);
  --shadow-soft: 0 1px 2px rgb(19 32 27 / 0.05), 0 12px 28px -16px rgb(19 32 27 / 0.22);
  --wrap: 1160px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #5fbf95;
    --on-accent: #0b1c14;
    --bg: #0f1512;
    --card: #18211c;
    --line: #26332c;
    --ink: #e8efea;
    --muted: #9db0a6;
    --tint: #1d3a2d;
    --tint-ink: #a7e0c5;
    --amber-tint: #3a2c12;
    --amber-ink: #f2c77a;
    --track: #24312a;
    --protein: #5fbf95;
    --carbs: #f0b44e;
    --fat: #e58468;
    --band: #173a2c;
    --band-ink: #e8efea;
    --band-muted: #a9cbbb;
    --frame: #000000;
    --frame-edge: #2e3a34;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 24px 48px -24px rgb(0 0 0 / 0.8);
    --shadow-soft: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 28px -16px rgb(0 0 0 / 0.6);
  }
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 450;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.7rem + 3.6vw, 4.4rem); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 1.45rem + 2.1vw, 2.9rem); letter-spacing: -0.035em; }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: 12px;
  background: var(--accent); color: var(--on-accent); font-weight: 800; text-decoration: none;
}
.skip:focus { top: 12px; }

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
}
.lead { color: var(--muted); font-size: clamp(1.1rem, 1rem + 0.35vw, 1.24rem); line-height: 1.55; }

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  color: var(--ink); font-size: 1.12rem; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap;
}
.brand img { width: 34px; height: 34px; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.button) { color: var(--muted); font-size: 0.95rem; font-weight: 700; text-decoration: none; }
.site-nav a:not(.button):hover, .site-nav a[aria-current="page"] { color: var(--ink); }

@media (max-width: 760px) {
  .site-header .wrap { gap: 16px; }
  .site-nav { gap: 18px; }
  .site-nav .wide-only { display: none; }
}
@media (max-width: 440px) {
  /* Room for the name and the beta button. Recipes stays a tap away on the page and in the footer. */
  .site-nav a:not(.button) { display: none; }
}

/* Buttons */

.buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 16px;
  font: inherit; font-size: 1rem; font-weight: 800; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: opacity 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.button:active { transform: scale(0.98); }
.button-primary { background: var(--accent); color: var(--on-accent); }
.button-primary:hover { opacity: 0.88; }
.button-secondary { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.button-secondary:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.button-small { min-height: 40px; padding: 0 16px; border-radius: 12px; font-size: 0.92rem; }

/* Devices: the App Store screenshots inside an iPhone or iPad. --w sets the size and everything scales with it. */

.phone {
  --w: 280px;
  position: relative; flex: none;
  width: var(--w); padding: calc(var(--w) * 0.03);
  border-radius: calc(var(--w) * 0.163);
  background: var(--frame);
  box-shadow: 0 0 0 calc(var(--w) * 0.007) var(--frame-edge), var(--shadow);
}
.phone > img { width: 100%; border-radius: calc(var(--w) * 0.135); background: var(--bg); }
.phone::after {
  /* The Dynamic Island, between the clock and the battery. */
  content: ""; position: absolute; left: 50%; top: calc(var(--w) * 0.055);
  width: calc(var(--w) * 0.27); height: calc(var(--w) * 0.08);
  border-radius: 999px; background: #000; transform: translateX(-50%);
}

.ipad {
  --w: 520px;
  width: min(var(--w), 100%); padding: calc(var(--w) * 0.028);
  border-radius: calc(var(--w) * 0.062);
  background: var(--frame);
  box-shadow: 0 0 0 calc(var(--w) * 0.004) var(--frame-edge), var(--shadow);
}
.ipad > img { width: 100%; border-radius: calc(var(--w) * 0.036); background: var(--bg); }

/* Hero */

.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: clip; }
.hero .wrap { display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.08fr 0.92fr; } }

.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 6px 14px 6px 12px;
  border-radius: 999px; background: var(--tint); color: var(--tint-ink); font-size: 0.86rem; font-weight: 800;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.hero h1 { margin-bottom: 22px; }
.hero h1 span { color: var(--accent); }
.hero .lead { max-width: 33em; margin-bottom: 32px; }
.hero .fine { margin-top: 20px; color: var(--muted); font-size: 0.92rem; font-weight: 600; }

.hero-art { position: relative; display: flex; justify-content: center; padding: 8px 0 40px; isolation: isolate; }
.hero-art::before {
  content: ""; position: absolute; inset: 4% 2% 0; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 24%, transparent), transparent);
}
.hero-art .phone { --w: clamp(210px, 24vw, 292px); }
.hero-art .phone-back { margin-top: 0; margin-right: calc(var(--w) * -0.3); opacity: 0.97; transform: translateY(-6%) scale(0.9); }
.hero-art .phone-front { margin-top: 12%; }
@media (max-width: 520px) {
  .hero-art .phone { --w: 62vw; }
  .hero-art .phone-back { margin-right: calc(var(--w) * -0.55); }
}

/* Numbers band */

.band { background: var(--band); color: var(--band-ink); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; margin-block: 0; padding: 44px 0; list-style: none; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); padding: 52px 0; } }
.stats strong {
  display: block; margin-bottom: 8px;
  font-size: clamp(2.1rem, 1.6rem + 2vw, 2.9rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
}
.stats span { display: block; max-width: 15em; color: var(--band-muted); font-size: 0.98rem; font-weight: 600; line-height: 1.4; }

/* Sections */

.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-alt { background: var(--card); }
.section.flush-top { padding-top: 0; }

.section-head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head h2 { margin-bottom: 18px; }
.section-head.center { margin-inline: auto; text-align: center; }

.statement { max-width: 50rem; margin-inline: auto; text-align: center; }
.statement h2 { margin-bottom: 20px; }

/* How it works */

.steps { display: grid; gap: 48px 32px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.step { display: flex; flex-direction: column; gap: 28px; }
.step .phone { --w: 232px; align-self: center; }
.step h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 1rem; }
.step-number {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-size: 0.9rem; letter-spacing: 0;
}

@media (max-width: 719px) {
  /* A row to swipe through on a phone. */
  .steps {
    grid-auto-flow: column; grid-auto-columns: 78%; gap: 20px;
    margin-inline: -20px; padding: 4px 20px 16px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none;
  }
  .steps::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: start; }
  .step .phone { --w: min(230px, 62vw); }
}

/* Recipe cards */

.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
/* The home page's eight fill whole rows: two across, or four on a wide screen. */
@media (min-width: 600px) { .recipe-grid.featured { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .recipe-grid.featured { grid-template-columns: repeat(4, 1fr); } }

.recipe {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 20px; background: var(--card);
}
.recipe[hidden] { display: none; }
.recipe img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--track); }
.recipe-text { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.recipe-cuisine { color: var(--accent); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.recipe h3 { font-size: 1.08rem; }
.recipe-subtitle { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.recipe-numbers { margin-top: auto; padding-top: 12px; font-size: 0.9rem; font-weight: 700; }
.recipe .chips { margin-top: 10px; }

.section-alt .recipe { background: var(--bg); }

@media (max-width: 599px) {
  /* Like the Recipes tab in the app: a photo beside the name. */
  .recipe-grid { grid-template-columns: 1fr; gap: 12px; }
  .recipe { flex-direction: row; border-radius: 18px; }
  .recipe img { flex: none; width: 112px; height: auto; aspect-ratio: auto; }
  .recipe-text { padding: 12px 14px 14px; }
  .recipe h3 { font-size: 1rem; }
  .recipe-subtitle { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .recipe-numbers { padding-top: 6px; font-size: 0.84rem; }
  .recipe .chips { margin-top: 8px; }
  .recipe-grid.featured .recipe:nth-child(n + 5) { display: none; }
}

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px;
  background: var(--track); color: var(--ink); font-size: 0.78rem; font-weight: 800; line-height: 1.4;
}
.chip-green { background: var(--tint); color: var(--tint-ink); }
.chip-amber { background: var(--amber-tint); color: var(--amber-ink); }
.chip-outline { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }

.more { margin-top: 36px; display: flex; justify-content: center; }

/* Recipes page */

.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); }
.page-head h1 { margin-bottom: 18px; font-size: clamp(2.4rem, 1.7rem + 2.8vw, 3.7rem); }
.page-head .lead { max-width: 44rem; }
.page-head .note { margin-top: 14px; color: var(--muted); font-size: 0.9rem; font-weight: 600; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filters[hidden] { display: none; }
.filters button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px;
  border: 0; border-radius: 999px; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line);
  font: inherit; font-size: 0.9rem; font-weight: 800; cursor: pointer;
}
.filters button:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.filters .count { color: var(--muted); font-weight: 700; }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.filters button[aria-pressed="true"] .count { color: inherit; opacity: 0.8; }
.filter-status { margin-bottom: 22px; color: var(--muted); font-size: 0.9rem; font-weight: 600; }

@media (max-width: 599px) {
  .filters {
    flex-wrap: nowrap; margin-inline: -20px; padding: 2px 20px 6px; overflow-x: auto; scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
}

/* Feature blocks: text beside a piece of the app, drawn in HTML */

.feature { display: grid; gap: 44px; align-items: center; }
.feature + .feature { margin-top: clamp(88px, 11vw, 140px); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: clamp(56px, 7vw, 96px); }
  .feature.flip .feature-art { order: -1; }
}
.feature h2 { margin-bottom: 18px; }
.feature-text .lead + .lead { margin-top: 14px; }
.feature-art { position: relative; max-width: 520px; width: 100%; justify-self: center; }

.app-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow-soft); }
.app-label { margin-bottom: 10px; color: var(--muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.art-photo { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.app-lunch {
  position: relative; margin: -72px 20px 0; padding: 18px 20px;
  border-radius: 20px; background: var(--tint); color: var(--tint-ink); box-shadow: var(--shadow-soft);
}
.app-lunch-title { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-weight: 800; font-size: 1.02rem; }
.app-lunch-title svg { width: 22px; height: 22px; }
.app-lunch p:not(.app-lunch-title) { color: var(--ink); font-size: 0.98rem; line-height: 1.5; }
.app-lunch .reheat { margin-top: 6px; color: var(--muted) !important; font-size: 0.92rem !important; }

.app-macros { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; }
.kcal strong { display: block; font-size: clamp(2.6rem, 2rem + 2vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.kcal span { color: var(--muted); font-weight: 600; white-space: nowrap; }
@media (max-width: 440px) {
  /* The calories above the rings on a phone. */
  .app-macros { flex-wrap: wrap; }
  .rings { width: 100%; justify-content: space-between; }
}
.rings { display: flex; gap: clamp(8px, 2vw, 14px); margin: 0; }
.ring { position: relative; margin: 0; text-align: center; }
.ring svg { width: clamp(62px, 14vw, 78px); height: clamp(62px, 14vw, 78px); transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3.6; stroke-linecap: round; }
.ring .track { stroke: var(--track); }
.ring .arc-protein { stroke: var(--protein); }
.ring .arc-carbs { stroke: var(--carbs); }
.ring .arc-fat { stroke: var(--fat); }
.ring b { position: absolute; top: 0; left: 0; right: 0; height: clamp(62px, 14vw, 78px); display: grid; place-items: center; font-size: 0.95rem; font-weight: 800; }
.ring figcaption { margin-top: 4px; color: var(--muted); font-size: 0.82rem; font-weight: 700; }
.macro-chips { margin-top: 14px; }
.macro-chips .chip { padding: 6px 12px; font-size: 0.84rem; }
.health-note {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 14px 18px;
  border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 0.95rem;
}
.health-note svg { width: 22px; height: 22px; color: var(--fat); flex: none; }

.app-ingredients ul { margin: 0; padding: 0; list-style: none; }
.app-ingredients li { position: relative; padding: 5px 0 5px 18px; font-size: 1rem; }
.app-ingredients li::before { content: ""; position: absolute; left: 2px; top: 0.95em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.app-group { margin: 4px 0 4px; font-weight: 800; }
.save { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--accent); font-size: 0.9rem; font-weight: 700; }
.save svg { width: 16px; height: 16px; flex: none; }
.app-freeze {
  display: flex; gap: 12px; margin: 16px 0 0 28px; padding: 16px 18px;
  border-radius: 18px; background: var(--tint); color: var(--tint-ink); font-size: 0.95rem; line-height: 1.45; box-shadow: var(--shadow-soft);
}
.app-freeze svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.app-freeze strong { display: block; font-weight: 800; }

/* Devices and features */

.devices { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .devices { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; } }
.devices .ipad { justify-self: center; }

.feature-list { display: grid; gap: 26px 28px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.feature-list .icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--tint-ink); }
.feature-list .icon svg { width: 22px; height: 22px; }
.feature-list h3 { margin-bottom: 4px; font-size: 1.02rem; }
.feature-list p { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }

/* Line icons, drawn like SF Symbols */

.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Privacy */

.privacy { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.devices + .privacy { margin-top: clamp(80px, 10vw, 128px); }
@media (min-width: 760px) { .privacy { grid-template-columns: auto 1fr auto; gap: 32px; } }
.privacy .icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--tint); color: var(--tint-ink); }
.privacy .icon svg { width: 30px; height: 30px; }
.privacy h2 { margin-bottom: 8px; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); }
.privacy p { color: var(--muted); max-width: 40rem; }

/* The beta invitation */

.cta { padding: clamp(72px, 9vw, 116px) 0; text-align: center; }
.cta .eyebrow { color: var(--band-muted); }
.cta h2 { margin-bottom: 18px; }
.cta p { max-width: 40rem; margin-inline: auto; color: var(--band-muted); font-size: 1.08rem; }
.cta p + p { margin-top: 12px; }
.cta .buttons { justify-content: center; margin-top: 32px; }
.cta .button-primary { background: var(--band-ink); color: var(--band); }
.cta .button-secondary { background: transparent; color: var(--band-ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--band-ink) 40%, transparent); }
.cta .button-secondary:hover { box-shadow: inset 0 0 0 1.5px var(--band-ink); }
.cta .requirements { margin-top: 22px; font-size: 0.92rem; font-weight: 600; }

/* The page Cloudflare shows for an address that doesn't exist */

.not-found { width: min(100% - 40px, 640px); margin-inline: auto; padding: clamp(64px, 11vw, 136px) 0; text-align: center; }
.not-found > img { width: 88px; height: 88px; margin: 0 auto 28px; }
.not-found h1 { margin-bottom: 18px; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.3rem); }
.not-found .buttons { justify-content: center; margin-top: 32px; }

/* Support and privacy pages */

.prose { width: min(100% - 40px, 720px); margin-inline: auto; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }
.prose h1 { margin-bottom: 14px; font-size: clamp(2.2rem, 1.7rem + 2vw, 3rem); letter-spacing: -0.035em; }
.prose h2 { margin: 44px 0 10px; font-size: 1.4rem; letter-spacing: -0.02em; }
.prose p, .prose li { margin: 0 0 12px; }
.prose ul { margin: 0 0 12px; padding-left: 22px; }
.prose .lead { margin-bottom: 30px; }
.prose .date { margin-bottom: 30px; color: var(--muted); font-weight: 600; }
.box { padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.box p:last-child { margin-bottom: 0; }
.prose details { margin: 0 0 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.prose summary { position: relative; padding: 16px 52px 16px 20px; font-weight: 800; cursor: pointer; list-style: none; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px;
  border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
.prose details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.prose details > p { margin: 0; padding: 0 20px 18px; }

/* Footer */

.site-footer { padding: 48px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: grid; gap: 28px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-top .brand { margin-right: 0; }
.footer-top .tagline { color: var(--muted); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--ink); font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.fineprint { max-width: 62rem; font-size: 0.82rem; line-height: 1.55; }
.fineprint p + p { margin-top: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
