/* Self-hosted from Google Fonts (OFL): Source Serif 4 600 for headings,
   Hanken Grotesk 400-700 (variable) for text. Latin + latin-ext only. */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/hanken-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/hanken-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* metric-matched fallbacks (design-rules §7): the same line set in both fonts in
   Chrome, web width / fallback width (05.10.2026): Source Serif 4 600 / Georgia Bold
   = 91.75%, Hanken Grotesk 400 / Arial = 101.3% */
@font-face {
  font-family: "Serif Fallback";
  src: local("Georgia Bold"), local("Georgia-Bold");
  font-weight: 600;
  size-adjust: 91.75%;
}
@font-face {
  font-family: "Grotesk Fallback";
  src: local("Arial");
  size-adjust: 101.3%;
}

/* ontario-car-accident-lawyer.ca - palette from the logo pack (05.10.2026, design-rules §12):
   the logo navy #08335c is the button and the accent, its charcoal the text, its silver the
   hairlines; the footer is the dark master backdrop #011738, the header white because the pack
   README puts the light master on light headers. Source Serif 4 / Hanken Grotesk, mobile first.
   Breakpoints: 30rem, 40rem, 48rem, 64rem. */
:root {
  --night: #011738;
  --navy-900: #061a33;
  --navy-800: #0a2546;
  --navy-700: #08335c;
  --navy-600: #0f4479;
  --navy-500: #2a5f96;
  --navy-200: #c4d2e3;
  --navy-100: #e4ebf4;
  --navy-050: #f1f5fa;
  --silver-500: #9c9d9e;
  --silver-300: #cacbcd;
  --silver-100: #eceef1;
  --silver-050: #f7f8fa;
  --paper: #ffffff;
  --ink: #16191e;
  --ink-soft: #383f48;
  --mute: #58606b;
  --rule: #d8dde4;
  --rule-strong: #8d96a3;
  --star: #08335c;
  --on-dark: #f4f6f9;
  --on-dark-soft: #c3c9d2;
  --focus: #2a5f96;
  --face-head: "Source Serif 4", "Serif Fallback", Georgia, serif;
  --face-text: "Hanken Grotesk", "Grotesk Fallback", Arial, sans-serif;
  --frame: 78rem;
  --gutter: 1rem;
  --round: 0.75rem;
  --round-lg: 1.25rem;
  --lift: 0 1px 2px rgba(6, 26, 51, 0.08), 0 8px 24px -12px rgba(6, 26, 51, 0.3);
  --bar-h: 4.5rem;
  --h1-k: 39.3;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--silver-050);
  color: var(--ink);
  font-family: var(--face-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--navy-900); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--face-head); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; color: var(--navy-900); }
p { margin: 0 0 1rem; }
strong { font-weight: 700; }
.shell { width: 100%; max-width: var(--frame); margin-inline: auto; padding-inline: var(--gutter); min-width: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.glyph { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.glyph--sm { width: 1.1rem; height: 1.1rem; }
@media (min-width: 48rem) { :root { --gutter: 1.5rem; } }

.skip {
  position: absolute; left: 1rem; top: -5rem; z-index: 90;
  padding: 0.6rem 1rem; border-radius: 0.5rem;
  background: var(--navy-700); color: var(--on-dark); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 0.75rem; color: var(--on-dark); }

/* ---------------------------------------------------------------- buttons */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3rem; padding: 0.55rem 1.35rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 1rem/1.2 var(--face-text); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.cta:hover { text-decoration: none; }
.cta--solid { background: var(--navy-700); color: var(--on-dark); box-shadow: 0 6px 16px -8px rgba(8, 51, 92, 0.85); }
.cta--solid:hover { background: var(--navy-900); color: var(--on-dark); }
.cta--solid:active { transform: translateY(1px); }
.cta--line { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.cta--line:hover { background: var(--navy-700); border-color: var(--navy-700); color: var(--on-dark); }
.cta--ghost { border-color: var(--navy-700); color: var(--navy-700); background: var(--paper); }
.cta--ghost:hover { background: var(--navy-700); color: var(--on-dark); }
.cta--top { min-height: 2.6rem; padding: 0.35rem 1.1rem; background: var(--navy-700); color: var(--on-dark); font-size: 0.95rem; }
.cta--top:hover { background: var(--navy-900); color: var(--on-dark); }
.cta--block { width: 100%; }
.cta:disabled, fieldset:disabled .cta { background: #c9ced6; color: #333a44; box-shadow: none; cursor: not-allowed; }

/* ---------------------------------------------------------------- header: white, the light logo master on it */
.topline {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); color: var(--ink);
  border-bottom: 3px solid var(--navy-700);
  box-shadow: 0 10px 22px -16px rgba(6, 26, 51, 0.55);
}
.topline__bar {
  position: relative;
  min-height: var(--bar-h);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; gap: 0.75rem;
}
.sigil { justify-self: start; display: inline-flex; align-items: center; gap: 0.7rem; min-width: 0; text-decoration: none; }
.sigil__mark { width: auto; height: 3rem; flex: none; }
.sigil__word { display: none; width: auto; height: 2.05rem; }
.topline .cta--top { justify-self: center; }
.burger {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 0.55rem;
  min-height: 2.75rem; padding: 0.4rem 0.75rem;
  border: 1px solid var(--navy-200); border-radius: 0.6rem;
  background: var(--paper); color: var(--navy-700); font: 600 0.95rem var(--face-text); cursor: pointer;
}
.burger__lines, .burger__lines::before, .burger__lines::after {
  display: block; width: 1.2rem; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger__lines { position: relative; }
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { top: -6px; }
.burger__lines::after { top: 6px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 23.9rem) { .burger__word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* the phone menu panel and the desktop drop-downs: deep navy, so they part both from
   the white header and from the light page (design-rules §4) */
.waymenu {
  display: none;
  position: absolute; left: 0; right: 0; top: calc(100% + 3px);
  max-height: calc(100vh - var(--bar-h)); overflow-y: auto;
  background: var(--navy-800);
  box-shadow: 0 18px 32px -12px rgba(1, 4, 13, 0.55);
}
.waymenu :focus-visible { outline-color: var(--silver-300); }
.waymenu.is-open { display: block; }
.waymenu__list { list-style: none; margin: 0; padding: 0.5rem var(--gutter) 1rem; }
.waymenu__item { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.waymenu__link, .waymenu__fold {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 3rem; padding: 0.4rem 0.25rem;
  color: var(--on-dark); font: 600 1.02rem var(--face-text); text-decoration: none;
  background: none; border: 0; cursor: pointer; text-align: left;
}
.waymenu__link:hover, .waymenu__fold:hover { color: var(--silver-300); text-decoration: underline; }
.waymenu__link[aria-current="page"] { color: var(--silver-300); text-decoration: underline; }
.waymenu__caret { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.2s ease; }
.waymenu__fold[aria-expanded="true"] .waymenu__caret { transform: rotate(90deg); }
.waymenu__drop { list-style: none; margin: 0 0 0.75rem; padding: 0 0 0 0.75rem; border-left: 2px solid var(--silver-500); }
.waymenu__drop[hidden] { display: none; }
.waymenu__drop a { display: block; padding: 0.45rem 0.5rem; color: var(--on-dark); text-decoration: none; font-size: 0.98rem; }
.waymenu__drop a:hover { color: var(--silver-300); text-decoration: underline; }
.waymenu__drop a[aria-current="page"] { color: var(--silver-300); font-weight: 700; }
.waymenu__all a { font-weight: 700; }

@media (min-width: 30rem) {
  .waymenu__drop--city { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
  .waymenu__drop--city[hidden] { display: none; }
}
@media (min-width: 48rem) {
  .sigil__word { display: block; }
}
@media (min-width: 64rem) {
  .topline__bar { grid-template-columns: auto minmax(0, 1fr) auto; }
  .burger { display: none; }
  .topline .cta--top { grid-column: 3; grid-row: 1; justify-self: end; }
  .waymenu {
    display: block; position: static; grid-column: 2; grid-row: 1; justify-self: end;
    max-height: none; overflow: visible; background: none; border: 0; box-shadow: none;
  }
  .waymenu :focus-visible { outline-color: var(--focus); }
  .waymenu__list { display: flex; align-items: center; gap: 0.25rem; padding: 0; }
  .waymenu__item { position: relative; border: 0; }
  .waymenu__link, .waymenu__fold { min-height: 2.75rem; padding: 0.4rem 0.8rem; gap: 0.35rem; width: auto; border-radius: 0.5rem; color: var(--ink); }
  .waymenu__link:hover, .waymenu__fold:hover { color: var(--navy-700); background: var(--navy-050); text-decoration: none; }
  .waymenu__item.is-here > .waymenu__fold, .waymenu__link[aria-current="page"] {
    color: var(--navy-700); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em;
  }
  .waymenu__fold .waymenu__caret { transform: rotate(90deg); }
  .waymenu__fold[aria-expanded="true"] .waymenu__caret { transform: rotate(-90deg); }
  .waymenu__drop {
    position: absolute; top: calc(100% + 1.05rem); right: 0; z-index: 60;
    width: max-content; max-width: min(46rem, calc(100vw - 2rem));
    margin: 0; padding: 0.75rem;
    background: var(--navy-800); border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 3px solid var(--silver-300); border-radius: 0 0 var(--round) var(--round);
    box-shadow: 0 22px 40px -14px rgba(1, 4, 13, 0.6);
  }
  .waymenu__drop :focus-visible { outline-color: var(--silver-300); }
  .waymenu__drop--city { grid-template-columns: repeat(3, minmax(9.5rem, 1fr)); }
  .waymenu__drop--resource { min-width: 18rem; }
  .waymenu__drop a { border-radius: 0.4rem; }
  .waymenu__drop a:hover { background: rgba(255, 255, 255, 0.08); }
  .waymenu__all { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.16); margin-top: 0.35rem; padding-top: 0.35rem; }
}

/* ---------------------------------------------------------------- breadcrumbs */
.trail { background: var(--silver-100); border-bottom: 1px solid var(--rule); }
.trail__list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 0.5rem;
  list-style: none; margin: 0; padding: 0.7rem 0; font-size: 0.9rem; color: var(--mute);
}
.trail__list li { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; overflow-wrap: anywhere; }
.trail__list li + li::before { content: "/"; color: var(--rule-strong); }
.trail__list a { color: var(--navy-600); }
.trail__list [aria-current] { color: var(--ink-soft); }

/* ---------------------------------------------------------------- hero */
.lede-band { background: var(--navy-050); padding: 1.75rem 0 2.25rem; }
.lede-band__frame { container-type: inline-size; }
.lede-band__title { margin: 0 0 1.25rem; text-align: center; font-size: 1.85rem; line-height: 1.16; text-wrap: balance; }
@media (min-width: 48rem) {
  .lede-band__title { font-size: max(1.85rem, min(2.9rem, 100cqi / var(--h1-k))); }
}
@media (min-width: 64rem) {
  /* one line from 1024 px: the size follows the frame and the longest H1 of the site
     (K = its width at 1px in Source Serif 4 600 + 4%, set in pages.json) */
  .lede-band__title { font-size: min(2.9rem, 100cqi / var(--h1-k)); }
}
.lede-band__copy { display: flex; flex-direction: column; }
.lede-band__text { order: 1; }
.lede-band__shot { order: 2; margin: 0.25rem 0 0; }
.lede-band__text p, .topic > p:not([class]), .topic > ul:not([class]) > li, .topic > ol:not([class]) > li {
  text-align: justify; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3;
}
.lede-band__text p { font-size: 1.08rem; color: var(--ink-soft); }
.lede-band__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 1.25rem 0 0.25rem; }
.lede-band__shot img { width: 100%; border-radius: var(--round-lg); box-shadow: var(--lift); aspect-ratio: 3 / 2; object-fit: cover; }
.lede-band--slim { padding-bottom: 1.75rem; }
.lede-band__copy--solo p { max-width: none; text-align: center; color: var(--ink-soft); margin: 0; }
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .lede-band__copy { display: block; }
  .lede-band__shot { float: right; width: 48%; margin: 0.3rem 0 0.75rem 1.5rem; }
  .lede-band__acts { clear: none; }
}
@media (min-width: 64rem) {
  .lede-band { padding: 2.25rem 0 2.75rem; }
  .lede-band__copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
  .lede-band__copy--solo { display: block; }
  .lede-band__text { grid-column: 1; grid-row: 1; }
  .lede-band__shot { grid-column: 2; grid-row: 1; margin: 0; align-self: stretch; display: flex; align-items: center; }
  .lede-band__shot img { height: 100%; max-height: calc((100cqi - 2.5rem) / 2 / 1.25); aspect-ratio: auto; }
}

/* ---------------------------------------------------------------- article */
.paper { background: var(--paper); padding: 1.5rem 0 2.5rem; }
.dossier { min-width: 0; }
.topic { display: flow-root; padding: 1.75rem 0 0.5rem; border-bottom: 1px solid var(--navy-100); overflow-wrap: anywhere; }
.topic:last-child { border-bottom: 0; }
.topic__title { display: flex; align-items: center; gap: 0.85rem; margin: 0 0 1.1rem; font-size: 1.38rem; clear: both; }
.topic__badge {
  flex: none; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--navy-100); color: var(--navy-700);
  box-shadow: inset 0 0 0 1px var(--navy-200);
}
.dossier h3 { font-size: 1.22rem; margin: 1.5rem 0 0.6rem; }
.topic__act { margin: 1.25rem 0 0.75rem; text-align: center; }
@media (min-width: 48rem) { .topic__title { font-size: 1.5rem; } }

/* bulleted lists: cards, two to a row */
.topic > ul:not([class]) {
  clear: both; list-style: none; margin: 0.5rem 0 1.5rem; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem;
}
.topic > ul:not([class]) > li {
  position: relative; margin: 0; padding: 0.85rem 1rem 0.85rem 2.9rem;
  background: var(--silver-050); border: 1px solid var(--rule); border-radius: var(--round);
}
.topic > ul:not([class]) > li::before {
  content: ""; position: absolute; left: 0.95rem; top: 1.05rem;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--navy-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.2 8.3 2.4 2.4 5-5.1' fill='none' stroke='%23fbf9f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}
@media (min-width: 48rem) {
  .topic > ul:not([class]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic > ul:not([class]) > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* numbered lists: a timeline */
.topic > ol:not([class]) { clear: both; list-style: none; counter-reset: tl; margin: 0.5rem 0 1.5rem; padding: 0; }
.topic > ol:not([class]) > li {
  counter-increment: tl; position: relative; margin: 0; padding: 0 0 1.1rem 3.1rem; min-height: 2.6rem;
}
.topic > ol:not([class]) > li::before {
  content: counter(tl); position: absolute; left: 0; top: -0.1rem;
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--navy-100); color: var(--navy-900); border: 2px solid var(--navy-700);
  font: 700 0.95rem/1 var(--face-text);
}
.topic > ol:not([class]) > li::after {
  content: ""; position: absolute; left: 1.02rem; top: 2.15rem; bottom: 0.15rem; width: 2px; background: var(--navy-200);
}
.topic > ol:not([class]) > li:last-child { padding-bottom: 0.25rem; }
.topic > ol:not([class]) > li:last-child::after { display: none; }

/* tables */
.grid-scroll { margin: 0.75rem 0 1.5rem; overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--round); background: var(--paper); clear: both; }
.grid-scroll:focus-visible { outline-offset: 3px; }
.grid-scroll table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.97rem; line-height: 1.5; }
.grid-scroll th, .grid-scroll td { padding: 0.75rem 0.9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); overflow-wrap: normal; }
.grid-scroll thead th { background: var(--navy-700); color: var(--on-dark); font-weight: 700; border-bottom: 0; }
.grid-scroll tbody th { font-weight: 700; color: var(--navy-900); background: var(--navy-050); }
.grid-scroll tbody tr:nth-child(even) td { background: var(--silver-050); }
.grid-scroll tbody tr:last-child th, .grid-scroll tbody tr:last-child td { border-bottom: 0; }

/* pictures beside the text */
.inset { margin: 0.25rem 0 1.25rem; }
.inset img { width: 100%; border-radius: var(--round); box-shadow: var(--lift); aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 40rem) {
  .inset { width: min(44%, 30rem); }
  .inset--r { float: right; margin: 0.3rem 0 1rem 1.75rem; }
  .inset--l { float: left; margin: 0.3rem 1.75rem 1rem 0; }
  .inset--small { width: min(34%, 22rem); }
}

/* steps: a sliding lane, two wide cards on a desktop */
.lane { position: relative; margin: 1rem 0 0.5rem; }
.lane__track {
  padding: 4px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 4px;
  scrollbar-width: none;
}
.lane__track::-webkit-scrollbar { display: none; }
.lane__track > ol, .lane__track > ul {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 1rem;
  list-style: none; margin: 0; padding: 0;
}
.lane__track li { scroll-snap-align: start; min-width: 0; }
@media (min-width: 48rem) { .lane__track > ol, .lane__track > ul { grid-auto-columns: calc((100% - 1rem) / 2); } }
.lane__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
.lane__btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 2px solid var(--navy-700); background: var(--paper); color: var(--navy-700); cursor: pointer;
}
.lane__btn:hover:not(:disabled) { background: var(--navy-700); color: var(--on-dark); }
.lane__btn:disabled { opacity: 0.4; cursor: default; }
.lane__meter { position: relative; width: min(14rem, 40vw); height: 4px; border-radius: 4px; background: var(--navy-100); overflow: hidden; }
.lane__fill { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; border-radius: 4px; background: var(--navy-700); }

.stride {
  position: relative; height: 100%;
  padding: 1.25rem 1.25rem 0.5rem; border-radius: var(--round-lg);
  background: linear-gradient(180deg, var(--navy-050), var(--paper) 70%);
  border: 1px solid var(--navy-100);
}
.stride__no { margin: 0 0 0.25rem; font: 600 2.4rem/1 var(--face-head); color: var(--navy-700); }
.stride__title { margin: 0 0 0.6rem; font-size: 1.2rem; text-align: left; }
.stride__text p { color: var(--ink-soft); }

/* why use / about this page: cards */
/* rows always full: 3 to a row on a desktop, and a short last row shares the width (no empty cell) */
.pillars { list-style: none; margin: 0.75rem 0 1.25rem; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars > .pillar:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .pillars { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pillars > .pillar, .pillars > .pillar:last-child:nth-child(odd) { grid-column: span 2; }
  .pillars--n1 > .pillar { grid-column: 1 / -1; }
  .pillars--n2 > .pillar, .pillars--n4 > .pillar, .pillars--n4 > .pillar:last-child:nth-child(odd) { grid-column: span 3; }
  .pillars--n5 > .pillar:nth-child(n+4), .pillars--n5 > .pillar:last-child:nth-child(odd) { grid-column: span 3; }
  .pillars--n7 > .pillar:nth-child(7) { grid-column: 1 / -1; }
  .pillars--n8 > .pillar:nth-child(n+7) { grid-column: span 3; }
}
.pillar { padding: 1.25rem; border: 1px solid var(--rule); border-top: 4px solid var(--navy-700); border-radius: var(--round); background: var(--paper); }
.pillar__icon { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 0.65rem; background: var(--navy-100); color: var(--navy-700); margin-bottom: 0.6rem; }
.dossier .pillar__title { margin: 0 0 0.5rem; font-size: 1.15rem; }
.pillar__text p { font-size: 0.99rem; color: var(--ink-soft); }
.pillar__text p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- reviews */
.kudos { background: var(--navy-050); padding: 2.5rem 0; border-top: 1px solid var(--navy-100); }
.kudos__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-bottom: 0.5rem; }
.kudos__title { flex: 1 1 100%; margin: 0; font-size: 1.45rem; }
.kudos__score { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; margin: 0; flex: 1 1 auto; }
.kudos__avg { font: 600 2rem/1 var(--face-head); color: var(--navy-900); }
.kudos__stars { display: inline-flex; gap: 2px; }
.kudos__summary { color: var(--mute); font-size: 0.95rem; }
.star { width: 1.1rem; height: 1.1rem; fill: var(--star); stroke: none; }
.star--off { fill: var(--navy-200); }
@media (min-width: 56rem) {
  .kudos__title { flex: 0 1 auto; }
  .kudos__head .cta { margin-left: auto; }
}
.lane--kudos .lane__track > ul { grid-auto-columns: 88%; }
@media (min-width: 40rem) { .lane--kudos .lane__track > ul { grid-auto-columns: calc((100% - 1rem) / 2); } }
@media (min-width: 64rem) { .lane--kudos .lane__track > ul { grid-auto-columns: calc((100% - 2rem) / 3); } }
.kudo {
  display: flex; flex-direction: column; height: 100%;
  padding: 1.25rem; border-radius: var(--round-lg); background: var(--paper);
  border: 1px solid var(--navy-100); box-shadow: 0 1px 2px rgba(6, 26, 51, 0.06);
}
.kudo__stars { display: flex; gap: 2px; margin: 0 0 0.6rem; }
.kudo__text { margin: 0 0 1rem; flex: 1; }
.kudo__text p { margin: 0; color: var(--ink-soft); }
.kudo__by { display: flex; align-items: center; gap: 0.75rem; margin: 0; }
.kudo__initials { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--navy-700); color: var(--on-dark); font-weight: 700; font-size: 0.95rem; flex: none; }
.kudo__who { display: flex; flex-direction: column; line-height: 1.3; }
.kudo__name { font-weight: 700; color: var(--navy-900); }
.kudo__city { font-size: 0.9rem; color: var(--mute); }

/* ---------------------------------------------------------------- final block */
.nextstep { background: var(--navy-050); padding: 2.75rem 0; border-top: 1px solid var(--navy-100); }
.nextstep__frame { display: grid; gap: 1.75rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
.nextstep__title { margin: 0 0 0.85rem; font-size: 1.5rem; }
.nextstep__copy p { color: var(--ink-soft); text-align: left; }
.nextstep__act { margin: 1.25rem 0 0; }
.nextstep__perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .nextstep__perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .nextstep__frame { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; } }
.perk { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.15rem 0.85rem; padding: 1rem 1.1rem; border-radius: var(--round); background: var(--paper); border: 1px solid var(--navy-100); }
.perk__icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--navy-700); color: var(--silver-100); }
.perk__title { margin: 0; font-weight: 700; color: var(--navy-900); }
.perk__text { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- FAQ */
/* 08.10: a centred column of numbered question cards (the title used to sit alone in a wide left column) */
.askbox { background: var(--paper); padding: 3rem 0 3.5rem; }
.askbox__frame { max-width: 56rem; }
.askbox__title { margin: 0 0 1.75rem; font-size: 1.75rem; text-align: center; }
.askbox__title::after { content: ""; display: block; width: 3.5rem; height: 3px; margin: 0.8rem auto 0; border-radius: 3px; background: var(--navy-700); }
@media (min-width: 48rem) { .askbox__title { font-size: 2rem; } }
.askbox__list { display: grid; gap: 0.75rem; counter-reset: ask; }
.ask {
  counter-increment: ask;
  border: 1px solid var(--navy-100); border-radius: var(--round); background: var(--paper);
  box-shadow: 0 1px 2px rgba(6, 26, 51, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ask:hover { border-color: var(--navy-200); }
.ask[open] { border-color: var(--navy-200); box-shadow: var(--lift); }
.ask__q {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.95rem 1rem; border-radius: var(--round); cursor: pointer; list-style: none;
  font: 600 1.08rem/1.35 var(--face-text); color: var(--navy-900);
}
.ask__q::-webkit-details-marker { display: none; }
.ask__q:hover { color: var(--navy-600); }
.ask__icon {
  width: 2rem; height: 2rem; margin-left: auto; padding: 0.4rem; flex: none; border-radius: 50%;
  background: var(--navy-050); color: var(--navy-700);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transform: rotate(90deg); transition: transform 0.2s ease, background-color 0.15s ease, color 0.15s ease;
}
.ask[open] .ask__icon { transform: rotate(-90deg); background: var(--navy-700); color: var(--on-dark); }
.ask__a { margin: 0 1rem; padding: 0.85rem 0 1.1rem; border-top: 1px solid var(--navy-100); }
.ask__a p { margin: 0; color: var(--ink-soft); }
.ask__a p + p { margin-top: 0.75rem; }
/* the number badge from 30rem; the answer then lines up under the question text (1rem + 2.25rem + 0.85rem) */
@media (min-width: 30rem) {
  .ask__q::before {
    content: counter(ask, decimal-leading-zero);
    display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 0.6rem;
    background: var(--navy-100); color: var(--navy-700); font: 600 0.95rem/1 var(--face-head);
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  .ask[open] .ask__q::before { background: var(--navy-700); color: var(--on-dark); }
  .ask__a { margin-left: 4.1rem; }
}
@media (prefers-reduced-motion: reduce) { .ask, .ask__icon, .ask__q::before { transition: none; } }

/* ---------------------------------------------------------------- index pages */
.atlas { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.atlas__tile { display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: var(--round-lg); overflow: hidden; background: var(--paper); box-shadow: 0 1px 2px rgba(6, 26, 51, 0.05); }
.atlas__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.atlas__body { padding: 1rem 1.1rem 1.2rem; }
.atlas__kicker { margin: 0 0 0.25rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-600); }
.atlas__title { margin: 0 0 0.5rem; font-size: 1.12rem; }
.atlas__title a { color: var(--navy-900); text-decoration: none; }
.atlas__title a:hover { text-decoration: underline; }
.atlas__text { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- contact */
.reach { padding: 2rem 0 3rem; }
.reach__grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64rem) { .reach__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 2.5rem; } }
.reach__side { display: flex; flex-direction: column; min-width: 0; }
.reach__title { margin: 0 0 0.75rem; font-size: 2.1rem; }
.reach__lede { color: var(--ink-soft); }
.reach__cards { list-style: none; margin: 0.5rem 0 1.25rem; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .reach__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.reach__card { display: flex; gap: 0.75rem; padding: 1rem; border: 1px solid var(--rule); border-radius: var(--round); background: var(--paper); overflow-wrap: anywhere; min-width: 0; }
.reach__card--wide { grid-column: 1 / -1; }
.reach__card .glyph { color: var(--navy-700); margin-top: 0.15rem; }
.reach__label { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.reach__map { flex: 1 1 auto; min-height: 18rem; border-radius: var(--round-lg); overflow: hidden; border: 1px solid var(--rule); }
.reach__map iframe { display: block; width: 100%; height: 100%; min-height: 18rem; border: 0; }

.matchform { padding: 1.5rem; border-radius: var(--round-lg); background: var(--paper); border: 1px solid var(--rule); border-top: 5px solid var(--navy-700); box-shadow: var(--lift); min-width: 0; }
.matchform__title { margin: 0 0 0.5rem; font-size: 1.55rem; }
.matchform__intro { color: var(--ink-soft); }
.matchform__status { padding: 0.75rem 1rem; border-radius: 0.6rem; background: var(--navy-100); color: var(--ink); font-size: 0.97rem; overflow-wrap: anywhere; }
.matchform__fields { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 0.25rem 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .matchform__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { margin: 0 0 0.75rem; display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .rate__legend { font-weight: 700; font-size: 0.95rem; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 2.9rem; padding: 0.55rem 0.75rem;
  border: 1px solid #7d8794; border-radius: 0.55rem; background: var(--paper);
  font: 400 1rem/1.4 var(--face-text); color: var(--ink);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.field__hint { font-size: 0.86rem; color: var(--mute); }
fieldset:disabled .field input, fieldset:disabled .field select, fieldset:disabled .field textarea { background: var(--silver-100); }
.consent { display: flex; align-items: flex-start; gap: 0.65rem; margin: 0.25rem 0 1rem; font-size: 0.95rem; color: var(--ink-soft); }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; flex: none; }

/* ---------------------------------------------------------------- dialog */
.pane { width: min(36rem, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: var(--round-lg); box-shadow: 0 30px 60px -20px rgba(1, 4, 13, 0.6); color: var(--ink); }
.pane::backdrop { background: rgba(6, 26, 51, 0.62); }
.pane__body { position: relative; padding: 1.5rem; }
.pane__close { position: absolute; top: 0.75rem; right: 0.75rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: var(--navy-050); color: var(--navy-900); cursor: pointer; }
.pane__title { margin: 0 3rem 0.5rem 0; font-size: 1.45rem; }
.pane__intro, .pane__note { color: var(--ink-soft); font-size: 0.97rem; }
.pane__note { margin: 0.75rem 0 0; overflow-wrap: anywhere; }
.pane__status:empty { display: none; }
.pane__status { padding: 0.65rem 0.85rem; border-radius: 0.5rem; background: var(--navy-100); }
.pane__fields { display: grid; gap: 0 1rem; grid-template-columns: minmax(0, 1fr); border: 0; margin: 0; padding: 0; min-width: 0; }
@media (min-width: 30rem) { .pane__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rate { border: 0; margin: 0 0 0.75rem; padding: 0; }
.rate__row { display: flex; gap: 0.25rem; margin-top: 0.3rem; }
.rate__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate__star { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.5rem; color: var(--navy-200); cursor: pointer; }
.rate__star .glyph { fill: currentColor; stroke: none; width: 1.75rem; height: 1.75rem; }
.rate__row:hover .rate__star, .rate__row .rate__input:checked ~ .rate__star { color: var(--navy-200); }
.rate__row .rate__star:hover, .rate__row .rate__star:has(~ .rate__star:hover) { color: var(--star); }
.rate__row:has(.rate__input:checked) .rate__star { color: var(--star); }
.rate__row .rate__input:checked + .rate__star ~ .rate__star { color: var(--navy-200); }
.rate__input:focus-visible + .rate__star { outline: 3px solid var(--focus); outline-offset: 1px; }
.rate.is-missing .rate__star { box-shadow: inset 0 0 0 2px #b3261e; }
.pane__act { margin: 0.5rem 0 0; }

/* ---------------------------------------------------------------- 404 */
.astray { padding: 3.5rem 0 4rem; background: var(--navy-050); text-align: center; }
.astray__code { margin: 0; font: 600 5rem/1 var(--face-head); color: var(--navy-700); }
.astray__title { margin: 0.5rem 0 0.75rem; font-size: 2rem; }
.astray__text { color: var(--ink-soft); }
.astray__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }

/* ---------------------------------------------------------------- footer */
.basement { background: var(--night); color: var(--on-dark-soft); border-top: 4px solid var(--navy-700); padding: 2.5rem 0 1.25rem; font-size: 0.95rem; }
.basement :focus-visible { outline-color: var(--silver-300); }
.basement a { color: var(--on-dark); text-decoration-color: rgba(244, 246, 249, 0.45); }
.basement a:hover { color: var(--silver-300); }
.basement a[aria-current="page"] { color: var(--silver-300); }
.basement__grid { display: grid; gap: 1.75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .basement__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .basement__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 1.1fr) minmax(0, 1fr); } }
/* 08.10: the dark lockup (02) on the footer backdrop, no white plate, the same on a phone and a desktop */
.basement__brand { margin: 0 0 1rem; }
.basement__logo { width: 15rem; max-width: 100%; height: auto; }
.basement__label { margin: 0 0 0.6rem; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--silver-300); }
.basement__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.basement__col--cities ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
.basement__reach li { overflow-wrap: anywhere; }
.basement__legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.basement__note { font-size: 0.88rem; line-height: 1.55; }
.basement__note strong { color: var(--on-dark); }
.basement__copy { margin: 0; font-size: 0.85rem; }
.basement__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1.5rem;
  margin-top: 1.15rem;
}
.basement__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}
.basement__links li { display: flex; align-items: center; gap: 1.1rem; }
.basement__links li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}
.basement__links a { color: var(--on-dark); text-decoration: none; }
.basement__links a:hover, .basement__links a:focus-visible { text-decoration: underline; }
.basement__links a[aria-current] { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 40rem) {
  .basement__bottom { flex-direction: column-reverse; align-items: flex-start; gap: 0.85rem; }
}
