/* ==========================================================================
   Reglynn - shared stylesheet (redesign, Oct 2026)
   Loaded by every page: homepages, guides, assessment, legal pages.
   Source of truth for the look: the Reglynn design system (Claude Design).
   Light is the default for everyone (OS preference ignored); dark only via the
   nav switch, saved as localStorage rg_theme=dark (data-theme="dark" on <html>).
   Homepage-only sections live in /assets/home.css.
   ========================================================================== */

:root {
  --bg: #FAFAF9; --band: #F2F1EE; --surface: #FFFFFF; --surface-hi: #FFF4EF;
  --fg: #161310; --soft: #3B352E; --muted: #5C554C; --faint: #6F685E;
  --ink: 22,19,16;
  --line: rgba(22,19,16,.12); --line-soft: rgba(22,19,16,.07);
  --coral: #E35A3C; --coral-deep: #C9462B; --coral-hover: #B23C22; --on-coral: #FFFFFF;
  --ember: #B5431F; --powder: #35567E; --err: #A33E1F;
  --t-unacc: #C9462B; --t-high: #DC683B; --t-lim: #AE8321; --t-min: #6B9552;
  --t-high-text: #B84B21; /* tier name set as text (home demo) */
  /* form field boundaries: >= 3:1 against bg/band/surface/surface-hi (WCAG 1.4.11) */
  --input-border: #8E867A; --input-border-hover: #5C554C;
  --s-gap: #B5431F; --s-partial: #85691E; --s-done: #4A6B2E;
  --shadow: 0 30px 60px -30px rgba(22,19,16,.28);
  --sans: 'Host Grotesk', 'Inter', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --mono: 'Fragment Mono', 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(.22,1,.36,1);
  color-scheme: light;
}
/* Dark: only when the visitor picks it with the nav switch (rg_theme=dark). */
:root[data-theme="dark"] {
  --bg: #0B0A09; --band: #110E0B; --surface: #14110E; --surface-hi: #1B1713;
  --fg: #F4F1EA; --soft: #D6CFC4; --muted: #A39B8F; --faint: #8E867A;
  --ink: 244,241,234;
  --line: rgba(244,241,234,.12); --line-soft: rgba(244,241,234,.07);
  --ember: #F0A184; --powder: #AECBEB; --err: #F28B6E;
  --t-unacc: #E35A3C; --t-high: #F0A184; --t-lim: #F2C75C; --t-min: #9FC98A;
  --t-high-text: #F0A184;
  --input-border: #6F685E; --input-border-hover: #A39B8F;
  --s-gap: #F0A184; --s-partial: #F2C75C; --s-done: #9FC98A;
  --shadow: 0 40px 80px -30px rgba(0,0,0,.9);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  scroll-padding-top: 89px; } /* sticky nav: 72px row + 1px border + 16px air */
@media (max-width: 640px) { html { scroll-padding-top: 81px; } } /* nav row is 64px here */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-variant-numeric: tabular-nums;
}
::selection { background: var(--coral-deep); color: #fff; }
a { color: var(--ember); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--fg); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--powder); outline-offset: 3px; }
img { max-width: 100%; }
code, kbd, .mono { font-family: var(--mono); font-size: .88em; }

.wrap   { max-width: 1216px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 760px;  margin: 0 auto; padding: 0 24px; position: relative; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } .narrow { padding: 0 20px; } }

.rg-skip { position: absolute; left: 16px; top: -80px; z-index: 200; padding: 12px 16px; border-radius: 8px;
  background: var(--fg); color: var(--bg); text-decoration: none; font-weight: 600; }
.rg-skip:focus { top: 16px; }

/* Legacy decoration from the 2025 look. The markup may still carry it on
   pages that have not been rebuilt yet; the new look has none of it. */
.fx, .orb, .halo, .grain, .ambient { display: none !important; }

/* ---------- turning ring: the one continuous motion in the brand ---------- */
@keyframes rgSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.rg-ring {
  position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; border-radius: 50%;
  transform: translate(-50%,-50%); pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(227,90,60,.9) 50deg, rgba(240,161,132,.55) 110deg,
              transparent 170deg, transparent 190deg, rgba(174,203,235,.6) 250deg, transparent 320deg);
  -webkit-mask-image: radial-gradient(circle, transparent 60.6%, #000 61.2%, #000 61.8%, transparent 62.4%);
          mask-image: radial-gradient(circle, transparent 60.6%, #000 61.2%, #000 61.8%, transparent 62.4%);
  animation: rgSpin 60s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .rg-ring { animation: none; } }

/* ==========================================================================
   NAV
   ========================================================================== */
nav { position: sticky; top: 0; z-index: 60; background: var(--bg);
      border-bottom: 1px solid var(--line-soft); padding: 0; }
@supports (backdrop-filter: blur(1px)) {
  nav { background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.nav-row { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none;
        font-weight: 600; font-size: 19px; letter-spacing: -0.03em; flex-shrink: 0; }
.logo:hover { color: var(--fg); }
.logo svg { display: block; width: 28px; height: 28px; }
.logo .rg-tile { fill: var(--fg); }
.logo .rg-dot  { fill: var(--coral); }
.logo span, .logo img { display: none; } /* old "Reglynn." markup */
.logo .rg-word { display: inline; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; transition: color .15s; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links .nav-check { color: var(--fg); }
.nav-cta, .nav-links a.nav-cta {
  height: 42px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 8px;
  background: var(--coral-deep); color: var(--on-coral) !important; font-weight: 600; box-shadow: none;
  transition: background-color .2s; }
.nav-cta:hover { background: var(--coral-hover); }
.rg-theme { width: 40px; height: 40px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer;
  transition: color .15s, border-color .15s; padding: 0; }
.rg-theme:hover { color: var(--fg); border-color: rgba(var(--ink),.3); }
.rg-theme svg { width: 18px; height: 18px; }
.rg-theme .i-moon { display: none; }
:root[data-theme="dark"] .rg-theme .i-sun { display: none; }
:root[data-theme="dark"] .rg-theme .i-moon { display: block; }
/* long translated labels: shed the lowest-priority items before the row overflows.
   Nav contract (Oct 2026): Free checker, Tools, Guides, Deadlines, Pricing, CTA.
   First the quick EN/PL links go, then everything but the checker and the CTA. */
@media (max-width: 1280px) { .nav-lang > a, .nav-lang .lang-sep { display: none; } .nav-links { gap: 22px; } }
@media (max-width: 1080px) { .nav-links { gap: 18px; } .nav-links > a:not(.nav-cta):not(.nav-check) { display: none; } }
@media (max-width: 820px) { .nav-links .nav-check { display: none; } }
@media (max-width: 640px) {
  .nav-row { height: 64px; gap: 12px; }
  .nav-links .nav-check { display: none; }
  .nav-links { gap: 10px; min-width: 0; }
  /* the CTA never wraps: a two-line coral block reads as broken (el "Γρήγορος έλεγχος" at 390) */
  .nav-cta, .nav-links a.nav-cta { height: 40px; padding: 0 12px; font-size: 13.5px; flex-shrink: 0;
    white-space: nowrap; text-align: center; line-height: 1; }
}
/* Long CTA labels on small phones: the logo keeps its tile (and its aria-label), the
   wordmark steps aside so the row fits without wrapping or sideways scroll.
   uk/el/fr labels need it up to 400px; the other long labels only below 375px. */
@media (max-width: 400px) {
  :root:lang(uk) .nav-row .logo .rg-word, :root:lang(el) .nav-row .logo .rg-word,
  :root:lang(fr) .nav-row .logo .rg-word { display: none; }
}
@media (max-width: 374px) {
  :root:not(:lang(en)):not(:lang(nl)) .nav-row .logo .rg-word { display: none; }
}

/* ---------- language switcher (markup generated by _build/languages.py) ---------- */
.nav-lang { display: flex; align-items: center; gap: 10px; margin-left: 4px; font-size: 13px; letter-spacing: .04em; }
.nav-lang > a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-lang > a:hover, .nav-lang > a.lang-on { color: var(--fg); }
.nav-lang > a.lang-on { font-weight: 600; }
.lang-sep { color: var(--faint); }
.lang-picker { position: relative; }
.nav-lang .lang-picker, .lang-picker { background: none; border: 0; border-radius: 0; padding: 0; margin: 0; max-width: none; box-shadow: none; }
.lang-picker > summary, .nav-lang .lang-picker > summary {
  list-style: none; cursor: pointer; user-select: none; display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: none;
  color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; margin: 0; line-height: 1;
  transition: color .15s, border-color .15s; }
.lang-picker > summary::-webkit-details-marker { display: none; }
.lang-picker > summary::after, .nav-lang .lang-picker > summary::after {
  content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: .8; font-size: 0; transition: none; }
.lang-picker > summary:hover, .lang-picker[open] > summary { color: var(--fg); border-color: rgba(var(--ink),.3); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 90; width: min(400px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 12px 12px;
  box-shadow: var(--shadow); }
.lang-menu-head, .nav-lang .lang-menu p.lang-menu-head { margin: 0 6px 8px; font-size: 12px; letter-spacing: .02em; color: var(--faint); font-weight: 500; text-transform: none; }
.lang-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; max-height: 340px; overflow-y: auto; }
.lang-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 0 10px;
  border-radius: 8px; text-decoration: none; font-size: 14.5px; letter-spacing: 0; line-height: 1.3; }
.lang-row b, .nav-lang .lang-row b { font-weight: 500; color: inherit; }
.lang-row i { font-style: normal; font-size: 12px; color: var(--faint); letter-spacing: .04em; }
a.lang-row { color: var(--fg); }
a.lang-row:hover { background: rgba(var(--ink),.06); color: var(--fg); }
a.lang-row.lang-on { background: rgba(var(--ink),.08); }
a.lang-row.lang-on b { font-weight: 600; }
a.lang-row.lang-on i, a.lang-row:hover i { color: var(--muted); }
.lang-row.lang-off { color: var(--faint); opacity: .55; cursor: not-allowed; }
.lang-note, .nav-lang .lang-menu .lang-note { margin: 10px 6px 0; padding-top: 10px; font-size: 12px; line-height: 1.5; color: var(--faint);
  border-top: 1px solid var(--line-soft); }
@media (max-width: 640px) {
  .nav-lang > a, .lang-sep { display: none; }
  .nav-lang { margin-left: 0; }
  /* compact: a globe instead of the "All languages" label (the aria-label stays) */
  .lang-picker > summary, .nav-lang .lang-picker > summary { width: 40px; padding: 0; justify-content: center; font-size: 0; }
  .lang-picker > summary::after, .nav-lang .lang-picker > summary::after { display: none; }
  .lang-picker > summary::before { content: ""; width: 18px; height: 18px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.6'%3E%3Ccircle cx='10' cy='10' r='7.5'/%3E%3Cpath d='M2.5 10h15M10 2.5c2.2 2.3 3.2 4.8 3.2 7.5s-1 5.2-3.2 7.5c-2.2-2.3-3.2-4.8-3.2-7.5s1-5.2 3.2-7.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.6'%3E%3Ccircle cx='10' cy='10' r='7.5'/%3E%3Cpath d='M2.5 10h15M10 2.5c2.2 2.3 3.2 4.8 3.2 7.5s-1 5.2-3.2 7.5c-2.2-2.3-3.2-4.8-3.2-7.5s1-5.2 3.2-7.5Z'/%3E%3C/svg%3E") center/contain no-repeat; }
  .rg-word { font-size: 18px; }
  .lang-menu { right: -60px; width: calc(100vw - 24px); }
  .lang-grid { grid-template-columns: 1fr 1fr; max-height: 60vh; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 10px; background: var(--coral-deep); color: var(--on-coral); border: 1px solid transparent;
  font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; box-shadow: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .12s; }
.btn:hover { background: var(--coral-hover); color: var(--on-coral); transform: none; box-shadow: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral-deep); color: var(--on-coral); }
.btn-glass, .btn-ghost { background: transparent !important; color: var(--fg) !important; border: 1px solid rgba(var(--ink),.22) !important;
  box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn-glass:hover, .btn-ghost:hover { border-color: rgba(var(--ink),.5) !important; background: transparent !important; }
.btn::after { display: none !important; }

/* ==========================================================================
   PAGE HEAD (guides and content pages)
   ========================================================================== */
.page-head { position: relative; overflow: hidden; background: var(--bg); color: var(--fg);
  padding: 72px 0 56px; border-bottom: 1px solid var(--line-soft); isolation: isolate; }
.page-head .rg-ring { left: 94%; top: 40%; width: 640px; height: 640px; opacity: .8; }
.page-head .narrow { z-index: 1; }
.chip { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0;
  color: var(--muted); font-size: 14px; font-weight: 500; margin: 0 0 22px; border-radius: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--coral); box-shadow: none; }
.page-head h1 { font-family: var(--sans); font-weight: 600; font-size: clamp(34px, 5vw, 54px); line-height: 1.05;
  letter-spacing: -0.035em; color: var(--fg); margin: 0 0 20px; text-wrap: balance; }
.grad, h1 .grad { display: block; background: none !important; -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--muted) !important; -webkit-text-fill-color: currentColor; }
.standfirst { font-size: 19px; line-height: 1.55; color: var(--muted); margin: 0; max-width: 60ch; text-wrap: pretty; }
.page-head .meta, .meta { margin-top: 28px; font-size: 14px; color: var(--faint); }
.meta b { color: var(--soft); font-weight: 500; }
/* above-the-fold scan action (checker page and any page with hero_btn) */
.hero-cta { margin: 32px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero-note { margin: 14px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--faint); max-width: 64ch; text-wrap: pretty; }
.hero-cta + .meta { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
@media (max-width: 640px) { .hero-actions .btn { flex: 1 1 100%; } }
@media (max-width: 640px) { .page-head { padding: 48px 0 40px; } .page-head .rg-ring { display: none; } .standfirst { font-size: 17.5px; } }

/* ==========================================================================
   ARTICLE
   ========================================================================== */
article { position: relative; padding: 56px 0 24px; color: var(--soft); overflow-wrap: break-word; }
/* long compounds (de, nl, el) must wrap inside the column, never push it wider */
.page-head h1, article h2, article h3, .guide-card b, .cta-box h2, .cta-box h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
html:lang(de) article p, html:lang(de) article li, html:lang(nl) article p, html:lang(el) article p,
html:lang(de) td, html:lang(el) td, html:lang(nl) td { hyphens: auto; -webkit-hyphens: auto; }
article h2 { font-family: var(--sans); font-weight: 600; font-size: clamp(25px, 3vw, 32px); letter-spacing: -0.03em;
  line-height: 1.15; color: var(--fg); margin: 56px 0 16px; text-wrap: balance; }
article h3 { font-weight: 600; font-size: 20px; letter-spacing: -0.02em; color: var(--fg); margin: 36px 0 10px; }
article h4 { font-weight: 600; font-size: 17px; color: var(--fg); margin: 28px 0 8px; }
article p { margin: 0 0 20px; }
article ul, article ol { margin: 0 0 22px; padding-left: 22px; }
article li { margin-bottom: 9px; }
article li::marker { color: var(--faint); }
article strong, article b { color: var(--fg); font-weight: 600; }
article a { color: var(--ember); }
article a:hover { color: var(--fg); }
article blockquote { margin: 0 0 24px; padding: 4px 0 4px 20px; border-left: 2px solid var(--line); color: var(--muted); }
/* copy-ready wording on template pages: reads as the text to paste, not as a quote */
article blockquote.tpl { margin: 0 0 14px; padding: 14px 18px; border: 1px dashed rgba(var(--ink),.24); border-radius: 10px;
  background: var(--surface); color: var(--fg); font-size: 16px; line-height: 1.55; }
article blockquote.tpl + p { color: var(--muted); font-size: 15.5px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }

/* tables */
.t-scroll { overflow-x: auto; margin: 0 0 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 15px; color: var(--soft); }
.t-scroll table { border: 0; border-radius: 0; }
article > .narrow > table, .narrow > table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 0 28px; }
th { text-align: left; padding: 12px 16px; background: var(--band); font-weight: 500; font-size: 13px; letter-spacing: .01em;
  color: var(--faint); border-bottom: 1px solid var(--line); text-transform: none; }
td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td b, td strong { color: var(--fg); }
@media (max-width: 640px) {
  /* keep columns readable on a phone: the wrapper scrolls instead of squeezing every cell */
  .t-scroll table { min-width: 560px; font-size: 14.5px; }
  th, td { padding: 11px 13px; }
}

/* callouts: flat cards, the colour bar says what kind */
.note, .warn, .key { border-radius: 12px; padding: 20px 22px; margin: 0 0 28px; font-size: 16px; color: var(--soft);
  background: var(--surface); border: 1px solid var(--line); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: none; transform: none !important; position: relative; }
.note:hover, .warn:hover, .key:hover { box-shadow: none; }
/* the colour bar sits inside the card, so it stays straight against the radius */
.note, .warn, .key { padding-left: 26px; }
.note::before, .warn::before, .key::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 3px;
  border-radius: 0 2px 2px 0; background: var(--fg); }
.note::before { background: var(--powder); }
.warn { background: var(--surface-hi); }
.warn::before { background: var(--coral); }
.note p:last-child, .warn p:last-child, .key p:last-child { margin-bottom: 0; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px; font-size: 12.5px; font-weight: 500;
  white-space: nowrap; border: 1px solid var(--line); background: transparent; color: var(--soft); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-live  { color: var(--s-gap); border-color: color-mix(in srgb, var(--s-gap) 40%, transparent); }
.pill-soon  { color: var(--s-partial); border-color: color-mix(in srgb, var(--s-partial) 40%, transparent); }
.pill-later { color: var(--powder); border-color: color-mix(in srgb, var(--powder) 40%, transparent); }

/* guide hub cards */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 22px 0 36px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); text-decoration: none; color: inherit; transition: border-color .18s; }
article .guide-card { color: var(--soft); text-decoration: none; }
.guide-card:hover { border-color: rgba(var(--ink),.35); transform: none; box-shadow: none; }
.guide-card b { font-family: var(--sans); font-weight: 600; font-size: 16.5px; letter-spacing: -0.015em; line-height: 1.3; color: var(--fg); }
.guide-card:hover b { color: var(--fg); }
.guide-card span { font-size: 14.5px; line-height: 1.55; color: var(--muted); opacity: 1; }
@media (max-width: 560px) { .guide-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA, RELATED, DISCLAIMER
   ========================================================================== */
.cta-box { position: relative; overflow: hidden; isolation: isolate; background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 48px 40px; margin: 56px 0; text-align: left; box-shadow: var(--shadow); }
.cta-box::before { content: ""; position: absolute; z-index: -1; left: 108%; top: 50%; width: 560px; height: 560px; border-radius: 50%;
  transform: translate(-50%,-50%); pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(227,90,60,.85) 50deg, rgba(240,161,132,.5) 110deg,
              transparent 170deg, transparent 190deg, rgba(174,203,235,.55) 250deg, transparent 320deg);
  -webkit-mask-image: radial-gradient(circle, transparent 60.6%, #000 61.2%, #000 61.8%, transparent 62.4%);
          mask-image: radial-gradient(circle, transparent 60.6%, #000 61.2%, #000 61.8%, transparent 62.4%);
  animation: rgSpin 60s linear infinite; }
@media (prefers-reduced-motion: reduce) { .cta-box::before { animation: none; } }
.cta-box > * { position: relative; z-index: 1; max-width: 520px; }
.cta-box h2, .cta-box h3 { color: var(--fg); font-family: var(--sans); font-size: 28px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 12px; }
.cta-box p { color: var(--muted); margin: 0 0 24px; font-size: 16.5px; }
.cta-box .btn { color: var(--on-coral); text-decoration: none; }
.cta-note, .cta-box .cta-note { margin: 16px 0 0 !important; font-size: 14px !important; color: var(--faint) !important; }
.cta-note a { color: var(--soft); }
/* on a phone the ring would cross the copy; drop it, as .page-head does */
@media (max-width: 760px) { .cta-box::before { display: none; } }
@media (max-width: 640px) { .cta-box { padding: 36px 24px; } }

.related { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 28px 0 0; margin: 48px 0;
  box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.related h2, .related h3 { margin: 0 0 14px; font-family: var(--sans); line-height: 1.5; font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--faint); font-weight: 500; }
.related ul { margin: 0; padding: 0; list-style: none; }
.related li { padding: 10px 0; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-size: 15.5px; }
.related li a { color: var(--fg); font-weight: 500; text-decoration: none; }
.related li a:hover { color: var(--ember); }

.disclaimer-block { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 48px; }
.disclaimer { font-size: 13.5px; color: var(--faint); line-height: 1.6; margin: 0 0 12px; }
.disclaimer strong { color: var(--muted); }
.disclaimer a { color: var(--muted); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { position: relative; margin-top: 64px; padding: 56px 0 48px; background: var(--band); border-top: 1px solid var(--line-soft);
  color: var(--faint); font-size: 14px; text-align: left; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }
.foot-brand { display: inline-flex; align-items: center; gap: 2px; margin: 0 0 22px; color: var(--fg); font-weight: 600; font-size: 22px;
  letter-spacing: -0.035em; text-decoration: none; }
.foot-brand i { display: inline-block; width: 6px; height: 6px; border-radius: 1px; background: var(--coral); margin-left: 3px; transform: translateY(5px); }
.foot-links { margin: 0 0 18px; line-height: 2.1; font-size: 15px; }
.foot-links a { font-weight: 500; color: var(--soft); }
.foot-badges { margin: 0 0 18px; line-height: 0; }
.foot-badges a { display: inline-block; opacity: .8; transition: opacity .2s; }
.foot-badges a:hover { opacity: 1; }
.foot-legal { margin: 0; font-size: 13.5px; line-height: 1.9; color: var(--faint); }

/* ==========================================================================
   COOKIE CONSENT (markup lives in index.html; build.py copies it). Theme tokens
   only, so it is light by default and dark under html[data-theme="dark"].
   ========================================================================== */
#rgConsent { background: var(--surface) !important; color: var(--soft) !important; border: 1px solid var(--line) !important;
  border-radius: 14px !important; box-shadow: var(--shadow) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  font-family: var(--sans) !important; }
#rgConsent a { color: var(--ember) !important; }
#rgConsent #rgConsentMore { color: var(--faint) !important; }
#rgConsent button { border-radius: 8px !important; min-height: 40px; font-family: var(--sans) !important; }
#rgConsent button:first-child { background: var(--coral-deep) !important; border-color: transparent !important; color: #fff !important; }
#rgConsent button + button { background: transparent !important; color: var(--fg) !important; border-color: var(--input-border) !important; } /* outline >= 3:1 in both themes */
#rgConsent a:focus-visible, #rgConsent button:focus-visible { outline: 2px solid var(--powder) !important; outline-offset: 3px; }

/* ==========================================================================
   SMALL SHARED PIECES
   ========================================================================== */
.art { font-family: var(--mono); font-size: 13px; color: var(--ember); white-space: nowrap; }
.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; }
@media print {
  nav, footer, .cta-box, #rgConsent, .rg-ring { display: none !important; }
  body { background: #fff; color: #000; }
}
