:root {
  color-scheme: light;
  --ink: #101d2b;
  --cream: #f7f1e5;
  --paper: #fffdf7;
  --amber: #efaa22;
  --blue: #65a9d5;
  --line: #24374a;
  --muted: #5d6670;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --page: min(100% - 3rem, 88rem);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
}

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

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-padding-top: 6rem;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 19rem;
  max-width: 100%;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.cost-band :focus-visible,
.contact-shell :focus-visible {
  outline-color: var(--amber);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -8rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 5.25rem;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(16, 29, 43, 0.2);
  background: rgba(247, 241, 229, 0.96);
  backdrop-filter: blur(12px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.wordmark-mark {
  position: relative;
  display: block;
  width: 1.7rem;
  height: 1.35rem;
  border-bottom: 0.28rem solid var(--ink);
}

.wordmark-mark::before,
.wordmark-mark::after {
  position: absolute;
  bottom: -0.48rem;
  width: 0.43rem;
  height: 0.43rem;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.wordmark-mark::before {
  left: 0.05rem;
}

.wordmark-mark::after {
  right: 0.05rem;
}

.wordmark-mark span:first-child {
  position: absolute;
  left: 0.15rem;
  bottom: 0.16rem;
  width: 0.35rem;
  height: 0.65rem;
  background: var(--ink);
  transform: skew(-24deg);
}

.wordmark-mark span:last-child {
  position: absolute;
  left: 0.35rem;
  bottom: 0.4rem;
  width: 1.25rem;
  border-top: 0.2rem solid var(--ink);
  transform: rotate(-8deg);
}

.site-header nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.6rem);
}

.site-header nav a,
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 2.75rem;
  padding: 0.78rem 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 2px;
  background: var(--amber);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

.site-header > .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.82rem 1.25rem;
  border: 1px solid var(--ink);
  border-radius: 0.15rem;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0.22rem 0.22rem 0 var(--ink);
  transition: box-shadow 140ms ease, transform 140ms ease;
}

.button:hover {
  box-shadow: 0.08rem 0.08rem 0 var(--ink);
  transform: translate(0.12rem, 0.12rem);
}

.button-small {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
}

.button-amber {
  background: var(--amber);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(25rem, 1.1fr);
  align-items: center;
  width: var(--page);
  min-height: calc(100svh - 5.25rem);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 7rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 48rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.97;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.8rem;
  font-size: clamp(4.25rem, 7.2vw, 7.5rem);
}

.hero-intro {
  max-width: 35rem;
  margin-bottom: 2rem;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.6rem;
}

.text-link span {
  color: var(--amber);
  font-size: 1.15rem;
}

.local-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.local-note span {
  color: var(--blue);
  font-size: 1.25rem;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 34rem;
}

.hero-visual::before {
  position: absolute;
  top: 7%;
  right: 3%;
  bottom: 5%;
  left: 8%;
  border: 1px solid rgba(16, 29, 43, 0.16);
  border-radius: 50%;
  content: "";
  transform: rotate(-8deg);
}

.hero-visual picture {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(120%, 54rem);
  max-width: none;
  transform: translate(-47%, -49%);
}

.hero-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0.8rem 1.1rem 0 rgba(16, 29, 43, 0.11));
}

.route {
  position: absolute;
  z-index: 1;
  border-color: var(--blue);
  opacity: 0.9;
}

.route-a {
  top: 15%;
  left: 3%;
  width: 49%;
  height: 28%;
  border-top: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
}

.route-b {
  right: 0;
  bottom: 13%;
  width: 43%;
  height: 24%;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
}

.route-dot {
  position: absolute;
  z-index: 3;
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 1px var(--ink);
}

.route-dot-a {
  top: 14.3%;
  left: 2.5%;
}

.route-dot-b {
  right: -0.35rem;
  bottom: 12.2%;
}

.visual-label {
  position: absolute;
  z-index: 4;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.visual-label-a {
  top: 11%;
  left: 10%;
}

.visual-label-b {
  right: 4%;
  bottom: 8%;
}

.symptom-section {
  padding: clamp(4rem, 7vw, 7rem) max(1.5rem, calc((100% - 88rem) / 2));
  border-top: 1px solid rgba(16, 29, 43, 0.22);
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 4rem;
}

.section-number,
.section-kicker {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2,
.contact-shell h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.section-heading p:last-child {
  max-width: 39rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.symptom-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.symptom-rail button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 11rem;
  padding: 1.25rem 1.1rem 1.4rem;
  border: 0;
  border-right: 1px solid rgba(16, 29, 43, 0.3);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.symptom-rail button:last-child {
  border-right: 0;
}

.symptom-rail button::after {
  position: absolute;
  right: 0.8rem;
  bottom: -0.35rem;
  left: 0.8rem;
  height: 0.7rem;
  background: var(--amber);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 170ms ease;
}

.symptom-rail button:hover::after,
.symptom-rail button:focus-visible::after,
.symptom-rail button[aria-pressed="true"]::after {
  transform: scaleX(1);
}

.symptom-rail button[aria-pressed="true"] {
  z-index: 1;
  background: rgba(239, 170, 34, 0.08);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.symptom-rail button > span:last-child {
  max-width: 10ch;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.choice-number {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.repair-map,
.sales-section {
  padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100% - 88rem) / 2));
}

.repair-map {
  border-bottom: 1px solid rgba(16, 29, 43, 0.22);
}

.section-heading-wide {
  grid-template-columns: 4rem minmax(0, 1fr);
  max-width: 75rem;
}

.section-heading-wide h2 {
  max-width: 16ch;
}

.repair-ledger {
  display: grid;
  grid-template-columns: minmax(16rem, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(2rem, 6vw, 7rem);
  margin-top: 5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ledger-intro {
  padding: 1.5rem 0 2.2rem;
}

.ledger-statement {
  max-width: 23rem;
  margin: 3.2rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.repair-ledger ul {
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
  list-style: none;
}

.repair-ledger li {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: baseline;
  min-height: 5.8rem;
  padding: 1.25rem 0 1.25rem 2rem;
  border-bottom: 1px solid rgba(16, 29, 43, 0.24);
}

.repair-ledger li:last-child {
  border-bottom: 0;
}

.repair-ledger li span {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.repair-ledger li small {
  color: var(--muted);
  font-size: 0.93rem;
}

.repair-caveat {
  max-width: 48rem;
  margin: 3rem 0 0 auto;
  padding-left: 1.5rem;
  border-left: 0.45rem solid var(--amber);
  color: var(--muted);
  font-size: 1rem;
}

.service-route {
  margin-top: clamp(5rem, 10vw, 10rem);
}

.route-heading {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

.route-heading h3 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4.3vw, 4.2rem);
}

.service-route ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-route ol::before {
  position: absolute;
  top: 1.15rem;
  right: 8%;
  left: 8%;
  height: 2px;
  background: var(--blue);
  content: "";
}

.service-route li {
  position: relative;
  z-index: 1;
}

.route-number {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 2.3rem;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--cream);
  font-size: 0.68rem;
  font-weight: 850;
}

.service-route li:nth-child(2) .route-number {
  background: var(--blue);
}

.service-route li:nth-child(3) .route-number {
  border-color: var(--amber);
  background: var(--amber);
}

.service-route strong {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.service-route li p {
  max-width: 21rem;
  margin-bottom: 0;
  color: var(--muted);
}

.cost-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
  gap: clamp(4rem, 10vw, 11rem);
  padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100% - 88rem) / 2));
  background: var(--ink);
  color: var(--paper);
}

.cost-title-block {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.cost-band .section-kicker {
  margin-bottom: 2rem;
  color: var(--blue);
}

.cost-band h2 {
  max-width: 10ch;
  margin-bottom: 0;
  font-size: clamp(3.2rem, 6.2vw, 6.4rem);
}

.cost-details {
  border-top: 1px solid rgba(255, 253, 247, 0.55);
}

.cost-rule {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 1.5rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid rgba(255, 253, 247, 0.28);
}

.cost-rule strong {
  color: var(--amber);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cost-rule p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.support-note {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding: 2rem;
  border: 1px solid var(--amber);
  background: rgba(239, 170, 34, 0.08);
}

.support-note > span {
  color: var(--amber);
  font-size: 2rem;
  line-height: 1;
}

.support-note h3 {
  margin-bottom: 0.7rem;
  font-size: 1.85rem;
}

.support-note p {
  margin-bottom: 0;
  color: #dce2e7;
}

.sales-section {
  background: var(--paper);
}

.sales-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  gap: clamp(3rem, 8vw, 9rem);
  margin-top: 5rem;
}

.sourcing-panel,
.demo-panel {
  position: relative;
}

.sourcing-panel {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sourcing-panel::after {
  position: absolute;
  right: -2.5rem;
  bottom: 1.2rem;
  width: 6rem;
  height: 6rem;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  content: "";
  opacity: 0.75;
}

.sales-layout h3 {
  margin: 1.5rem 0 1rem;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
}

.sourcing-panel > p:not(.section-kicker) {
  max-width: 42rem;
  font-size: 1.08rem;
}

.sourcing-panel dl {
  margin: 3rem 0 0;
}

.sourcing-panel dl > div {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 1.4rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(16, 29, 43, 0.25);
}

.sourcing-panel dt {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sourcing-panel dd {
  margin: 0;
}

.demo-panel {
  padding: 2rem;
  border: 2px dashed var(--blue);
  background: rgba(101, 169, 213, 0.07);
}

.date-mark {
  position: absolute;
  top: -2rem;
  right: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  color: rgba(16, 29, 43, 0.12);
  font-family: var(--serif);
  line-height: 1;
  transform: rotate(-3deg);
}

.date-mark span {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.date-mark strong {
  font-size: clamp(4.5rem, 8vw, 7rem);
}

.demo-panel h3 {
  position: relative;
  max-width: 12ch;
  margin-top: 6.5rem;
  font-size: clamp(2rem, 3.4vw, 3.3rem);
}

.demo-panel > p:not(.section-kicker) {
  color: var(--muted);
}

.motability-notice {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 7rem);
  margin-top: clamp(5rem, 9vw, 9rem);
  padding-top: 2rem;
  border-top: 0.55rem solid var(--blue);
}

.motability-notice h3 {
  margin: 1rem 0 0;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
}

.motability-notice > div:last-child {
  max-width: 48rem;
}

.motability-notice > div:last-child p {
  font-size: 1.03rem;
}

.continuity-section {
  position: relative;
  overflow: clip;
  padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100% - 88rem) / 2));
  border-top: 1px solid rgba(16, 29, 43, 0.22);
  background:
    linear-gradient(90deg, rgba(101, 169, 213, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(101, 169, 213, 0.08) 1px, transparent 1px),
    var(--cream);
  background-size: 3rem 3rem;
  scroll-margin-top: 6rem;
}

.continuity-section::before {
  position: absolute;
  top: 4rem;
  right: -5rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(16, 29, 43, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 3rem rgba(101, 169, 213, 0.05),
    0 0 0 6rem rgba(101, 169, 213, 0.035);
  content: "";
}

.continuity-heading {
  position: relative;
  z-index: 1;
}

.continuity-heading .section-kicker {
  margin-bottom: 1.2rem;
  color: #336f98;
}

.continuity-heading h2 {
  max-width: 13ch;
}

.continuity-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 5rem;
}

.loan-card,
.breakdown-card {
  min-width: 0;
}

.loan-card {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0.75rem 0.75rem 0 rgba(16, 29, 43, 0.12);
}

.fleet-stamp {
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: grid;
  padding: 0.55rem 0.75rem;
  border: 2px solid var(--blue);
  color: #336f98;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(3deg);
}

.fleet-stamp strong {
  color: var(--ink);
  font-size: 0.76rem;
}

.loan-card h3,
.breakdown-card h3,
.community-board h3 {
  margin: 3rem 0 1.25rem;
  font-size: clamp(2.5rem, 4.6vw, 4.8rem);
}

.loan-card h3 {
  max-width: 10ch;
}

.loan-card > p:not(.section-kicker, .availability-note) {
  max-width: 37rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.fleet-uses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 2.5rem 0;
  padding: 0;
  border-top: 1px solid rgba(16, 29, 43, 0.35);
  list-style: none;
}

.fleet-uses li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.5rem;
  min-height: 5.5rem;
  padding: 1rem 0.75rem 1rem 0;
  border-bottom: 1px solid rgba(16, 29, 43, 0.25);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.15;
}

.fleet-uses li:nth-child(odd) {
  border-right: 1px solid rgba(16, 29, 43, 0.25);
}

.fleet-uses li:nth-child(even) {
  padding-left: 0.75rem;
}

.fleet-uses span {
  color: #336f98;
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.availability-note {
  margin-bottom: 0;
  padding: 1rem 0 0 1.25rem;
  border-left: 0.4rem solid var(--amber);
  color: var(--muted);
  font-size: 0.88rem;
}

.continuity-action {
  margin-top: 2rem;
  cursor: pointer;
}

.continuity-action[aria-pressed="true"] {
  box-shadow: 0.08rem 0.08rem 0 var(--ink);
  transform: translate(0.12rem, 0.12rem);
}

.breakdown-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: -0.75rem 0.75rem 0 rgba(101, 169, 213, 0.25);
}

.breakdown-card :focus-visible {
  outline-color: var(--amber);
}

.alert-ribbon {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0;
  padding: 0.9rem 1.25rem;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.alert-ribbon span {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.breakdown-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.breakdown-card .section-kicker {
  color: var(--blue);
}

.breakdown-card h3 {
  max-width: 9ch;
  margin-top: 1.5rem;
}

.breakdown-card h3 + p {
  max-width: 39rem;
  color: #dce2e7;
  font-size: 1.05rem;
}

.emergency-note {
  margin: 0.2rem 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--amber);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 700;
}

.scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 2rem;
}

.scope-list span {
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(255, 253, 247, 0.35);
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scope-limit {
  margin: auto 0 0;
  padding: 1.1rem 0 0 1.25rem;
  border-left: 0.4rem solid var(--blue);
  color: #c7d0d8;
  font-size: 0.87rem;
}

.service-notes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.76);
}

.service-notes details {
  min-width: 0;
  border-right: 1px solid rgba(16, 29, 43, 0.32);
}

.service-notes details:last-child {
  border-right: 0;
}

.service-notes summary {
  position: relative;
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.7rem;
  align-items: baseline;
  min-height: 7rem;
  padding: 1.5rem;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  list-style: none;
}

.service-notes summary::-webkit-details-marker {
  display: none;
}

.service-notes summary span {
  color: #336f98;
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.service-notes summary::after {
  color: var(--amber);
  content: "+";
  font-family: var(--sans);
  font-size: 1.5rem;
  line-height: 0.8;
}

.service-notes details[open] summary::after {
  content: "−";
}

.service-notes details[open] summary {
  border-bottom: 1px solid rgba(16, 29, 43, 0.25);
}

.service-notes details > div {
  padding: 1.5rem;
}

.service-notes details p {
  color: var(--muted);
  font-size: 0.88rem;
}

.service-notes details p:last-child {
  margin-bottom: 0;
}

.service-notes .rights-note {
  padding: 0.8rem 0 0 1rem;
  border-left: 0.3rem solid var(--amber);
  color: var(--ink);
  font-weight: 800;
}

.community-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(13rem, 0.65fr) minmax(15rem, 0.75fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-top: clamp(4rem, 7vw, 7rem);
  padding: clamp(2rem, 4vw, 4rem);
  border: 1px solid var(--line);
  background: var(--amber);
  box-shadow: 0.75rem 0.75rem 0 var(--ink);
}

.community-callout {
  align-self: stretch;
  display: grid;
  align-content: center;
  min-height: 13rem;
  padding: 1.5rem;
  border: 2px dashed var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.community-callout strong {
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  text-transform: none;
}

.community-board h3 {
  margin-top: 1.5rem;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.community-copy p {
  font-size: 0.95rem;
}

.community-copy .continuity-action {
  background: var(--paper);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(4rem, 8vw, 8rem) max(1.5rem, calc((100% - 88rem) / 2));
  background: var(--ink);
  color: var(--paper);
  scroll-margin-top: 6rem;
}

.contact-shell h2 {
  margin-top: 0.7rem;
}

.contact-heading > p:not(.section-kicker) {
  max-width: 32rem;
  color: #c7d0d8;
  font-size: 1.03rem;
}

.contact-shell .section-kicker {
  color: var(--blue);
}

.contact-state {
  align-self: center;
  max-width: 38rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 253, 247, 0.5);
  border-bottom: 1px solid rgba(255, 253, 247, 0.25);
}

#contact-context {
  margin-bottom: 1.25rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.3;
}

#contact-pending {
  margin-bottom: 0;
  color: #c7d0d8;
}

.message-prompts {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.message-prompts li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  align-items: baseline;
}

.message-prompts li::before {
  color: var(--amber);
  content: "+";
  font-weight: 900;
}

.connection-state {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 253, 247, 0.2);
  font-size: 0.86rem;
}

.connection-state span {
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--amber);
  border-radius: 50%;
}

.privacy-note {
  margin: 1.5rem 0 0;
  color: #aebac4;
  font-size: 0.78rem;
}

.tool-line {
  display: flex;
  gap: 1rem;
  align-items: end;
  width: min(100%, 25rem);
  height: 6rem;
  margin-top: 4rem;
  border-bottom: 1px solid rgba(255, 253, 247, 0.4);
}

.tool-line span {
  display: block;
  width: 1.25rem;
  border: 1px solid var(--blue);
  border-bottom: 0;
}

.tool-line span:nth-child(1) {
  height: 4rem;
  transform: skew(-9deg);
}

.tool-line span:nth-child(2) {
  width: 3.2rem;
  height: 2rem;
  border-color: var(--amber);
}

.tool-line span:nth-child(3) {
  height: 5rem;
  transform: rotate(8deg);
}

.tool-line span:nth-child(4) {
  width: 5rem;
  height: 1.4rem;
}

#odoo-link[href=""] {
  display: none;
}

#odoo-link:not([href=""]) ~ #contact-pending {
  display: none;
}

#odoo-frame-shell iframe {
  width: 100%;
  min-height: 42rem;
  border: 0;
  background: var(--paper);
}

footer {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem max(1.5rem, calc((100% - 88rem) / 2));
  border-top: 1px solid rgba(16, 29, 43, 0.2);
  background: var(--cream);
  font-size: 0.8rem;
}

footer p {
  max-width: 35rem;
  margin-bottom: 0;
  color: var(--muted);
}

footer > a:last-child {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25rem;
}

.wordmark-footer {
  font-size: 1.2rem;
}

@media (max-width: 68rem) {
  html {
    scroll-padding-top: 8rem;
  }

  .site-header {
    grid-template-areas:
      "brand action"
      "nav nav";
    grid-template-columns: 1fr auto;
    row-gap: 0.35rem;
    padding-top: 0.45rem;
  }

  .site-header > .wordmark {
    grid-area: brand;
  }

  .site-header > .button {
    grid-area: action;
  }

  .site-header nav {
    grid-area: nav;
    grid-column: 1 / -1;
    display: flex;
    gap: 1.6rem;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    border-top: 1px solid rgba(16, 29, 43, 0.16);
    scrollbar-width: none;
    white-space: nowrap;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .site-header nav a {
    flex: 0 0 auto;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(23rem, 0.9fr);
  }

  h1 {
    font-size: clamp(3.8rem, 7.5vw, 6rem);
  }

  .cost-band,
  .sales-layout,
  .community-board {
    gap: 4rem;
  }
}

@media (max-width: 52rem) {
  :root {
    --page: min(100% - 2rem, 44rem);
  }

  .site-header {
    min-height: 4.6rem;
    padding: 0.55rem 1rem 0;
  }

  .site-header nav {
    gap: 1.25rem;
    margin: 0 -1rem;
    padding: 0 1rem;
  }

  .site-header nav a {
    font-size: 0.72rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 4.25rem;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.65rem, 14vw, 6.2rem);
  }

  .hero-visual {
    min-height: min(31rem, 74vw);
    margin-top: 2rem;
  }

  .hero-visual picture {
    width: 105%;
  }

  .symptom-rail {
    grid-template-columns: 1fr 1fr;
  }

  .symptom-rail button {
    min-height: 9rem;
    border-bottom: 1px solid rgba(16, 29, 43, 0.3);
  }

  .symptom-rail button:nth-child(2n) {
    border-right: 0;
  }

  .symptom-rail button:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .repair-ledger,
  .cost-band,
  .sales-layout,
  .motability-notice,
  .continuity-grid,
  .community-board {
    grid-template-columns: 1fr;
  }

  .repair-ledger {
    gap: 0;
  }

  .ledger-intro {
    padding-bottom: 3rem;
  }

  .ledger-statement {
    margin-top: 2rem;
  }

  .repair-ledger ul {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .repair-ledger li {
    padding-left: 0;
  }

  .route-heading {
    grid-template-columns: 1fr;
  }

  .service-route ol {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-route ol::before {
    top: 1rem;
    bottom: 1rem;
    left: 1.15rem;
    width: 2px;
    height: auto;
  }

  .service-route li {
    min-height: 10rem;
    padding-left: 4.5rem;
  }

  .route-number {
    position: absolute;
    top: 0;
    left: 0;
    margin-bottom: 0;
  }

  .cost-title-block {
    position: static;
  }

  .cost-band h2 {
    max-width: 12ch;
  }

  .sourcing-panel::after {
    right: 0;
  }

  .demo-panel {
    margin-top: 2rem;
  }

  .motability-notice {
    gap: 2rem;
  }

  .continuity-section {
    scroll-margin-top: 8rem;
  }

  .service-notes {
    grid-template-columns: 1fr;
  }

  .service-notes details {
    border-right: 0;
    border-bottom: 1px solid rgba(16, 29, 43, 0.32);
  }

  .service-notes details:last-child {
    border-bottom: 0;
  }

  .community-board {
    gap: 2rem;
  }

  .community-callout {
    min-height: 8rem;
  }

  .contact-shell {
    grid-template-columns: 1fr;
    gap: 2rem;
    scroll-margin-top: 8rem;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 36rem) {
  .wordmark {
    font-size: 1.25rem;
  }

  .site-header .button-small {
    padding-inline: 0.7rem;
    font-size: 0.73rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .text-link {
    width: fit-content;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .section-heading-wide h2 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  .symptom-rail {
    grid-template-columns: 1fr;
  }

  .symptom-rail button,
  .symptom-rail button:nth-child(2n) {
    min-height: 7.5rem;
    border-right: 0;
  }

  .symptom-rail button:last-child {
    grid-column: auto;
  }

  .repair-ledger li,
  .cost-rule,
  .sourcing-panel dl > div {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .repair-caveat {
    margin-top: 2rem;
  }

  .cost-band h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .support-note {
    grid-template-columns: 1fr;
    padding: 1.4rem;
  }

  .demo-panel {
    padding: 1.35rem;
  }

  .date-mark {
    right: 0.5rem;
  }

  .demo-panel h3 {
    margin-top: 5.5rem;
  }

  .loan-card,
  .breakdown-copy,
  .community-board {
    padding: 1.35rem;
  }

  .fleet-stamp {
    position: static;
    width: fit-content;
    margin: 0 0 2rem auto;
  }

  .loan-card h3 {
    margin-top: 1.5rem;
  }

  .fleet-uses {
    grid-template-columns: 1fr;
  }

  .fleet-uses li,
  .fleet-uses li:nth-child(odd),
  .fleet-uses li:nth-child(even) {
    min-height: 4.5rem;
    padding: 0.9rem 0;
    border-right: 0;
  }

  .service-notes summary {
    min-height: 5.5rem;
    padding: 1.2rem;
  }

  .service-notes details > div {
    padding: 1.2rem;
  }

  .tool-line {
    margin-top: 2rem;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer p,
  footer > a:last-child {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (forced-colors: active) {
  .symptom-rail button[aria-pressed="true"] {
    outline: 3px solid Highlight;
    outline-offset: -4px;
    background: Canvas;
    color: CanvasText;
    forced-color-adjust: auto;
  }

  .symptom-rail button[aria-pressed="true"]::after {
    background: Highlight;
  }

  .breakdown-card,
  .community-board,
  .loan-card,
  .service-notes {
    border: 2px solid CanvasText;
    background: Canvas;
    color: CanvasText;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
