/* Visitor Book — marketing site
   Static rebuild of the Elementor "MicroApp" kit as used on visitorbook.co.uk.
   Design tokens mirror the kit's global colours and typography. */

/* Urbanist (SIL OFL 1.1, assets/fonts/OFL.txt), self-hosted so no visitor's IP
   goes to a font CDN. One variable file covers weights 300–700. */
@font-face {
  font-family: "Urbanist";
  src: url("../fonts/urbanist-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #172A20;      /* headings, dark surfaces */
  --secondary: #256B45;    /* brand green */
  --text: #55655A;         /* body copy */
  --accent: #E7EFE4;       /* soft green: borders, chips, Martyn's Law band */
  --cream: #F6F7F1;        /* card + alt section background */
  --white: #FFFFFF;
  --shadow: 0 20px 40px rgba(89, 57, 131, 0.10);
  --shadow-btn: 0 20px 40px rgba(89, 57, 131, 0.20);
  --radius: 20px;
  --container: 1140px;
  --font: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--primary); font-weight: 500; line-height: 1.2; margin: 0; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: var(--white); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; }
.section { padding: clamp(64px, 7vw, 100px) 20px; }
.section--cream { background: var(--cream); }
.section--accent { background: var(--accent); }

/* ---------- Type helpers ---------- */
.label {
  display: inline-block;
  font-size: 12px; font-weight: 600; line-height: 1.2;
  text-transform: uppercase; letter-spacing: .02em;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 20px;
}
.title-xl, .page-head h1 { font-size: clamp(34px, 2.6vw + 24px, 60px); }
.title-lg, .cta h2, .future h2, .price-intro h2, .where h2 { font-size: clamp(28px, 2.2vw + 18px, 50px); }
.title-md, .feature-row h2 { font-size: clamp(26px, 1.6vw + 18px, 42px); }
.title-sm, .feature-row--split h2, .prose h2, .price-card h3 { font-size: clamp(24px, .9vw + 18px, 32px); }
.lead { font-size: 18px; line-height: 1.6; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--primary);
  font-weight: 600; font-size: 16px; line-height: 1.1;
  padding: 16px 24px;
  border-radius: 99px;
  box-shadow: var(--shadow-btn);
  text-decoration: underline; text-underline-offset: 3px;
  border: 0; cursor: pointer; font-family: inherit;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn:active { transform: none; }
.btn:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }
.btn--dark { background: var(--primary); color: var(--white); }
.btn--dark:hover { background: var(--secondary); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 20px; left: 20px; right: 20px; z-index: 50;
  padding: 28px 60px;
  border: 1px solid transparent; border-radius: 16px;
  transition: top .3s ease, padding .3s ease, background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { width: 200px; height: 100px; object-fit: contain; object-position: left center; transition: width .3s ease, height .3s ease; }
.site-header.is-scrolled {
  top: 10px; padding: 6px 24px;
  background: rgba(255, 255, 255, .88); border-color: var(--accent); box-shadow: var(--shadow);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
}
.site-header.is-scrolled .logo img { width: 120px; height: 60px; }
.site-nav { display: flex; align-items: center; gap: 40px; flex: 1; justify-content: space-between; margin-left: 40px; }
.site-nav > ul { list-style: none; display: flex; margin: 0 auto; padding: 0; }
.site-nav li { position: relative; }
.site-nav a.nav-link { display: inline-block; padding: 13px 20px; font-weight: 500; color: var(--primary); text-decoration: none; }
.site-nav a.nav-link:hover, .site-nav a.nav-link[aria-current="page"] { color: var(--secondary); }
.has-sub { display: flex; align-items: center; }
.sub-toggle {
  background: none; border: 0; padding: 4px; margin-left: -16px; cursor: pointer; color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 44px;
}
.sub-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.sub {
  list-style: none; margin: 0; padding: 10px 0;
  position: absolute; top: 100%; left: 0; min-width: 180px;
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.sub a { display: block; padding: 12px 20px; color: var(--primary); text-decoration: none; font-weight: 500; }
.sub a:hover { color: var(--secondary); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }

.nav-toggle {
  display: none; background: var(--white); border: 0; border-radius: 10px; width: 44px; height: 44px;
  align-items: center; justify-content: center; cursor: pointer; color: var(--primary); box-shadow: var(--shadow);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle:focus-visible, .sub-toggle:focus-visible, .site-nav a:focus-visible, .logo:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; border-radius: 8px; }

/* ---------- Hero (home) ---------- */
.hero-wrap { padding: 20px 20px 0; }
.hero {
  background: var(--white) url("../img/Hero-Background.jpg") center top / cover no-repeat;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 220px 20px 80px;
  text-align: center;
}
.hero h1 { font-size: clamp(32px, 2.8vw + 20px, 56px); letter-spacing: -.01em; max-width: 900px; margin: 0 auto 20px; }
.hero .lead { max-width: 560px; margin: 0 auto 40px; }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 80px; }
.hero-mockup { width: 100%; max-width: 800px; margin: 0 auto; }

/* ---------- Hero: animated kiosk demo (kiosk-demo.js) ----------
   A scaled HTML copy of the Local tier sign-in page. Everything inside the
   screen is sized in em, and the screen's font-size follows the device's
   width (container query units), so it scales like an image. */
.kiosk-demo {
  --k-bg: #f2ebd9; --k-panel: #fffdf8; --k-panel-2: #ece0c3; --k-border: #ddceab; --k-border-strong: #c7b586;
  --k-head-1: #051d13; --k-head-2: #0b4d2c; --k-accent: #0b4d2c; --k-out: #8a3a22;
  --k-text: #20241d; --k-muted: #6d6553; --k-field: #fbf6ea; --k-good: #1f7a4d; --k-good-bg: #e3f0e6;
  max-width: 860px; margin: 0 auto;
}
.kd-device {
  container-type: inline-size;
  background: #0f2219; border-radius: clamp(14px, 3.2vw, 34px); padding: clamp(8px, 1.9vw, 20px);
  box-shadow: 0 30px 60px rgba(15, 34, 25, .22), 0 8px 18px rgba(15, 34, 25, .14);
}
.kd-screen {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10; border-radius: clamp(6px, 1.2vw, 14px);
  background: var(--k-bg); color: var(--k-text); text-align: left;
  font: 400 1.6cqw/1.35 Arial, Helvetica, sans-serif;
  display: flex; flex-direction: column;
}
.kd-head {
  flex: none; display: flex; align-items: center; gap: 1em; padding: .7em 1.5em;
  background: linear-gradient(90deg, var(--k-head-1), var(--k-head-2)); color: #fff;
}
.kd-logo {
  width: 2.6em; height: 2.6em; border-radius: .55em; display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-weight: 700;
}
.kd-titles, .kd-clock { display: flex; flex-direction: column; }
.kd-titles b { font-size: 1.25em; }
.kd-titles small, .kd-clock small { font-size: .8em; opacity: .85; }
.kd-clock { margin-left: auto; text-align: right; }
.kd-clock b { font-size: 1.4em; }
.kd-tab {
  flex: none; margin: .7em 1.5em 0; padding: .55em; border-radius: .6em; text-align: center;
  background: var(--k-out); color: #fff; font-weight: 700; transition: background-color .3s ease;
}
.kd-screen.is-board .kd-tab { background: var(--k-accent); }
.kd-status {
  flex: none; align-self: center; margin: .6em 0; padding: .3em 1em; border-radius: 999px;
  background: var(--k-panel); border: 1px solid var(--k-border); color: var(--k-muted); font-size: .85em;
  display: flex; align-items: center; white-space: nowrap;
}
.kd-status i { width: .6em; height: .6em; border-radius: 50%; background: var(--k-good); margin-right: .5em; }
.kd-status b { color: var(--k-text); }
.kd-view { flex: 1; min-height: 0; padding: 0 1.5em 1.2em; display: flex; }
.kd-board { display: none; }
.kd-screen.is-board .kd-signin { display: none; }
.kd-screen.is-board .kd-board { display: flex; }
.kd-card {
  position: relative; flex: 1; display: flex; flex-direction: column; overflow: hidden;
  background: var(--k-panel); border: 1px solid var(--k-border); border-radius: .9em;
}
.kd-card-h {
  flex: none; padding: .6em 1.1em; background: var(--k-panel-2); border-bottom: 1px solid var(--k-border);
  font-weight: 700; display: flex; align-items: center; gap: .5em;
}
.kd-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 30% 1fr; gap: 1.4em; padding: 1em 1.2em; }
.kd-left { display: flex; flex-direction: column; min-height: 0; }
.kd-cam {
  position: relative; flex: 1; min-height: 0; border-radius: .7em; overflow: hidden;
  background: linear-gradient(#e9e4d4, #d9d0b8); border: 1px solid var(--k-border-strong);
}
.kd-cam svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #b9ad8d; }
.kd-live {
  position: absolute; z-index: 1; left: .6em; top: .6em; padding: .15em .6em; border-radius: 999px;
  background: rgba(5,29,19,.72); color: #fff; font-size: .75em; font-weight: 700; display: flex; align-items: center; gap: .4em;
}
.kd-live i { width: .55em; height: .55em; border-radius: 50%; background: #3ddc97; }
.kd-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.kd-flash.is-on { animation: kd-flash .5s ease-out; }
@keyframes kd-flash { 0% { opacity: .95; } 100% { opacity: 0; } }
.kd-hint { flex: none; margin: .4em 0 .5em; text-align: center; color: var(--k-muted); font-size: .75em; font-weight: 700; }
.kd-notice {
  flex: none; padding: .5em .8em; border-radius: .6em; background: var(--k-panel-2); border: 1px solid var(--k-border); font-size: .8em;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.kd-notice p { margin: .3em 0 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s ease, opacity .45s ease; }
.kd-notice.is-open p { max-height: 6em; opacity: 1; }
.kd-notice.is-focus, .kd-field.is-focus, .kd-ack.is-focus { border-color: var(--k-accent); box-shadow: 0 0 0 .2em rgba(11,77,44,.15); }
.kd-right { display: flex; flex-direction: column; position: relative; min-width: 0; }
.kd-label { display: block; margin: 0 0 .25em; color: var(--k-muted); font-size: .8em; font-weight: 700; }
.kd-label em { color: var(--k-out); font-style: normal; }
.kd-field {
  display: block; min-height: 2.3em; margin-bottom: .6em; padding: .45em .8em; border-radius: .55em;
  background: var(--k-field); border: 1px solid var(--k-border-strong); white-space: nowrap; overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.kd-field.is-empty::before { content: attr(data-ph); color: #a39a85; }
.kd-field.is-typing::after { content: ""; display: inline-block; width: 1px; height: 1.1em; margin-left: 1px; vertical-align: -.2em; background: var(--k-text); animation: kd-caret .8s steps(1) infinite; }
@keyframes kd-caret { 50% { opacity: 0; } }
.kd-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; }
.kd-select { position: relative; padding-right: 2em; }
.kd-select::after { content: ""; position: absolute; right: .8em; top: 50%; border: .35em solid transparent; border-top-color: var(--k-muted); margin-top: -.1em; }
.kd-options {
  position: absolute; z-index: 2; left: 0; right: 0; top: 13.1em; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--k-border-strong); border-radius: .55em; box-shadow: 0 .8em 1.6em rgba(5,29,19,.15);
  opacity: 0; transform: translateY(-.4em); pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.kd-options.is-open { opacity: 1; transform: none; }
.kd-options span { padding: .35em .8em; }
.kd-options span.is-hl { background: var(--k-good-bg); color: var(--k-accent); font-weight: 700; }
.kd-ack {
  display: flex; gap: .7em; align-items: flex-start; margin: .2em 0 .7em; padding: .6em .8em; border-radius: .6em;
  background: var(--k-panel-2); border: 1px solid var(--k-border); font-size: .85em; font-weight: 700;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.kd-box {
  flex: none; width: 1.4em; height: 1.4em; border-radius: .3em; border: 2px solid var(--k-border-strong); background: #fff;
  display: grid; place-items: center; transition: background-color .2s ease, border-color .2s ease;
}
.kd-box svg { width: 1em; height: 1em; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .3s ease .05s; }
.kd-ack.is-on .kd-box { background: var(--k-accent); border-color: var(--k-accent); }
.kd-ack.is-on .kd-box svg { stroke-dashoffset: 0; }
.kd-btn {
  display: block; padding: .6em; border-radius: .6em; text-align: center; font-weight: 700; font-size: 1.05em;
  background: #b9bfb5; color: #fff; transition: background-color .3s ease, transform .15s ease;
}
.kd-btn.is-on { background: var(--k-accent); }
.kd-btn.is-pressed { transform: scale(.97); background: #083a21; }
.kd-success {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6em;
  background: rgba(255,253,248,.94); color: var(--k-accent); font-size: 1.3em;
  opacity: 0; transform: scale(.96); pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.kd-success svg { width: 3.4em; height: 3.4em; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.kd-success circle { fill: var(--k-accent); stroke: none; }
.kd-success path { stroke: #fff; stroke-dasharray: 40; stroke-dashoffset: 40; }
.kd-success.is-on { opacity: 1; transform: none; }
.kd-success.is-on path { stroke-dashoffset: 0; transition: stroke-dashoffset .45s ease .2s; }
.kd-count { margin-left: auto; min-width: 1.7em; padding: .1em .5em; border-radius: 999px; background: var(--k-accent); color: #fff; font-size: .8em; text-align: center; }
.kd-th, .kd-row { display: grid; grid-template-columns: 1fr 6em 6em 6.5em; align-items: center; gap: 1em; padding: 0 1.1em; }
.kd-th { padding-top: .6em; padding-bottom: .6em; border-bottom: 1px solid var(--k-border); color: var(--k-muted); font-size: .75em; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.kd-row { padding-top: .65em; padding-bottom: .65em; border-bottom: 1px solid var(--k-border); grid-template-columns: 2.4em 1fr 6em 6em 6.5em; }
.kd-th { grid-template-columns: 1fr 6em 6em 6.5em; padding-left: 4.5em; }
.kd-av { width: 2.4em; height: 2.4em; border-radius: .5em; display: grid; place-items: center; background: var(--k-panel-2); border: 1px solid var(--k-border-strong); color: var(--k-accent); font-weight: 700; font-size: .85em; }
.kd-who { display: flex; flex-direction: column; min-width: 0; }
.kd-who small { color: var(--k-muted); font-size: .8em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kd-pill { justify-self: start; padding: .1em .55em; border-radius: 999px; background: var(--k-good-bg); color: var(--k-good); font-weight: 700; font-size: .85em; }
.kd-out { justify-self: end; padding: .35em .8em; border-radius: .5em; background: var(--k-panel-2); border: 1px solid var(--k-border-strong); font-weight: 700; font-size: .85em; }
.kd-new { background: #f4f9f2; }
.kd-row[hidden] { display: none; }
.kd-new.is-entering { animation: kd-row-in .6s cubic-bezier(.2,.7,.2,1); }
@keyframes kd-row-in { from { opacity: 0; transform: translateY(-1.2em); background: #dcefdc; } to { opacity: 1; transform: none; } }
.kd-tap {
  position: absolute; z-index: 4; left: 0; top: 0; width: 2.4em; height: 2.4em; margin: -1.2em 0 0 -1.2em; border-radius: 50%;
  background: rgba(11,77,44,.18); border: 2px solid rgba(11,77,44,.55); opacity: 0; pointer-events: none;
  transition: left .5s cubic-bezier(.4,0,.2,1), top .5s cubic-bezier(.4,0,.2,1), opacity .25s ease;
}
.kd-tap.is-on { opacity: 1; }
.kd-tap.is-press { animation: kd-press .35s ease-out; }
@keyframes kd-press { 0% { transform: scale(1); } 40% { transform: scale(.75); background: rgba(11,77,44,.35); } 100% { transform: scale(1); } }
.kd-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 28px; }
.kd-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.kd-steps li {
  display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--accent); color: var(--text); font-size: 14px; line-height: 1.3; text-align: left;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.kd-steps li span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--primary); font-weight: 700; font-size: 13px; transition: inherit; }
.kd-steps li.is-active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.kd-steps li.is-active span { background: var(--secondary); color: var(--white); }
.kd-toggle {
  font: inherit; font-size: 14px; font-weight: 700; color: var(--primary); background: none; cursor: pointer;
  border: 1px solid var(--accent); border-radius: 999px; padding: 6px 14px;
}
.kd-toggle:hover { border-color: var(--secondary); }
.kd-toggle:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }
@media (max-width: 600px) {
  .kd-steps { flex-direction: column; align-items: stretch; width: 100%; }
}

/* ---------- Page header (inner pages) ---------- */
.page-head-wrap { padding: 20px 20px 0; }
.page-head {
  background: var(--white) url("../img/Page-Header-Background.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/Page-Header-Background.webp") type("image/webp"), url("../img/Page-Header-Background.jpg") type("image/jpeg"));
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 200px 20px 72px;
  text-align: center;
}
.page-sub { max-width: 600px; margin: 18px auto 0; font-size: 18px; color: var(--text); }

/* ---------- Generic layouts ---------- */
.split-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: end; margin-bottom: 60px; }
.split-head .lead, .split-head p { max-width: 400px; margin-left: auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col--top { align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* Device image sitting on a soft gradient block */
.media { position: relative; padding-top: 40px; }
.media::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: 30%;
  background: url("../img/Gradient-Blok.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/Gradient-Blok.webp") type("image/webp"), url("../img/Gradient-Blok.jpg") type("image/jpeg"));
  border-radius: var(--radius);
}
.media img { position: relative; margin: 0 auto; width: 80%; }
.media--tall img { width: 70%; }
.media--wide img { width: 90%; }

/* ---------- Problem cards ---------- */
.icon-card, .value-card {
  background: var(--cream); border: 1px solid var(--accent); border-radius: var(--radius); padding: 32px;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.section--cream .icon-card, .section--cream .value-card { background: var(--white); }
@media (hover: hover) {
  .icon-card:hover, .value-card:hover, .price-card:hover { box-shadow: var(--shadow); border-color: #D5E2D0; }
}
.icon-card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--white);
  display: grid; place-items: center; color: var(--secondary);
}
.icon-card .icon svg { width: 24px; height: 24px; }
.icon-card h3 { font-size: 24px; padding: 16px 0 10px; }

/* ---------- Accordion ---------- */
.accordion { display: flex; flex-direction: column; gap: 10px; }
.acc-item {
  background: var(--white); border: 1px solid var(--accent); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.acc-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 30px; font-size: 20px; font-weight: 500; color: var(--primary);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary span { text-decoration: underline; text-underline-offset: 4px; }
.acc-item summary::after {
  content: "+"; font-size: 28px; font-weight: 300; line-height: 1; color: var(--primary); flex: none;
}
.acc-item[open] summary::after { content: "\2212"; }
.acc-item summary:focus-visible { outline: 2px solid var(--secondary); outline-offset: -2px; border-radius: var(--radius); }
.acc-body { padding: 0 30px 24px; }
.acc-item[open] .acc-body { border-top: 1px solid var(--accent); padding-top: 18px; }

.solution-foot { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 60px; }
.solution-foot p { max-width: 520px; margin: 0; }

/* ---------- Key features (home) ---------- */
.features-head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.features-head .lead { margin-top: 20px; }
.features-image { width: 100%; max-width: 900px; margin: 0 auto 60px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 60px; text-align: center; }
.feature-grid h3 { font-size: 24px; margin-bottom: 10px; }
.features-foot { max-width: 560px; margin: 60px auto 0; text-align: center; }
.features-foot .btn { margin-top: 30px; }

/* ---------- Steps ---------- */
.steps { display: flex; flex-direction: column; gap: 100px; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; padding: 0 60px; }
.step-text { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 10px 0; }
.step-num { font-size: clamp(40px, 1.6vw + 30px, 54px); font-weight: 400; color: var(--primary); line-height: 1; }
.step-text h3 { font-size: 24px; margin-bottom: 10px; }
.step-text p { max-width: 300px; }
.step--rev .step-text { order: 2; }

/* ---------- CTA band ---------- */
.cta-wrap { padding: 0 20px; }
.cta {
  background: var(--white) url("../img/Hero-Background.jpg") center / cover no-repeat;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 80px 20px;
}
.cta .two-col { gap: 80px; }
.cta h2 { margin-bottom: 20px; }
.cta .btn { margin: 30px 0; }
.ticks { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--primary); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 16px; height: 16px; color: var(--secondary); }

/* ---------- Q&A cards (pricing) and segment cards (home) ---------- */
.qa-card h3 { font-size: 20px; padding: 0 0 10px; }
.segment-card h3 { padding-bottom: 2px; }
.segment-card .segment-sub { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--secondary); margin-bottom: 10px; }

/* Approved customer reviews (none yet; see README "Publishing an approved review"). */
.review { margin: 0; background: var(--cream); border: 1px solid var(--accent); border-radius: var(--radius); padding: 30px; }
.review p { color: var(--primary); font-size: 18px; }
.review cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; font-weight: 600; }

/* ---------- Martyn's Law band ---------- */
.future { max-width: 620px; margin: 0 auto; text-align: center; }
.future h2 { margin-bottom: 30px; }

/* ---------- Bullet lists ---------- */
.dot-list { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 14px; }
.dot-list li { position: relative; padding-left: 26px; }
.dot-list li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%;
  background: var(--secondary);
}
.dot-list li.is-note { color: var(--primary); }
.dot-list li.is-note::before { content: "\2713"; background: none; width: auto; height: auto; top: 0; left: 2px; color: var(--secondary); font-weight: 700; }

.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.check-list svg { width: 20px; height: 20px; color: var(--secondary); margin-top: 3px; }

/* ---------- Features page ---------- */
.feature-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.where { max-width: 760px; margin: 40px auto 0; text-align: center; }
.where h2 { margin-bottom: 40px; }
.where .grid-2 { text-align: left; margin-bottom: 40px; }
.where h3 { font-size: 24px; margin-bottom: 10px; }
.closing-mockup { width: 100%; max-width: 800px; margin: 80px auto 0; }

/* ---------- Data-flow diagram (home, features) ---------- */
.where-title { text-align: center; font-size: clamp(28px, 2.2vw + 18px, 50px); margin-bottom: 40px; }
.flow { display: grid; gap: 24px; }
.flow-lane { background: var(--cream); border: 1px solid var(--accent); border-radius: var(--radius); padding: 28px 32px 24px; }
.section--cream .flow-lane { background: var(--white); }
.flow-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 22px; color: var(--primary); }
.flow-tier { font-size: 24px; font-weight: 600; }
.flow-head span:last-child { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--secondary); }
.flow-steps { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr; align-items: center; }
.flow-node {
  background: var(--white); border: 1px solid var(--accent); border-radius: 16px; padding: 16px;
  display: flex; flex-direction: column; gap: 4px; height: 100%; font-size: 14px; line-height: 1.45;
}
.section--cream .flow-node { background: var(--cream); }
.flow-node strong { color: var(--primary); font-size: 16px; font-weight: 600; }
.flow-node--optional { border-style: dashed; border-color: #BFD1BA; }
.flow-node--optional strong::after { content: " (optional)"; font-weight: 500; color: var(--text); font-size: 13px; }
.flow-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: var(--secondary); display: grid; place-items: center; margin-bottom: 8px; }
.flow-icon svg { width: 22px; height: 22px; }
.flow-link { position: relative; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, #A9C3A3 0 6px, transparent 6px 11px); }
.flow-link::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: var(--secondary); opacity: 0;
}
.flow.is-playing .flow-link::after { animation: flow-dot-x 2.4s ease-in-out infinite; }
.flow.is-playing .flow-link:nth-child(4)::after { animation-delay: .6s; }
.flow.is-playing .flow-link:nth-child(6)::after { animation-delay: 1.2s; }
@keyframes flow-dot-x {
  0% { left: 0; opacity: 0; } 8% { opacity: 1; } 42% { opacity: 1; } 50% { left: 100%; opacity: 0; } 100% { left: 100%; opacity: 0; }
}
@keyframes flow-dot-y {
  0% { top: 0; opacity: 0; } 8% { opacity: 1; } 42% { opacity: 1; } 50% { top: 100%; opacity: 0; } 100% { top: 100%; opacity: 0; }
}
.flow-note { margin: 18px 0 0; font-size: 14px; color: var(--primary); }

/* ---------- Pricing ---------- */
.price-intro { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.price-intro h2 { margin-bottom: 20px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 940px; margin: 0 auto; }
.price-card {
  background: var(--cream); border: 1px solid var(--accent); border-radius: var(--radius);
  padding: 40px; transition: box-shadow .3s ease, border-color .3s ease; display: flex; flex-direction: column; gap: 30px; box-shadow: var(--shadow);
}
.price { display: flex; align-items: baseline; gap: 10px; padding-bottom: 24px; border-bottom: 1px solid var(--accent); }
.price strong { font-size: 64px; font-weight: 500; color: var(--primary); line-height: 1; }
.price span { font-size: 18px; }
.price-card h3 { margin-bottom: 20px; }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-note { max-width: 940px; margin: 30px auto 0; font-size: 14px; text-align: center; }

.compare-wrap { max-width: 940px; margin: 80px auto 0; }
.compare-title { text-align: center; margin-bottom: 28px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; border: 1px solid var(--accent); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--accent); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 20px; font-weight: 600; color: var(--primary); background: var(--cream); width: 34%; }
.compare thead td { background: var(--cream); }
.compare tbody th { font-weight: 600; color: var(--primary); width: 32%; }
.compare tbody tr:nth-child(even) { background: #FAFBF7; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- FAQ / contact / about ---------- */
.faq-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: start; }
.side-image { border-radius: var(--radius); overflow: hidden; position: sticky; top: 30px; }
.side-image img { width: 100%; }
.faq-layout .acc-item summary { font-size: 18px; }

.prose h2 { margin: 0 0 16px; }
.prose h2:not(:first-child) { margin-top: 50px; }
.prose p { margin-bottom: 1em; }
.prose strong { color: var(--primary); font-weight: 600; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.value-card .step-num { display: block; margin-bottom: 30px; }
.value-card h3 { font-size: 24px; margin-bottom: 12px; }

.contact-box { background: var(--cream); border-radius: var(--radius); padding: 40px; }
.contact-lines { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.contact-lines a { color: var(--primary); font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--primary);
  background: var(--white); border: 1px solid var(--accent); border-radius: 12px;
  padding: 12px 14px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--secondary); outline-offset: 0; border-color: transparent; }
.form-hint { font-size: 13px; margin-top: 14px; }
.form-title { margin-bottom: 24px; }
.field .optional { font-weight: 500; color: var(--text); }
.field-hint { font-size: 14px; margin: 6px 0 0; }
.field-error { font-size: 14px; font-weight: 600; color: #A12C22; margin: 6px 0 0; }
.field [aria-invalid="true"] { border-color: #A12C22; }
.choice-group { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.choice-group legend { padding: 0; font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 4px; width: 100%; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--primary); cursor: pointer; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--secondary); flex: none; }
.choice--block { display: flex; align-items: flex-start; }
.choice--block input { margin-top: 3px; }
.form-privacy { font-size: 14px; margin-bottom: 16px; }
.form-privacy a, .field-hint a { color: var(--secondary); font-weight: 600; }
.form-status { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-status:focus { outline: 2px solid var(--secondary); outline-offset: 2px; }
.form-status--success { background: var(--accent); color: var(--primary); }
.form-status--error { background: #FBEAE8; color: #8A241B; }
.btn:disabled { opacity: .7; cursor: progress; }
.hidden { display: none !important; }

/* ---------- Insights (hub, article cards, articles) ---------- */
.insight-card { position: relative; display: flex; flex-direction: column; gap: 10px; }
.insight-card h3 { font-size: 22px; line-height: 1.3; }
.insight-card h3 a { text-decoration: none; color: var(--primary); }
.insight-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.insight-card h3 a:focus-visible { outline: none; }
.insight-card:focus-within { outline: 2px solid var(--secondary); outline-offset: 3px; }
.insight-card:hover h3 a { color: var(--secondary); text-decoration: underline; text-underline-offset: 4px; }
.insight-card p { margin: 0; }
.insight-card .article-meta { margin-top: auto; padding-top: 6px; }
.insight-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--secondary); }
.article-meta { font-size: 14px; color: var(--text); }
.text-link { color: var(--secondary); font-weight: 600; }

.page-head--article { padding-bottom: 56px; }
.page-head--article h1 { font-size: clamp(30px, 1.8vw + 22px, 48px); max-width: 880px; margin: 0 auto; }
.page-head--article .article-meta { margin: 18px 0 0; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; font-size: 14px; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; opacity: .5; }
.breadcrumb a { color: var(--secondary); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.breadcrumb [aria-current] { color: var(--primary); }

.article { max-width: 760px; font-size: 18px; line-height: 1.7; }
.article .lead { font-size: 20px; color: var(--primary); margin-bottom: 1.4em; }
.article h2 { font-size: clamp(24px, .9vw + 18px, 32px); }
.article h3 { font-size: 21px; margin: 28px 0 8px; }
.article .dot-list { margin: 0 0 1.2em; gap: 10px; }
.article a { color: var(--secondary); font-weight: 600; }
.article .callout h2 { font-size: 22px; }
.article-disclaimer { font-size: 14px; margin-top: 2em; padding-top: 16px; border-top: 1px solid var(--accent); }
.article-cta { margin-top: 56px; padding: 32px; border-radius: var(--radius); background: var(--primary); color: rgba(255,255,255,.8); }
.prose .article-cta h2 { color: var(--white); margin: 0 0 10px; }
.article-cta .btn { margin-top: 10px; background: var(--white); color: var(--primary); }
.article-cta .btn:hover { background: var(--accent); }
.related-title { margin-bottom: 28px; }
.related-all { margin: 28px 0 0; }
.related-all a, .compare-more a { color: var(--secondary); font-weight: 600; }
.compare-more { margin: 20px 0 0; text-align: center; font-size: 15px; }

/* ---------- Simple pages (404, thanks) ---------- */
.narrow { max-width: 680px; }
.link-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; }
.link-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--accent); border-radius: 99px; color: var(--primary); font-weight: 600; text-decoration: none; }
.link-list a:hover { background: var(--accent); }

/* ---------- Legal pages (privacy) ---------- */
.legal { max-width: 760px; overflow-wrap: anywhere; }
.legal h2 { font-size: clamp(22px, .6vw + 18px, 28px); }
.legal h3 { font-size: 20px; margin: 28px 0 10px; }
.legal a { color: var(--secondary); font-weight: 600; }
.legal .dot-list { margin: 0 0 1em; gap: 8px; }
.callout { background: var(--accent); border-radius: var(--radius); padding: 24px 28px; margin: 40px 0 50px; }
.callout h2 { font-size: 22px; margin: 0 0 10px; }
.prose .callout + h2 { margin-top: 0; }

/* ---------- Footer ---------- */
.footer-wrap { padding: 0 20px 20px; }
.site-footer { background: var(--primary); color: rgba(255,255,255,.62); border-radius: var(--radius); padding: 80px 60px 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { width: 160px; height: 160px; object-fit: contain; }
.footer-brand p { max-width: 220px; margin-top: 30px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-cols h2 { color: var(--white); font-size: 20px; margin-bottom: 20px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-cols ul { gap: 0; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: rgba(255,255,255,.72); text-decoration: none; font-weight: 600; }
.footer-cols a:focus-visible, .footer-brand a:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.footer-cols a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 30px; font-size: 14px; }
.footer-bottom .sep { opacity: .4; margin: 0 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .site-header { padding: 22px 30px; }
  .grid-3, .value-grid { grid-template-columns: 1fr 1fr; }
  .step { padding: 0; }
  .site-nav { gap: 20px; margin-left: 20px; }
  .site-nav a.nav-link { padding: 13px 12px; }
  .sub-toggle { margin-left: -8px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: calc(100% - 10px); left: 16px; right: 16px; margin: 0;
    flex-direction: column; align-items: stretch; gap: 10px;
    background: var(--white); border-radius: 16px; box-shadow: var(--shadow); padding: 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; margin: 0; }
  .site-nav a.nav-link { display: block; padding: 12px 10px; }
  .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .sub-toggle { margin: 0; padding: 12px; min-width: 44px; }
  .sub { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; width: 100%; padding: 0 0 0 16px; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open:hover .sub, .has-sub.open:focus-within .sub { display: block; }
  .site-nav .btn { align-self: flex-start; }
}

@media (max-width: 767px) {
  .site-header { top: 16px; left: 16px; right: 16px; padding: 16px; }
  .logo img { width: 140px; height: 70px; }
  .section { padding-left: 16px; padding-right: 16px; }
  .site-header.is-scrolled { top: 8px; left: 8px; right: 8px; padding: 6px 12px; }
  .site-header.is-scrolled .logo img { width: 100px; height: 50px; }
  .hero-wrap, .page-head-wrap { padding: 16px 16px 0; }
  .hero { padding: 130px 16px 50px; }
  .hero-actions { margin-bottom: 40px; }
  .page-head { padding: 130px 16px 48px; }
  .page-sub { font-size: 16px; }
  .contact-layout .contact-box { order: -1; }
  .split-head, .two-col, .grid-3, .grid-2, .feature-grid, .step, .price-grid, .faq-layout, .value-grid,
  .feature-row--split, .footer-top, .form-grid { grid-template-columns: 1fr; }
  .split-head { gap: 20px; margin-bottom: 40px; }
  .split-head .lead, .split-head p { margin-left: 0; }
  .two-col { gap: 40px; }
  .step--rev .step-text { order: 0; }
  .step-text { gap: 16px; }
  .steps { gap: 60px; }
  .solution-foot { flex-direction: column; align-items: flex-start; }
  .icon-card, .value-card, .price-card, .contact-box, .flow-lane { padding: 28px 22px; }
  .cta-wrap, .footer-wrap { padding-left: 16px; padding-right: 16px; }
  .cta { padding: 50px 20px; }
  .acc-item summary { padding: 18px 20px; font-size: 17px; }
  .acc-body { padding: 0 20px 20px; }
  .side-image { position: static; }
  .site-footer { padding: 50px 24px 30px; }
  .footer-brand img { width: 120px; height: 120px; }
  .price strong { font-size: 52px; }
}

@media (max-width: 900px) {
  .flow-steps { grid-template-columns: 1fr; justify-items: stretch; }
  .flow-node { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; height: auto; }
  .flow-icon { grid-row: span 2; margin: 0; }
  .flow-link { justify-self: start; width: 2px; height: 26px; margin: 0 0 0 36px; background: repeating-linear-gradient(180deg, #A9C3A3 0 5px, transparent 5px 10px); }
  .flow-link::after { left: 50%; top: 0; margin: -4px 0 0 -4px; }
  .flow.is-playing .flow-link::after { animation-name: flow-dot-y; }
}

@media (max-width: 640px) {
  .compare-wrap { margin-top: 56px; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr { display: block; }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--accent); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { border-bottom: 0; padding: 12px 14px; }
  .compare tbody th { grid-column: 1 / -1; width: auto; padding-bottom: 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--secondary); margin-bottom: 2px; }
}

@media (max-width: 400px) {
  .icon-card, .value-card, .price-card, .contact-box, .flow-lane { padding: 24px 16px; }
  .acc-item summary { padding: 16px 16px; }
  .acc-body { padding: 0 16px 18px; }
}

/* ---------- Motion ----------
   All of it is progressive: without JS nothing is hidden, and main.js skips the
   reveal entirely when the visitor prefers reduced motion. */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

/* "How it works": a line that fills as you scroll through the steps. */
.steps--tracked { position: relative; --progress: 0; }
.steps--tracked::before, .steps--tracked::after {
  content: ""; position: absolute; left: 0; top: 0; width: 2px; border-radius: 2px;
}
.steps--tracked::before { bottom: 0; background: var(--accent); }
.steps--tracked::after { height: calc(var(--progress) * 100%); background: var(--secondary); }
.step-num { transition: color .4s ease; }
.step.is-active .step-num { color: var(--secondary); }
@media (max-width: 1024px) { .steps--tracked { padding-left: 28px; } }
@media (max-width: 767px) { .steps--tracked { padding-left: 20px; } }

/* Mobile menu fades in. */
@keyframes nav-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .site-nav.open { animation: nav-in .2s ease-out; } }

/* Accordions slide open where the browser can animate to height: auto. */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .acc-item::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size .35s ease, content-visibility .35s allow-discrete;
  }
  .acc-item[open]::details-content { block-size: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
