/* IBM Plex, self-hosted (SIL Open Font License, fonts/LICENSE-OFL.txt) so visitors' browsers never contact Google (security rule 14). Latin subset from Fontsource 5.3.0. */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2'); 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: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format('woff2'); 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: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2'); 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: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-sans-latin-700-normal.woff2) format('woff2'); 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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2'); 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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2'); 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; }

/* Layout: one 1120px column of full-bleed bands, alternating paper and card grounds, from the wireframe. */
:root {
  --bg: #F4F4F1;
  --surface: #FFFFFF;
  --tint: #EEF2FC;
  --tint-line: #C7CFE6;
  --fg: #1E1E1C;
  --muted: #4A4A46;
  --faint: #6A6A65;
  --line: #D6D6D1;
  --line-soft: #E4E4E0;
  --field-line: #8A8A85;
  --accent: #2F55C7;
  --accent-ink: #1F3F99;
  --on-accent: #FFFFFF;
  --ok-bg: #E6F2EA; --ok-fg: #1F5C38;
  --warn-bg: #FBF0DC; --warn-fg: #7A4E0E;
  --bad-bg: #F8E3E0; --bad-fg: #8A2318;
  --invert-bg: #1E1E1C; --invert-fg: #FFFFFF; --invert-muted: #C9C9C3;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151614; --surface: #1D1E1C; --tint: #1A2140; --tint-line: #2E3A66;
    --fg: #ECECE8; --muted: #B4B4AE; --faint: #94948E; --line: #34352F; --line-soft: #2A2B27; --field-line: #6A6A65;
    --accent: #6E8FF0; --accent-ink: #A9BCF7; --on-accent: #0D1230;
    --ok-bg: #18301F; --ok-fg: #8FD3A6; --warn-bg: #3A2C10; --warn-fg: #F0C67A; --bad-bg: #3B1814; --bad-fg: #F2A195;
    --invert-bg: #0C0D0B; --invert-fg: #ECECE8; --invert-muted: #A2A29C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #151614; --surface: #1D1E1C; --tint: #1A2140; --tint-line: #2E3A66;
  --fg: #ECECE8; --muted: #B4B4AE; --faint: #94948E; --line: #34352F; --line-soft: #2A2B27; --field-line: #6A6A65;
  --accent: #6E8FF0; --accent-ink: #A9BCF7; --on-accent: #0D1230;
  --ok-bg: #18301F; --ok-fg: #8FD3A6; --warn-bg: #3A2C10; --warn-fg: #F0C67A; --bad-bg: #3B1814; --bad-fg: #F2A195;
  --invert-bg: #0C0D0B; --invert-fg: #ECECE8; --invert-muted: #A2A29C;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
a { color: var(--accent-ink); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Keeps anchor jumps and keyboard focus clear of the sticky header (WCAG 2.4.11). --header-h is measured in the script. */
html { scroll-padding-top: calc(var(--header-h, 80px) + 16px); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 20; background: var(--accent); color: var(--on-accent); padding: 12px 18px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.band { border-bottom: 1px solid var(--line); padding-inline: 16px; }
.band.card { background: var(--surface); }
.band.tint { background: var(--tint); }
.wrap { max-width: 1120px; margin: 0 auto; padding-block: 72px; display: flex; flex-direction: column; gap: 32px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > * { min-width: 0; }
h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 19px; line-height: 1.3; }
.lede { font-size: 18px; color: var(--muted); max-width: 640px; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }

/* Header */
header.band { background: var(--surface); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; }
header .wrap { padding-block: 14px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--fg); text-decoration: none; }
.mark { width: 32px; height: 32px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; flex: none; }
.mark svg { display: block; }
nav.main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 15px; }
nav.main a { color: var(--fg); text-decoration: none; }
nav.main a:hover { color: var(--accent-ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; border: 0; background: var(--accent); color: var(--on-accent); font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
nav.main a.btn { color: var(--on-accent); }
.btn.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
@media (max-width: 720px) { nav.main .optional { display: none; } }

/* Hero */
.hero .wrap { padding-block: 64px 72px; }
.hero .split { align-items: center; gap: 56px; }
.hero-copy { flex: 999 1 520px; display: flex; flex-direction: column; gap: 22px; }
.pill { align-self: flex-start; background: var(--tint); color: var(--accent-ink); font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(38px, 6vw, 58px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 700; }
.hero-sub { font-size: 20px; color: var(--muted); max-width: 560px; }
.points { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.points li { display: flex; align-items: center; gap: 6px; }
.points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Calls to action */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row .btn { min-height: 52px; padding: 0 24px; }
.cta-row.center { justify-content: center; }
.btn.invert { background: var(--invert-fg); color: var(--invert-bg); }
.btn.ghost.invert { background: transparent; color: var(--invert-fg); box-shadow: inset 0 0 0 1px var(--invert-fg); }
.field { height: 52px; padding: 0 14px; border: 1px solid var(--field-line); border-radius: 8px; font: 16px var(--font-body); background: var(--surface); color: var(--fg); min-width: 0; }
.fine { font-size: 14px; color: var(--faint); }

/* Phone mockup */
.phone-col { flex: 1 1 300px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.phone { width: 290px; max-width: 100%; border: 2px solid var(--fg); border-radius: 40px; padding: 18px 14px 16px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.phone .notch { height: 6px; width: 76px; background: var(--line); border-radius: 3px; align-self: center; }
.phone .title { font-weight: 700; font-size: 18px; margin-top: 6px; }
.phone .sub { font-size: 13px; color: var(--faint); }
.prop { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; display: flex; flex-direction: column; gap: 7px; }
.prop b { font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; font-size: 12px; }
.tag { padding: 2px 8px; border-radius: 999px; }
.tag.ok { background: var(--ok-bg); color: var(--ok-fg); }
.tag.warn { background: var(--warn-bg); color: var(--warn-fg); }
.tag.bad { background: var(--bad-bg); color: var(--bad-fg); }
.meter { height: 6px; background: var(--line-soft); border-radius: 3px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 70%; background: var(--accent); }
.small-muted { font-size: 12px; color: var(--muted); }
.push { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface); font-size: 12px; display: flex; gap: 8px; align-items: flex-start; }
.push svg { flex: none; margin-top: 2px; }
.caption { font-size: 12px; color: var(--faint); font-family: var(--font-mono); }

/* Deadline checker */
.checker { flex: 999 1 460px; display: flex; flex-direction: column; gap: 16px; }
.checker label { font-weight: 600; font-size: 15px; }
.checker .field { width: 100%; max-width: 420px; }
.result { flex: 1 1 380px; background: var(--surface); border: 1px solid var(--tint-line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.result .region-name { font-size: 24px; font-weight: 700; }
.facts { display: flex; flex-wrap: wrap; gap: 16px 28px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.result .need { border-top: 1px solid var(--line-soft); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.result .need ul { margin: 0; padding-left: 20px; }
.status-line { font-size: 14px; font-weight: 600; color: var(--accent-ink); }

/* Pain cards */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.pain p { color: var(--muted); }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.num { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; }
.steps p { color: var(--muted); }

/* Reminder timeline */
.timeline { border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 18px; background: var(--bg); display: flex; flex-direction: column; gap: 12px; }
.track-wrap { overflow-x: auto; }
.track { position: relative; min-width: 560px; height: 86px; }
.track .axis { position: absolute; left: 0; right: 0; top: 28px; height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--ok-fg) 0 50%, var(--warn-fg) 50% 92%, var(--bad-fg) 92% 100%); opacity: .55; }
.tick { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; text-align: center; width: 120px; }
.tick .lbl { font-family: var(--font-mono); font-size: 12px; color: var(--faint); height: 18px; }
.tick .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.tick .what { color: var(--muted); line-height: 1.3; }
.tick.end .dot { border-color: var(--bad-fg); }

/* Checklist chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 500; }
.chips li span { color: var(--faint); font-weight: 400; }
.chips li.hl { background: var(--tint); border-color: var(--tint-line); color: var(--accent-ink); font-weight: 600; }
.chips li.hl span { color: var(--accent-ink); }
.subhead { font-weight: 600; font-size: 15px; color: var(--muted); }

/* Comparison */
.table-wrap { flex: 999 1 560px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 14px 16px; vertical-align: top; }
thead tr { background: var(--bg); }
tbody tr { border-top: 1px solid var(--line-soft); }
tbody th { font-weight: 500; }
td.us, th.us { font-weight: 600; }
th.us { color: var(--accent-ink); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 12px; background: var(--surface); }
.plan.featured { border: 2px solid var(--accent); }
.plan .price { font-size: 40px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 5px; color: var(--muted); }
.plan .btn { margin-top: auto; }
.plan .tagline { color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; }
details { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; background: var(--surface); }
summary { font-weight: 600; cursor: pointer; }
details p { margin-top: 10px; color: var(--muted); }

/* Final CTA */
.final { background: var(--invert-bg); color: var(--invert-fg); padding-inline: 16px; }
.final .wrap { align-items: center; text-align: center; gap: 18px; }
.final p { color: var(--invert-muted); }

footer { background: var(--surface); padding-inline: 16px; }
footer .wrap { padding-block: 32px; gap: 16px; font-size: 14px; color: var(--muted); }
footer .row { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
/* Comfortable tap targets for text links on touch screens */
footer nav a, nav.main a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
footer .a11y { border-top: 1px solid var(--line-soft); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; max-width: 820px; }
footer .a11y h2 { font-size: 16px; color: var(--fg); }
.sources { font-size: 14px; color: var(--faint); }
.sources a { color: var(--faint); }

@media (prefers-reduced-motion: no-preference) {
  .result { transition: background-color .2s ease; }
  .result.flash { background: var(--tint); }
}

/* Property type badges, matching the app */
:root { --k-long:#1F3F99; --k-long-soft:#E8EDFB; --k-hmo:#5B2A86; --k-hmo-soft:#F1E8FB; --k-hol:#0B5F57; --k-hol-soft:#DFF3F0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --k-long:#B5C6FF; --k-long-soft:#232C4A; --k-hmo:#D9B8FF; --k-hmo-soft:#33244A; --k-hol:#8FE0D6; --k-hol-soft:#163A37; } }
:root[data-theme="dark"] { --k-long:#B5C6FF; --k-long-soft:#232C4A; --k-hmo:#D9B8FF; --k-hmo-soft:#33244A; --k-hol:#8FE0D6; --k-hol-soft:#163A37; }
.kind { align-self: flex-start; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.kind.long { background: var(--k-long-soft); color: var(--k-long); }
.kind.hmo { background: var(--k-hmo-soft); color: var(--k-hmo); }
.kind.hol { background: var(--k-hol-soft); color: var(--k-hol); }
.prop .head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* Use-case cards */
.use { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.use p { color: var(--muted); }
.use .kind { font-size: 13px; padding: 4px 10px; }
.use a.more { margin-top: auto; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

/* Duty tables on landing pages */
.duties { flex: none; }
.duties td:last-child { min-width: 170px; }
.duties .badge-in { display: inline-block; margin: 0 6px 4px 0; }
.duties td:first-child, .duties th[scope="row"] { font-weight: 600; }
.duties td .fine, .duties th .fine { display: block; font-weight: 400; margin-top: 2px; }
.badge-in { font-size: 13px; font-weight: 600; color: var(--ok-fg); background: var(--ok-bg); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }

/* App store note */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 6px 18px; border-radius: 10px; border: 1px solid var(--fg); color: var(--fg); background: var(--surface); line-height: 1.25; }
.store small { font-size: 12px; color: var(--muted); }
.store b { font-size: 16px; }
.breadcrumb { font-size: 14px; color: var(--muted); }
/* Screen-reader text inside sideways-scrolling boxes stays inside them, so it can't widen the page */
.table-wrap, .track-wrap { position: relative; }

/* "Who it's for" dropdown (disclosure pattern: a button that shows a list of links) */
.menu { position: relative; }
.menu-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--fg); font: inherit; cursor: pointer; }
.menu-btn:hover { color: var(--accent-ink); }
.menu-btn svg { transition: transform .15s ease; }
.menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu-list { position: absolute; top: calc(100% + 6px); left: -12px; z-index: 30; width: 320px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.menu-list[hidden] { display: none; }
.menu-list a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 8px; color: var(--fg); text-decoration: none; min-height: 44px; }
.menu-list a:hover, .menu-list a[aria-current="page"] { background: var(--tint); }
.menu-list .kind { flex: none; width: 84px; text-align: center; margin-top: 2px; }
.menu-text { display: flex; flex-direction: column; gap: 2px; }
.menu-text span { font-size: 14px; color: var(--muted); }
@media (max-width: 720px) {
  .menu { position: static; }
  .menu-list { position: fixed; left: 16px; right: 16px; width: auto; top: calc(var(--header-h, 80px) + env(safe-area-inset-top, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .menu-btn svg { transition: none; } }

/* Landing pages added 8 October 2026 */
.kind.free { background: var(--tint); color: var(--accent-ink); }
.badge-no { display: inline-block; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--line-soft); padding: 2px 8px; border-radius: 999px; }
.cc { align-items: flex-start; }
.cc-form { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; }
.opts { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.opts legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 10px; }
.opts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.opts label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; font-weight: 500; }
.opts input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin: 0; }
.opts label:has(input:checked) { border: 2px solid var(--accent); background: var(--tint); color: var(--accent-ink); font-weight: 600; }
.cc-out { flex: 1 1 420px; background: var(--surface); border: 1px solid var(--tint-line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cc-out h3 { font-size: 16px; margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.cc-n { font-size: 13px; color: var(--muted); font-weight: 500; }
.cc-for { color: var(--muted); }
.cc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cc-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.cc-name { font-weight: 600; }
.cc-when { grid-column: 1; color: var(--muted); font-size: 15px; }
.cc-list a { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 14px; min-height: 24px; }
@media print {
  header.band, footer, .final, .cc-form, .cta-row, .skip { display: none !important; }
  .band { border: 0; }
  .cc-out { border: 0; padding: 0; }
  .cc-list a::after { content: " (" attr(href) ")"; font-size: 11px; }
}

/* Keep the phone header to one row: this must beat the 44px tap-target rule above */
@media (max-width: 720px) { nav.main a.optional:not(.btn) { display: none; } }

/* Layout helpers that replaced inline style attributes, so the Content-Security-Policy can forbid inline styles.
   !important keeps the precedence the inline styles had. */
.u-stack { display: flex !important; flex-direction: column !important; }
.u-gap8 { gap: 8px !important; } .u-gap10 { gap: 10px !important; } .u-gap12 { gap: 12px !important; } .u-gap14 { gap: 14px !important; }
.u-grow { flex: 999 1 480px !important; }
.u-side { flex: 1 1 340px !important; }
.u-mw720 { max-width: 720px !important; } .u-mw760 { max-width: 760px !important; }
.u-center { margin: 0 auto !important; }
.u-items-center { align-items: center !important; } .u-between { justify-content: space-between !important; }
.u-self-start { align-self: flex-start !important; }
.u-w600 { font-weight: 600 !important; }
.u-h2-final { font-size: clamp(30px, 4.5vw, 40px) !important; }
.tick-8 { left: 8% !important; } .tick-50 { left: 50% !important; } .tick-80 { left: 80% !important; } .tick-93 { left: 93% !important; }

/* Long-form pages: privacy notice, terms, contact */
.prose { max-width: 760px; gap: 20px; }
.prose h1 { font-size: clamp(34px, 5vw, 46px); }
.prose h2 { font-size: 22px; margin-top: 12px; }
.prose section { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: calc(var(--header-h, 72px) + 16px); }
.prose p, .prose ul { margin: 0; }
.prose ul { padding-left: 1.25em; display: flex; flex-direction: column; gap: 6px; }
.prose .toc-h { font-size: 16px; margin: 0 0 6px; }
.prose .toc { columns: 2 220px; list-style: none; padding: 0; display: block; }
.prose .toc li { padding: 6px 0; }
.draft-note { border: 2px dashed var(--line); border-radius: 8px; padding: 10px 14px; align-self: flex-start; }
/* Monthly and yearly side by side on each plan */
.plan .price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .25em; }
.plan .price .price-or { font-size: 16px; font-weight: 400; color: var(--muted); margin: 0 .35em; }

/* Monthly / yearly switch (12 October 2026). CSS-only, so it works without JavaScript. */
.billing { display: flex; flex-direction: column; gap: 22px; }
.bill-toggle { border: 0; margin: 0; padding: 4px; display: inline-flex; align-self: flex-start; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.bill-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bill-toggle label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--muted); }
.bill-toggle input:checked + label { background: var(--accent); color: var(--on-accent); }
.bill-toggle input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.bill-toggle .save { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--ok-bg); color: var(--ok-fg); }
.plan .p-note { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.plan .p-y { display: none; }
.billing:has(input[value="year"]:checked) .p-y { display: inline; }
.billing:has(input[value="year"]:checked) .p-m { display: none; }
.u-gap20 { gap: 20px !important; } .u-tc { text-align: center !important; }
/* Real app screenshots */
img.shot { display: block; max-width: 100%; height: auto; border: 2px solid var(--fg); border-radius: 32px; background: var(--bg); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; justify-items: center; }
.gallery figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.gallery figcaption { color: var(--muted); max-width: 260px; }
/* Guides */
.g-wrap { max-width: 820px; display: flex; flex-direction: column; gap: 18px; }
.byline { font-size: 14px; color: var(--muted); }
.answer { border-left: 4px solid var(--accent); background: var(--tint); padding: 16px 20px; border-radius: 0 12px 12px 0; font-size: 18px; }
.answer p + p { margin-top: 10px; }
.toc { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; background: var(--surface); }
.toc-h { font-size: 16px; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.g-sec { display: flex; flex-direction: column; gap: 12px; padding-top: 10px; }
.g-sec h3 { margin-top: 6px; }
.g-sec ul, .g-sec ol, .prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; margin: 0; }
.g-sec .table-wrap { flex: none; }
.g-cta { border: 2px solid var(--accent); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); margin-top: 10px; }
.g-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.g-more ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; margin: 10px 0 0; }
.g-more h2 { font-size: 20px; }
.g-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.g-card { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.g-card h3 a { text-decoration-thickness: 1px; }
.prose h2 { margin-top: 10px; }
/* Renewal calculator */
.calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: start; }
.calc-form, .calc-out { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cfield { display: flex; flex-direction: column; gap: 4px; }
.cfield label { font-weight: 600; }
.cfield .hint { font-size: 14px; color: var(--muted); }
.cfield input { min-height: 44px; padding: 8px 12px; border: 1px solid var(--field-line); border-radius: 10px; background: var(--surface); color: var(--fg); font: inherit; max-width: 260px; }
.calc-out .table-wrap { flex: none; }
