/* Stay Alive — site styles
   Layout: night (the field where he prays) above, flax (morning) below.
   One reading column for the story; the hand-drawn StA mark is the only ornament. */

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata-latin-opsz-normal.woff2") format("woff2-variations"),
       url("../fonts/literata-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata-latin-ext-opsz-normal.woff2") format("woff2-variations"),
       url("../fonts/literata-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Literata";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata-latin-opsz-italic.woff2") format("woff2-variations"),
       url("../fonts/literata-latin-opsz-italic.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: "Literata";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/literata-latin-ext-opsz-italic.woff2") format("woff2-variations"),
       url("../fonts/literata-latin-ext-opsz-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Colour */
  --night: #1B2A26;      /* the field at night */
  --night-line: #33463F; /* rules on night */
  --flax: #ECE7DC;       /* Lithuanian linen, the page */
  --paper: #F8F6F1;      /* forms and panels */
  --soil: #23211D;       /* text */
  --muted: #5C564B;      /* secondary text on flax/paper */
  --line: #CFC7B7;       /* rules on flax */
  --amber: #E9A23B;      /* dawn, on night only */
  --amber-deep: #8C5306; /* links and buttons on light */
  --on-night: #F3EFE6;   /* text on night */
  --on-night-muted: #B7C2BC;
  --focus: #E9A23B;

  /* Type */
  --serif: "Literata", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --fs-small: 1.0625rem;   /* 17px, the floor */
  --fs-body: 1.125rem;     /* 18px */
  --fs-read: 1.25rem;      /* 20px, the story */
  --fs-h3: 1.375rem;
  --fs-h2: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
  --fs-h1: clamp(2.5rem, 1.4rem + 4.6vw, 4.5rem);

  /* Space */
  --gutter: max(1rem, env(safe-area-inset-left, 0px));
  --gutter-r: max(1rem, env(safe-area-inset-right, 0px));
  --wrap: 70rem;
  --measure: 38rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--flax);
  color: var(--soil);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-optical-sizing: auto;
}
img, svg { max-width: 100%; height: auto; }
[hidden] { display: none !important; }

a { color: var(--amber-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 0; background: var(--paper); color: var(--soil); padding: 0.75rem 1rem; z-index: 50; }
.skip:focus { left: var(--gutter); top: max(0.5rem, env(safe-area-inset-top, 0px)); }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

/* The hand-drawn mark, drawn through a mask so it takes the text colour */
.mark {
  display: block;
  aspect-ratio: 1018 / 488;
  background-color: currentColor;
  -webkit-mask: url("../img/sta-mark.svg") no-repeat center / contain;
          mask: url("../img/sta-mark.svg") no-repeat center / contain;
}
.cross {
  display: block;
  width: 1.1rem;
  aspect-ratio: 241 / 491;
  background-color: currentColor;
  -webkit-mask: url("../img/sta-cross.svg") no-repeat center / contain;
          mask: url("../img/sta-cross.svg") no-repeat center / contain;
}

/* ---------- Night band: header, hero, page heads, footer ---------- */
.night { background: var(--night); color: var(--on-night); }
.night a { color: var(--on-night); }

.site-head { position: relative; z-index: 5; }
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: max(1rem, env(safe-area-inset-top, 0px)) 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--on-night); }
.brand .mark { width: 4.5rem; }
.brand span { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; letter-spacing: 0.005em; }

.nav-toggle {
  display: none;
  font: 700 var(--fs-small)/1 var(--sans);
  color: var(--on-night); background: transparent;
  border: 1px solid var(--night-line); border-radius: 999px;
  padding: 0.7rem 1.1rem; min-height: 44px; cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-nav a {
  display: inline-block; padding-block: 0.6rem;
  font-size: var(--fs-small); text-decoration: none; color: var(--on-night-muted);
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--on-night); }
.site-nav a[aria-current="page"] { color: var(--on-night); border-bottom-color: var(--amber); }

@media (max-width: 52rem) {
  .nav-toggle { display: inline-block; }
  .site-head .wrap { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; }
  .js .site-nav[data-open="false"] { display: none; }
  .site-nav ul { flex-direction: column; gap: 0; padding-block: 0.5rem 1rem; border-top: 1px solid var(--night-line); }
  .site-nav a { display: block; padding-block: 0.8rem; border-bottom: 1px solid var(--night-line); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--night-line); color: var(--amber); }
}

/* Home hero: night, with dawn rising from the bottom edge */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 70%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(90% 75% at 30% 100%, rgba(233, 162, 59, 0.42), rgba(233, 162, 59, 0.12) 45%, rgba(233, 162, 59, 0) 70%);
  animation: dawn 3.4s cubic-bezier(.2, .7, .2, 1) 0.2s both;
}
.hero::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px; z-index: -1;
  background: linear-gradient(90deg, rgba(233,162,59,0), var(--amber) 30%, rgba(233,162,59,0.4) 75%, rgba(233,162,59,0));
}
@keyframes dawn { from { opacity: 0.15; transform: translateY(18%); } to { opacity: 1; transform: none; } }

.hero .wrap { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(4rem, 9vw, 7.5rem); display: grid; gap: 2rem; }
.hero .mark { width: min(30rem, 82%); color: var(--on-night); }
.hero h1 { max-width: 14ch; }
.hero .lede { max-width: 34rem; font-size: 1.25rem; color: var(--on-night-muted); line-height: 1.55; }
.hero .lede strong { color: var(--on-night); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.75rem 1.4rem; border-radius: 999px;
  font: 700 var(--fs-small)/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
}
.btn-amber { background: var(--amber); color: var(--soil); }
.btn-amber:hover { background: #F2B353; }
.night .btn-amber { color: var(--soil); }
.btn-line { border-color: var(--on-night-muted); color: var(--on-night); background: transparent; }
.btn-line:hover { border-color: var(--on-night); }
.btn-solid { background: var(--amber-deep); color: #fff; }
.btn-solid:hover { background: #75460A; }
.btn-ghost { border-color: var(--amber-deep); color: var(--amber-deep); background: transparent; }

/* Inner page heads */
.page-head .wrap { padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4.5rem); display: grid; gap: 1rem; }
.page-head h1 { font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.75rem); }
.page-head .lede { max-width: 36rem; font-size: 1.25rem; color: var(--on-night-muted); }
.page-head { position: relative; }
.page-head::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, rgba(233,162,59,0), var(--amber) 25%, rgba(233,162,59,0.35) 70%, rgba(233,162,59,0));
}

/* ---------- Flax sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section + .section { padding-top: 0; }
.band-paper { background: var(--paper); }
.band-paper + .section, .section + .band-paper { padding-top: clamp(3rem, 7vw, 6rem); }

.split { display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 52rem) { .split { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); } }
.split > * { min-width: 0; }
.kicker { font-size: var(--fs-small); color: var(--muted); font-weight: 700; }

.big-quote { font-family: var(--serif); font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); line-height: 1.22; font-weight: 450; letter-spacing: -0.015em; max-width: 22ch; text-wrap: balance; margin: 0; }
.prose { max-width: var(--measure); display: grid; gap: 1.1em; }
.prose p { font-size: var(--fs-body); }

/* S † A legend */
.sta-legend { margin-top: 2.5rem; max-width: 34rem; }
.sta-legend .mark { width: 100%; color: var(--soil); }
.sta-legend ol { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; grid-template-columns: 31% 30% 39%; }
.sta-legend li { font-size: var(--fs-small); color: var(--muted); line-height: 1.35; padding-right: 0.5rem; }
.sta-legend li b { display: block; color: var(--soil); font-family: var(--serif); font-size: 1.125rem; font-weight: 600; }
.sta-legend li:nth-child(2) { text-align: center; padding-right: 0; }
.sta-legend li:nth-child(3) { text-align: right; padding-right: 0; }

/* Story moments on the home page: a real sequence, marked by its dates */
.moments { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 52rem) { .moments { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; } }
.moments li { padding: 1.25rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.4rem; align-content: start; }
@media (min-width: 52rem) { .moments li { padding: 1.25rem 1.5rem 0 0; border-bottom: 0; border-top: 2px solid var(--soil); } }
.moments .when { font-size: var(--fs-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.moments h3 a { color: var(--soil); text-decoration: none; }
.moments h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.moments p { color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }

/* The sentence for the newly diagnosed */
.word { position: relative; overflow: hidden; }
.word .wrap { padding-block: clamp(3.5rem, 8vw, 6.5rem); display: grid; gap: 1.75rem; }
.word blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.75rem, 1.1rem + 2.8vw, 3rem); line-height: 1.25; font-weight: 400; max-width: 24ch; text-wrap: balance; }
.word figcaption, .word .who { color: var(--on-night-muted); font-size: var(--fs-small); }
.word::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, rgba(233,162,59,0), var(--amber) 40%, rgba(233,162,59,0));
}

/* Thoughts lists */
.thought-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.thought-list li { padding-block: 1.5rem; border-bottom: 1px solid var(--line); display: grid; gap: 0.5rem; }
.thought-list h3 a { color: var(--soil); text-decoration: none; }
.thought-list h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.thought-list p { color: var(--muted); max-width: var(--measure); }

.more { font-weight: 700; font-size: var(--fs-small); }

/* ---------- Story page ---------- */
.contents { list-style: none; margin: 0.5rem 0 0; padding: 0; columns: 2 14rem; column-gap: 2rem; }
.contents li { break-inside: avoid; padding-block: 0.3rem; font-size: var(--fs-small); }
.contents a { color: var(--on-night); text-decoration: none; display: inline-flex; gap: 0.6rem; }
.contents a:hover { text-decoration: underline; }
.contents .n { color: var(--amber); font-variant-numeric: tabular-nums; min-width: 1.4rem; }

.story { padding-block: clamp(2.5rem, 6vw, 5rem); }
.chapter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.5rem 3rem; padding-block: 2.5rem; scroll-margin-top: 1rem; }
@media (min-width: 60rem) { .chapter { grid-template-columns: 11rem minmax(0, var(--measure)); } }
.chapter > * { min-width: 0; }
.chapter .when { font-size: var(--fs-small); color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 0.45rem; }
.chapter h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem); margin-bottom: 1rem; }
.chapter h2 .n { color: var(--amber-deep); margin-right: 0.35em; font-weight: 500; }
.read { display: grid; gap: 1.15em; }
.read p { font-family: var(--serif); font-size: var(--fs-read); line-height: 1.7; }
.read .pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); line-height: 1.4; margin: 0.5em 0; padding-left: 1.25rem; color: var(--soil); }
.read .verse { font-family: var(--sans); font-size: var(--fs-small); color: var(--muted); }
.break { display: flex; justify-content: center; color: var(--muted); padding-block: 0.5rem; }
.break .cross { width: 0.9rem; }
@media (min-width: 60rem) { .break { justify-content: flex-start; padding-left: calc(11rem + 3rem + (var(--measure) / 2) - 0.45rem); } }

.closing { background: var(--night); color: var(--on-night); }

/* ---------- Songs ---------- */
.empty { border: 1px dashed var(--line); border-radius: 6px; padding: 1.5rem; background: var(--paper); max-width: var(--measure); display: grid; gap: 0.6rem; }

/* ---------- Thoughts page ---------- */
.thought { padding-block: 2.5rem; border-bottom: 1px solid var(--line); display: grid; gap: 1rem; scroll-margin-top: 1rem; }
.thought:first-child { padding-top: 0; }
.thought h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); }
.thought .read { max-width: var(--measure); }
.thought footer { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; font-size: var(--fs-small); color: var(--muted); }
.copy-link { font: 700 var(--fs-small)/1 var(--sans); color: var(--amber-deep); background: none; border: 0; padding: 0.6rem 0; cursor: pointer; min-height: 44px; }
.copy-link:hover { text-decoration: underline; }

/* ---------- Forms ---------- */
.form-block { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.25rem, 3vw, 2.25rem); max-width: 42rem; display: grid; gap: 1.25rem; }
.form-block h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.form-block > p { color: var(--muted); }
form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field label, .field legend { font-weight: 700; font-size: var(--fs-small); }
.field .hint { font-size: var(--fs-small); color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; font: 400 var(--fs-body)/1.4 var(--sans); color: var(--soil);
  background: #fff; border: 1.5px solid #A79F8F; border-radius: 4px; padding: 0.7rem 0.8rem; min-height: 48px;
}
textarea { min-height: 9rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--soil); }
.two { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem; align-items: start; font-size: var(--fs-small); }
.check input { width: 1.35rem; height: 1.35rem; margin-top: 0.15rem; accent-color: var(--amber-deep); }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.choices label { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 400; font-size: var(--fs-body); min-height: 44px; }
.choices input { width: 1.25rem; height: 1.25rem; accent-color: var(--amber-deep); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.status { font-size: var(--fs-small); color: var(--muted); min-height: 1.5em; }
.status.is-error { color: #8A1F12; }
.sent { display: grid; gap: 0.75rem; padding: 1.25rem; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.sent:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.sent h3 { font-size: 1.5rem; }

/* ---------- Footer ---------- */
.site-foot { position: relative; }
.site-foot::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, rgba(233,162,59,0), var(--amber) 35%, rgba(233,162,59,0.3) 75%, rgba(233,162,59,0));
}
.site-foot .wrap { padding-block: clamp(3rem, 6vw, 4.5rem) max(2rem, env(safe-area-inset-bottom, 0px)); display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 56rem) { .site-foot .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1.2fr); } }
.site-foot .wrap > * { min-width: 0; }
.site-foot .mark { width: 7rem; color: var(--on-night); }
.site-foot p, .site-foot li { color: var(--on-night-muted); font-size: var(--fs-small); }
.site-foot h2 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--on-night); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.site-foot ul a { display: inline-block; padding-block: 0.35rem; color: var(--on-night); text-decoration: none; }
.site-foot ul a:hover { text-decoration: underline; }
.site-foot form { gap: 0.75rem; }
.site-foot input[type="email"] { background: var(--paper); border-color: var(--night-line); }
.site-foot .check { color: var(--on-night-muted); }
.site-foot .status { color: var(--on-night-muted); }
.site-foot .status.is-error { color: #F4B7A8; }
.site-foot .sent { background: transparent; border-color: var(--night-line); color: var(--on-night); }
.signup-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--night-line); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; }
.legal p { font-size: 0.9375rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-head, .site-foot, .actions, form { display: none; }
  body { background: #fff; }
}

/* Footer details */
.foot-line { font-family: var(--serif); font-size: 1.375rem !important; color: var(--on-night) !important; margin-top: 1.25rem; }
.foot-gap { margin-top: 1.5rem; }
.copy-field { width: 100%; max-width: 28rem; min-height: 44px; font: 400 var(--fs-small)/1.3 var(--sans); padding: 0.5rem 0.6rem; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--soil); }

/* Small helpers used by the pages */
.kicker { font-family: var(--sans); font-size: var(--fs-small); font-weight: 700; letter-spacing: 0; line-height: 1.4; color: var(--muted); }
.night .kicker { color: var(--on-night-muted); }
.stack { display: grid; gap: 1.5rem; }
.stack-lg { display: grid; gap: 2.5rem; }
.mt { margin-top: 1.75rem; }
.quote-mark { margin: 0; }
.sta-legend figcaption { margin-top: 1rem; font-size: var(--fs-small); color: var(--muted); max-width: 30rem; }
.word figure { margin: 0; display: grid; gap: 1.25rem; }
.invite-line { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem); line-height: 1.3; max-width: 26ch; text-wrap: balance; }
.crisis { border-left: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 1.1rem 1.25rem; max-width: 42rem; font-size: var(--fs-small); }
.crisis strong { display: block; margin-bottom: 0.25rem; }
.list-plain { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.forms-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 60rem) { .forms-grid.with-aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.forms-grid > * { min-width: 0; }
.legal-page .read p, .legal-page .read li { font-family: var(--sans); font-size: var(--fs-body); line-height: 1.6; }
.legal-page h2 { font-size: 1.5rem; margin-top: 1rem; }
