/* Everybody Reads onboarding page
   Styled to match www.everybodyreads.org.uk. Brand tokens live in :root.
   Mobile-first; breakpoints at 640px, 900px, 1024px (header) and 1100px. */

:root {
  --ink: #171717;          /* body text */
  --slate-800: #1E293B;    /* headings, borders, hard shadows */
  --slate-700: #334155;    /* nav text */
  --slate-600: #475569;    /* footer links */
  --slate-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --blue: #309DFB;         /* primary fill, "reads" wordmark */
  --blue-hover: #1F8CEA;
  --blue-soft: #DCEEFE;    /* light blue tint for highlights and tags */
  --link: #0A5FB4;         /* accessible blue for text links */
  --white: #FFFFFF;

  --hero-bg: linear-gradient(180deg, var(--slate-100) 0%, var(--slate-200) 100%);

  --font: "Nunito", "Segoe UI", Arial, sans-serif;

  --border: 3px solid var(--slate-800);
  --border-thin: 2px solid var(--slate-800);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 3px 3px 0 0 var(--slate-800);
  --shadow-press: 1px 1px 0 0 var(--slate-800);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  font-style: normal;
}

em, i, cite { font-style: normal; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--slate-800);
}
h1 { font-size: 36px; letter-spacing: -1.5px; }
h2 { font-size: 28px; letter-spacing: -.5px; }
h3 { font-size: 21px; }
h4 { font-size: 18px; }
@media (min-width: 900px) {
  h1 { font-size: 56px; line-height: 1.1; }
  h2 { font-size: 34px; }
  h3 { font-size: 23px; }
}

p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--slate-800); }

:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--white); color: var(--slate-800);
  font-weight: 700; padding: 12px 18px;
  border: var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.container--wide { max-width: 1120px; }
.container--narrow { max-width: 780px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }

.ext { width: .85em; height: .85em; margin-left: .35em; vertical-align: -.05em; flex: none; }

/* Highlighted words: a light blue marker behind dark text */
.hl {
  background: var(--blue-soft); color: var(--slate-800);
  font-weight: 800; padding: 0 .2em; border-radius: 6px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  border: var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-family: var(--font); font-weight: 700; font-size: 16px; line-height: 1.3;
  text-align: center; text-decoration: none;
  cursor: pointer;
  transition: transform .1s ease, box-shadow .1s ease, background-color .15s ease;
  width: 100%;
}
@media (min-width: 640px) { .btn { width: auto; } }
.btn:hover { transform: translate(1px, 1px); box-shadow: var(--shadow-press); }
.btn:active { transform: translate(3px, 3px); box-shadow: none; }

.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); color: var(--white); }

.btn--secondary { background: var(--slate-100); color: var(--slate-800); }
.btn--secondary:hover { background: var(--slate-200); color: var(--slate-800); }

.btn--small { min-height: 44px; padding: 9px 20px; }

.btn-row { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
@media (min-width: 640px) { .btn-row { flex-direction: row; flex-wrap: wrap; } }
.btn-row--left { justify-content: flex-start; }

/* ---------- Site header ---------- */
.site-header { position: relative; z-index: 40; background: var(--white); border-bottom: var(--border); }
.site-header__inner {
  max-width: 1280px; margin: 0 auto; padding: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
@media (min-width: 640px) { .site-header__inner { padding: 16px 24px; } }
@media (min-width: 1024px) { .site-header__inner { padding: 16px 32px; min-height: 96px; } }

.brand { display: flex; align-items: center; gap: 12px; flex: none; text-decoration: none; }
.brand__logo { width: 40px; height: 40px; object-fit: contain; }
.brand__word {
  display: none; flex-direction: column;
  font-family: var(--font); font-weight: 900; font-size: 20px; line-height: 25px; letter-spacing: -.5px;
  color: var(--slate-800);
}
.brand__reads { color: var(--blue); }
@media (min-width: 640px) {
  .brand__logo { width: 56px; height: 56px; }
  .brand__word { display: flex; }
}
@media (min-width: 900px) {
  .brand__logo { width: 64px; height: 64px; }
  .brand__word { font-size: 24px; line-height: 30px; letter-spacing: -.6px; }
}

.site-nav, .site-header__actions { display: none; }
@media (min-width: 1024px) {
  .site-nav { display: block; }
  .site-header__actions { display: flex; align-items: center; gap: 16px; flex: none; }
  .site-header__actions .btn { width: auto; }
  .btn--login { min-height: 54px; }
}
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 12px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 8px 16px;
  background: var(--white); color: var(--slate-700);
  border: var(--border-thin); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  font-family: var(--font); font-weight: 700; font-size: 14px; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform .1s ease, box-shadow .1s ease, color .15s ease;
}
.pill:hover, .dd.is-open .pill { color: var(--link); background: #F5FAFF; transform: translate(1px, 1px); box-shadow: var(--shadow-press); }
.chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
.dd.is-open .chev { transform: rotate(180deg); }

/* Dropdowns open on hover, keyboard focus and click */
.dd { position: relative; }
.dd__panel {
  position: absolute; left: 0; top: 100%; z-index: 45;
  min-width: 230px; margin: 0; padding: 6px; list-style: none;
  background: var(--white);
  border: var(--border-thin); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  visibility: hidden; opacity: 0; transform: translateY(4px);
  transition: opacity .12s ease, transform .12s ease, visibility 0s linear .12s;
}
/* Invisible bridge so the panel stays open while the pointer moves down to it */
.dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd:hover .dd__panel,
.dd:focus-within .dd__panel,
.dd.is-open .dd__panel { visibility: visible; opacity: 1; transform: translateY(8px); transition-delay: 0s; }
.dd.is-closed .dd__panel { visibility: hidden !important; opacity: 0 !important; }
.dd__panel a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--slate-700); text-decoration: none;
}
.dd__panel a:hover { background: var(--slate-100); color: var(--link); text-decoration: underline; }

/* Hamburger and mobile panel (below 1024px) */
.burger {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  background: var(--white); color: var(--slate-800);
  border: var(--border-thin); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  cursor: pointer;
}
.burger svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.burger .burger__close, .burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: inline; }
html:not(.js) .burger { display: none; }

.mobile-menu { background: var(--white); border-top: var(--border-thin); }
.js .mobile-menu:not(.is-open) { display: none; }
.mobile-menu__inner { max-width: 1280px; margin: 0 auto; padding: 16px 16px 24px; }
@media (min-width: 640px) { .mobile-menu__inner { padding: 16px 24px 24px; } }
.mobile-menu__heading {
  margin: 8px 0 4px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-800);
}
.mobile-menu__list { list-style: none; margin: 0 0 12px; padding: 0; }
.mobile-menu__list a {
  display: block; padding: 10px 12px; border-radius: 10px;
  font-weight: 700; color: var(--slate-700); text-decoration: none;
}
.mobile-menu__list a:hover { background: var(--slate-100); color: var(--link); text-decoration: underline; }
.mobile-menu__list--top { border-top: 2px solid var(--slate-200); padding-top: 8px; }
.mobile-menu__actions { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
@media (min-width: 640px) { .mobile-menu__actions { flex-direction: row; } }
@media (min-width: 1024px) {
  .burger, .mobile-menu { display: none !important; }
}

/* ---------- 1. Hero ---------- */
.hero { background: var(--hero-bg); padding: 48px 0 56px; }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { margin-top: 8px; }
.hero__wave { font-size: 48px; line-height: 1; margin: 0; transform-origin: 70% 70%; animation: wave 2.4s ease-in-out 1s 2; }
@keyframes wave {
  0%, 60%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
}
.hero__sub { max-width: 34em; font-size: 18px; color: #334155; text-align: left; margin-bottom: 32px; }
@media (min-width: 640px) { .hero__sub { text-align: center; font-size: 20px; } }
.hero .btn-row { width: 100%; }
.hero__link { margin: 24px 0 0; }
.hero__link a { font-weight: 700; }
@media (min-width: 900px) { .hero { padding: 80px 0 96px; } }

/* ---------- 2. Brochure strip ---------- */
.strip { background: var(--blue-soft); }
.strip__inner {
  display: flex; flex-direction: column; align-items: stretch; gap: 12px;
  padding-top: 16px; padding-bottom: 16px;
}
.strip__text { margin: 0; font-weight: 700; font-size: 18px; color: var(--slate-800); }
.strip__thumb { display: none; }
@media (min-width: 640px) {
  .strip__inner { flex-direction: row; align-items: center; justify-content: center; gap: 20px; padding-top: 21px; padding-bottom: 21px; }
}
@media (min-width: 900px) {
  .strip__thumb { display: block; flex: none; }
  .strip__thumb img { width: 120px; height: auto; border-radius: 4px; border: var(--border-thin); transform: rotate(-4deg); }
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section--white { background: var(--white); }
.section--grey { background: var(--hero-bg); }
.section__title { text-align: center; }
.section__intro { text-align: center; max-width: 36em; margin: 0 auto 36px; color: #334155; }

.eyebrow {
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  color: var(--slate-800); margin-bottom: 6px;
}

section, li[id], main { scroll-margin-top: 24px; }

.card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- 3. Roles ---------- */
.roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 640px) { .roles { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.role { display: flex; flex-direction: column; padding: 28px 24px; }
.role__emoji {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px;
  font-size: 30px; line-height: 1;
  background: var(--blue-soft); border: var(--border-thin); border-radius: var(--radius-sm);
}
.role:nth-child(2) .role__emoji { background: var(--slate-100); }
.role h3 { font-size: 21px; }
.role p { flex: 1; }
.role .btn { width: 100%; margin-top: 8px; }

/* ---------- 4. Steps path ---------- */
.path {
  --badge: 48px;
  --gap: 16px;
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; gap: 28px;
}
.path::before {
  content: ""; position: absolute;
  top: 24px; bottom: 24px;
  left: calc(var(--badge) / 2 - 2px);
  width: 0; border-left: 4px dashed var(--slate-800);
  opacity: .35;
}
@media (min-width: 640px) { .path { --badge: 64px; --gap: 24px; gap: 36px; } }

.step { position: relative; display: grid; grid-template-columns: var(--badge) 1fr; gap: var(--gap); align-items: start; }
.step__badge {
  position: relative; z-index: 1;
  width: var(--badge); height: var(--badge); border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: var(--slate-800);
  border: var(--border); box-shadow: var(--shadow);
  font-family: var(--font); font-weight: 900; font-size: 24px; line-height: 1;
}
.step:nth-child(even) .step__badge { background: var(--white); }
@media (min-width: 640px) { .step__badge { font-size: 30px; } }
.step__badge--finish { background: var(--slate-800) !important; }
.step__badge--finish svg { width: 55%; height: 55%; color: var(--white); }

.step__card { padding: 22px 20px 24px; min-width: 0; }
@media (min-width: 640px) { .step__card { padding: 30px 32px 32px; } }
.step__card > p { max-width: 42em; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; line-height: 1.3;
  padding: 4px 12px; border-radius: 999px;
  border: var(--border-thin); color: var(--slate-800);
}
.tag svg { width: 15px; height: 15px; }
.tag--who { background: var(--blue-soft); }
.tag--time { background: var(--slate-100); }

/* Videos */
.video { margin: 22px 0 0; }
#about .tags { justify-content: center; margin-bottom: 0; }
#about .video__title { font-size: 22px; }
.video__title { margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.video__len { font-family: var(--font); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-600); }
.video__frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border: var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  overflow: hidden; background: var(--slate-800);
}
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { margin-top: 12px; font-size: 16px; }

.video-grid { display: grid; gap: 8px; }
@media (min-width: 1100px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .video-grid .video__title { font-size: 17px; min-height: 2.6em; align-content: flex-end; }
}

/* PDF guide link */
.guide {
  display: flex; align-items: center; gap: 16px;
  margin-top: 28px; padding: 14px 18px;
  background: var(--slate-100); color: var(--ink); text-decoration: none;
  border: var(--border-thin); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  transition: transform .1s ease, box-shadow .1s ease;
}
.guide:hover { color: var(--ink); transform: translate(1px, 1px); box-shadow: var(--shadow-press); }
.guide__thumb { flex: none; }
.guide__thumb img { width: 56px; border-radius: 6px; border: var(--border-thin); }
.guide__text { display: flex; flex-direction: column; }
.guide__kicker { font-size: 16px; }
.guide__label { color: var(--link); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.guide__meta { font-size: 16px; }

.step__login { margin: 24px 0 0; }
.note { margin: 18px 0 0; font-size: 16px; }

.callout {
  margin-top: 24px; padding: 18px 20px;
  background: var(--blue-soft); border: var(--border-thin); border-radius: var(--radius-sm);
  display: flex; flex-direction: column; gap: 12px;
}
.callout p { margin: 0; font-weight: 700; color: var(--slate-800); }
@media (min-width: 900px) { .callout { flex-direction: row; align-items: center; justify-content: space-between; } .callout .btn { flex: none; } }

/* Finish line */
.finish { padding-top: 4px; }
@media (min-width: 640px) { .finish { padding-top: 10px; } }
.finish__title { font-weight: 800; font-size: 26px; line-height: 1.2; margin-bottom: 8px; color: var(--slate-800); }
@media (min-width: 900px) { .finish__title { font-size: 30px; } }
.finish__next { margin: 0; max-width: 40em; }
.finish__label {
  display: inline-block; margin-right: 6px;
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  background: var(--slate-800); color: var(--white); padding: 2px 10px; border-radius: 999px;
  vertical-align: 1px;
}

/* ---------- 5. Evidence ---------- */
.evidence { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .evidence { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.evidence__stat { font-size: 32px; }
.evidence__stat .hl {
  display: block; width: max-content; margin-bottom: 8px;
  font-size: 80px; font-weight: 900; line-height: 1; letter-spacing: -2px;
  background: none; padding: 0; color: var(--slate-800);
  text-shadow: 4px 4px 0 var(--blue);
}
@media (min-width: 900px) { .evidence__stat { font-size: 40px; } .evidence__stat .hl { font-size: 112px; text-shadow: 6px 6px 0 var(--blue); } }
.evidence__text p { max-width: 34em; }
.evidence__text .btn { margin-top: 8px; }
.evidence__media img { width: 100%; max-width: 491px; margin: 0 auto; }

/* ---------- 6. FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details { background: var(--white); border: var(--border-thin); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 20px;
  font-weight: 700; color: var(--slate-800); border-radius: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: var(--border-thin);
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231E293B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 20px 18px; }
.faq__end { margin-top: 28px; font-weight: 700; }

/* ---------- 7. Setup ---------- */
.setup { display: grid; gap: 28px; padding: 28px 22px; }
@media (min-width: 640px) { .setup { padding: 40px; } }
@media (min-width: 900px) { .setup { padding: 52px; } }
.setup__body { max-width: 720px; margin: 0 auto; }
.setup h2 { font-size: 28px; }
@media (min-width: 900px) { .setup h2 { font-size: 32px; } }
.setup__need { font-size: 20px; margin-top: 8px; }
.checklist { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; width: 26px; height: 26px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--blue); color: var(--slate-800); border: var(--border-thin); }
.reassure {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--slate-100); padding: 14px 16px; font-weight: 700;
  border: var(--border-thin); border-radius: var(--radius-sm);
}
.reassure svg { flex: none; width: 26px; height: 26px; color: var(--slate-800); }
.setup .btn-row { margin-top: 8px; }

/* ---------- Sign-off ---------- */
.signoff { background: var(--white); padding: 56px 0; text-align: center; }
.signoff__inner { display: flex; flex-direction: column; align-items: center; }
.signoff__sign { font-weight: 900; font-size: 26px; line-height: 1.3; color: var(--slate-800); margin-bottom: 20px; letter-spacing: -.5px; }
.signoff__login { margin: 0 0 20px; width: 100%; }
@media (min-width: 640px) { .signoff__login { width: auto; } }
.signoff__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; font-weight: 700; }
.signoff__legal { margin: 0; color: var(--slate-600); }

/* ---------- 8. Site footer ---------- */
.site-footer { background: var(--white); border-top: var(--border); padding: 48px 0 112px; }
@media (min-width: 900px) { .site-footer { padding: 48px 0 96px; } }
.site-footer__inner { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .site-footer__inner { padding: 0 24px; } }
@media (min-width: 1024px) { .site-footer__inner { padding: 0 32px; } }
.site-footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.brand--footer .brand__logo { width: 48px; height: 48px; }
.brand--footer .brand__word { display: flex; font-size: 18px; line-height: 23px; letter-spacing: -.45px; }
.site-footer__tagline { margin: 0; font-size: 14px; color: var(--slate-600); }
.site-footer__heading {
  margin: 0 0 12px; font-size: 14px; font-weight: 700; line-height: 1.4;
  text-transform: uppercase; letter-spacing: .05em; color: var(--slate-800);
}
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.site-footer__links a { color: var(--slate-600); text-decoration: none; }
.site-footer__links a:hover { color: var(--link); text-decoration: underline; }
.site-footer__partner {
  margin: 40px 0 0; padding-top: 32px; border-top: 1px solid var(--slate-200);
  font-size: 14px; color: var(--slate-600); text-align: center;
}
@media (min-width: 640px) { .site-footer__partner { text-align: left; } }
.site-footer__copy {
  margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--slate-200);
  font-size: 14px; color: var(--slate-600); text-align: center;
}

/* ---------- Sticky help ---------- */
.help { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
@media (min-width: 640px) { .help { right: 24px; bottom: 24px; } }
.help__toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 10px 20px;
  background: var(--blue); color: var(--white);
  border: var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  font-family: var(--font); font-weight: 700; font-size: 16px;
  cursor: pointer;
  transition: transform .1s ease, box-shadow .1s ease;
}
.help__toggle:hover { background: var(--blue-hover); transform: translate(1px, 1px); box-shadow: var(--shadow-press); }
.help__panel {
  position: relative;
  width: min(320px, calc(100vw - 32px));
  padding: 20px 20px 18px;
  background: var(--white); color: var(--ink);
  border: var(--border); border-radius: var(--radius); box-shadow: 4px 4px 0 0 var(--slate-800);
}
.help__panel[hidden] { display: none; }
.help__panel p { font-size: 16px; }
.help__title { font-weight: 800; font-size: 20px !important; color: var(--slate-800); margin-bottom: 4px; padding-right: 36px; }
.help__close {
  position: absolute; top: 10px; right: 10px;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: var(--slate-800);
  font-size: 28px; line-height: 1; cursor: pointer;
}
.help__close:hover { background: var(--slate-100); }
.help__mail { width: 100%; }

/* Hide image wrappers whose source file hasn't been uploaded yet */
[data-optional].is-missing { display: none !important; }
