/* ==========================================================================
   Min Børnepasser — website
   Warm, calm, editorial. Brand: terracotta #B56B3E on cream #F8F4EF.
   System fonts only (no external font calls → GDPR-friendly, fast).
   ========================================================================== */

:root {
  /* Brand */
  --clay: #b56b3e;
  --clay-dark: #9a5730;
  --clay-darker: #814826;
  --clay-soft: #c98a5f;
  --clay-tint: #f0e2d6;

  /* Surfaces */
  --cream: #f8f4ef;
  --cream-2: #f2ebe2;
  --card: #ffffff;
  --card-2: #fbf7f2;

  /* Ink */
  --ink: #2a2420;
  --ink-2: #4a4038;
  --muted: #7a6e64;
  --line: #ebe1d6;
  --line-2: #e0d4c6;

  /* Accents */
  --sage: #3f7a4e;
  --sage-tint: #e4efe6;
  --gold: #c8892f;

  /* Shape & motion */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(64, 44, 28, .06), 0 2px 8px rgba(64, 44, 28, .05);
  --shadow: 0 4px 12px rgba(64, 44, 28, .08), 0 12px 32px rgba(64, 44, 28, .08);
  --shadow-lg: 0 12px 28px rgba(64, 44, 28, .12), 0 30px 60px rgba(64, 44, 28, .14);
  --maxw: 1120px;

  --serif: "Iowan Old Style", "Palatino Linotype", "Palatino", "Georgia", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #1a1512;
    --cream-2: #221b16;
    --card: #241d18;
    --card-2: #2b231d;

    --ink: #f3ebe2;
    --ink-2: #e3d7ca;
    --muted: #b0a294;
    --line: #382f28;
    --line-2: #453a31;

    --clay: #cf8552;
    --clay-dark: #b56b3e;
    --clay-soft: #dda579;
    --clay-tint: #3a2c22;

    --sage: #6fae7f;
    --sage-tint: #24322a;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 8px rgba(0, 0, 0, .25);
    --shadow: 0 4px 12px rgba(0, 0, 0, .35), 0 12px 32px rgba(0, 0, 0, .35);
    --shadow-lg: 0 12px 28px rgba(0, 0, 0, .45), 0 30px 60px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

/* ------------------------------ reset ---------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }

/* ------------------------------ layout --------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 116px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: .8rem; font-weight: 650;
  letter-spacing: .09em; text-transform: uppercase; color: var(--clay-dark);
  margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--clay); }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-head p { color: var(--muted); font-size: 1.12rem; margin-top: 18px; }

/* ------------------------------ buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 620; font-size: 1rem; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--clay); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--clay-dark); box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--clay); color: var(--clay-dark); }
.btn-lg { padding: 17px 28px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

/* ------------------------------ header --------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 1.16rem; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.brand span { white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px; font-size: .96rem; font-weight: 520; color: var(--ink-2);
  transition: background .16s ease, color .16s ease;
}
.nav-links a:hover { background: var(--cream-2); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 10px 18px; font-size: .95rem; }
.nav-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex; margin-left: auto; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2);
    background: var(--card); cursor: pointer; color: var(--ink);
  }
  .nav-cta { display: none; }
  .mobile-menu {
    display: none; padding: 8px 24px 20px; border-bottom: 1px solid var(--line);
    background: var(--cream);
  }
  .mobile-menu.open { display: block; }
  .mobile-menu a {
    display: block; padding: 13px 6px; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--line);
  }
  .mobile-menu a:last-child { border-bottom: 0; }
  .mobile-menu .btn { display: flex; margin-top: 14px; }
}

/* ------------------------------ hero ----------------------------------- */
.hero { position: relative; padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 82% 8%, color-mix(in srgb, var(--clay) 16%, transparent), transparent 70%),
    radial-gradient(50% 45% at 6% 92%, color-mix(in srgb, var(--sage) 12%, transparent), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .86rem; color: var(--ink-2); font-weight: 520; margin-bottom: 26px;
}
.hero-badge b { color: var(--clay-dark); }
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px var(--sage-tint); }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.hero h1 .accent { color: var(--clay); }
.hero .lede { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-2); margin-top: 22px; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: .92rem; color: var(--muted); }
.hero-note svg { width: 17px; height: 17px; color: var(--sage); flex: none; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin: 0 auto 8px; }
  .hero .lede { max-width: none; }
}

/* ------------------------- phone mockup -------------------------------- */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-stage::after {
  content: ""; position: absolute; width: 78%; height: 62%; left: 11%; bottom: -6%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--clay) 22%, transparent), transparent);
  filter: blur(30px); opacity: .7;
}
.phone {
  width: 300px; max-width: 82vw; background: #17120e; border-radius: 42px; padding: 12px;
  box-shadow: var(--shadow-lg); position: relative;
}
.phone-screen {
  background: var(--cream); border-radius: 32px; overflow: hidden; position: relative;
  aspect-ratio: 300 / 620; display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 5;
  width: 108px; height: 26px; background: #17120e; border-radius: 999px;
}
.app-bar {
  padding: 40px 18px 14px; background: var(--card); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.app-bar .avatar { width: 34px; height: 34px; border-radius: 10px; background: var(--clay); flex: none; }
.app-bar .t-title { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; }
.app-bar .t-sub { font-size: .72rem; color: var(--muted); }
.app-body { padding: 14px; overflow: hidden; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.mini-seg { display: flex; gap: 6px; background: var(--cream-2); padding: 4px; border-radius: 12px; font-size: .74rem; }
.mini-seg span { flex: 1; text-align: center; padding: 7px 0; border-radius: 9px; color: var(--muted); font-weight: 550; }
.mini-seg span.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.day-tag { font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 4px 2px 0; }
.kid {
  display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow-sm);
}
.kid .face { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.kid .info { flex: 1; min-width: 0; }
.kid .name { font-size: .84rem; font-weight: 620; }
.kid .time { font-size: .7rem; color: var(--muted); }
.pill { font-size: .64rem; font-weight: 650; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.pill.here { background: var(--sage-tint); color: var(--sage); }
.pill.sick { background: #f7e2df; color: #b3402f; }
.pill.free { background: #e7efe8; color: #3f7a4e; }
@media (prefers-color-scheme: dark) {
  .pill.sick { background: #3a221f; color: #e79184; }
}

/* ------------------------- logo/trust strip ---------------------------- */
.trust { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; padding: 26px 24px; }
.trust .not {
  display: inline-flex; align-items: center; gap: 9px; font-size: 1rem; color: var(--muted); font-weight: 520;
}
.trust .not svg { width: 18px; height: 18px; color: var(--clay); opacity: .8; }
.trust .not b { color: var(--ink); font-weight: 620; }

/* ------------------------------ features ------------------------------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
/* 2×2 variant (fx forældre-afsnittet med 4 kort) */
.feature-grid.grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 560px) { .feature-grid.grid-2 { grid-template-columns: 1fr; } }
.f-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.f-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.f-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--clay-tint); color: var(--clay-dark);
}
.f-ico svg { width: 24px; height: 24px; }
.f-card h3 { font-size: 1.22rem; }
.f-card p { color: var(--muted); margin-top: 9px; font-size: .98rem; }
/* Plan-mærke i et funktionskort — samme clay-farve som "Mest populær",
   men lille og inline, så overskriften stadig er overskriften. */
.f-plan { display: inline-block; vertical-align: middle; margin-left: 8px; background: var(--clay); color: #fff; font-size: .64rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }

/* ------------------------- showcase (split) ---------------------------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.showcase + .showcase { margin-top: clamp(48px, 7vw, 96px); }
.showcase.rev .showcase-media { order: 2; }
@media (max-width: 820px) {
  .showcase { grid-template-columns: 1fr; gap: 36px; }
  .showcase.rev .showcase-media { order: 0; }
  .showcase-media { max-width: 340px; margin: 0 auto; }
}
.showcase-copy h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.showcase-copy > p { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; color: var(--ink-2); }
.check-list li svg { width: 22px; height: 22px; color: var(--sage); flex: none; margin-top: 1px; }

/* board photo mock */
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.board-grid div { aspect-ratio: 1; border-radius: 8px; }
.chat-row { display: flex; margin-top: 8px; }
.bubble { max-width: 78%; padding: 9px 12px; border-radius: 14px; font-size: .8rem; line-height: 1.4; }
.bubble.them { background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.bubble.me { background: var(--clay); color: #fff; margin-left: auto; border-bottom-right-radius: 5px; }

/* ------------------------------ steps ---------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; box-shadow: var(--shadow-sm); }
.step .num {
  counter-increment: step; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: #fff; background: var(--clay); margin-bottom: 16px;
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin-top: 8px; font-size: .98rem; }

/* ------------------------------ roles ---------------------------------- */
.roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 720px; margin-left: auto; margin-right: auto; }
@media (max-width: 820px) { .roles { grid-template-columns: 1fr; } }
.role { border-radius: var(--radius); padding: 28px 26px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm); }
.role.lead { background: linear-gradient(160deg, var(--clay) 0%, var(--clay-dark) 100%); color: #fff; border-color: transparent; box-shadow: var(--shadow); }
.role .tag { font-size: .78rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; opacity: .85; }
.role h3 { font-size: 1.35rem; margin-top: 10px; }
.role.lead h3 { color: #fff; }
.role p { margin-top: 12px; font-size: .98rem; color: var(--muted); }
.role.lead p { color: rgba(255,255,255,.9); }
.role ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; font-size: .94rem; }
.role li { display: flex; gap: 9px; align-items: flex-start; }
.role li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--sage); }
.role.lead li svg { color: #fff; }

/* ------------------------------ trust band ----------------------------- */
.privacy { background: var(--card-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .privacy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .privacy-grid { grid-template-columns: 1fr; } }
.p-item { }
.p-item .p-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--sage-tint); color: var(--sage); display: grid; place-items: center; margin-bottom: 14px; }
.p-item .p-ico svg { width: 22px; height: 22px; }
.p-item h3 { font-size: 1.1rem; }
.p-item p { color: var(--muted); margin-top: 8px; font-size: .95rem; }

/* ------------------------------ FAQ ------------------------------------ */
/* ------------------------------ PRISER --------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.price-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--clay); box-shadow: var(--shadow); }
.badge-pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--clay); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .03em; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.plan-price { margin-top: 14px; display: flex; align-items: baseline; gap: 5px; }
.plan-price .amount { font-family: var(--serif); font-size: 2.5rem; font-weight: 600; color: var(--ink); line-height: 1; }
.plan-price .per { color: var(--muted); font-size: 1.05rem; }
.plan-sub { color: var(--muted); font-size: .9rem; margin-top: 7px; }
.plan-feats { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 11px; flex: 1; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; color: var(--ink-2); line-height: 1.4; }
.plan-feats li.no { color: var(--muted); }
.plan-feats li svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.plan-feats li.yes svg { color: var(--sage); }
.plan-feats li.no svg { color: var(--line-2); }
.price-card .btn { width: 100%; }

.addon-note { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--clay); border-radius: var(--radius-sm); padding: 18px 22px; }
.addon-note b { color: var(--ink); }
.addon-note span { color: var(--muted); }
.all-include { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 18px; }

.compare-title { text-align: center; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); margin: 60px 0 26px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-table th, .compare-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.compare-table thead th { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; text-align: center; }
.compare-table thead th:first-child { text-align: left; }
.compare-table td { text-align: center; color: var(--ink-2); }
.compare-table td:first-child, .compare-table tbody th { text-align: left; color: var(--ink); font-weight: 500; }
.compare-table th:nth-child(4), .compare-table td:nth-child(4) { background: var(--clay-tint); }
.compare-table thead th:nth-child(4) { border-top-left-radius: 8px; border-top-right-radius: 8px; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-yes { color: var(--sage); font-weight: 800; font-size: 1.1rem; }
.compare-no { color: var(--line-2); font-weight: 700; }
.compare-price td { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--ink); }

.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 8px;
  display: flex; align-items: center; gap: 16px; font-family: var(--serif); font-size: 1.16rem; font-weight: 600; color: var(--ink);
}
.faq-q .chev { margin-left: auto; flex: none; width: 22px; height: 22px; color: var(--clay); transition: transform .25s ease; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { color: var(--muted); padding: 0 8px 22px 38px; font-size: 1.02rem; }

/* ------------------------------ CTA band ------------------------------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--clay) 0%, var(--clay-dark) 55%, var(--clay-darker) 100%);
  color: #fff; padding: clamp(44px, 6vw, 76px) clamp(28px, 5vw, 68px); text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(50% 60% at 85% 10%, rgba(255,255,255,.22), transparent 60%),
              radial-gradient(40% 50% at 10% 100%, rgba(0,0,0,.18), transparent 60%);
}
.cta > * { position: relative; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); color: #fff; }
.cta p { margin: 18px auto 0; max-width: 52ch; color: rgba(255,255,255,.92); font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.cta .btn-primary { background: #fff; color: var(--clay-dark); }
.cta .btn-primary:hover { background: #fff; color: var(--clay-darker); }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }

/* ------------------------------ footer --------------------------------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding: 56px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 1.1rem; margin-bottom: 14px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-col p { color: var(--muted); font-size: .94rem; max-width: 30ch; }
.footer-col h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-2); font-size: .96rem; }
.footer-col a:hover { color: var(--clay-dark); }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: .88rem;
}

/* ------------------------- reveal on scroll ---------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ------------------------- generic pages ------------------------------- */
.doc { max-width: 760px; margin: 0 auto; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: .92rem; margin-bottom: 36px; }
.doc h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.doc h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.doc p, .doc li { color: var(--ink-2); font-size: 1.03rem; }
.doc p { margin: 12px 0; }
.doc ul { padding-left: 22px; display: grid; gap: 8px; }
.doc a { color: var(--clay-dark); text-decoration: underline; text-underline-offset: 3px; }
.callout {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--clay);
  border-radius: var(--radius-sm); padding: 18px 20px; margin: 24px 0;
}
.callout p { margin: 0; }
