:root {
  color-scheme: light;
  --paper: #f7f8f5;
  --surface: #fff;
  --surface-2: #e8ece9;
  --ink: #173c43;
  --ink-2: #4f686d;
  --brand: #173c43;
  --brand-hover: #22525b;
  --on-brand: #f7f8f5;
  --lime: #d9ed94;
  --line: #dbe2e0;
  --line-strong: #c3cecd;
  --accent: #b4771a;
  --accent-soft: #f6ead2;
  --green: #216344;
  --green-bg: #eaf4ec;
  --orange: #9a460f;
  --orange-bg: #fff0e4;
  --shadow: 0 18px 44px rgb(23 60 67 / 9%);
  --sans: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --paper: #173c43;
    --surface: #214e58;
    --surface-2: #1b434b;
    --ink: #f7f8f5;
    --ink-2: #b3c0c0;
    --brand: #d9ed94;
    --brand-hover: #e5f2ae;
    --on-brand: #173c43;
    --line: #36565c;
    --line-strong: #4d696e;
    --accent: #d9ed94;
    --accent-soft: #3f6152;
    --green: #9ad4ae;
    --green-bg: #1c4a41;
    --orange: #f2a878;
    --orange-bg: #47372f;
    --shadow: 0 18px 44px rgb(0 0 0 / 28%);
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #173c43;
  --surface: #214e58;
  --surface-2: #1b434b;
  --ink: #f7f8f5;
  --ink-2: #b3c0c0;
  --brand: #d9ed94;
  --brand-hover: #e5f2ae;
  --on-brand: #173c43;
  --line: #36565c;
  --line-strong: #4d696e;
  --accent: #d9ed94;
  --accent-soft: #3f6152;
  --green: #9ad4ae;
  --green-bg: #1c4a41;
  --orange: #f2a878;
  --orange-bg: #47372f;
  --shadow: 0 18px 44px rgb(0 0 0 / 28%);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--brand);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.018em;
}
h1 {
  font-size: clamp(2.65rem, 5vw, 4.8rem);
  max-width: 14ch;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}
h3 {
  font-size: 1.2rem;
}
button {
  font: inherit;
  color: inherit;
}
.wrap {
  width: min(var(--wrap), calc(100% - 80px));
  margin-inline: auto;
}
.narrow {
  width: min(760px, calc(100% - 80px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--surface);
  padding: 10px 14px;
  z-index: 30;
}
.skip:focus {
  top: 14px;
}
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-2);
}
.muted {
  color: var(--ink-2);
}
.num {
  font-variant-numeric: tabular-nums;
}
.meta {
  font-size: 0.875rem;
  color: var(--ink-2);
}
.site-header {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 750;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.brand span span {
  font-weight: 400;
}
.brand svg {
  width: 21px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
}
.brand svg circle:last-child {
  fill: currentColor;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.93rem;
  font-weight: 650;
}
.site-nav > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav > a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.theme {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1.15rem;
}
.theme:hover {
  background: var(--surface-2);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 20px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  border: 1px solid var(--brand);
}
.button:hover {
  background: var(--brand-hover);
  color: var(--on-brand);
}
.crumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 22px 0 0;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.crumbs span:before {
  content: '/';
  margin-right: 8px;
  color: var(--line-strong);
}
.page-hero {
  padding: 58px 0 40px;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: start;
}
.page-lead {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-top: 8px;
  max-width: 36ch;
}
.hero-facts {
  margin-top: 25px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  padding: 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  background: var(--surface);
}
.route-keyfacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0 0;
  border-block: 1px solid var(--line);
}
.route-keyfacts > div {
  padding: 13px 14px 14px;
  border-left: 1px solid var(--line);
}
.route-keyfacts > div:first-child {
  padding-left: 0;
  border-left: 0;
}
.route-keyfacts dt {
  color: var(--ink-2);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.route-keyfacts dd {
  margin-top: 5px;
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.25;
}
.route-band {
  position: relative;
  margin: 26px 0 20px;
  height: 230px;
}
.route-band svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.route-band .fill {
  fill: var(--surface-2);
  opacity: 0.75;
}
.route-band .line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: draw 1.5s ease both;
}
.route-band .accent {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}
.band-label {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.82rem;
  color: var(--ink-2);
}
.route-profile {
  margin-top: 42px;
  padding: 21px 24px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgb(23 60 67 / 5%);
}
.route-profile-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.route-profile-title {
  display: block;
  margin-top: 3px;
  font-size: 1.08rem;
  line-height: 1.25;
}
.route-profile-note {
  flex: 0 0 auto;
  color: var(--ink-2);
  font-size: 0.75rem;
}
.route-profile .route-band {
  height: 205px;
  margin: 18px 0 0;
}
.route-profile .route-band .line {
  stroke-width: 3.2;
}
.route-stops {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
.route-stops li {
  position: relative;
  min-width: 0;
  padding: 17px 12px 0;
  border-top: 2px solid var(--line-strong);
}
.route-stops li:first-child {
  padding-left: 0;
}
.route-stops li:nth-child(2) {
  text-align: center;
}
.route-stops li:last-child {
  padding-right: 0;
  text-align: right;
}
.route-stops li::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 2px var(--brand);
  transform: translateX(-50%);
}
.route-stops li:first-child::before {
  left: 0;
  transform: none;
}
.route-stops li:nth-child(2)::before {
  width: 14px;
  height: 14px;
  top: -8px;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}
.route-stops li:last-child::before {
  right: 0;
  left: auto;
  transform: none;
}
.route-stops span {
  display: block;
  color: var(--ink-2);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.route-stops strong {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  line-height: 1.3;
}
@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
}
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 0.94rem;
}
.notice strong {
  display: block;
  margin-bottom: 2px;
}
.notice[data-tone='warm'] {
  background: var(--orange-bg);
  border-color: transparent;
}
.notice-mark {
  font-weight: 800;
  color: var(--accent);
}
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 54px;
  padding: 30px 0 80px;
  align-items: start;
}
.article {
  min-width: 0;
}
.article section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.article section:first-child {
  border-top: 0;
  padding-top: 0;
}
.article h2 {
  margin-bottom: 16px;
}
.article h3 {
  margin: 24px 0 8px;
}
.article p + p {
  margin-top: 13px;
}
.article ul {
  padding-left: 1.25rem;
  margin-top: 12px;
}
.article li + li {
  margin-top: 8px;
}
.side {
  position: sticky;
  top: 20px;
}
.side-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.side-card + .side-card {
  margin-top: 14px;
}
.side-card h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.side-card p {
  font-size: 0.94rem;
  color: var(--ink-2);
}
.side-card .button {
  width: 100%;
  margin-top: 17px;
}
.side-links {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}
.side-links li {
  border-top: 1px solid var(--line);
}
.side-links a {
  display: block;
  padding: 11px 0;
  font-size: 0.94rem;
  font-weight: 650;
}
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.fact {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.fact span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 650;
}
.fact strong {
  display: block;
  margin-top: 5px;
  font-size: 1.12rem;
}
.checklist {
  list-style: none !important;
  padding: 0 !important;
}
.checklist li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--line);
  margin: 0 !important;
}
.checklist li:before {
  content: '✓';
  position: absolute;
  left: 3px;
  color: var(--green);
  font-weight: 800;
}
.source-list {
  list-style: none !important;
  padding: 0 !important;
}
.source-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  margin: 0 !important;
}
.source-list a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.source-list span {
  display: block;
  color: var(--ink-2);
  font-size: 0.9rem;
  margin-top: 2px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 30px 0 80px;
}
.card {
  display: flex;
  min-height: 215px;
  flex-direction: column;
  justify-content: space-between;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  transition: 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.card .eyebrow {
  margin-bottom: 12px;
}
.card h2 {
  font-size: 1.4rem;
}
.card p {
  font-size: 0.94rem;
  color: var(--ink-2);
  margin-top: 9px;
}
.card-link {
  font-weight: 700;
  margin-top: 24px;
  color: var(--brand);
}
.table-wrap {
  overflow-x: auto;
  margin-top: 18px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th,
td {
  text-align: left;
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-2);
}
td:last-child {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 0;
  font-weight: 700;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: '+';
  float: right;
  font-size: 1.25rem;
  color: var(--ink-2);
}
.faq details[open] summary:after {
  content: '–';
}
.faq details p {
  padding: 0 36px 18px 0;
  color: var(--ink-2);
}
.cta {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.cta h2 {
  font-size: 1.55rem;
}
.cta p {
  color: var(--ink-2);
  margin-top: 7px;
}
.site-footer {
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-links {
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 650;
}
.footer-note {
  font-size: 0.78rem;
  color: var(--ink-2);
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 80ch;
}
.legal-warning {
  padding: 17px 19px;
  border: 2px solid var(--orange);
  border-radius: 12px;
  background: var(--orange-bg);
  margin: 22px 0;
}
.placeholder {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--accent-soft);
  padding: 2px 5px;
  border-radius: 4px;
}
@media (max-width: 940px) {
  .wrap,
  .narrow {
    width: calc(100% - 48px);
  }
  .page-hero-grid,
  .article-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .side {
    position: static;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .fact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-nav .optional {
    display: none;
  }
}
@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  .wrap,
  .narrow {
    width: calc(100% - 36px);
  }
  .site-header {
    min-height: 70px;
  }
  .brand {
    font-size: 1.05rem;
  }
  .site-nav {
    gap: 5px;
  }
  .site-nav > a {
    font-size: 0.82rem;
    padding: 0 5px;
  }
  .theme {
    width: 38px;
    height: 38px;
  }
  .page-hero {
    padding: 36px 0 28px;
  }
  h1 {
    font-size: 2.55rem;
  }
  .page-lead {
    font-size: 1.08rem;
  }
  .route-keyfacts {
    grid-template-columns: 1fr;
  }
  .route-keyfacts > div,
  .route-keyfacts > div:first-child {
    padding: 10px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .route-keyfacts > div:first-child {
    border-top: 0;
  }
  .route-profile {
    margin-top: 30px;
    padding: 17px 16px 18px;
  }
  .route-profile-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .route-profile-note {
    white-space: normal;
  }
  .route-profile .route-band {
    height: 150px;
    margin-top: 10px;
  }
  .route-stops {
    grid-template-columns: 1fr;
  }
  .route-stops li,
  .route-stops li:first-child,
  .route-stops li:nth-child(2),
  .route-stops li:last-child {
    min-height: 52px;
    padding: 10px 0 10px 24px;
    border-top: 0;
    border-left: 2px solid var(--line-strong);
    text-align: left;
  }
  .route-stops li::before,
  .route-stops li:first-child::before,
  .route-stops li:nth-child(2)::before,
  .route-stops li:last-child::before {
    top: 15px;
    right: auto;
    left: -7px;
    transform: none;
  }
  .route-band {
    height: 165px;
  }
  .cards,
  .fact-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    padding-bottom: 54px;
  }
  .card {
    min-height: 180px;
  }
  .article-grid {
    padding-bottom: 54px;
  }
  .cta,
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .button {
    width: 100%;
  }
  .band-label {
    font-size: 0.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
