/* Work Day Calculator — palette taken from the logo */

/* Self-hosted fonts (SIL Open Font License) — no third-party requests */
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/fredoka-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/fredoka-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); }

:root {
  --ink: #413757;          /* logo lettering */
  --ink-soft: #625a7a;
  --cream: #fff8ee;        /* page background */
  --paper: #ffffff;
  --peach: #ffdcb5;        /* logo sun */
  --peach-soft: #ffeedd;
  --desk: #d77c41;         /* desk / warm accent (decorative) */
  --desk-deep: #a4521d;    /* text-safe warm accent */
  --heart: #e0192b;        /* holiday accent */
  --bolt: #00b3f2;         /* energy / hours accent */
  --bolt-deep: #006e99;
  --cat: #707070;
  --focus: #006e99;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 5px 0 var(--ink);
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--desk-deep); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 28px; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }

/* ---------- Card ---------- */
.card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 2px solid var(--ink); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.brand-top { font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; text-transform: uppercase; }
.brand-bottom { font-weight: 600; font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; margin-top: 3px; }
.main-nav { display: flex; gap: 6px; position: relative; }
.country-menu summary {
  list-style: none; cursor: pointer; font-family: var(--font-display); font-weight: 600; min-height: 44px;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--peach);
}
.country-menu summary::-webkit-details-marker { display: none; }
.country-menu summary::after { content: ""; width: 8px; height: 8px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg) translateY(-2px); }
.country-menu[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.country-menu ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; list-style: none; margin: 0; padding: 8px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow); min-width: 220px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.country-menu li a { display: flex; align-items: center; min-height: 44px; padding: 6px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.country-menu li a:hover { background: var(--peach-soft); color: var(--ink); }
.country-menu li a[aria-current="page"] { background: var(--peach); }
@media (min-width: 560px) { .country-menu ul { min-width: 340px; } }
.main-nav a {
  font-family: var(--font-display); font-weight: 600; text-decoration: none;
  padding: 8px 16px; border-radius: 999px; border: 2px solid transparent; min-height: 44px; display: inline-flex; align-items: center;
}
.main-nav a:hover { background: var(--peach-soft); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--peach); border-color: var(--ink); }

.newday { background: var(--ink); color: #fff; }
.newday-inner { display: flex; gap: 12px; align-items: center; justify-content: center; padding-block: 10px; flex-wrap: wrap; }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 14px 0 0; margin: 0; font-size: .9rem; }
.breadcrumbs li + li::before { content: "›"; margin-right: 4px; color: var(--ink-soft); }
.breadcrumbs a { color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 36px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -120px; top: -160px;
  width: 520px; height: 520px; border-radius: 50%; background: var(--peach); opacity: .55;
}
body { position: relative; isolation: isolate; }
.hero-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; } }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .08em;
  text-transform: uppercase; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 14px; margin-bottom: 16px;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); font-weight: 700; letter-spacing: -.01em; }
.h1-sub { display: block; font-size: .5em; font-weight: 600; color: var(--desk-deep); margin-top: .35em; letter-spacing: 0; }
.lede { font-size: 1.15rem; max-width: 36em; }
.today-line { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; margin: 4px 0 0; }
.dot { margin-top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--bolt); box-shadow: 0 0 0 4px rgba(0,179,242,.2); flex: none; }

.hero-home .hero-art { display: flex; justify-content: center; }
.hero-home .hero-art img { width: min(320px, 70vw); }

/* ---------- Controls ---------- */
.controls { padding: 20px; display: grid; gap: 18px; }
.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.label { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: 8px; padding: 0; }
.hint { margin: 6px 0 0; font-size: .9rem; color: var(--ink-soft); }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
select {
  width: 100%; appearance: none; font: inherit; font-weight: 700; color: var(--ink);
  background: var(--peach-soft); border: 2px solid var(--ink); border-radius: var(--radius-sm);
  padding: 12px 44px 12px 14px; min-height: 48px; cursor: pointer;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--paper); text-decoration: none; font-weight: 700; color: var(--ink);
}
.pill:hover { background: var(--peach-soft); color: var(--ink); }
.pill[aria-current="true"] { background: var(--ink); color: #fff; }
.pill-static { cursor: default; }

.segmented { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--paper); }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented label { padding: 10px 18px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; cursor: pointer; }
.segmented label:not(:first-of-type) { border-left: 2px solid var(--ink); }
.segmented input:checked + label { background: var(--peach); }
.segmented input:checked + label::before { content: "✓ "; white-space: pre; }
.segmented input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: -5px; border-radius: 999px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 800; color: var(--ink);
  background: var(--peach); border: 2px solid var(--ink); border-radius: 999px; padding: 10px 20px; min-height: 44px;
  box-shadow: 0 3px 0 var(--ink); cursor: pointer; text-decoration: none;
}
.btn:hover { background: #ffd09d; color: var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn-small { padding: 6px 14px; min-height: 36px; }
.btn-ghost { background: var(--paper); }

/* ---------- Results ---------- */
.results { display: grid; gap: 20px; }
.result-main {
  position: relative; overflow: hidden; padding: 28px 24px; display: grid; gap: 18px; align-items: center;
  background: linear-gradient(135deg, var(--paper) 55%, var(--peach-soft));
}
@media (min-width: 720px) { .result-main { grid-template-columns: auto 1fr; gap: 36px; padding: 36px 40px; } }
.sun { position: absolute; left: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; background: var(--peach); z-index: 0; }
.result-number { position: relative; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
.num {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 3rem + 9vw, 8.5rem); line-height: .9;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.num-label { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; margin-top: 6px; }
.result-meta { position: relative; z-index: 1; }
.range { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-bottom: 4px; display: flex; gap: 8px; flex-wrap: wrap; }
.result-sentence { margin-top: 12px; max-width: 34em; }
.result-error { background: #fff4f0; border-color: var(--heart); }
.result-error h2 { font-size: 1.4rem; }

.stat-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.stat { padding: 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stat-label { font-weight: 700; font-size: .95rem; color: var(--ink-soft); }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-value-sm { font-size: 1.5rem; }
.stat-sub { font-size: .85rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.stat-icon { width: 38px; height: 38px; border-radius: 12px; border: 2px solid var(--ink); background: var(--peach-soft) center / 22px no-repeat; margin-bottom: 8px; }
.icon-cal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23413757' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.icon-sat, .icon-sun { background-color: #fff3c4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23413757' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); }
.icon-sun { background-color: var(--peach); }
.icon-weekend { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23413757' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h12v5a5 5 0 0 1-5 5h-2a5 5 0 0 1-5-5z'/%3E%3Cpath d='M17 10h1.5a2.5 2.5 0 0 1 0 5H17M8 2.5c0 1.5 1 1.5 1 3M12 2.5c0 1.5 1 1.5 1 3'/%3E%3C/svg%3E"); }
.icon-heart { background-color: #ffe1e3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e0192b' stroke='%23413757' stroke-width='2' d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E"); }
.icon-bolt { background-color: #dff5fd; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2300b3f2' stroke='%23413757' stroke-width='2' stroke-linejoin='round' d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.icon-clock { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23413757' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.icon-next { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffdcb5' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.stat-next { background: var(--peach-soft); }
.footnote { font-size: .85rem; color: var(--ink-soft); margin: 0; }

/* ---------- Progress ---------- */
.progress { padding: 22px 24px; margin: 36px 0 8px; }
.progress-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.progress-head h2 { font-size: 1.4rem; margin: 0; }
.progress-pct { margin: 0; }
.progress-pct strong { font-family: var(--font-display); font-size: 1.5rem; }
.bar { height: 26px; border: 2px solid var(--ink); border-radius: 999px; background: var(--peach-soft); overflow: hidden; margin: 14px 0 16px; }
.bar-fill {
  display: block; height: 100%; border-right: 2px solid var(--ink);
  background: repeating-linear-gradient(-45deg, var(--desk) 0 12px, #e8904f 12px 24px);
}
.progress-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 0; }
.progress-stats div { background: var(--cream); border-radius: var(--radius-sm); padding: 10px 14px; }
.progress-stats dt { font-size: .9rem; color: var(--ink-soft); font-weight: 700; }
.progress-stats dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }

/* ---------- Sections ---------- */
.section { padding-block: 32px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
.section-title { margin-bottom: 18px; }

/* Holidays */
.holiday-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 820px) { .holiday-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.holiday { display: flex; gap: 16px; padding: 16px; align-items: flex-start; }
.date-badge {
  flex: none; width: 76px; text-align: center; border: 2px solid var(--ink); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; background: var(--paper); font-family: var(--font-display);
}
.db-dow { background: var(--heart); color: #fff; font-weight: 600; font-size: .85rem; padding: 3px 0; text-transform: uppercase; letter-spacing: .05em; }
.db-day { font-size: 2rem; font-weight: 700; line-height: 1.1; padding-top: 4px; }
.db-mon { font-size: .9rem; font-weight: 600; padding-bottom: 6px; text-transform: uppercase; }
.holiday-body { min-width: 0; }
.holiday-name { margin: 2px 0 2px; font-size: 1.25rem; }
.holiday-date { margin: 0 0 8px; color: var(--ink-soft); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.chip { font-size: .8rem; font-weight: 700; border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px 10px; background: var(--cream); }
.chip-alt { background: #dff5fd; }
.holiday-muted { background: #fbf7f2; }
.chip-warn { background: #ffe1e3; }
.chip-muted { background: #eeeaf4; }
.hint-strong { color: var(--desk-deep); font-weight: 700; }
.other-h { margin: 22px 0 10px; font-size: 1.1rem; }
.holiday-note { margin: 10px 0 0; font-size: .93rem; background: var(--peach-soft); border-radius: 10px; padding: 8px 12px; }
.empty { display: flex; gap: 18px; align-items: center; padding: 22px; }
.empty p { margin: 0; font-weight: 700; }
.notice { padding: 18px 22px; }

/* Explainer */
.explain-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .explain-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.explain h2 { font-size: 1.6rem; }
.equation { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 16px 18px; margin: 0 0 16px; box-shadow: none; background: var(--peach-soft); }
.eq-part b { font-family: var(--font-display); font-size: 1.5rem; margin-right: 4px; }
.eq-op { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--desk-deep); }
.eq-result { background: var(--ink); color: #fff; border-radius: 999px; padding: 2px 14px; }

/* Link cards */
.link-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .link-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.link-card { display: flex; align-items: center; gap: 14px; padding: 14px 18px; text-decoration: none; font-weight: 700; min-height: 64px; }
.link-card:hover { background: var(--peach-soft); color: var(--ink); }
.lc-year { font-family: var(--font-display); font-weight: 700; background: var(--peach); border: 2px solid var(--ink); border-radius: 12px; padding: 4px 10px; flex: none; }
.lc-arrow { margin-left: auto; font-size: 1.3rem; }

/* Home */
.place-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.place { display: flex; flex-direction: column; padding: 20px; text-decoration: none; height: 100%; transition: transform .15s ease; }
.place:hover { transform: translateY(-3px); color: var(--ink); background: var(--peach-soft); }
.place-country { align-self: flex-start; font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .1em; background: var(--ink); color: #fff; border-radius: 999px; padding: 2px 10px; }
.place-name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; }
.place-region { color: var(--ink-soft); font-size: .9rem; font-weight: 700; }
.place-num { font-family: var(--font-display); font-weight: 700; font-size: 4rem; line-height: 1; margin-top: 10px; font-variant-numeric: tabular-nums; }
.place-label { font-weight: 700; }
.place-sub { color: var(--ink-soft); font-size: .92rem; }
.place-cta { margin-top: auto; padding-top: 14px; font-weight: 800; color: var(--desk-deep); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 22px; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--peach); border: 2px solid var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 10px; }
.step p { margin: 0; }

/* Month table */
.table-wrap { overflow-x: auto; padding: 6px; }
.months { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.months th, .months td { padding: 10px 12px; text-align: right; border-bottom: 1.5px solid #eadfd3; white-space: nowrap; }
.months th[scope="row"], .months thead th:first-child { text-align: left; }
.months thead th { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.months tbody tr:hover { background: var(--peach-soft); }
.months tfoot th, .months tfoot td { border-bottom: 0; font-weight: 800; background: var(--peach-soft); }
.months abbr { text-decoration: none; }
@media (max-width: 480px) { .months th, .months td { padding: 8px 6px; font-size: .93rem; } }

/* FAQ */
.faq { padding-block: 32px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 0; box-shadow: 0 3px 0 var(--ink); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 800; position: relative; min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--peach); border: 2px solid var(--ink);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 20px 18px; margin: 0; }

.source { padding-block: 8px 36px; font-size: .95rem; }
.source p { margin: 0 0 4px; }
.warn-text { color: #9b1020; font-weight: 700; }

.notfound { text-align: center; display: flex; flex-direction: column; align-items: center; padding-block: 24px; }
.notfound .pills { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #f3eefc; margin-top: 24px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--peach); }
.site-footer .muted { color: #cfc7e4; }
.footer-grid { display: grid; gap: 28px; padding-block: 40px 20px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.brand-footer { color: #fff; margin-bottom: 12px; }
.brand-footer img { background: var(--cream); border-radius: 50%; }
.footer-h { font-size: 1.05rem; color: var(--peach); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.18); padding-block: 16px 24px; font-size: .88rem; color: #cfc7e4; }
.footer-base p { margin: 0; }

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