/* Declarant public site. Visual language taken from the product prototype
   (app/src/main/resources/static): light only, 1180px pages, white cards on
   #F2F4F0 bands, dark green actions, IBM Plex Mono for labels and badges.
   Class names are shared with assets/app.js — rename here, rename there. */

:root {
  color-scheme: light;
  --ink: #15181C;
  --muted: #555E57;
  --faint: #6B736D;
  --quiet: #767E78;
  --line: #E3E7E1;
  --line-soft: #EDF0EB;
  --field: #D5DBD4;
  --bg: #F2F4F0;
  --tint: #F7F9F6;
  --paper: #FFFFFF;
  --accent: #1C544C;
  --accent-hover: #113832;
  --accent-soft: #E8F0ED;
  --signal: #A3401A;
  --signal-ink: #8A3415;
  --signal-soft: #FBEDE6;
  --warn-ink: #725310;
  --warn-soft: #FAF2DF;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow: 0 1px 2px rgba(21, 24, 28, 0.04), 0 12px 32px rgba(21, 24, 28, 0.06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.mono { font-family: var(--mono); }
.muted { color: var(--faint); }
.small { font-size: 12px; }

/* ---------------------------------------------------------------- buttons */

.btn,
button.primary,
button.secondary {
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 13px 24px;
  border-radius: 9px;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary,
button.primary {
  color: #FFFFFF;
  background: var(--accent);
  border: 1px solid var(--accent);
}
.btn-primary:hover,
button.primary:hover { color: #FFFFFF; background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-secondary,
button.secondary {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--field);
}
.btn-secondary:hover,
button.secondary:hover { color: var(--ink); background: var(--tint); }

.btn-sm { font-size: 14px; min-height: 40px; padding: 10px 18px; border-radius: 8px; }
.btn-lg { font-size: 16px; padding: 15px 26px; }

button.link {
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 10px 4px;
  min-height: 44px;
}
button.link:hover { color: var(--ink); }
.back { margin-top: 14px; display: block; }

/* ----------------------------------------------------------------- header */

.site-head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-head .inner,
.hero-inner,
.band-inner,
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 20px;
}

@media (min-width: 720px) {
  .site-head .inner, .hero-inner, .band-inner, .section-inner { padding-inline: 40px; }
}

.site-head .inner {
  padding-block: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }

.mark { width: 26px; height: 26px; flex: none; color: var(--accent); }

.head-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}

/* Plain text label in the header (e.g. PRIVACY) */
span.tagline {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

/* Link back to the checker from article pages: the prototype's header button */
a.tagline {
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  background: var(--accent);
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
}
a.tagline:hover { color: #FFFFFF; background: var(--accent-hover); }

.langs {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.langs a {
  color: var(--faint);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 5px;
}
.langs a:hover { color: var(--ink); background: var(--tint); }
.langs a[aria-current="page"] { color: #FFFFFF; background: var(--accent); }

/* ------------------------------------------------------------------- hero */

.hero-inner {
  padding-block: 56px 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
  align-items: flex-start;
}

@media (min-width: 720px) { .hero-inner { padding-block: 80px 72px; } }

.hero-copy { flex: 999 1 460px; min-width: 0; }

.kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.kicker-pill .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); flex: none; }

.hero h1 {
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 22px;
  max-width: 700px;
}

.hero-lede {
  font-size: clamp(17px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* The prototype's "Scope result" preview card */
.preview-card {
  flex: 1 1 340px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.preview-head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--tint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.preview-body { padding: 22px 20px 24px; }
.preview-body .help { margin-bottom: 18px; }
.preview-body .dates { border-top: 1px solid var(--line-soft); padding-top: 18px; gap: 16px; }
.preview-body .dates li { flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.55; }

/* ------------------------------------------------------- bands & sections */

.band {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-inner { padding-block: 48px 56px; }
.band-inner > #app { max-width: 880px; margin: 0 auto; }

.section-inner { padding-block: 48px 64px; }

.read-card {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 26px 28px;
  background: var(--paper);
}
.read-card .read-text { flex: 999 1 420px; min-width: 0; }
.read-card .label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}
.read-card .title { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 8px; color: var(--ink); }
.read-card .teaser { display: block; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ------------------------------------------------- content pages (privacy) */

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}
@media (min-width: 720px) { .wrap { padding-inline: 40px; } }

.intro { margin-bottom: 28px; }
.intro h1 {
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 14px;
}
.intro p { color: var(--muted); font-size: 18px; line-height: 1.6; }

/* ------------------------------------------------------------------ cards */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px 20px;
  margin-bottom: 18px;
}
@media (min-width: 720px) { .card { padding: 28px 32px; } }

.card h2 {
  font-size: clamp(21px, 3.2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 8px;
}
.card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.help { font-size: 14px; line-height: 1.6; color: var(--muted); }
.lede { font-size: 16px; line-height: 1.65; color: var(--muted); margin-bottom: 12px; }

/* Mono label, and the coloured Annex badges from the classification screen */
.cite {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--faint);
  background: var(--bg);
  padding: 4px 9px;
  border-radius: 5px;
  margin-bottom: 14px;
}
.cite.tone-signal { color: var(--signal-ink); background: var(--signal-soft); }
.cite.tone-warn { color: var(--warn-ink); background: var(--warn-soft); }

/* ---------------------------------------------------------------- progress */

.progress { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.progress .bar { flex-grow: 1; height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress .fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width 0.2s ease; }
.progress span { font-size: 12px; flex: none; color: var(--faint); }

/* ---------------------------------------------------------------- options */

.options { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

.option {
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 44px;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.option:hover { border-color: var(--accent); background: var(--tint); }
.option-label { font-size: 15px; font-weight: 600; }
.option-note { font-size: 14px; color: var(--faint); line-height: 1.45; }

/* Annex lists: two columns of checkbox rows, as on the classification screen */
.options.checks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 20px; }
@media (min-width: 760px) { .options.checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 9px 11px;
  border-radius: 8px;
  cursor: pointer;
  min-height: 44px;
}
.check:hover { background: var(--bg); }
.check input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--accent); }
.check-label { font-size: 14px; line-height: 1.5; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.actions.wide { margin-bottom: 18px; }

/* ----------------------------------------------------------------- result */

/* The result card opens with a mono strip, like the prototype's preview card */
.card.result { padding-top: 0; overflow: hidden; }
.card.result > .cite:first-child {
  display: block;
  background: var(--tint);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  margin: 0 -20px 22px;
  padding: 14px 20px;
}
@media (min-width: 720px) { .card.result > .cite:first-child { margin-inline: -32px; padding-inline: 32px; } }

.verdict-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.verdict { font-size: clamp(26px, 4.5vw, 32px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }

.pill { font-size: 13px; font-weight: 500; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.pill.good { color: var(--accent); background: var(--accent-soft); }
.pill.warn { color: var(--signal-ink); background: var(--signal-soft); }

.route {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--faint);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.card.alert { border: 2px solid var(--signal); }
.card.alert h3 { font-size: 20px; letter-spacing: -0.015em; margin-bottom: 10px; display: flex; gap: 12px; align-items: flex-start; }
.card.alert h3::before {
  content: "!";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 1.7px solid var(--signal);
  border-radius: 999px;
  color: var(--signal);
  font-size: 13px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
}
.card.alert p { font-size: 15px; line-height: 1.65; color: var(--muted); margin-bottom: 10px; }
.card.alert p:last-child { margin-bottom: 0; }

.obligations { display: flex; flex-direction: column; gap: 18px; }
.obligations li { padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.obligations li:last-child { padding-bottom: 0; border-bottom: none; }
.ob-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.ob-title { font-size: 16px; font-weight: 600; }
.ob-detail { font-size: 15px; line-height: 1.6; color: var(--muted); margin-bottom: 8px; }

.badge {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 5px;
  flex: none;
  white-space: nowrap;
}
.badge.now { color: var(--signal-ink); background: var(--signal-soft); }
.badge.soon { color: var(--warn-ink); background: var(--warn-soft); }
.badge.later { color: var(--faint); background: var(--bg); }

.dates { display: flex; flex-direction: column; gap: 14px; }
.dates li { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Lead form */
.card.lead { background: var(--tint); }
.lead-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.lead-row input[type="email"] {
  font: inherit;
  font-size: 15px;
  flex: 999 1 240px;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--field);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  min-height: 44px;
}
.lead .help { margin-top: 10px; }

.said summary { cursor: pointer; font-weight: 600; font-size: 15px; min-height: 44px; display: flex; align-items: center; }
.said-list { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.said-list li { display: flex; flex-direction: column; gap: 3px; }
.said-q { font-size: 13px; color: var(--faint); }
.said-a { font-size: 15px; }

.disclaimer { font-size: 13px; line-height: 1.65; color: var(--quiet); margin-top: 24px; }

/* ---------------------------------------------------------------- article */

.article { max-width: 720px; margin: 0 auto; padding: 56px 20px 72px; }
@media (min-width: 720px) { .article { padding-inline: 40px; max-width: 800px; } }

.article .kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.article h1 {
  font-size: clamp(32px, 5.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.article .standfirst {
  font-size: clamp(17px, 2.4vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 28px;
}

.article .byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: baseline;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
  font-size: 14px;
  color: var(--faint);
}
.article .byline strong { color: var(--ink); font-weight: 600; }

.article h2 {
  font-size: clamp(22px, 3.4vw, 27px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 48px 0 16px;
}

.article p { font-size: 17px; line-height: 1.75; color: var(--ink); margin-bottom: 20px; }
.article p.note { font-size: 15px; color: var(--muted); }

.article blockquote {
  margin: 28px 0;
  padding: 22px 24px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
}
.article blockquote p { font-size: 16px; line-height: 1.7; color: var(--muted); margin-bottom: 14px; }
.article blockquote p:last-child { margin-bottom: 0; }
.article blockquote strong { color: var(--ink); font-weight: 600; }

.article .statusbox {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
  padding: 20px 24px;
  margin: 28px 0;
}
.article .statusbox p { font-size: 15px; line-height: 1.65; color: var(--muted); margin-bottom: 0; }
.article .statusbox .when {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--signal-ink);
  background: var(--signal-soft);
  padding: 4px 9px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.article ol.annex {
  list-style: none;
  counter-reset: annex;
  margin: 24px 0 28px;
  padding: 8px 20px;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
}
.article ol.annex li {
  counter-increment: annex;
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 15px;
  line-height: 1.6;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.article ol.annex li:last-child { border-bottom: none; }
.article ol.annex li::before {
  content: counter(annex);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  flex: none;
  width: 22px;
  text-align: right;
}

.article ul.plain { margin: 20px 0 24px; display: flex; flex-direction: column; gap: 12px; }
.article ul.plain li { font-size: 17px; line-height: 1.7; display: flex; gap: 12px; }
.article ul.plain li::before { content: "—"; color: var(--faint); flex: none; }

.article .cta {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 30px;
  margin: 44px 0;
}
.article .cta h2 { margin: 0 0 10px; font-size: 22px; }
.article .cta p { font-size: 16px; color: var(--muted); margin-bottom: 20px; }
.article .cta a {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  background: var(--accent);
  padding: 15px 26px;
  border-radius: 9px;
  text-decoration: none;
  min-height: 44px;
}
.article .cta a:hover { background: var(--accent-hover); }

.article .sources { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); }
.article .sources h2 { font-size: 16px; margin: 0 0 12px; }
.article .sources p { font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ----------------------------------------------------------------- footer */

.site-foot {
  border-top: 1px solid var(--line);
  background: var(--tint);
  padding-block: 32px 44px;
}
.site-foot .inner { max-width: 1180px; margin: 0 auto; padding-inline: 20px; display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 720px) { .site-foot .inner { padding-inline: 40px; } }
.site-foot p { font-size: 13px; line-height: 1.65; color: var(--quiet); max-width: 760px; }

/* ------------------------------------------------------------ author note */

.article .author-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 40px 0;
  padding: 20px 22px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 13px;
}
.author-note .avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.article .author-note p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; }
.article .author-note strong { color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------------------- motion */
/* Entrances animate the individual `translate` / `scale` properties, so they
   never fight the `transform` used by hover states. */

:root { --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1); }

html { scroll-behavior: smooth; }
#check { scroll-margin-top: 8px; }

@keyframes rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { opacity: 0; scale: 0.9; } 60% { opacity: 1; scale: 1.04; } 100% { opacity: 1; scale: 1; } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(28, 84, 76, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(28, 84, 76, 0); }
}

/* Interactive things ease between states */
a, .btn, button.primary, button.secondary, button.link, a.tagline, .langs a,
.option, .check, .read-card, .preview-card, .lead-row input[type="email"] {
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease,
              box-shadow 0.22s ease, transform 0.22s var(--ease-out);
}

.btn-primary:hover, button.primary:hover, a.tagline:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(28, 84, 76, 0.22);
}
.btn-secondary:hover, button.secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(21, 24, 28, 0.07);
}
.btn:active, button.primary:active, button.secondary:active, a.tagline:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}

.option:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(21, 24, 28, 0.06); }
.option:active { transform: scale(0.99); }

.read-card:hover { border-color: var(--field); transform: translateY(-2px); box-shadow: var(--shadow); }
.preview-card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(21, 24, 28, 0.04), 0 18px 40px rgba(21, 24, 28, 0.09); }

.lead-row input[type="email"]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }

.progress .fill { transition: width 0.5s var(--ease-out); }

/* Hero: on load, one after another */
.hero-copy > * { animation: rise 0.7s var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: 0.05s; }
.hero-copy > :nth-child(2) { animation-delay: 0.12s; }
.hero-copy > :nth-child(3) { animation-delay: 0.2s; }
.hero-copy > :nth-child(4) { animation-delay: 0.28s; }
.preview-card { animation: rise 0.8s 0.3s var(--ease-out) both; }
.preview-body .dates li { animation: rise 0.6s var(--ease-out) both; }
.preview-body .dates li:nth-child(1) { animation-delay: 0.55s; }
.preview-body .dates li:nth-child(2) { animation-delay: 0.65s; }
.preview-body .dates li:nth-child(3) { animation-delay: 0.75s; }
.kicker-pill .dot { animation: pulse 2.4s ease-in-out infinite; }

/* Checker: screens change like a carousel (app.js adds the classes).
   Forward: old out to the left, new in from the right. Back: the reverse.
   #app clips the slide and animates its own height to the new screen. */
#app { position: relative; }
#app.is-sliding { overflow: hidden; transition: height 0.42s var(--ease-out); }
#app.is-sliding > .slide-old { position: absolute; top: 0; left: 0; right: 0; pointer-events: none; }

@keyframes slide-out-left  { from { translate: 0 0; opacity: 1; } to { translate: -100% 0; opacity: 0; } }
@keyframes slide-out-right { from { translate: 0 0; opacity: 1; } to { translate: 100% 0; opacity: 0; } }
@keyframes slide-in-right  { from { translate: 100% 0; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes slide-in-left   { from { translate: -100% 0; opacity: 0; } to { translate: 0 0; opacity: 1; } }

.slide-out-left  { animation: slide-out-left 0.42s var(--ease-out) both; }
.slide-out-right { animation: slide-out-right 0.42s var(--ease-out) both; }
.slide-in-right  { animation: slide-in-right 0.42s var(--ease-out) both; }
.slide-in-left   { animation: slide-in-left 0.42s var(--ease-out) both; }

/* Result: the verdict pill pops once the screen has arrived */
.verdict-row .pill { animation: pop 0.5s 0.4s var(--ease-out) both; }
.lead p.help:not(:empty) { animation: fade-in 0.3s ease both; }

/* Article and privacy: the opening block on load */
.article > .kicker, .article > h1, .article > .standfirst, .article > .byline,
.wrap > .intro { animation: rise 0.7s var(--ease-out) both; }
.article > h1 { animation-delay: 0.06s; }
.article > .standfirst { animation-delay: 0.12s; }
.article > .byline { animation-delay: 0.18s; }

/* Blocks further down reveal as they scroll in, where the browser supports it */
@supports (animation-timeline: view()) {
  .read-card,
  .article blockquote, .article .statusbox, .article ol.annex, .article .cta, .article .author-note,
  .wrap > .card {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
}

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

/* ------------------------------------------------------------------ print */

@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  body { background: #FFFFFF; }
  .site-head, .hero, .no-print, .lead, .back, .site-foot, .read-section { display: none !important; }
  .band { background: none; border: none; }
  .band-inner, .wrap { max-width: none; padding: 0; }
  .card { border-color: #CCCCCC; break-inside: avoid; box-shadow: none; }
  .said[open] summary { display: none; }
}
