/* Charnwood Tech
   Navy and teal come from the logo; butter yellow and the bright tile colours
   keep it lively. Type is Atkinson Hyperlegible Next throughout, a face
   designed for readers with low vision. Nothing is set smaller than 16px. */

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Brand colours from the logo */
  --navy: #0B2D50;
  --navy-deep: #061B33;
  --navy-bright: #1E4D7E;
  --teal: #08B2AF;
  --teal-light: #3FD0CD;
  --teal-deep: #06716F;
  /* Supporting colours */
  --tint: #D3E3EE;
  --mist: #EEF6F9;
  --butter: #FFE27A;
  --amber-deep: #A34A00;
  --ink: #0F2236;
  --ink-soft: #46586C;
  --paper: #FFFFFF;
  --error: #B42318;

  /* Tile colours: bright, each readable with navy text */
  --sky: #CDE6FF;
  --aqua: #BDEDEA;
  --coral: #FFD2C7;
  --peach: #FFDDB0;
  --lilac: #DEDCF8;

  --font: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 104px);

  color-scheme: light;
}

/* ------------------------------------------------------------------ base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}

@media (min-width: 720px) {
  body { font-size: 1.1875rem; }
}

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

h1, h2, h3 {
  margin: 0 0 0.5em;
  color: var(--navy);
  font-weight: 800;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.375rem, 1.55rem + 3.6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.875rem, 1.35rem + 2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
}
h3 {
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
p, ul, ol, dl, table, figure { margin: 0 0 1em; }
p { text-wrap: pretty; }
strong { font-weight: 750; }

a {
  color: var(--navy);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--teal-deep); text-decoration-thickness: 3px; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--butter);
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 100;
  padding: 14px 20px;
  background: var(--butter);
  color: var(--ink);
  font-weight: 700;
  border-radius: 10px;
}
.skip:focus { top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

mark.todo {
  background: var(--butter);
  color: var(--ink);
  font-weight: 700;
  padding: 0 0.25em;
  outline: 2px dashed var(--teal-deep);
  border-radius: 3px;
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 56px;
  padding: 0.75em 1.35em;
  border: 3px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-call {
  background: var(--teal);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}
.btn-call:hover {
  background: var(--teal-light);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 5px 0 var(--ink);
}
.btn-call:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn-call:focus-visible { box-shadow: 0 4px 0 var(--ink), 0 0 0 7px var(--butter); }

.btn-big {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  min-height: 68px;
  padding-inline: 1.5em;
}

.btn-quiet {
  background: transparent;
  color: var(--navy);
  border-color: currentColor;
}
.btn-quiet:hover { background: var(--mist); color: var(--navy); }

.btn-light {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--paper);
}
.btn-light:hover { background: var(--mist); color: var(--navy); }

/* ------------------------------------------------------------------ header */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--tint);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 84px;
}

.brand {
  display: block;
  margin-right: auto;
  padding: 6px 0;
}
.brand img { width: 200px; height: auto; }

.main-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  display: block;
  padding: 10px 11px;
  white-space: nowrap;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: 10px;
}
.main-nav a:hover { background: var(--mist); color: var(--navy); }
.main-nav a[aria-current="page"] {
  color: var(--navy);
  box-shadow: inset 0 -4px 0 var(--teal);
  border-radius: 0;
}

.header-call { min-height: 52px; padding-inline: 1.1em; white-space: nowrap; }

.menu-button {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.menu-button:hover { background: var(--mist); }
.menu-icon, .menu-icon span, .menu-icon span::before, .menu-icon span::after {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 2px;
}
.menu-icon { position: relative; height: 18px; }
.menu-icon span { position: absolute; top: 7.5px; background: currentColor; transition: background-color 150ms; }
.menu-icon span::before, .menu-icon span::after {
  content: "";
  position: absolute;
  left: 0;
  background: currentColor;
  transition: transform 200ms ease;
}
.menu-icon span::before { transform: translateY(-7px); }
.menu-icon span::after { transform: translateY(7px); }
.menu-button[aria-expanded="true"] .menu-icon span { background: transparent; }
.menu-button[aria-expanded="true"] .menu-icon span::before { transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon span::after { transform: rotate(-45deg); }

.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--mist);
  border-bottom: 4px solid var(--navy);
  box-shadow: 0 24px 40px -20px rgba(6, 27, 51, 0.45);
  padding-block: 16px 24px;
}
.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 4px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-list a {
  display: block;
  padding: 12px 8px;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--tint);
}
.menu-list a:hover { color: var(--teal-deep); }
.menu-list a[aria-current="page"] { color: var(--ink); box-shadow: inset 4px 0 0 var(--teal); padding-left: 16px; }

@media (max-width: 1199px) {
  .main-nav { display: none; }
  .menu-button { display: inline-flex; }
}
@media (min-width: 1200px) {
  .menu-panel { display: none; }
}

/* Phones: the call button moves to a bar that stays at the bottom of the screen. */
.call-bar { display: none; }

@media (max-width: 719px) {
  .header-call { display: none; }
  .header-inner { min-height: 72px; }
  .brand img { width: 180px; }
  .menu-button { padding: 0 16px; }
  .call-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--tint);
    box-shadow: 0 -8px 24px rgba(6, 27, 51, 0.12);
  }
  .call-bar .btn { width: 100%; font-size: 1.1875rem; }
  body { padding-bottom: 92px; }
}
@media (max-width: 380px) {
  .brand img { width: 158px; }
}

/* ------------------------------------------------------------------ sections */

.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: calc(var(--section) * 0.6); }

.section-intro { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-intro p { font-size: 1.25rem; color: var(--ink-soft); }

.lead {
  font-size: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);
  line-height: 1.5;
}

.more {
  font-weight: 700;
  font-size: 1.125rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 899px) {
  .split, .split--wide-left { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ home hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--paper);
  padding-block: clamp(44px, 7vw, 96px) clamp(110px, 13vw, 170px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.hero h1 {
  color: var(--paper);
  max-width: 15ch;
  margin-bottom: 0.45em;
}
.hero-lead {
  max-width: 34ch;
  margin-bottom: 1.4em;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-bottom: 32px;
}
.hero-actions .btn-call { border-color: var(--navy-deep); box-shadow: 0 5px 0 var(--navy-deep); }
.hero-actions .btn-call:hover { box-shadow: 0 6px 0 var(--navy-deep); }
.hero-actions .text-link {
  color: var(--paper);
  font-weight: 700;
  font-size: 1.1875rem;
}
.hero-actions .text-link:hover { color: var(--butter); }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}
.trust li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.trust li::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23FFE27A'/%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23061B33' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero-hills {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(64px, 9vw, 130px);
  pointer-events: none;
}

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 18ch; }
}

/* The visit note: the one thing every customer is left with. */
.note-wrap {
  position: relative;
  max-width: 430px;
  margin: 0 0 0 auto;
}
.hero-photo {
  width: 100%;
  border-radius: 24px;
  border: 6px solid var(--paper);
  transform: rotate(1.5deg);
}
.has-photo .note { margin: -110px 0 0 -36px; max-width: 88%; }

.note {
  position: relative;
  padding: 30px 28px 24px 40px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
  box-shadow: 0 22px 44px -12px rgba(4, 18, 31, 0.55);
  transform: rotate(-2.5deg);
  background-image: linear-gradient(90deg, transparent 26px, var(--coral) 26px, var(--coral) 28px, transparent 28px);
}
.note::before {
  /* a strip of tape holding the note on */
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 110px;
  height: 30px;
  margin-left: -55px;
  background: rgba(255, 226, 122, 0.88);
  transform: rotate(3deg);
  border-radius: 2px;
}
.note-title {
  margin-bottom: 0.6em;
  color: var(--navy);
  font-size: 1.375rem;
  font-weight: 800;
}
.note-done {
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}
.note-done li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 0.45em;
  line-height: 1.4;
}
.note-done li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 26px;
  height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 13l5 5L20 6' fill='none' stroke='%2306716F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.note-next-label {
  margin: 0 0 0.2em;
  color: var(--teal-deep);
  font-weight: 800;
}
.note-next { margin-bottom: 0.8em; line-height: 1.45; }
.note-sign {
  margin: 0;
  text-align: right;
  color: var(--navy);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 700;
}
.note-wrap figcaption {
  margin-top: 26px;
  color: var(--tint);
  font-size: 1rem;
  line-height: 1.45;
}

@media (max-width: 899px) {
  .note-wrap { margin: 8px auto 0 0; max-width: 400px; }
  .note { transform: rotate(-1.5deg); }
}

/* One orchestrated moment: the note is laid down, then each line is ticked off. */
@media (prefers-reduced-motion: no-preference) {
  .note { animation: note-in 700ms cubic-bezier(0.2, 0.8, 0.2, 1) 200ms both; }
  .note-done li::before { animation: tick-in 380ms cubic-bezier(0.3, 1.6, 0.5, 1) both; }
  .note-done li:nth-child(1)::before { animation-delay: 900ms; }
  .note-done li:nth-child(2)::before { animation-delay: 1150ms; }
  .note-done li:nth-child(3)::before { animation-delay: 1400ms; }
}
@keyframes note-in {
  from { opacity: 0; transform: translateY(36px) rotate(-9deg); }
}
@keyframes tick-in {
  from { opacity: 0; transform: scale(0.2) rotate(-30deg); }
}

/* ------------------------------------------------------------------ fixed-price tiles */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.tile a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "ask price" "what what";
  align-items: start;
  gap: 10px 16px;
  height: 100%;
  padding: 24px 24px 26px;
  border: 3px solid transparent;
  border-radius: 20px;
  background: var(--tile, var(--lilac));
  color: var(--ink);
  text-decoration: none;
}
.tile a:hover { border-color: var(--ink); color: var(--ink); }
.tile a:hover .tile-ask { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.tile-ask { grid-area: ask; font-size: 1.375rem; font-weight: 800; line-height: 1.2; }
.tile-price { grid-area: price; font-size: 2.125rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.tile-what { grid-area: what; font-size: 1.0625rem; line-height: 1.45; }

.tile--sky, .service--sky { --tile: var(--sky); }
.tile--butter, .service--butter { --tile: var(--butter); }
.tile--coral, .service--coral { --tile: var(--coral); }
.tile--aqua, .service--aqua { --tile: var(--aqua); }
.tile--lilac, .service--lilac { --tile: var(--lilac); }
.tile--peach, .service--peach { --tile: var(--peach); }

@media (max-width: 999px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .tiles { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tile a { padding: 16px 18px; align-items: center; }
  .tile-ask { font-size: 1.1875rem; }
  .tile-price { font-size: 1.75rem; }
  .tile-what { display: none; }
}

/* ------------------------------------------------------------------ problems in customers' words */

.bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bubbles li {
  padding: 12px 18px 13px;
  border-radius: 22px 22px 22px 6px;
  background: var(--sky);
  font-size: 1.125rem;
  line-height: 1.4;
}
.bubbles li:nth-child(3n + 2) { background: var(--butter); }
.bubbles li:nth-child(3n) { background: var(--coral); }
.bubbles a { color: var(--ink); }

.help-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--tint);
}
.help-list li {
  padding: 14px 0;
  border-bottom: 2px solid var(--tint);
}
.help-list strong {
  display: block;
  color: var(--navy);
  font-size: 1.1875rem;
}

/* ------------------------------------------------------------------ how a visit works (a real sequence) */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--teal);
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 800;
}
.steps h3 { margin-bottom: 0.35em; }
.steps p { margin: 0; }
@media (max-width: 999px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; }
  .steps li::before { grid-row: span 2; margin: 0; }
}

/* ------------------------------------------------------------------ "Your accounts stay yours" */

.rules {
  background: var(--navy);
  color: var(--paper);
}
.rules h2 { color: var(--paper); }
.rules a { color: var(--paper); }
.rules a:hover { color: var(--butter); }
.rule-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 48px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  font-size: 1.25rem;
  line-height: 1.45;
}
.rule-list li {
  position: relative;
  padding-left: 44px;
}
.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23FFE27A'/%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23061B33' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 799px) {
  .rule-list { grid-template-columns: minmax(0, 1fr); font-size: 1.1875rem; }
}

/* ------------------------------------------------------------------ panels */

.panel {
  padding: clamp(24px, 4vw, 44px);
  border-radius: 24px;
  background: var(--butter);
}
.panel h2, .panel h3 { color: var(--ink); }
.panel--mist { background: var(--mist); }
.panel--mist h2, .panel--mist h3 { color: var(--navy); }
.panel > :last-child { margin-bottom: 0; }

.portrait {
  width: 100%;
  max-width: 360px;
  margin-bottom: 24px;
  border-radius: 24px;
}

.callout {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 8px solid var(--teal);
  border-radius: 0 16px 16px 0;
  background: var(--mist);
}
.callout > :last-child { margin-bottom: 0; }
.callout h2, .callout h3 { margin-bottom: 0.3em; }

/* ------------------------------------------------------------------ closing call band */

.call-band {
  background: var(--mist);
  border-top: 6px solid var(--teal);
}
.call-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: center;
}
.call-band h2 { margin-bottom: 0.25em; }
.call-band p { max-width: 40rem; margin-bottom: 0; }
.big-number {
  display: inline-block;
  color: var(--navy);
  font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}
@media (max-width: 799px) {
  .call-band-inner { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ inner pages */

.page-hero {
  background: var(--mist);
  padding-block: clamp(40px, 6vw, 80px) clamp(36px, 5vw, 64px);
  border-bottom: 6px solid var(--navy);
}
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 40rem; margin-bottom: 0; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 28px; }

.prose { max-width: 44rem; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose ul, .prose ol { padding-left: 1.4em; }

.ticks, .crosses, .ready {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticks li, .crosses li, .ready li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 0.55em;
  line-height: 1.45;
}
.ticks li::before, .crosses li::before, .ready li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 24px;
  height: 24px;
  background: center / contain no-repeat;
}
.ticks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%2306716F'/%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.crosses li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%2346586C'/%3E%3Cpath d='M8 8l8 8M16 8l-8 8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.ready li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' fill='%23fff' stroke='%230B2D50' stroke-width='2.6'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ set-up services */

.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--tint);
}
.service-nav a:hover { border-color: var(--navy); }

.service {
  margin-bottom: clamp(28px, 4vw, 48px);
  padding: clamp(24px, 4vw, 44px);
  border-radius: 24px;
  border: 3px solid var(--tile);
  background: var(--paper);
  scroll-margin-top: 24px;
}
.service-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin: calc(-1 * clamp(24px, 4vw, 44px)) calc(-1 * clamp(24px, 4vw, 44px)) 24px;
  padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 44px);
  border-radius: 20px 20px 0 0;
  background: var(--tile);
}
.service-head h2 { margin: 0; color: var(--ink); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
.service-price { margin: 0; color: var(--ink); }
.service-price strong { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; }
.service-price span { display: block; font-size: 1rem; font-weight: 650; }
.service-summary { font-size: 1.3125rem; line-height: 1.5; max-width: 44rem; }
.service-extra { font-weight: 700; }
.service-lists {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px 40px;
  margin: 28px 0;
}
.service-lists h3 { font-size: 1.1875rem; color: var(--ink); }
.service-book { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin: 0; }
@media (max-width: 899px) {
  .service-lists { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ price tables */

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}
.price-table caption {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  font-weight: 800;
  text-align: left;
}
.price-table th, .price-table td {
  padding: 16px 14px 16px 0;
  border-bottom: 2px solid var(--tint);
  text-align: left;
  vertical-align: top;
}
.price-table thead th {
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 700;
  border-bottom-color: var(--navy);
}
.price-table tbody th { font-weight: 700; }
.price-table .num {
  font-size: 1.375rem;
  font-weight: 800;
  white-space: nowrap;
  color: var(--navy);
}
.price-table .sub th { font-weight: 400; padding-left: 20px; }
@media (max-width: 639px) {
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
    padding: 14px 0;
    border-bottom: 2px solid var(--tint);
  }
  .price-table th, .price-table td { padding: 0; border: 0; }
  .price-table td:last-child { grid-column: 1 / -1; color: var(--ink-soft); }
  .price-table .sub th { padding-left: 0; }
}

/* ------------------------------------------------------------------ service area */

.area-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 899px) { .area-tools { grid-template-columns: minmax(0, 1fr); } }

.area-map {
  margin: 0;
  padding: 12px;
  border-radius: 24px;
  background: var(--mist);
}
.area-map svg { width: 100%; }
.area-map figcaption { padding: 8px 8px 4px; font-size: 1rem; color: var(--ink-soft); }
.map-place {
  fill: var(--ink);
  font-family: var(--font);
  font-size: 19px;
  font-weight: 700;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 5px;
  stroke-linejoin: round;
}
.map-town { font-size: 24px; font-weight: 800; fill: var(--navy); }
.map-ask { fill: var(--amber-deep); font-weight: 650; }
.map-road, .map-river { font-family: var(--font); font-size: 16px; font-weight: 700; fill: var(--ink-soft); }
.map-river { fill: #3C78B5; }
.map-key { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 4px 8px 0; list-style: none; font-size: 1rem; }
.map-key li { display: flex; align-items: center; gap: 8px; }
.map-key li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--teal-deep); background: var(--teal); }
.map-key li.ask::before { border-color: var(--amber-deep); background: #fff; }

.field-row { display: flex; flex-wrap: wrap; gap: 12px; }
.area-result {
  min-height: 1.6em;
  margin: 14px 0 24px;
  font-size: 1.25rem;
  font-weight: 700;
}
.area-result.is-yes { color: var(--teal-deep); }
.area-result.is-ask { color: var(--amber-deep); }
.place-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.place-list li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--aqua);
  font-weight: 650;
}
.place-list--ask li { background: var(--peach); }
.place-list li.is-match { outline: 3px solid var(--ink); }

/* ------------------------------------------------------------------ questions and answers */

.faq {
  border-bottom: 2px solid var(--tint);
}
.faq:first-of-type { border-top: 2px solid var(--tint); }
.faq summary {
  position: relative;
  padding: 20px 56px 20px 0;
  color: var(--navy);
  font-size: 1.3125rem;
  font-weight: 750;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230B2D50' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.faq[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12h12' stroke='%230B2D50' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq summary:hover { color: var(--teal-deep); }
.faq-answer { padding: 0 0 20px; max-width: 44rem; }
.faq-answer > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ forms */

.form { max-width: 40rem; }
.field { margin-bottom: 24px; }
.field > label, fieldset > legend, .label {
  display: block;
  margin-bottom: 6px;
  font-weight: 750;
  font-size: 1.1875rem;
}
.hint { display: block; margin: -2px 0 8px; color: var(--ink-soft); font-size: 1rem; font-weight: 400; }
.optional { color: var(--ink-soft); font-weight: 400; }
input[type="text"], input[type="tel"], input[type="email"], input[type="search"], select, textarea {
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  border: 2px solid var(--ink-soft);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.1875rem;
}
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--ink); border-radius: 12px; }
input.short { max-width: 14rem; }
fieldset { margin: 0 0 24px; padding: 0; border: 0; }
.checks { margin: 0; padding: 0; list-style: none; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  font-size: 1.125rem;
  cursor: pointer;
}
.field > .check { display: flex; margin: 0; font-size: 1.125rem; font-weight: 400; }
.check input {
  width: 28px;
  height: 28px;
  margin: 0;
  flex: none;
  accent-color: var(--navy);
}
.field-error {
  display: block;
  margin-top: 6px;
  color: var(--error);
  font-weight: 700;
}
[aria-invalid="true"] { border-color: var(--error) !important; }
.form-status {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 14px;
  font-weight: 700;
}
.form-status:empty { display: none; }
.form-status.is-ok { background: var(--aqua); color: var(--ink); }
.form-status.is-error { background: #FDE2DF; color: var(--error); }
.form-note { font-size: 1rem; color: var(--ink-soft); }

.contact-ways { margin: 0; padding: 0; list-style: none; }
.contact-ways li { margin-bottom: 28px; }
.contact-ways .big-number { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); }

/* ------------------------------------------------------------------ legal pages */

.legal .prose { max-width: 46rem; }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.legal th, .legal td { padding: 12px 12px 12px 0; border-bottom: 2px solid var(--tint); text-align: left; vertical-align: top; }
.legal thead th { border-bottom-color: var(--navy); }
.model-form {
  margin: 24px 0;
  padding: 24px 28px;
  border: 3px dashed var(--navy);
  border-radius: 16px;
  background: var(--paper);
}
.model-form p { margin-bottom: 0.9em; }
.updated { color: var(--ink-soft); }

/* ------------------------------------------------------------------ footer */

.site-footer {
  background: var(--navy-deep);
  color: var(--paper);
  padding-block: clamp(48px, 6vw, 80px) 32px;
}
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--butter); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px 48px;
  padding-bottom: 40px;
}
.footer-brand { margin-bottom: 0.8em; }
.footer-brand img { width: 240px; height: auto; }
.footer-phone { margin-bottom: 0.2em; font-size: 1.75rem; font-weight: 800; }
.footer-phone a { text-decoration: none; }
.footer-heading { margin-bottom: 0.6em; color: var(--butter); font-weight: 800; font-size: 1.25rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 10px; }
.footer-legal {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--tint);
  font-size: 1rem;
}
.footer-legal p { max-width: 60rem; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 1em !important; }
.footer-legal-links a { font-weight: 700; }
@media (max-width: 799px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-about { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ 404 */

.not-found { text-align: left; }

/* ------------------------------------------------------------------ print */

@media print {
  .site-header, .call-bar, .site-footer, .skip, .page-hero-actions { display: none !important; }
  body { padding: 0; font-size: 12pt; }
  .page-hero { background: none; border: 0; padding: 0 0 12pt; }
  a { color: inherit; }
}
