/* Everybody Reads x Northumberland County Council landing page
   Built from the onboarding page styles (onboarding.everybodyreads.org.uk).
   Brand tokens live in :root. Mobile-first; breakpoints at 640px, 900px, 1024px (header) and 1100px. */

:root {
  --ink: #171717;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --blue: #309DFB;
  --blue-hover: #1F8CEA;
  --blue-soft: #DCEEFE;
  --link: #0A5FB4;
  --white: #FFFFFF;

  /* Northumberland accents (county flag red and gold), used sparingly */
  --nland-red: #C8102E;
  --nland-gold: #F4C430;

  --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;
}

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; }

.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--white { background: var(--white); color: var(--slate-800); }
.btn--white:hover { background: var(--slate-50); 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); }

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

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

/* ---------- Hero ---------- */
.hero { background: var(--hero-bg); padding: 44px 0 56px; position: relative; overflow: hidden; }
.hero::after {
  /* thin county stripe along the bottom edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--nland-red) 0 48px, var(--nland-gold) 48px 96px);
  border-top: var(--border-thin);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { margin-top: 20px; max-width: 14em; }
.hero__sub { max-width: 36em; font-size: 18px; color: var(--slate-700); text-align: left; margin-bottom: 28px; }
@media (min-width: 640px) { .hero__sub { text-align: center; font-size: 20px; } }
.hero .btn-row { width: 100%; }
@media (min-width: 900px) { .hero { padding: 72px 0 92px; } }

/* Co-brand lockup */
.cobrand {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  padding: 10px 18px; background: var(--white);
  border: var(--border-thin); border-radius: var(--radius); box-shadow: var(--shadow);
  margin: 0;
}
@media (min-width: 640px) { .cobrand { border-radius: 999px; } }
.cobrand__er { display: flex; align-items: center; gap: 8px; font-weight: 900; color: var(--slate-800); letter-spacing: -.3px; }
.cobrand__er img { width: 30px; height: 30px; }
.cobrand__x { font-weight: 800; color: var(--slate-500); }
.cobrand__council { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--slate-800); line-height: 1.15; text-align: left; }
.cobrand__council img { height: 34px; width: auto; }
.cobrand__flag { flex: none; width: 30px; height: 22px; border: 2px solid var(--slate-800); border-radius: 4px; overflow: hidden; display: block; }

/* Facilitated-by note */
.facilitator {
  display: flex; gap: 14px; align-items: center; text-align: left;
  max-width: 640px; margin: 0 auto 32px; padding: 14px 18px;
  background: var(--white); border: var(--border-thin); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.facilitator__icon {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--blue-soft); border: var(--border-thin); border-radius: 50%; font-size: 22px;
}
.facilitator p { margin: 0; font-size: 16px; color: var(--slate-700); }
.facilitator strong { color: var(--slate-800); }

/* ---------- 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: var(--slate-700); }

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

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

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

/* ---------- Northumberland offer ---------- */
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 640px) { .perks { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.perk { display: flex; flex-direction: column; padding: 26px 24px; position: relative; }
.perk__icon {
  display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 16px;
  font-size: 28px; line-height: 1;
  background: var(--blue-soft); border: var(--border-thin); border-radius: var(--radius-sm);
}
.perk:nth-child(even) .perk__icon { background: var(--slate-100); }
.perk h3 { font-size: 21px; margin-bottom: .35em; }
.perk p { margin: 0; }
.perk__flag {
  position: absolute; top: -14px; right: 18px;
  padding: 3px 12px; border-radius: 999px;
  background: var(--slate-800); color: var(--white);
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
}
.perk--hero { background: var(--white); }
@media (min-width: 640px) { .perk--wide { grid-column: 1 / -1; flex-direction: row; gap: 22px; align-items: flex-start; } .perk--wide .perk__icon { margin-bottom: 0; flex: none; } }

/* ---------- Tags and video ---------- */
.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); }

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

.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__label { color: var(--link); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* ---------- Book Generator feature ---------- */
.feature { background: var(--blue-soft); }
.feature__card { padding: 22px 20px 24px; min-width: 0; }
@media (min-width: 640px) { .feature__card { padding: 30px 32px 32px; } }
.feature__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.feature__badge {
  display: inline-block; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px;
  background: var(--blue); color: var(--white); border: var(--border-thin); box-shadow: var(--shadow);
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.feature__card h2 { font-size: 28px; margin-bottom: 14px; }
@media (min-width: 900px) { .feature__card h2 { font-size: 32px; } }
.feature__card .feature__intro { max-width: 60ch; margin: 0 auto 26px; text-align: center; }
.feature__list { margin-top: 18px; }
.feature__card p.feature__line { max-width: none; width: 100%; margin: 32px auto 0; font-size: 20px; text-align: center; }
.feature__cta { margin-top: 24px; }

/* Reading-range graphic */
.range { margin: 0 auto 8px; max-width: 760px; }
.range__label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-600); margin-bottom: 8px; }
.range__track {
  position: relative; height: 56px;
  border: var(--border-thin); border-radius: 999px; box-shadow: var(--shadow);
  background: linear-gradient(90deg, #EAF5FF 0%, var(--blue-soft) 35%, #8CC9FD 70%, var(--blue) 100%);
  overflow: hidden;
}
.range__dots { position: absolute; inset: 0; }
.range__dots span {
  position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  background: var(--white); border: var(--border-thin); border-radius: 50%;
}
.range__dots span:nth-child(3n) { background: var(--slate-800); }
.range__ages { display: flex; justify-content: space-between; margin-top: 8px; font-weight: 800; color: var(--slate-800); font-size: 14px; }
.range__caption { text-align: center; font-weight: 700; color: var(--slate-800); margin: 14px 0 0; }

.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); }

/* ---------- Evidence and equity stat blocks ---------- */
.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; }

/* Equity pricing */
.equity { background: var(--white); }
@media (min-width: 900px) { .equity .evidence { grid-template-columns: .95fr 1.05fr; } }
.equity .evidence__stat .hl { text-shadow: 4px 4px 0 var(--nland-gold); }
@media (min-width: 900px) { .equity .evidence__stat .hl { text-shadow: 6px 6px 0 var(--nland-gold); } }

.pp-card { padding: 24px 22px 22px; }
@media (min-width: 640px) { .pp-card { padding: 30px 30px 26px; } }
.pp-card__title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-800); margin: 0 0 14px; }
.pp-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; margin-bottom: 18px; }
.pp-grid span { aspect-ratio: 1; border: 2px solid var(--slate-800); border-radius: 50%; background: var(--slate-100); position: relative; }
.pp-grid span.is-pp { background: var(--blue); }
.pp-grid span.is-pp::after {
  content: ""; position: absolute; inset: 22%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pp-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 700; color: var(--slate-700); margin-bottom: 18px; }
.pp-legend i { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--slate-800); border-radius: 50%; vertical-align: -2px; margin-right: 6px; }
.pp-legend .k-pp { background: var(--blue); }
.pp-legend .k-other { background: var(--slate-100); }

.pp-eq { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 10px; }
.pp-eq__box { padding: 12px 10px; text-align: center; border: var(--border-thin); border-radius: var(--radius-sm); background: var(--slate-50); }
.pp-eq__box--out { background: var(--blue-soft); }
.pp-eq__num { display: block; font-size: 30px; font-weight: 900; line-height: 1.05; color: var(--slate-800); letter-spacing: -1px; }
.pp-eq__lbl { display: block; font-size: 13px; font-weight: 700; color: var(--slate-600); line-height: 1.3; margin-top: 4px; }
.pp-eq__op { align-self: center; font-size: 26px; font-weight: 900; color: var(--slate-800); }
.pp-cap { margin: 16px 0 0; font-size: 14px; color: var(--slate-600); }

.mini-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: ms; }
.mini-steps li { display: flex; gap: 12px; align-items: flex-start; }
.mini-steps li::before {
  counter-increment: ms; content: counter(ms);
  flex: none; width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--white); border: var(--border-thin); border-radius: 50%; box-shadow: 2px 2px 0 0 var(--slate-800);
  font-weight: 900; font-size: 15px; color: var(--slate-800);
}

/* ---------- 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; }

/* ---------- Next steps / sign-off ---------- */
.next { background: var(--blue-soft); }
.next__card { padding: 30px 22px; text-align: center; }
@media (min-width: 640px) { .next__card { padding: 44px 40px; } }
.next__card h2 { margin-bottom: 10px; }
.next__card > p { max-width: 38em; margin: 0 auto 24px; }

.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__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; font-weight: 700; }
.signoff__legal { margin: 0; color: var(--slate-600); }

/* ---------- 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 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%; margin-top: 8px; }

[data-optional].is-missing { display: none !important; }
.cobrand__council .is-missing + .cobrand__flag { display: block; }
#about .section__intro { max-width: 52em; }
