/* Learners Test Canada website: the "Night drive" identity of the app.
   Night-road navy, one electric-blue action colour, signal amber and maple coral used sparingly, paper background,
   white cards with 24px corners. Light and dark via prefers-color-scheme. No third-party resources. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus_jakarta_sans.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --night: #0A1530;
  --night-2: #16306E;
  --night-3: #2A4FB0;
  --night-deep: #070E1F;
  --action: #2F5BFF;
  --action-hover: #1F45E0;
  --amber: #FFB020;
  --coral: #FF5B4F;
  --green: #12B76A;
  --red: #E5484D;

  /* Light roles */
  --bg: #F3F5FA;
  --bg-alt: #E9EDF6;
  --card: #FFFFFF;
  --text: #0B1730;
  --muted: #4A5A78;
  --line: #DCE3EF;
  --link: #1F45E0;
  --soft: #E9EEFF;
  --soft-text: #1F45E0;
  --amber-soft: #FFF4DC;
  --amber-text: #7A4A00;
  --good-text: #067647;
  --good-soft: #E6F7EE;
  --bad-text: #B42318;
  --bad-soft: #FDEDED;
  --focus: #1F45E0;
  --shadow: 0 1px 2px rgba(11, 23, 48, .05), 0 10px 30px rgba(11, 23, 48, .08);
  --shadow-lg: 0 2px 6px rgba(11, 23, 48, .06), 0 24px 60px rgba(11, 23, 48, .14);

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070E1F;
    --bg-alt: #0B1530;
    --card: #101B33;
    --text: #EEF2FB;
    --muted: #A9B5CC;
    --line: #22304E;
    --link: #9DB4FF;
    --soft: #18275A;
    --soft-text: #B9CAFF;
    --amber-soft: #2A2110;
    --amber-text: #FFCB66;
    --good-text: #4ADE9B;
    --good-soft: #0F2F22;
    --bad-text: #FF8A8F;
    --bad-soft: #3A1517;
    --focus: #9DB4FF;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 24px 60px rgba(0, 0, 0, .5);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; }
svg.icon { width: 1.25em; height: 1.25em; flex: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.3em; margin: 0 0 1em; }
li + li { margin-top: .35em; }
strong, b { font-weight: 700; }

a { color: var(--link); text-decoration-thickness: .07em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-dark { --focus: var(--amber); }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -5rem; z-index: 200;
  background: var(--amber); color: var(--night); font-weight: 700;
  padding: .75rem 1.1rem; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 1rem; outline-color: var(--night); }
.nw { white-space: nowrap; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: 74ch; }
.prose-wide { max-width: 900px; }
.prose h2 { margin-top: 2.1em; }
.prose h3 { margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.eyebrow + h1, .eyebrow + h2 { margin-top: 0; }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--night); color: #EEF2FB;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(10, 21, 48, .93); backdrop-filter: saturate(160%) blur(14px); }
}
.header-inner { display: flex; align-items: center; gap: .75rem 1rem; min-height: var(--header-h); flex-wrap: wrap; }
.brand {
  display: inline-flex; align-items: center; gap: .65rem; color: #FFFFFF; text-decoration: none;
  font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; letter-spacing: -.015em; line-height: 1.1;
  padding: .3rem 0; margin-inline-end: auto;
}
.brand .mark { border-radius: 11px; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); flex: none; }
.brand-accent { color: var(--amber); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem .2rem; }
.site-nav li + li { margin: 0; }
.site-nav a {
  display: block; color: #D7DEEE; text-decoration: none; font-family: var(--font-head);
  font-weight: 600; font-size: .98rem; padding: .5rem .8rem; border-radius: 999px;
}
.site-nav a:hover { background: rgba(255, 255, 255, .08); color: #FFFFFF; }
.site-nav a[aria-current="page"] { color: #FFFFFF; background: rgba(47, 91, 255, .35); box-shadow: inset 0 0 0 1px rgba(157, 180, 255, .45); }
.lang-link {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .85rem;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); color: #FFFFFF; text-decoration: none;
  font: 600 .92rem var(--font-head);
}
.lang-link:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
.lang-link svg { color: var(--amber); width: 1.1em; height: 1.1em; }
.nav-toggle { display: none; }

@media (max-width: 1023px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: .55rem; order: 3;
    background: transparent; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
    font: 600 .95rem var(--font-head); padding: .45rem .9rem; min-height: 44px; cursor: pointer;
  }
  .lang-link { order: 2; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
  .site-nav { width: 100%; order: 4; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: block; padding-bottom: 1rem; }
  .site-nav ul { flex-direction: column; gap: .15rem; }
  .site-nav a { padding: .8rem 1rem; border-radius: 14px; }
}
@media (min-width: 1024px) { .site-nav { order: 2; } .lang-link { order: 3; } }
.lang-short { display: none; }
@media (max-width: 560px) {
  .header-inner { gap: .5rem; }
  .brand { font-size: 1.02rem; gap: .5rem; }
  .brand .mark { width: 34px; height: 34px; }
  .lang-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lang-short { display: inline; }
  .lang-link { padding: .35rem .7rem; min-height: 44px; }
  .js .nav-toggle { padding: .45rem .75rem; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 359px) { .brand-text { font-size: .92rem; } }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.2;
  padding: .95rem 1.4rem; min-height: 54px; border-radius: 18px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--action); color: #FFFFFF; box-shadow: 0 10px 22px rgba(47, 91, 255, .35); }
.btn-primary:hover { background: var(--action-hover); }
.btn-ghost { background: transparent; color: inherit; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
.btn-soon {
  background: #FFFFFF; color: var(--night); cursor: not-allowed; opacity: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25), inset 0 0 0 2px rgba(255, 176, 32, .0);
}
.btn-soon svg { color: var(--action); }
.store-note { font-size: .92rem; color: #B9C4DC; margin: .7rem 0 0; max-width: 46ch; }
.light .btn-soon { background: var(--night); color: #FFFFFF; box-shadow: var(--shadow); }
.light .btn-soon svg { color: var(--amber); }
.light .store-note { color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; }
.store-soon { margin: 1.4rem 0 0; }

/* ── Lane-dash rule (the road's centre line) ──────────── */
.lane-rule {
  height: 18px; background:
    repeating-linear-gradient(90deg, var(--amber) 0 44px, transparent 44px 88px) center / 100% 4px no-repeat,
    var(--night);
}
.lane-rule-hero { background-color: var(--night); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: #EEF2FB;
  background: linear-gradient(165deg, var(--night-2) 0%, var(--night) 62%);
  padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(2.6rem, 5vw, 4.5rem);
}
.night-road { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.02fr .98fr; } }
.hero h1 { color: #FFFFFF; max-width: 14ch; font-size: clamp(2.4rem, 1.4rem + 4vw, 4.2rem); letter-spacing: -.03em; }
.hero h1 .hl { color: var(--amber); }
html[lang="fr-CA"] .hero h1 { max-width: 15ch; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.8rem); }
.hero .lead { color: #C5D0E6; font-size: clamp(1.08rem, 1rem + .45vw, 1.28rem); max-width: 52ch; line-height: 1.6; }
.hero .fine { color: #AEBAD4; font-size: .95rem; margin: 1.1rem 0 0; }
.eyebrow {
  font: 700 .82rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .11em;
  color: var(--link); margin: 0 0 .9rem;
}
.on-dark .eyebrow { color: var(--amber); }
.hero-copy { position: relative; z-index: 2; }

/* Phones (decorative illustrations of the app; each has a visible caption) */
.hero-visual { margin: 0; position: relative; z-index: 1; }
.hero-visual figcaption {
  position: relative; color: #C5D0E6; font-size: .88rem; max-width: 46ch; margin: 1.4rem auto 0; text-align: center;
  background: rgba(10, 21, 48, .72); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: .6rem .9rem;
}
@supports (backdrop-filter: blur(6px)) { .hero-visual figcaption { backdrop-filter: blur(6px); } }
.hero-visual.in-page figcaption { color: var(--muted); background: var(--card); border-color: var(--line); }
.phones { position: relative; display: flex; justify-content: center; min-height: 600px; }
.phone {
  width: 286px; border-radius: 46px; background: #0E1424; padding: 9px; flex: none;
  box-shadow: 0 0 0 1.5px #2B3654, 0 40px 80px rgba(3, 8, 24, .55);
}
.phone-back { position: absolute; top: 34px; left: 50%; transform: translateX(-104%) rotate(-7deg) scale(.92); opacity: .97; }
.phone-front { position: relative; transform: translateX(26%) rotate(3deg); }
.ph-screen {
  --s-bg: #F3F5FA; --s-card: #FFFFFF; --s-ink: #0B1730; --s-ink2: #5A6A86; --s-line: #E4E9F2;
  position: relative; overflow: hidden; height: 580px; border-radius: 38px; background: var(--s-bg); color: var(--s-ink);
  font: 500 11.5px/1.35 var(--font-body); padding: 0 15px; display: flex; flex-direction: column; gap: 8px;
}
.ph-status { display: flex; justify-content: space-between; align-items: center; height: 34px; padding: 6px 8px 0; font-weight: 600; font-size: 11px; }
.ph-sig { display: inline-flex; align-items: flex-end; gap: 2px; }
.ph-sig i { width: 3px; background: var(--s-ink); border-radius: 1px; }
.ph-sig i:nth-child(1) { height: 5px; } .ph-sig i:nth-child(2) { height: 7px; } .ph-sig i:nth-child(3) { height: 9px; }
.ph-sig b { width: 16px; height: 8px; border: 1.5px solid var(--s-ink); border-radius: 2px; margin-inline-start: 4px; }
.ph-top { display: flex; align-items: center; gap: 8px; }
.ph-x { color: var(--s-ink2); font-size: 13px; }
.ph-star { color: var(--action); font-size: 13px; }
.ph-lanes { flex: 1; display: flex; gap: 3px; }
.ph-lanes i { flex: 1; height: 5px; border-radius: 3px; background: var(--s-line); }
.ph-lanes i.done { background: var(--action); }
.ph-lanes i.miss { background: var(--red); }
.ph-lanes i.now { background: var(--s-ink); }
.ph-meta { display: flex; justify-content: space-between; font: 700 10px var(--font-head); color: var(--s-ink2); }
.ph-cap { color: var(--action); letter-spacing: .08em; text-transform: uppercase; font-size: 9px; }
.ph-q { font: 700 14px/1.32 var(--font-head); letter-spacing: -.01em; margin: 0; }
.ph-img { background: linear-gradient(180deg, #EEF2FA, #E3E9F6); border-radius: 16px; height: 92px; display: grid; place-items: center; overflow: hidden; }
.ph-img img { height: 84px; width: auto; }
.ph-opt {
  display: flex; align-items: center; gap: 9px; min-height: 36px; padding: 6px 9px; border-radius: 13px; background: var(--s-card);
  border: 1.5px solid transparent; box-shadow: 0 1px 2px rgba(11, 23, 48, .05), 0 6px 16px rgba(11, 23, 48, .06);
}
.ph-opt .k { width: 22px; height: 22px; border-radius: 7px; background: var(--s-bg); display: grid; place-items: center; font: 800 10px var(--font-head); flex: none; color: var(--s-ink2); }
.ph-opt.sel { border-color: var(--action); background: #F6F8FF; }
.ph-opt.sel .k { background: var(--action); color: #FFFFFF; }
.ph-opt.right { border-color: var(--green); background: #E6F7EE; }
.ph-opt.right .k { background: var(--green); color: #FFFFFF; }
.ph-opt.wrong { border-color: var(--red); background: #FDEDED; }
.ph-opt.wrong .k { background: var(--red); color: #FFFFFF; }
.ph-opt.dim { opacity: .5; }
.ph-conf { display: flex; gap: 6px; margin-top: auto; }
.ph-conf span { flex: 1; text-align: center; padding: 6px 0; border-radius: 9px; background: var(--s-card); color: var(--s-ink2); font-weight: 600; font-size: 9.5px; box-shadow: 0 4px 10px rgba(11, 23, 48, .06); }
.ph-conf span.on { background: var(--s-ink); color: #FFFFFF; }
.ph-btn { margin: 0 0 20px; display: grid; place-items: center; height: 40px; border-radius: 13px; background: var(--action); color: #FFFFFF; font: 700 12px var(--font-head); box-shadow: 0 6px 14px rgba(47, 91, 255, .35); }
.ph-scrim { position: absolute; inset: 0; background: rgba(11, 23, 48, .2); }
.ph-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; background: var(--s-card); border-radius: 24px 24px 0 0;
  padding: 8px 15px 0; box-shadow: 0 -10px 40px rgba(11, 23, 48, .2); display: flex; flex-direction: column; gap: 7px;
}
.ph-grab { width: 34px; height: 4px; border-radius: 3px; background: var(--s-line); margin: 0 auto 4px; }
.ph-verdict { display: flex; align-items: center; gap: 9px; }
.ph-verdict b { display: block; font: 800 15px var(--font-head); color: var(--red); }
.ph-verdict small { display: block; font-size: 9.5px; color: var(--s-ink2); }
.ph-badge { width: 32px; height: 32px; border-radius: 11px; background: #FDEDED; color: var(--red); display: grid; place-items: center; flex: none; }
.ph-badge svg { width: 16px; height: 16px; stroke-width: 3; }
.ph-why { border-radius: 12px; padding: 8px 10px; font-size: 10.5px; line-height: 1.4; }
.ph-why b { display: block; font: 700 8.5px var(--font-body); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.ph-why.bad { background: #FDEDED; } .ph-why.bad b { color: #C2272D; }
.ph-why.good { background: #E6F7EE; } .ph-why.good b { color: #067647; }
.ph-src { display: flex; align-items: center; gap: 7px; font-size: 9.5px; font-weight: 600; color: var(--s-ink2); }
.ph-src .bk { width: 22px; height: 22px; border-radius: 7px; background: #E9EEFF; color: var(--action); display: grid; place-items: center; flex: none; }
.ph-src .bk svg { width: 13px; height: 13px; }
@media (max-width: 719px) {
  .phones { min-height: 0; }
  .phone-back { display: none; }
  .phone-front { transform: none; }
}
@media (min-width: 980px) and (max-width: 1120px) { .phone-back { transform: translateX(-96%) rotate(-7deg) scale(.88); } .phone-front { transform: translateX(22%) rotate(3deg) scale(.96); } }
.hero-visual.in-page .phones { min-height: 600px; }
@media (min-width: 720px) { .hero-visual.in-page .phone-back { transform: translateX(-90%) rotate(-7deg) scale(.86); } .hero-visual.in-page .phone-front { transform: translateX(20%) rotate(3deg) scale(.94); } }

/* ── Sections ─────────────────────────────────────────── */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tight { padding: clamp(1.6rem, 4vw, 2.6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 64ch; margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head .eyebrow { color: var(--link); font-size: .82rem; }
.after-grid { margin: 1.8rem 0 0; }
.content { padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(3rem, 6vw, 5rem); }
.two-col { display: grid; gap: 2.6rem; grid-template-columns: minmax(0, 1fr); }
.two-col > *, .hero-grid > *, .notfound > *, .cta-band-inner > * { min-width: 0; }
@media (min-width: 980px) {
  .two-col { grid-template-columns: minmax(0, 1fr) 300px; }
  .two-col-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .two-col-even.flip > :first-child { order: 2; }
}

/* Stats band */
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.stats li { margin: 0; background: var(--card); border-radius: var(--radius-md); padding: 1.1rem 1.3rem; box-shadow: var(--shadow); display: flex; align-items: baseline; gap: .7rem; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .stats li { flex-direction: column; gap: .3rem; padding: .95rem 1rem; }
  .stats span { font-size: .9rem; }
}
.section-tight + .section { padding-top: clamp(1.4rem, 3vw, 2.2rem); }
.stats b { font: 800 clamp(1.9rem, 1.4rem + 1.5vw, 2.5rem)/1 var(--font-head); color: var(--link); letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: .98rem; line-height: 1.35; }

/* Province cards (the app's province picker, as tiles) */
.prov-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.prov-card {
  position: relative; display: flex; flex-direction: column; gap: .5rem; background: var(--card);
  border-radius: var(--radius); padding: 1.15rem 1.2rem 1.1rem; box-shadow: var(--shadow);
  border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.prov-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--action); }
.prov-card:focus-within { border-color: var(--action); }
.prov-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.code-chip {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .45rem; border-radius: 13px;
  background: var(--soft); color: var(--soft-text); font: 800 .95rem/1 var(--font-head); letter-spacing: .02em;
}
.code-chip.sm { min-width: 34px; height: 30px; border-radius: 9px; font-size: .78rem; }
.prov-card:hover .code-chip, .prov-card:focus-within .code-chip { background: var(--action); color: #FFFFFF; }
.prov-licence { font: 700 .78rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prov-name { font-size: 1.18rem; margin: .2rem 0 0; }
.prov-name a { color: var(--text); text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.prov-name a:focus-visible { outline: none; }
.prov-name a:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 2px; }
.prov-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.prov-facts li { margin: 0; font-size: .84rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: var(--bg); color: var(--text); }
.prov-bank { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .9rem; margin: auto 0 0; padding-top: .4rem; }
.prov-bank svg { width: 1.05em; height: 1.05em; color: var(--link); }
.card-tbc { font-size: .8rem; color: var(--amber-text); }
.prov-go { position: absolute; top: 1.2rem; inset-inline-end: 1.2rem; color: var(--muted); opacity: 0; transition: opacity .15s; }
.prov-card:hover .prov-go { opacity: 1; color: var(--link); }
.prov-card:hover .prov-licence { visibility: hidden; }

/* Features */
.feature-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.feature { background: var(--card); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; box-shadow: var(--shadow); }
.feature h3 { margin: .2rem 0 .4rem; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
.icon-tile {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 15px;
  background: var(--soft); color: var(--soft-text); margin-bottom: .7rem;
}
.feature:nth-child(4n+2) .icon-tile { background: var(--amber-soft); color: var(--amber-text); }
.card-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-family: var(--font-head); text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.card-link svg { width: 1.1em; height: 1.1em; transition: transform .15s; }
.card-link:hover svg { transform: translateX(3px); }

/* How it works: a route with milestones */
.route { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; position: relative; counter-reset: none; }
.route li { margin: 0; position: relative; padding-inline-start: 4.2rem; }
.route li::before {
  content: ""; position: absolute; inset-inline-start: 23px; top: 50px; bottom: -1.6rem; width: 0;
  border-inline-start: 4px dashed var(--amber);
}
.route li:last-child::before { display: none; }
.milestone {
  position: absolute; inset-inline-start: 0; top: 0; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; background: var(--action); color: #FFFFFF; font: 800 1.15rem var(--font-head);
  box-shadow: 0 0 0 6px var(--soft);
}
.route li:last-child .milestone { background: var(--coral); box-shadow: 0 0 0 6px rgba(255, 91, 79, .22); }
.route h3 { margin: .55rem 0 .35rem; }
.route p { color: var(--muted); margin: 0; }
@media (min-width: 900px) {
  .route { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
  .route li { padding: 4.4rem 0 0; }
  .route li::before { inset-inline-start: 58px; top: 23px; bottom: auto; width: auto; inset-inline-end: -1.6rem; border-inline-start: 0; border-top: 4px dashed var(--amber); }
}

/* Plans */
.plans { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.plan { background: var(--card); border-radius: var(--radius); padding: 1.7rem 1.7rem 1.3rem; box-shadow: var(--shadow); }
.plan-kicker { font: 700 .8rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .3rem; }
.plan-price { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); margin: 0 0 1rem; }
.plan-price span { font: 600 1rem var(--font-body); color: inherit; opacity: .8; }
.plan-lifetime {
  color: #EEF2FB; background:
    radial-gradient(120% 90% at 100% 0%, rgba(49, 87, 201, .9) 0%, rgba(49, 87, 201, 0) 55%),
    linear-gradient(160deg, var(--night-2), var(--night));
  box-shadow: var(--shadow-lg);
}
.plan-lifetime .plan-kicker { color: var(--amber); }
.plan-lifetime .plan-price { color: #FFFFFF; }
.plan-lifetime .check-list li::before { border-color: var(--amber); }
.meta.plans-note { margin-top: 1rem; }
.meta.plan-fine { margin-top: -.3rem; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-inline-start: 1.9rem; }
.check-list li::before {
  content: ""; position: absolute; inset-inline-start: .2rem; top: .45em; width: .95rem; height: .5rem;
  border-left: 3px solid var(--good-text); border-bottom: 3px solid var(--good-text); transform: rotate(-45deg);
}

.callout { background: var(--card); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); margin: 0 0 1.5rem; }
.callout > :last-child { margin-bottom: 0; }
.callout h2, .callout h3 { margin-top: 0; }
.note { border-inline-start: 4px solid var(--line); padding-block: .2rem; padding-inline: 1rem 0; color: var(--muted); margin: 0 0 1.2rem; }
.meta { color: var(--muted); font-size: .95rem; margin: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem .2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--soft); color: var(--soft-text); font: 700 1.2rem/1 var(--font-head);
}
.faq details[open] summary::after { content: "−"; background: var(--action); color: #FFFFFF; }
.faq-q, .prose .faq-q { font-size: 1.08rem; margin: 0; }
.faq-a { padding: 0 .2rem 1.2rem; max-width: 72ch; color: var(--text); }
.faq-a > :last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 2.6rem; }
.faq h2 { margin-top: 0; }

/* CTA band and card */
.cta-band {
  position: relative; color: #EEF2FB; padding: clamp(2.6rem, 6vw, 4rem) 0;
  background:
    radial-gradient(70% 120% at 85% 0%, rgba(61, 99, 216, .55) 0%, rgba(61, 99, 216, 0) 60%),
    linear-gradient(160deg, var(--night-2), var(--night));
}
.cta-band-inner { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 900px) { .cta-band-inner { grid-template-columns: 1.2fr .8fr; } }
.cta-band h2 { color: #FFFFFF; margin-bottom: .4rem; }
.cta-band p { color: #C5D0E6; margin: 0; }
.cta-band a:not(.btn) { color: var(--amber); }
.cta-band .store-soon { margin: 0; }
.cta-card {
  margin: 2.6rem 0 0; color: #EEF2FB; border-radius: var(--radius); padding: 1.7rem 1.7rem 1.5rem;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(49, 87, 201, .85) 0%, rgba(49, 87, 201, 0) 55%),
    linear-gradient(160deg, var(--night-2), var(--night));
  box-shadow: var(--shadow-lg);
}
.cta-card h2 { color: #FFFFFF; margin-top: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.cta-card p { color: #C5D0E6; }
.cta-card a:not(.btn) { color: var(--amber); }

/* ── Inner page head ──────────────────────────────────── */
.page-head {
  position: relative; overflow: hidden; color: #EEF2FB;
  background: linear-gradient(165deg, var(--night-2) 0%, var(--night) 70%);
  padding: 1.6rem 0 2.6rem;
}
.page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 44px, transparent 44px 88px);
  opacity: .85;
}
.page-head-sky {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 255, 255, .7), transparent),
    radial-gradient(1.2px 1.2px at 32% 70%, rgba(255, 255, 255, .5), transparent),
    radial-gradient(1.6px 1.6px at 58% 18%, rgba(255, 255, 255, .7), transparent),
    radial-gradient(1.1px 1.1px at 76% 55%, rgba(255, 255, 255, .5), transparent),
    radial-gradient(1.4px 1.4px at 90% 26%, rgba(255, 255, 255, .6), transparent),
    radial-gradient(60% 120% at 92% 10%, rgba(61, 99, 216, .5), transparent 60%);
}
.page-head-inner { position: relative; }
.page-head h1 { color: #FFFFFF; max-width: 26ch; margin: .2rem 0 .6rem; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
.page-head .lead { color: #C5D0E6; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 64ch; margin-bottom: .8rem; }
.page-head .meta { color: #AEBAD4; }
.page-head .eyebrow { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.page-head .code-chip { background: var(--amber); color: var(--night); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem .5rem; padding: 0; margin: 0 0 1.2rem; font-size: .92rem; }
.breadcrumbs li { margin: 0; color: #AEBAD4; }
.breadcrumbs li + li::before { content: "›"; margin-inline-end: .5rem; color: #8090B0; }
.breadcrumbs a { color: #DCE3F5; }

/* Answer box */
.answer-box {
  background: var(--card); border-radius: var(--radius-md); padding: 1.2rem 1.4rem; margin: 0 0 2rem;
  box-shadow: var(--shadow); border-inline-start: 6px solid var(--action); font-size: 1.06rem;
}
.answer-box p:last-child { margin-bottom: 0; }
.answer-label { font: 800 .78rem var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--link); margin-bottom: .35rem; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.5rem; border-radius: var(--radius-md); background: var(--card); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: .98rem; }
caption { text-align: start; font: 700 .95rem var(--font-head); padding: .95rem 1.1rem .5rem; color: var(--muted); }
th, td { text-align: start; vertical-align: top; padding: .75rem 1.1rem; border-top: 1px solid var(--line); }
thead th { background: var(--bg-alt); font-family: var(--font-head); font-size: .9rem; border-top: 0; white-space: nowrap; }
tbody th { font-weight: 700; }
.facts tbody th { width: 34%; color: var(--muted); font-weight: 600; }
.compare td, .compare th { font-size: .94rem; }
.compare tbody th a { font-weight: 700; }
.legal-table th[scope="row"] { font-weight: 600; min-width: 14rem; }
.tbc {
  display: inline-block; vertical-align: .05em; white-space: nowrap; font: 700 .72rem/1 var(--font-body); letter-spacing: .03em;
  padding: .3rem .5rem; border-radius: 999px; background: var(--amber-soft); color: var(--amber-text);
  border: 1px solid rgba(255, 176, 32, .45);
}

/* The province test as a ticket */
.ticket { display: flex; margin: 0 0 1.4rem; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow-lg); }
.ticket-stub {
  position: relative; width: 104px; flex: none; display: grid; place-content: center; text-align: center; color: #1B1205;
  background: linear-gradient(160deg, #FFB020, #FF7A3D);
}
.ticket-stub b { display: block; font: 800 2.1rem/1 var(--font-head); letter-spacing: -.03em; }
.ticket-stub span { display: block; font: 700 .68rem var(--font-body); letter-spacing: .14em; margin-top: .3rem; }
.ticket-stub::after { content: ""; position: absolute; right: -1px; top: 12px; bottom: 12px; border-right: 2px dashed rgba(255, 255, 255, .85); }
.ticket-body { flex: 1; min-width: 0; padding: 1.1rem 1.3rem 1rem; }
.ticket-kicker { font: 700 .74rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .2rem; }
.prose .ticket-title, .ticket-title { font-size: 1.25rem; margin: 0 0 .6rem; }
.ticket-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .6rem; }
.ticket-chips span { font-size: .8rem; font-weight: 600; padding: .28rem .65rem; border-radius: 999px; background: var(--soft); color: var(--soft-text); }
.parts { list-style: none; padding: 0; margin: 0; }
.parts .part { display: flex; flex-direction: column; gap: .1rem; padding: .6rem 0; border-top: 1px solid var(--line); margin: 0; }
.part-name { font-weight: 700; font-family: var(--font-head); }
.part-facts { color: var(--muted); font-size: .95rem; }
.part-crit { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; color: var(--good-text); font-weight: 600; }
.part-crit svg { width: 1em; height: 1em; }
@media (max-width: 480px) { .ticket-stub { width: 74px; } .ticket-stub b { font-size: 1.6rem; } }

/* Topics */
.topics-label { font: 700 .8rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.topic-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.topic-list li { margin: 0; font-size: .88rem; padding: .32rem .7rem; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }

/* Numbered steps (study, about, deletion) */
.route-steps { list-style: none; counter-reset: rs; padding: 0; margin: 0 0 1.4rem; }
.route-steps li { counter-increment: rs; position: relative; padding-inline-start: 3.4rem; padding-bottom: 1.1rem; margin: 0; }
.route-steps li::before {
  content: counter(rs); position: absolute; inset-inline-start: 0; top: 0; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--soft); color: var(--soft-text); font: 800 1rem var(--font-head);
}
.route-steps li::after { content: ""; position: absolute; inset-inline-start: calc(1.15rem - 1px); top: 2.6rem; bottom: .2rem; border-inline-start: 2px dashed var(--line); }
.route-steps li:last-child::after { display: none; }
.prose .route-steps h3, .route-steps h3 { margin: .3rem 0 .25rem; font-size: 1.08rem; }
.route-steps p { margin: 0; color: var(--muted); }

/* Try one (example question) */
.try-one { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem 1.5rem; margin: 2.2rem 0; }
.prose .try-one h2 { margin-top: 0; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); }
.try-grid { display: grid; gap: 1.2rem; align-items: start; }
@media (min-width: 640px) { .try-grid { grid-template-columns: 200px minmax(0, 1fr); } }
.try-grid img { width: 100%; max-width: 220px; border-radius: 18px; background: linear-gradient(180deg, #EEF2FA, #E3E9F6); padding: 8px; }
.try-q { font: 700 1.08rem/1.4 var(--font-head); margin-bottom: .7rem; }
.try-options { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.try-options li { margin: 0; display: flex; align-items: center; gap: .7rem; padding: .55rem .8rem; border-radius: 14px; background: var(--bg); }
.try-options .k { width: 1.8rem; height: 1.8rem; border-radius: 9px; display: grid; place-items: center; background: var(--card); font: 800 .85rem var(--font-head); color: var(--muted); flex: none; }
.reveal { margin-top: 1rem; }
.reveal summary {
  cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; font: 700 1rem var(--font-head);
  color: #FFFFFF; background: var(--action); padding: .7rem 1.1rem; border-radius: 14px; list-style: none;
}
.reveal summary::-webkit-details-marker { display: none; }
.reveal[open] summary { background: var(--night); }
.reveal-body { margin-top: 1rem; }
.verdict-ok { display: flex; gap: .5rem; align-items: center; font: 800 1.08rem var(--font-head); color: var(--good-text); }
.whys { list-style: none; padding: 0; display: grid; gap: .45rem; }
.whys li { margin: 0; background: var(--bad-soft); border-radius: 12px; padding: .6rem .8rem; }
.whys b { display: block; font: 700 .74rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--bad-text); }
.src-line { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .92rem; font-weight: 600; }
.src-line svg { color: var(--link); }

/* Signs */
.sign-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 1.5rem; }
.sign-card { margin: 0; background: var(--card); border-radius: var(--radius-md); padding: 1rem 1.2rem .8rem; box-shadow: var(--shadow); text-align: center; min-width: 130px; }
.sign-card img { width: 84px; height: 84px; }
.sign-card figcaption { font: 700 .95rem var(--font-head); margin-top: .4rem; }
.sign-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.sign-tile { margin: 0; background: var(--card); border-radius: var(--radius-md); padding: 1rem .6rem .8rem; box-shadow: var(--shadow); text-align: center; }
.sign-tile img { width: 64px; height: 64px; }
.sign-tile figcaption { font: 700 .86rem var(--font-head); margin-top: .35rem; }

/* Source box */
.source-box { border-radius: var(--radius-md); padding: 1.2rem 1.4rem .4rem; margin: 2.4rem 0 0; background: var(--amber-soft); border: 1px solid rgba(255, 176, 32, .45); }
.prose .source-title, .source-title { display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; margin: 0 0 .6rem; }
.source-title svg { color: var(--amber-text); }
.source-small { font-size: .92rem; color: var(--muted); }

/* Aside */
.side { display: grid; gap: 1.1rem; align-content: start; }
.aside-card { background: var(--card); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.1rem; box-shadow: var(--shadow); }
.aside-card h2 { font-size: 1.05rem; margin: 0 0 .8rem; }
.aside-card img { border-radius: 22px; margin-bottom: .8rem; }
@media (min-width: 980px) { .side .aside-card:last-child { position: sticky; top: calc(var(--header-h) + 16px); } }
.mini-facts { margin: 0 0 .8rem; display: grid; gap: .1rem; }
.mini-facts dt { font: 700 .74rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .55rem; }
.mini-facts dd { margin: 0; font-weight: 600; }
.prov-mini { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; }
.prov-mini li { margin: 0; }
.prov-mini a { display: flex; align-items: center; gap: .6rem; padding: .3rem .3rem; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; }
.prov-mini a:hover { background: var(--bg); color: var(--link); }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li + li { margin-top: .5rem; }

/* Features page */
.feature-row { padding: clamp(2rem, 5vw, 3.4rem) 0; border-top: 1px solid var(--line); }
.feature-row:first-child { border-top: 0; padding-top: 0; }
.feature-visual { min-width: 0; }
.feature-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.mock-figure { margin: 0; }
.mock-figure figcaption, .mock-caption { color: var(--muted); font-size: .92rem; margin-top: .8rem; }
.route-card {
  border-radius: 28px; padding: 1.3rem 1.3rem 1.4rem; color: #EEF2FB; max-width: 420px; margin: 0 auto;
  background: radial-gradient(120% 90% at 100% 0%, #3157C9 0%, rgba(49, 87, 201, 0) 55%), linear-gradient(160deg, var(--night-2), var(--night));
  box-shadow: var(--shadow-lg);
}
.route-card svg { width: 100%; height: auto; }
.rc-cap { font: 700 .72rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin: 0 0 .4rem; }
.rc-miles { display: flex; justify-content: space-between; font-size: .76rem; color: #B9C4DC; }
.rc-miles b { color: #FFFFFF; }
.rc-today { font: 800 1.3rem var(--font-head); color: #FFFFFF; margin: 1rem 0 .1rem; }
.rc-sub { color: #B9C4DC; font-size: .9rem; margin: 0 0 1rem; }
.rc-btn { display: grid; place-items: center; height: 48px; border-radius: 16px; background: #FFFFFF; color: var(--night); font: 700 .98rem var(--font-head); }
.rings-card { background: var(--card); border-radius: 28px; padding: 1.3rem; box-shadow: var(--shadow-lg); max-width: 440px; margin: 0 auto; }
.rings-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 .8rem; }
.rings-head span { color: var(--muted); font-size: .85rem; }
.rings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: .7rem; margin-bottom: 1rem; }
.ring-tile, .sign-tile { min-width: 0; }
.ring-tile { display: flex; align-items: center; gap: .7rem; background: var(--bg); border-radius: 18px; padding: .7rem; }
.ring-tile svg { flex: none; color: var(--text); }
.ring-tile text { font: 800 13px var(--font-head); fill: var(--text); }
.ring-tile b { display: block; font-family: var(--font-head); }
.ring-tile small { color: var(--muted); font-weight: 600; }
.ok { color: var(--good-text) !important; }
.bars p { display: flex; justify-content: space-between; margin: .6rem 0 .3rem; font-family: var(--font-head); }
.passbar { position: relative; height: 10px; border-radius: 6px; background: var(--line); }
.passbar i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: var(--green); }
.passbar span { position: absolute; top: -4px; bottom: -4px; width: 3px; border-radius: 2px; background: var(--text); }

/* Legal pages */
.legal-layout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.legal-layout > * { min-width: 0; }
.legal-intro .url { overflow-wrap: anywhere; }
@media (min-width: 1080px) {
  .legal-layout { grid-template-columns: 240px minmax(0, 1fr); align-items: start; }
  .legal-layout .toc { position: sticky; top: calc(var(--header-h) + 16px); }
}
.toc { background: var(--card); border-radius: var(--radius-md); box-shadow: var(--shadow); padding: 1.1rem 1.2rem .6rem; }
.toc-h { font-size: .95rem; margin: 0 0 .5rem; }
.toc ol { margin: 0 0 .6rem; padding-inline-start: 1.2rem; font-size: .93rem; }
.toc li + li { margin-top: .25rem; }
.legal-intro { font-size: .97rem; }
.legal h2 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.7rem); }
.lead-p { font-size: 1.12rem; }
.mail-big { font: 800 clamp(1.2rem, 1rem + 1vw, 1.6rem) var(--font-head); overflow-wrap: anywhere; }
.mail-big a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.mail-big svg { color: var(--link); }
.authority-list li + li { margin-top: .45rem; }
.overview-notes { margin-top: 3rem; }
h2.gap-top { margin-top: 3rem; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { background: var(--night-deep); color: #B9C4DC; padding: 0 0 2rem; }
.site-footer .lane-rule { background-color: var(--night-deep); margin-bottom: 3rem; }
.cta-band + .site-footer .lane-rule, main:has(> .cta-band:last-child) + .site-footer .lane-rule { background-color: var(--night); }
.site-footer a { color: #DCE3F5; text-decoration: none; }
.site-footer a:hover { color: var(--amber); text-decoration: underline; }
.footer-legal a { text-decoration: underline; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1.9fr .85fr 1.05fr; } }
.footer-brand .brand-text { white-space: nowrap; }
.footer-brand .brand { margin: 0 0 .4rem; }
.footer-brand p { margin: .8rem 0 0; max-width: 36ch; }
.footer-h { font: 700 .78rem var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--amber); margin-bottom: .9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li + li { margin-top: .45rem; }
.footer-provinces ul { columns: 2; column-gap: 1.4rem; }
.footer-provinces li { break-inside: avoid; }
.footer-legal { border-top: 1px solid #1C2846; margin-top: 2.6rem; padding-top: 1.4rem; font-size: .93rem; }
.footer-legal .disclaimer { color: #DCE3F5; max-width: 90ch; }

/* 404 */
.notfound { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 760px) { .notfound { grid-template-columns: 220px minmax(0, 1fr); } }
.nf-sign {
  width: 170px; height: 170px; margin: 1rem auto; transform: rotate(45deg); border-radius: 22px; display: grid; place-items: center;
  background: var(--amber); box-shadow: inset 0 0 0 7px var(--amber), inset 0 0 0 11px var(--night), var(--shadow-lg);
}
.nf-sign span { transform: rotate(-45deg); font: 800 2.8rem/1 var(--font-head); color: var(--night); }
.notfound h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); }
.nf-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .skip-link, .store-soon, .cta-band, .cta-card, .hero-visual, .night-road { display: none !important; }
  body { background: #FFFFFF; color: #000000; }
  .hero, .page-head { background: #FFFFFF !important; color: #000000; }
  .hero h1, .page-head h1, .page-head .lead, .breadcrumbs a, .breadcrumbs li { color: #000000 !important; }
}
