:root {
  --ink: #071722;
  --ink-2: #0c2636;
  --panel: #102f42;
  --paper: #f5f1e8;
  --paper-2: #fffdf8;
  --text: #10212c;
  --muted: #5c6b73;
  --white: #ffffff;
  --gold: #f5b335;
  --gold-2: #ffd575;
  --teal: #2fb8a4;
  --line: #d9d3c7;
  --danger: #a53628;
  --shadow: 0 22px 70px rgba(4, 23, 34, .14);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: absolute; left: -999px; top: 10px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 800; }
.skip-link:focus { left: 10px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(7,23,34,.96); backdrop-filter: blur(12px); }
.nav-wrap { width: min(var(--max), calc(100% - 32px)); margin: auto; min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-weight: 900; letter-spacing: -.02em; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--gold); color: var(--ink); font-size: 20px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.brand small { display: block; color: #a9c0cb; font-size: 10px; line-height: 1.1; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 10px 12px; border-radius: 9px; color: #dbe7ec; text-decoration: none; font-size: 14px; font-weight: 700; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--white); background: rgba(255,255,255,.08); }
.nav-links .nav-cta { background: var(--gold); color: var(--ink); }
.menu-button { display: none; border: 1px solid #395363; border-radius: 10px; background: transparent; color: var(--white); padding: 9px 12px; font-weight: 800; }

.status-bar { background: var(--gold); color: var(--ink); }
.status-bar .inner { width: min(var(--max), calc(100% - 32px)); margin: auto; padding: 9px 0; display: flex; justify-content: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 800; }

.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(47,184,164,.24), transparent 31%), linear-gradient(115deg, transparent 63%, rgba(245,179,53,.08) 63% 65%, transparent 65%); }
.hero-grid { position: relative; width: min(var(--max), calc(100% - 32px)); margin: auto; min-height: 650px; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 7vw, 90px); align-items: center; padding: 78px 0 90px; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.hero h1, .page-hero h1 { margin: 0; max-width: 780px; font-size: clamp(42px, 7vw, 78px); line-height: .98; letter-spacing: -.055em; }
.hero .lead { max-width: 680px; margin: 24px 0 0; color: #c8d7df; font-size: clamp(18px, 2.2vw, 22px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 19px; border: 1px solid var(--gold); border-radius: 11px; background: var(--gold); color: var(--ink); text-decoration: none; font-weight: 900; }
.button:hover { background: var(--gold-2); }
.button.secondary { border-color: #365361; background: transparent; color: var(--ink); }
.hero .button.secondary,
.page-hero .button.secondary,
.section.dark .button.secondary,
.contact-boundaries .button.secondary,
.sources-card .button.secondary { color: var(--white); }
.button.dark { border-color: var(--ink); background: var(--ink); color: var(--white); }

.route-card { position: relative; padding: 32px; border: 1px solid #274859; border-radius: 28px; background: linear-gradient(160deg, rgba(18,52,70,.96), rgba(8,29,42,.96)); box-shadow: 0 35px 100px rgba(0,0,0,.28); }
.route-card::before { content: ""; position: absolute; left: 47px; top: 82px; bottom: 58px; width: 3px; background: repeating-linear-gradient(to bottom, var(--gold) 0 12px, transparent 12px 22px); }
.route-stop { position: relative; padding: 0 0 26px 48px; }
.route-stop:last-child { padding-bottom: 0; }
.route-stop::before { content: ""; position: absolute; left: 7px; top: 4px; width: 14px; height: 14px; border: 4px solid var(--gold); border-radius: 50%; background: var(--ink-2); }
.route-stop b { display: block; color: var(--white); font-size: 17px; }
.route-stop span { color: #abc1cc; font-size: 14px; }
.route-card .label { margin: 0 0 24px; color: var(--teal); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }

.section { padding: 82px 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--ink-2); color: var(--white); }
.container { width: min(var(--max), calc(100% - 32px)); margin: auto; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-head h2, .content h2 { margin: 0; font-size: clamp(30px, 4vw, 50px); line-height: 1.05; letter-spacing: -.035em; }
.section-head p { max-width: 620px; margin: 0; color: var(--muted); }
.dark .section-head p { color: #b9cbd3; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-primary-grid { grid-template-columns: repeat(4, 1fr); }
.home-market-brief h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.035em; }
.home-market-brief p { color: #344852; }
.card { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); box-shadow: 0 10px 35px rgba(7,23,34,.05); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); transition: .2s ease; }
.card .number { display: inline-grid; width: 40px; height: 40px; place-items: center; margin-bottom: 24px; border-radius: 12px; background: var(--ink); color: var(--gold); font-weight: 900; }
.card h3 { margin: 0 0 9px; font-size: 21px; letter-spacing: -.02em; }
.card p { margin: 0 0 18px; color: var(--muted); }
.card a { font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.dark .card { border-color: #29495a; background: #0c2939; color: var(--white); }
.dark .card p { color: #b9cbd3; }

.labor-dashboard-section {
  background: linear-gradient(180deg, #081c28 0%, #0c2636 100%);
}

.labor-window {
  overflow: hidden;
  border: 1px solid #315064;
  border-radius: 26px;
  background: #f8f5ed;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .28);
}

.labor-window-bar {
  display: flex;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid #315064;
  background: #06141e;
}

.labor-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #466271;
}

.labor-window-bar span:first-child { background: var(--gold); }
.labor-window-bar span:nth-child(2) { background: var(--teal); }

.labor-window-body {
  padding: clamp(24px, 5vw, 48px);
}

.labor-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.labor-heading h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(31px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.labor-updated {
  flex: none;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.labor-intro {
  max-width: 880px;
  margin: 22px 0 30px;
  color: #344852;
  font-size: 18px;
}

.labor-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.labor-metric {
  min-height: 168px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--white);
}

.labor-metric strong {
  display: block;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1;
  letter-spacing: -.04em;
}

.labor-metric span {
  display: block;
  margin-top: 12px;
  font-weight: 900;
}

.labor-metric small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.labor-metric.featured {
  border-color: var(--gold);
  background: #fff6df;
}

.labor-explainer {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items: center;
  margin-top: 18px;
  padding: 28px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--white);
}

.labor-label {
  margin: 0 0 6px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.labor-explainer h3 {
  margin: 0 0 9px;
  font-size: 24px;
  line-height: 1.18;
}

.labor-explainer p:last-child {
  margin: 0;
  color: #c3d4dc;
}

.labor-bars {
  display: grid;
  gap: 14px;
}

.labor-bars div {
  display: grid;
  grid-template-columns: 42px 1fr 52px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
}

.labor-bars i {
  display: block;
  width: var(--bar-size);
  height: 15px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.labor-context {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.labor-context article {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #f0ece2;
}

.labor-context strong {
  display: block;
  font-size: 21px;
}

.labor-context article > p:last-child {
  margin: 8px 0 0;
  color: #40535d;
  font-size: 14px;
}

.labor-spanish {
  margin-top: 18px;
  border: 1px solid #b9c8cf;
  border-radius: 14px;
  background: var(--white);
}

.labor-spanish summary {
  padding: 17px 20px;
  cursor: pointer;
  font-weight: 900;
}

.labor-spanish > div {
  padding: 0 20px 20px;
  border-top: 1px solid var(--line);
}

.labor-spanish h3 {
  margin: 20px 0 8px;
}

.labor-spanish p,
.labor-spanish li {
  color: #344852;
}

.labor-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.labor-sources span {
  font-weight: 900;
}

.labor-sources a {
  color: #087a6b;
  font-weight: 800;
}


.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 88px); align-items: start; }
.notice { padding: 26px; border-left: 5px solid var(--gold); border-radius: 0 16px 16px 0; background: #fff8e8; }
.notice h3 { margin-top: 0; }
.notice p:last-child { margin-bottom: 0; }
.fact-list { display: grid; gap: 14px; margin: 25px 0 0; padding: 0; list-style: none; }
.fact-list li { position: relative; padding-left: 30px; }
.fact-list li::before { content: "✓"; position: absolute; left: 0; color: #168b78; font-weight: 900; }

.page-hero { background: var(--ink); color: var(--white); padding: 72px 0; }
.page-hero p { max-width: 760px; margin: 22px 0 0; color: #c5d5dd; font-size: 19px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 66px); }
.content { width: min(820px, calc(100% - 32px)); margin: auto; padding: 70px 0 90px; }
.content h2 { margin-top: 50px; font-size: clamp(27px, 4vw, 40px); }
.content h3 { margin-top: 34px; font-size: 22px; }
.content p, .content li { color: #344852; }
.content a { color: #087a6b; font-weight: 800; }
.content .notice { margin: 30px 0; }
.resource-list { display: grid; gap: 12px; margin: 28px 0; }
.resource-list a { display: flex; justify-content: space-between; gap: 20px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--text); text-decoration: none; }
.resource-list a:hover { border-color: var(--teal); }

.search-shell,
.contact-shell {
  width: min(1000px, calc(100% - 32px));
  margin: auto;
  padding: 64px 0 90px;
}

.site-search-form {
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.site-search-form > label {
  margin-bottom: 12px;
  font-size: 19px;
}

.search-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-control input,
.search-control button {
  margin: 0;
}

.search-summary {
  min-height: 25px;
  margin: 26px 0 14px;
  color: var(--muted);
  font-weight: 900;
}

.search-results {
  display: grid;
  gap: 12px;
}

.search-result {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
}

.search-language {
  color: #087a6b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.search-result h2 {
  margin: 5px 0 6px;
  font-size: 23px;
}

.search-result h2 a {
  text-underline-offset: 4px;
}

.search-result p,
.search-empty p {
  margin: 0;
  color: var(--muted);
}

.search-empty {
  padding: 30px;
  border: 1px dashed #9bacb5;
  border-radius: 16px;
  text-align: center;
}

.search-empty h2 {
  margin: 0 0 7px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(30px, 7vw, 72px);
  align-items: start;
}

.contact-grid h2 {
  margin: 0;
  font-size: clamp(31px, 5vw, 50px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.contact-grid > div > p {
  color: #344852;
}

.contact-grid a {
  color: #087a6b;
  font-weight: 900;
}

.contact-note {
  margin-top: 26px;
  padding: 20px;
  border-left: 5px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: #fff7e5;
}

.contact-note p {
  margin: 7px 0 0;
  color: #344852;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
}

.contact-boundaries {
  margin-top: 36px;
  padding: 28px;
  border-radius: 18px;
  background: var(--ink-2);
  color: var(--white);
}

.contact-boundaries h2 {
  margin: 0 0 10px;
}

.contact-boundaries li,
.contact-boundaries p {
  color: #c3d4dc;
}

.signup-shell { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; }
.form-card { padding: 30px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
label { display: block; margin: 0 0 7px; font-weight: 850; }
input, select, textarea { width: 100%; min-height: 48px; margin: 0 0 18px; padding: 11px 13px; border: 1px solid #b9c4c9; border-radius: 10px; background: var(--white); color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(47,184,164,.25); border-color: var(--teal); }
.check-row { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start; }
.check-row input { width: 19px; min-height: 19px; margin-top: 4px; }
.check-row label { font-size: 14px; font-weight: 600; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.form-status { min-height: 24px; margin-top: 14px; font-weight: 800; }
.form-status.success { color: #087a56; }
.form-status.error { color: var(--danger); }

.site-footer { background: #04111a; color: #b8c7ce; }
.footer-grid { width: min(var(--max), calc(100% - 32px)); margin: auto; padding: 55px 0 30px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 38px; }
.footer-grid h2, .footer-grid h3 { color: var(--white); }
.footer-grid h2 { margin: 0; }
.footer-grid a { color: #d9e4e9; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.legal { width: min(var(--max), calc(100% - 32px)); margin: auto; padding: 20px 0 30px; border-top: 1px solid #1d3441; font-size: 12px; color: #8da1ab; }


@media (min-width: 901px) and (max-width: 1120px) {
  .menu-button { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 16px; right: 16px; top: 68px; padding: 12px; flex-direction: column; align-items: stretch; border: 1px solid #294756; border-radius: 14px; background: #071722; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
}

@media (max-width: 900px) {
  .menu-button { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 16px; right: 16px; top: 68px; padding: 12px; flex-direction: column; align-items: stretch; border: 1px solid #294756; border-radius: 14px; background: #071722; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hero-grid, .split, .signup-shell, .labor-explainer, .contact-grid { grid-template-columns: 1fr; }
  .labor-heading { align-items: start; flex-direction: column; }
  .labor-metrics { grid-template-columns: 1fr 1fr; }
  .hero-grid { min-height: auto; padding: 64px 0; }
  .grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .grid, .footer-grid, .labor-metrics, .labor-context { grid-template-columns: 1fr; }
  .labor-metric { min-height: auto; }
  .section { padding: 60px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .route-card { padding: 24px 20px; }
  .route-card::before { left: 35px; }
  .route-stop { padding-left: 42px; }
  .actions { align-items: stretch; }
  .search-control { grid-template-columns: 1fr; }
  .search-control .button { width: 100%; }
  .button { width: 100%; }
}

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

/* Keep the responsive menu on an opaque, scrollable surface above page content. */
@media (max-width: 1120px) {
  .site-header {
    isolation: isolate;
  }
  .site-header .nav-links {
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 88px);
    background: #fff !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 1000;
  }
}

/* Editorial transparency, learning roadmap, and printable resources */
.editorial-credit {
  border-top: 1px solid #274553;
  background: var(--ink-2);
  color: #c5d5dc;
}
.editorial-credit > div {
  width: min(var(--max), calc(100% - 32px));
  margin: auto;
  padding: 24px 0;
}
.editorial-credit p { margin: 0; }
.editorial-credit p + p { margin-top: 5px; font-size: 13px; }
.editorial-credit strong, .editorial-credit a { color: var(--white); }
.page-review-meta {
  width: min(var(--max), calc(100% - 32px));
  margin: 28px auto;
  padding: 14px 18px;
  border: 1px solid #cdd9d2;
  border-left: 5px solid var(--teal);
  border-radius: 12px;
  background: #eef7f4;
  color: #314b45;
  font-size: 13px;
}
.page-review-meta a { font-weight: 850; }

.founder-principle {
  margin: 28px 0 48px;
  padding: clamp(24px, 4vw, 38px);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  background: var(--ink-2);
  color: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}
.founder-principle figcaption {
  margin-bottom: 16px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.founder-principle blockquote { margin: 0; }
.founder-principle blockquote p {
  max-width: 860px;
  margin: 0 auto;
  color: var(--white);
  font-size: clamp(20px, 3vw, 29px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}
.founder-principle blockquote p[lang="es"] {
  margin-top: 18px;
  color: #c5d5dc;
  font-size: clamp(17px, 2.4vw, 23px);
}
.founder-principle .quote-source {
  margin: 20px 0 0;
  color: #a9c0cb;
  font-size: 13px;
}

[data-language-content][hidden] { display: none !important; }

.road-notes-language-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 34px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.road-notes-language-bar > span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}
.road-notes-language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #e3ded3;
}
.road-notes-language-switch button {
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
}
.road-notes-language-switch button[aria-pressed="true"] {
  background: var(--ink-2);
  color: var(--white);
  box-shadow: 0 3px 10px rgba(7,23,34,.18);
}
.road-notes-language-switch button:focus-visible {
  outline: 3px solid rgba(47,184,164,.35);
  outline-offset: 2px;
}

.road-notes-hero {
  background: linear-gradient(125deg, var(--ink) 0%, var(--ink-2) 68%, #153d4d 100%);
}
.road-notes-hero .container { position: relative; }
.road-notes-hero p:not(.eyebrow) { max-width: 780px; }
.road-notes-hero p[lang="es"] { margin-top: 12px; color: #a9c0cb; }
.road-notes-shell {
  width: min(1040px, calc(100% - 32px));
  margin: auto;
  padding: 64px 0 92px;
}
.road-notes-intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 70px;
}
.road-notes-intro > div,
.road-notes-standards,
.road-note-article,
.road-notes-next {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: 0 12px 42px rgba(7,23,34,.07);
}
.road-notes-intro > div { padding: clamp(24px, 4vw, 38px); }
.road-notes-intro h2,
.road-note-article h2,
.road-notes-next h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.road-notes-intro > div > p:last-child { color: var(--muted); font-size: 18px; }
.road-notes-standards { padding: 28px; background: var(--ink-2); color: var(--white); }
.road-notes-standards > strong { display: block; margin-bottom: 14px; font-size: 20px; }
.road-notes-standards ul { display: grid; gap: 10px; margin: 0 0 20px; padding-left: 20px; color: #c5d5dc; }
.road-notes-standards span { color: var(--gold-2); font-weight: 900; }
.road-notes-standards a { color: var(--white); font-weight: 900; }
.road-notes-topic-index {
  margin-bottom: 70px;
  border-top: 4px solid var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.road-notes-topic-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.road-notes-topic-row:last-child { border-bottom: 0; }
.road-notes-topic-number {
  padding-top: 2px;
  color: #a66f00;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
}
.road-notes-topic-row h3 {
  margin: 0 0 5px;
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.2;
}
.road-notes-topic-row p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.road-note-article { padding: clamp(26px, 5vw, 54px); }
.note-label { margin: 0 0 10px; color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.note-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 30px; color: var(--muted); font-size: 14px; }
.note-meta span { position: relative; }
.note-meta span + span::before { content: "·"; position: absolute; left: -11px; }
.road-note-article > p { max-width: 780px; font-size: 18px; }
.note-spanish { margin-top: 34px; padding: 24px; border-left: 5px solid var(--teal); border-radius: 0 14px 14px 0; background: #eef7f4; }
.note-spanish h3 { margin-top: 0; }
.note-spanish p { margin-bottom: 0; color: #314b45; }
.road-notes-next { margin-top: 28px; padding: clamp(24px, 4vw, 38px); border-left: 6px solid var(--gold); }
.road-notes-next p:last-child { max-width: 780px; color: var(--muted); }

@media (max-width: 760px) {
  .road-notes-language-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 28px;
  }
  .road-notes-language-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .road-notes-intro { grid-template-columns: 1fr; margin-bottom: 52px; }
  .road-notes-topic-index { margin-bottom: 52px; }
  .road-notes-topic-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 20px 0;
  }
  .road-notes-topic-number { font-size: 13px; }
  .road-notes-topic-row p { line-height: 1.55; }
  .note-meta { display: grid; gap: 4px; }
  .note-meta span + span::before { content: none; }
  .road-note-article > p { font-size: 16px; }
}

.road-notes-latest { margin-bottom: 32px; }
.road-note-feature {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-left: 7px solid var(--gold);
  border-radius: var(--radius);
  background: var(--ink-2);
  color: var(--white);
  box-shadow: var(--shadow);
}
.road-note-feature h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.road-note-feature h2 a { color: var(--white); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.road-note-feature p:not(.note-label) { color: #c5d5dc; font-size: 18px; }
.road-note-feature p[lang="es"] { margin-bottom: 0; font-size: 16px; }
.road-note-feature-meta { display: grid; gap: 8px; color: #c5d5dc; font-size: 14px; }
.road-note-feature-meta .button { margin-top: 14px; text-align: center; }

.road-note-reading-hero h1 { max-width: 850px; }
.road-note-reading {
  width: min(820px, calc(100% - 32px));
  margin: auto;
  padding: 64px 0 92px;
}
.road-notes-language-back { margin-bottom: 18px; }
.road-note-language-body { display: flow-root; }
.road-note-reading-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.road-note-reading-header h2,
.road-note-translation h2 {
  margin: 8px 0 0;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.back-link { display: inline-block; margin-bottom: 32px; font-weight: 850; }
.road-note-language-body > p,
.road-note-translation > p {
  color: #344852;
  font-size: 19px;
  line-height: 1.78;
}
.road-note-language-body > p:first-of-type { font-size: 22px; }
.road-note-pullquote {
  margin: 42px 0;
  padding: 28px 30px;
  border-left: 6px solid var(--gold);
  border-radius: 0 16px 16px 0;
  background: var(--ink-2);
}
.road-note-pullquote p { margin: 0; color: var(--white); font-size: clamp(23px, 4vw, 32px); font-weight: 750; line-height: 1.4; }
.road-note-closing { font-weight: 800; }
.road-note-translation {
  margin-top: 64px;
  padding-top: 54px;
  border-top: 4px solid var(--teal);
}
.road-note-disclosure {
  margin-top: 52px;
  padding: 22px 24px;
  border-radius: 14px;
  background: #eef7f4;
  color: #314b45;
}
.road-note-disclosure p { margin: 6px 0 0; font-size: 14px; }

@media (max-width: 760px) {
  .road-note-feature { grid-template-columns: 1fr; }
  .road-note-feature-meta .button { width: 100%; }
  .road-note-language-body > p,
  .road-note-translation > p { font-size: 17px; line-height: 1.7; }
  .road-note-language-body > p:first-of-type { font-size: 19px; }
  .road-note-pullquote { margin: 32px 0; padding: 24px 22px; }
}

.roadmap-shell { width: min(1040px, calc(100% - 32px)); margin: auto; padding: 64px 0 92px; }
.roadmap-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; margin-bottom: 28px; }
.roadmap-panel, .roadmap-summary, .print-sheet {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: 0 12px 42px rgba(7,23,34,.07);
}
.roadmap-panel { padding: clamp(22px, 4vw, 36px); }
.roadmap-summary { padding: 24px; background: var(--ink-2); color: var(--white); }
.roadmap-summary p { color: #c5d5dc; }
.roadmap-meter { height: 13px; overflow: hidden; border-radius: 99px; background: #294756; }
.roadmap-meter span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--gold), var(--teal)); transition: width .2s ease; }
.roadmap-count { margin: 12px 0 0; font-weight: 850; }
.path-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.path-selector button { min-height: 78px; padding: 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--white); color: var(--text); font: inherit; font-weight: 850; cursor: pointer; }
.path-selector button[aria-pressed="true"] { border-color: var(--teal); background: #eaf7f3; }
.roadmap-track { display: none; gap: 12px; }
.roadmap-track.active { display: grid; }
.roadmap-step { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.roadmap-step input { width: 22px; min-height: 22px; margin: 4px 0 0; accent-color: var(--teal); }
.roadmap-step h3 { margin: 0; font-size: 19px; }
.roadmap-step p { margin: 3px 0 7px; color: var(--muted); }
.roadmap-step a { font-weight: 850; }
.roadmap-step.complete { border-color: #9fcfc5; background: #eef8f5; }
.roadmap-privacy { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: #fff5dc; font-size: 13px; }
.text-button { border: 0; background: transparent; color: inherit; text-decoration: underline; font: inherit; font-weight: 850; cursor: pointer; }

.resource-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.print-sheet { padding: clamp(24px, 5vw, 48px); }
.print-sheet h2 { margin-top: 34px; }
.print-sheet h2:first-child { margin-top: 0; }
.checklist { display: grid; gap: 9px; padding: 0; list-style: none; }
.checklist li { position: relative; padding: 10px 12px 10px 42px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "□"; position: absolute; left: 10px; top: 8px; font-size: 22px; }
.term-pair strong { display: block; }
.term-pair span { color: var(--muted); }
.worksheet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.write-line { display: block; min-height: 38px; border-bottom: 1px solid #52636c; }
.weight-table { width: 100%; border-collapse: collapse; margin: 22px 0; }
.weight-table th, .weight-table td { padding: 11px; border: 1px solid var(--line); text-align: left; }
.weight-table input { min-height: 36px; margin: 0; padding: 6px; border: 0; border-radius: 0; background: transparent; }
.decision-box { padding: 18px; border: 2px solid var(--gold); border-radius: 14px; background: #fff9e9; }

@media (max-width: 760px) {
  .roadmap-intro, .path-selector, .worksheet-grid { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .status-bar, .site-footer, .editorial-credit, .resource-actions, .page-review-meta, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .page-hero { padding: 18px 0; background: #fff; color: #000; }
  .page-hero h1 { font-size: 26pt; }
  .print-sheet { width: 100%; padding: 0; border: 0; box-shadow: none; }
  .checklist { gap: 2px; }
  .checklist li { break-inside: avoid; padding-top: 5px; padding-bottom: 5px; }
  a { text-decoration: none; }
}


/* CDL Decision Center */
.home-decision {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, #fff8e8 0 43%, #f5f1e8 43% 100%);
}
.home-decision .container {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}
.home-decision-intro h2,
.decision-start h2,
.decision-next h2,
.decision-columns h2,
.decision-hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.03;
  letter-spacing: -.045em;
}
.home-decision-intro > p:not(.eyebrow) { color: var(--muted); }
.home-decision-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home-decision-links a {
  display: block;
  min-height: 142px;
  padding: 22px;
  border: 1px solid #cfc7b8;
  border-radius: 16px;
  background: rgba(255,255,255,.84);
  text-decoration: none;
}
.home-decision-links a:hover { border-color: var(--teal); }
.home-decision-links strong { display: block; font-size: 18px; }
.home-decision-links span { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; }

.decision-hero {
  padding: 74px 0;
  background: var(--ink);
  color: var(--white);
}
.decision-hero .container {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(32px, 7vw, 82px);
  align-items: end;
}
.decision-hero-copy > p:last-child {
  max-width: 750px;
  margin: 22px 0 0;
  color: #c5d5dd;
  font-size: 19px;
}
.decision-promise {
  padding: 26px;
  border-top: 4px solid var(--gold);
  background: #0d2a3b;
}
.decision-promise strong { color: var(--gold-2); font-size: 19px; }
.decision-promise p { margin: 8px 0 0; color: #c5d5dd; }

.decision-start { padding: 62px 0 72px; }
.decision-start h2 { max-width: 800px; }
.decision-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 30px;
  border: 1px solid var(--line);
  background: var(--line);
}
.decision-shortcuts a {
  display: grid;
  align-content: start;
  min-height: 180px;
  padding: 24px;
  background: var(--paper-2);
  text-decoration: none;
}
.decision-shortcuts a:hover { background: #fff7e5; }
.decision-shortcuts span {
  color: #087a6b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}
.decision-shortcuts strong { margin-top: 18px; font-size: 19px; line-height: 1.2; }
.decision-shortcuts small { margin-top: 8px; color: var(--muted); font-size: 14px; }

.decision-balance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.decision-balance article {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #bfcfc8;
  border-top: 6px solid var(--teal);
  background: var(--white);
}
.decision-balance article.reality { border-color: #d9c9a7; border-top-color: var(--gold); }
.decision-kicker {
  margin: 0;
  color: #087a6b;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.decision-balance .reality .decision-kicker { color: #835b08; }
.decision-balance ul { margin: 20px 0 0; padding-left: 21px; }
.decision-balance li + li { margin-top: 12px; }
.decision-quote {
  margin: 24px 0 0;
  padding: 26px clamp(24px, 5vw, 48px);
  border-left: 6px solid var(--gold);
  background: var(--ink);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 3vw, 29px);
  line-height: 1.4;
}

.decision-columns {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(34px, 7vw, 80px);
  align-items: start;
}
.decision-columns p { color: #344852; }
.text-link { color: #087a6b; font-weight: 900; text-underline-offset: 4px; }
.decision-check {
  padding: 28px;
  border: 1px solid #c5d4ce;
  border-left: 6px solid var(--teal);
  background: #eff7f4;
}
.decision-check > strong { font-size: 21px; }
.decision-check ul { padding-left: 20px; }
.decision-check li + li { margin-top: 9px; }
.decision-check a { color: #087a6b; font-weight: 900; }

.class-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}
.class-choice article {
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid #345365;
  background: #0a2231;
}
.class-choice span {
  display: inline-block;
  padding: 5px 9px;
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}
.class-choice h3 { color: var(--white); font-size: 23px; line-height: 1.25; }
.class-choice p, .decision-note { color: #c2d3db; }
.decision-note { max-width: 880px; margin-top: 22px; }

.readiness-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: readiness;
  border-top: 1px solid var(--line);
}
.readiness-list li {
  counter-increment: readiness;
  position: relative;
  padding: 22px 20px 22px 66px;
  border-bottom: 1px solid var(--line);
  color: #344852;
}
.readiness-list li::before {
  content: counter(readiness, decimal-leading-zero);
  position: absolute;
  left: 8px;
  top: 22px;
  color: #087a6b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.decision-next {
  padding: 76px 0;
  background: #e7f2ef;
}
.decision-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.decision-actions a {
  display: block;
  padding: 24px;
  border-top: 5px solid var(--teal);
  background: var(--white);
  text-decoration: none;
}
.decision-actions a:last-child { border-top-color: var(--gold); }
.decision-actions strong { display: block; font-size: 18px; }
.decision-actions span { display: block; margin-top: 7px; color: var(--muted); }
.source-panel {
  padding: 28px 0;
  border-top: 1px solid #2b4959;
  background: var(--ink-2);
  color: #c5d5dd;
  font-size: 13px;
}
.source-panel p { margin: 0; }
.source-panel p + p { margin-top: 7px; }
.source-panel strong, .source-panel a { color: var(--white); }

@media (max-width: 900px) {
  .home-decision .container,
  .decision-hero .container,
  .decision-columns { grid-template-columns: 1fr; }
  .decision-shortcuts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .home-decision { background: #fff8e8; }
  .home-decision-links,
  .decision-shortcuts,
  .decision-balance,
  .class-choice,
  .decision-actions { grid-template-columns: 1fr; }
  .home-decision-links a,
  .decision-shortcuts a { min-height: auto; }
  .decision-hero { padding: 55px 0; }
}


/* Readable CDL endorsement lessons */
.endorsement-hero {
  padding: 72px 0 76px;
  background: linear-gradient(125deg, var(--ink), #0b3843);
  color: var(--white);
}
.endorsement-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(39px, 6.5vw, 72px);
  line-height: 1;
  letter-spacing: -.052em;
}
.endorsement-hero .container > p:last-child {
  max-width: 790px;
  margin: 24px 0 0;
  color: #c9d9e0;
  font-size: 19px;
}
.endorsement-orientation { padding: 64px 0; }
.endorsement-foundation {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 7vw, 78px);
  align-items: start;
}
.endorsement-foundation h2,
.endorsement-finish h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 49px);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.endorsement-foundation > div > p:last-child {
  color: #344852;
  font-size: 18px;
}
.endorsement-foundation aside {
  padding: 26px;
  border-top: 5px solid var(--gold);
  background: var(--ink-2);
  color: var(--white);
}
.endorsement-foundation aside > strong { font-size: 19px; }
.endorsement-foundation dl { margin: 18px 0 0; }
.endorsement-foundation dl div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #315163;
}
.endorsement-foundation dt { color: var(--gold); font-weight: 900; }
.endorsement-foundation dd { margin: 0; color: #d3e0e5; }
.endorsement-jumps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 36px;
}
.endorsement-jumps a {
  display: grid;
  min-height: 112px;
  align-content: space-between;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--text);
  text-decoration: none;
}
.endorsement-jumps a:hover { border-color: var(--teal); background: #eef8f5; }
.endorsement-jumps b { color: #087a6b; font-size: 24px; }
.endorsement-jumps span { font-size: 13px; font-weight: 800; line-height: 1.25; }

.endorsement-lesson {
  padding: 78px 0;
  scroll-margin-top: 90px;
}
.endorsement-lesson.alt { background: var(--paper-2); }
.endorsement-title {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 24px;
  align-items: start;
  max-width: 980px;
}
.endorsement-title > span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 18px;
  background: var(--ink);
  color: var(--gold);
  font-size: 36px;
  font-weight: 900;
}
.endorsement-title h2 {
  margin: 0;
  font-size: clamp(31px, 4.8vw, 52px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.endorsement-title div > p:last-child {
  max-width: 810px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.lesson-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}
.lesson-grid article {
  min-height: 220px;
  padding: clamp(24px, 4vw, 34px);
  background: var(--white);
}
.lesson-grid h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.25;
}
.lesson-grid p { margin: 0; color: #344852; }
.lesson-bottom {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 22px;
  padding: 24px;
  background: var(--ink-2);
  color: #d0dfe5;
}
.lesson-bottom p { margin: 0; }
.lesson-bottom strong { color: var(--white); }
.vocabulary-line {
  padding: 17px 20px;
  border: 1px solid #b9d1c9;
  border-top: 0;
  background: #eef8f5;
  color: #36524c;
  font-size: 14px;
}
.vocabulary-line strong { color: #087a6b; }

.endorsement-finish {
  padding: 76px 0;
  background: var(--ink);
  color: var(--white);
}
.endorsement-finish p:not(.eyebrow) {
  max-width: 820px;
  color: #c6d7de;
  font-size: 18px;
}

@media (max-width: 900px) {
  .endorsement-foundation { grid-template-columns: 1fr; }
  .endorsement-jumps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .endorsement-hero { padding: 54px 0; }
  .endorsement-jumps { grid-template-columns: 1fr 1fr; }
  .endorsement-jumps a { min-height: 92px; }
  .endorsement-title { grid-template-columns: 58px 1fr; gap: 15px; }
  .endorsement-title > span { width: 54px; height: 54px; border-radius: 14px; font-size: 26px; }
  .lesson-grid,
  .lesson-bottom { grid-template-columns: 1fr; }
  .lesson-grid article { min-height: auto; }
  .endorsement-lesson { padding: 58px 0; }
}


/* Interactive lessons */
.lesson-library-hero { background: linear-gradient(125deg, var(--ink), #0b3843); color: var(--white); }
.lesson-library-hero .container > p:last-of-type { max-width: 780px; color: #c8d7df; font-size: 19px; }
.lesson-library-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; align-items: start; }
.lesson-feature, .lesson-boundary { padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); background: var(--paper-2); }
.lesson-feature { border-top: 6px solid var(--teal); }
.lesson-feature h3 { margin: 12px 0 8px; font-size: clamp(29px, 4vw, 44px); line-height: 1.05; }
.lesson-feature ul { padding-left: 21px; }
.lesson-feature li + li { margin-top: 7px; }
.lesson-badge { color: #087a6b; font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.lesson-boundary { border-top: 6px solid var(--gold); background: #fff9e9; }
.lesson-boundary h3 { margin: 0 0 5px; }
.lesson-boundary h3:not(:first-child) { margin-top: 24px; }
.free-lesson-dialog { width: min(620px, calc(100% - 28px)); padding: clamp(25px, 5vw, 42px); border: 0; border-top: 7px solid var(--gold); border-radius: 20px; background: var(--paper-2); color: var(--text); box-shadow: 0 35px 110px rgba(0,0,0,.42); }
.free-lesson-dialog::backdrop { background: rgba(3,15,23,.72); backdrop-filter: blur(3px); }
.free-lesson-dialog h2 { max-width: 500px; margin: 4px 0 14px; font-size: clamp(31px, 6vw, 50px); line-height: 1.02; letter-spacing: -.045em; }
.free-lesson-dialog > p:not(.eyebrow) { color: #344852; font-size: 18px; }
.free-lesson-dialog small { display: block; margin-top: 22px; color: var(--muted); }
.free-lesson-close { position: absolute; top: 13px; right: 16px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #e8e3d9; color: var(--ink); font-size: 27px; line-height: 1; cursor: pointer; }
.free-lesson-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 24px; }
.free-lesson-actions > a:not(.button) { font-weight: 900; }
@media (max-width: 760px) {
  .lesson-library-grid { grid-template-columns: 1fr; }
  .free-lesson-dialog { max-height: calc(100vh - 24px); overflow: auto; }
  .free-lesson-actions .button { width: 100%; }
}


.state-handbook-picker label { display: block; margin: 1rem 0 .4rem; font-weight: 800; }
.state-handbook-picker select { width: 100%; min-height: 48px; padding: .75rem; border: 1px solid rgba(15, 23, 42, .25); border-radius: 10px; background: #fff; color: #0f172a; font: inherit; }
.state-handbook-picker .button { margin-top: .4rem; text-align: center; }
.state-handbook-status { min-height: 2.6em; margin: .75rem 0 .35rem; }
.state-handbook-picker small { display: block; margin-top: .8rem; line-height: 1.5; }


/* Mercury field manual presentation — visual treatment only. */
:root {
  --ink: #11252b;
  --ink-2: #17343a;
  --panel: #204047;
  --paper: #f0f1eb;
  --paper-2: #fbfbf6;
  --text: #172a2d;
  --muted: #4e6061;
  --gold: #efbd43;
  --gold-2: #f7d47d;
  --teal: #37746d;
  --line: #bfc9c4;
  --radius: 3px;
  --shadow: 0 12px 28px rgba(17,37,43,.12);
  --max: 1240px;
}
body { background: var(--paper); color: var(--text); font-family: "Arial", "Helvetica Neue", sans-serif; line-height: 1.6; }
h1, h2, h3, .brand, .button, .nav-links a, .eyebrow, .label {
  font-family: "Arial Narrow", "Roboto Condensed", "Franklin Gothic Medium", Arial, sans-serif;
}
h1, h2, h3 { letter-spacing: -.025em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #e9a822; outline-offset: 3px;
}
.site-header { background: #10272c; border-bottom: 3px solid var(--gold); backdrop-filter: none; }
.nav-wrap { min-height: 78px; }
.brand { letter-spacing: .015em; text-transform: uppercase; font-size: 16px; line-height: 1.15; }
.brand-mark { border-radius: 0; box-shadow: none; background: var(--gold); width: 42px; height: 42px; font-weight: 900; }
.brand small { margin-top: 4px; letter-spacing: .1em; font-size: 10px; text-transform: none; }
.nav-links a { border-radius: 0; letter-spacing: .025em; }
.nav-links a:hover, .nav-links a:focus-visible { background: #29464b; }
.nav-links .nav-cta { background: var(--gold); color: var(--ink); }
.menu-button { border-radius: 0; }
.status-bar { background: #e9bd50; }
.status-bar .inner { font-size: 13px; line-height: 1.4; }
.eyebrow { color: #6b5114; font-size: 13px; letter-spacing: .16em; }
.hero .eyebrow, .page-hero .eyebrow, .dark .eyebrow, .decision-hero .eyebrow,
.endorsement-hero .eyebrow, .lesson-library-hero .eyebrow { color: var(--gold); }
.button { border-radius: 2px; min-height: 48px; padding-inline: 21px; text-transform: uppercase; letter-spacing: .035em; font-size: 14px; }
.button.secondary { border-color: currentColor; }
.card, .notice, .route-card, .lesson-feature, .lesson-boundary, .free-lesson-dialog {
  border-radius: 2px; box-shadow: none;
}
.card { border-top: 4px solid var(--teal); }
.card:hover { transform: none; box-shadow: var(--shadow); }
.card .number { width: auto; height: auto; display: block; margin-bottom: 16px; border-radius: 0; background: none; color: #536d65; font-size: 25px; line-height: 1; }
.section.alt { background: #e5eae4; }
.section-head h2, .content h2, .home-market-brief h2 { letter-spacing: -.04em; }
.site-footer { border-top: 6px solid var(--gold); }
.page-hero, .endorsement-hero, .lesson-library-hero { background: #17383b; }
.free-lesson-close, .state-handbook-picker select { border-radius: 2px; }

/* Homepage: an editorial opening and a numbered driver route. */
.hero { background: #102b2e; }
.hero::before { background: linear-gradient(90deg, rgba(238,189,70,.10) 0 1px, transparent 1px) 0 0 / 80px 100%; opacity: .65; }
.hero-grid { min-height: 600px; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .72fr); gap: clamp(36px, 6vw, 100px); padding: 74px 0 86px; }
.hero-grid > div:first-child { padding: 0 0 0 clamp(0px, 3vw, 36px); border-left: 6px solid var(--gold); }
.hero h1 { max-width: 720px; font-size: clamp(48px, 6.7vw, 92px); line-height: .96; letter-spacing: -.06em; text-wrap: balance; }
.hero .lead { max-width: 610px; line-height: 1.5; }
.route-card { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 3.5vw, 48px); border: 1px solid #6b857f; border-top: 8px solid var(--gold); background: #f5f4eb; color: var(--text); }
.route-card .label { color: #315c55; margin-bottom: 20px; font-size: 13px; }
.route-card::before { display: none; }
.route-stop { counter-increment: route; padding: 17px 0 17px 50px; border-top: 1px solid #bdcbc4; }
.route-card { counter-reset: route; }
.route-stop::before { content: counter(route, decimal-leading-zero); left: 0; top: 16px; width: auto; height: auto; border: 0; border-radius: 0; background: none; color: #38675c; font-size: 18px; font-weight: 900; }
.route-stop b { color: var(--ink); line-height: 1.25; }
.route-stop span { color: #415455; line-height: 1.5; }
.route-card > p:last-child { margin: 12px 0 0; font-size: 14px; font-weight: 700; }
.route-card a { color: #174c45; }
.home-decision { border-top: 7px solid var(--gold); }
.home-decision-links a { border-radius: 0; }
.home-primary-grid { gap: 0; border: 1px solid var(--line); }
.home-primary-grid .card { border: 0; border-right: 1px solid var(--line); border-top: 5px solid var(--teal); }
.home-primary-grid .card:last-child { border-right: 0; }
.home-market-brief .notice, .split .notice { border-left: 5px solid var(--teal); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-grid > div:first-child { padding-left: 20px; }
  .route-card { max-width: 720px; }
  .home-primary-grid { grid-template-columns: repeat(2, 1fr); }
  .home-primary-grid .card:nth-child(2) { border-right: 0; }
  .home-primary-grid .card:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .nav-wrap { min-height: 70px; }
  .hero-grid { padding: 52px 0 60px; gap: 36px; }
  .hero h1 { font-size: clamp(45px, 11vw, 67px); }
  .hero .lead { font-size: 17px; }
  .route-card { padding: 24px; }
  .home-primary-grid { grid-template-columns: 1fr; }
  .home-primary-grid .card { border-right: 0; border-top: 1px solid var(--line); }
  .home-primary-grid .card:first-child { border-top: 5px solid var(--teal); }
}


/* Editorial homepage composition */
.hero { background: #10272b; }
.hero::before { display: none; }
.hero-grid {
  width: min(1440px, 100%);
  min-height: 0;
  padding: 0;
  gap: 0;
  grid-template-columns: minmax(0, 43%) minmax(0, 57%);
  align-items: stretch;
}
.hero-grid > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 620px;
  padding: clamp(48px, 5vw, 80px) clamp(32px, 4.7vw, 76px);
  border-left: 0;
}
.hero h1 { font-size: clamp(48px, 5.1vw, 78px); line-height: .98; }
.hero .lead { font-size: clamp(17px, 1.65vw, 20px); }
.hero-photo {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: #22393b;
}
.hero-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 48% center; display: block; }
.hero-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 110px; background: linear-gradient(transparent, rgba(5,20,22,.72)); pointer-events: none; }
.hero-photo figcaption { position: absolute; z-index: 1; right: 22px; bottom: 14px; left: 22px; color: #fff; font-size: 12px; text-shadow: 0 1px 3px #10272b; }
.hero-photo figcaption a { color: #fff; }
.route-card {
  grid-column: 1 / -1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr repeat(4, minmax(0, 1.4fr));
  align-items: start;
  gap: 0;
  padding: 28px max(24px, calc((100vw - 1240px) / 2));
  border: 0;
  border-top: 6px solid var(--gold);
  background: #e9eee7;
  box-shadow: none;
}
.route-card .label { margin: 15px 18px 0 0; font-size: 13px; line-height: 1.3; }
.route-stop { min-height: 105px; padding: 12px 17px 12px 51px; border-top: 0; border-left: 1px solid #aebfb7; }
.route-stop::before { left: 15px; top: 9px; }
.route-stop b { font-size: 16px; }
.route-stop span { display: block; margin-top: 4px; font-size: 13px; }
.route-card > p:last-child { grid-column: 2 / -1; margin: 8px 0 0 17px; }
.home-decision { border-top: 0; }
@media (max-width: 1100px) {
  .route-card { grid-template-columns: repeat(4, 1fr); padding: 26px 24px; }
  .route-card .label { grid-column: 1 / -1; margin: 0 0 14px; }
  .route-card > p:last-child { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid > div:first-child { min-height: 0; padding: 52px 24px; }
  .hero-photo { min-height: 420px; }
  .route-card { grid-column: 1; grid-template-columns: repeat(2, 1fr); }
  .route-stop:nth-of-type(odd) { border-left: 0; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: clamp(44px, 11vw, 62px); }
  .hero-photo { min-height: 310px; }
  .route-card { display: block; padding: 25px 22px; }
  .route-card .label { margin: 0 0 10px; }
  .route-stop, .route-stop:nth-of-type(odd) { min-height: 0; padding: 13px 0 13px 45px; border-left: 0; border-top: 1px solid #b7c6bd; }
  .route-stop::before { left: 0; top: 12px; }
  .route-card > p:last-child { margin-left: 0; }
}

/* Approved Mercury red / black presentation, September 2026.
   Visual-only layer: existing content and interactions remain intact. */
:root { --ink:#181c1e; --ink-2:#242b2e; --text:#202629; --paper:#f6f5f2; --paper-2:#fff; --line:#d3d2ce; --teal:#a20d19; }
.site-header { background:#fff; border-bottom:1px solid #d0d0cc; }
.nav-wrap { flex-wrap:wrap; gap:0; padding-top:18px; }
.brand { color:#111; font-size:25px; font-style:italic; font-weight:950; }
.brand-mark { background:#ae101c; color:#fff; width:48px; height:48px; }
.brand small { color:#53585a; font-size:12px; font-style:normal; letter-spacing:.12em; }
.nav-links { flex:1 0 100%; justify-content:space-between; margin-top:15px; border-top:1px solid #ddd; }
.nav-links a { color:#222; padding:13px 8px; font-size:14px; letter-spacing:0; white-space:nowrap; }
.nav-links a:hover, .nav-links a:focus-visible { background:#f4eeee; color:#a20d19; }
.nav-links .nav-cta { color:#fff; background:#ac0c1a; }
.menu-button { color:#222; border-color:#aaa; }
.status-bar { background:#eeece6; color:#333; border-bottom:1px solid #d5d3cc; }
.status-bar .inner { font-weight:600; font-size:13px; }
.button { background:#b00d1b; border-color:#b00d1b; color:#fff; }
.button:hover { background:#870b16; border-color:#870b16; color:#fff; }
.button.dark { background:#202628; border-color:#202628; }
.button.secondary:hover { color:#fff; background:#242b2e; border-color:#242b2e; }
.eyebrow { color:#a20d19; }
.hero { background:#e9e7df; color:#111; }
.hero-grid { width:100%; grid-template-columns:1fr; isolation:isolate; }
.hero-photo { position:absolute; inset:0 0 auto; height:660px; min-height:0; z-index:-2; }
.hero-photo img { object-position:center; }
.hero-photo::after { inset:0; height:auto; background:linear-gradient(90deg,rgba(255,252,242,.95) 0%,rgba(255,252,242,.84) 30%,rgba(255,252,242,.28) 57%,transparent 73%); }
.hero-grid > div:first-child { min-height:660px; width:min(1240px,calc(100% - 48px)); margin:auto; padding:48px 0; }
.hero .eyebrow { color:#8f101a; max-width:570px; }
.hero h1 { max-width:650px; color:#16191a; font-family:Impact,"Arial Narrow",sans-serif; font-weight:900; font-size:clamp(50px,5.5vw,80px); line-height:1.02; letter-spacing:-.025em; text-transform:uppercase; text-wrap:balance; }
.hero .lead { max-width:540px; color:#252b2c; font-size:18px; line-height:1.5; margin-top:22px; }
.hero .actions { max-width:575px; gap:10px; margin-top:24px; }
.hero .button.secondary { background:rgba(255,255,255,.83); color:#202628; border-color:#333; }
.hero .button.secondary:hover { background:#202628; color:#fff; }
.route-card { position:relative; background:#f6f5f2; border-top:4px solid #ac0c1a; padding-top:30px; padding-bottom:30px; }
.route-card .label,.route-stop::before { color:#a20d19; }
.route-stop { border-color:#ccc; }
.route-stop span { font-size:14px; color:#454b4e; }
.route-card a { color:#86121b; }
.home-decision { background:#fff; }
.home-decision-links a { background:#f7f6f3; border-color:#d4d2cd; border-top:3px solid #a20d19; }
.home-decision-links strong { color:#202629; }
.home-decision-links span { color:#52585a; }
.section.alt { background:#eeede9; }
.home-primary-grid { gap:18px; border:0; }
.home-primary-grid .card { border:1px solid #ccc; border-top:4px solid #a20d19; }
.home-primary-grid .card:last-child { border-right:1px solid #ccc; }
.card .number { color:#a20d19; font-family:Impact,"Arial Narrow",sans-serif; font-size:34px; }
.page-hero,.endorsement-hero,.lesson-library-hero { background:#252b2e; border-bottom:5px solid #a20d19; }
.site-footer { background:#1d2225; border-top:5px solid #a20d19; }
.road-notes-hero { background:#f2f0e9; color:#222; border-bottom:1px solid #c9c6be; }
.road-notes-hero .eyebrow { color:#a20d19; font-family:Georgia,serif; font-size:30px; font-style:italic; letter-spacing:0; text-transform:none; }
.road-notes-hero h1 { color:#202629; font-family:Georgia,serif; font-weight:700; letter-spacing:-.04em; }
.road-notes-hero p { color:#454b4e; }
.road-note-feature { border-top:2px solid #a20d19; background:#fff; box-shadow:none; }
.road-note-feature h2,.road-note-article h2 { font-family:Georgia,serif; }
.road-note-article { background:#fffefb; border-left:3px solid #a20d19; }
.road-notes-topic-number,.note-label { color:#a20d19; }
@media (max-width:1120px) {
  .nav-wrap { padding:14px 0; flex-wrap:wrap; gap:16px; }
  .menu-button { margin-left:auto; }
  .nav-links { margin-top:0; background:#fff; border:1px solid #ccc; }
  .nav-links a { color:#222; white-space:normal; }
  .nav-links.open { background:#fff; }
  .hero h1 { max-width:560px; }
  .hero .lead { max-width:470px; }
}
@media (max-width:800px) {
  .hero-photo { position:relative; height:340px; grid-row:2; z-index:0; }
  .hero-photo img { object-position:70% center; }
  .hero-photo::after { display:none; }
  .hero-grid > div:first-child { width:100%; min-height:0; padding:40px 24px; background:#f4f1e9; }
  .hero h1 { max-width:640px; font-size:clamp(43px,8.4vw,66px); }
  .hero .lead { max-width:620px; }
  .route-card { grid-row:3; }
}
@media (max-width:620px) {
  .brand { font-size:18px; }
  .brand small { font-size:11px; letter-spacing:.04em; }
  .hero-grid > div:first-child { padding:34px 20px; }
  .hero h1 { font-size:clamp(40px,10.5vw,61px); }
  .hero .lead { font-size:17px; }
  .hero-photo { height:280px; min-height:0; }
  .hero .actions { width:100%; }
  .hero .button { width:100%; }
  .home-primary-grid .card:nth-child(n) { border:1px solid #ccc; border-top:4px solid #a20d19; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .card:hover { transition:none; } }

/* Responsive navigation uses an explicit matching foreground and surface. */
@media (max-width:1120px) {
  .site-header .nav-links { top:100%; border-radius:2px; color:#222; }
  .site-header .nav-links a { color:#222; }
  .site-header .nav-links a:hover, .site-header .nav-links a:focus-visible { color:#8f101a; background:#f4eeee; }
  .site-header .nav-links .nav-cta { background:#ac0c1a; color:#fff; }
}
/* Light labels remain readable on dark sections outside the homepage. */
.roadmap-hero .eyebrow, .contact-boundaries .eyebrow, .sources-card .eyebrow,
.road-notes-next .eyebrow { color:#f7d47d; }


/* Permanent Mercury orange road identity on every shared header. */
.site-header .brand-mark {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 0;
  background: transparent url("images/mercury-orange-road.svg") center / contain no-repeat;
  box-shadow: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
}
@media (max-width: 620px) {
  .site-header .brand-mark { flex-basis: 48px; width: 48px; height: 48px; }
}


/* User-supplied Mercury wordmark. Preserve its exact artwork and dark field. */
.site-header .brand {
  position: relative;
  display: block;
  flex: 0 0 260px;
  width: 260px;
  height: 120px;
  min-height: 120px;
  background: #202a34 url("images/mercury-logo-clean.webp") center / 260px auto no-repeat;
  border: 0;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
}
.site-header .brand > * {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 620px) {
  .site-header .brand {
    flex-basis: 215px;
    width: 215px;
    height: 100px;
    min-height: 100px;
    background-size: 215px auto;
  }
}

/* Reference-led homepage layout, September 2026. Existing copy and links stay intact. */
body:has(> main > .hero) { background:#f0efec; }
body:has(> main > .hero) .site-header { border-bottom:0; }
body:has(> main > .hero) .nav-wrap { max-width:1440px; }
body:has(> main > .hero) .status-bar { border-bottom:0; text-align:center; }
.hero { position:relative; background:#1b2428; color:#fff; }
.hero-grid { position:relative; max-width:none; width:100%; display:grid; grid-template-columns:1fr; overflow:hidden; }
.hero-photo { position:absolute; inset:0 0 auto; height:clamp(590px,53vw,780px); min-height:0; z-index:0; background:#29373b; }
.hero-photo img { object-position:center 53%; filter:contrast(1.08) saturate(.88); }
.hero-photo::after { display:block; position:absolute; inset:0; height:auto; background:linear-gradient(90deg,rgba(8,16,20,.87) 0%,rgba(8,16,20,.74) 30%,rgba(8,16,20,.27) 60%,rgba(8,16,20,.05) 100%),linear-gradient(0deg,rgba(5,11,15,.5),transparent 45%); }
.hero-grid > div:first-child { position:relative; z-index:1; box-sizing:border-box; width:min(1320px,calc(100% - 8vw)); min-height:clamp(590px,53vw,780px); margin:auto; padding:clamp(50px,7vw,110px) 0; background:none; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.hero .eyebrow { color:#f5c14b; font-weight:900; letter-spacing:.22em; }
.hero h1 { max-width:790px; margin:12px 0 0; color:#fff; font-family:Impact,"Arial Narrow",sans-serif; font-size:clamp(64px,7.4vw,118px); line-height:.91; letter-spacing:-.035em; text-transform:uppercase; text-wrap:balance; text-shadow:0 3px 24px rgba(0,0,0,.4); }
.hero .lead { max-width:640px; color:#f4f0e9; font-size:clamp(17px,1.35vw,21px); line-height:1.45; text-shadow:0 2px 12px rgba(0,0,0,.8); }
.hero .actions { max-width:800px; gap:12px; }
.hero .button { background:#ad111f; border-color:#ad111f; color:#fff; box-shadow:0 4px 16px rgba(0,0,0,.18); }
.hero .button.secondary { background:rgba(9,17,20,.72); border-color:rgba(255,255,255,.7); color:#fff; }
.hero .button.secondary:hover { background:#fff; color:#15191b; }
.route-card { position:relative; z-index:2; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; width:100%; padding:clamp(36px,4vw,60px) max(4vw,calc((100vw - 1320px)/2)); background:#f6f5f2; border:0; border-top:6px solid #ad111f; color:#222; }
.route-card .label { grid-column:1/-1; margin:0 0 20px; color:#181d1f; font-family:Impact,"Arial Narrow",sans-serif; font-size:clamp(28px,3.3vw,46px); font-weight:900; letter-spacing:-.025em; line-height:1; text-align:center; text-transform:uppercase; }
.route-stop,.route-stop:nth-of-type(odd) { position:relative; min-height:205px; margin:0; padding:72px clamp(16px,2vw,27px) 24px; border:1px solid #d0d0cd; border-left:0; background:#fff; }
.route-stop:first-of-type { border-left:1px solid #d0d0cd; }
.route-stop::before { left:clamp(16px,2vw,27px); top:18px; color:#a90f1d; font-family:Impact,"Arial Narrow",sans-serif; font-size:37px; line-height:1; }
.route-stop::after { content:""; position:absolute; top:42px; left:75px; width:38px; height:3px; background:#dda72e; }
.route-stop b { display:block; color:#191f21; font-family:Impact,"Arial Narrow",sans-serif; font-size:clamp(20px,1.8vw,27px); line-height:1.04; text-transform:uppercase; }
.route-stop span { display:block; margin-top:15px; color:#454b4e; font-size:15px; line-height:1.5; }
.route-card > p:last-child { grid-column:1/-1; margin:20px 0 0; text-align:center; }
.home-decision { background:#1d2529; color:#fff; border:0; }
.home-decision .container { gap:clamp(36px,5vw,80px); }
.home-decision .eyebrow { color:#f4c34f; }
.home-decision h2 { color:#fff; font-family:Impact,"Arial Narrow",sans-serif; font-size:clamp(45px,5vw,76px); line-height:.98; text-transform:uppercase; }
.home-decision p { color:#e2e2de; }
.home-decision-links a { background:#293236; border:1px solid #5b6262; border-top:3px solid #ac111f; }
.home-decision-links strong { color:#fff; }
.home-decision-links span { color:#d0d4d2; }
.home-market-brief { background:#f7f6f2; }
.home-market-brief h2,.section-head h2 { font-family:Impact,"Arial Narrow",sans-serif; text-transform:uppercase; }
.home-primary-grid .card { background:#fff; }
.site-footer { background:#171d20; }
@media(max-width:900px) {
  .hero-grid > div:first-child { width:calc(100% - 48px); min-height:610px; padding:52px 0; }
  .hero-photo { height:610px; }
  .route-card { grid-template-columns:repeat(2,minmax(0,1fr)); padding:38px 24px; }
  .route-stop:nth-of-type(3) { border-left:1px solid #d0d0cd; }
  .route-stop:nth-of-type(n+3) { border-top:0; }
}
@media(max-width:620px) {
  .hero-grid { display:grid; }
  .hero-photo { position:absolute; inset:0 0 auto; height:660px; grid-row:auto; z-index:0; }
  .hero-photo img { object-position:68% center; }
  .hero-photo::after { display:block; background:linear-gradient(90deg,rgba(7,14,18,.84),rgba(7,14,18,.45)),linear-gradient(0deg,rgba(7,14,18,.76),transparent 70%); }
  .hero-grid > div:first-child { position:relative; width:calc(100% - 40px); min-height:660px; padding:52px 0; background:none; }
  .hero h1 { font-size:clamp(51px,11.5vw,74px); line-height:.94; }
  .hero .lead { font-size:17px; }
  .hero .actions { width:100%; }
  .hero .button { width:100%; }
  .route-card { grid-row:auto; display:grid; grid-template-columns:1fr; padding:35px 20px; }
  .route-card .label { font-size:34px; }
  .route-stop,.route-stop:nth-of-type(odd),.route-stop:first-of-type { min-height:0; padding:22px 20px 22px 72px; border:1px solid #d0d0cd; border-top:0; }
  .route-stop:first-of-type { border-top:1px solid #d0d0cd; }
  .route-stop::before { left:18px; top:22px; font-size:31px; }
  .route-stop::after { display:none; }
  .route-stop b { font-size:22px; }
  .route-stop span { margin-top:7px; font-size:15px; }
}

.route-card { align-items:stretch; }

/* Homepage composition based on the approved full-page visual. */
body:has(> main > .hero) { background:#efefec; }
body:has(> main > .hero) .site-header .brand { flex-basis:230px; width:230px; height:106px; min-height:106px; background-size:230px auto; }
body:has(> main > .hero) .nav-wrap { padding-top:8px; }
body:has(> main > .hero) .nav-links { margin-top:7px; }
.hero { color:#17191b; background:#d9d5ca; }
.hero-photo img { filter:none; object-position:center 55%; }
.hero-photo::after { background:linear-gradient(90deg,rgba(255,251,239,.76) 0%,rgba(255,251,239,.58) 27%,rgba(255,251,239,.05) 56%,transparent 76%); }
.hero-grid > div:first-child { min-height:clamp(550px,45vw,690px); }
.hero-photo { height:clamp(550px,45vw,690px); }
.hero .eyebrow { color:#751018; text-shadow:0 1px 10px rgba(255,255,255,.8); }
.hero h1 { max-width:740px; color:#111; font-size:clamp(64px,6.4vw,100px); line-height:.9; text-shadow:0 1px 2px rgba(255,255,255,.36); }
.hero h1 span { display:block; color:#a50816; }
.hero .lead { max-width:550px; margin-top:18px; color:#1b2427; font-weight:700; text-shadow:0 1px 12px rgba(255,255,255,.8); }
.hero .button.secondary { color:#172126; background:rgba(255,255,255,.72); border-color:#24292a; }
.route-card { background:#f2f1ee; padding-top:28px; padding-bottom:30px; border-top:0; }
.route-card .label { font-size:clamp(30px,3vw,43px); }
.route-stop,.route-stop:nth-of-type(odd) { min-height:258px; padding-top:62px; background:rgba(255,255,255,.46); }
.route-stop b::after { content:""; display:block; width:66px; height:66px; margin:18px auto 12px; background-color:#172328; }
.route-stop:nth-of-type(1) b::after { clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%,50% 0,50% 18%,18% 50%,50% 82%,82% 50%,50% 18%); }
.route-stop:nth-of-type(2) b::after { clip-path:polygon(0 10%,45% 16%,50% 20%,55% 16%,100% 10%,100% 85%,55% 80%,50% 84%,45% 80%,0 85%,0 10%,8% 20%,8% 77%,45% 72%,45% 25%,8% 20%,55% 25%,55% 72%,92% 77%,92% 20%,55% 25%); }
.route-stop:nth-of-type(3) b::after { clip-path:polygon(10% 25%,35% 25%,35% 13%,65% 13%,65% 25%,90% 25%,95% 40%,95% 85%,5% 85%,5% 40%,10% 25%,43% 40%,43% 52%,57% 52%,57% 40%,95% 40%,43% 40%,35% 25%,65% 25%); }
.route-stop:nth-of-type(4) b::after { clip-path:polygon(40% 0,60% 0,64% 13%,75% 7%,88% 21%,82% 32%,95% 40%,95% 60%,82% 64%,88% 78%,75% 91%,64% 84%,60% 100%,40% 100%,36% 84%,25% 91%,12% 78%,18% 64%,5% 60%,5% 40%,18% 36%,12% 22%,25% 9%,36% 16%); }
.route-stop span { margin-top:0; }
.home-decision { padding:0; min-height:440px; border:0; background:#20292d url("images/mercury-road-notes-band.jpg") center / cover no-repeat; }
.home-decision .container { width:100%; max-width:none; min-height:440px; display:grid; grid-template-columns:minmax(0,34%) minmax(0,36%) minmax(0,30%); gap:0; align-items:stretch; }
.home-decision-intro { grid-column:1; align-self:stretch; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:38px clamp(25px,3.5vw,55px); background:linear-gradient(90deg,rgba(4,10,13,.88),rgba(4,10,13,.63)); }
.home-decision h2 { font-size:clamp(37px,3.2vw,54px); }
.home-decision-intro > p:not(.eyebrow) { color:#fff; }
.home-decision-links { grid-column:3; display:grid; grid-template-columns:1fr; gap:0; padding:18px 28px; background:rgba(18,31,34,.93); }
.home-decision-links a { min-height:0; display:flex; flex-direction:column; justify-content:center; padding:14px 10px; border:0; border-top:1px solid #687274; background:none; }
.home-decision-links a:first-child { border-top:0; }
.home-decision-links strong { font-family:"Arial Narrow",Arial,sans-serif; font-size:17px; line-height:1.2; text-transform:uppercase; }
.home-decision-links span { color:#d6dfdf; font-size:13px; line-height:1.35; }
.home-market-brief { min-height:360px; padding:55px 0; background:#d1b38b linear-gradient(90deg,rgba(255,250,236,.9) 0%,rgba(255,250,236,.61) 37%,rgba(255,250,236,.08) 72%),url("images/mercury-desert-road-band.jpg") center 57% / cover no-repeat; color:#182025; }
.home-market-brief .container { align-items:start; }
.home-market-brief h2 { max-width:620px; font-size:clamp(37px,4vw,58px); line-height:1; color:#12191c; text-shadow:0 1px 10px rgba(255,255,255,.7); }
.home-market-brief p { max-width:620px; font-weight:700; color:#172128; text-shadow:0 1px 8px rgba(255,255,255,.8); }
.home-market-brief .eyebrow { color:#89101a; }
.home-market-brief .notice { background:rgba(255,255,255,.87); border:0; box-shadow:0 12px 36px rgba(0,0,0,.2); }
.home-market-brief .notice p { font-weight:400; text-shadow:none; }
@media(max-width:900px) {
  .hero-grid > div:first-child,.hero-photo { min-height:590px; height:590px; }
  .hero-grid > div:first-child { height:auto; }
  .hero h1 { max-width:600px; font-size:clamp(54px,8vw,75px); }
  .home-decision .container { grid-template-columns:1fr 1fr; }
  .home-decision-intro { grid-column:1; }
  .home-decision-links { grid-column:2; }
  .route-stop,.route-stop:nth-of-type(odd) { min-height:230px; }
}
@media(max-width:620px) {
  body:has(> main > .hero) .site-header .brand { flex-basis:205px; width:205px; height:95px; min-height:95px; background-size:205px auto; }
  .hero-photo { height:650px; min-height:650px; }
  .hero-photo img { object-position:68% center; }
  .hero-photo::after { background:linear-gradient(90deg,rgba(255,250,235,.88),rgba(255,250,235,.37)),linear-gradient(0deg,rgba(255,250,235,.8),transparent 75%); }
  .hero-grid > div:first-child { min-height:650px; height:auto; }
  .hero h1 { max-width:530px; font-size:clamp(47px,10vw,68px); }
  .hero .lead { max-width:460px; color:#142027; }
  .route-card { padding:32px 20px; }
  .route-stop,.route-stop:nth-of-type(odd),.route-stop:first-of-type { min-height:0; padding:18px 18px 18px 68px; }
  .route-stop b::after { display:none; }
  .home-decision { background-position:37% center; }
  .home-decision .container { display:block; }
  .home-decision-intro { min-height:370px; max-width:none; background:linear-gradient(90deg,rgba(4,10,13,.88),rgba(4,10,13,.48)); }
  .home-decision-links { padding:12px 24px; }
  .home-market-brief { padding:45px 0; background-position:58% center; }
  .home-market-brief .notice { margin-top:28px; }
}

.home-market-brief { background-color:#d1b38b; background-image:linear-gradient(90deg,rgba(255,250,236,.9),rgba(255,250,236,.61) 37%,rgba(255,250,236,.08) 72%),url("images/mercury-desert-road-band.jpg"); background-position:center,center 57%; background-size:cover; background-repeat:no-repeat; }

/* A single, scannable homepage guide replaces the repeated decision cards. */
.home-pathways { background:#f4f1e9; }
.home-pathways-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; align-items:start; }
.home-pathways-group { background:#fff; border:1px solid #d7d9d5; border-top:5px solid #aa1320; box-shadow:0 8px 26px rgba(22,31,32,.07); }
.home-pathways-group h3 { display:flex; align-items:center; gap:12px; margin:0; padding:20px 22px; color:#192427; font-family:Impact,"Arial Narrow",Arial,sans-serif; font-size:27px; line-height:1; text-transform:uppercase; }
.home-pathways-group h3 span { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#f3c45c; color:#172825; font:700 15px Arial,sans-serif; }
.home-pathways-group a { display:block; padding:17px 22px 19px; border-top:1px solid #e2e4df; color:#20292b; text-decoration:none; }
.home-pathways-group a:hover,.home-pathways-group a:focus-visible { background:#fff7e6; outline-offset:-3px; }
.home-pathways-group a strong { display:flex; justify-content:space-between; gap:14px; font-size:18px; line-height:1.3; }
.home-pathways-group a strong span { color:#a50c1c; }
.home-pathways-group a small { display:block; margin-top:6px; color:#586362; font-size:14px; line-height:1.45; }
@media(max-width:900px) { .home-pathways-grid { grid-template-columns:1fr; max-width:660px; margin-inline:auto; } }
@media(max-width:620px) {
  body:has(> main > .hero) .site-header .brand { flex-basis:170px; width:170px; height:79px; min-height:79px; background-size:170px auto; }
  .home-pathways-group h3 { padding:16px 18px; font-size:24px; }
  .home-pathways-group a { padding:14px 18px 16px; }
  .home-pathways-group a strong { font-size:17px; }
  .home-pathways-group a small { font-size:14px; }
}
