/* thefamilyfridge.app: the presentation page, articles and legal pages. The app's palette (app/globals.css), with
   Fraunces for headings (the App Store art's typeface) and the system font for text. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/fonts/fraunces-latin-wght-normal.woff2') format('woff2'); }
:root {
  color-scheme: light;
  --paper: #f6f5f0;
  --surface: #fffefb;
  --ink: #222d29;
  --muted: #52615a;
  --border: #d9ded6;
  --green: #204a3f;
  --deep: #1a3d33;
  --sage: #e4ebde;
  --clay: #b0603f;
  --peach: #f3e1d4;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible, .store-button:focus-visible { outline: 3px solid #a56336; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 50; padding: 10px 18px; background: var(--surface); border: 2px solid var(--green); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.dot { color: var(--clay); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); margin-top: 18px; max-width: 58ch; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 500 24px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top-nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.top-nav a:not(.button) { color: var(--ink); text-decoration: none; }
.top-nav a:not(.button):hover { color: var(--green); text-decoration: underline; }
@media (max-width: 860px) { .top-nav a:not(.button) { display: none; } }
@media (max-width: 400px) { .brand { font-size: 20px; } .brand img { width: 30px; height: 30px; } }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 600; text-decoration: none; border: 1px solid var(--green); }
.button.small { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.button.ghost { background: transparent; color: var(--green); border-color: #a9b8a5; }
.button.ghost:hover { background: var(--sage); }
.button.ghost.light { color: #f4f2e8; border-color: #7f9a8d; }
.button.ghost.light:hover { background: #ffffff14; }
.store-button { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 14px; background: #111; color: #fff; text-decoration: none; }
.store-button svg { width: 24px; height: 28px; }
.store-button span { display: grid; font: 600 21px/1.1 var(--sans); letter-spacing: -.01em; }
.store-button small { font-size: 12px; font-weight: 500; letter-spacing: 0; }
.store-button.soon { background: transparent; color: var(--ink); border: 1px dashed #9aa79f !important; cursor: default; }
.closing .store-button.soon, .article-cta .store-button.soon { color: #f4f2e8 !important; background: transparent !important; border-color: #7f9a8d !important; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.cta .button, .cta .store-button { height: 58px; min-height: 58px; border-radius: 14px; box-sizing: border-box; }
.cta .button { padding: 0 26px; font-size: 17px; }
.cta .store-button { border: 1px solid #111; }
.closing .cta .store-button { border-color: #f4f2e8; }
.cta.center { justify-content: center; }

/* Hero */
.hero { overflow: hidden; background: radial-gradient(90% 70% at 15% 0%, #fffefb 0%, var(--paper) 50%, #eaefe5 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 0; }
.hero h1 { font: 400 clamp(46px, 7vw, 84px)/1.03 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.hero h1 em { font-style: italic; }
/* The line above the headline is part of the h1 (so the page says what it is), styled as an eyebrow. */
.hero h1 .eyebrow { display: block; font: 600 13px/1.65 var(--sans); letter-spacing: .08em; margin-bottom: 14px; }
.assurances { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 26px 0 0; font-size: 15px; color: var(--muted); }
.assurances li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 6px; }
/* Five assurances don't fit on one line beside the phone: three, then two, in even columns. Narrow screens just wrap. */
@media (min-width: 600px) { .assurances { display: grid; grid-template-columns: repeat(3, max-content); } }
.hero-art { align-self: end; }
.phone { width: min(100%, 360px); margin: 0 auto -120px; padding: 4px; border-radius: 54px; background: linear-gradient(140deg, #6d7772 0%, #2a322e 18%, #1a201d 50%, #2c3430 82%, #5d6762 100%); box-shadow: 0 40px 90px #0d1f1a40, 0 8px 20px #0d1f1a33; }
.phone img { width: 100%; border: 6px solid #050706; border-radius: 50px; aspect-ratio: 600 / 1150; object-fit: cover; object-position: top; }
.hero { padding-bottom: 0; }
.hero-art { padding-top: 10px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .phone { width: min(100%, 320px); }
}

/* Sections */
.section { padding: 96px 0; }
.section h2 { font: 400 clamp(34px, 5vw, 54px)/1.1 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.steps article { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; }
.steps .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sage); color: var(--green); font-weight: 700; }
.steps h3 { font: 400 26px/1.2 var(--serif); margin: 16px 0 8px; }
.steps p { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.gallery figure { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 34px #0d1f1a1f; background: var(--sage); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .gallery figure { flex: 0 0 62%; scroll-snap-align: start; }
}

/* Together: the dark band (was Becoming's ADHD section) */

.together { background: radial-gradient(110% 80% at 20% 0%, #2f5a4c 0%, var(--deep) 55%, #16302a 100%); color: #f4f2e8; }

.together .eyebrow { color: #b7c7b6; }

.together .lead { color: #c9d4c4; }

.together .dot { color: #e0a47a; }

.together-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.features { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.features li { padding: 16px 18px; border-radius: 14px; background: #ffffff0d; border: 1px solid #ffffff1c; color: #d6dfd2; }
.features strong { color: #fff; }
.fine { margin-top: 22px; font-size: 14px; color: #a9b9a8; }
.mock-card { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 26px; box-shadow: inset 5px 0 0 var(--green), 0 30px 70px #00000040; }
.mock-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mock-title { font: 30px/1.15 var(--serif); margin: 6px 0 14px; }
.mock-step { background: var(--sage); border-radius: 10px; padding: 10px 12px; font-size: 15px; }
.mock-why { font-size: 14px; color: var(--muted); margin-top: 12px; }
.mock-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mock-actions span { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--border); font-weight: 600; font-size: 15px; }
.mock-actions .mock-primary { background: var(--green); color: #fff; border-color: var(--green); }
.mock-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--green); }
.mock-timer { margin: 18px 0 0 auto; max-width: 300px; background: #fffefa; color: var(--ink); border-radius: 18px; padding: 18px 20px; text-align: center; box-shadow: 0 24px 60px #00000040; }
.mock-clock { display: block; font: 52px/1 var(--serif); color: var(--green); }
.mock-note { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
/* Two real phones: the Now card in front, the running timer behind it */

.together-art { position: relative; min-height: 640px; }

.together-art .phone { position: absolute; width: 300px; margin: 0; box-shadow: 0 40px 90px #00000059; }
.phone-front { left: 0; top: 40px; z-index: 1; }
.phone-back { right: 0; top: 0; transform: rotate(5deg); opacity: .92; }
.gallery-adhd { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px; }
.gallery-adhd figure { box-shadow: 0 16px 40px #00000040, 0 0 0 1px #ffffff26; background: #16302a; }
@media (max-width: 860px) {
  
.together-grid { grid-template-columns: 1fr; }
  
.together-art { min-height: 0; height: 560px; max-width: 440px; width: 100%; margin: 0 auto; }
  
.together-art .phone { width: 250px; }
}
@media (max-width: 480px) { 
.together-art { height: 450px; } 
.together-art .phone { width: 210px; } .gallery-adhd { margin-top: 36px; } }

/* Wins and your year: the same two-phone art on paper */
.look-grid { align-items: start; }
.look-grid .facts { margin-top: 32px; }
.look-art .phone { box-shadow: 0 40px 90px #0d1f1a40, 0 8px 20px #0d1f1a33; }
@media (max-width: 860px) { .look-art { min-height: 0; height: 560px; max-width: 440px; width: 100%; margin: 0 auto; } .look-art .phone { width: 250px; } }
@media (max-width: 480px) { .look-art { height: 450px; } .look-art .phone { width: 210px; } }

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.privacy-grid p:last-child { margin-top: 20px; font-weight: 600; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.facts li { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; display: grid; gap: 4px; }
.facts strong { font: 400 22px/1.2 var(--serif); }
.facts span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* Closing */
.closing { background: var(--deep); color: #f4f2e8; text-align: center; }
.closing .lead { color: #c9d4c4; margin-left: auto; margin-right: auto; }
.closing .dot { color: #e0a47a; }
.closing .store-button { background: #f4f2e8; color: #111; }

/* Footer */
.foot { padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 15px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { overflow-wrap: anywhere; }

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

/* Pricing page */
.pricing-hero { padding: 64px 0 40px; background: radial-gradient(90% 70% at 15% 0%, #fffefb 0%, var(--paper) 50%, #eaefe5 100%); }
.pricing-hero h1 { font: 400 clamp(40px, 6vw, 68px)/1.06 var(--serif); letter-spacing: -.03em; text-wrap: balance; max-width: 18ch; }
.price-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.price-card { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); }
.price-card.plus { border-color: #a9b8a5; background: linear-gradient(180deg, var(--sage) 0%, var(--surface) 46%); box-shadow: 0 24px 60px -30px #0d1f1a59; }
.price-card h2 { display: flex; align-items: center; gap: 10px; font: 400 30px/1.2 var(--serif); }
.plus-star { color: var(--clay); font: 18px/1 var(--sans); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 14px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.price strong { font: 400 52px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.price span { color: var(--muted); font-size: 15px; }
.ticks-intro { margin: 0 0 10px; font-weight: 600; font-size: 15px; }
.ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; font-size: 16px; line-height: 1.5; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); }
.ticks li::before { content: '✓'; position: absolute; left: 2px; top: 0; color: var(--green); font-weight: 700; }
.ticks strong { display: block; color: var(--ink); font-weight: 600; }
.price-card:not(.plus) .ticks li { color: var(--ink); }
.price-cta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.price-cta .button, .price-cta .store-button { min-height: 52px; height: 52px; border-radius: 14px; }
.price-cta .store-button span { font-size: 18px; }
.price-note { font-size: 14px; color: var(--muted); }
.small-h2.small-h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 28px; }
.facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-4 strong { font-size: 20px; }
.pricing-questions { padding-top: 0; }
/* Room between the hero's tinted band and the plan cards, so they don't sit on its edge. */
.pricing { padding-top: 48px; }
.top-nav a[aria-current="page"] { color: var(--green); text-decoration: underline; }
@media (max-width: 960px) { .facts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .price-cards { grid-template-columns: 1fr; } .price-card { padding: 24px; } }
@media (max-width: 480px) { .facts-4 { grid-template-columns: 1fr; } }

/* Articles (scripts/articles.mjs) */
.wrap.narrow { max-width: 780px; }
.article-head { padding: 56px 0 8px; background: radial-gradient(90% 70% at 15% 0%, #fffefb 0%, var(--paper) 60%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.article-head h1 { font: 400 clamp(36px, 5.4vw, 56px)/1.08 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.article-meta { margin-top: 16px; font-size: 15px; color: var(--muted); }
.article-body { padding-top: 28px; padding-bottom: 72px; font-size: 18px; line-height: 1.72; }
.article-body > p, .article-body > ul, .article-body > ol, .article-body > blockquote { margin: 0 0 1.1em; }
.article-body > h2 { font: 400 clamp(28px, 3.6vw, 36px)/1.18 var(--serif); letter-spacing: -.02em; margin: 1.7em 0 .55em; text-wrap: balance; scroll-margin-top: 84px; }
.article-body > h3 { font: 600 20px/1.35 var(--sans); margin: 1.5em 0 .45em; scroll-margin-top: 84px; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
/* Comparison tables in articles: scroll sideways on narrow screens rather than squash. */
.table-wrap { overflow-x: auto; margin: 1.4em 0 1.6em; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.table-wrap:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: calc(var(--cols, 4) * 110px); font-size: 15px; line-height: 1.45; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.table-wrap thead th { font-weight: 700; background: var(--sage); }
.table-wrap tbody th { font-weight: 600; }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }
.article-body li { margin: .4em 0; }
.article-body li::marker { color: var(--clay); }
.article-body blockquote { border-left: 3px solid var(--clay); padding: 2px 0 2px 18px; color: var(--muted); font-style: italic; }
.short-answer { margin: 0 0 36px; padding: 22px 24px; border-radius: 18px; background: var(--sage); border: 1px solid #cfdac9; }
.short-answer h2 { font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin: 0 0 10px; }
.short-answer p { margin: 0; font-size: 18px; color: var(--ink); }
.short-answer .short-answer-cta { margin-top: 12px; font-size: 15px; color: var(--muted); }
.short-answer-cta a { color: var(--green); font-weight: 600; }
.in-app { margin: 1.6em 0; padding: 20px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: inset 4px 0 0 var(--green); font-size: 17px; }
.in-app-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.in-app-label span { color: var(--clay); }
.in-app p + p, .in-app ul { margin-top: .7em; }
.in-app ul { margin-bottom: 0; }
.article-cta { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 28px; align-items: center; margin: 56px 0 0; padding: 36px; border-radius: 24px; background: radial-gradient(110% 80% at 20% 0%, #2f5a4c 0%, var(--deep) 60%, #16302a 100%); color: #f4f2e8; overflow: hidden; }
.article-cta .eyebrow { color: #b7c7b6; }
.article-cta h2 { font: 400 clamp(28px, 3.6vw, 38px)/1.12 var(--serif); letter-spacing: -.02em; margin: 0 0 12px; }
.article-cta .dot { color: #e0a47a; }
.article-cta p { color: #d6dfd2; font-size: 17px; line-height: 1.6; }
.article-cta .cta { margin-top: 22px; }
.article-cta .store-button { background: #f4f2e8; color: #111; border-color: #f4f2e8; }
.article-cta-note { margin-top: 14px; font-size: 14px !important; color: #a9b9a8 !important; }
.article-cta-art .phone { width: 100%; max-width: 230px; margin: 0 auto -110px; border-radius: 40px; padding: 8px; }
.article-cta-art .phone img { border-radius: 32px; }
.article-fine { margin-top: 28px !important; font-size: 14px; line-height: 1.55; color: var(--muted); }
.related { padding: 0 0 88px; }
.related h2 { font: 400 clamp(28px, 3.6vw, 36px)/1.2 var(--serif); letter-spacing: -.02em; margin-bottom: 20px; }
.article-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.article-cards a { display: grid; gap: 6px; height: 100%; padding: 20px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.article-cards a:hover { border-color: #a9b8a5; box-shadow: 0 14px 34px -22px #0d1f1a59; }
.article-cards strong { font: 400 21px/1.25 var(--serif); color: var(--ink); }
.article-cards span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.all-articles { margin-top: 22px; font-weight: 600; }
.articles-hero h1 { max-width: 20ch; }
.topic-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.topic-links a { padding: 8px 14px; border-radius: 999px; border: 1px solid #a9b8a5; background: var(--surface); font-size: 15px; font-weight: 600; text-decoration: none; }
.topic-links a:hover { background: var(--sage); }
.article-group { padding: 56px 0 8px; scroll-margin-top: 64px; }
.article-group h2 { font: 400 clamp(30px, 4vw, 42px)/1.15 var(--serif); letter-spacing: -.02em; }
.group-blurb { margin: 10px 0 24px; color: var(--muted); max-width: 62ch; }
.article-group .article-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.articles-hero + .article-group { padding-top: 56px; }
/* The last group's cards need room before the dark closing band. */
.article-group:has(+ .closing) { padding-bottom: 96px; }
.home-articles .article-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; }
.home-articles .all-articles { margin-top: 26px; }
@media (max-width: 960px) { .article-group .article-cards, .home-articles .article-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .article-cards, .article-group .article-cards, .home-articles .article-cards { grid-template-columns: 1fr; }
  .article-cta { grid-template-columns: 1fr; padding: 28px 22px; }
  .article-cta-art .phone { max-width: 200px; margin-bottom: -120px; }
  .article-body { font-size: 17px; }
}

/* Family Fridge additions */
.hero h1 { font-weight: 400; }
.section h2, .hero h1, .pricing-hero h1, .article-head h1 { font-variation-settings: 'SOFT' 50, 'opsz' 144; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.pillars article { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.pillars h3 { font: 500 22px/1.2 var(--serif); margin: 0 0 6px; }
.pillars p { color: var(--muted); font-size: 16px; }
.pillars .tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--green); background: var(--sage); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
.roles { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.roles li { padding: 16px 18px; border-radius: 14px; background: #ffffff0d; border: 1px solid #ffffff1c; color: #d6dfd2; }
.roles strong { color: #fff; display: block; font: 500 20px/1.3 var(--serif); margin-bottom: 4px; }
/* Legal pages */
.legal { padding-top: 48px; padding-bottom: 80px; font-size: 17px; line-height: 1.7; }
.legal h1 { font: 400 clamp(36px, 6vw, 52px)/1.1 var(--serif); letter-spacing: -.03em; margin: 0 0 8px; }
.legal h2 { font: 500 26px/1.3 var(--serif); letter-spacing: -.01em; margin: 40px 0 10px; }
.legal h3 { font-size: 18px; margin: 24px 0 6px; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal ul { padding-left: 22px; }
.legal li { margin: 5px 0; }
.legal p, .legal li { overflow-wrap: anywhere; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.legal .summary { background: var(--sage); border: 1px solid #cfdac9; border-radius: 18px; padding: 20px 22px; margin: 0 0 12px; }
.legal .summary ul { margin: 8px 0 0; }
.legal .card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; margin: 14px 0; }
.legal .card h3 { margin-top: 0; }
.not-found { text-align: center; padding: 120px 0; }
.not-found h1 { font: 400 clamp(40px, 7vw, 72px)/1.05 var(--serif); }
