/* ==========================================================================
   Web Design Witney — stylesheet
   One file, no framework. Light + dark, fluid type, ~0 layout shift.
   ========================================================================== */

/* ----------------------------------------------------------------- fonts */
/* Self-hosted, so there is still no request to another domain. Latin subsets of two variable
   fonts, ~90KB together, preloaded from the layout. Both are SIL OFL; licences sit beside them.
   The files are cached as immutable: give a replacement a new name rather than overwriting. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Arial resized to Inter's metrics, so text does not reflow when Inter arrives. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
  size-adjust: 107.4%;
}

/* ---------------------------------------------------------------- tokens */
:root {
  color-scheme: light dark;

  --bg:        #FBFAF7;
  --surface:   #FFFFFF;
  --tint:      #F3F1EB;
  --tint-2:    #ECE9E1;
  --ink:       #0B1622;
  --ink-soft:  #23384A;
  --body:      #4A5D6E;
  --muted:     #5A6B7A;
  --line:      #E4E1D9;
  --line-firm: #D3CFC4;

  --brand:      #0E7B5C;
  --brand-ink:  #0A5D45;
  --brand-soft: #E4F1EC;
  --brand-line: #B9DCD0;
  --accent:     #C2831B;

  --dark-bg:  #0A121A;
  --on-dark:  #EEF3F6;
  --on-dark-soft: #9FB4C2;

  --radius:    14px;
  --radius-lg: 22px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgb(11 22 34 / .05), 0 1px 1px rgb(11 22 34 / .04);
  --shadow:    0 4px 6px -2px rgb(11 22 34 / .05), 0 12px 24px -8px rgb(11 22 34 / .10);
  --shadow-lg: 0 8px 12px -4px rgb(11 22 34 / .06), 0 28px 56px -16px rgb(11 22 34 / .16);

  --wrap: 1160px;
  --measure: 40rem;       /* body copy, headings, FAQ — the reading column */
  --measure-wide: 54rem;  /* tables and other content that needs elbow room */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 8vw, 7rem);

  --font: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --font-display: "Bricolage Grotesque", var(--font);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --step--1: clamp(.82rem, .79rem + .14vw, .89rem);
  --step-0:  clamp(1rem, .96rem + .18vw, 1.09rem);
  --step-1:  clamp(1.15rem, 1.08rem + .34vw, 1.35rem);
  --step-2:  clamp(1.38rem, 1.24rem + .68vw, 1.78rem);
  --step-3:  clamp(1.66rem, 1.42rem + 1.16vw, 2.36rem);
  --step-4:  clamp(2rem, 1.6rem + 1.95vw, 3.12rem);
  --step-5:  clamp(2.36rem, 1.74rem + 3.05vw, 4.1rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #080F16;
    --surface:   #0F1B25;
    --tint:      #131F2A;
    --tint-2:    #182734;
    --ink:       #F1F5F8;
    --ink-soft:  #D3E0E9;
    --body:      #A6BAC8;
    --muted:     #8397A6;
    --line:      #21323F;
    --line-firm: #2C4150;

    --brand:      #34C596;
    --brand-ink:  #5FD9B0;
    --brand-soft: #0D2C23;
    --brand-line: #1B4A3B;
    --accent:     #E0A63E;

    --shadow-sm: 0 1px 2px rgb(0 0 0 / .3);
    --shadow:    0 4px 8px -2px rgb(0 0 0 / .35), 0 14px 28px -10px rgb(0 0 0 / .45);
    --shadow-lg: 0 10px 20px -6px rgb(0 0 0 / .4), 0 32px 64px -20px rgb(0 0 0 / .6);
  }
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  font-feature-settings: "cv11", "ss03";
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: var(--step-4); letter-spacing: -.03em; }
h3 { font-size: var(--step-2); font-weight: 650; letter-spacing: -.015em; }
h4 { font-weight: 650; }
h4 { font-size: var(--step-1); }
p  { text-wrap: pretty; }

img, svg, video { display: block; max-width: 100%; height: auto; }
svg { fill: currentColor; }

a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--brand); }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--brand); color: #fff; }

/* ------------------------------------------------------------- structure */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Content measures. These sit INSIDE .wrap and stay left-aligned, so every
   section on every page shares one left edge regardless of its width. */
.measure      { max-width: var(--measure); }
.measure-wide { max-width: var(--measure-wide); }
.page-head    { max-width: var(--measure); }
.page-head .lead { margin-top: 1em; }
.narrow-center { max-width: var(--measure); margin-inline: auto; text-align: center; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--tint { background: var(--tint); }
.section--dark {
  background: var(--dark-bg);
  color: var(--on-dark-soft);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--on-dark); }
.section--dark a { color: #7EE0BC; }

.section__head { max-width: var(--measure); margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__title { margin-bottom: .7em; }
.section__lede { font-size: var(--step-1); color: var(--body); }
/* On a wide screen the lede sits beside the heading rather than under it, so a section opens
   across the page instead of down its left-hand third. */
@media (min-width: 1000px) {
  .section__head:has(.section__lede) {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    column-gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: start;
  }
  .section__head:has(.section__lede) > * { grid-column: 1; }
  .section__head:has(.section__lede) .eyebrow { justify-self: start; }
  .section__head:has(.section__lede) .section__title { margin-bottom: 0; }
  /* Level with the top of the heading, whichever of the two runs longer. */
  .section__head:has(.section__lede) .section__lede { grid-column: 2; grid-row: 1; padding-top: .3em; }
  .section__head:has(.eyebrow):has(.section__lede) .section__lede { grid-row: 2; }
}
.section--dark .section__lede { color: var(--on-dark-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 1.1em;
}
.eyebrow::before {
  content: "";
  width: 1.6em; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.section--dark .eyebrow { color: #7EE0BC; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: .8rem 1.2rem;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.5em;
  font-size: var(--step-0);
  font-weight: 620;
  line-height: 1.2;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              box-shadow .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--brand-ink);
  color: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
@media (prefers-color-scheme: dark) {
  .btn--primary { color: #04211A; }
  .btn--primary:hover { color: #04211A; }
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-firm);
}
.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
  background: var(--brand-soft);
}

.btn--light {
  background: #fff;
  color: #0B1622;
  border-color: #fff;
}
.btn--light:hover { background: #E9F5F0; color: #0A5D45; transform: translateY(-1px); }

.btn--outline-light {
  background: transparent;
  color: var(--on-dark);
  border-color: rgb(255 255 255 / .3);
}
.btn--outline-light:hover {
  border-color: rgb(255 255 255 / .7);
  background: rgb(255 255 255 / .07);
  color: #fff;
}

.btn--lg { padding: .95em 1.7em; font-size: 1.04rem; }
.btn--sm { padding: .6em 1.05em; font-size: var(--step--1); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}
.btn-row--center { justify-content: center; }
@media (max-width: 520px) {
  .btn-row > .btn--lg { flex: 1 1 100%; }
}

/* ---------------------------------------------------------------- header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 2rem);
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 2.1rem; height: 2.1rem; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-display); font-size: 1.08rem; }
.brand__sub {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  padding: 0;
}
.nav__list a {
  display: block;
  padding: .45rem .7rem;
  font-size: .93rem;
  font-weight: 550;
  color: var(--body);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav__list a:hover { color: var(--ink); background: var(--tint); }
.nav__list a[aria-current="page"] { color: var(--brand-ink); background: var(--brand-soft); font-weight: 600; }

.header__actions {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}
.header__tel {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 650;
  font-size: .95rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.header__tel svg { width: 1.05em; height: 1.05em; color: var(--brand); }
.header__tel:hover { color: var(--brand-ink); }

.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line-firm);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 1.35rem; height: 1.35rem; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* The number is the first thing a tradesperson looks for, but the links matter more; between
   the two breakpoints it gives up its digits and keeps the icon. */
@media (max-width: 1239px) and (min-width: 1100px) {
  .header__tel { font-size: 0; gap: 0; padding: .55rem; border-radius: 999px; border: 1px solid var(--line-firm); }
  .header__tel svg { width: 1.05rem; height: 1.05rem; }
}
@media (max-width: 1099px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .header__inner { justify-content: space-between; }
  .header__actions { order: 2; margin-left: auto; }
  .header__tel { display: none; }
  .nav {
    order: 4;
    flex-basis: 100%;
    margin-left: 0;
    display: none;
    padding-block: .5rem 1.25rem;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a {
    padding: .85rem .25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav__list a:hover, .nav__list a[aria-current="page"] { background: none; }
  .nav__list li:last-child a { border-bottom: 0; }
}
@media (max-width: 420px) {
  .header__actions .btn { padding: .7em 1em; font-size: .9rem; }
  .brand__sub { display: none; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(60% 55% at 18% 12%, color-mix(in srgb, var(--brand) 13%, transparent) 0%, transparent 62%),
    radial-gradient(48% 46% at 88% 4%, color-mix(in srgb, var(--accent) 11%, transparent) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); }
}
.hero__title { margin-bottom: .5em; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.6rem); }
.hero__title em {
  font-style: normal;
  color: var(--brand);
  /* A drawn underline in the accent colour, rather than a highlighter block. */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9C40 3 120 1 198 6' fill='none' stroke='%23E0A63E' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") bottom / 100% .22em no-repeat;
  padding-bottom: .06em;
}
.hero__lede {
  font-size: var(--step-1);
  max-width: 36ch;
  margin-bottom: 1.6em;
  color: var(--ink-soft);
}
.hero__note {
  margin-top: 1.5rem;
  font-size: var(--step--1);
  color: var(--muted);
}

/* trust strip */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .5rem;
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}
.trust { gap: .5rem 1.4rem; }
.trust li {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-size: .92rem;
  font-weight: 560;
  color: var(--ink-soft);
}
.trust svg {
  width: 1.15em; height: 1.15em; flex-shrink: 0;
  padding: .18em;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
}
@media (prefers-color-scheme: dark) { .trust svg { color: #04211A; } }

/* browser mock */
.mock {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transition: transform .5s var(--ease);
}
@media (hover: hover) and (min-width: 900px) {
  .mock:hover { transform: perspective(1400px) rotateY(-1deg) rotateX(0deg) translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) { .mock { transform: none; } }
.mock__bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem .9rem;
  background: var(--tint);
  border-bottom: 1px solid var(--line);
}
.mock__dot { width: .62rem; height: .62rem; border-radius: 50%; background: var(--line-firm); }
.mock__url {
  margin-left: .5rem;
  flex: 1;
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .25rem .75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock__body { padding: 0; }
.mock__body svg { width: 100%; height: auto; display: block; }

/* score pill floating on the mock */
.mock-wrap { position: relative; }
.score {
  position: absolute;
  right: -.6rem;
  bottom: -1.1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem 1.05rem .7rem .8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.score__ring { width: 2.6rem; height: 2.6rem; flex-shrink: 0; }
.score__ring text { font-size: 11px; font-weight: 700; fill: var(--brand-ink); }
.score__label { font-size: .74rem; line-height: 1.3; color: var(--muted); }
.score__label strong { display: block; font-size: .86rem; color: var(--ink); }
@media (max-width: 560px) { .score { right: 0; bottom: -1.4rem; transform: scale(.9); transform-origin: bottom right; } }

/* ----------------------------------------------------------------- cards */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.card {
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 2.9rem; height: 2.9rem;
  margin-bottom: 1.15rem;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  border: 1px solid var(--brand-line);
}
.card__icon svg { width: 1.45rem; height: 1.45rem; }
.card h3 { font-size: var(--step-1); margin-bottom: .45em; }
/* On a phone the icon sits beside its heading rather than on a line of its own. */
@media (max-width: 599px) {
  .card:has(> .card__icon:first-child) { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; }
  .card:has(> .card__icon:first-child) > .card__icon { width: 2.5rem; height: 2.5rem; margin: 0; }
  .card:has(> .card__icon:first-child) > h3 { margin: 0; }
  .card:has(> .card__icon:first-child) > :not(.card__icon, h3) { grid-column: 1 / -1; margin-top: .75rem; }
}
.card p { font-size: .97rem; }
.section--dark .card {
  background: rgb(255 255 255 / .04);
  border-color: rgb(255 255 255 / .1);
  box-shadow: none;
}
.section--dark .card__icon {
  background: rgb(52 197 150 / .14);
  border-color: rgb(52 197 150 / .28);
  color: #7EE0BC;
}
.section--dark .card p { color: var(--on-dark-soft); }

/* ----------------------------------------------------------------- steps */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.75rem);
  counter-reset: step;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  counter-increment: step;
  position: relative;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-firm);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: .9rem;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
/* A short brand-coloured stroke over each step's rule marks where it starts. */
.step::after {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 2.5rem; height: 3px;
  border-radius: 3px;
  background: var(--brand);
}
.step h3 { font-size: var(--step-1); margin-bottom: .4em; }
.step p { font-size: .96rem; }
.section--dark .step { border-top-color: rgb(255 255 255 / .18); }
.section--dark .step::before { color: #7EE0BC; }
.section--dark .step p { color: var(--on-dark-soft); }
.section--dark .step::after { background: #34C596; }

/* ----------------------------------------------------------------- plans */
.plans {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: start;
}
@media (min-width: 880px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.plan {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.plan--popular {
  border-color: var(--brand);
  border-width: 2px;
  box-shadow: var(--shadow);
}
@media (min-width: 880px) { .plan--popular { transform: scale(1.025); } }
.plan__badge {
  position: absolute;
  top: -.85rem; left: 50%;
  transform: translateX(-50%);
  padding: .3em 1em;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) { .plan__badge { color: #04211A; } }
.plan__head { padding-bottom: 1.35rem; border-bottom: 1px solid var(--line); margin-bottom: 1.35rem; }
.plan__name { font-size: var(--step-1); margin-bottom: .35em; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: .1em;
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}
.plan__cur { font-family: var(--font); font-weight: 600; font-size: var(--step-2); align-self: flex-start; padding-top: .15em; }
.plan__num { font-size: var(--step-5); font-variant-numeric: tabular-nums; }
.plan__per { font-family: var(--font); font-size: var(--step-0); font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan__setup {
  margin-top: .5rem;
  display: inline-block;
  font-size: .8rem;
  font-weight: 650;
  color: var(--brand-ink);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  padding: .18em .7em;
}
.plan__blurb { margin-top: .9rem; font-size: .95rem; }
.plan__features { list-style: none; padding: 0; display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.plan__feature { display: flex; gap: .6em; font-size: .94rem; line-height: 1.45; }
.plan__feature svg { width: 1.15em; height: 1.15em; flex-shrink: 0; margin-top: .16em; color: var(--brand); }
.plan__feature--lead { font-weight: 650; color: var(--ink); margin-top: .3rem; }
.plan__cta { margin-top: auto; width: 100%; }
.plan__best {
  margin-top: .9rem;
  font-size: .82rem;
  color: var(--muted);
  text-align: center;
}
.plan--wide { max-width: 34rem; margin-inline: auto; }

.plans-note {
  max-width: var(--measure-wide);
  margin-top: 1.6rem;
  font-size: var(--step--1);
  color: var(--muted);
}

/* ---------------------------------------------------------------- tables */
.table-scroll { max-width: var(--measure-wide); overflow-x: auto; -webkit-overflow-scrolling: touch; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .96rem;
  min-width: 34rem;
}
caption { text-align: left; color: var(--muted); font-size: var(--step--1); padding-bottom: .8rem; }
th, td { padding: .95rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  border-bottom-color: var(--line-firm);
}
tbody th { color: var(--ink); font-weight: 600; }
td.is-good { color: var(--brand-ink); font-weight: 620; }
/* The column being argued for is tinted top to bottom, so the comparison reads at a glance. */
table:has(td.is-good) thead th:last-child,
td.is-good { background: color-mix(in srgb, var(--brand-soft) 70%, transparent); }
table:has(td.is-good) thead th:last-child { color: var(--brand-ink); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
table:has(td.is-good) tbody tr:last-child td.is-good { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------------- faq */
.faq { display: grid; gap: .7rem; max-width: var(--measure); }
@media (min-width: 1000px) {
  .wrap:has(> .section__head + .faq) {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    column-gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: start;
  }
  .wrap:has(> .section__head + .faq) > .section__head { position: sticky; top: 7rem; margin-bottom: 0; }
  .wrap:has(> .section__head + .faq) > .faq { max-width: none; }
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s var(--ease);
}
.faq details[open] { border-color: var(--brand-line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 620;
  font-size: var(--step-0);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 1.35rem; height: 1.35rem;
  margin-top: .1rem;
  border-radius: 50%;
  background: var(--tint-2);
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: .62rem 1.6px, 1.6px .62rem;
  background-position: center, center;
  background-repeat: no-repeat;
  color: var(--ink);
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--brand-ink); }
.faq .faq__answer { padding: 0 1.3rem 1.25rem; }
.faq .faq__answer > * + * { margin-top: .8em; }
.faq .faq__answer p { font-size: .97rem; }

/* ------------------------------------------------------------- area grid */
.areas { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .areas { grid-template-columns: repeat(4, 1fr); } }
/* Witney is listed first and takes two cells, which also closes the gap seven towns leave. */
@media (min-width: 600px) { .area-card--home { grid-column: span 2; } }
/* On a phone each town is one tappable row: pin, name, arrow. The "Websites in" line stays in
   the link's accessible name but is not drawn. */
@media (max-width: 599px) {
  .areas { gap: .6rem; }
  .area-card:not(.area-card--home) { position: relative; grid-template-columns: auto 1fr auto; align-items: center; column-gap: .75rem; padding: 1rem 1.15rem; }
  .area-card:not(.area-card--home) .area-card__go {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .area-card:not(.area-card--home)::after { content: "\2192"; color: var(--brand); font-weight: 600; }
}
.area-card {
  display: grid;
  gap: .3rem;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.area-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-line);
  box-shadow: var(--shadow);
}
.area-card__pin { color: var(--brand); }
.area-card__pin svg { width: 1.4rem; height: 1.4rem; }
.area-card__name { font-family: var(--font-display); font-weight: 680; color: var(--ink); font-size: var(--step-1); letter-spacing: -.02em; }
.area-card__go { font-size: .85rem; color: var(--muted); }
.area-card:hover .area-card__go { color: var(--brand-ink); }
.area-card__note {
  justify-self: start;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.area-card--home {
  background: var(--brand);
  border-color: var(--brand);
  align-content: end;
}
.area-card--home .area-card__name { font-size: var(--step-3); }
.area-card--home, .area-card--home .area-card__name, .area-card--home .area-card__pin, .area-card--home .area-card__note,
.area-card--home .area-card__go, .area-card--home:hover .area-card__go { color: #fff; }
.area-card--home:hover { border-color: var(--brand-ink); }
@media (prefers-color-scheme: dark) {
  .area-card--home, .area-card--home .area-card__name, .area-card--home .area-card__pin, .area-card--home .area-card__note,
  .area-card--home .area-card__go, .area-card--home:hover .area-card__go { color: #04211A; }
}

/* ------------------------------------------------------------- checklist */
.checklist { list-style: none; padding: 0; display: grid; gap: .75rem; }
.checklist li { display: flex; gap: .7em; align-items: flex-start; }
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 1.35rem; height: 1.35rem;
  margin-top: .12em;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%230E7B5C' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 1 1 1.4-1.4l3.8 3.8 6.8-6.8a1 1 0 0 1 1.4 0Z'/%3E%3C/svg%3E");
  background-size: .95rem;
  background-position: center;
  background-repeat: no-repeat;
}

/* Things outside the fee: a neutral cross, so a list of exclusions does not read as a list of ticks. */
.checklist--excluded li::before {
  background-color: var(--tint-2);
  border-color: var(--line-firm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%235A6B7A' d='M14.7 6.7 11.4 10l3.3 3.3-1.4 1.4-3.3-3.3-3.3 3.3-1.4-1.4L8.6 10 5.3 6.7l1.4-1.4L10 8.6l3.3-3.3Z'/%3E%3C/svg%3E");
  background-size: .8rem;
}

/* --------------------------------------------------------------- content */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--step-3); margin-top: 2em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.7em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .5em; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.prose blockquote {
  border-left: 3px solid var(--brand);
  padding-left: 1.2em;
  color: var(--ink-soft);
  font-size: var(--step-1);
}

.lead { font-size: var(--step-1); color: var(--ink-soft); }

/* --------------------------------------------------------------- quotes */
.quotes { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.quote {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.quote blockquote p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; }
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.quote figcaption { margin-top: 1.1rem; font-weight: 650; color: var(--ink); font-size: .95rem; }
.quote figcaption span { display: block; font-weight: 450; color: var(--muted); font-size: .87rem; }

/* ---------------------------------------------------------------- stats */
.stats {
  list-style: none; padding: 0;
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  text-align: center;
}
.stat__value { display: block; font-family: var(--font-display); font-size: var(--step-4); font-weight: 700; color: var(--ink); letter-spacing: -.03em; }
.stat__label { font-size: .9rem; color: var(--muted); }

/* ------------------------------------------------------------------ cta */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
  color: var(--on-dark-soft);
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 15% 0%, rgb(52 197 150 / .22) 0%, transparent 65%),
    radial-gradient(45% 55% at 90% 100%, rgb(224 166 62 / .16) 0%, transparent 60%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { color: var(--on-dark); }
.cta__inner { text-align: center; max-width: 44rem; margin-inline: auto; }
.cta__lede { font-size: var(--step-1); margin-block: .9em 2em; }
.cta__note { margin-top: 1.5rem; font-size: var(--step--1); color: rgb(255 255 255 / .5); }

/* ----------------------------------------------------------------- form */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field > label { font-weight: 620; font-size: .93rem; color: var(--ink); }
.field__hint { font-size: .83rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .8rem .95rem;
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line-firm);
  border-radius: var(--radius-sm);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%235A6B7A' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  background-size: 1.4rem;
  padding-right: 2.5rem;
}
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.form__consent input { width: 1.15rem; height: 1.15rem; margin-top: .18rem; flex-shrink: 0; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

.contact-list { list-style: none; padding: 0; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list__icon {
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  border-radius: 10px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand-ink);
}
.contact-list__icon svg { width: 1.2rem; height: 1.2rem; }
.contact-list dt, .contact-list__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 650; }
.contact-list__value { display: block; font-size: var(--step-1); font-weight: 620; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
a.contact-list__value:hover { color: var(--brand-ink); }

/* ------------------------------------------------------------ callout */
.callout {
  max-width: var(--measure);
  padding: clamp(1.3rem, 2.4vw, 1.85rem);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
}
.callout h3 { font-size: var(--step-1); margin-bottom: .45em; }
.callout p { font-size: .97rem; }
.callout > * + * { margin-top: .8em; }

/* ------------------------------------------------------------ breadcrumb */
.crumbs { padding-block: 1.1rem 0; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--muted); }
.crumbs li { display: flex; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: "/"; color: var(--line-firm); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-soft); font-weight: 550; }

/* ---------------------------------------------------------------- footer */
.footer {
  background: var(--dark-bg);
  color: var(--on-dark-soft);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .93rem;
}
.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgb(255 255 255 / .1);
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer h2, .footer h3 { color: var(--on-dark); }
.footer__title {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgb(255 255 255 / .55);
  font-weight: 650;
  margin-bottom: 1rem;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer a { color: var(--on-dark-soft); text-decoration: none; }
.footer a:hover { color: #7EE0BC; text-decoration: underline; }
.footer__brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--on-dark); font-family: var(--font-display); font-weight: 700; margin-bottom: 1rem; }
.footer__brand .brand__mark { width: 2.1rem; height: 2.1rem; }
.footer__blurb { max-width: 30ch; color: var(--on-dark-soft); }
.footer__contact { margin-top: 1.25rem; display: grid; gap: .45rem; }
.footer__contact a { font-weight: 620; color: var(--on-dark); }
.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
  font-size: .85rem;
  color: rgb(255 255 255 / .45);
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.footer__legal { flex-basis: 100%; font-size: .8rem; line-height: 1.55; }

/* --------------------------------------------------------------- utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1.15em; }
.stack-lg > * + * { margin-top: 2rem; }
.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;
}
.notice {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--tint);
  border: 1px dashed var(--line-firm);
  font-size: .92rem;
  color: var(--muted);
}
