@charset "UTF-8";
/* =========================================================================
   Budget Monitor India - website styles
   Hand-written CSS. No framework, no build step, no external font request.

   Contents
   01 Design tokens (light + dark)
   02 Reset and base elements
   03 Layout helpers
   04 Skip link
   05 Header and navigation
   06 Buttons
   07 Download component
   08 Hero
   09 Trust strip
   10 Section furniture
   11 Feature cards
   12 Screenshot gallery
   13 How it works
   14 Privacy block
   15 FAQ
   16 CTA band
   17 Footer
   18 Back to top
   19 Legal / document pages
   20 Forms
   21 Changelog
   22 404
   23 Scroll reveal + motion preferences
   24 Print (base rules; css/print.css adds more for legal pages)
   ========================================================================= */

/* ---------------------------------------------------------------- 01 tokens */
:root {
  /* brand palette, taken from the app icon and in-app theme */
  --brand-green: #157A52;
  --brand-green-deep: #0B3D2C;
  --brand-green-darkest: #04281B;
  --brand-grad-top: #187658;
  --brand-grad-bottom: #125040;
  --brand-gold: #F5B82E;
  --brand-gold-ink: #8A6100;
  --brand-blue: #1565C0;
  --brand-income: #2E7D32;
  --brand-expense: #C62828;

  /* radius scale */
  --r-6: 6px;
  --r-10: 10px;
  --r-14: 14px;
  --r-20: 20px;
  --r-28: 28px;

  /* spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  --wrap: 1180px;
  --wrap-narrow: 820px;
  --header-h: 68px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-num: "Segoe UI", Roboto, system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* semantic tokens - LIGHT
     Keep this list in sync with the two dark blocks below. */
  --bg: #F6F8F7;
  --bg-alt: #EDF2EF;
  --surface: #FFFFFF;
  --surface-2: #F6F8F7;
  --surface-inset: #EAF4EF;
  --border: #DDE5E1;
  --border-strong: #C4D2CC;
  --text: #16241E;
  --text-muted: #4E5D56;
  --text-subtle: #6B7A73;
  --heading: #0B3D2C;
  --accent: #157A52;
  --accent-hover: #0F5F40;
  --accent-text: #106844;
  --on-accent: #FFFFFF;
  --gold-text: #8A6100;
  --gold-surface: #FFF6E0;
  --gold-border: #F0D089;
  --income: #2E7D32;
  --expense: #C62828;
  --info: #1565C0;
  --info-surface: #E8F0FB;
  --focus-ring: #0B3D2C;
  --header-bg: rgba(255, 255, 255, 0.86);
  --header-border: rgba(11, 61, 44, 0.10);
  --shadow-sm: 0 1px 2px rgba(4, 40, 27, 0.06), 0 1px 3px rgba(4, 40, 27, 0.05);
  --shadow-md: 0 4px 10px rgba(4, 40, 27, 0.06), 0 10px 24px rgba(4, 40, 27, 0.06);
  --shadow-lg: 0 12px 28px rgba(4, 40, 27, 0.10), 0 28px 60px rgba(4, 40, 27, 0.10);
  --hero-wash: radial-gradient(120% 90% at 88% 6%, rgba(245, 184, 46, 0.16) 0%, rgba(245, 184, 46, 0) 60%),
    radial-gradient(90% 70% at 6% 0%, rgba(21, 122, 82, 0.12) 0%, rgba(21, 122, 82, 0) 62%);
}

/* semantic tokens - DARK (manual toggle) */
[data-theme="dark"] {
  --bg: #101512;
  --bg-alt: #151C18;
  --surface: #18201C;
  --surface-2: #1E2823;
  --surface-inset: #172A22;
  --border: #2A352F;
  --border-strong: #3A4841;
  --text: #E7EFEA;
  --text-muted: #A9B9B1;
  --text-subtle: #8B9A93;
  --heading: #EAF4EF;
  --accent: #1B8F63;
  --accent-hover: #22A574;
  --accent-text: #58D3A2;
  --on-accent: #FFFFFF;
  --gold-text: #F5C558;
  --gold-surface: #2A2213;
  --gold-border: #5A4718;
  --income: #77D68F;
  --expense: #FF9A90;
  --info: #7FB2F0;
  --info-surface: #16202E;
  --focus-ring: #F5B82E;
  --header-bg: rgba(16, 21, 18, 0.88);
  --header-border: rgba(255, 255, 255, 0.10);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
  --hero-wash: radial-gradient(120% 90% at 88% 6%, rgba(245, 184, 46, 0.10) 0%, rgba(245, 184, 46, 0) 60%),
    radial-gradient(90% 70% at 6% 0%, rgba(21, 122, 82, 0.18) 0%, rgba(21, 122, 82, 0) 62%);
}

/* semantic tokens - DARK (system preference, unless the visitor chose light) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101512;
    --bg-alt: #151C18;
    --surface: #18201C;
    --surface-2: #1E2823;
    --surface-inset: #172A22;
    --border: #2A352F;
    --border-strong: #3A4841;
    --text: #E7EFEA;
    --text-muted: #A9B9B1;
    --text-subtle: #8B9A93;
    --heading: #EAF4EF;
    --accent: #1B8F63;
    --accent-hover: #22A574;
    --accent-text: #58D3A2;
    --on-accent: #FFFFFF;
    --gold-text: #F5C558;
    --gold-surface: #2A2213;
    --gold-border: #5A4718;
    --income: #77D68F;
    --expense: #FF9A90;
    --info: #7FB2F0;
    --info-surface: #16202E;
    --focus-ring: #F5B82E;
    --header-bg: rgba(16, 21, 18, 0.88);
    --header-border: rgba(255, 255, 255, 0.10);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
    --hero-wash: radial-gradient(120% 90% at 88% 6%, rgba(245, 184, 46, 0.10) 0%, rgba(245, 184, 46, 0) 60%),
      radial-gradient(90% 70% at 6% 0%, rgba(21, 122, 82, 0.18) 0%, rgba(21, 122, 82, 0) 62%);
  }
}

/* ------------------------------------------------------- 02 reset and base */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 var(--sp-3);
  color: var(--heading);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + 0.6vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.0625rem; font-weight: 700; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--accent-hover); }

strong, b { font-weight: 700; color: var(--heading); }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.35rem; }
li { margin-bottom: var(--sp-2); }
li:last-child { margin-bottom: 0; }

img, svg, picture { max-width: 100%; }
img { height: auto; display: block; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: var(--sp-6) 0;
}

code, kbd, samp {
  font-family: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-6);
  padding: 0.1em 0.4em;
}

kbd { box-shadow: 0 1px 0 var(--border-strong); }

table { border-collapse: collapse; width: 100%; }

:target { scroll-margin-top: calc(var(--header-h) + 20px); }

/* focus: visible, never removed */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--r-6);
}
.on-dark :focus-visible,
.site-footer :focus-visible,
.cta :focus-visible { outline-color: var(--brand-gold); }

/* -------------------------------------------------------- 03 layout helpers */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.stack > * + * { margin-top: var(--sp-4); }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.small { font-size: 0.9375rem; }
.nowrap { white-space: nowrap; }

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  color: var(--text-muted);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--brand-gold);
  border-radius: 2px;
}

/* ------------------------------------------------------------ 04 skip link */
.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 200;
  background: var(--brand-green-deep);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-10);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s var(--ease);
}
.skip-link:focus { top: var(--sp-3); color: #fff; }

/* ------------------------------------------------- 05 header + navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}
.site-header.is-condensed {
  border-bottom-color: var(--header-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: var(--header-h);
  padding-block: 0.55rem;
  transition: min-height 0.2s var(--ease), padding-block 0.2s var(--ease);
}
.site-header.is-condensed .header-inner {
  min-height: 56px;
  padding-block: 0.3rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--heading);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-right: auto;
}
.brand:hover { color: var(--heading); }
.brand__mark {
  width: 38px; height: 38px;
  border-radius: var(--r-10);
  box-shadow: var(--shadow-sm);
  flex: none;
  transition: width 0.2s var(--ease), height 0.2s var(--ease);
}
.site-header.is-condensed .brand__mark { width: 32px; height: 32px; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-size: 1.02rem; }
.brand__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.nav { display: flex; align-items: center; gap: var(--sp-1); }
.nav a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: var(--r-10);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.nav a:hover { color: var(--heading); background: var(--surface-2); }
.nav a[aria-current="page"] {
  color: var(--accent-text);
  background: var(--surface-inset);
}

.header-actions { display: flex; align-items: center; gap: var(--sp-2); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  border-radius: var(--r-10);
  cursor: pointer;
  padding: 0;
}
.icon-btn:hover { border-color: var(--border-strong); background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }

.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: var(--sp-3) clamp(1rem, 4vw, 2rem) var(--sp-5);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease),
      visibility 0.18s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a {
    padding: 0.85rem 0.6rem;
    border-radius: var(--r-10);
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--border);
  }
  .nav a:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------------- 06 buttons */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--on-accent);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.35rem;
  min-height: 48px;
  border: 2px solid var(--btn-bd);
  border-radius: var(--r-14);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.15s var(--ease),
    border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.btn:hover { --btn-bg: var(--accent-hover); color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--primary { box-shadow: var(--shadow-md); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--accent-text);
  --btn-bd: var(--border-strong);
}
.btn--ghost:hover {
  --btn-bg: var(--surface-inset);
  --btn-bd: var(--accent);
  --btn-fg: var(--accent-text);
}

.btn--gold {
  --btn-bg: var(--brand-gold);
  --btn-fg: #4A3400;
  --btn-bd: transparent;
}
.btn--gold:hover { --btn-bg: #E9A916; --btn-fg: #4A3400; }

.btn--on-dark {
  --btn-bg: #FFFFFF;
  --btn-fg: var(--brand-green-deep);
}
.btn--on-dark:hover { --btn-bg: #EAF4EF; --btn-fg: var(--brand-green-deep); }

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #FFFFFF;
  --btn-bd: rgba(255, 255, 255, 0.5);
}
.btn--outline-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-bd: #FFFFFF;
  --btn-fg: #FFFFFF;
}

.btn--block { width: 100%; }
.btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.75; }
.btn[aria-disabled="true"]:hover { transform: none; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

/* --------------------------------------------- 07 download component (JS) */
.download {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
/* Reserve the space the rendered button needs, so nothing jumps when main.js
   fills these containers in. The footer variant is a single button. */
.download[data-download="hero"],
.download[data-download="mid"] { min-height: 150px; }
.download--center { align-items: center; text-align: center; }

/* inline icon sprite */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}
.download--center .download__row { justify-content: center; }

/* official Google Play badge wrapper.
   Google's badge asset has its own clear-space rules: do not add borders,
   do not recolour it, keep at least 1/4 badge height of clear space. */
.play-badge {
  display: inline-block;
  border-radius: var(--r-10);
  line-height: 0;
  text-decoration: none;
}
.play-badge img {
  height: 66px;
  width: auto;
  display: block;
}
.play-badge[aria-disabled="true"] { filter: grayscale(1); opacity: 0.65; }

/* fallback pill used only while assets/google-play-badge.png is missing */
.play-fallback {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 60px;
  padding: 0.6rem 1.4rem 0.6rem 1.1rem;
  border-radius: var(--r-14);
  background: var(--brand-green-deep);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.play-fallback:hover { background: var(--brand-green-darkest); color: #fff; }
.play-fallback svg { width: 26px; height: 26px; flex: none; }
.play-fallback__lines { display: flex; flex-direction: column; line-height: 1.15; }
.play-fallback__small {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.play-fallback__big { font-size: 1.125rem; font-weight: 800; }
.play-fallback[aria-disabled="true"] {
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px dashed var(--border-strong);
  box-shadow: none;
  cursor: not-allowed;
}
.play-fallback[aria-disabled="true"]:hover { background: var(--surface-2); color: var(--text-muted); }

/* On the dark CTA band and in the footer the deep-green pill would disappear
   into the background, so it becomes a translucent outline instead. */
.on-dark .play-fallback,
.site-footer .play-fallback {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  box-shadow: none;
}
.on-dark .play-fallback:hover,
.site-footer .play-fallback:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #fff;
}
.on-dark .play-fallback[aria-disabled="true"],
.site-footer .play-fallback[aria-disabled="true"] {
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.4);
  color: #EAF4EF;
}
.on-dark .play-fallback[aria-disabled="true"]:hover,
.site-footer .play-fallback[aria-disabled="true"]:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #EAF4EF;
}

.download__qr {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-14);
  box-shadow: var(--shadow-sm);
}
.download__qr img { width: 96px; height: 96px; border-radius: var(--r-10); }
.download__qr p { margin: 0; font-size: 0.875rem; color: var(--text-muted); max-width: 20ch; }

.download__note {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.on-dark .download__note { color: #CFE8DE; }

.download__ios {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4);
  background: var(--info-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-14);
  max-width: 44ch;
  text-align: left;
  /* explicit, because this box also appears on the dark CTA band and in the
     footer, where the inherited colour would be near-invisible */
  color: var(--text);
}
.download__ios strong { color: var(--heading); }
.download__ios svg { width: 22px; height: 22px; flex: none; color: var(--info); margin-top: 2px; }
.download__ios p { margin: 0; font-size: 0.9375rem; }

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  list-style: none;
}
.download--center .app-meta { justify-content: center; }
.app-meta li { margin: 0; display: flex; gap: 0.35rem; }
.app-meta dt, .app-meta__k { font-weight: 600; color: var(--text-subtle); }
.app-meta__v { color: var(--text); font-weight: 600; }
.on-dark .app-meta { color: #CFE8DE; }
.on-dark .app-meta__k { color: #9CC9B8; }
.on-dark .app-meta__v { color: #fff; }

.apk-note {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  max-width: 46ch;
  margin: 0;
}

/* ------------------------------------------------------------------ 08 hero */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 4vw, 5rem) clamp(2.5rem, 5vw, 5rem);
  background-image: var(--hero-wash);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.hero__copy { max-width: 40rem; }
.hero h1 { margin-bottom: var(--sp-4); }
.hero h1 .accent { color: var(--accent-text); }
.hero__sub {
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3rem);
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: var(--sp-5);
}
.hero .download { margin-top: var(--sp-5); }

.hero__phone {
  justify-self: center;
  width: min(320px, 78vw);
  filter: drop-shadow(0 24px 48px rgba(4, 40, 27, 0.22));
}
.hero__phone svg { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__phone { order: -1; width: min(260px, 62vw); }
}

/* ----------------------------------------------------------- 09 trust strip */
.trust {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.trust__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3) var(--sp-5);
  margin: 0;
  padding-block: var(--sp-5);
  padding-inline: 0;
  list-style: none;
}
.trust__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-weight: 700;
  color: var(--heading);
  font-size: 0.9375rem;
}
.trust__list svg {
  width: 26px; height: 26px;
  flex: none;
  color: var(--accent-text);
}
@media (max-width: 700px) {
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  .trust__list { grid-template-columns: 1fr; }
}

/* ------------------------------------------------- 10 section furniture */
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--alt { background: var(--bg-alt); }
.section--surface { background: var(--surface); border-block: 1px solid var(--border); }

.section__head {
  max-width: 62ch;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.section__head--center { margin-inline: auto; text-align: center; }
.section__head p { color: var(--text-muted); margin-bottom: 0; }

/* ---------------------------------------------------------- 11 feature cards */
.feature-group + .feature-group { margin-top: clamp(2rem, 4vw, 3rem); }
.feature-group__head {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}
.feature-group__head h3 { margin: 0; }
.feature-group__count {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold-text);
  background: var(--gold-surface);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-20);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card h4 { margin-bottom: var(--sp-2); }
.card p { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }

.card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: var(--r-14);
  background: var(--surface-inset);
  color: var(--accent-text);
  margin-bottom: var(--sp-4);
}
.card__icon svg { width: 24px; height: 24px; }
.card--gold .card__icon { background: var(--gold-surface); color: var(--gold-text); }
.card--blue .card__icon { background: var(--info-surface); color: var(--info); }

/* ----------------------------------------------------- 12 screenshot gallery */
.gallery {
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--sp-2) clamp(1rem, 4vw, 2rem) var(--sp-5);
  margin-inline: calc(clamp(1rem, 4vw, 2rem) * -1);
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.gallery:focus-visible { outline-offset: -3px; }
.gallery::-webkit-scrollbar { height: 10px; }
.gallery::-webkit-scrollbar-track { background: var(--surface-2); border-radius: 999px; }
.gallery::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }

.shot {
  flex: 0 0 auto;
  width: clamp(200px, 46vw, 250px);
  margin: 0;
  scroll-snap-align: center;
}
.shot__frame {
  border: 8px solid var(--brand-green-deep);
  border-radius: var(--r-28);
  background: var(--brand-green-deep);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.shot img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  display: block;
  background: var(--surface-2);
}
.shot figcaption {
  margin-top: var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}
.shot figcaption b { display: block; color: var(--heading); }

.gallery-controls {
  display: flex;
  gap: var(--sp-2);
  justify-content: flex-end;
  margin-bottom: var(--sp-3);
}
.gallery-hint { font-size: 0.875rem; color: var(--text-subtle); margin-right: auto; align-self: center; }

/* ------------------------------------------------------- 13 how it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  position: relative;
  margin: 0;
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-20);
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: var(--sp-4);
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
}
.steps h3 { font-size: 1.1rem; margin-bottom: var(--sp-2); }
.steps p { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }

/* ------------------------------------------------------- 14 privacy block */
.privacy-block {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 860px) { .privacy-block { grid-template-columns: 1fr; } }

.pledge {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--sp-3);
}
.pledge li {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-14);
  font-size: 0.9375rem;
}
.pledge li b { display: block; margin-bottom: 2px; }
.pledge svg { width: 22px; height: 22px; flex: none; color: var(--accent-text); margin-top: 3px; }
.pledge li.is-caveat { border-left-color: var(--brand-gold); }
.pledge li.is-caveat svg { color: var(--gold-text); }

.callout {
  padding: var(--sp-5);
  border-radius: var(--r-20);
  border: 1px solid var(--gold-border);
  background: var(--gold-surface);
}
.callout h3 { color: var(--heading); }
.callout p { color: var(--text); }
.callout--info { background: var(--info-surface); border-color: var(--border); }
.callout--plain { background: var(--surface-2); border-color: var(--border); }
.callout > :last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- 15 FAQ */
.faq { display: grid; gap: var(--sp-3); max-width: 62rem; margin-inline: auto; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-14);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  font-weight: 700;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  margin-left: auto;
  flex: none;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--accent-text);
  border-bottom: 2.5px solid var(--accent-text);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq summary:hover { background: var(--surface-2); }
.faq .faq__body {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--text-muted);
  font-size: 0.9688rem;
}
.faq .faq__body > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ 16 CTA band */
.cta {
  background: linear-gradient(160deg, var(--brand-grad-top), var(--brand-green-darkest));
  color: #EAF4EF;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.cta h2 { color: #fff; }
.cta p { color: #CFE8DE; }
.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 820px) {
  .cta__inner { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------- 17 footer */
.site-footer {
  background: var(--brand-green-deep);
  color: #CFE8DE;
  padding-block: clamp(2.5rem, 4vw, 3.5rem) var(--sp-5);
  font-size: 0.9375rem;
}
.site-footer h2, .site-footer h3 { color: #fff; font-size: 0.9375rem; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer a { color: #EAF4EF; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { display: flex; gap: var(--sp-3); align-items: flex-start; }
.footer-brand img { width: 44px; height: 44px; border-radius: var(--r-10); flex: none; }
.footer-brand strong { color: #fff; display: block; }
.footer-brand p { color: #A9C9BC; margin: 0.25rem 0 0; font-size: 0.875rem; max-width: 34ch; }

.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-list li { margin: 0; }

.copy-email {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #EAF4EF;
  border-radius: var(--r-10);
  padding: 0.25rem 0.55rem;
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
}
.copy-email:hover { border-color: #fff; color: #fff; }
.copy-email svg { width: 15px; height: 15px; }

.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  align-items: center;
  justify-content: space-between;
  color: #A9C9BC;
  font-size: 0.875rem;
}
.footer-bottom p { margin: 0; }
.no-cookies {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.no-cookies svg { width: 16px; height: 16px; color: var(--brand-gold); }

/* -------------------------------------------------------- 18 back to top */
.to-top {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 90;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-text);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--surface-inset); }
.to-top svg { width: 22px; height: 22px; }

/* ------------------------------------------------ 19 legal / doc pages */
.page-head {
  background: linear-gradient(165deg, var(--brand-green-deep), var(--brand-green-darkest));
  color: #EAF4EF;
  padding-block: clamp(2.25rem, 5vw, 4rem);
}
.page-head h1 { color: #fff; margin-bottom: var(--sp-3); }
.page-head p { color: #CFE8DE; max-width: 60ch; margin-bottom: 0; }
.page-head .meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  margin-top: var(--sp-4);
  font-size: 0.875rem;
  color: #A9C9BC;
}
.page-head .meta span {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}

.breadcrumb {
  font-size: 0.875rem;
  color: #A9C9BC;
  margin-bottom: var(--sp-4);
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; gap: 0.5rem; align-items: center; }
.breadcrumb li + li::before { content: "/"; opacity: 0.6; }
.breadcrumb a { color: #EAF4EF; }

.doc {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding-block: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; } }

.toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  max-height: calc(100dvh - var(--header-h) - 2rem);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-20);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.toc h2 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: var(--sp-3);
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin: 0; }
.toc a {
  display: block;
  padding: 0.4rem 0.55rem;
  border-radius: var(--r-6);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
}
.toc a:hover { background: var(--surface-2); color: var(--heading); }
.toc a.is-active {
  color: var(--accent-text);
  background: var(--surface-inset);
  border-left-color: var(--accent);
  font-weight: 700;
}
@media (max-width: 900px) {
  .toc { position: static; max-height: none; }
}

.prose { max-width: 72ch; }
.prose h2 {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: var(--sp-2);
  font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.8rem);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--sp-6); font-size: 1.15rem; }
.prose h4 { margin-top: var(--sp-5); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.4rem; }
.prose > section + section { margin-top: 0; }
.prose dl { margin: 0 0 var(--sp-4); }
.prose dt { font-weight: 700; color: var(--heading); margin-top: var(--sp-3); }
.prose dd { margin: 0.15rem 0 0; color: var(--text-muted); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-14);
  margin-bottom: var(--sp-5);
  background: var(--surface);
}
.table-wrap table { min-width: 32rem; }
.table-wrap caption {
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.875rem;
  color: var(--text-subtle);
  border-bottom: 1px solid var(--border);
}
.table-wrap th, .table-wrap td {
  text-align: left;
  padding: 0.7rem var(--sp-4);
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  vertical-align: top;
}
.table-wrap thead th {
  background: var(--surface-2);
  color: var(--heading);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.table-wrap tbody tr:last-child th,
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody th { font-weight: 700; color: var(--heading); width: 42%; }

.yes, .no {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
}
.yes { color: var(--income); }
.no { color: var(--expense); }

.note {
  padding: var(--sp-4);
  border-radius: var(--r-14);
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 0.9375rem;
  margin-bottom: var(--sp-5);
}
.note--warn { background: var(--gold-surface); border-color: var(--gold-border); }
.note--info { background: var(--info-surface); }
.note > :last-child { margin-bottom: 0; }
.note strong { display: block; margin-bottom: 0.2rem; }

/* TODO markers are visible on purpose before launch: they should be obvious. */
.todo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--gold-surface);
  color: var(--gold-text);
  border: 1px dashed var(--gold-border);
  border-radius: var(--r-6);
  padding: 0.05rem 0.45rem;
  font-size: 0.8125em;
  font-weight: 700;
  white-space: nowrap;
}

.steps-list { counter-reset: item; list-style: none; padding: 0; }
.steps-list > li {
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: var(--sp-4);
}
.steps-list > li::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  left: 0; top: 0;
  width: 1.85rem; height: 1.85rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-inset);
  color: var(--accent-text);
  font-weight: 800;
  font-size: 0.875rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
}
.back-link svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------- 20 forms */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-20);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
}
.field .hint { display: block; font-weight: 400; color: var(--text-subtle); font-size: 0.8125rem; margin-top: 0.15rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-10);
  padding: 0.7rem 0.85rem;
  min-height: 46px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
}
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) { border-color: var(--expense); }
.req { color: var(--expense); }

.form-status {
  margin-top: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-10);
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.form-status[hidden] { display: none; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-2); }
.checklist li {
  display: flex;
  gap: 0.6rem;
  margin: 0;
  padding: 0.6rem 0.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-10);
  font-size: 0.9375rem;
}
.checklist svg { width: 20px; height: 20px; flex: none; color: var(--accent-text); margin-top: 2px; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.email-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-4);
  background: var(--surface-inset);
  border: 1px solid var(--border);
  border-radius: var(--r-14);
  margin-bottom: var(--sp-4);
}
.email-row a { font-weight: 700; font-size: 1.0625rem; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--accent-text);
  border-radius: var(--r-10);
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--accent); background: var(--surface-2); }
.copy-btn svg { width: 16px; height: 16px; }

/* --------------------------------------------------------- 21 changelog */
.releases { list-style: none; margin: 0; padding: 0; }
.releases > li {
  position: relative;
  margin: 0 0 var(--sp-6);
  padding-left: clamp(1.5rem, 4vw, 2.25rem);
  border-left: 2px solid var(--border);
}
.releases > li::before {
  content: "";
  position: absolute;
  left: -7px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}
.release__head {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-3);
  align-items: baseline;
  margin-bottom: var(--sp-3);
}
.release__ver { font-size: 1.35rem; font-weight: 800; color: var(--heading); }
.release__date { font-size: 0.875rem; color: var(--text-subtle); }
.tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  background: var(--surface-inset);
  color: var(--accent-text);
  border: 1px solid var(--border);
}
.tag--gold { background: var(--gold-surface); color: var(--gold-text); border-color: var(--gold-border); }

/* --------------------------------------------------------------- 22 404 */
.error-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(3rem, 8vw, 6rem);
  background-image: var(--hero-wash);
}
.error-code {
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent-text);
  margin: 0 0 var(--sp-3);
}
.error-page .btn-row { justify-content: center; }

/* --------------------------------------- 23 scroll reveal + motion prefs */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
/* If JS never runs, content must still be visible. */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ------------------------------------------------------------- 24 print */
@media print {
  .site-header,
  .site-footer,
  .to-top,
  .cta,
  .gallery-controls,
  .skip-link,
  .nav,
  .header-actions { display: none !important; }

  body { background: #fff; color: #000; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
  .page-head { background: none !important; color: #000; padding-block: 0 1rem; }
  .page-head h1, .page-head p, .page-head .meta { color: #000; }
  .doc { display: block; padding-block: 0; }
  .toc { display: none; }
  .prose { max-width: none; }
}
