/* ==========================================================================
   Kodiroku — "Handbook" design system (en-CA).
   A third, distinct identity vs sibling sites: warm sage-cream paper, deep
   EVERGREEN brand, warm CORAL accent, generous SOFT rounding. Type pairs a
   friendly SLAB-SERIF headline (Zilla Slab) with a humanist SANS reading face
   (Figtree). Large type + high contrast for a 55+ audience.
   Clearly an ADVERTISEMENT — never disguised as news or a government site.
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------- */
:root {
  --bg:          #F1F4EC;   /* light sage cream */
  --surface:     #FFFFFF;
  --surface-2:   #F6F8F1;
  --ink:         #19281F;   /* deep pine, near-black */
  --text:        #2C3A30;
  --muted:       #5E6B61;
  --muted-2:     #7E8C80;

  --brand:       #1F5D45;   /* evergreen / pine */
  --brand-700:   #174A38;
  --brand-900:   #0F3326;
  --brand-50:    #E5EFE9;

  --accent:      #BD4A2E;   /* warm coral / clay (AA on white) */
  --accent-600:  #9C3D26;
  --accent-50:   #F8E6DF;

  --line:        #DCE4D6;
  --line-strong: #C6D1BF;

  --ad-bg:       #E9EDE2;   /* utilitarian advert chrome */
  --ad-ink:      #5E6A5C;

  --ok:          #1F7A52;   /* confirmed */
  --warn:        #B0602A;   /* caution */

  --focus:       #1F5D45;

  --r-sm: 11px; --r: 16px; --r-lg: 22px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15,51,38,.06), 0 2px 4px rgba(15,51,38,.05);
  --shadow:    0 3px 8px rgba(15,51,38,.07), 0 12px 30px rgba(15,51,38,.07);
  --shadow-lg: 0 16px 48px rgba(15,51,38,.16);

  --maxw: 1090px;
  --col:  720px;            /* reading column */

  --ff-serif: "Zilla Slab", Georgia, "Times New Roman", serif;
  --ff-sans:  "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-sans);
  font-size: 1.125rem;          /* 18px base for 55+ */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-700); }
strong { font-weight: 700; color: var(--ink); }
h1, h2, h3 { font-family: var(--ff-serif); color: var(--ink); line-height: 1.16; font-weight: 600; letter-spacing: -.005em; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.25rem); margin: 0 0 .5em; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); margin: 0 0 .4em; font-weight: 600; }
p { margin: 0 0 1.1em; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.col  { max-width: var(--col); margin-inline: auto; }

/* ---------- Advertisement marking bar (Block 0) -------------------------- */
.ad-mark {
  background: var(--ad-bg);
  color: var(--ad-ink);
  border-bottom: 1px solid var(--line-strong);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ad-mark__row {
  display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-items: center;
  padding: .55rem clamp(1rem, 4vw, 2rem); max-width: var(--maxw); margin-inline: auto;
  font-weight: 700;
}
.ad-mark__tag {
  background: var(--accent); color: #fff; padding: .18rem .65rem; border-radius: var(--r-pill);
  letter-spacing: .14em;
}
.ad-mark__by { font-weight: 600; text-transform: none; letter-spacing: 0; color: #6f7a6c; }

/* ---------- Header ------------------------------------------------------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; flex: 0 0 auto; }
.brand__name { font-family: var(--ff-serif); font-weight: 700; font-size: 1.45rem; color: var(--ink); letter-spacing: -.01em; line-height: 1; }
.brand__tag  { display: block; font-family: var(--ff-sans); font-size: .64rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); margin-top: .2rem; }
.nav { display: none; gap: 1.4rem; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--brand); }
.header-badge { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #fff; background: var(--accent); padding: .3rem .65rem; border-radius: var(--r-pill); }
@media (min-width: 900px) { .nav { display: inline-flex; } }

/* Government non-affiliation strip — under header, always visible. */
.gov-strip { background: var(--brand-900); color: #D8E8DF; font-size: .9rem; }
.gov-strip p { margin: 0; padding-block: .6rem; }
.gov-strip strong { color: #fff; }

/* ---------- Hero --------------------------------------------------------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; gap: clamp(1.2rem, 3vw, 2.2rem); padding-block: clamp(1.6rem, 4vw, 2.8rem); }
.hero__kicker { display: inline-flex; align-items: center; gap: .55rem; align-self: start; color: var(--accent-600); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.hero__kicker::before { content: ""; width: 11px; height: 11px; background: var(--accent); border-radius: 50%; display: inline-block; }
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); font-weight: 700; margin: .55rem 0 .6rem; letter-spacing: -.015em; }
.hero__sub { font-size: 1.2rem; color: var(--muted); margin-bottom: 1rem; max-width: 40ch; }
.hero__meta { font-size: .9rem; color: var(--muted-2); display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: center; }
.hero__meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .6; }
.hero__figure { margin: 0; }
.hero__figure img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 16/9.5; object-fit: cover; background: var(--surface-2); box-shadow: var(--shadow); border: 4px solid #fff; outline: 1px solid var(--line); }
.hero__figcap { font-size: .78rem; color: var(--muted-2); margin-top: .55rem; }
@media (min-width: 880px) { .hero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; } }

/* ---------- Generic section spacing -------------------------------------- */
.section { padding-block: clamp(2rem, 5vw, 3.4rem); }
.section--tint { background: var(--surface-2); border-block: 1px solid var(--line); }
.section--ink  { background: var(--brand-900); color: #D8E8DF; }
.section__head { margin-bottom: 1.6rem; }
.kicker { color: var(--accent-600); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .55rem; display: inline-flex; align-items: center; gap: .5rem; }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--accent); display: inline-block; }
.section--ink .kicker { color: #E7A78f; }
.section--ink h2 { color: #fff; }
.lede { font-size: 1.2rem; color: var(--muted); }
.section--ink .lede { color: #BBD2C7; }

/* ---------- Intro + Important-first box (Block 2) ------------------------ */
.intro p { font-size: 1.22rem; line-height: 1.65; color: var(--text); }
.intro p:first-of-type { font-size: 1.32rem; }
.notice { background: var(--accent-50); border: 1px solid #ECCFC4; border-left: 5px solid var(--accent); border-radius: var(--r); padding: 1.1rem 1.2rem; margin: 1.6rem 0; font-size: 1.02rem; color: #5c3325; }
.notice strong { color: #6e3a28; }
.notice--plain { background: var(--surface); border-color: var(--line-strong); border-left-color: var(--brand); color: var(--text); }

/* ---------- Key figures (Block 3) ---------------------------------------- */
.figures { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.figure-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--r); padding: 1.2rem 1.1rem; box-shadow: var(--shadow-sm); }
.figure-card .num { font-family: var(--ff-serif); font-weight: 700; font-size: clamp(1.9rem, 5vw, 2.55rem); color: var(--brand); line-height: 1; letter-spacing: -.01em; }
.figure-card .lab { display: block; margin-top: .5rem; font-size: .98rem; color: var(--text); }
.ref { font-size: .6em; vertical-align: super; color: var(--accent-600); text-decoration: none; font-weight: 700; margin-left: .15em; }
.ref:hover { text-decoration: underline; }
@media (min-width: 760px) { .figures { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Article sections (Block 4) ----------------------------------- */
.topic { padding-block: clamp(1.6rem, 4vw, 2.4rem); border-top: 1px solid var(--line); }
.topic:first-of-type { border-top: 0; }
.topic__who { display: inline-block; background: var(--brand-50); color: var(--brand-700); border-radius: var(--r-pill); padding: .4rem .95rem; font-size: .92rem; font-weight: 600; margin: .3rem 0 1rem; }
.topic__who b { font-weight: 700; color: var(--brand-900); }
.topic p { font-size: 1.1rem; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.2rem 0 .6rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 1.02rem; min-width: 420px; }
table.data caption { text-align: left; font-size: .85rem; color: var(--muted-2); padding: .6rem .9rem; }
table.data th, table.data td { padding: .8rem .9rem; text-align: left; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--brand); color: #fff; font-weight: 600; font-size: .92rem; letter-spacing: .01em; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody td:last-child { font-weight: 700; color: var(--brand-700); }
.table-note { font-size: .85rem; color: var(--muted-2); margin: .5rem 0 0; }

/* ---------- Who this affects (Block 5) ----------------------------------- */
.who-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.who-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.15rem; box-shadow: var(--shadow-sm); display: flex; gap: .85rem; align-items: flex-start; }
.who-card .ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.who-card .ico svg { width: 22px; height: 22px; }
.who-card h3 { font-family: var(--ff-serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); margin: 0 0 .2rem; }
.who-card p { margin: 0; font-size: .98rem; color: var(--muted); }
@media (min-width: 620px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Myths & facts (Block 6) -------------------------------------- */
.myths { display: grid; gap: 1rem; }
.myth { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.myth__row { display: grid; gap: 0; grid-template-columns: 1fr; }
.myth__side { padding: 1rem 1.15rem; }
.myth__myth { background: var(--accent-50); border-bottom: 1px solid var(--line); }
.myth__tag { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .35rem; }
.myth__myth .myth__tag { color: var(--accent-600); }
.myth__fact .myth__tag { color: var(--ok); }
.myth__side p { margin: 0; font-size: 1.02rem; }
.myth__myth p { color: #74392a; }
@media (min-width: 720px) {
  .myth__row { grid-template-columns: 1fr 1.1fr; }
  .myth__myth { border-bottom: 0; border-right: 1px solid var(--line); }
}

/* ---------- Where things stand (Block 7) --------------------------------- */
.status-grid { display: grid; gap: .8rem; grid-template-columns: 1fr; }
.status-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1.1rem; box-shadow: var(--shadow-sm); }
.status-item .lab { font-weight: 600; color: var(--ink); }
.pill { font-size: .82rem; font-weight: 700; letter-spacing: .02em; padding: .32rem .8rem; border-radius: var(--r-pill); white-space: nowrap; }
.pill--confirmed { background: #E2F2E9; color: var(--ok); }
.pill--from { background: var(--brand-50); color: var(--brand-700); }
.pill--frozen { background: var(--accent-50); color: var(--warn); }
@media (min-width: 720px) { .status-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sources (Block 8) -------------------------------------------- */
.sources { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.3rem; }
.sources ol { margin: .6rem 0 0; padding-left: 1.4rem; }
.sources li { margin-bottom: .55rem; font-size: .98rem; }
.sources li a { color: var(--brand); }
.sources__note { font-size: .92rem; color: var(--muted); margin: 0 0 .4rem; }

/* ---------- Quiz (Block 9) ----------------------------------------------- */
.quiz { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.quiz__head { background: var(--brand); color: #fff; padding: 1.3rem clamp(1.1rem, 4vw, 1.8rem); }
.quiz__head h2 { color: #fff; margin: 0 0 .25rem; font-size: clamp(1.4rem, 3.2vw, 1.9rem); }
.quiz__head p { margin: 0; color: #CFE3D8; font-size: 1rem; }
.quiz__progress { padding: 1rem clamp(1.1rem, 4vw, 1.8rem) 0; }
.quiz__bar { height: 8px; background: var(--line); border-radius: var(--r-pill); overflow: hidden; }
.quiz__bar > span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: var(--r-pill); transition: width .3s ease; }
.quiz__step-label { font-size: .85rem; color: var(--muted); margin: .5rem 0 0; font-weight: 600; }
.quiz__body { padding: 1.2rem clamp(1.1rem, 4vw, 1.8rem) 1.6rem; }
.quiz__q { font-family: var(--ff-serif); font-size: clamp(1.35rem, 3vw, 1.7rem); font-weight: 600; color: var(--ink); margin: .3rem 0 1rem; }
.quiz__hint { font-size: .95rem; color: var(--muted); margin: -.6rem 0 1rem; }

.quiz__options { display: grid; gap: .7rem; }
.opt { display: flex; align-items: center; gap: .85rem; cursor: pointer; border: 2px solid var(--line-strong); border-radius: var(--r); background: var(--surface); padding: 1rem 1.1rem; font-size: 1.08rem; font-weight: 500; color: var(--text); min-height: 60px; transition: border-color .15s, background .15s, box-shadow .15s; }
.opt:hover { border-color: var(--brand); background: var(--brand-50); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .box { flex: 0 0 auto; width: 26px; height: 26px; border: 2px solid var(--line-strong); background: #fff; display: grid; place-items: center; transition: border-color .15s, background .15s; }
.opt[data-type="single"] .box { border-radius: 50%; }
.opt[data-type="multi"] .box { border-radius: 8px; }
.opt .box svg { width: 16px; height: 16px; opacity: 0; transform: scale(.6); transition: .15s; color: #fff; }
.opt:has(input:checked) { border-color: var(--brand); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand); }
.opt:has(input:checked) .box { background: var(--brand); border-color: var(--brand); }
.opt:has(input:checked) .box svg { opacity: 1; transform: scale(1); }
.opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Capture step */
.field { margin-bottom: 1rem; }
.field label.lbl { display: block; font-weight: 700; color: var(--ink); margin-bottom: .4rem; font-size: 1rem; }
.field input[type="email"] { width: 100%; font: inherit; font-size: 1.1rem; padding: .9rem 1rem; min-height: 56px; border: 2px solid var(--line-strong); border-radius: var(--r); background: var(--surface); color: var(--ink); }
.field input[type="email"]:focus { border-color: var(--brand); outline: 3px solid var(--focus); outline-offset: 1px; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; color: var(--text); cursor: pointer; }
.consent input { flex: 0 0 auto; width: 26px; height: 26px; margin-top: .1rem; accent-color: var(--brand); }
.field .err { display: none; color: var(--accent-600); font-size: .9rem; margin-top: .4rem; font-weight: 600; }
.field.invalid .err { display: block; }
.field.invalid input { border-color: var(--accent); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Quiz nav buttons */
.quiz__nav { display: flex; gap: .8rem; align-items: center; justify-content: space-between; margin-top: 1.4rem; }
.btn { font: inherit; font-weight: 700; border-radius: var(--r); cursor: pointer; border: 2px solid transparent; padding: .9rem 1.5rem; min-height: 56px; font-size: 1.05rem; display: inline-flex; align-items: center; gap: .5rem; transition: background .15s, border-color .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-700); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-50); }
.btn--lg { width: 100%; justify-content: center; font-size: 1.12rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn--ghost[hidden] { display: none; }
.quiz__note { font-size: .85rem; color: var(--muted); margin: 1rem 0 0; text-align: center; }

/* Thank-you screen */
.quiz__thanks { padding: 2rem clamp(1.1rem, 4vw, 1.8rem); text-align: center; }
.quiz__thanks .tick { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: #E2F2E9; color: var(--ok); display: grid; place-items: center; }
.quiz__thanks .tick svg { width: 34px; height: 34px; }
.quiz__thanks h3 { font-size: 1.6rem; }
.quiz__thanks p { color: var(--muted); max-width: 48ch; margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { background: var(--ink); color: #C6D2C8; padding-block: clamp(2rem, 5vw, 3rem); margin-top: 1rem; font-size: .95rem; }
.site-footer a { color: #E6EEE8; }
.footer__top { display: grid; gap: 1.4rem; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { color: #99a89d; max-width: 44ch; margin-top: .7rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.footer__links a { text-decoration: none; font-weight: 600; }
.footer__links a:hover { text-decoration: underline; }
.footer__legal { border-top: 1px solid #2c3a30; margin-top: 1.6rem; padding-top: 1.4rem; color: #8e9c91; font-size: .86rem; }
.footer__legal p { margin: 0 0 .7rem; }
.footer__co { color: #b4c1b7; }
.footer__co b { color: #fff; }
.verify-flag { background: #3a2c12; color: #E8C778; border: 1px solid #5a481f; border-radius: 8px; padding: .5rem .7rem; font-size: .82rem; display: inline-block; }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.4fr 1fr; align-items: start; } }

/* ---------- Cookie banner / modal (PIPEDA / CASL) ------------------------ */
.cc-banner { position: fixed; inset: auto 0 0 0; z-index: 80; background: var(--surface); border-top: 3px solid var(--brand); box-shadow: 0 -8px 30px rgba(0,0,0,.12); }
.cc-banner[hidden] { display: none; }
.cc-banner__inner { max-width: var(--maxw); margin-inline: auto; padding: 1.1rem clamp(1rem, 4vw, 2rem); display: grid; gap: 1rem; }
.cc-banner__text strong { display: block; font-family: var(--ff-serif); font-size: 1.15rem; color: var(--ink); margin-bottom: .25rem; }
.cc-banner__text p { margin: 0; font-size: .95rem; color: var(--muted); }
.cc-banner__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cc-btn { font: inherit; font-weight: 700; border-radius: var(--r-sm); padding: .7rem 1.1rem; min-height: 48px; cursor: pointer; border: 2px solid var(--line-strong); background: #fff; color: var(--brand); font-size: .95rem; }
.cc-btn--solid { background: var(--brand); color: #fff; border-color: var(--brand); }
.cc-btn--solid:hover { background: var(--brand-700); }
.cc-btn--ghost:hover { border-color: var(--brand); }
@media (min-width: 760px) { .cc-banner__inner { grid-template-columns: 1fr auto; align-items: center; } .cc-banner__actions { justify-content: flex-end; } }

.cc-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1rem; }
.cc-modal[hidden] { display: none; }
.cc-modal__backdrop { position: absolute; inset: 0; background: rgba(12,28,20,.55); }
.cc-modal__panel { position: relative; background: var(--surface); border-radius: var(--r-lg); max-width: 560px; width: 100%; max-height: 88vh; overflow: auto; padding: clamp(1.2rem, 4vw, 1.8rem); box-shadow: var(--shadow-lg); }
.cc-modal__panel h2 { margin-top: 0; }
.cc-cats { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .8rem; }
.cc-cat { border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1rem; }
.cc-cat__head { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--ink); }
.cc-cat__head input { width: 24px; height: 24px; accent-color: var(--brand); }
.cc-cat__desc { margin: .4rem 0 0; font-size: .9rem; color: var(--muted); }
.cc-modal__actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; margin-top: 1rem; }
html.cc-lock { overflow: hidden; }

/* ---------- Legal / content pages --------------------------------------- */
.page { padding-block: clamp(1.8rem, 5vw, 3rem); }
.page h1 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); margin-bottom: .3rem; }
.page .updated { color: var(--muted-2); font-size: .9rem; margin-bottom: 1.6rem; }
.prose h2 { margin-top: 1.8rem; }
.prose h3 { margin-top: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .5rem; }
.prose table.data { margin: 1rem 0; }
.legal-card { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r); padding: 1.2rem 1.3rem; margin: 1.2rem 0; }
.contact-grid { display: grid; gap: 1rem; }
.contact-grid dt { font-weight: 700; color: var(--ink); }
.contact-grid dd { margin: 0 0 .8rem; color: var(--text); }

/* ---------- Utilities ---------------------------------------------------- */
.muted { color: var(--muted); }
.mt0 { margin-top: 0; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
