/* ============================================================
   Accident Assist Line — Design Tokens
   Palette inferred from Linkt.com.au and VicRoads.vic.gov.au:
   deep confident green as primary, dark navy-charcoal for
   authority panels, clean warm-white surfaces, pill-shaped CTAs.
   ============================================================ */

:root,
[data-theme='light'] {
  /* Type scale */
  --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.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  /* Spacing (4px system) */
  --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 */
  --color-bg: #f6f8f6;
  --color-surface: #ffffff;
  --color-surface-2: #eef3ef;
  --color-surface-offset: #e6ede8;
  --color-border: #d7e0da;
  --color-divider: #e2e9e4;

  /* Text */
  --color-text: #142018;
  --color-text-muted: #566259;
  --color-text-faint: #96a49c;
  --color-text-inverse: #f6f9f7;

  /* Primary — Hydra-style deep green (Linkt/VicRoads inspired) */
  --color-primary: #0b6e4f;
  --color-primary-hover: #095940;
  --color-primary-active: #073e2c;
  --color-primary-highlight: #d9ede1;

  /* Navy — authority panels (VicRoads header-inspired) */
  --color-navy: #10233a;
  --color-navy-2: #16304d;
  --color-navy-text: #eef3f8;

  /* Semantic */
  --color-error: #b3261e;
  --color-error-highlight: #f4d9d6;
  --color-warning: #9a5a12;
  --color-warning-highlight: #f0e0c6;
  --color-success: #2f9e5c;
  --color-success-highlight: #d7efdf;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Motion */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows (cool-tinted for green surfaces) */
  --shadow-sm: 0 1px 2px oklch(0.2 0.03 160 / 0.07);
  --shadow-md: 0 4px 14px oklch(0.2 0.03 160 / 0.09);
  --shadow-lg: 0 16px 36px oklch(0.2 0.03 160 / 0.14);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1000px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Switzer', 'Segoe UI', sans-serif;
  --font-body: 'General Sans', 'Segoe UI', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #0d1512;
  --color-surface: #131e18;
  --color-surface-2: #17251d;
  --color-surface-offset: #1b2b21;
  --color-border: #2a3b30;
  --color-divider: #223129;

  --color-text: #e6eee8;
  --color-text-muted: #99ac9f;
  --color-text-faint: #5e7267;
  --color-text-inverse: #10231b;

  --color-primary: #3fb884;
  --color-primary-hover: #58cd9a;
  --color-primary-active: #2e9c6d;
  --color-primary-highlight: #1c3b2c;

  --color-navy: #0b1626;
  --color-navy-2: #122236;
  --color-navy-text: #e9eef5;

  --color-error: #e2695f;
  --color-error-highlight: #3a2220;
  --color-warning: #d99a4e;
  --color-warning-highlight: #3a2e1c;
  --color-success: #58cd9a;
  --color-success-highlight: #1c3b2c;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 14px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 16px 36px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0d1512;
    --color-surface: #131e18;
    --color-surface-2: #17251d;
    --color-surface-offset: #1b2b21;
    --color-border: #2a3b30;
    --color-divider: #223129;
    --color-text: #e6eee8;
    --color-text-muted: #99ac9f;
    --color-text-faint: #5e7267;
    --color-text-inverse: #10231b;
    --color-primary: #3fb884;
    --color-primary-hover: #58cd9a;
    --color-primary-active: #2e9c6d;
    --color-primary-highlight: #1c3b2c;
    --color-navy: #0b1626;
    --color-navy-2: #122236;
    --color-navy-text: #e9eef5;
    --color-error: #e2695f;
    --color-success: #58cd9a;
  }
}

/* ============================================================
   Base type & layout
   ============================================================ */

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
}

a {
  color: inherit;
  text-decoration: none;
}
.explainer-text p a,
.footer-legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--wide {
  max-width: var(--content-wide);
}
.container--narrow {
  max-width: var(--content-narrow);
}

section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-10);
}
.section-head h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-3);
}
.section-head p {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
}

.btn-on-dark {
  background: #ffffff;
  color: var(--color-primary-active);
  box-shadow: var(--shadow-md);
}
.btn-on-dark:hover {
  background: var(--color-primary-highlight);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: oklch(from var(--color-text) l c h / 0.18);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-on-dark {
  background: transparent;
  color: #fff;
  border-color: oklch(1 0 0 / 0.35);
}
.btn-outline-on-dark:hover {
  border-color: #fff;
  background: oklch(1 0 0 / 0.08);
}

.btn-block {
  width: 100%;
}

/* ============================================================
   Utility bar (VicRoads/Linkt-style slim top strip)
   ============================================================ */

.utility-bar {
  background: var(--color-primary-active);
  color: oklch(1 0 0 / 0.9);
  font-size: var(--text-xs);
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-2);
}
.utility-bar-left {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.utility-bar-left svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: oklch(1 0 0 / 0.7);
}
.utility-bar-right {
  display: none;
  align-items: center;
  gap: var(--space-5);
}
.utility-bar-right a {
  color: oklch(1 0 0 / 0.85);
  font-weight: 500;
}
.utility-bar-right a:hover {
  color: #fff;
}
@media (min-width: 700px) {
  .utility-bar-right {
    display: flex;
  }
}

/* ============================================================
   Dismissible notice banner (Linkt-style safety alert)
   ============================================================ */

.notice-banner {
  background: var(--color-warning-highlight);
  border-bottom: 1px solid oklch(from var(--color-warning) l c h / 0.25);
}
.notice-banner .container {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-block: var(--space-3);
}
.notice-banner-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--color-warning);
}
.notice-banner-body {
  flex: 1;
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
}
.notice-banner-body strong {
  font-weight: 700;
}
.notice-banner-body a {
  color: var(--color-warning);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.notice-banner-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  margin: -4px -4px 0 0;
}
.notice-banner-close:hover {
  background: oklch(from var(--color-warning) l c h / 0.14);
  color: var(--color-text);
}
.notice-banner-close svg {
  width: 16px;
  height: 16px;
}
.notice-banner[hidden] {
  display: none;
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: oklch(from var(--color-bg) l c h / 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
}

.menu-toggle {
  display: inline-flex;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 12px 24px oklch(from var(--color-text) l c h / 0.12);
  padding: var(--space-4) var(--space-5) var(--space-6);
}

.mobile-menu-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-menu-nav a {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu-nav li:last-child a {
  border-bottom: none;
}

.mobile-menu-call {
  margin-top: var(--space-4);
  width: 100%;
  justify-content: center;
}

@media (min-width: 900px) {
  .mobile-menu {
    display: none !important;
  }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  line-height: 1.15;
}
.brand-logo {
  height: 36px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.brand-logo-dark {
  display: none;
}
[data-theme='dark'] .brand-logo-light {
  display: none;
}
[data-theme='dark'] .brand-logo-dark {
  display: block;
}
.footer-brand .brand-logo {
  height: 32px;
}
.brand-word {
  display: flex;
  flex-direction: column;
}
.brand-word span:last-child {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  display: none;
  white-space: nowrap;
}

@media (min-width: 480px) {
  .brand-word span:last-child {
    display: block;
  }
}

.main-nav {
  display: none;
  gap: var(--space-6);
  list-style: none;
}
.main-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}
.main-nav a:hover {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.icon-btn:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}
.icon-btn svg {
  width: 20px;
  height: 20px;
}

.header-call {
  display: none;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
}

@media (min-width: 900px) {
  .main-nav {
    display: flex;
  }
  .header-call {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, oklch(from var(--color-primary-active) l c h / 0.94) 0%, oklch(from var(--color-primary) l c h / 0.86) 55%, oklch(from var(--color-primary) l c h / 0.72) 100%),
    url('./assets/melbourne-skyline.jpg');
  background-size: cover;
  background-position: center 60%;
  color: #fff;
  padding-block: clamp(var(--space-14), 10vw, var(--space-20)) clamp(var(--space-10), 6vw, var(--space-16));
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      115deg,
      oklch(1 0 0 / 0.04) 0px,
      oklch(1 0 0 / 0.04) 2px,
      transparent 2px,
      transparent 64px
    );
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 70%;
  background: linear-gradient(200deg, transparent 0%, oklch(from var(--color-primary-active) l c h / 0.55) 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  background: oklch(1 0 0 / 0.12);
  border: 1px solid oklch(1 0 0 / 0.2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-eyebrow svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.eyebrow-short {
  display: none;
}
@media (max-width: 479px) {
  .eyebrow-full {
    display: none;
  }
  .eyebrow-short {
    display: inline;
  }
}

.hero h1 {
  color: #fff;
  font-size: var(--text-2xl);
  margin-top: var(--space-5);
  max-width: 16ch;
}

.hero p {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  color: oklch(1 0 0 / 0.82);
  max-width: 46ch;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.hero-note {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: oklch(1 0 0 / 0.7);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}
.hero-note svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-success);
}

/* Trust chip row, sits half-in/half-out of hero like Linkt/VicRoads card rows */
.trust-row {
  position: relative;
  z-index: 2;
  margin-top: clamp(var(--space-10), 6vw, var(--space-16));
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 700px) {
  .trust-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.trust-card svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.trust-card strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.trust-card span {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ============================================================
   How it works — numbered steps, asymmetric (not 3 equal icon circles)
   ============================================================ */

.steps {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 800px) {
  .steps {
    grid-template-columns: 1.1fr 1fr 1fr;
  }
}

.step {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.step:first-child {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
}
.step:first-child .step-num {
  color: oklch(1 0 0 / 0.55);
}
.step:first-child p {
  color: oklch(1 0 0 / 0.85);
}
.step-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text-faint);
  display: block;
}
.step h3 {
  font-size: var(--text-lg);
  margin-top: var(--space-3);
}
.step p {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ============================================================
   VIC allocation explainer — two column
   ============================================================ */

.explainer {
  background: var(--color-surface-2);
}
.explainer-grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 860px) {
  .explainer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
  .explainer-grid.reverse .explainer-media {
    order: 2;
  }
}

.explainer-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.explainer-text .badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary-active);
  font-size: var(--text-xs);
  font-weight: 600;
}
[data-theme='dark'] .pill-tag {
  color: var(--color-primary-hover);
}

.explainer-text p {
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}
.explainer-text p a {
  color: var(--color-primary);
  font-weight: 600;
}

/* ============================================================
   Services — left-aligned list, not symmetric icon grid
   ============================================================ */

.services-list {
  display: grid;
  gap: var(--space-1);
  border-top: 1px solid var(--color-divider);
}
.service-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}
.service-row svg {
  width: 26px;
  height: 26px;
  color: var(--color-primary);
}
.service-row h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 600;
}
.service-row p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}
.service-row .chevron {
  color: var(--color-text-faint);
  width: 18px;
  height: 18px;
}

/* ============================================================
   Coverage
   ============================================================ */

.coverage {
  background: var(--color-surface-2);
}
.coverage-layout {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-8);
  align-items: start;
}
@media (min-width: 900px) {
  .coverage-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-10);
  }
}

/* Photo-backed map card, Linkt "view live traffic" pattern */
.map-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-navy);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.map-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(from var(--color-navy) l c h / 0.05) 0%, oklch(from var(--color-navy) l c h / 0.88) 100%);
}
.map-card-body {
  position: relative;
  z-index: 1;
  padding: var(--space-6);
  color: #fff;
}
.map-card-body h3 {
  color: #fff;
  font-size: var(--text-lg);
}
.map-card-body p {
  color: oklch(1 0 0 / 0.8);
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  max-width: 42ch;
}
.map-card-actions {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.map-card-credit {
  position: relative;
  z-index: 1;
  padding: 0 var(--space-6) var(--space-3);
  font-size: 11px;
  color: oklch(1 0 0 / 0.55);
}
.map-card-credit a {
  color: oklch(1 0 0 / 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.map-embed-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.map-embed-frame iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}
.map-embed-caption {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.coverage-grid {
  display: grid;
  gap: var(--space-4);
}
.coverage-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.coverage-card h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 600;
}
.coverage-card p {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  font-weight: 600;
  font-size: var(--text-base);
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .plus {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  transition: transform var(--transition-interactive);
}
.faq-item[open] summary .plus {
  transform: rotate(45deg);
}
.faq-item p {
  padding-bottom: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 68ch;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--color-navy);
  color: oklch(1 0 0 / 0.72);
  padding-block: var(--space-16) var(--space-24);
}
.footer-grid {
  display: grid;
  gap: var(--space-10);
}
@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}
.footer-col ul li a[href^='mailto:'] {
  word-break: break-all;
}
.footer-link-btn {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: oklch(1 0 0 / 0.78);
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.footer-link-btn:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-brand .brand {
  color: #fff;
}
.footer-brand p {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  max-width: 40ch;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: oklch(1 0 0 / 0.5);
  margin-bottom: var(--space-3);
}
.footer-col ul {
  display: grid;
  gap: var(--space-2);
}
.footer-col a,
.footer-col ul li span {
  font-size: var(--text-sm);
  color: oklch(1 0 0 / 0.78);
}
.footer-col a:hover {
  color: #fff;
}
.footer-legal {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid oklch(1 0 0 / 0.12);
  font-size: var(--text-xs);
  color: oklch(1 0 0 / 0.55);
  display: grid;
  gap: var(--space-3);
  max-width: 100%;
}
@media (min-width: 900px) {
  .footer-legal {
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--space-8);
  }
  .footer-legal p:last-child {
    grid-column: 1 / -1;
  }
}
.footer-legal a {
  color: oklch(1 0 0 / 0.75);
}

/* ============================================================
   Floating quick-contact widget (replaces WhatsApp-style bubble
   with an honest message/callback form — Linkt chat-bubble position)
   ============================================================ */

.quick-contact-fab {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-lg);
  border: none;
  transition: transform var(--transition-interactive), background var(--transition-interactive);
}
.quick-contact-fab:hover {
  background: var(--color-primary-hover);
  transform: scale(1.05);
}
.quick-contact-fab svg {
  width: 24px;
  height: 24px;
}
.quick-contact-fab .icon-close {
  display: none;
}
.quick-contact-fab[aria-expanded='true'] .icon-chat {
  display: none;
}
.quick-contact-fab[aria-expanded='true'] .icon-close {
  display: block;
}
@media (min-width: 900px) {
  .quick-contact-fab {
    bottom: var(--space-6);
  }
}

.quick-contact-panel {
  position: fixed;
  right: var(--space-4);
  bottom: calc(var(--space-5) + 68px);
  z-index: 79;
  width: min(360px, calc(100vw - 2 * var(--space-4)));
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.quick-contact-panel[hidden] {
  display: none;
}
.quick-contact-head {
  background: var(--color-primary-active);
  color: #fff;
  padding: var(--space-5);
}
.quick-contact-head h3 {
  color: #fff;
  font-size: var(--text-base);
}
.quick-contact-head p {
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  color: oklch(1 0 0 / 0.75);
}
.quick-contact-form {
  padding: var(--space-5);
  display: grid;
  gap: var(--space-3);
}
.quick-contact-form label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}
.quick-contact-form input,
.quick-contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
}
.quick-contact-form input:focus,
.quick-contact-form textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.quick-contact-form textarea {
  resize: vertical;
  min-height: 72px;
}
.quick-contact-note {
  font-size: 11px;
  color: var(--color-text-faint);
  line-height: 1.5;
}
.quick-contact-note a {
  color: var(--color-primary);
  font-weight: 600;
}
.quick-contact-note .emergency-number {
  color: var(--color-success);
  font-weight: 700;
}

.qc-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quick-contact-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  background: var(--color-error-highlight);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  margin: 0;
}

.quick-contact-result {
  padding: var(--space-6) var(--space-5);
  display: grid;
  gap: var(--space-2);
  justify-items: start;
  text-align: left;
}
.quick-contact-result[hidden] {
  display: none;
}
.quick-contact-result svg {
  width: 40px;
  height: 40px;
  color: var(--color-success);
  margin-bottom: var(--space-1);
}
.quick-contact-result h4 {
  font-size: var(--text-lg);
  color: var(--color-text);
  margin: 0;
}
.quick-contact-result p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}
.quick-contact-result p a {
  color: var(--color-primary);
  font-weight: 600;
}
.quick-contact-result .btn-outline {
  margin-top: var(--space-2);
}

@media (max-width: 899px) {
  .quick-contact-fab {
    bottom: calc(84px + var(--space-3));
  }
  .quick-contact-panel {
    bottom: calc(84px + var(--space-3) + 68px);
  }
}

/* ============================================================
   Sticky mobile call bar
   ============================================================ */

.mobile-call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: var(--space-3) var(--space-4) max(var(--space-3), env(safe-area-inset-bottom));
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.1);
}
@media (min-width: 900px) {
  .mobile-call-bar {
    display: none;
  }
}

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

/* body padding so fixed bar never covers content */
body {
  padding-bottom: 84px;
}
@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

/* ============================================================
   Legal pages (Privacy Policy, Terms & Conditions)
   ============================================================ */
.legal-page {
  padding-block: clamp(var(--space-8), 6vw, var(--space-16));
}
.legal-container {
  max-width: var(--content-narrow);
}
.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-5);
}
.legal-breadcrumb a {
  color: var(--color-primary);
  font-weight: 600;
}
.legal-page h1 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  margin-bottom: var(--space-2);
}
.legal-updated {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
}
.legal-page h2 {
  font-size: var(--text-lg);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.legal-page p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  max-width: 68ch;
}
.legal-page ul {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  padding-left: var(--space-5);
  display: grid;
  gap: var(--space-2);
  max-width: 68ch;
}
.legal-page a {
  color: var(--color-primary);
  font-weight: 600;
}
