/* ==========================================================================
   Cornwall Stairlifts — design system
   Matches Mobility Centre South West: Barlow type, Apple-store layout,
   white / #f5f5f7 surfaces, #1d1d1f ink, #0071e3 pill buttons.
   Accessibility first: 19px base text, 56px+ targets, AA+ contrast,
   nothing moves unasked, reading preferences on every page.
   ========================================================================== */

:root {
  --scale: 1;

  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --surface: #FFFFFF;
  --ink: #1D1D1F;
  --ink-2: #424245;
  --ink-3: #6E6E73;
  --line: #D2D2D7;
  --line-soft: #E8E8ED;
  --line-strong: #86868B;

  --brand: #0071E3;
  --brand-strong: #0058B0;
  --brand-ink: #FFFFFF;
  --brand-soft: #E8F1FC;
  --brand-tint: #F5F9FF;

  --accent: #248A3D;        /* green, as on the main site */
  --accent-strong: #1B6E30;
  --accent-ink: #FFFFFF;
  --accent-soft: #E9F6EC;
  --highlight: #30D158;     /* headline highlight on dark photo */

  --ok: #1B6E30;
  --ok-soft: #E9F6EC;
  --warn: #8A4B00;
  --warn-soft: #FFF4E0;
  --error: #C4161C;
  --error-soft: #FDECEC;

  --dark: #1D1D1F;
  --dark-2: #2C2C2E;

  --focus: #FFBF47;
  --focus-ink: #0B0C0C;

  --radius-s: 12px;
  --radius: 18px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 2px 6px rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.06);
  --shadow-l: 0 4px 12px rgba(0,0,0,.06), 0 24px 60px rgba(0,0,0,.12);

  --font: "Barlow", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-easy: "Atkinson Hyperlegible", "Barlow", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);
  --tap: 56px;
}

/* ---------- Reading preferences ---------- */
html[data-size="large"]  { --scale: 1.18; }
html[data-size="xlarge"] { --scale: 1.36; }

html[data-contrast="high"] {
  --bg: #FFFFFF; --bg-alt: #FFFFFF; --surface: #FFFFFF;
  --ink: #000000; --ink-2: #000000; --ink-3: #000000; --line: #000000; --line-soft: #000000; --line-strong: #000000;
  --brand: #003C8F; --brand-strong: #002560; --brand-soft: #FFFFFF; --brand-tint: #FFFFFF;
  --accent: #0F5A23; --accent-strong: #0A3F18; --accent-soft: #FFFFFF;
  --shadow-s: none; --shadow: none; --shadow-l: none;
}
html[data-contrast="high"] .card,
html[data-contrast="high"] .panel,
html[data-contrast="high"] .help-card,
html[data-contrast="high"] .option-card,
html[data-contrast="high"] .review { border: 3px solid #000; }
html[data-contrast="high"] .hero-overlay { background: rgba(0,0,0,.82); }

html[data-contrast="dark"] {
  --bg: #000000; --bg-alt: #000000; --surface: #000000;
  --ink: #FFEB3B; --ink-2: #FFEB3B; --ink-3: #FFEB3B; --line: #FFEB3B; --line-soft: #FFEB3B; --line-strong: #FFEB3B;
  --brand: #FFEB3B; --brand-strong: #FFF59D; --brand-ink: #000000; --brand-soft: #000000; --brand-tint: #000000;
  --accent: #FFEB3B; --accent-strong: #FFF59D; --accent-ink: #000000; --accent-soft: #000000; --highlight: #FFEB3B;
  --ok: #FFEB3B; --ok-soft: #000; --warn: #FFEB3B; --warn-soft: #000; --error: #FF8A80; --error-soft: #000;
  --dark: #000; --dark-2: #000;
  --focus: #FFFFFF; --focus-ink: #FFEB3B;
  --shadow-s: none; --shadow: none; --shadow-l: none;
}
html[data-contrast="dark"] img { filter: grayscale(1) contrast(1.1) brightness(.85); }
html[data-contrast="dark"] .hero-overlay { background: rgba(0,0,0,.85); }
html[data-contrast="dark"] .card,
html[data-contrast="dark"] .panel,
html[data-contrast="dark"] .help-card,
html[data-contrast="dark"] .option-card,
html[data-contrast="dark"] .review,
html[data-contrast="dark"] .btn,
html[data-contrast="dark"] .cta-band,
html[data-contrast="dark"] .not-sure { border: 2px solid #FFEB3B; }
html[data-contrast="dark"] .main-bar { background: #000; }
html[data-contrast="dark"] .hero *,
html[data-contrast="dark"] .cta-band *,
html[data-contrast="dark"] .not-sure *,
html[data-contrast="dark"] .panel-dark * { color: #FFEB3B !important; }

html[data-readable="on"] body,
html[data-readable="on"] h1, html[data-readable="on"] h2, html[data-readable="on"] h3,
html[data-readable="on"] .btn, html[data-readable="on"] input, html[data-readable="on"] button { font-family: var(--font-easy); letter-spacing: .03em !important; word-spacing: .14em; }
html[data-readable="on"] p, html[data-readable="on"] li { line-height: 1.9; }

html[data-links="on"] a:not(.btn) { text-decoration: underline !important; text-decoration-thickness: 2px !important; }

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

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: calc(118.75% * var(--scale)); /* 19px */ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1rem; line-height: 1.55; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
p, ul, ol, dl, address { margin: 0 0 1em; }
address { font-style: normal; }
strong { font-weight: 600; }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .45em; font-weight: 700; font-synthesis: none; }
h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem); line-height: 1.05; letter-spacing: -.015em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); line-height: 1.08; letter-spacing: -.012em; }
h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); line-height: 1.2; letter-spacing: -.005em; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; line-height: 1.25; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
p a, li a, address a, .faq-body a, .prose a { text-decoration: underline; text-underline-offset: .18em; }

:focus { outline: none; }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 8px var(--focus-ink); border-radius: 6px; }
a:focus-visible:not(.btn):not(.help-card):not(.card-link) { background: var(--focus); color: var(--focus-ink); box-shadow: 0 4px 0 var(--focus-ink); outline: none; text-decoration: none; }
main:focus { outline: none; }

::selection { background: color-mix(in srgb, var(--brand) 22%, white); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.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: 1000; background: var(--focus); color: var(--focus-ink); padding: 14px 22px; font-weight: 700; border-radius: 0 0 10px 10px; box-shadow: 0 4px 0 var(--focus-ink); }
.skip-link:focus { top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--tap); padding: .6em 1.45em;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: 0; text-align: center;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-strong); color: var(--brand-ink); box-shadow: 0 8px 20px rgba(0,113,227,.25); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-strong); color: var(--accent-ink); }
.btn-secondary { background: var(--surface); color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand-tint); color: var(--brand-strong); }
.btn-grey { background: var(--line-soft); color: var(--ink); }
.btn-grey:hover { background: #DCDCE1; color: var(--ink); }
.btn-glass { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.28); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-lg { min-height: 64px; padding: .7em 1.75em; font-size: 1.08rem; }
.btn-sm { min-height: 48px; padding: .45em 1.15em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-button { background: none; border: 0; padding: .5em 0; font: inherit; color: var(--brand); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; min-height: 44px; }
.arrow-link { font-weight: 600; display: inline-flex; align-items: center; gap: .3em; min-height: 44px; }
.arrow-link::after { content: "›"; font-size: 1.35em; line-height: 1; transition: transform .2s ease; }
.arrow-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.main-bar { background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.main-bar-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; flex-direction: column; justify-content: center; line-height: 1.05; text-decoration: none !important; color: var(--ink); margin-right: auto; padding: 6px 0; }
.brand:hover { color: var(--ink); }
.brand-name { font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.brand-name b { color: var(--brand); font-weight: 600; }
.brand-sub { font-size: .74rem; color: var(--ink-3); font-weight: 500; letter-spacing: .01em; margin-top: 3px; white-space: nowrap; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; }
.nav-list a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 .62em; color: var(--ink); font-size: .92rem; font-weight: 500; border-radius: 10px; white-space: nowrap; text-decoration: none !important; position: relative; }
.nav-list a:hover { color: var(--brand); }
.nav-list a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.nav-list a[aria-current="page"]::after { content: ""; position: absolute; left: .62em; right: .62em; bottom: 6px; height: 2px; border-radius: 2px; background: var(--brand); }

.header-tools { display: flex; align-items: center; gap: 8px; }
.btn-reading {
  display: inline-flex; align-items: center; gap: .4em; min-height: 48px; padding: 0 .9em;
  background: var(--bg-alt); color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.btn-reading .aa { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.btn-reading:hover, .btn-reading[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 1.05em; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none !important; white-space: nowrap; }
.header-phone:hover { background: var(--brand-strong); color: #fff; }

.menu-toggle { display: none; }

@media (max-width: 1220px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px;
    font: inherit; font-size: .95rem; font-weight: 600; background: var(--ink); color: #fff; border: 0; border-radius: 999px; cursor: pointer;
  }
  .menu-icon { display: grid; gap: 4px; width: 18px; }
  .menu-icon span { height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-l); max-height: calc(100vh - 72px); overflow-y: auto; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 24px; max-width: var(--container); margin: 0 auto; }
  .nav-list a { min-height: 64px; font-size: 1.2rem; font-weight: 600; border-bottom: 1px solid var(--line-soft); border-radius: 0; padding: 0 4px; }
  .nav-list a[aria-current="page"]::after { left: auto; right: 6px; top: 50%; bottom: auto; width: 10px; height: 10px; border-radius: 50%; transform: translateY(-50%); }
  .nav-list .nav-mobile-only { display: block; }
}
@media (min-width: 1221px) { .nav-mobile-only { display: none; } }
@media (max-width: 760px) {
  .header-phone { display: none; }
  .btn-reading .label { display: none; }
  .brand-name { font-size: 1.12rem; }
  .brand-sub { font-size: .68rem; }
  .main-bar-inner { gap: 8px; min-height: 64px; }
  .menu-toggle { padding: 0 14px; }
}
@media (max-width: 360px) { .brand-sub { white-space: normal; } }

.reading-panel { background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-l); padding: 28px 0 20px; max-height: calc(100vh - 72px); overflow-y: auto; }
.reading-title { font-size: 1.4rem; margin-bottom: 18px; }
.reading-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.reading-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.reading-group legend, .legend-like { font-weight: 600; font-size: 1.02rem; margin: 0 0 10px; padding: 0; color: var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button, .toggle {
  min-height: 52px; padding: .4em 1em; font: inherit; font-weight: 600; font-size: .95rem;
  background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: .5em;
}
.seg button:hover, .toggle:hover { border-color: var(--ink-3); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg button[aria-pressed="true"]::before { content: "✓"; }
.toggles { display: grid; gap: 8px; }
.toggle { justify-content: flex-start; width: 100%; border-radius: 14px; }
.toggle-track { width: 46px; height: 28px; border-radius: 99px; background: var(--line); position: relative; flex: none; transition: background .2s; }
.toggle-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.toggle[aria-pressed="true"] .toggle-track { background: var(--accent); }
.toggle[aria-pressed="true"] .toggle-track::after { transform: translateX(18px); }
.reading-listen { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.btn-listen[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }
.reading-close { margin-top: 18px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-alt { background: var(--bg-alt); }
.section-white { background: var(--surface); }
.section-dark { background: var(--dark); color: #F5F5F7; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p:last-child { margin-bottom: 0; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head-row .section-head { margin-bottom: 0; }
.eyebrow { display: block; margin: 0 0 12px; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem); color: var(--ink-2); line-height: 1.5; letter-spacing: -.01em; }
.sub { color: var(--ink-3); font-size: 1.02rem; margin-top: -.2em; }

/* ---------- Photo hero (home) ---------- */
.hero { position: relative; isolation: isolate; min-height: min(86vh, 820px); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; padding: clamp(72px, 10vw, 140px) 0; background: var(--dark); }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.70) 100%); }
.hero-inner { max-width: 980px; }
.hero .eyebrow { color: rgba(255,255,255,.88); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5rem); line-height: 1.03; margin-bottom: .32em; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero h1 .hl { color: var(--highlight); }
.hero .lead { color: rgba(255,255,255,.92); max-width: 36em; margin: 0 auto 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 28px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips li { display: inline-flex; align-items: center; gap: .45em; padding: .4em 1em; border-radius: 999px; font-size: .9rem; font-weight: 500; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-credit { margin: 28px auto 0; font-size: .92rem; color: rgba(255,255,255,.85); }
.hero-credit strong { color: #fff; }
@media (max-width: 560px) { .hero-actions .btn { width: 100%; } .hero { min-height: auto; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--bg-alt); padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); }
.page-hero h1 { max-width: 16em; }
.page-hero .lead { max-width: 40em; }
.page-hero-photo { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); box-shadow: var(--shadow); }
@media (max-width: 900px) { .page-hero-photo { grid-template-columns: 1fr; } .page-hero-photo img { aspect-ratio: 16 / 9; } }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: .4em; font-size: .92rem; color: var(--ink-3); }
.breadcrumb li + li::before { content: "›"; margin-right: .4em; }
.breadcrumb a { color: var(--ink-2); text-decoration: underline; text-underline-offset: .18em; }

/* ---------- "How can we help" cards ---------- */
.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1040px) { .help-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .help-grid { grid-template-columns: 1fr; } }
.help-card {
  display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-l);
  padding: 30px 26px 26px; color: var(--ink); text-decoration: none !important; box-shadow: var(--shadow-s);
  transition: transform .25s ease, box-shadow .3s ease;
}
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); color: var(--ink); }
.help-card:focus-visible { border-radius: var(--radius-l); }
.help-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 8px; }
.help-card:nth-child(2) .help-icon { background: var(--warn-soft); color: var(--warn); }
.help-card:nth-child(4) .help-icon { background: var(--accent-soft); color: var(--accent); }
.help-card h3 { font-size: 1.32rem; margin: 0; }
.help-card p { color: var(--ink-2); margin: 0; flex: 1; }
.help-go { margin-top: 14px; display: inline-flex; align-self: flex-start; align-items: center; min-height: 48px; padding: 0 1.15em; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 600; font-size: .95rem; }
.help-card:hover .help-go { background: var(--brand-strong); }

.not-sure { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--dark); color: #fff; border-radius: var(--radius-l); padding: 30px 34px; }
.not-sure h3 { color: #fff; margin: 0 0 4px; font-size: 1.4rem; }
.not-sure p { margin: 0; color: rgba(255,255,255,.82); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 1040px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-l); padding: 28px 26px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: 18px; font-size: 1.3rem; font-weight: 700; background: var(--ink); color: #fff; }
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--ink-2); margin: 0; }

/* ---------- Product cards ---------- */
.card { background: var(--surface); border-radius: var(--radius-l); border: 1px solid var(--line-soft); box-shadow: var(--shadow-s); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.card-img { padding: 14px 14px 0; }
.card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--bg-alt); }
.card-body { padding: 22px 26px 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body p { color: var(--ink-2); }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.card-kicker { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 1040px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.tag { display: inline-flex; align-self: flex-start; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .32em .85em; border-radius: 99px; background: var(--brand-soft); color: var(--brand-strong); }
.tag-accent { background: var(--accent-soft); color: var(--accent-strong); }
.ticks { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .18em; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231B6E30' d='m9.5 16.2-3.7-3.7L4.4 14l5.1 5.1L20 8.6l-1.4-1.4z'/%3E%3C/svg%3E") center / 18px no-repeat; }
html[data-contrast="dark"] .ticks li::before { background: #FFEB3B; }

/* Model tiles (stairlifts page) */
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 8px; }
.model { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.model img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-alt); }
.model-body { padding: 18px 20px 22px; display: grid; gap: 6px; justify-items: start; }
.model h3, .model h4 { margin: 0; font-size: 1.15rem; font-weight: 600; }
.model p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.model-list { display: grid; gap: 12px; }
.model-list .model { flex-direction: row; align-items: center; padding: 18px 20px; gap: 6px; }
.model-list .model > div { display: grid; gap: 4px; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-reverse > :first-child { order: 0; } }
.split-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); }
.panel { background: var(--surface); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-soft); box-shadow: var(--shadow-s); }
.section-alt .panel { border-color: transparent; }
.panel-dark, .panel-brand { background: var(--dark); color: #F5F5F7; border: 0; }
.panel-dark h2, .panel-dark h3, .panel-brand h2, .panel-brand h3 { color: #fff; }
.panel-dark p, .panel-brand p { color: rgba(255,255,255,.85); }
.panel-dark strong, .panel-brand strong { color: #fff; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 560px) { .stat-row { grid-template-columns: 1fr; } }
.stat { background: var(--bg-alt); border-radius: var(--radius); padding: 20px; }
.stat strong { display: block; font-size: 2.2rem; font-weight: 700; color: var(--ink); line-height: 1.05; letter-spacing: -.02em; }
.section-alt .stat { background: var(--surface); }
.stat span { color: var(--ink-2); font-size: .95rem; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }
.review { margin: 0; background: var(--surface); border-radius: var(--radius-l); padding: 32px; border: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.section-alt .review { border-color: transparent; }
.review-stars { color: #B26B00; font-size: 1.25rem; letter-spacing: .12em; margin-bottom: 12px; }
html[data-contrast="dark"] .review-stars { color: #FFEB3B; }
.review blockquote { margin: 0 0 20px; font-size: 1.32rem; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; flex: 1; }
.review figcaption { font-weight: 600; color: var(--ink-3); }

/* ---------- Postcode checker ---------- */
.checker { display: grid; grid-template-columns: 1fr auto; gap: 12px; max-width: 560px; }
.checker label { grid-column: 1 / -1; font-weight: 600; font-size: 1.1rem; }
.checker-result { margin-top: 18px; padding: 18px 22px; border-radius: var(--radius); font-weight: 600; max-width: 560px; }
.checker-result:empty { display: none; }
.checker-result.ok { background: var(--ok-soft); color: var(--ok); border: 2px solid var(--ok); }
.checker-result.maybe { background: var(--warn-soft); color: var(--warn); border: 2px solid #E0942A; }
.checker-result a { color: inherit; }
.towns { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.towns li { background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: .45em 1.1em; font-weight: 500; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 28px; }
.field { display: grid; gap: 8px; }
.field > label, .field legend, .field-label { font-weight: 600; font-size: 1.1rem; color: var(--ink); padding: 0; }
.hint { color: var(--ink-2); font-size: .95rem; margin: -2px 0 2px; }
.input, .select, .textarea {
  width: 100%; min-height: var(--tap); padding: .6em .95em; font: inherit; font-size: 1.05rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 14px;
}
.input:hover, .textarea:hover { border-color: var(--ink-2); }
.textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 4px solid var(--focus); outline-offset: 0; box-shadow: inset 0 0 0 2px var(--focus-ink); border-color: var(--focus-ink); }
.input-postcode { max-width: 12ch; text-transform: uppercase; }
.input-phone { max-width: 20ch; }
.field-error .input, .field-error .textarea { border-color: var(--error); border-width: 3px; }
.error-message { color: var(--error); font-weight: 600; display: none; margin: 0; }
.field-error .error-message { display: block; }
.field-error { border-left: 5px solid var(--error); padding-left: 16px; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 12px; min-height: 62px; padding: .65em 1em; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); font-weight: 600; cursor: pointer; }
.choice span::before { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; background: var(--surface); }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-tint); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:checked + span::before { border: 8px solid var(--brand); }
.choice input:focus-visible + span { outline: 4px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 8px var(--focus-ink); }
.error-summary { border: 4px solid var(--error); padding: 22px 24px; border-radius: 14px; background: var(--surface); margin-bottom: 24px; }
.error-summary h2 { font-size: 1.3rem; margin: 0 0 10px; }
.error-summary ul { margin: 0; padding-left: 1.2em; }
.error-summary a { color: var(--error); font-weight: 600; }
.form-success { border: 3px solid var(--ok); background: var(--ok-soft); border-radius: var(--radius); padding: 28px 30px; margin-bottom: 24px; }
.form-success h2 { font-size: 1.5rem; color: var(--ok); }

/* ---------- Wizard (finder + troubleshooter) ---------- */
.wizard { background: var(--surface); border-radius: var(--radius-l); box-shadow: var(--shadow-l); border: 1px solid var(--line-soft); padding: clamp(24px, 4vw, 52px); }
.wizard-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.wizard-progress-text { font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.wizard-bar { flex: 1; height: 8px; background: var(--line-soft); border-radius: 99px; overflow: hidden; }
.wizard-bar span { display: block; height: 100%; background: var(--brand); border-radius: 99px; transition: width .4s ease; }
.wizard-step h2 { font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.4rem); }
.wizard-step:focus { outline: none; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0 8px; }
@media (max-width: 640px) { .option-grid { grid-template-columns: 1fr; } }
.option-card {
  display: flex; align-items: center; gap: 18px; width: 100%; text-align: left; font: inherit; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; padding: 18px 20px; min-height: 96px; cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}
.option-card:hover { border-color: var(--brand); background: var(--brand-tint); transform: translateY(-2px); }
.option-card[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); box-shadow: inset 0 0 0 2px var(--brand); }
.option-card .opt-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--bg-alt); color: var(--brand); display: grid; place-items: center; flex: none; }
.option-card strong { display: block; font-size: 1.12rem; font-weight: 600; }
.option-card small { display: block; color: var(--ink-2); font-size: .95rem; margin-top: 2px; }
.wizard-nav { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.result-card { border-radius: var(--radius-l); background: var(--bg-alt); padding: clamp(24px, 4vw, 40px); }
.result-card h3 { font-size: 1.6rem; font-weight: 700; }
.result-summary { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; }
.result-summary li { color: var(--ink-2); }
.result-summary strong { color: var(--ink); }
.ts-step { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.ts-num { width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.6rem; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 560px) { .ts-step { grid-template-columns: 1fr; } }
.notice { display: flex; gap: 16px; align-items: flex-start; background: var(--warn-soft); border-radius: var(--radius); padding: 18px 22px; }
.notice p { margin: 0; }
.notice svg { flex: none; color: var(--warn); margin-top: 2px; }
.notice-info { background: var(--brand-soft); }
.notice-info svg { color: var(--brand); }
.notice-danger { background: var(--error-soft); border-left: 6px solid var(--error); }
.notice-danger svg { color: var(--error); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.section-alt .faq details { border-color: transparent; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 70px 22px 24px; font-weight: 600; font-size: 1.12rem; position: relative; min-height: 72px; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); color: var(--ink); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; background: var(--ink); color: #fff; }
.faq summary:hover { background: var(--bg-alt); }
.faq summary:focus-visible { border-radius: 0; outline-offset: -4px; box-shadow: none; }
.faq-body { padding: 0 24px 22px; color: var(--ink-2); }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--dark); color: #fff; border-radius: var(--radius-l); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band h2 .hl { color: var(--highlight); }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; font-size: 1.1rem; }
.cta-actions { display: grid; gap: 10px; }
.cta-phone { display: block; color: #fff; font-size: clamp(2rem, 1.3rem + 2vw, 2.8rem); font-weight: 700; letter-spacing: -.01em; text-decoration: none !important; }
.cta-phone:hover { color: var(--highlight); }
.cta-hours { font-size: .95rem !important; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- MCSW band + footer ---------- */
.mcsw-band { background: var(--bg-alt); padding: 40px 0; margin-top: var(--section); border-top: 1px solid var(--line-soft); }
.mcsw-band-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.mcsw-band p { margin: 0; font-size: 1.05rem; color: var(--ink-2); }
.mcsw-band strong { color: var(--ink); }
@media (max-width: 860px) { .mcsw-band-inner { grid-template-columns: 1fr; } .mcsw-band img { width: 72px; } }

.site-footer { background: var(--bg-alt); color: var(--ink-2); padding: 48px 0 120px; font-size: .95rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--brand); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-title { font-size: .95rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; letter-spacing: 0; }
.brand-footer { margin-bottom: 14px; }
.footer-phone { font-size: 1.5rem; font-weight: 700; text-decoration: none !important; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-links a { display: inline-flex; min-height: 40px; align-items: center; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; font-size: .88rem; color: var(--ink-3); }
.footer-legal ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal p { margin: 0; }
.footer-family { padding-top: 14px; font-size: .82rem; color: var(--ink-3); }
.footer-family p { margin: 0; }
.footer-family a { color: inherit; }

.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-top: 1px solid rgba(0,0,0,.1);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border-radius: 999px; font-weight: 600; text-decoration: none !important; font-size: 1rem; }
  .mobile-bar-call { background: var(--brand); color: var(--brand-ink); }
  .mobile-bar-book { background: var(--ink); color: #fff; }
  html[data-size="xlarge"] .mobile-bar { grid-template-columns: 1fr; }
  html[data-contrast="dark"] .mobile-bar { background: #000; }
  html[data-contrast="dark"] .mobile-bar-book { background: #FFEB3B; color: #000; }
}

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.5em; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }

.info-list { display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; }
.info-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.info-list .i { width: 52px; height: 52px; border-radius: 50%; background: var(--bg-alt); color: var(--brand); display: grid; place-items: center; }
.info-list strong { display: block; font-size: 1.1rem; }
.info-list span { color: var(--ink-2); }

.contact-layout { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
@media (max-width: 960px) { .contact-aside { position: static; } }
.big-phone { display: block; font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); font-weight: 700; letter-spacing: -.01em; color: var(--brand); line-height: 1.1; margin: 6px 0 10px; text-decoration: none !important; }

/* ---------- Gentle entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js:not([data-motion="reduce"]) .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  html.js:not([data-motion="reduce"]) .reveal.is-visible { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .mcsw-band .btn, .reading-panel, .hero-bg, .hero-overlay { display: none !important; }
  .hero, .hero * { color: #000 !important; background: none !important; }
  body { background: #fff; font-size: 12pt; }
}
