/* =========================================================
   SolarMOT — Design System
   "An MOT for your solar panels."
   ========================================================= */

:root {
  /* ---- Deep base: forest green → teal, for hero/footer/dark bands ---- */
  --deep-950: #06201A;
  --deep-900: #082A22;
  --deep-800: #0B3A2E;
  --deep-700: #0F4A3A;
  --teal-900: #072C38;
  --teal-800: #0B3D4E;

  /* ---- Primary action green ---- */
  --green-700: #0E7D53;
  --green-600: #12A06A;
  --green-500: #1CBB7F;
  --green-200: #A8E6C9;
  --green-100: #DFF5EA;
  --green-50:  #F1FBF6;

  /* ---- Solar amber: the accent. Used sparingly — sun, stamps, highlights ---- */
  --amber-600: #D98614;
  --amber-500: #F5A623;
  --amber-400: #FFB94A;
  --amber-100: #FEF2DC;
  --amber-50:  #FFF9EF;

  /* ---- Support blue for informational moments ---- */
  --blue-700: #14507E;
  --blue-600: #1E6CA8;
  --blue-100: #E4EFF8;

  /* ---- Warm-tinted neutrals (avoids a clinical, grey-blue feel) ---- */
  --ink-900: #0C1A16;
  --ink-800: #1B2E28;
  --ink-700: #33473F;
  --ink-600: #4B5F57;
  --ink-500: #6B7D75;
  --ink-400: #94A59D;
  --ink-300: #B8C6BF;
  --ink-200: #DCE5E1;
  --ink-100: #EAF0ED;
  --ink-50:  #F6F9F7;
  --white: #FFFFFF;

  --success: #12A06A;
  --error: #C9453F;

  /* ---- Radii ---- */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  /* ---- Layered shadows: two-stop for real depth ---- */
  --shadow-xs: 0 1px 2px rgba(8, 42, 34, 0.05);
  --shadow-sm: 0 1px 3px rgba(8, 42, 34, 0.06), 0 4px 10px -2px rgba(8, 42, 34, 0.05);
  --shadow-md: 0 4px 8px -2px rgba(8, 42, 34, 0.06), 0 14px 32px -8px rgba(8, 42, 34, 0.12);
  --shadow-lg: 0 8px 16px -4px rgba(8, 42, 34, 0.08), 0 28px 60px -12px rgba(8, 42, 34, 0.18);
  --shadow-glow: 0 0 0 1px rgba(18, 160, 106, 0.16), 0 10px 40px -8px rgba(18, 160, 106, 0.28);

  /* ---- Type ---- */
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* ---- Layout ---- */
  --max-width: 1200px;
  --gutter: 24px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
::selection { background: var(--green-200); color: var(--deep-900); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--deep-900);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.022em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.1vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); font-weight: 750; letter-spacing: -0.014em; }
h4 { font-size: 1.02rem; font-weight: 750; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.62;
  color: var(--ink-600);
}
strong { color: var(--ink-900); font-weight: 650; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  line-height: 1;
}
.eyebrow.amber { color: var(--amber-600); background: var(--amber-100); }
.eyebrow.blue { color: var(--blue-700); background: var(--blue-100); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.008em;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
  transition: transform .16s cubic-bezier(.2,.7,.3,1), box-shadow .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn svg { flex-shrink: 0; }
.btn:hover { transform: translateY(-1.5px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; }

.btn-primary {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(8,42,34,.1), 0 8px 20px -6px rgba(18,160,106,.45);
}
.btn-primary:hover {
  background: var(--green-700);
  box-shadow: 0 2px 4px rgba(8,42,34,.12), 0 14px 30px -8px rgba(18,160,106,.55);
}
.btn-secondary {
  background: var(--white);
  color: var(--deep-800);
  border-color: var(--ink-200);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { border-color: var(--green-500); color: var(--green-700); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--deep-800); }
.btn-ghost:hover { background: var(--green-50); color: var(--green-700); }
.btn-outline-light {
  background: rgba(255,255,255,0.07);
  color: var(--white);
  border-color: rgba(255,255,255,0.34);
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.6); }
.btn-amber {
  background: var(--amber-500);
  color: #3A2606;
  box-shadow: 0 1px 2px rgba(8,42,34,.1), 0 8px 20px -6px rgba(245,166,35,.5);
}
.btn-amber:hover { background: var(--amber-400); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 19px; font-size: 0.875rem; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--ink-100);
  box-shadow: 0 4px 20px -8px rgba(8,42,34,.12);
  background: rgba(255,255,255,0.94);
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 15px var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.028em;
  color: var(--deep-900);
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
}
/* The mark is a self-contained SVG (assets/logo-icon.svg) with the tick as
   negative space, so it needs no coloured tile behind it and reads correctly
   on the white header and the dark footer alike. */
.brand-mark {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; display: block; }
/* The "MOT" in the wordmark gets the amber treatment */
.brand .mot { color: var(--amber-500); }
.site-footer .brand .mot { color: var(--amber-400); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: block;
  text-decoration: none;
  color: var(--ink-600);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.925rem;
  letter-spacing: -0.01em;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  transition: color .14s ease, background-color .14s ease;
}
.nav-links a:hover { color: var(--deep-900); background: var(--ink-50); }
.nav-links a.active { color: var(--green-700); background: var(--green-50); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; }

@media (max-width: 940px) {
  .nav-links {
    position: fixed; top: 66px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; align-items: stretch;
    padding: 14px var(--gutter) 22px; gap: 2px;
    border-bottom: 1px solid var(--ink-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-135%);
    transition: transform .28s cubic-bezier(.3,.8,.3,1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; font-size: 1rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 12px;
    border: 1px solid var(--ink-200); background: var(--white);
    cursor: pointer; order: 3;
  }
  .nav-cta .btn-secondary { display: none; }
}

/* ---------- Sections & rhythm ---------- */
section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tight { padding: clamp(48px, 5vw, 68px) 0; }
.section-alt { background: var(--ink-50); }
.section-mint { background: linear-gradient(180deg, var(--green-50), var(--white)); }
.section-dark {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(28,187,127,.18), transparent 60%),
    linear-gradient(160deg, var(--deep-950), var(--teal-900));
  color: rgba(255,255,255,.78);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.72); }
.section-dark .eyebrow { background: rgba(255,255,255,.1); color: var(--green-200); }
.center { text-align: center; }
.section-head { max-width: 700px; margin: 0 auto clamp(40px, 5vw, 58px); }
.section-head.left { margin-left: 0; margin-right: 0; }
.section-head p:last-child { margin-bottom: 0; }

.divider { height: 1px; background: var(--ink-100); border: 0; margin: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: rgba(255,255,255,.82);
  overflow: hidden;
  padding: clamp(64px, 7vw, 96px) 0 clamp(76px, 8vw, 112px);
  background:
    radial-gradient(1100px 620px at 78% 8%, rgba(245,166,35,.16), transparent 58%),
    radial-gradient(900px 700px at 12% 96%, rgba(28,187,127,.20), transparent 62%),
    linear-gradient(155deg, var(--deep-950) 0%, var(--deep-800) 42%, var(--teal-900) 100%);
}
/* Faint engineering grid — reinforces the "inspection / technical" idea */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 35%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 35%, #000 30%, transparent 78%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--amber-400), var(--amber-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { color: rgba(255,255,255,.78); max-width: 33em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--green-200);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  padding: 7px 15px 7px 11px; border-radius: var(--radius-pill); margin-bottom: 20px;
  line-height: 1;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green-500);
  box-shadow: 0 0 0 3px rgba(28,187,127,.25);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(28,187,127,.25); }
  50% { box-shadow: 0 0 0 6px rgba(28,187,127,.05); }
}
.hero-trust {
  display: flex; gap: 12px 26px; margin-top: 38px; flex-wrap: wrap;
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,.11);
}
.hero-trust div {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.85rem; color: rgba(255,255,255,.8); font-weight: 550;
}
.hero-trust svg { color: var(--green-200); flex-shrink: 0; }
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

/* ---------- The MOT report card (hero centrepiece) ---------- */
.mot-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 26px 26px 22px;
  box-shadow: 0 30px 70px -18px rgba(0,0,0,.5), 0 2px 4px rgba(0,0,0,.1);
  color: var(--ink-700);
  transform: rotate(-1.1deg);
  max-width: 420px;
  margin-left: auto;
}
.mot-card::after {
  /* subtle sheen */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(145deg, rgba(255,255,255,.6), transparent 40%);
  mix-blend-mode: overlay;
}
.mot-card-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 2px dashed var(--ink-200);
}
.mot-card-title {
  font-family: var(--font-display); font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-500);
  margin: 0 0 5px;
}
.mot-card-sub { font-size: 1.16rem; font-weight: 800; color: var(--deep-900); font-family: var(--font-display); letter-spacing: -0.02em; }
.mot-stamp {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%;
  border: 2.5px solid var(--green-600);
  color: var(--green-700);
  transform: rotate(9deg);
  font-family: var(--font-display);
  background: var(--green-50);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.9);
}
.mot-stamp .big { font-size: 1.14rem; font-weight: 800; letter-spacing: .04em; line-height: 1; }
.mot-stamp .small { font-size: .5rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; opacity: .8; }

.mot-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mot-checklist li {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 2px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--ink-100);
}
.mot-checklist li:last-child { border-bottom: 0; }
.mot-checklist .tick {
  width: 21px; height: 21px; border-radius: 50%; flex-shrink: 0;
  background: var(--green-100); color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
}
.mot-checklist .label { flex: 1; color: var(--ink-700); font-weight: 500; }
.mot-checklist .val { font-size: .78rem; font-weight: 700; color: var(--green-700); font-family: var(--font-display); }

.mot-card-foot {
  margin-top: 18px; padding-top: 16px; border-top: 2px dashed var(--ink-200);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.mot-score { display: flex; align-items: baseline; gap: 5px; }
.mot-score .n { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--deep-900); letter-spacing: -.03em; }
.mot-score .u { font-size: .82rem; color: var(--ink-500); font-weight: 600; }
.mot-next { font-size: .76rem; color: var(--ink-500); text-align: right; line-height: 1.4; }
.mot-next b { display: block; color: var(--deep-800); font-size: .84rem; font-family: var(--font-display); }

/* Floating amber "sun" glow behind the card */
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; z-index: -1;
  width: 210px; height: 210px; right: -30px; top: -46px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,185,74,.55), rgba(245,166,35,0) 68%);
  filter: blur(6px);
}

/* ---------- Cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 940px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 660px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-xs);
  transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s ease, border-color .2s ease;
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-200);
}
.card-flush { padding: 0; overflow: hidden; }

/* Numbered step cards — the numeral sits in its own space above the heading
   rather than behind it, so it can't collide when a title wraps to two lines. */
.step-card { position: relative; }
.step-num {
  display: block;
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 800;
  color: var(--green-500); line-height: 1; letter-spacing: -.04em;
  margin-bottom: 14px;
  user-select: none;
}
.step-num::after {
  content: ""; display: block; width: 26px; height: 3px; margin-top: 10px;
  background: var(--green-200); border-radius: var(--radius-pill);
}

.icon-tile {
  width: 50px; height: 50px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-100); color: var(--green-700);
  margin-bottom: 20px;
  font-family: var(--font-display); font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(18,160,106,.1);
}
.icon-tile.blue { background: var(--blue-100); color: var(--blue-700); box-shadow: inset 0 0 0 1px rgba(30,108,168,.1); }
.icon-tile.amber { background: var(--amber-100); color: var(--amber-600); box-shadow: inset 0 0 0 1px rgba(217,134,20,.12); }

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.compare-table {
  width: 100%; border-collapse: collapse; background: var(--white);
  overflow: hidden; min-width: 560px;
}
.compare-table th, .compare-table td {
  padding: 15px 20px; text-align: left; font-size: 0.93rem;
  border-bottom: 1px solid var(--ink-100);
}
.compare-table thead th {
  background: var(--deep-900); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: .88rem;
  letter-spacing: -.01em;
}
.compare-table thead th:first-child { background: var(--deep-950); }
.compare-table tbody td:first-child { font-weight: 550; color: var(--ink-800); }
.compare-table tbody tr:nth-child(even) { background: var(--ink-50); }
.compare-table td.yes { color: var(--green-700); font-weight: 700; }
.compare-table td.no { color: var(--ink-400); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table col.highlight, .compare-table .col-highlight { background: var(--green-50); }


/* ---------- FAQ ---------- */
/* <details>/<summary> on purpose: the answers are in the DOM whether open or
   closed, so crawlers and answer engines read all of them, while visitors get
   a compact list. An accordion built in JS would hide the content from both. */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg); padding: 4px 22px;
  box-shadow: var(--shadow-xs); transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-item[open] { border-color: var(--green-200); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; padding: 18px 0; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  margin: 0; font-size: 1.02rem; font-weight: 700; color: var(--deep-900);
  line-height: 1.4;
}
.faq-item summary:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: var(--radius-sm); }
.faq-chev { color: var(--green-600); flex-shrink: 0; transition: transform .2s ease; display: flex; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-item > p { margin: 0 0 20px; color: var(--ink-600); font-size: .95rem; line-height: 1.66; }

/* ---------- Pricing ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 940px) { .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.plan-card {
  background: var(--white); border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  padding: 32px 28px; display: flex; flex-direction: column;
  position: relative; box-shadow: var(--shadow-xs);
  transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s ease, border-color .2s ease;
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan-card.featured {
  border-color: var(--green-500);
  border-width: 2px;
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  background: linear-gradient(180deg, var(--green-50), var(--white) 26%);
}
@media (min-width: 941px) {
  .plan-card.featured { transform: scale(1.035); z-index: 2; }
  .plan-card.featured:hover { transform: scale(1.035) translateY(-3px); }
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green-600); color: var(--white);
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 800; padding: 6px 15px;
  border-radius: var(--radius-pill); letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 4px 12px -2px rgba(18,160,106,.5);
  white-space: nowrap;
}
.plan-name {
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 800; color: var(--green-700);
  text-transform: uppercase; letter-spacing: .1em;
}
.plan-price { display: flex; align-items: baseline; gap: 5px; margin: 16px 0 4px; }
.plan-price .amount {
  font-family: var(--font-display);
  font-size: 2.9rem; font-weight: 800; color: var(--deep-900); letter-spacing: -.035em; line-height: 1;
}
.plan-price .period { color: var(--ink-500); font-weight: 600; font-size: .95rem; }
.plan-desc { color: var(--ink-500); font-size: .92rem; margin: 10px 0 24px; }
.plan-setup {
  font-size: .84rem; color: var(--ink-600); margin: -8px 0 14px;
  line-height: 1.4;
}
.plan-setup strong { color: var(--ink-800); font-weight: 700; }
.plan-card.featured .plan-setup strong { color: var(--green-700); }

.plan-cadence {
  /* wrap rather than overflow: in the three-column range around 940-1100px
     a card has only ~245px of content width, and a longer cadence label
     ("2 visits + unlimited callouts") would otherwise spill out of the card. */
  display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap;
  background: var(--ink-50); border: 1px solid var(--ink-100);
  color: var(--ink-700); font-size: .8rem; font-weight: 650;
  padding: 6px 12px; border-radius: var(--radius-pill); margin-bottom: 22px;
  font-family: var(--font-display);
}
.plan-card.featured .plan-cadence { background: var(--white); border-color: var(--green-200); color: var(--green-700); }
.plan-features { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.plan-features li { display: flex; gap: 11px; font-size: .92rem; color: var(--ink-700); align-items: flex-start; line-height: 1.5; }
.plan-features li svg { flex-shrink: 0; margin-top: 3px; color: var(--green-600); }
.plan-features li.muted { color: var(--ink-400); }
.plan-features li.muted svg { color: var(--ink-300); }

.commercial-band {
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(28,187,127,.2), transparent 60%),
    linear-gradient(125deg, var(--teal-900), var(--deep-950));
  color: rgba(255,255,255,.8);
  border-radius: var(--radius-xl); padding: clamp(32px, 4vw, 48px);
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: center;
}
.commercial-band h3 { color: var(--white); font-size: clamp(1.3rem,1.1rem+1vw,1.7rem); }
.commercial-band p { color: rgba(255,255,255,.75); }
@media (max-width: 900px) { .commercial-band { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--font-display);
  font-weight: 700; font-size: .86rem; color: var(--ink-900); margin-bottom: 7px;
  letter-spacing: -.005em;
}
.field .hint { font-size: .8rem; color: var(--ink-500); margin-top: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--ink-200); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .96rem; color: var(--ink-900);
  background: var(--white);
  transition: border-color .14s ease, box-shadow .14s ease, background-color .14s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-300); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(28,187,127,.14);
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7D75' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

.radio-tile-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 660px) { .radio-tile-group { grid-template-columns: 1fr; } }
.radio-tile {
  border: 1.5px solid var(--ink-200); border-radius: var(--radius-md);
  padding: 16px; cursor: pointer; display: block;
  transition: border-color .14s ease, background-color .14s ease, box-shadow .14s ease;
}
.radio-tile:hover { border-color: var(--green-200); background: var(--green-50); }
.radio-tile input { display: none; }
.radio-tile.selected {
  border-color: var(--green-500); background: var(--green-50);
  box-shadow: 0 0 0 3px rgba(28,187,127,.13);
}

/* Inline submission failure — shown when a form genuinely could not be saved,
   so the visitor knows and can reach us another way. */
.form-error {
  display: flex; gap: 11px; align-items: flex-start;
  margin-top: 20px; padding: 15px 18px;
  background: #FDF2F2; border: 1px solid #F3D3D1; border-left: 3px solid var(--error);
  border-radius: var(--radius-sm);
  color: #8A2F2A; font-size: .89rem; line-height: 1.55;
}
.form-error svg { flex-shrink: 0; margin-top: 2px; color: var(--error); }
.form-error strong { color: #6E211D; }
.form-error a { color: #8A2F2A; font-weight: 700; }

.form-success { display: none; text-align: center; padding: 52px 20px; }
.form-success.show { display: block; animation: fadeIn .35s ease; }
.check-circle {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--green-100); color: var(--green-700);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
  box-shadow: 0 0 0 8px var(--green-50);
}

/* ---------- Steps / progress ---------- */
.steps { display: flex; gap: 8px; margin-bottom: 42px; list-style: none; padding: 0; }
.steps li {
  flex: 1; text-align: center;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; color: var(--ink-400);
  padding-bottom: 13px; border-bottom: 3px solid var(--ink-100);
  transition: color .2s ease, border-color .2s ease;
}
.steps li.done { color: var(--green-600); border-color: var(--green-500); }
.steps li.current { color: var(--deep-900); border-color: var(--green-600); }
.step-panel { display: none; }
.step-panel.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: translateY(0);} }

.summary-box {
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: var(--radius-md); padding: 20px 22px; margin-bottom: 26px;
}
.summary-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; font-size: .92rem; border-bottom: 1px dashed var(--green-200);
}
.summary-row:last-child {
  border-bottom: none; font-weight: 800; color: var(--deep-900);
  font-family: var(--font-display); font-size: 1rem; padding-top: 14px;
}

.integration-note {
  background: var(--amber-50); border: 1px solid var(--amber-100);
  border-left: 3px solid var(--amber-500);
  border-radius: var(--radius-sm);
  padding: 15px 18px; font-size: .85rem; color: #7A5417; margin-top: 18px;
  display: flex; gap: 11px; align-items: flex-start; line-height: 1.55;
}
.integration-note strong { color: #5E3F0D; }
.integration-note svg { flex-shrink: 0; margin-top: 2px; }

.gc-mark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--deep-900); color: var(--white);
  padding: 9px 16px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; font-size: .86rem;
}

/* ---------- Booking widget ---------- */
.booking-widget { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 880px) { .booking-widget { grid-template-columns: 1fr; } }
.date-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.date-cell {
  border: 1.5px solid var(--ink-200); border-radius: var(--radius-sm);
  padding: 12px 6px; text-align: center; cursor: pointer; font-size: .85rem;
  transition: border-color .14s ease, background-color .14s ease, transform .14s ease;
}
.date-cell:hover:not(.disabled) { border-color: var(--green-200); background: var(--green-50); }
.date-cell .dow { display: block; font-size: .7rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; font-weight: 650; }
.date-cell .dnum { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink-900); }
.date-cell.selected {
  border-color: var(--green-500); background: var(--green-50);
  box-shadow: 0 0 0 3px rgba(28,187,127,.13);
}
.date-cell.disabled { opacity: .35; cursor: not-allowed; }
.slot-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.slot {
  border: 1.5px solid var(--ink-200); border-radius: var(--radius-sm);
  padding: 13px 16px; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-size: .92rem; font-weight: 600;
  transition: border-color .14s ease, background-color .14s ease;
}
.slot:hover { border-color: var(--green-200); background: var(--green-50); }
.slot.selected {
  border-color: var(--green-500); background: var(--green-50); color: var(--deep-800);
  box-shadow: 0 0 0 3px rgba(28,187,127,.13);
}
.slot .tag {
  font-size: .71rem; font-weight: 750; color: var(--green-700); background: var(--green-100);
  padding: 3px 10px; border-radius: var(--radius-pill); font-family: var(--font-display);
}

/* ---------- Postcode checker ---------- */
.postcode-check { display: flex; gap: 10px; max-width: 470px; }
.postcode-check input {
  /* min-width:0 is required — a flex item defaults to min-width:auto and will
     refuse to shrink below its intrinsic width, pushing the button off-screen
     on narrow phones. */
  flex: 1; min-width: 0; padding: 15px 18px;
  border: 1.5px solid var(--ink-200); border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink-900);
  text-transform: uppercase; letter-spacing: .02em; font-weight: 600;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.postcode-check input::placeholder { text-transform: none; font-weight: 400; letter-spacing: 0; color: var(--ink-400); }
.postcode-check input:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(28,187,127,.14);
}
.result-banner {
  margin-top: 22px; padding: 18px 20px; border-radius: var(--radius-md);
  font-weight: 550; display: none; text-align: left; line-height: 1.55;
}
.result-banner.show { display: flex; align-items: flex-start; gap: 12px; animation: fadeIn .3s ease; }
.result-banner svg { flex-shrink: 0; margin-top: 3px; }
.result-banner.in-area { background: var(--green-100); color: var(--deep-800); border: 1px solid var(--green-200); }
.result-banner.out-area { background: var(--amber-50); color: #7A5417; border: 1px solid var(--amber-100); }
.result-banner a { font-weight: 750; color: var(--green-700); }

.coverage-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 800px) { .coverage-map { grid-template-columns: 1fr; } }
.coverage-item {
  border: 1px solid var(--ink-200); border-radius: var(--radius-lg);
  padding: 26px; background: var(--white); box-shadow: var(--shadow-xs);
}
.coverage-item.is-live { border-color: var(--green-500); box-shadow: var(--shadow-glow); }
.coverage-item .status {
  font-family: var(--font-display);
  font-size: .71rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-pill); display: inline-block; margin-bottom: 14px;
}
.coverage-item .status.live { background: var(--green-600); color: var(--white); }
.coverage-item .status.soon { background: var(--amber-100); color: var(--amber-600); }
.coverage-item .status.later { background: var(--ink-100); color: var(--ink-500); }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat-strip .stat { text-align: center; }
.stat-strip .stat .num {
  font-family: var(--font-display); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem);
  font-weight: 800; color: var(--white); letter-spacing: -.03em; line-height: 1.1;
}
.stat-strip .stat .num .amber { color: var(--amber-400); }
.stat-strip .stat .lbl { font-size: .84rem; color: rgba(255,255,255,.66); margin-top: 8px; line-height: 1.45; }
@media (max-width: 780px) { .stat-strip { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* ---------- Certifications ---------- */
.cert-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 660px) { .cert-list { grid-template-columns: 1fr; } }
.cert-item {
  display: flex; gap: 16px; background: var(--white);
  border: 1px solid var(--ink-100); border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow-xs);
}
.cert-item .icon-tile { margin-bottom: 0; flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; }
.cert-item h4 { margin-bottom: .3em; }
.cert-item p { font-size: .89rem; margin: 0; color: var(--ink-500); }

/* ---------- Checklist (what's included / inspection scope) ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list.two-col { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
@media (max-width: 700px) { .check-list.two-col { grid-template-columns: 1fr; } }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.55; }
.check-list li .tick {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: var(--green-100); color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
}
.section-dark .check-list li { color: rgba(255,255,255,.8); }
.section-dark .check-list li .tick { background: rgba(28,187,127,.22); color: var(--green-200); }

/* ---------- Quote / callout ---------- */
.callout {
  border-left: 3px solid var(--green-500);
  background: var(--green-50);
  padding: 20px 24px; border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--ink-700);
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(600px 300px at 88% 10%, rgba(245,166,35,.22), transparent 60%),
    linear-gradient(120deg, var(--deep-800), var(--deep-950) 60%, var(--teal-900));
  border-radius: var(--radius-xl); padding: clamp(36px, 4.5vw, 58px);
  color: rgba(255,255,255,.8);
  display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 100% at 20% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 20% 50%, #000, transparent 75%);
}
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.76); margin-bottom: 0; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page header ---------- */
.page-header {
  background:
    radial-gradient(700px 320px at 50% -30%, rgba(28,187,127,.12), transparent 65%),
    linear-gradient(180deg, var(--green-50), var(--white));
  padding: clamp(48px, 6vw, 76px) 0 clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--ink-100);
}
.page-header .lede { max-width: 640px; }
.page-header .center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--deep-950), #04150F);
  color: rgba(255,255,255,.62);
  margin-top: clamp(72px, 8vw, 104px);
  padding: clamp(48px, 6vw, 68px) 0 26px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px;
  padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-grid h4 {
  color: var(--white); font-size: .78rem; letter-spacing: .11em;
  text-transform: uppercase; margin-bottom: 16px; font-weight: 750;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-grid a {
  color: rgba(255,255,255,.66); text-decoration: none; font-size: .92rem;
  transition: color .14s ease;
}
.footer-grid a:hover { color: var(--white); }
.footer-brand .brand { color: var(--white); margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .9rem; max-width: 320px; line-height: 1.65; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: .8rem; color: rgba(255,255,255,.42);
  flex-wrap: wrap; gap: 10px; line-height: 1.6;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ----------
   Deliberately gated behind .js on <html>: if JavaScript fails to load or is
   disabled, .reveal content must still be visible rather than stuck at
   opacity 0. Never hide content in a way that depends on JS to undo. */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
}
.js .reveal.in { opacity: 1; transform: none; }

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

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 42px; }
.text-muted { color: var(--ink-500); }
.text-sm { font-size: .88rem; }
.text-xs { font-size: .8rem; }
.badge {
  display: inline-block; font-family: var(--font-display);
  font-size: .73rem; font-weight: 750; padding: 5px 11px;
  border-radius: var(--radius-pill); background: var(--green-100); color: var(--green-700);
  letter-spacing: .01em;
}
.badge.amber { background: var(--amber-100); color: var(--amber-600); }
.badge.grey { background: var(--ink-100); color: var(--ink-600); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
