/* ready-home ("בית מוכן"), design-v2 (24.11.2026).
   Anchor: GOV.UK (Design of the Year 2013) and its Design System. One system, adapted to Hebrew/RTL:
   one type family (IBM Plex Sans Hebrew, with IBM Plex Sans for Cyrillic) in 400 and 700, large plain text (18-19 px),
   a solid brand band (header, home hero), square corners, no shadows except the button edge, underlined links,
   the yellow focus state, big square checkboxes, a step-by-step list, summary lists, tags and a light footer band.
   Brand colour roles: band blue, link blue, go-green for the primary action, one warm "light in the window" on the
   house mark. Logical properties throughout. Colour pairs are checked for WCAG AA in both themes (design/NOTES.md). */

/* ---------- fonts (self-hosted, SIL OFL 1.1, licences in /fonts) ---------- */
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/plex-hebrew-400.woff2) format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/plex-hebrew-700.woff2) format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/plex-latin-400.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 Hebrew";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/plex-latin-700.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;
}
/* Russian: the Cyrillic letters only (IBM Plex Sans, same design as the Latin above). Each file loads only when
   Cyrillic is on screen; on Hebrew and English pages that is just the word "Русский" in the language switch. */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/plex-cyrillic-400.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/plex-cyrillic-700.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* metric-matched fallbacks, so the swap to the web font does not move the page */
@font-face {
  font-family: "Plex Fallback";
  src: local("Arial");
  size-adjust: 104%;
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
}

/* ---------- tokens ---------- */
/* Ready Home's own hue: a forest green band ("ready", the safe room sign) with one warm standout, the amber of a
   lit window. Five category hues carry the content (kit, plan, people, care, protection). Dark mode is a deep green
   night, not charcoal. Every pair below is checked for AA in design/NOTES.md. */
:root {
  color-scheme: light;
  --bg: #fcfbf7;           /* warm white */
  --surface: #edf4ee;      /* green-tinted panels, footer band */
  --surface-2: #dfece2;
  --text: #10201a;
  --text-2: #3b4a42;       /* 9.0:1 */
  --muted: #4c5d54;        /* 6.3:1 on --surface */
  --line: #c3d3c8;         /* hairline (decorative only) */
  --rule: #10201a;
  --axis: #5f7268;         /* control borders that must be seen */
  --band: #17603d;         /* header + home hero band, white text 7.6:1 */
  --band-ink: #ffffff;
  --band-soft: #d4ebdc;    /* secondary text on the band, 6.0:1 */
  --band-line: rgba(255, 255, 255, 0.3);
  --lamp: #f5b740;         /* the one warm standout: the lit window, the current page, progress */
  --lamp-soft: #fdf0d2;
  --accent: #156038;       /* links, map markers: 7.3:1 */
  --accent-hover: #0b3d22;
  --accent-ink: #ffffff;
  --accent-soft: #e0efe4;  /* selected shelter, reports */
  --accent-ring: #156038;
  --go: #00703c;           /* the primary action, white text 6.2:1 */
  --go-hover: #005a30;
  --go-edge: #002d18;
  --quiet-btn: #e2ece4;
  --quiet-edge: #7f978a;
  --focus: #ffdd00;
  --focus-ink: #0b0c0c;
  /* category hues (tiles with a white glyph, >= 4.7:1; as text on --bg >= 4.7:1) */
  --c-protect: #1f7a4c;
  --c-supply: #a15c00;
  --c-connect: #2a6db0;
  --c-people: #c2493d;
  --c-care: #6b4fb3;
  /* state tags (text always written out; colour only repeats it) */
  --tag-open-bg: #cce8d6;   --tag-open-ink: #0b4a2a;
  --tag-locked-bg: #fff0c2; --tag-locked-ink: #5c4700;
  --tag-unknown-bg: #dbe8f5; --tag-unknown-ink: #173f66;
  /* type */
  --font: "IBM Plex Sans Hebrew", "IBM Plex Sans", "Plex Fallback", system-ui, -apple-system, "Segoe UI", Arial, "Noto Sans Hebrew", sans-serif;
  --fs-small: 1rem;        /* 16 */
  --fs-body: 1.125rem;     /* 18 on phones, 19 from 641 px */
  --fs-lead: 1.25rem;      /* 20 -> 24 */
  --fs-h3: 1.25rem;        /* 20 -> 24 */
  --fs-h2: 1.625rem;       /* 26 -> 36 */
  --fs-h1: 2rem;           /* 32 -> 48 */
  --fs-hero: 2.5rem;       /* 40 -> 64 */
  /* space (8 px base) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gutter: 16px;
  --measure: 41rem;        /* reading column, about 64 characters of Hebrew at 19 px */
  --radius: 0;
}

@media (min-width: 641px) {
  :root {
    --fs-body: 1.1875rem;
    --fs-lead: 1.5rem;
    --fs-h3: 1.5rem;
    --fs-h2: 2.25rem;
    --fs-h1: 3rem;
    --fs-hero: 4rem;
    --gutter: 30px;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #10291e;
    --surface: #17382a;
    --surface-2: #1f4433;
    --text: #e8f1ec;
    --text-2: #c2d3ca;
    --muted: #9db5a8;
    --line: #3a6150;
    --rule: #e8f1ec;
    --axis: #7f9a8c;
    --band: #165236;
    --band-ink: #ffffff;
    --band-soft: #cfe6d8;
    --band-line: rgba(255, 255, 255, 0.22);
    --lamp-soft: #3a2f12;
    --accent: #8fdcb0;
    --accent-hover: #c6f0d6;
    --accent-ink: #0c1f17;
    --accent-soft: #1c4131;
    --accent-ring: #8fdcb0;
    --go: #1a7a48;
    --go-hover: #18703f;
    --step: #268050;
    --banner: #1f6b45;
    --panel-rule: #2f9a62;
    --go-edge: #04140d;
    --quiet-btn: #1f4433;
    --quiet-edge: #04140d;
    --c-protect: #2f9a63;
    --c-supply: #c07a12;
    --c-connect: #3d82c6;
    --c-people: #d25f52;
    --c-care: #8468cc;
    --tag-open-bg: #17442c;   --tag-open-ink: #a8e8c3;
    --tag-locked-bg: #3d3210; --tag-locked-ink: #ffe28a;
    --tag-unknown-bg: #1b3550; --tag-unknown-ink: #cfe2f5;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #10291e;
  --surface: #17382a;
  --surface-2: #1f4433;
  --text: #e8f1ec;
  --text-2: #c2d3ca;
  --muted: #9db5a8;
  --line: #3a6150;
  --rule: #e8f1ec;
  --axis: #7f9a8c;
  --band: #165236;
  --band-ink: #ffffff;
  --band-soft: #cfe6d8;
  --band-line: rgba(255, 255, 255, 0.22);
  --lamp-soft: #3a2f12;
  --accent: #8fdcb0;
  --accent-hover: #c6f0d6;
  --accent-ink: #0c1f17;
  --accent-soft: #1c4131;
  --accent-ring: #8fdcb0;
  --go: #1a7a48;
  --go-hover: #18703f;
  --step: #268050;
  --banner: #1f6b45;
  --panel-rule: #2f9a62;
  --go-edge: #04140d;
  --quiet-btn: #1f4433;
  --quiet-edge: #04140d;
  --c-protect: #2f9a63;
  --c-supply: #c07a12;
  --c-connect: #3d82c6;
  --c-people: #d25f52;
  --c-care: #8468cc;
  --tag-open-bg: #17442c;   --tag-open-ink: #a8e8c3;
  --tag-locked-bg: #3d3210; --tag-locked-ink: #ffe28a;
  --tag-unknown-bg: #1b3550; --tag-unknown-ink: #cfe2f5;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
  overflow-x: clip;
}

main {
  flex: 1 0 auto;
}

main:focus {
  outline: none;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration-line: underline;
  text-decoration-thickness: max(1px, 0.0625rem);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
  text-decoration-thickness: max(3px, 0.1875rem);
}

/* GOV.UK focus: yellow, with a dark edge so it shows on any background */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 0;
  box-shadow: 0 0 0 5px var(--focus-ink);
}

a:focus-visible {
  outline: 3px solid transparent;
  background-color: var(--focus);
  color: var(--focus-ink);
  box-shadow: 0 -2px var(--focus), 0 4px var(--focus-ink);
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0 0 var(--s4);
  color: var(--text);
  font-weight: 700;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.15;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.2;
  margin-top: var(--s7);
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.3;
  margin-top: var(--s6);
  margin-bottom: var(--s3);
}

p {
  margin: 0 0 var(--s4);
}

strong {
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

.vh {
  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;
}

.wrap {
  width: 100%;
  max-width: calc(1020px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -80px;
  background: var(--focus);
  color: var(--focus-ink);
  padding: 10px 16px;
  z-index: 100;
  text-decoration: underline;
}

.skip:focus {
  top: 8px;
}

/* ---------- header: one solid band (brand, nav, language, theme) ---------- */
.site-header {
  background: var(--band);
  color: var(--band-ink);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--s5);
  padding-block: var(--s2) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--band-ink);
  text-decoration: none;
  margin-inline-end: auto;
  min-height: 48px;
}

.brand:hover {
  color: var(--band-ink);
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.mark-ring {
  stroke-linejoin: miter;
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
}

.mark-core {
  fill: var(--accent);
}

.site-header .mark-core {
  fill: var(--lamp);
}

.controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--s1);
  order: 2;
  margin-inline-start: auto;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
}

html[lang="he"] .lang-btn[lang="he"],
html[lang="en"] .lang-btn[lang="en"],
html[lang="ru"] .lang-btn[lang="ru"] {
  display: none;
}

/* language and theme on the band: plain underlined words and one square icon button */
.site-header .icon-btn {
  color: var(--band-ink);
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: var(--fs-small);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  padding-inline: 10px;
}

.site-header .icon-btn:hover {
  background: var(--band-line);
  color: var(--band-ink);
  text-decoration-thickness: 3px;
}

.site-header [data-theme-toggle] {
  text-decoration: none;
  border: 2px solid var(--band-line);
  width: 44px;
  padding: 0;
}

.site-header [data-theme-toggle] svg {
  width: 20px;
  height: 20px;
}

.site-header :focus-visible {
  outline: 3px solid transparent;
  background: var(--focus);
  color: var(--focus-ink);
  box-shadow: 0 4px var(--focus-ink);
}

.nav {
  order: 3;
  flex-basis: 100%;
  border-top: 1px solid var(--band-line);
}

/* phones: a fixed 2 x 2 grid, so the header height never depends on font loading */
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 var(--s4);
}

.nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 6px 0 4px;
  color: var(--band-ink);
  text-decoration: none;
  border-bottom: 4px solid transparent;
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.25;
}

.nav a:hover {
  color: var(--band-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.nav a[aria-current="page"] {
  border-bottom-color: var(--lamp);
}

@media (min-width: 960px) {
  .site-header .wrap {
    padding-block: 0;
    min-height: 72px;
  }

  .brand {
    margin-inline-end: var(--s5);
  }

  .nav {
    order: 1;
    flex-basis: auto;
    margin-inline-end: auto;
    border-top: 0;
    align-self: stretch;
    display: flex;
  }

  .nav ul {
    display: flex;
    gap: 0 var(--s5);
  }

  .nav a {
    height: 100%;
    padding: 4px 0 0;
    font-size: 1.0625rem;
  }
}

/* ---------- buttons ---------- */
.btn,
.icon-btn {
  font: inherit;
  font-size: var(--fs-body);
  line-height: 1.2;
  cursor: pointer;
  border-radius: var(--radius);
  min-height: 48px;
  min-width: 44px;
  padding: 10px 16px 8px;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  text-align: center;
}

/* quiet (secondary) button */
.btn {
  background: var(--quiet-btn);
  color: var(--text);
  box-shadow: 0 2px 0 var(--quiet-edge);
  margin-bottom: 2px;
}

.btn:hover {
  background: var(--surface-2);
  color: var(--text);
  filter: brightness(0.97);
}

/* the one primary action per view: GOV.UK green */
.btn.primary {
  background: var(--go);
  color: #ffffff;
  box-shadow: 0 2px 0 var(--go-edge);
}

.btn.primary:hover {
  background: var(--go-hover);
  color: #ffffff;
  filter: none;
}

.btn:active {
  transform: translateY(2px);
  box-shadow: none;
}

.btn:focus-visible,
.icon-btn:focus-visible {
  outline: 3px solid transparent;
  background: var(--focus);
  color: var(--focus-ink);
  box-shadow: 0 2px 0 var(--focus-ink);
}

/* start button: big, bold, with an arrow that points the reading way */
.btn.big {
  min-height: 60px;
  font-size: var(--fs-lead);
  font-weight: 700;
  padding: 12px 20px 10px;
  width: 100%;
}

.btn.big::after {
  content: "";
  width: 24px;
  height: 24px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h13M12 5l7 7-7 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h13M12 5l7 7-7 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
}

[dir="rtl"] .btn.big::after {
  transform: scaleX(-1);
}

@media (min-width: 600px) {
  .btn.big { width: auto; }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s4);
  margin-block: var(--s4) var(--s5);
}

/* ---------- page head ---------- */
.page-head {
  padding-block: var(--s6) var(--s2);
  max-width: var(--measure);
}

@media (min-width: 641px) {
  .page-head { padding-block: var(--s7) var(--s2); }
}

.page-head p,
.lead {
  color: var(--text);
  font-size: var(--fs-lead);
  line-height: 1.5;
}

/* inset text: a note that belongs next to the content (GOV.UK inset) */
.notice {
  color: var(--text);
  border-inline-start: 8px solid var(--line);
  padding: var(--s3) var(--s4);
  margin-block: var(--s5) var(--s6);
  font-size: var(--fs-body);
  line-height: 1.6;
  max-width: var(--measure);
}

.notice a {
  font-weight: 700;
}

.meta {
  color: var(--muted);
  font-size: var(--fs-small);
  margin-block: var(--s2) var(--s4);
}

.page-head p.offline-hint,
.offline-hint {
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.55;
  margin-block: var(--s2) var(--s3);
}

.hint.map-note {
  max-width: var(--measure);
  color: var(--text);
  border-inline-start: 8px solid var(--line);
  padding: var(--s2) var(--s4);
  margin-block: var(--s2) var(--s3);
}

/* ---------- sections ---------- */
.section {
  margin-block: var(--s7);
  max-width: var(--measure);
}

.section:has(.apps-list) {
  max-width: none;
}

.section > h2:first-child {
  margin-top: 0;
}

.section + .section {
  border-top: 1px solid var(--line);
  padding-top: var(--s7);
}

/* ---------- home ---------- */
/* the hero continues the header band, full width, without making the page scroll sideways */
.start {
  position: relative;
  max-width: none;
  background: var(--band);
  color: var(--band-ink);
  /* full-bleed colour without overflow: the border image paints the band to both screen edges */
  border-image: conic-gradient(var(--band) 0 0) fill 0 // 0 100vmax;
  padding-block: var(--s6) var(--s7);
  margin-bottom: var(--s6);
}

.start > * {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.start h1 {
  color: var(--band-ink);
  font-size: var(--fs-hero);
  line-height: 1.05;
  margin-bottom: var(--s4);
}

.start p {
  color: var(--band-ink);
  max-width: 34rem;
}

.start .btn-row {
  margin-block: var(--s5) var(--s3);
}

/* on the band the start button takes the lamp amber, the site's one standout (dark text 10:1) */
.start .btn.primary {
  background: var(--lamp);
  color: #1a1405;
  box-shadow: 0 3px 0 #6b4a05;
}

.start .btn.primary:hover {
  background: #ffc95c;
  color: #1a1405;
}

.start .btn.primary:focus-visible {
  background: var(--focus);
  color: var(--focus-ink);
  box-shadow: 0 3px 0 var(--focus-ink);
}

.start p.offline-hint,
.start .offline-hint {
  color: var(--band-soft);
}

/* signature: the house with its window lit, large on the band's far side (wide screens only) */
@media (min-width: 900px) {
  .start::after {
    content: "";
    position: absolute;
    inset-inline-end: 0;
    top: 50%;
    width: 300px;
    height: 300px;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M10 30 32 10l22 20v26H10z' fill='none' stroke='%23ffffff' stroke-opacity='.9' stroke-width='3'/%3E%3Crect x='25' y='33' width='14' height='14' fill='%23f5b740'/%3E%3Cpath d='M32 33v14M25 40h14' stroke='%2317603d' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  :root[data-theme="dark"] .start::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M10 30 32 10l22 20v26H10z' fill='none' stroke='%23ffffff' stroke-opacity='.85' stroke-width='3'/%3E%3Crect x='25' y='33' width='14' height='14' fill='%23f5b740'/%3E%3Cpath d='M32 33v14M25 40h14' stroke='%23165236' stroke-width='1.5'/%3E%3C/svg%3E");
  }
}

@media (min-width: 900px) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .start::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M10 30 32 10l22 20v26H10z' fill='none' stroke='%23ffffff' stroke-opacity='.85' stroke-width='3'/%3E%3Crect x='25' y='33' width='14' height='14' fill='%23f5b740'/%3E%3Cpath d='M32 33v14M25 40h14' stroke='%23165236' stroke-width='1.5'/%3E%3C/svg%3E");
  }
}

@media (min-width: 641px) {
  .start { padding-block: var(--s8) var(--s8); }
}

/* safety lines (Home Front Command under the hero; "during an alert do not look for a shelter"): GOV.UK warning text */
body[data-page="shelters"] .page-head + .notice,
.start + .notice {
  position: relative;
  border: 0;
  padding: var(--s1) 0 0;
  padding-inline-start: 52px;
  font-weight: 700;
  min-height: 40px;
}

body[data-page="shelters"] .page-head + .notice::before,
.start + .notice::before {
  content: "!";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-size: 1.5rem;
  line-height: 36px;
  text-align: center;
  font-weight: 700;
}

/* the three tasks: cards of equal height, each with its own colour tile (white glyph), a bold title and one line */
.paths {
  list-style: none;
  margin: var(--s6) 0 var(--s5);
  padding: 0;
  display: grid;
  gap: var(--s4);
}

@media (min-width: 800px) {
  .paths { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
}

.paths li {
  display: flex;
  background: var(--surface);
  border-top: 6px solid var(--cat);
}

.paths li:nth-child(1) { --cat: var(--c-supply); }
.paths li:nth-child(2) { --cat: var(--c-connect); }
.paths li:nth-child(3) { --cat: var(--c-protect); }

.paths a {
  flex: 1;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-content: start;
  gap: var(--s1) var(--s4);
  padding: var(--s5) var(--s4);
  text-decoration: none;
  color: var(--text);
}

@media (min-width: 800px) {
  .paths a { grid-template-columns: 1fr; padding: var(--s5); }
}

.paths a::before {
  content: "";
  grid-row: 1 / span 2;
  width: 56px;
  height: 56px;
  background: var(--cat) var(--icon) center / 60% no-repeat;
}

@media (min-width: 800px) {
  .paths a::before { grid-row: auto; width: 64px; height: 64px; margin-bottom: var(--s3); }
}

/* checklist, my area (a pin), shelter (a roof over a door) */
.paths li:nth-child(1) a, .side-tasks a[href^="/checklist"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M6 8h10v10H6zM6 30h10v10H6z' fill='none' stroke='white' stroke-width='3'/%3E%3Cpath d='M8.5 12.5l2.5 2.5 6-7' fill='none' stroke='white' stroke-width='3'/%3E%3Cpath d='M22 13h20M22 35h20' stroke='white' stroke-width='3'/%3E%3C/svg%3E"); }
.paths li:nth-child(2) a { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 44S10 29 10 19a14 14 0 0 1 28 0c0 10-14 25-14 25z' fill='none' stroke='white' stroke-width='3.5'/%3E%3Ccircle cx='24' cy='19' r='5' fill='white'/%3E%3C/svg%3E"); }
.paths li:nth-child(3) a, .side-tasks a[href^="/shelters"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M4 22 24 6l20 16' fill='none' stroke='white' stroke-width='3.5'/%3E%3Cpath d='M9 20v22h30V20' fill='none' stroke='white' stroke-width='3.5'/%3E%3Cpath d='M19 42V30h10v12' fill='white'/%3E%3C/svg%3E"); }

.paths a strong {
  display: block;
  color: var(--accent);
  font-size: var(--fs-h3);
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.paths a span {
  display: block;
  color: var(--text-2);
  font-size: var(--fs-body);
  line-height: 1.55;
}

.paths a:hover strong {
  color: var(--accent-hover);
  text-decoration-thickness: 4px;
}

.paths a:focus-visible {
  box-shadow: none;
  outline: 3px solid var(--focus);
  outline-offset: 0;
}

.paths a:focus-visible strong,
.paths a:focus-visible span {
  color: var(--focus-ink);
}

/* ---------- prose pages ---------- */
.prose {
  padding-block: var(--s2) var(--s7);
}

.prose > div,
.prose > .lang-note {
  max-width: var(--measure);
}

.prose > div > h1:first-child,
.prose > h1:first-child {
  margin-top: var(--s6);
  margin-bottom: var(--s5);
}

@media (min-width: 641px) {
  .prose > div > h1:first-child,
  .prose > h1:first-child { margin-top: var(--s7); }
}

/* the first paragraph under the title is the lead line */
.prose > div > h1:first-child + p:not(.meta),
.prose > div > h1:first-child + .meta + p {
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.prose > .lang-note {
  margin-top: var(--s6);
}

.prose > .lang-note .notice {
  margin-block: 0 var(--s1);
}

html[lang="ru"] .prose > .lang-note + div > h1:first-child {
  margin-top: var(--s4);
}

@media (min-width: 641px) {
  .prose > .lang-note { margin-top: var(--s7); }
}

.prose h2 {
  margin-top: var(--s7);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.prose ul,
.prose ol {
  padding-inline-start: 1.4em;
  margin-block: 0 var(--s4);
}

.prose li {
  margin-bottom: var(--s2);
}

.prose ol li::marker {
  font-weight: 700;
}

.prose a {
  overflow-wrap: anywhere;
}

/* sources at the end of a content screen */
.sources {
  margin-top: var(--s7);
  border-top: 1px solid var(--line);
  padding-top: var(--s5);
  color: var(--text-2);
  font-size: var(--fs-small);
  max-width: var(--measure);
}

.sources h2 {
  font-size: var(--fs-h3);
  margin: 0 0 var(--s3);
}

.sources ul {
  padding-inline-start: 1.2em;
  margin: 0 0 var(--s3);
}

.sources li,
.sources p {
  font-size: var(--fs-small);
  margin-bottom: var(--s2);
}

/* ---------- more apps (home section and /apps) ---------- */
.apps-list {
  list-style: none;
  padding: 0;
  margin: var(--s4) 0 0;
  display: grid;
  gap: 0 var(--s6);
}

@media (min-width: 760px) {
  .apps-list { grid-template-columns: 1fr 1fr; }
}

.apps-list li {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  border-top: 1px solid var(--line);
  padding-block: var(--s5);
}

.apps-list svg {
  width: 56px;
  height: 56px;
  padding: 10px;
  flex: none;
  background: var(--surface);
  color: var(--text);
}

.apps-list li > div {
  min-width: 0;
}

.apps-list h2,
.apps-list h3 {
  margin: 0 0 var(--s2);
  font-size: var(--fs-h3);
}

.apps-list p {
  margin: 0 0 var(--s2);
  color: var(--text-2);
}

.apps-list .app-links {
  color: var(--text);
}

.apps-list a {
  display: inline-block;
  padding-block: 10px;
  min-width: 44px;
  font-weight: 700;
}

.mark-peak {
  fill: var(--accent);
}

/* ---------- footer: a light band; the Gladyard "more tools" block comes first ---------- */
.site-footer {
  margin-top: var(--s8);
  border-top: 4px solid var(--band);
  background: var(--surface);
  color: var(--text-2);
  font-size: var(--fs-small);
}

.site-footer .wrap {
  padding-block: var(--s5) var(--s6);
}

.site-footer a {
  color: var(--text);
}

.site-footer a:hover {
  color: var(--text);
}

.site-footer a:focus-visible {
  color: var(--focus-ink);
}

.gy-more {
  --gy-accent: var(--accent);
  padding-block: 0 var(--s5);
  margin-bottom: var(--s5);
  border-bottom: 1px solid var(--line);
}

.gy-more-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4em;
  margin: 0 0 var(--s3);
  color: var(--muted);
  font-size: var(--fs-small);
}

.gy-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  min-height: 44px;
  padding-inline: 2px;
}

.gy-lockup:hover {
  text-decoration: underline;
}

.gy-mark {
  width: 20px;
  height: 20px;
  flex: none;
}

.gy-more-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s1) var(--s5);
}

@media (min-width: 760px) {
  .gy-more-list { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
}

.gy-more-list a {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  color: var(--text);
  font-size: var(--fs-small);
}

.gy-more-list a,
.gy-more-list span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.gy-more-list svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.gy-more-list svg .mark-peak {
  fill: var(--gy-accent);
}

.site-footer .oref {
  margin-bottom: var(--s3);
  max-width: var(--measure);
  font-size: var(--fs-small);
  color: var(--text);
}

.site-footer .oref a {
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s5);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}

.maker-line {
  margin: var(--s3) 0 0;
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px 10px;
}

.maker-line a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

.maker-line .maker-who {
  gap: 10px;
  flex: 0 1 auto;
  min-width: 0;
}

.maker-mini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.maker-line .maker-fb {
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin-inline-start: -6px;
}

.maker-line .maker-fb svg {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.maker-line .maker-fb::after,
.maker-line .maker-who::after {
  content: none !important;
}

.maker-line .maker-who[data-ext] > span:not(.ext-note)::after {
  content: "\2060\00a0\2197";
  content: "\2060\00a0\2197" / "";
  font-size: 0.8em;
}

[dir="rtl"] .maker-line .maker-who[data-ext] > span:not(.ext-note)::after {
  content: "\2060\00a0\2196";
  content: "\2060\00a0\2196" / "";
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

html:not(.js) .controls,
html:not(.js) .js-only {
  display: none !important;
}

/* ---------- form controls (GOV.UK: dark 2 px borders, yellow focus with a thick inner edge) ---------- */
.field {
  display: grid;
  gap: var(--s1);
  margin-block: var(--s3) var(--s5);
  max-width: 28rem;
}

.field label,
.legend {
  font-weight: 700;
}

input[type="text"],
input[type="search"],
input[type="number"],
select,
textarea {
  font: inherit;
  font-size: var(--fs-body);
  min-height: 48px;
  padding: 8px 10px;
  border: 2px solid var(--text);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  width: 100%;
}

input[type="text"]:focus-visible,
input[type="search"]:focus-visible,
input[type="number"]:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 0;
  box-shadow: inset 0 0 0 2px var(--text);
}

textarea {
  min-height: 9rem;
  line-height: 1.55;
  resize: vertical;
}

input[type="number"] {
  max-width: 8rem;
}

fieldset {
  border: 0;
  padding: 0;
  margin: var(--s5) 0;
  min-width: 0;
}

legend {
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.25;
  padding: 0;
  float: inline-start;
  width: 100%;
  margin-bottom: var(--s3);
}

legend + * {
  clear: both;
}

.choices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0 var(--s5);
}

@media (min-width: 640px) {
  .choices { grid-template-columns: 1fr 1fr; }
}

/* big square checkboxes (40 px on the list, 32 px in the household box) */
.check {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  min-height: 48px;
  padding-block: var(--s2);
  cursor: pointer;
  line-height: 1.5;
}

.check input {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  width: 32px;
  height: 32px;
  margin: -2px 0 0;
  border: 2px solid var(--text);
  border-radius: 0;
  background: var(--bg);
  cursor: pointer;
  display: grid;
  place-content: center;
}

.check input:checked {
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%2310201a' stroke-width='3.5' stroke-linecap='square'/%3E%3C/svg%3E") center / 78% no-repeat;
}

:root[data-theme="dark"] .check input:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23e8f1ec' stroke-width='3.5' stroke-linecap='square'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .check input:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23e8f1ec' stroke-width='3.5' stroke-linecap='square'/%3E%3C/svg%3E");
  }
}

.check input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 0;
  box-shadow: 0 0 0 6px var(--focus-ink);
}

.hint {
  color: var(--muted);
  font-size: var(--fs-body);
  margin: 0 0 var(--s2);
}

/* ---------- checklist ---------- */
/* who lives at home: a tinted panel, so the settings read apart from the list */
.household fieldset {
  background: var(--surface);
  padding: var(--s5) var(--s4) var(--s3);
  margin-block: var(--s5) var(--s6);
  max-width: 52rem;
}

@media (min-width: 641px) {
  .household fieldset { padding: var(--s6) var(--s6) var(--s4); }
}

.household legend {
  font-size: var(--fs-h2);
  float: inline-start;
}

.todo-section {
  margin-block: var(--s7) var(--s2);
  max-width: var(--measure);
}

.todo-section h2 {
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: var(--s3);
  border-bottom: 4px solid var(--cat, var(--rule));
  display: flex;
  align-items: center;
  gap: var(--s4);
  text-wrap: balance;
}

/* each part of the plan has its own colour tile: protection, supplies, family plan, people, care, pets */
.todo-section h2::before {
  content: "";
  flex: none;
  width: 48px;
  height: 48px;
  background: var(--cat, var(--band)) var(--glyph, none) center / 62% no-repeat;
}

.todo-section[aria-labelledby^="s-space"], .jump a[href^="#s-space"] { --cat: var(--c-protect); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 4 8 10v12c0 11 7 19 16 22 9-3 16-11 16-22V10z' fill='none' stroke='white' stroke-width='3.5'/%3E%3Cpath d='M17 24l5 5 9-10' fill='none' stroke='white' stroke-width='3.5'/%3E%3C/svg%3E"); }
.todo-section[aria-labelledby^="s-kit"], .jump a[href^="#s-kit"] { --cat: var(--c-supply); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M6 15 24 6l18 9v19l-18 9-18-9z' fill='none' stroke='white' stroke-width='3.5' stroke-linejoin='round'/%3E%3Cpath d='M6 15l18 9 18-9M24 24v19' fill='none' stroke='white' stroke-width='3.5'/%3E%3C/svg%3E"); }
.todo-section[aria-labelledby^="s-family"], .jump a[href^="#s-family"] { --cat: var(--c-connect); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M5 8h38v25H21l-10 8v-8H5z' fill='none' stroke='white' stroke-width='3.5' stroke-linejoin='round'/%3E%3Ccircle cx='15' cy='20' r='2.6' fill='white'/%3E%3Ccircle cx='24' cy='20' r='2.6' fill='white'/%3E%3Ccircle cx='33' cy='20' r='2.6' fill='white'/%3E%3C/svg%3E"); }
.todo-section[aria-labelledby^="s-babies"], .jump a[href^="#s-babies"],
.todo-section[aria-labelledby^="s-kids"], .jump a[href^="#s-kids"],
.todo-section[aria-labelledby^="s-elderly"], .jump a[href^="#s-elderly"] { --cat: var(--c-people); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='17' cy='15' r='6' fill='none' stroke='white' stroke-width='3.5'/%3E%3Ccircle cx='33' cy='19' r='5' fill='none' stroke='white' stroke-width='3.5'/%3E%3Cpath d='M5 41c0-8 5-14 12-14s12 6 12 14M29 41c0-6 2-11 4-11 5 0 10 4 10 11' fill='none' stroke='white' stroke-width='3.5'/%3E%3C/svg%3E"); }
.todo-section[aria-labelledby^="s-mob"], .jump a[href^="#s-mob"],
.todo-section[aria-labelledby^="s-vis"], .jump a[href^="#s-vis"],
.todo-section[aria-labelledby^="s-hear"], .jump a[href^="#s-hear"],
.todo-section[aria-labelledby^="s-cog"], .jump a[href^="#s-cog"],
.todo-section[aria-labelledby^="s-men"], .jump a[href^="#s-men"],
.todo-section[aria-labelledby^="s-dev"], .jump a[href^="#s-dev"],
.todo-section[aria-labelledby^="s-meds"], .jump a[href^="#s-meds"] { --cat: var(--c-care); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M19 7h10v12h12v10H29v12H19V29H7V19h12z' fill='white'/%3E%3C/svg%3E"); }
.todo-section[aria-labelledby^="s-pets"], .jump a[href^="#s-pets"],
.todo-section[aria-labelledby^="s-small"], .jump a[href^="#s-small"] { --cat: var(--c-supply); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cellipse cx='24' cy='33' rx='10' ry='8' fill='white'/%3E%3Ccircle cx='11' cy='21' r='4.5' fill='white'/%3E%3Ccircle cx='19' cy='12' r='4.5' fill='white'/%3E%3Ccircle cx='29' cy='12' r='4.5' fill='white'/%3E%3Ccircle cx='37' cy='21' r='4.5' fill='white'/%3E%3C/svg%3E"); }

/* ticked items take a little of their part's colour */
.todo-section .check input:checked {
  border-color: var(--cat, var(--text));
}


.todo-section > p {
  margin-top: var(--s4);
}

.todo {
  list-style: none;
  margin: 0;
  padding: 0;
}

.todo li {
  border-bottom: 1px solid var(--line);
}

.todo .check {
  font-size: var(--fs-body);
  padding-block: var(--s3);
  gap: var(--s4);
}

.todo .check input {
  width: 40px;
  height: 40px;
  margin-top: -4px;
}

.todo input:checked + span {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--axis);
}

.src {
  color: var(--muted);
  font-size: var(--fs-small);
  margin: var(--s3) 0 0;
}

.progress {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin: 0;
}

/* water amount: a small key-number line under its item */
.water {
  border-inline-start: 6px solid var(--c-supply);
  background: var(--lamp-soft);
  padding: var(--s2) var(--s4);
  margin-block: 0 var(--s3);
  margin-inline-start: 56px;
  font-weight: 700;
}

.sticky-bar {
  position: sticky;
  bottom: 0;
  background: var(--bg);
  border-top: 4px solid var(--band);
  padding-block: var(--s3) var(--s1);
  margin-top: var(--s6);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--s5);
  max-width: var(--measure);
}

.sticky-bar .btn-row {
  margin-block: var(--s2);
  gap: var(--s2);
}

/* phones: one compact row, so the bar never covers much of the list */
@media (max-width: 640px) {
  .sticky-bar {
    flex-wrap: nowrap;
    gap: var(--s2);
    padding-block: var(--s2) 0;
  }
  .sticky-bar .progress {
    font-size: var(--fs-small);
    line-height: 1.3;
  }
  .sticky-bar .btn-row {
    flex-wrap: nowrap;
    margin-block: var(--s1) var(--s2);
  }
  .sticky-bar .btn {
    min-height: 44px;
    font-size: 0.9375rem;
    padding: 6px 10px 4px;
  }
}

/* ---------- area page ---------- */
/* where to check: GOV.UK step-by-step, numbered circles on a line */
.steps-list {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding-inline-start: 56px;
  padding-bottom: var(--s5);
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border: 2px solid var(--step, var(--band));
  border-radius: 50%;
  background: var(--step, var(--band));
  color: #ffffff;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 34px;
  text-align: center;
  z-index: 1;
}

.steps-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-start: 18px;
  top: 38px;
  bottom: 0;
  border-inline-start: 3px solid var(--step, var(--band));
}

.steps-list li strong {
  display: block;
  font-size: var(--fs-h3);
  line-height: 1.3;
  margin-bottom: var(--s1);
}

/* phone numbers: large and tappable */
a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: var(--fs-lead);
  font-weight: 700;
}

.note-card {
  border-inline-start: 6px solid var(--band);
  background: var(--surface);
  padding: var(--s4) var(--s5);
  margin-block: var(--s4);
}

.note-card:empty {
  display: none;
}

.note-card p {
  margin-bottom: var(--s2);
}

.big-num {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.1;
}

.warn {
  color: var(--text);
  font-weight: 700;
}

/* ---------- shelters ---------- */
.tools {
  display: grid;
  gap: 0 var(--s5);
  align-items: end;
  max-width: 52rem;
}

@media (min-width: 640px) {
  .tools { grid-template-columns: 1fr 1fr; }
}

.tools .field {
  margin-block: var(--s1);
  max-width: none;
}

.tools .btn-row {
  grid-column: 1 / -1;
  margin-block: var(--s3);
}

.status-line {
  color: var(--text-2);
  font-size: var(--fs-small);
  margin: var(--s2) 0 var(--s3);
  min-height: 1.6em;
}

/* the map is a tool: as wide as the page */
.map-wrap {
  margin-block: var(--s2) var(--s4);
}

.map {
  height: min(65vh, 520px);
  border: 2px solid var(--text);
  background: var(--surface);
}

.map-credit {
  font-size: 0.875rem;
  color: var(--text-2);
  margin: var(--s1) 0 0;
}

.map-credit a {
  display: inline-block;
  padding-block: 6px;
}

.shelter-list {
  list-style: none;
  margin: var(--s3) 0 0;
  padding: 0;
  border-top: 2px solid var(--rule);
  max-width: 52rem;
}

.shelter-list > li {
  border-bottom: 1px solid var(--line);
}

.shelter-list h2 {
  font-size: var(--fs-body);
  margin: 0;
  border: 0;
  padding: 0;
}

.shelter-btn {
  font: inherit;
  color: var(--text);
  background: transparent;
  border: 0;
  width: 100%;
  min-height: 48px;
  padding: var(--s4) var(--s1);
  text-align: start;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s1) var(--s3);
  align-items: baseline;
}

.shelter-btn:hover {
  background: var(--accent-soft);
}

.shelter-btn:hover .s-title {
  color: var(--accent-hover);
  text-decoration-thickness: 3px;
}

.s-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.s-dist {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 1.125rem;
  white-space: nowrap;
}

.s-sub {
  grid-column: 1 / -1;
  color: var(--text-2);
  font-size: var(--fs-small);
  font-weight: 400;
}

.s-flag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--tag-unknown-bg);
  color: var(--tag-unknown-ink);
  padding: 0 8px;
  margin-inline-start: 6px;
}

/* routine status as a GOV.UK tag; the words say it, colour and border repeat it */
.s-open {
  grid-column: 1 / -1;
  justify-self: start;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  background: var(--tag-open-bg);
  color: var(--tag-open-ink);
  border: 2px solid transparent;
  padding: 2px 8px;
  margin-top: var(--s1);
}

.s-open-locked {
  background: var(--tag-locked-bg);
  color: var(--tag-locked-ink);
  border-color: currentColor;
}

.s-open-unknown {
  background: var(--tag-unknown-bg);
  color: var(--tag-unknown-ink);
  border-style: dashed;
  border-color: currentColor;
}

/* the city's routine status, right above the list: the line people must not miss (notification banner) */
.city-status {
  max-width: 52rem;
  border: 4px solid var(--band);
  padding: var(--s4) var(--s5) var(--s2);
  margin-block: var(--s4) var(--s3);
}

.city-status:empty {
  display: none;
}

.city-status .cs-line {
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 var(--s2);
}

.city-status .hint {
  font-size: var(--fs-small);
  margin-bottom: var(--s2);
}

.map-legend {
  font-size: 0.9375rem;
  color: var(--text-2);
  margin: var(--s2) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s4);
  align-items: center;
}

.map-legend .key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.key-mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--accent);
  flex: none;
}

.key-locked .key-mark {
  border-width: 3px;
  background: var(--bg);
}

.key-unknown .key-mark {
  border-style: dashed;
  background: var(--bg);
}

.shelter-detail {
  padding: 0 var(--s1) var(--s5);
}

.shelter-detail dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s1) var(--s4);
  margin: 0 0 var(--s3);
}

.shelter-detail dt {
  color: var(--muted);
}

.shelter-detail dd {
  margin: 0;
}

.selected .s-title {
  color: var(--accent-hover);
}

.selected > h2 .shelter-btn,
.selected .shelter-btn {
  background: var(--accent-soft);
}

.reports {
  background: var(--accent-soft);
  padding: var(--s4);
  margin-block: var(--s3);
}

.reports h3 {
  margin: 0 0 var(--s2);
  font-size: var(--fs-body);
}

.reports ul {
  margin: 0 0 var(--s2);
  padding-inline-start: 1.2em;
}

.reports p {
  margin: 0 0 var(--s2);
}

.report-btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s3);
  margin-block: var(--s3);
}

.report-btns .btn {
  padding-inline: 14px;
  background: var(--bg);
  font-size: var(--fs-small);
}

.report-btns .btn:hover {
  background: var(--surface-2);
}

.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Leaflet: small overrides (the map is a visual extra; the list is the full alternative) */
.leaflet-container {
  font: inherit;
  font-size: 0.875rem;
}

.leaflet-control-zoom a,
.leaflet-touch .leaflet-control-zoom a {
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  font-size: 22px !important;
  color: #10201a !important;
  border-radius: 0 !important;
}

.leaflet-touch .leaflet-bar {
  border-radius: 0 !important;
  border: 2px solid #10201a !important;
}

.leaflet-control-attribution {
  display: none;
}

/* ---------- data page: GOV.UK summary lists ---------- */
.ds {
  margin-top: var(--s6);
  max-width: 52rem;
}

.ds h3 {
  margin-top: 0;
}

.ds dl {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 641px) {
  .ds dl { grid-template-columns: minmax(9rem, 30%) 1fr; }
}

.ds dt,
.ds dd {
  padding-block: var(--s3);
  border-bottom: 1px solid var(--line);
}

.ds dt {
  font-weight: 700;
  color: var(--text);
  padding-bottom: 0;
  border-bottom: 0;
}

@media (min-width: 641px) {
  .ds dt { padding-bottom: var(--s3); border-bottom: 1px solid var(--line); padding-inline-end: var(--s4); }
}

.ds dd {
  margin: 0;
  overflow-wrap: anywhere;
}

/* ---------- feedback form ---------- */
.fb-form {
  max-width: var(--measure);
}

.fb-form fieldset {
  margin-top: var(--s2);
}

.fb-form .field {
  max-width: 36rem;
}

.fb-status {
  min-height: 1.6em;
  margin-block: var(--s2);
  color: var(--text-2);
}

.fb-status.error,
.fb-status.ok {
  color: var(--text);
  font-weight: 700;
  border-inline-start: 8px solid var(--band);
  padding: var(--s2) var(--s4);
}

.fb-status a {
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* ---------- links that open in a new tab: a small arrow (mirrored in Hebrew); the hidden note says it in words ---------- */
a[data-ext]:not(.btn)::after {
  content: "\2197";
  content: "\2197" / "";
  display: inline-block;
  margin-inline-start: 0.2em;
  font-size: 0.8em;
  text-decoration: none;
}

[dir="rtl"] a[data-ext]:not(.btn)::after {
  transform: scaleX(-1);
}

/* ---------- print: only for paper ---------- */
.print-only,
.print-footer {
  display: none;
}

@media print {
  :root {
    color-scheme: light !important;
    --bg: #fff !important;
    --surface: #fff !important;
    --surface-2: #fff !important;
    --text: #000 !important;
    --text-2: #000 !important;
    --muted: #333 !important;
    --line: #999 !important;
    --rule: #000 !important;
    --axis: #555 !important;
    --band: #000 !important;
    --accent: #000 !important;
    --accent-ink: #fff !important;
    --accent-soft: #fff !important;
    --focus: #000 !important;
    --tag-open-bg: #fff !important; --tag-open-ink: #000 !important;
    --tag-locked-bg: #fff !important; --tag-locked-ink: #000 !important;
    --tag-unknown-bg: #fff !important; --tag-unknown-ink: #000 !important;
  }

  @page {
    margin: 14mm 12mm;
  }

  html,
  body {
    background: #fff !important;
    color: #000 !important;
  }

  body {
    display: block;
    min-height: 0;
    font-size: 11pt;
    line-height: 1.45;
  }

  .skip,
  .site-header .nav,
  .site-header .controls,
  .site-footer,
  .btn,
  .btn-row,
  .sticky-bar,
  .household,
  noscript,
  .offline-hint,
  [data-offline-hint],
  .report-btns,
  [data-shelters] > :not(.shelter-print) {
    display: none !important;
  }

  .site-header {
    background: #fff !important;
    color: #000 !important;
    border-bottom: 1px solid #000;
  }

  .site-header .brand {
    color: #000 !important;
  }

  .site-header .wrap,
  .wrap {
    max-width: none;
    padding-inline: 0;
  }

  .print-only {
    display: block !important;
  }

  a {
    color: #000;
  }

  a[data-ext]:not(.btn)::after {
    content: none;
  }

  h1,
  h2,
  h3,
  legend {
    break-after: avoid;
    page-break-after: avoid;
  }

  li,
  dl,
  .ds,
  .notice,
  .print-household {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .page-head {
    padding-block: 0 4px;
  }

  h1 {
    font-size: 20pt;
  }

  h2 {
    font-size: 14pt;
    margin-top: 10pt;
  }

  .todo-section {
    margin-block: 14px 4px;
  }

  .todo-section h2 {
    border-bottom-width: 1px;
    padding-bottom: 2pt;
  }

  .todo .check {
    min-height: 0;
    padding-block: 3px;
    font-size: 11pt;
  }

  .todo .check input,
  .check input {
    width: 14px;
    height: 14px;
    border-width: 1px;
    margin-top: 2px;
  }

  .water {
    margin-inline-start: 0;
    border: 0;
    padding: 0;
    font-weight: 400;
  }

  .print-household {
    font-weight: 700;
    border-block: 1px solid #000;
    padding: 4px 0;
  }

  .shelter-print h2 {
    margin-top: 6px;
  }

  .shelter-print .cs-line {
    font-size: 12pt;
    border-block: 2px solid #000;
    padding: 4px 0;
    margin: 4px 0;
  }

  .print-list {
    columns: 2;
    column-gap: 8mm;
    padding-inline-start: 1.6em;
    margin: 6px 0;
  }

  .print-list li {
    font-size: 10pt;
    line-height: 1.35;
    margin-bottom: 2.5mm;
  }

  .print-list .s-open {
    display: inline-block;
    padding: 0 4px;
    margin: 0;
    font-size: 9pt;
    border: 1px solid #000;
  }

  .print-footer {
    display: flex !important;
    align-items: center;
    gap: 6mm;
    margin-top: 10mm;
    padding-top: 4mm;
    border-top: 1px solid #000;
    break-inside: avoid;
    page-break-inside: avoid;
    color: #000;
  }

  .pf-qr {
    width: 30mm;
    height: 30mm;
    flex: none;
  }

  .pf-text p {
    margin: 0 0 1mm;
    font-size: 10pt;
    line-height: 1.35;
  }

  .pf-text .pf-name {
    font-size: 15pt;
    font-weight: 700;
  }

  .pf-text .pf-url {
    font-size: 12pt;
    font-weight: 700;
  }

  .pf-text .pf-alert {
    margin-top: 2mm;
  }
}

/* verbatim quotes from the municipal pages, on the data page */
.ds .quotes {
  margin: var(--s1) 0 var(--s2);
  padding-inline-start: 1.2em;
}

.ds .quotes li {
  font-size: var(--fs-small);
  margin-bottom: var(--s1);
}

/* the shelters safety line is long: the "!" marks it, the text stays regular weight */
body[data-page="shelters"] .page-head + .notice {
  font-weight: 400;
}

/* long words (Russian, English) at large sizes or with 200% text: break inside the word instead of pushing the page sideways */
h1,
h2,
h3,
legend,
.nav a,
.brand span,
.s-title,
.paths a strong,
.apps-list a,
.btn {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.nav li,
.paths a > *,
.todo-section h2 {
  min-width: 0;
}

/* 200% text at 360 px: single-column grids must not grow to a long word's min-content */
.apps-list,
.choices {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 760px) {
  .apps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) {
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.apps-list li,
.check,
.check > span {
  min-width: 0;
}
.apps-list li > div,
.check > span {
  overflow-wrap: anywhere;
}

/* the sticky bar spans the full column, so wider panels never show beside it */
.sticky-bar {
  max-width: none;
}

/* app tiles carry the category hues (same family as the home task cards), white glyph */
.apps-list li:nth-child(5n+1) { --cat: var(--c-protect); }
.apps-list li:nth-child(5n+2) { --cat: var(--c-care); }
.apps-list li:nth-child(5n+3) { --cat: var(--c-connect); }
.apps-list li:nth-child(5n+4) { --cat: var(--c-supply); }
.apps-list li:nth-child(5n+5) { --cat: var(--c-people); }
.apps-list svg {
  background: var(--cat, var(--band));
  color: #fff;
}
.apps-list .mark-peak {
  fill: var(--lamp);
}

/* ======================= Stage D (critic round 1) ======================= */

/* lines end without an orphan word; a city name never breaks inside ("תל אביב-יפו") */
p,
li {
  text-wrap: pretty;
}

.nw {
  white-space: nowrap;
}

/* ---------- GOV.UK grid: two-thirds main column + one-third side column ---------- */
.prose > div:has(> .layout) {
  max-width: none;
}

.layout-head > h1:first-child {
  margin-top: var(--s6);
  margin-bottom: var(--s5);
}

@media (min-width: 641px) {
  .layout-head > h1:first-child { margin-top: var(--s7); }
}

.layout-head > h1:first-child + p:not(.meta),
.layout-head > h1:first-child + .meta + p {
  font-size: var(--fs-lead);
  line-height: 1.5;
}

html[lang="ru"] .prose > .lang-note + div .layout-head > h1:first-child {
  margin-top: var(--s4);
}

.side {
  margin-block: var(--s5) var(--s6);
  max-width: var(--measure);
}

@media (min-width: 900px) {
  .layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "head side" "main side";
    column-gap: var(--s7);
    align-items: start;
  }
  .layout > .page-head,
  .layout > .layout-head { grid-area: head; }
  .layout > .layout-main { grid-area: main; }
  .layout > .side {
    grid-area: side;
    position: sticky;
    top: var(--s5);
    margin-block: var(--s7) var(--s6);
    max-height: calc(100vh - 2 * var(--s5));
    overflow-y: auto;
  }
}

/* ---------- side panels: solid surface, band rule on top ---------- */
.quick,
.toc,
.jump {
  background: var(--surface);
  border-top: 4px solid var(--panel-rule, var(--band));
  padding: var(--s4) var(--s5) var(--s3);
}

.quick h2,
.toc-h,
.jump-h {
  margin: 0 0 var(--s3);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
}

.quick p {
  margin: 0 0 var(--s4);
}

.quick .call {
  display: flex;
  width: 100%;
  justify-content: center;
  min-height: 56px;
  font-size: var(--fs-h3);
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
  margin-bottom: var(--s2);
}

.quick h3 {
  font-size: var(--fs-body);
  margin: var(--s5) 0 var(--s1);
}

.side-tasks,
.toc ol,
.jump ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.prose .toc li {
  margin: 0;
}

.side-tasks a,
.jump a {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: 48px;
  padding-block: var(--s1);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.side-tasks a::before,
.jump a::before {
  content: "";
  flex: none;
  width: 40px;
  height: 40px;
  background: var(--cat, var(--band)) var(--icon, var(--glyph)) center / 60% no-repeat;
}

.side-tasks a[href^="/checklist"] { --cat: var(--c-supply); }
.side-tasks a[href^="/shelters"] { --cat: var(--c-protect); }

.jump a::before {
  width: 32px;
  height: 32px;
}

.toc a {
  display: block;
  padding: var(--s2) var(--s3);
  margin-block: 2px;
  border-inline-start: 4px solid var(--cat);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  line-height: 1.35;
}

.toc li:nth-child(5n+1) a { --cat: var(--c-protect); }
.toc li:nth-child(5n+2) a { --cat: var(--c-supply); }
.toc li:nth-child(5n+3) a { --cat: var(--c-connect); }
.toc li:nth-child(5n+4) a { --cat: var(--c-people); }
.toc li:nth-child(5n+5) a { --cat: var(--c-care); }

.side-tasks a:hover,
.jump a:hover,
.toc a:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* jump links to sections the household does not need are hidden with their section */
.layout:has([aria-labelledby^="s-babies"][hidden]) .jump li:has(> a[href^="#s-babies"]),
.layout:has([aria-labelledby^="s-kids"][hidden]) .jump li:has(> a[href^="#s-kids"]),
.layout:has([aria-labelledby^="s-elderly"][hidden]) .jump li:has(> a[href^="#s-elderly"]),
.layout:has([aria-labelledby^="s-mob"][hidden]) .jump li:has(> a[href^="#s-mob"]),
.layout:has([aria-labelledby^="s-vis"][hidden]) .jump li:has(> a[href^="#s-vis"]),
.layout:has([aria-labelledby^="s-hear"][hidden]) .jump li:has(> a[href^="#s-hear"]),
.layout:has([aria-labelledby^="s-cog"][hidden]) .jump li:has(> a[href^="#s-cog"]),
.layout:has([aria-labelledby^="s-men"][hidden]) .jump li:has(> a[href^="#s-men"]),
.layout:has([aria-labelledby^="s-dev"][hidden]) .jump li:has(> a[href^="#s-dev"]),
.layout:has([aria-labelledby^="s-meds"][hidden]) .jump li:has(> a[href^="#s-meds"]),
.layout:has([aria-labelledby^="s-pets"][hidden]) .jump li:has(> a[href^="#s-pets"]),
.layout:has([aria-labelledby^="s-small"][hidden]) .jump li:has(> a[href^="#s-small"]) {
  display: none;
}

/* ---------- checklist: one column; progress + jump list in the side column on wide screens ---------- */
.household fieldset {
  max-width: var(--measure);
}

@media (max-width: 899px) {
  /* phones: the side column dissolves, so the progress bar stays sticky over the whole list */
  .layout > .side:has(> .sticky-bar) { display: contents; }
  .jump { display: none; }
}

@media (min-width: 900px) {
  .side .sticky-bar {
    position: static;
    display: block;
    margin-top: var(--s4);
    background: var(--surface);
    border-top: 4px solid var(--panel-rule, var(--band));
    padding: var(--s4) var(--s5);
  }
  .side .sticky-bar .progress {
    font-size: var(--fs-h3);
    margin: 0 0 var(--s2);
  }
  .side .sticky-bar .btn-row {
    flex-wrap: wrap;
  }
}

/* ---------- shelters: one column edge for text, form and status; the map may use the full width ---------- */
body[data-page="shelters"] .tools,
[data-shelters] > .hint,
[data-shelters] > div > .sh-more,
[data-shelters] > .status-line,
[data-shelters] > [data-map-note],
.shelter-list,
[data-shelters] > .meta {
  max-width: var(--measure);
}

.sh-more {
  color: var(--text);
}

/* the city's routine status as a GOV.UK notification banner: a solid band title strip over a tinted body */
.city-status {
  max-width: var(--measure);
  border: 0;
  background: var(--surface);
  padding: 0 var(--s5) var(--s2);
}

.city-status .cs-line > strong:first-child {
  display: block;
  margin: 0 calc(-1 * var(--s5)) var(--s3);
  padding: var(--s3) var(--s5);
  background: var(--banner, var(--band));
  color: var(--band-ink);
}

.city-status a {
  color: var(--accent);
}

/* ---------- footer "more tools": the new-tab arrow belongs to the label ---------- */
.gy-more-list a[data-ext]::after {
  content: none;
}

.gy-more-list a[data-ext] > span:not(.ext-note)::after {
  content: "\2060\00a0\2197";
  content: "\2060\00a0\2197" / "";
  font-size: 0.8em;
}

[dir="rtl"] .gy-more-list a[data-ext] > span:not(.ext-note)::after {
  content: "\2060\00a0\2196";
  content: "\2060\00a0\2196" / "";
}

@media (min-width: 760px) {
  .gy-more-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s1) var(--s6);
  }
  .gy-more-list span:not(.ext-note) {
    white-space: nowrap;
  }
}

/* ---------- apps page: rows share the H1 edge ---------- */
.prose .apps-list {
  padding: 0;
}

@media print {
  .side,
  .jump,
  .toc,
  .quick {
    display: none !important;
  }
}

/* long Russian words at 200% text: side links and footer links may break inside a word */
.side-tasks a,
.jump a,
.toc a,
.footer-links a {
  overflow-wrap: anywhere;
}

/* ======================= Stage D round 2 ======================= */

/* shelters: the banner's second line (static, per language) joins the banner body */
.city-status:not(:empty) {
  margin-bottom: 0;
}

.cs-extra {
  max-width: var(--measure);
  background: var(--surface);
  padding: 0 var(--s5) var(--s3);
  margin-bottom: var(--s3);
}

.cs-extra p {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--text);
}

[data-shelters]:has(> .city-status:empty) > .cs-extra {
  display: none;
}

[data-shelters] > div > .sh-more {
  margin-bottom: var(--s2);
}

/* "how this works": a closed GOV.UK details box after the list */
.how {
  max-width: var(--measure);
  margin-block: var(--s5) var(--s3);
}

.how summary {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
  list-style: none;
}

.how summary::-webkit-details-marker {
  display: none;
}

.how summary::before {
  content: "";
  width: 0;
  height: 0;
  border-block: 7px solid transparent;
  border-inline-start: 12px solid currentColor;
}

.how[open] summary::before {
  border-inline: 7px solid transparent;
  border-block-start: 12px solid currentColor;
  border-block-end: 0;
}

.how-body {
  border-inline-start: 6px solid var(--line);
  padding: var(--s2) var(--s4);
  margin-top: var(--s2);
}

/* shelters, phones: the near-me action is full width, the two secondary buttons share a row below */
@media (max-width: 599px) {
  .tools .btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s2);
  }
  .tools .btn-row [data-locate] {
    grid-column: 1 / -1;
  }
  .tools .btn-row .btn {
    width: 100%;
    margin: 0;
  }
}

/* apps page: the app grid uses the full container, title and lead keep the reading measure */
.prose > div:has(> .apps-list) {
  max-width: none;
}

.prose > div:has(> .apps-list) > :not(.apps-list) {
  max-width: var(--measure);
}

/* app link rows: an inline list with a gap, no text separators */
.apps-list .app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s5);
}

/* feedback: the lead under the title has the same size as on every other page */
.prose > h1:first-child + p {
  font-size: var(--fs-lead);
  line-height: 1.5;
}
