/* ==========================================================================
   Littleton Pro Roofing — design system
   --------------------------------------------------------------------------
   Palette: charcoal + copper. Deliberately away from the blue/red that every
   Denver roofing site uses. Copper reads as weathered metal and Colorado
   sandstone, and it survives on both light and dark surfaces.

   Contrast (verified against #FFFFFF):
     --copper        #C2551E   4.55:1  — large text, buttons, UI
     --copper-ink    #9E4315   6.43:1  — body copy links
     --ink-muted     #5A6472   6.00:1  — secondary text
     --ink-body      #2B3038  12.6:1   — body copy

   Sections in order:
     1.  Tokens
     2.  Reset
     3.  Layout primitives
     4.  Typography
     5.  Buttons
     6.  Top bar
     7.  Header + mobile menu
     8.  Mobile dock
     9.  Breadcrumbs
     10. Hero
     11. Sections + cards
     12. Two-column + sidebar
     13. Prose
     14. Specs, tables, callouts
     15. FAQ accordion
     16. CTA block
     17. What-to-expect
     18. Pricing
     19. Footer
     20. Motion + reveal
     21. Responsive
     22. Print
   ========================================================================== */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
  /* Ink */
  --ink:            #14171C;
  --ink-2:          #1D222A;
  --ink-3:          #2B3038;
  --ink-body:       #2B3038;
  --ink-muted:      #5A6472;
  --ink-faint:      #8A93A1;

  /* Copper */
  --copper:         #C2551E;
  --copper-ink:     #9E4315;
  --copper-hover:   #A8471A;
  --copper-soft:    #FBF0E9;
  --copper-line:    #EBD2C2;

  /* Surface */
  --surface:        #FFFFFF;
  --surface-2:      #F7F6F4;
  --surface-3:      #EFEDE9;
  --surface-dark:   #14171C;
  --surface-dark-2: #1D222A;

  /* Line */
  --line:           #E2E0DB;
  --line-strong:    #CFCCC5;
  --line-dark:      #2F353F;

  /* Accent for verified/code callouts */
  --verify:         #1F5F4A;
  --verify-soft:    #EBF4F0;
  --verify-line:    #C5DED4;

  /* Warning for stop-work / permit alerts */
  --warn:           #8A5A0B;
  --warn-soft:      #FDF5E4;
  --warn-line:      #EBD9AE;

  /* Type */
  --font-display: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0:  clamp(1rem, 0.96rem + 0.19vw, 1.09rem);
  --step-1:  clamp(1.19rem, 1.12rem + 0.33vw, 1.38rem);
  --step-2:  clamp(1.41rem, 1.30rem + 0.55vw, 1.74rem);
  --step-3:  clamp(1.68rem, 1.50rem + 0.88vw, 2.20rem);
  --step-4:  clamp(2.00rem, 1.73rem + 1.35vw, 2.78rem);
  --step-5:  clamp(2.37rem, 1.97rem + 2.00vw, 3.50rem);

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Shape */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(20, 23, 28, 0.06), 0 1px 3px rgba(20, 23, 28, 0.08);
  --shadow:    0 2px 4px rgba(20, 23, 28, 0.05), 0 8px 20px rgba(20, 23, 28, 0.08);
  --shadow-lg: 0 4px 8px rgba(20, 23, 28, 0.05), 0 18px 44px rgba(20, 23, 28, 0.12);

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --gutter: 1rem;
  --header-h: 72px;
  --dock-h: 0px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   2. Reset
   ========================================================================== */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--dock-h);
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
}

img { height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

ul, ol { padding: 0; list-style: none; }

a { color: var(--copper-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--copper-hover); }

address { font-style: normal; }

/* Focus — visible on every interactive element */
:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 2px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

.sr-only {
  position: absolute;
  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;
  top: -100%;
  left: var(--sp-4);
  z-index: 200;
  padding: var(--sp-3) var(--sp-5);
  background: var(--copper);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus {
  top: 0;
  color: #fff;
}

.icon { flex: none; }

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

.section       { padding-block: var(--sp-8); }
.section--tight{ padding-block: var(--sp-7); }
.section--alt  { background: var(--surface-2); }
.section--dark { background: var(--surface-dark); color: #E8E9EC; }
.section--dark h2, .section--dark h3 { color: #fff; }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* ==========================================================================
   4. Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); }

p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-ink);
  margin-bottom: var(--sp-3);
}

.section--dark .eyebrow { color: #E8A57C; }

.section-head {
  max-width: 62ch;
  margin-bottom: var(--sp-6);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head__title { margin-bottom: var(--sp-3); }
.section-head__lede {
  font-size: var(--step-1);
  color: var(--ink-muted);
  line-height: 1.55;
}
.section--dark .section-head__lede { color: #B6BCC7; }

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;               /* >= 44px tap target */
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
              color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}
.btn--primary:hover {
  background: var(--copper-hover);
  border-color: var(--copper-hover);
  color: #fff;
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn--dark:hover { background: var(--ink-3); border-color: var(--ink-3); color: #fff; }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--surface-2);
  color: var(--ink);
}

.section--dark .btn--ghost,
.page-hero--home .btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.section--dark .btn--ghost:hover,
.page-hero--home .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn--lg  { min-height: 54px; padding: 0.9rem 1.75rem; font-size: var(--step-1); }
.btn--xl  { min-height: 62px; padding: 1rem 2rem; font-size: var(--step-2); }
.btn--block { display: flex; width: 100%; }

/* ==========================================================================
   6. Top bar
   ========================================================================== */

.top-bar {
  background: var(--ink);
  color: #C9CED7;
  font-size: var(--step--1);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 44px;
  padding-block: var(--sp-1);
}

.top-bar__message {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.top-bar__message .icon { color: var(--copper); }

.top-bar__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.top-bar__badge {
  padding: 0.15rem 0.6rem;
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  color: #E8E9EC;
  font-weight: 600;
  white-space: nowrap;
}

.top-bar__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;          /* tap target */
  padding-inline: var(--sp-1);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.top-bar__phone:hover { color: #F0A87C; }
.top-bar__phone .icon { color: var(--copper); }

/* ==========================================================================
   7. Header + mobile menu
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

/* Brand lockup — SVG mark + HTML wordmark.
   The wordmark is text, so it inherits colour, stays selectable, and does
   not depend on a webfont loading inside an <img>. */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;          /* tap target */
  flex: none;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark { width: 38px; height: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: currentColor;
}
.brand__word {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper-ink);
  margin-top: 3px;
}
.brand--light { color: #fff; }
.brand--light .brand__word { color: #E8A57C; }

.header__nav { display: none; }

.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.header__nav-link {
  display: block;
  padding: 0.5rem 0.7rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-3);
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.header__nav-link:hover { color: var(--copper-ink); background: var(--surface-2); }
.header__nav-link[aria-current="page"] {
  color: var(--copper-ink);
  box-shadow: inset 0 -2px 0 var(--copper);
}
.header__nav-link--highlight {
  color: var(--copper-ink);
  background: var(--copper-soft);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex: none;
}

.header__cta { display: none; }

.header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0 11px;
  border-radius: var(--radius-sm);
}
.header__toggle-bar {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.18s var(--ease);
}
.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(2) { opacity: 0; }
.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  padding-top: calc(var(--header-h) + 40px);
  background: var(--surface);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: var(--sp-5) var(--gutter) var(--sp-8);
}

.mobile-menu__list { display: flex; flex-direction: column; }

.mobile-menu__link {
  display: block;
  padding: var(--sp-4) 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__link[aria-current="page"] { color: var(--copper-ink); }
.mobile-menu__link--highlight { color: var(--copper-ink); }

.mobile-menu__footer { display: flex; flex-direction: column; gap: var(--sp-3); }

.mobile-menu__note {
  font-size: var(--step--1);
  color: var(--ink-muted);
  text-align: center;
}

body.menu-open { overflow: hidden; }

/* ==========================================================================
   8. Mobile dock
   ========================================================================== */

.mobile-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 98;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(20, 23, 28, 0.1);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-dock__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 58px;             /* >= 44px tap target */
  padding: var(--sp-2);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-3);
  text-decoration: none;
  border-right: 1px solid var(--line);
}
.mobile-dock__item:last-child { border-right: 0; }
.mobile-dock__item:hover { color: var(--copper-ink); background: var(--surface-2); }

.mobile-dock__item--call {
  background: var(--copper);
  color: #fff;
  border-right-color: var(--copper-hover);
}
.mobile-dock__item--call:hover { background: var(--copper-hover); color: #fff; }

/* ==========================================================================
   9. Breadcrumbs
   ========================================================================== */

.breadcrumbs {
  padding-block: var(--sp-4);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: var(--step--1);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-1);
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  min-height: 44px;
  color: var(--ink-muted);
}
.breadcrumbs__item a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 2px;
  color: var(--ink-muted);
  text-decoration: none;
}
.breadcrumbs__item a:hover { color: var(--copper-ink); text-decoration: underline; }
.breadcrumbs__item [aria-current="page"] { color: var(--ink); font-weight: 600; }
.breadcrumbs__sep { color: var(--ink-faint); }

/* ==========================================================================
   10. Hero
   ========================================================================== */

.page-hero {
  position: relative;
  padding-block: var(--sp-7) var(--sp-7);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.page-hero__title { margin-bottom: var(--sp-4); }

.page-hero__lede {
  max-width: 62ch;
  font-size: var(--step-1);
  color: var(--ink-muted);
  line-height: 1.55;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.page-hero__grid { display: grid; gap: var(--sp-6); }

.page-hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Home hero — dark, with a roof-pitch motif */
.page-hero--home {
  background: var(--surface-dark);
  color: #D9DCE2;
  border-bottom: 0;
  overflow: hidden;
}
.page-hero--home::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 56px;
  background: var(--surface);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.page-hero--home h1 { color: #fff; }
.page-hero--home .page-hero__lede { color: #B6BCC7; }

.page-hero--post .post__meta,
.page-hero--area .fact-strip { margin-top: var(--sp-5); }

.post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: var(--step--1);
  color: var(--ink-muted);
}
.post__meta time { font-weight: 600; color: var(--ink-3); }

/* Home hero content */
.hero__inner { max-width: 44rem; position: relative; z-index: 1; }

.hero__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-dark);
}
.hero__specs dt {
  font-size: var(--step--1);
  color: #8A93A1;
  margin-bottom: 2px;
}
.hero__specs dd {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

/* Two-column intro: heading left, prose right */
.intro-grid { display: grid; gap: var(--sp-5); }
.intro-grid > :first-child { align-self: start; }

/* Cards on dark sections */
.card--dark {
  background: var(--surface-dark-2);
  border-color: var(--line-dark);
}
.card--dark .card__title { color: #fff; }
.card--dark .card__text { color: #A8B0BD; }

/* Brand pill block */
.brand-block {
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}
.brand-block__title {
  font-size: var(--step-0);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: var(--sp-4);
}
.brand-block__note {
  margin-top: var(--sp-4);
  font-size: 0.92rem;
  color: var(--ink-muted);
}

/* Fact strip — area pages. Renders only from verified data. */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.fact-strip__item dt {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.fact-strip__item dd {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
  color: var(--ink);
}

/* ==========================================================================
   11. Sections + cards
   ========================================================================== */

.card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease),
              transform 0.18s var(--ease);
}

a.card:hover {
  border-color: var(--copper-line);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--copper-soft);
  color: var(--copper-ink);
  border-radius: var(--radius);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--ink);
}

.card__text { color: var(--ink-muted); font-size: 0.97rem; }

.card__link {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--copper-ink);
}

/* Numbered process steps */
.steps { counter-reset: step; display: grid; gap: var(--sp-5); }

.step {
  position: relative;
  padding-left: 3.5rem;
}
.step__num {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: var(--radius);
}
.step__title { margin-bottom: var(--sp-2); }
.step p { color: var(--ink-muted); }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;          /* tap target */
  padding: 0.4rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-3);
  text-decoration: none;
}
.pill:hover { border-color: var(--copper); color: var(--copper-ink); }

.section--dark .pill {
  background: var(--surface-dark-2);
  border-color: var(--line-dark);
  color: #D9DCE2;
}
.section--dark .pill:hover { border-color: var(--copper); color: #F0A87C; }

/* Trust strip — every item is conditionally rendered upstream */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  padding: var(--sp-5) 0;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-3);
}
.trust-strip__item svg { color: var(--copper); }

/* Related cards */
.related { margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid var(--line); }
.related__title { margin-bottom: var(--sp-5); font-size: var(--step-2); }
.related__list { display: grid; gap: var(--sp-4); }

.related__card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius);
  text-decoration: none;
}
.related__card:hover { background: var(--copper-soft); }
.related__card-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}
.related__card-text { font-size: 0.92rem; color: var(--ink-muted); }
.related__more { margin-top: var(--sp-4); font-size: 0.95rem; color: var(--ink-muted); }

/* ==========================================================================
   12. Two-column + sidebar
   ========================================================================== */

.layout-two-col { padding-block: var(--sp-8); }
.layout-two-col__grid { display: grid; gap: var(--sp-7); }

.sidebar { display: flex; flex-direction: column; gap: var(--sp-5); }

.side-card {
  padding: var(--sp-5);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.side-card--cta {
  background: var(--ink);
  border-color: var(--ink);
  color: #D9DCE2;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.side-card--cta .side-card__title { color: #fff; }
.side-card--cta .side-card__text { color: #B6BCC7; }
.side-card--cta .btn--ghost { border-color: rgba(255,255,255,0.3); color: #fff; }
.side-card--cta .btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.side-card--code { background: var(--copper-soft); border-color: var(--copper-line); }

.side-card__title {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: var(--sp-3);
  color: var(--ink);
}
.side-card__text { font-size: 0.93rem; color: var(--ink-muted); }

.side-card__badges {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
  font-size: 0.85rem;
  color: #B6BCC7;
}
.side-card__badges li { display: flex; align-items: center; gap: var(--sp-2); }
.side-card__badges li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  background: var(--copper);
  border-radius: 50%;
}

.side-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: var(--sp-1);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav__link {
  display: flex;
  align-items: center;
  min-height: 44px;          /* tap target */
  padding: 0.5rem 0.75rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink-3);
  text-decoration: none;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
}
.side-nav__link:hover { background: var(--surface-3); color: var(--copper-ink); }
.side-nav__link.is-active {
  background: var(--surface);
  border-left-color: var(--copper);
  color: var(--copper-ink);
}

.side-pills { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.side-spec { display: flex; flex-direction: column; gap: var(--sp-3); }
.side-spec > div {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px dashed var(--copper-line);
}
.side-spec > div:last-child { border-bottom: 0; padding-bottom: 0; }
.side-spec dt { font-size: 0.85rem; color: var(--ink-muted); }
.side-spec dd {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}

/* ==========================================================================
   13. Prose
   ========================================================================== */

.prose { max-width: 70ch; }
.layout-two-col .prose { max-width: none; }

.prose > * + * { margin-top: var(--sp-4); }

.prose h2 {
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-3);
  font-size: var(--step-3);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.prose h3 {
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-2);
  font-size: var(--step-1);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.prose h4 {
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-2);
  font-size: var(--step-0);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }

.prose p { color: var(--ink-body); }

.prose ul, .prose ol {
  padding-left: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li {
  position: relative;
  padding-left: 1.6rem;
}
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.62em;
  width: 7px; height: 7px;
  background: var(--copper);
  border-radius: 1px;
  transform: rotate(45deg);
}
.prose ol { list-style: decimal; }
.prose ol > li::marker { font-family: var(--font-display); font-weight: 700; color: var(--copper-ink); }

.prose strong { font-weight: 700; color: var(--ink); }

.prose blockquote {
  padding: var(--sp-4) var(--sp-5);
  border-left: 3px solid var(--copper);
  background: var(--surface-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--step-1);
  color: var(--ink-3);
}

.prose figure { margin-block: var(--sp-6); }
.prose figure img { border-radius: var(--radius-lg); width: 100%; }
.prose figcaption {
  margin-top: var(--sp-2);
  font-size: var(--step--1);
  color: var(--ink-muted);
  text-align: center;
}

.prose hr { margin-block: var(--sp-7); border: 0; border-top: 1px solid var(--line); }

.page-media { padding-top: var(--sp-7); }
.page-media .post__figure { margin-bottom: 0; }

.post__figure { margin-bottom: var(--sp-6); }
.post__figure img { width: 100%; border-radius: var(--radius-lg); }
.post__figure figcaption {
  margin-top: var(--sp-2);
  font-size: var(--step--1);
  color: var(--ink-muted);
}

/* ==========================================================================
   14. Specs, tables, callouts
   ========================================================================== */

.table-wrap { overflow-x: auto; margin-block: var(--sp-5); }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th, td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  background: var(--surface-2);
  white-space: nowrap;
}
tbody tr:hover { background: var(--surface-2); }

/* Answer-engine block: a direct, liftable answer under a question heading */
.answer {
  padding: var(--sp-4) var(--sp-5);
  margin-block: var(--sp-4);
  background: var(--surface-2);
  border-left: 3px solid var(--ink);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink);
}
.answer strong { color: var(--ink); }

/* Verified code callout — always carries its source */
.callout {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-5);
  margin-block: var(--sp-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.callout__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.callout__source { font-size: 0.83rem; color: var(--ink-muted); }

.callout--code {
  background: var(--verify-soft);
  border-color: var(--verify-line);
}
.callout--code .callout__label { color: var(--verify); }

.callout--warn {
  background: var(--warn-soft);
  border-color: var(--warn-line);
}
.callout--warn .callout__label { color: var(--warn); }

/* Table of contents — long reference pages */
.toc {
  padding: var(--sp-5);
  margin-block: var(--sp-5);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.toc__title {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: var(--sp-3);
}
.toc__list {
  display: grid;
  gap: 0;
  counter-reset: toc;
  list-style: none;
  padding: 0;
}
.toc__list li { counter-increment: toc; }
.toc__list a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 44px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-3);
}
.toc__list a::before {
  content: counter(toc);
  flex: none;
  width: 22px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--copper-ink);
}
.toc__list a:hover { color: var(--copper-ink); }

/* Inline SVG diagrams */
.diagram {
  margin-block: var(--sp-6);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.diagram__svg { width: 100%; height: auto; display: block; }
.diagram figcaption {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.diagram figcaption strong { color: var(--ink); }

/* Spec list — the numbers that competitors never publish */
.spec-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--sp-4);
  margin-block: var(--sp-5);
  padding: 0;
}
.spec-list > div {
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  border-radius: var(--radius);
}
.spec-list dt {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: var(--sp-1);
}
.spec-list dd {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

/* ==========================================================================
   15. FAQ accordion
   ========================================================================== */

.faq { padding-block: var(--sp-8); background: var(--surface-2); }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.18s var(--ease);
}
.faq__item:has(.faq__question[aria-expanded="true"]) { border-color: var(--copper-line); }

.faq__question-wrap { margin: 0; font-size: inherit; }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  min-height: 56px;
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  text-align: left;
}
.faq__question:hover { color: var(--copper-ink); background: var(--surface-2); }

.faq__chevron {
  flex: none;
  color: var(--copper);
  transition: transform 0.22s var(--ease);
}
.faq__question[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); }

/* No-JS default: answers visible. JS adds .faq-ready to collapse them. */
.faq__answer-inner {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--ink-muted);
}
.faq__answer-inner > * + * { margin-top: var(--sp-3); }
.faq__answer-inner a { font-weight: 600; }

.faq__source { font-size: 0.82rem; color: var(--ink-faint); }

.faq-ready .faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s var(--ease);
}
.faq-ready .faq__answer > .faq__answer-inner { overflow: hidden; }
.faq-ready .faq__answer.is-open { grid-template-rows: 1fr; }

/* ==========================================================================
   16. CTA block
   ========================================================================== */

.cta-call {
  padding-block: var(--sp-8);
  background: var(--surface-dark);
  color: #D9DCE2;
}

.cta-call__inner { display: grid; gap: var(--sp-6); align-items: center; }

.cta-call__heading { color: #fff; margin-bottom: var(--sp-3); font-size: var(--step-3); }
.cta-call__text { color: #B6BCC7; max-width: 56ch; }

.cta-call__points {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}
.cta-call__points li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.95rem;
  color: #C9CED7;
}
.cta-call__points svg { flex: none; margin-top: 0.3em; color: var(--copper); }

.cta-call__action {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  background: var(--surface-dark-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
}
.cta-call__action .btn--ghost { border-color: rgba(255,255,255,0.3); color: #fff; }
.cta-call__action .btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.cta-call__meta {
  font-size: var(--step--1);
  color: var(--ink-faint);
  text-align: center;
}

/* ==========================================================================
   17. What-to-expect
   ========================================================================== */

.expect { padding-block: var(--sp-8); }

.expect__steps {
  display: grid;
  gap: var(--sp-5);
  counter-reset: expect;
}

.expect__step {
  position: relative;
  padding: var(--sp-5);
  padding-top: var(--sp-6);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.expect__num {
  position: absolute;
  top: calc(-1 * var(--sp-3));
  left: var(--sp-5);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--copper);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.expect__title { margin-bottom: var(--sp-2); font-size: var(--step-1); }
.expect__step p { color: var(--ink-muted); font-size: 0.97rem; }

.expect__footnote {
  margin-top: var(--sp-5);
  font-size: var(--step--1);
  color: var(--ink-faint);
}

/* ==========================================================================
   18. Pricing
   ========================================================================== */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-5);
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.price-card--feature { border-color: var(--copper); box-shadow: var(--shadow); }

.price-card__label {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--ink);
}
.price-card__range {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 800;
  color: var(--copper-ink);
  line-height: 1.1;
}
.price-card__unit { font-size: var(--step--1); color: var(--ink-muted); }
.price-card__notes {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.price-card__notes li { padding-left: 1.1rem; position: relative; }
.price-card__notes li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 5px; height: 5px;
  background: var(--copper);
  border-radius: 50%;
}

.price-disclaimer {
  padding: var(--sp-5);
  margin-top: var(--sp-6);
  background: var(--warn-soft);
  border: 1px solid var(--warn-line);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  color: var(--ink-3);
}

/* --- Cost calculator ----------------------------------------------------- */

.calc {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: var(--sp-6);
  margin-block: var(--sp-5);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.calc__row { display: flex; flex-direction: column; gap: var(--sp-2); }

.calc__row label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.calc input[type="number"],
.calc select {
  min-height: 48px;
  padding: 0.6rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: var(--step-0);
  color: var(--ink);
}
.calc input[type="number"]:focus-visible,
.calc select:focus-visible { border-color: var(--copper); }

.calc__row--check {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
}
.calc__row--check input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--copper);
  flex: none;
}
.calc__row--check label { flex: 1; min-width: 0; }
.calc__row--check .calc__hint { flex-basis: 100%; }

.calc__hint { font-size: 0.85rem; color: var(--ink-muted); }

.calc__out {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-5);
  background: var(--ink);
  border-radius: var(--radius);
  text-align: center;
}
.calc__out[hidden] { display: none; }
.calc__out-label {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8A93A1;
}
.calc__out-range {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.calc__out-note { font-size: 0.82rem; color: #8A93A1; }

/* --- Contact page -------------------------------------------------------- */

.contact-grid { display: grid; gap: var(--sp-7); }

.contact-primary {
  padding: var(--sp-6);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  align-self: start;
}

.contact-primary__label {
  font-size: var(--step--1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: var(--sp-2);
}

.contact-primary__number {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
}
.contact-primary__number:hover { color: var(--copper-ink); }

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.contact-note { font-size: 0.88rem; color: var(--ink-muted); }

.contact-secondary { display: flex; flex-direction: column; gap: var(--sp-6); }

.contact-block + .contact-block,
.contact-primary .contact-block { margin-top: var(--sp-5); }

.contact-block h3 {
  font-size: var(--step-1);
  margin-bottom: var(--sp-3);
}
.contact-block p { color: var(--ink-muted); }
.contact-block p + p { margin-top: var(--sp-2); }

.prose-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-block: var(--sp-3);
  color: var(--ink-muted);
}
.prose-list li { position: relative; padding-left: 1.5rem; }
.prose-list li::before {
  content: "";
  position: absolute;
  left: 0.25rem; top: 0.62em;
  width: 7px; height: 7px;
  background: var(--copper);
  border-radius: 1px;
  transform: rotate(45deg);
}

.map-embed {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  line-height: 0;
  background: var(--surface-3);
}
.map-embed iframe { display: block; width: 100%; }

/* --- Blog index ---------------------------------------------------------- */

.post-list { display: grid; gap: var(--sp-5); }

.post-card {
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.18s var(--ease), transform 0.18s var(--ease);
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  font-size: var(--step--1);
  color: var(--ink-muted);
  margin-bottom: var(--sp-2);
}

.post-card__title { font-size: var(--step-2); margin-bottom: var(--sp-3); }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--copper-ink); }

.post-card__text { color: var(--ink-muted); margin-bottom: var(--sp-3); }

.post-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}

/* ==========================================================================
   19. Footer
   ========================================================================== */

.footer {
  padding-block: var(--sp-8) var(--sp-6);
  background: var(--surface-dark);
  color: #A8B0BD;
  font-size: 0.93rem;
}

.footer__grid { display: grid; gap: var(--sp-6); }

.footer__logo { height: 38px; width: auto; }
.footer__tagline { margin-top: var(--sp-3); color: #A8B0BD; max-width: 38ch; }

.footer__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 48px;
  margin-top: var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
.footer__phone:hover { color: #F0A87C; }
.footer__phone .icon { color: var(--copper); }

.footer__address { margin-top: var(--sp-3); color: #A8B0BD; }
.footer__hours { margin-top: var(--sp-3); display: flex; flex-direction: column; gap: 2px; }
.footer__hours strong { color: #D9DCE2; }

.footer__gbp {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: var(--sp-2);
  color: #F0A87C;
  font-weight: 600;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: var(--sp-4);
}
.footer__heading--spaced { margin-top: var(--sp-6); }

/* Footer links are dense lists, so the target comes from padding rather than
   from the gap — 44px minimum, same rule as every other control. */
.footer__list { display: flex; flex-direction: column; }
.footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #A8B0BD;
  text-decoration: none;
}
.footer__list a:hover { color: #fff; text-decoration: underline; }

.footer__social { display: flex; gap: var(--sp-4); margin-top: var(--sp-4); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-dark);
}

.footer__copyright { color: #8A93A1; font-size: 0.88rem; }

.footer__legal { display: flex; flex-wrap: wrap; gap: 0 var(--sp-4); font-size: 0.88rem; }
.footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #8A93A1;
  text-decoration: none;
}
.footer__legal a:hover { color: #fff; text-decoration: underline; }

.footer__disclaimer {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-dark);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #737C8A;
}
.footer__disclaimer a { color: #A8B0BD; }

/* ==========================================================================
   20. Motion + reveal
   ========================================================================== */

/* No-JS safe: content is visible by default. JS adds .reveal-ready first. */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

/* ==========================================================================
   21. Responsive
   ========================================================================== */

@media (min-width: 560px) {
  :root { --gutter: 1.5rem; }
  .related__list { grid-template-columns: repeat(2, 1fr); }
  .expect__steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  :root { --gutter: 2rem; }

  .header__cta { display: inline-flex; }
  .cta-call__inner { grid-template-columns: 1.4fr 1fr; }
  .page-hero { padding-block: var(--sp-8); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__specs { grid-template-columns: repeat(4, 1fr); }
  .intro-grid { grid-template-columns: 1fr 1.3fr; gap: var(--sp-7); }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: var(--sp-8); }
}

@media (min-width: 1024px) {
  :root { --dock-h: 0px; }

  .header__nav { display: block; }
  .header__toggle { display: none; }
  .mobile-dock { display: none; }
  .mobile-menu { display: none !important; }

  .layout-two-col__grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: var(--sp-8);
  }

  .sidebar { position: sticky; top: calc(var(--header-h) + var(--sp-5)); align-self: start; }

  .page-hero__grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .related__list { grid-template-columns: repeat(3, 1fr); }
  .expect__steps { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile dock occupies space only where it is shown */
@media (max-width: 1023px) {
  :root { --dock-h: 58px; }
}

/* ==========================================================================
   22. Print
   ========================================================================== */

@media print {
  .top-bar, .header, .mobile-menu, .mobile-dock, .sidebar,
  .cta-call, .breadcrumbs, .skip-link, .related { display: none !important; }

  body { padding: 0; color: #000; background: #fff; font-size: 11pt; }
  .container { max-width: none; padding: 0; }
  .layout-two-col__grid { display: block; }
  .prose { max-width: none; }

  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  a[href^="tel:"]::after, a[href^="sms:"]::after { content: ""; }

  .faq__answer { display: block !important; grid-template-rows: none !important; }
  .faq__answer-inner { overflow: visible !important; }

  h1, h2, h3 { break-after: avoid; }
  .callout, .spec-list, table { break-inside: avoid; }
}
