/* Fox Piper, foxpiper.com.au
   Light, warm and plain spoken. Forest green for structure, fox rust for the single action colour. */

:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1.4rem + 3.4vw, 4.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces: warm white with a faint stone tint */
  --color-bg: #fbfaf7;
  --color-surface: #ffffff;
  --color-surface-2: #f7f5f0;
  --color-surface-offset: #f1eee8;
  --color-tint: #eef3ee;
  --color-tint-2: #e3ebe4;
  --color-divider: #e4e0d8;
  --color-border: oklch(from #1c2622 l c h / 0.14);
  --color-border-soft: oklch(from #1c2622 l c h / 0.08);

  /* Text */
  --color-text: #1c2622;
  --color-text-muted: #5b6660;
  --color-text-faint: #65706a;
  --color-text-inverse: #fbfaf7;

  /* Forest green: headings, links, structure */
  --color-primary: #1f5a45;
  --color-primary-hover: #174634;
  --color-primary-active: #113527;
  --color-primary-highlight: #dce8df;

  /* Fox rust: the one action colour */
  --color-accent: #b04d27;
  --color-accent-hover: #9c4524;
  --color-accent-active: #843a1e;
  --color-accent-soft: #f4e2d8;

  --color-success: #2f6b3a;
  --color-warning: #9c6a1a;
  --color-error: #a22f2f;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.125rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.3 0.03 150 / 0.06);
  --shadow-md: 0 6px 18px oklch(0.3 0.03 150 / 0.08);
  --shadow-lg: 0 18px 44px oklch(0.3 0.03 150 / 0.13);

  --content-narrow: 640px;
  --content-default: 1000px;
  --content-wide: 1240px;

  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'General Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Primitives ---------- */
body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--color-bg);
}
.container {
  width: min(100% - clamp(2rem, 6vw, 4rem), var(--content-wide));
  margin-inline: auto;
}
.container--default { width: min(100% - clamp(2rem, 6vw, 4rem), var(--content-default)); }
.container--narrow { width: min(100% - clamp(2rem, 6vw, 4rem), var(--content-narrow)); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--text-3xl); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: var(--text-2xl); line-height: 1.08; letter-spacing: -0.015em; }
h3 { font-size: var(--text-lg); line-height: 1.2; font-weight: 700; }
h4 { font-size: var(--text-base); font-family: var(--font-body); font-weight: 600; }
h1 em, h2 em { font-style: normal; color: var(--color-primary); }

p { color: var(--color-text); }
.lede {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 62ch;
}
a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--color-primary-hover); }

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  border: 1px solid transparent;
}
.btn--lg { padding: 1rem 1.5rem; font-size: var(--text-base); }
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-hover); color: #fff; transform: translateY(-1px); }
.btn--primary:active { background: var(--color-accent-active); transform: translateY(0); }
.btn--green { background: var(--color-primary); color: #fff; }
.btn--green:hover { background: var(--color-primary-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: oklch(from var(--color-primary) l c h / 0.35); }
.btn--ghost:hover { background: var(--color-primary-highlight); color: var(--color-primary-hover); border-color: transparent; }
.btn .arrow { width: 18px; height: 18px; transition: transform var(--transition-interactive); }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-primary);
}
.link-arrow::after {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition-interactive);
}
.link-arrow:hover::after { transform: translateX(3px) rotate(45deg); }

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
}
.skip-link:focus { top: var(--space-4); }

.section { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }
.section--tint { background: var(--color-tint); }
.section--tight { padding-block: clamp(var(--space-10), 5vw, var(--space-16)); }

/* ---------- Top bar and header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}
.header--scrolled { border-color: var(--color-divider); box-shadow: var(--shadow-sm); }
.header > .container {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 34px; width: auto; }
.nav { display: none; gap: var(--space-6); margin-left: auto; }
.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-2) 0;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-interactive);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__actions { display: none; }
.menu-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  min-height: 44px;
}
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__actions { display: flex; }
  .menu-toggle { display: none; }
}
.mobile-nav {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease-out);
  border-top: 1px solid transparent;
}
.mobile-nav[data-open="true"] { grid-template-rows: 1fr; border-color: var(--color-divider); }
/* While the menu is closed its links are hidden from the keyboard and from screen readers, not only clipped.
   The delay keeps them visible until the closing animation has finished. */
.mobile-nav__inner { overflow: hidden; min-height: 0; max-height: calc(100dvh - 80px); visibility: hidden; transition: visibility 0s linear 320ms; }
.mobile-nav[data-open="true"] .mobile-nav__inner { overflow-y: auto; visibility: visible; transition-delay: 0s; }
.mobile-nav ul { list-style: none; padding: var(--space-4) clamp(1rem, 3vw, 2rem) 0; }
.mobile-nav li a {
  display: block;
  padding: var(--space-3) 0;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border-soft);
}
.mobile-nav__sub a { padding-left: var(--space-5) !important; font-weight: 400 !important; color: var(--color-text-muted) !important; font-size: var(--text-sm); }
.mobile-nav__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); padding: var(--space-4) clamp(1rem, 3vw, 2rem) var(--space-6); }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(var(--space-10), 6vw, var(--space-20)); }
.hero__grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}
.hero__copy h1 { margin-bottom: var(--space-6); max-width: 15ch; }
.hero__copy .lede { margin-bottom: var(--space-8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); }
.hero__fee {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 48ch;
  padding-left: var(--space-4);
  border-left: 2px solid var(--color-accent);
}
.hero__media { position: relative; margin: 0; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero__media figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-16); }
  .hero__media img { aspect-ratio: 4 / 5; max-height: 640px; }
  .hero__media::before {
    content: "";
    position: absolute;
    inset: 8% -6% -6% 10%;
    background: var(--color-tint);
    border-radius: var(--radius-xl);
    z-index: -1;
  }
}
.hero__facts { margin-top: clamp(var(--space-12), 6vw, var(--space-20)); border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); background: var(--color-surface); }
.hero__facts ul {
  list-style: none;
  display: grid;
  gap: var(--space-6);
  padding-block: var(--space-6);
}
.hero__facts li { display: grid; gap: 2px; }
.hero__facts strong { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--color-primary); letter-spacing: -0.01em; }
.hero__facts span { font-size: var(--text-sm); color: var(--color-text-muted); }
@media (min-width: 768px) {
  .hero__facts ul { grid-template-columns: repeat(3, 1fr); gap: var(--space-10); }
  .hero__facts li + li { border-left: 1px solid var(--color-divider); padding-left: var(--space-8); }
}

/* ---------- Areas ---------- */
.areas__head { display: grid; gap: var(--space-6); margin-bottom: var(--space-10); align-items: end; }
.areas__head h2 { max-width: 16ch; }
.areas__head .lede { margin-bottom: var(--space-4); }
.areas__grid { display: grid; gap: var(--space-5); align-items: stretch; }
.area-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: oklch(from var(--color-primary) l c h / 0.3); color: var(--color-text); }
.area-card h3 { color: var(--color-primary); }
.area-card p { font-size: var(--text-sm); color: var(--color-text-muted); flex: 1; }
.area-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; flex: 1; }
.area-card__list li {
  position: relative;
  padding-left: 16px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.45;
}
.area-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.58em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
.area-card__more {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.area-card__more::after {
  content: "";
  width: 0.5em; height: 0.5em;
  border-right: 2px solid currentColor; border-top: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition-interactive);
}
.area-card:hover .area-card__more::after { transform: translateX(3px) rotate(45deg); }
/* Home cards: the title is a stretched link covering the card, each bullet is its own link sitting above it. */
article.area-card { position: relative; }
.area-card__title { color: inherit; text-decoration: none; }
.area-card__title::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.area-card__list a { position: relative; z-index: 1; color: inherit; text-decoration: none; }
.area-card__list a:hover { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.area-card:focus-within { outline: 2px solid var(--color-primary); outline-offset: 2px; }
@media (min-width: 640px) { .areas__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .areas__head { grid-template-columns: 1fr 1fr; gap: var(--space-16); }
  .areas__grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
}

/* ---------- Process (fixed fee) ---------- */
.process__grid { display: grid; gap: var(--space-12); align-items: start; }
.process__copy h2 { margin-bottom: var(--space-5); max-width: 20ch; }
.process__copy .lede { margin-bottom: var(--space-10); font-size: var(--text-base); color: var(--color-text); max-width: 60ch; }
.steps { list-style: none; display: grid; gap: var(--space-6); margin-bottom: var(--space-10); }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); align-items: start; }
.steps__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--color-primary);
  line-height: 1;
  padding-top: 2px;
  min-width: 1.4ch;
}
.steps h3 { margin-bottom: var(--space-2); }
.steps p { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 52ch; }
.process__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); }
.process__media { position: relative; margin: 0; }
.process__media img:first-child { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 16 / 10; object-fit: cover; }
.process__media-second {
  display: none;
}
@media (min-width: 1024px) {
  .process__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-16); }
  .process__media { padding-bottom: 44%; margin-top: var(--space-8); }
  .process__media-second {
    display: block;
    position: absolute;
    right: -4%;
    bottom: 0;
    width: 46%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--color-tint);
  }
}

/* ---------- Why ---------- */
.why__grid { display: grid; gap: var(--space-10); }
.why__intro h2 { margin-bottom: var(--space-4); max-width: 18ch; }
.why__list { list-style: none; display: grid; gap: var(--space-8); }
.why__list li { padding-top: var(--space-5); border-top: 1px solid var(--color-divider); }
.why__list h3 { margin-bottom: var(--space-2); }
.why__list p { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 46ch; }
@media (min-width: 768px) { .why__list { grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-10); } }
@media (min-width: 1024px) { .why__grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-16); } }

/* ---------- Team ---------- */
.team__head { display: grid; gap: var(--space-6); margin-bottom: var(--space-12); align-items: end; }
.team__head h2 { max-width: 18ch; }
.team__head .lede { margin-bottom: 0; }
@media (min-width: 1024px) { .team__head { grid-template-columns: 1fr 1fr; gap: var(--space-16); } }
.team__grid { list-style: none; display: grid; gap: var(--space-8); }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: var(--space-4); }
.person h3 { margin-bottom: 2px; }
.person__role { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-3); }
.person p:not(.person__role) { font-size: var(--text-sm); color: var(--color-text-muted); }
.team__foot { margin-top: var(--space-10); }
@media (min-width: 640px) { .team__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team__grid { gap: var(--space-10); } }

/* ---------- Enquiry and form ---------- */
.enquiry__grid { display: grid; gap: var(--space-10); align-items: start; }
.enquiry__copy h2 { margin-bottom: var(--space-4); }
.enquiry__copy .lede { margin-bottom: var(--space-8); }
.enquiry__facts { display: grid; gap: var(--space-5); }
.enquiry__facts div { padding-top: var(--space-4); border-top: 1px solid var(--color-divider); }
.enquiry__facts dt { font-weight: 600; font-size: var(--text-sm); margin-bottom: var(--space-1); color: var(--color-text); }
.enquiry__facts dd { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 48ch; }
@media (max-width: 1023px) {
  /* On small screens the form follows the heading directly and the practical notes come after it */
  .enquiry__grid { gap: var(--space-4); }
  .enquiry__copy { display: contents; }
  .enquiry__copy h2 { margin-bottom: 0; }
  .enquiry__copy .lede { margin-bottom: 0; }
  .enquiry-card { margin-top: var(--space-4); }
  .enquiry-card { order: 1; }
  .enquiry__facts { order: 2; }
}
@media (min-width: 1024px) { .enquiry__grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--space-16); } .enquiry__copy { position: sticky; top: 110px; } }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  position: relative;
}
.form { display: grid; gap: var(--space-5); }
.form__row--2 { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--space-2); }
.field label, .field legend { font-size: var(--text-sm); font-weight: 600; color: var(--color-text); }
.field label small, .field legend small { display: block; font-weight: 400; color: var(--color-text-muted); font-size: var(--text-xs); margin-top: 2px; line-height: 1.45; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-size: var(--text-base);
  min-height: 46px;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6660' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-highlight); background: #fff; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--color-error); }
.field fieldset { border: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--color-primary); }
.form__error { display: none; color: var(--color-error); font-size: var(--text-sm); font-weight: 500; }
.form.has-error .form__error { display: block; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); }
.form__note { font-size: var(--text-xs); color: var(--color-text-faint); max-width: 40ch; line-height: 1.5; }
.form__success { display: none; text-align: left; padding: var(--space-4) 0; }
.form__success svg { width: 44px; height: 44px; color: var(--color-success); margin-bottom: var(--space-4); }
.form__success h3 { margin-bottom: var(--space-3); }
.form__success p { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-3); }
#enquiry-card.is-sent .form { display: none; }
#enquiry-card.is-sent .form__success { display: block; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--color-tint); }
.cta-band__grid { display: grid; gap: var(--space-8); align-items: center; }
.cta-band h2 { margin-bottom: var(--space-4); max-width: 22ch; }
.cta-band p { color: var(--color-text-muted); max-width: 60ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (min-width: 1024px) { .cta-band__grid { grid-template-columns: 1.3fr 0.7fr; } .cta-band__actions { justify-content: flex-end; } }

/* ---------- Footer ---------- */
.footer { background: var(--color-surface-offset); border-top: 1px solid var(--color-divider); padding-top: clamp(var(--space-12), 6vw, var(--space-20)); }
.footer__grid { display: grid; gap: var(--space-10); padding-bottom: var(--space-12); }
.footer__brand img { height: 30px; width: auto; margin-bottom: var(--space-5); }
.footer__brand p { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 40ch; margin-bottom: var(--space-5); }
.footer address { font-style: normal; font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; }
.footer address a { color: var(--color-text); font-weight: 600; text-decoration: none; }
.footer h4 { margin-bottom: var(--space-4); font-size: var(--text-sm); letter-spacing: 0.02em; }
.footer ul { list-style: none; display: grid; gap: var(--space-2); }
.footer ul a { font-size: var(--text-sm); color: var(--color-text-muted); text-decoration: none; }
.footer ul a:hover { color: var(--color-primary); text-decoration: underline; }
.footer__legal { border-top: 1px solid var(--color-divider); padding-block: var(--space-6) var(--space-8); display: grid; gap: var(--space-3); }
.footer__legal p { font-size: var(--text-xs); color: var(--color-text-muted); max-width: none; line-height: 1.6; }
.footer__legal a { color: var(--color-text-muted); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 0.8fr; gap: var(--space-12); } .footer__brand { grid-column: auto; } }


/* ---------- Inner pages ---------- */
.page-hero { padding-top: clamp(var(--space-10), 6vw, var(--space-16)); padding-bottom: clamp(var(--space-8), 5vw, var(--space-12)); }
.page-hero h1 { margin-bottom: var(--space-5); max-width: 18ch; }
.page-hero .lede { max-width: 62ch; }
.page-hero--split { display: grid; gap: var(--space-8); align-items: end; }
@media (min-width: 1024px) { .page-hero--split { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-16); } }
.page-hero__aside { font-size: var(--text-sm); color: var(--color-text-muted); }
.page-hero__media { display: none; margin: 0 0 var(--space-6); }
.page-hero__media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
@media (min-width: 1024px) { .page-hero__media { display: block; } }
.page-hero__media--square img { aspect-ratio: 1 / 1; object-position: center 40%; }
.page-hero .hero__actions { margin-top: var(--space-8); }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--text-xs); color: var(--color-text-muted); margin-bottom: var(--space-5); list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: var(--space-2); color: var(--color-text-faint); }
.crumbs a { color: var(--color-text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--color-primary); }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: var(--space-5); }
.prose h2 { font-size: var(--text-xl); margin-top: var(--space-12); margin-bottom: var(--space-4); }
.prose h3 { font-size: var(--text-lg); margin-top: var(--space-8); margin-bottom: var(--space-3); }
.prose .steps { margin: var(--space-6) 0; }
.prose .steps li + li { margin-top: 0; }
.prose .steps h3 { margin-top: 0; }
.prose p { color: var(--color-text); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--space-2); }
.prose li::marker { color: var(--color-primary); }
.prose a { text-decoration-color: oklch(from var(--color-primary) l c h / 0.4); }
.prose blockquote { border-left: 3px solid var(--color-accent); padding-left: var(--space-5); color: var(--color-text-muted); }
.prose .note { background: var(--color-tint); border-radius: var(--radius-md); padding: var(--space-5) var(--space-6); font-size: var(--text-sm); }

.two-col { display: grid; gap: var(--space-10); align-items: start; }
@media (min-width: 1024px) { .two-col { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-16); } .two-col__side { position: sticky; top: 100px; } }
@media (min-width: 1024px) { .two-col__side--centred { top: max(100px, calc(50vh - 11rem)); } }
.side-card { background: var(--color-surface); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.side-card + .side-card { margin-top: var(--space-5); }
.side-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.side-card p { font-size: var(--text-sm); color: var(--color-text-muted); }
.side-card .btn { margin-top: var(--space-4); width: 100%; }
.side-card ul { list-style: none; }
.side-card li { padding: var(--space-2) 0; border-top: 1px solid var(--color-border-soft); font-size: var(--text-sm); }
.side-card li:first-child { border-top: 0; padding-top: 0; }
.side-card li a { text-decoration: none; color: var(--color-text); font-weight: 500; }
.side-card li a:hover { color: var(--color-primary); }

.thanks { max-width: 64ch; }
.thanks__summary { background: var(--color-tint); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); font-size: var(--text-sm); color: var(--color-text); margin: var(--space-6) 0; }

.footer__contact { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-4); line-height: 1.7; }
.footer__contact a { color: var(--color-text); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }


/* ---------- Area hub and service pages ---------- */
.subservices__grid { display: grid; gap: var(--space-5); align-items: stretch; }
@media (min-width: 640px) { .subservices__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .subservices__grid { grid-template-columns: repeat(4, 1fr); } }
.subservice p { flex: 1; line-height: 1.55; }
.subservice h3 { font-size: var(--text-lg); }

.facts { list-style: none; margin-top: clamp(var(--space-8), 4vw, var(--space-12)); padding: var(--space-5) var(--space-6); display: grid; gap: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.facts li { display: grid; gap: 4px; }
.facts strong { font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); color: var(--color-primary); letter-spacing: -0.01em; }
.facts span { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.5; }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-8); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(4, 1fr); } .facts li + li { border-left: 1px solid var(--color-divider); padding-left: var(--space-6); } }

.prose .prose__first { margin-top: 0; }
.problems { list-style: none; padding: 0 !important; display: grid; gap: var(--space-3); }
.problems li { position: relative; padding-left: 22px; margin: 0 !important; }
.problems li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }
.page-meta { font-size: var(--text-xs); color: var(--color-text-muted); border-top: 1px solid var(--color-divider); padding-top: var(--space-4); margin-top: var(--space-10) !important; }

.faq { display: grid; gap: var(--space-2); }
.faq__item { border: 1px solid var(--color-border-soft); border-radius: var(--radius-md); background: var(--color-surface); }
.faq__item summary { cursor: pointer; list-style: none; padding: var(--space-4) var(--space-5); padding-right: 48px; font-weight: 600; color: var(--color-text); position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--color-primary); border-bottom: 2px solid var(--color-primary); transform: translateY(-70%) rotate(45deg); transition: transform var(--transition-interactive); }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__body { padding: 0 var(--space-5) var(--space-5); }
.faq__body p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; margin: 0; }

.side-card__plain li { border-top: 0 !important; padding: 2px 0 !important; position: relative; padding-left: 16px !important; color: var(--color-text-muted); }
.side-card__plain li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }

.article-list { list-style: none; display: grid; gap: var(--space-3); }
@media (min-width: 900px) { .article-list--2 { grid-template-columns: repeat(2, 1fr); } }
.article-row { display: flex; justify-content: space-between; gap: var(--space-5); align-items: flex-start; padding: var(--space-4) var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border-soft); border-radius: var(--radius-md); text-decoration: none; color: var(--color-text); height: 100%; transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive); }
a.article-row:hover { border-color: oklch(from var(--color-primary) l c h / 0.3); box-shadow: var(--shadow-sm); }
.article-row strong { display: block; font-weight: 600; color: var(--color-primary); margin-bottom: 2px; }
.article-row small { display: block; font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.5; }
.article-row__meta { flex: none; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-accent); padding-top: 3px; }
@media (max-width: 599px) { .article-row { flex-direction: column; gap: var(--space-2); } .article-row__meta { padding-top: 0; } }
.articles-block__more { margin-top: var(--space-6); max-width: none; }

/* ---------- Overview, legal and about pages ---------- */
.overview-card { padding: var(--space-8); }
.area-card .overview-card__lede { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-4); flex: 0 0 auto; }
.overview-card .area-card__list { align-content: start; }
@media (min-width: 1024px) { .area-card .overview-card__lede { min-height: calc(3 * 1.6em); } }
.updated { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-4); text-transform: uppercase; letter-spacing: 0.06em; }
.page-hero .crumbs { margin-bottom: var(--space-5); }
.about__media { display: grid; gap: var(--space-5); margin: 0; }
.about__media img { width: 100%; height: auto; border-radius: var(--radius-lg); object-fit: cover; }
@media (min-width: 900px) { .about__media { grid-template-columns: 1.4fr 1fr; align-items: stretch; } .about__media img { aspect-ratio: 16 / 10; height: 100%; } .about__media img:last-child { aspect-ratio: 8 / 7; } }
.legal-doc .prose h2 { scroll-margin-top: 110px; }
.prose h2[id] { scroll-margin-top: 110px; }

/* ---------- Articles: article page ---------- */
.page-hero--article { padding-bottom: clamp(var(--space-6), 3vw, var(--space-8)); }
.page-hero--article h1.article-title { font-size: clamp(1.75rem, 1.15rem + 2vw, 2.75rem); line-height: 1.1; letter-spacing: -0.015em; max-width: 22em; margin-bottom: var(--space-5); }
.page-hero--article .lede { max-width: 70ch; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; }
.article-meta { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--color-divider); font-size: var(--text-sm); color: var(--color-text-muted); }
.article-meta li { display: inline-flex; align-items: center; gap: var(--space-2); max-width: none; }
.article-meta li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--color-accent); }

.article-section { padding-top: clamp(var(--space-5), 3vw, var(--space-10)); }
.article-layout { display: grid; gap: var(--space-8); align-items: start; }
.article-side, .article-prose { min-width: 0; }
.article-side .side-card { display: none; }
.article-prose > p { line-height: 1.7; }
.article-prose h2[id] { scroll-margin-top: 30px; }
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-16); }
  .article-side { grid-column: 2; grid-row: 1; position: sticky; top: 100px; max-height: calc(100vh - 116px); overflow-y: auto; padding: 4px; margin: -4px; }
  .article-prose { grid-column: 1; grid-row: 1; }
}
@media (min-width: 1024px) and (min-height: 860px) { .article-side .side-card { display: block; margin-top: var(--space-8); } }

.toc__title { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); }
.toc__details summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 48px; }
.toc__details summary::-webkit-details-marker { display: none; }
.toc__details summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--color-primary); border-bottom: 2px solid var(--color-primary); transform: translateY(-25%) rotate(45deg); transition: transform var(--transition-interactive); }
.toc__details[open] summary::after { transform: translateY(25%) rotate(225deg); }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--color-divider); }
.toc ol li { max-width: none; }
.toc ol a { display: block; padding: var(--space-2) var(--space-4); margin-left: -1px; border-left: 2px solid transparent; color: var(--color-text-muted); text-decoration: none; font-size: var(--text-sm); line-height: 1.4; }
.toc ol a:hover, .toc ol a.is-active { color: var(--color-primary); border-left-color: var(--color-accent); }
@media (max-width: 1023px) {
  .toc__details { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 0 var(--space-5); }
  .toc__details[open] { padding-bottom: var(--space-4); }
}
@media (min-width: 1024px) {
  .toc__details summary { pointer-events: none; min-height: 0; margin-bottom: var(--space-3); }
  .toc__details summary::after { display: none; }
}

.keypoints { background: var(--color-tint); border-left: 3px solid var(--color-primary); border-radius: var(--radius-md); padding: var(--space-5) var(--space-6); }
.keypoints__label { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-primary) !important; margin-bottom: var(--space-3); }
.prose .keypoints ul { list-style: none; padding-left: 0; display: grid; gap: var(--space-3); }
.prose .keypoints li { position: relative; padding-left: 20px; margin-top: 0; font-size: var(--text-sm); line-height: 1.55; max-width: none; }
.keypoints li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); }

.article-service { display: grid; gap: var(--space-2); justify-items: start; background: var(--color-surface); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-5) var(--space-6); margin-top: var(--space-10) !important; }
.article-service__label { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.article-service a.link-arrow { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.2; letter-spacing: -0.01em; text-decoration: none; }
.article-service a.link-arrow::after { flex: none; }
.article-service p { font-size: var(--text-sm); color: var(--color-text-muted); }

.sources { margin-top: var(--space-12) !important; padding-top: var(--space-8); border-top: 1px solid var(--color-divider); scroll-margin-top: 30px; }
.prose .sources h2 { margin-top: 0; margin-bottom: var(--space-3); }
.sources__note { font-size: var(--text-sm); color: var(--color-text-muted) !important; margin-bottom: var(--space-4); }
.prose .sources ul { list-style: none; padding-left: 0; display: grid; gap: var(--space-2); }
.prose .sources li { position: relative; padding-left: 20px; margin-top: 0; font-size: var(--text-sm); line-height: 1.5; overflow-wrap: anywhere; max-width: none; }
.sources li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary); }

.related__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4) var(--space-8); margin-bottom: var(--space-8); }
.related__head .eyebrow { margin-bottom: var(--space-2); }
.related__head h2 { font-size: var(--text-xl); }
.related__grid { display: grid; gap: var(--space-4); }
.related-card { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); background: var(--color-surface); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--color-text); }
.related-card:hover { border-color: oklch(from var(--color-primary) l c h / 0.3); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--color-text); }
.related-card h3 { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.25; color: var(--color-primary); }
.related-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.55; }
.related-card__meta { margin-top: auto; padding-top: var(--space-2); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-accent); }
@media (min-width: 768px) and (max-width: 1099px) { .related__grid { grid-template-columns: repeat(2, 1fr); } .related-card:nth-child(3):last-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .related__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Articles: index ---------- */
.page-articles .page-hero h1 { max-width: 20ch; }
.article-filter { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-8); }
.article-filter a { display: inline-flex; align-items: center; min-height: 40px; padding: 0.4rem 0.95rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 500; color: var(--color-text); text-decoration: none; }
.article-filter a:hover { background: var(--color-primary-highlight); border-color: transparent; color: var(--color-primary-hover); }
.article-groups { display: grid; gap: clamp(var(--space-12), 6vw, var(--space-20)); }
.article-group { scroll-margin-top: 30px; }
.article-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding-bottom: var(--space-3); margin-bottom: var(--space-4); border-bottom: 2px solid var(--color-primary); }
.article-group__head h2 { font-size: var(--text-xl); }
.article-group__head span { flex: none; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); }
.article-group__intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2) var(--space-8); margin-bottom: var(--space-6); }
.article-group__intro p { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 72ch; }
/* On a phone the index is a list of titles: 80 full summaries would make it very long. Each summary opens the article page. */
@media (max-width: 599px) { .article-groups .article-row small { display: none; } }

/* ---------- Vehicle checker (cars hub and the dealer faults page) ----------
   A short question and answer tool that runs in the browser. Without JavaScript it is not shown at all. */
html:not(.js) .vc, html:not(.js) .checker-section { display: none; }
.vc { container-type: inline-size; scroll-margin-top: var(--space-4); }
.vc [hidden] { display: none !important; }
.prose > .vc { margin-block: var(--space-10) var(--space-12); }
.vc__card {
  display: grid;
  gap: var(--space-6);
  padding: clamp(var(--space-6), 5cqi, var(--space-10));
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.vc .vc__intro .eyebrow { margin-bottom: var(--space-3); }
.vc .vc__intro h2 { font-size: var(--text-xl); line-height: 1.12; margin: 0 0 var(--space-3); max-width: 20ch; }
.vc .vc__lede { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 58ch; margin: 0; }
.vc .vc__start { display: grid; gap: var(--space-3); justify-items: start; }
.vc .vc__note { font-size: var(--text-xs); line-height: 1.5; color: var(--color-text-faint); max-width: 36ch; margin: 0; }
.vc .btn { white-space: normal; text-align: center; line-height: 1.25; }
.vc .btn[disabled] { cursor: not-allowed; }

/* One of three panels shows at a time: the start button, the questions or the result. */
.vc[data-state="intro"] .vc__run, .vc[data-state="intro"] .vc__result,
.vc[data-state="run"] .vc__start, .vc[data-state="run"] .vc__result,
.vc[data-state="result"] .vc__start, .vc[data-state="result"] .vc__run { display: none; }
.vc:not([data-state="intro"]) .vc__intro { display: none; }

.vc .vc__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  margin-bottom: var(--space-6);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted);
}
.vc__progress { flex: 1; max-width: 200px; height: 4px; border-radius: var(--radius-full); background: var(--color-surface-offset); overflow: hidden; }
.vc__progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--color-primary); transition: width 400ms var(--ease-out); }
.vc__progress--done span { width: 100%; }

.vc .vc__q { display: grid; gap: var(--space-3); min-width: 0; margin: 0; padding: 0; border: 0; animation: vc-in 320ms var(--ease-out); }
@keyframes vc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.vc .vc__q legend {
  padding: 0; margin-bottom: var(--space-3);
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.2; letter-spacing: -0.01em; color: var(--color-text);
  text-wrap: balance;
}
.vc .vc__q legend:focus { outline: none; }
.vc .vc__help { font-size: var(--text-sm); line-height: 1.55; color: var(--color-text-muted); margin: 0 0 var(--space-2); }
.vc__choice { position: relative; display: block; cursor: pointer; }
.vc__choice input { position: absolute; top: 50%; left: 1rem; width: 18px; height: 18px; margin: -9px 0 0; opacity: 0; cursor: pointer; }
.vc__choice span {
  display: flex; align-items: center; gap: var(--space-3);
  min-height: 48px; padding: 0.8rem 1rem;
  border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg);
  font-size: var(--text-sm); font-weight: 500; line-height: 1.4; color: var(--color-text);
  transition: border-color var(--transition-interactive), background var(--transition-interactive), box-shadow var(--transition-interactive);
}
.vc__choice span::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid oklch(from #1c2622 l c h / 0.45); background: #fff;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
/* Hover only where there is a real pointer: on a touch screen a lingering hover could look like a chosen answer. */
@media (hover: hover) { .vc__choice:hover span { border-color: var(--color-primary); background: #fff; } }
.vc__choice input:checked + span { border-color: var(--color-primary); background: var(--color-tint); box-shadow: inset 0 0 0 1px var(--color-primary); }
.vc__choice input:checked + span::before { border-color: var(--color-primary); box-shadow: inset 0 0 0 4px var(--color-primary); }
.vc__choice input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.vc .vc__nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-6); }
.vc .vc__nav .btn { margin-left: auto; min-width: 7.5rem; justify-content: center; }
.vc__text-btn {
  min-height: 44px; padding: var(--space-2) 0;
  font-size: var(--text-sm); font-weight: 600; color: var(--color-text-muted);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em;
}
.vc__text-btn:hover { color: var(--color-primary); text-decoration-color: currentColor; }

/* The result is general information, not an assessment, so every heading box and every note looks the same:
   no green, amber or red to suggest that the reader's own position is good or bad. */
.vc .vc__about { margin: 0 0 var(--space-5); font-size: var(--text-sm); line-height: 1.6; color: var(--color-text); }
.vc .vc__verdict { padding: var(--space-6); border-radius: var(--radius-lg); border-left: 4px solid var(--color-primary); background: var(--color-tint); }
.vc .vc__label { display: block; margin-bottom: var(--space-2); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary); }
.vc .vc__verdict h3 { margin: 0 0 var(--space-3); font-size: var(--text-lg); line-height: 1.2; }
.vc .vc__verdict h3:focus { outline: none; }
.vc .vc__verdict p { margin: 0; font-size: var(--text-sm); line-height: 1.6; }
.vc .vc__verdict .link-arrow { margin-top: var(--space-4); }

.vc .vc__flags { display: grid; gap: var(--space-5); margin: var(--space-6) 0 0; padding: 0; list-style: none; }
.vc .vc__flags li { margin: 0; padding-left: var(--space-5); border-left: 3px solid var(--color-divider); }
.vc .vc__flags h4 { margin: 0 0 var(--space-1); font-size: var(--text-sm); font-weight: 600; line-height: 1.35; }
.vc .vc__flags p { margin: 0; font-size: var(--text-sm); line-height: 1.6; color: var(--color-text-muted); }

.vc .vc__cta { margin: var(--space-8) 0 0; padding-top: var(--space-6); border-top: 1px solid var(--color-divider); font-size: var(--text-sm); line-height: 1.6; }
.vc .vc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-6); margin-top: var(--space-4); }
.vc .vc__cta[hidden] + .vc__actions { margin-top: var(--space-6); }
.vc .vc__fine { margin: var(--space-5) 0 0; font-size: var(--text-xs); line-height: 1.55; color: var(--color-text-faint); }

/* The note that confirms the answers were added to the enquiry form. */
.form__added { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--color-tint); font-size: var(--text-sm); color: var(--color-text); scroll-margin-top: 100px; }

/* Narrow cards (phones and the reading column): full width action button. */
@container (max-width: 479px) {
  .vc .vc__actions .btn { width: 100%; justify-content: center; }
  .vc .vc__start .btn { width: 100%; justify-content: center; }
}
/* Wide cards (the hub page): introduction on the left, the tool on the right. */
@container (min-width: 860px) {
  .vc__card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-16); }
  .vc:not([data-state="intro"]) .vc__card { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr); align-items: start; gap: var(--space-12); }
  .vc:not([data-state="intro"]) .vc__intro { display: block; position: sticky; top: 104px; }
  .vc .vc__start { justify-items: start; max-width: 30ch; }
}
.checker-section { padding-bottom: 0; }
