/* Fonts are self-hosted (variable WOFF2 from Google Fonts, SIL OFL 1.1, licences in fonts/) so visitors' browsers never contact Google. */
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("fonts/atkinson-hyperlegible-next-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-ext.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Layout: brand-guide palette (Jacaranda) and type; the hero is the guard's phone standing in a doorway arch, and sections alternate page and surface bands. */
:root {
  --bg: #FCF9FF; --surface: #F2ECF9; --panel: #FFFFFF; --fg: #1C1A22; --muted: #5E5869; --line: #D9D1E4;
  --primary: #5B3FA0; --on-primary: #FFFFFF; --tint: #E9DDFF; --on-tint: #22005D; --arch: #E9DDFF;
  --mark-ac: #B79AF0; --frame: #2A2826; --shadow: 0 18px 40px -18px rgba(34, 0, 93, .35);
  /* Status colours are fixed across palettes: guards read them at a glance. */
  --info-b: #E3E8F2; --info-f: #2E3A50; --warn-b: #FFE7C2; --warn-f: #6B3D00;
  --ok-b: #CDEFD9; --ok-f: #0F5132; --bad-b: #FADBD8; --bad-f: #8C1D18;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #141218; --surface: #1C1922; --panel: #221F29; --fg: #E7E0EC; --muted: #B0A8BA; --line: #3B3644;
  --primary: #CFBCFF; --on-primary: #2E1A66; --tint: #43308A; --on-tint: #E9DDFF; --arch: #2A2340;
  --mark-ac: #2E1A66; --frame: #3A3642; --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  --info-b: #2A3140; --info-f: #C9D3E6; --warn-b: #4A3300; --warn-f: #FFD48A;
  --ok-b: #123D27; --ok-f: #9BE0B5; --bad-b: #4A1B18; --bad-f: #FFB4AB;
  color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #141218; --surface: #1C1922; --panel: #221F29; --fg: #E7E0EC; --muted: #B0A8BA; --line: #3B3644;
  --primary: #CFBCFF; --on-primary: #2E1A66; --tint: #43308A; --on-tint: #E9DDFF; --arch: #2A2340;
  --mark-ac: #2E1A66; --frame: #3A3642; --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  --info-b: #2A3140; --info-f: #C9D3E6; --warn-b: #4A3300; --warn-f: #FFD48A;
  --ok-b: #123D27; --ok-f: #9BE0B5; --bad-b: #4A1B18; --bad-f: #FFB4AB;
  color-scheme: dark }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--primary); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(56px, 8vw, 104px); }
.band.alt { background: var(--surface); }

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.4rem, 5.6vw, 4.1rem); line-height: 1.03; letter-spacing: -.025em; }
h2 { font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1; letter-spacing: -.02em; }
h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.25; }
p { margin: 0; }
.eyebrow { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--primary); }
.section-head { display: grid; gap: 12px; max-width: 44rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 14px;
  font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-secondary { border-color: var(--line); color: var(--fg); background: transparent; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* Brand mark: doorway arch with an arrow passing through. */
/* Unqualified selectors: the shapes live in a <use> clone, which a ".mark .mk-bg" descendant selector does not reach. */
.mk-bg { fill: var(--primary); }
.mk-fg, .mk-ac { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.mk-fg { stroke: var(--on-primary); }
.mk-ac { stroke: var(--mark-ac); }

/* Header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.lockup { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.lockup svg { width: 36px; height: 36px; flex: none; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--fg); }
.nav .btn { padding: 10px 16px; }
@media (max-width: 900px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center;
  padding-block: clamp(24px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.hero-copy { display: grid; gap: 20px; min-width: 0; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-note { font-size: .95rem; color: var(--muted); }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } }

.stage { position: relative; display: grid; justify-items: center; padding-top: 32px; min-width: 0; }
.stage::before { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(400px, 100%); height: 86%; border-radius: 999px 999px 0 0; background: var(--arch); }

/* Real app screenshots in a phone frame. The captures start with an empty status-bar band; object-position: bottom crops it. */
.shot { position: relative; z-index: 1; width: 272px; max-width: 100%; aspect-ratio: 1080 / 2210; margin: 0; border: 9px solid var(--frame);
  border-radius: 36px; overflow: hidden; background: #FCF9FF; box-shadow: var(--shadow); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: bottom; }

.gallery { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; margin: 0; list-style: none; padding-left: 0; }
.gallery li { flex: 0 0 auto; display: grid; gap: 12px; justify-items: center; scroll-snap-align: start; width: 224px; }
.gallery .shot { width: 224px; border-width: 7px; border-radius: 30px; }
.gallery figcaption { display: grid; gap: 2px; text-align: center; font-size: .95rem; }
.gallery figcaption span { color: var(--muted); font-size: .85rem; }
.gallery li figure { margin: 0; display: grid; gap: 12px; justify-items: center; }

.chip { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; line-height: 1.4;
  transition: background-color .4s, color .4s; }
.chip[data-s="info"] { background: var(--info-b); color: var(--info-f); }
.chip[data-s="warn"] { background: var(--warn-b); color: var(--warn-f); }
.chip[data-s="ok"] { background: var(--ok-b); color: var(--ok-f); }
.chip[data-s="bad"] { background: var(--bad-b); color: var(--bad-f); }

.toast { position: absolute; z-index: 2; left: 0; bottom: 132px; width: min(250px, 78%); background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1px 10px;
  align-items: center; line-height: 1.3; transition: opacity .4s, transform .4s; }
.toast svg { width: 30px; height: 30px; grid-row: 1 / span 3; }
.toast .t-app { font-size: 11px; color: var(--muted); }
.toast b { font-size: 14px; }
.toast .t-sub { font-size: 12px; color: var(--muted); }
.toast.is-hidden { opacity: 0; transform: translateY(8px); }
@media (prefers-reduced-motion: reduce) { .toast, .chip { transition: none; } }

/* How it works: a real sequence, so it is numbered. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li { display: grid; gap: 10px; align-content: start; counter-increment: step; padding-top: 20px; border-top: 2px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--tint); color: var(--on-tint); font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
.steps p { color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Split sections: copy beside a mock. */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split > div { display: grid; gap: 18px; min-width: 0; }
.split .lede { font-size: 1.1rem; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.ticks li::before { content: ""; width: 8px; height: 8px; margin-top: .6em; border-radius: 50%; background: var(--primary); justify-self: center; }
.sample { font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; white-space: nowrap; }

/* Gate verdict mock */
.verdict { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; display: grid; }
.v-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; background: var(--warn-b); color: var(--warn-f); }
.v-head b { font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.v-head span { font-size: .85rem; font-weight: 600; }
.v-body { padding: 20px; display: grid; gap: 14px; }
.v-name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.v-meta { color: var(--muted); font-size: .95rem; font-variant-numeric: tabular-nums; }
.v-banner { border-left: 4px solid var(--warn-f); background: var(--surface); border-radius: 0 10px 10px 0; padding: 10px 14px; font-size: .95rem; }
.v-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.v-facts div { background: var(--surface); border-radius: 10px; padding: 8px 12px; min-width: 0; }
.v-facts dt { color: var(--muted); font-size: .75rem; }
.v-facts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.v-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v-btn { border-radius: 12px; padding: 12px; text-align: center; font-weight: 700; border: 2px solid var(--line); }
.v-btn.primary { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.v-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 12px 20px; border-top: 1px solid var(--line); }
.v-tones { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 420px) { .v-facts { grid-template-columns: 1fr 1fr; } }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.role { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 30px); display: grid; gap: 14px; align-content: start; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; } }

/* Dues screenshot */
.split > .shot { justify-self: center; }

/* Delinquency gate policies */
.policies { margin-top: clamp(32px, 5vw, 56px); display: grid; gap: 16px; }
.policies h3 { font-size: 1.35rem; }
.policy-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.policy-list div { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 6px; align-content: start; }
.policy-list dt { font-weight: 700; }
.policy-list dd { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .policy-list { grid-template-columns: 1fr; } }

/* Three-up feature groups */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.trio > div { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--primary); }
.trio p { color: var(--muted); }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 48rem; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; padding-block: 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-weight: 800; font-size: 1.4rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--muted); max-width: 65ch; }

/* Demo form */
.form { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select { font: inherit; color: var(--fg); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-status { font-size: .95rem; color: var(--muted); }
.form-status:empty { display: none; }
/* Honeypot: off-screen for people, still filled in by form bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 32px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.site-footer .lockup { font-size: 1.2rem; }
.site-footer .lockup svg { width: 28px; height: 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--fg); }

/* Skip link: off-screen until focused. */
.skip { position: absolute; left: 16px; top: -100px; z-index: 10; padding: 10px 16px; border-radius: 10px;
  background: var(--primary); color: var(--on-primary); font-weight: 700; }
.skip:focus { top: 12px; }
.nav a[aria-current="page"] { color: var(--fg); }

/* Links from a home-page summary to its section on the spec page. */
.more { font-weight: 700; justify-self: start; }
.more::after { content: " →"; }
.trio + .more { display: inline-block; margin-top: clamp(24px, 3vw, 36px); }
.faq-more { color: var(--muted); margin-top: 8px; }
.opt { font-weight: 400; color: var(--muted); }

/* Spec page: feature name beside its detail, one row per feature. */
.page-head .wrap { padding-block: clamp(24px, 5vw, 56px) clamp(40px, 6vw, 72px); }
.page-intro { display: grid; gap: 20px; max-width: 44rem; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.jump a { display: inline-block; padding: 8px 14px; border-radius: 99px; background: var(--tint); color: var(--on-tint);
  font-weight: 600; font-size: .95rem; text-decoration: none; }
.jump a:hover { text-decoration: underline; }
.spec { margin: 0; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 4px 32px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 700; }
.spec dd { margin: 0; max-width: 65ch; }
@media (max-width: 640px) { .spec > div { grid-template-columns: 1fr; } }
.spec-group { display: grid; gap: 12px; margin-top: clamp(32px, 5vw, 48px); }
.spec-group > p { color: var(--muted); }
.closing { display: grid; gap: 20px; justify-items: start; max-width: 44rem; }
.closing p { color: var(--muted); font-size: 1.1rem; }

/* Gallery: arrow buttons for mouse users (touch and trackpads scroll natively); each screenshot opens in the lightbox. */
.gallery { position: relative; }
.gallery:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; border-radius: 12px; }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.gallery-nav { display: none; gap: 8px; flex: none; margin-bottom: clamp(28px, 4vw, 48px); }
@media (hover: hover) and (pointer: fine) { .gallery-nav { display: flex; } }
.nav-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 2px solid var(--line);
  background: var(--panel); color: var(--fg); font: 700 1.6rem/1 var(--display); cursor: pointer; }
.nav-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.nav-btn:disabled { opacity: .4; cursor: default; }
.nav-btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
/* Inset ring: the scrolling strip would clip an outside one. */
.zoom:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }
.zoom { display: block; border-radius: 30px; cursor: zoom-in; }
.zoom .shot, .lb-shot { display: block; }

/* Lightbox: fixed light-on-dark colours, since it always sits on a dark backdrop. */
.lightbox { width: 100%; height: 100%; max-width: 100vw; max-height: 100dvh; margin: 0; padding: 56px 16px 16px; border: 0;
  background: transparent; color: #F4F0FA; overflow: auto; overscroll-behavior: contain; }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: 14px; }
.lightbox::backdrop { background: rgba(20, 18, 24, .9); }
body:has(.lightbox[open]) { overflow: hidden; }
.lb-figure { margin: 0; display: grid; gap: 10px; justify-items: center; text-align: center; }
/* As tall as the screen allows after the close row and caption; on narrow screens the width limit wins, keeping the 1080/2210 aspect. */
.lb-shot { width: auto; height: min(calc(100dvh - 170px), calc((100vw - 32px) * 2.046)); border-width: 8px; border-radius: 34px; touch-action: pan-y pinch-zoom; }
.lb-figure figcaption { display: grid; gap: 2px; }
.lb-figure figcaption span { color: rgba(244, 240, 250, .75); font-size: .95rem; }
/* Controls sit on the screen edges so the screenshot gets the full height: counter top-left, close top-right, arrows at the sides. */
.lb-controls { display: contents; }
.lb-controls .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-controls .nav-btn[data-dir="-1"] { left: 8px; }
.lb-controls .nav-btn[data-dir="1"] { right: 8px; }
.lb-count { position: absolute; top: 18px; left: 16px; font-variant-numeric: tabular-nums; }
.lightbox .nav-btn { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #FFFFFF; }
.lightbox .nav-btn:hover:not(:disabled) { border-color: #FFFFFF; color: #FFFFFF; background: rgba(20, 18, 24, .7); }
.lightbox .lb-controls .nav-btn { background: rgba(20, 18, 24, .55); }
.lightbox .nav-btn:focus-visible { outline-color: #FFFFFF; }
.lb-close { position: absolute; top: 8px; right: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Print: the spec page gets forwarded to committees as a PDF, so print it light and without navigation. */
@media print {
  :root, :root:not([data-theme="light"]), :root[data-theme="dark"] {
    --bg: #FFFFFF; --surface: #FFFFFF; --panel: #FFFFFF; --fg: #000000; --muted: #333333; --line: #BBBBBB;
    --primary: #5B3FA0; --on-primary: #FFFFFF; --tint: #E9DDFF; --on-tint: #22005D; --arch: #E9DDFF;
    --mark-ac: #B79AF0; --frame: #2A2826; --shadow: none;
    --info-b: #E3E8F2; --info-f: #2E3A50; --warn-b: #FFE7C2; --warn-f: #6B3D00;
    --ok-b: #CDEFD9; --ok-f: #0F5132; --bad-b: #FADBD8; --bad-f: #8C1D18;
    color-scheme: light; }
  body { font-size: 11pt; }
  .skip, .nav, .jump, .cta-row, .site-footer nav, .gallery-nav, .lightbox { display: none !important; }
  .band, .page-head .wrap { padding-block: 16pt; }
  .spec > div, .policy-list div { break-inside: avoid; }
  .gallery { flex-wrap: wrap; overflow: visible; }
  h2, h3 { break-after: avoid; }
  a { color: inherit; text-decoration: none; }
  .more::after { content: none; }
}

/* Privacy notice: long-form legal text. */
.legal { display: grid; gap: clamp(28px, 4vw, 40px); max-width: 46rem; }
.legal > section { display: grid; gap: 12px; }
.legal h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.2; }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
/* Placeholders the owner must fill in before publishing. */
.todo { background: var(--warn-b); color: var(--warn-f); padding: 0 4px; border-radius: 4px; }
.form-note { font-size: .9rem; color: var(--muted); }
