:root {
  --ink: #172033;
  --muted: #5f6b7a;
  --paper: #ffffff;
  --canvas: #f3f6fa;
  --line: #dce3ec;
  --brand: #7a3ff2;
  --brand-dark: #5120ae;
  --accent: #ffb422;
  --success: #0d7c66;
  --danger: #a73345;
  --shadow: 0 18px 50px rgba(29, 39, 62, 0.11);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 2%, rgba(122, 63, 242, 0.1), transparent 26rem),
    linear-gradient(180deg, #fbfcff 0, var(--canvas) 38rem);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--brand-dark);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid rgba(220, 227, 236, 0.85);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner,
.page-width {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 10px 22px rgba(81, 32, 174, 0.25);
  color: #fff;
  font-size: 21px;
  line-height: 1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.top-nav a {
  color: var(--ink);
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  color: var(--brand);
}

.top-nav a[hreflang] {
  padding: 5px 9px;
  border: 1px solid rgba(81, 32, 174, 0.22);
  border-radius: 999px;
  line-height: 1;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 62px;
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 56px;
  right: -100px;
  width: 430px;
  height: 160px;
  border: 18px solid rgba(255, 180, 34, 0.22);
  border-radius: 90px;
  content: "";
  transform: rotate(-8deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

h1,
h2,
h3 {
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 7vw, 72px);
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2.4vw, 21px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 700;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 12px 0 72px;
}

.route-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 30px;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.route-card:hover {
  border-color: rgba(122, 63, 242, 0.45);
  transform: translateY(-4px);
}

.route-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #eee8ff;
  color: var(--brand-dark);
  font-weight: 900;
}

.route-card h2 {
  margin: 30px 0 10px;
  color: var(--ink);
  font-size: 25px;
  letter-spacing: -0.025em;
}

.route-card p {
  margin: 0;
  color: var(--muted);
}

.route-card .route-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--brand-dark);
  font-weight: 800;
}

.fact-strip {
  margin-bottom: 78px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: 32px;
}

.fact-strip h2 {
  margin: 0 0 20px;
  font-size: 24px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fact {
  border-left: 4px solid var(--accent);
  padding-left: 16px;
}

.fact strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.fact span {
  color: #c8d0dd;
  font-size: 14px;
}

.legal-hero {
  padding: 58px 0 36px;
}

.legal-hero h1 {
  max-width: 940px;
  font-size: clamp(34px, 6vw, 58px);
}

.legal-hero .hero-copy {
  max-width: 820px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 30px;
  align-items: start;
  padding-bottom: 80px;
}

.legal-card {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 54px);
}

.legal-card h2 {
  scroll-margin-top: 24px;
  margin: 44px 0 14px;
  color: var(--ink);
  font-size: 27px;
  letter-spacing: -0.025em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  margin: 28px 0 10px;
  font-size: 20px;
}

.legal-card p {
  margin: 0 0 16px;
}

.legal-card ul,
.legal-card ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.legal-card li {
  margin-bottom: 8px;
}

.legal-card hr {
  height: 1px;
  margin: 38px 0;
  border: 0;
  background: var(--line);
}

.meta-panel,
.callout {
  border-radius: 14px;
  padding: 18px 20px;
}

.meta-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 22px;
  margin-bottom: 30px;
  background: #f2efff;
  font-size: 14px;
}

.meta-panel strong {
  color: var(--brand-dark);
}

.callout {
  margin: 24px 0;
  border-left: 5px solid var(--accent);
  background: #fff8e5;
}

.callout.info {
  border-left-color: var(--brand);
  background: #f4f0ff;
}

.callout.success {
  border-left-color: var(--success);
  background: #eaf8f4;
}

.callout.danger {
  border-left-color: var(--danger);
  background: #fff0f2;
}

.callout p:last-child {
  margin-bottom: 0;
}

.toc {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  padding: 22px;
}

.toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.toc li {
  margin: 8px 0;
  color: var(--muted);
  font-size: 13px;
}

.toc a {
  color: inherit;
  text-decoration: none;
}

.toc a:hover {
  color: var(--brand);
}

.action-panel {
  margin: 28px 0;
  border: 1px solid rgba(122, 63, 242, 0.25);
  border-radius: 18px;
  background: linear-gradient(135deg, #f8f5ff, #fff);
  padding: 24px;
}

.action-panel h2,
.action-panel h3 {
  margin-top: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  padding: 11px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: var(--brand-dark);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.data-table-wrap {
  max-width: 100%;
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.data-table-wrap:focus-visible {
  outline: 3px solid var(--brand-dark);
  outline-offset: 4px;
}

.data-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: #f7f8fb;
  color: var(--ink);
  font-size: 13px;
}

.data-table tbody th {
  background: #fff;
  font-size: 14px;
}

.data-table tr:last-child > * {
  border-bottom: 0;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.contact-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafbfc;
  padding: 18px;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .top-nav {
    display: flex;
    flex: 1 0 100%;
    order: 3;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: thin;
    white-space: nowrap;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-card {
    grid-column: 1;
    grid-row: 2;
  }

  .toc {
    grid-column: 1;
    grid-row: 1;
    position: static;
  }

  .facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-inner,
  .page-width {
    width: min(100% - 24px, 1160px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding: 58px 0 44px;
  }

  .route-grid {
    grid-template-columns: 1fr;
    padding-bottom: 52px;
  }

  .route-card {
    min-height: 0;
    padding: 24px;
  }

  .fact-strip {
    margin-bottom: 52px;
    padding: 24px;
  }

  .legal-hero {
    padding: 42px 0 28px;
  }

  .legal-card {
    border-radius: 16px;
  }

  .legal-card h2 {
    font-size: 23px;
  }

  .meta-panel,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: #fff;
    font-size: 11pt;
  }

  .site-header,
  .toc,
  .site-footer,
  .button-row {
    display: none;
  }

  .legal-layout {
    display: block;
  }

  .legal-card {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  a {
    color: inherit;
  }
}

/* Explicit website analytics choice */
.mep-consent-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px solid rgba(115, 221, 211, 0.38);
  border-radius: 12px;
  color: #f0fbfa;
  background: rgba(12, 31, 46, 0.98);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.34);
}

.mep-consent-banner[hidden] {
  display: none !important;
}

.mep-consent-copy {
  flex: 1 1 auto;
}

.mep-consent-copy strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
}

.mep-consent-copy p {
  margin: 0;
  color: rgba(240, 251, 250, 0.78);
  font-size: 0.84rem;
  line-height: 1.55;
}

.mep-consent-copy a {
  color: #73ddd3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mep-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.mep-consent-actions button,
.mep-privacy-settings {
  min-height: 40px;
  border: 1px solid rgba(115, 221, 211, 0.5);
  border-radius: 7px;
  padding: 9px 16px;
  color: #f4fbfb;
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}

.mep-consent-actions .mep-consent-accept {
  border-color: #73ddd3;
  color: #0c1f2e;
  background: #73ddd3;
}

.mep-consent-actions button:hover,
.mep-consent-actions button:focus,
.mep-privacy-settings:hover,
.mep-privacy-settings:focus {
  border-color: #fff;
  color: #0c1f2e;
  background: #fff;
}

.mep-privacy-settings {
  display: block;
  margin: 1rem auto 0;
}

.mep-privacy-choice-status {
  margin-left: 0.45rem;
  color: #73ddd3;
}

@media (max-width: 680px) {
  .mep-consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .mep-consent-actions {
    width: 100%;
  }

  .mep-consent-actions button {
    flex: 1 1 0;
  }
}

@media print {
  .mep-consent-banner,
  .mep-privacy-settings {
    display: none !important;
  }
}
