:root {
  --bg: #f7fbff;
  --surface: #ffffff;
  --surface-soft: #edf7fd;
  --line: #d7e5ef;
  --text: #17212b;
  --muted: #607080;
  --blue: #0b5a8d;
  --blue-deep: #083b64;
  --cyan: #67c7ed;
  --green: #2d8f76;
  --coral: #d56c4e;
  --shadow: 0 18px 50px rgba(8, 59, 100, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(247, 251, 255, 0.88);
  border-bottom: 1px solid rgba(215, 229, 239, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--blue-deep);
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 45%, rgba(255, 255, 255, 0.8) 45% 55%, transparent 55%),
    radial-gradient(circle at 34% 45%, var(--cyan), var(--blue));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.top-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.top-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: clamp(620px, 76vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(64px, 9vw, 118px) clamp(20px, 6vw, 72px);
  background: #dff3ff;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 251, 255, 0.96) 0%, rgba(247, 251, 255, 0.86) 42%, rgba(247, 251, 255, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--blue-deep);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(38px, 7vw, 76px);
}

h2 {
  font-size: clamp(23px, 2.9vw, 34px);
}

h3 {
  font-size: 21px;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #314456;
  font-size: clamp(18px, 2.2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

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

.hero-meta span {
  border: 1px solid rgba(11, 90, 141, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue-deep);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 750;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.primary:hover {
  background: var(--blue-deep);
}

.button.ghost {
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.72);
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  margin: clamp(28px, 4vw, 44px) auto 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.summary-item {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background: var(--surface);
}

.summary-value {
  color: var(--blue);
  font-size: 28px;
  font-weight: 850;
}

.summary-label {
  color: var(--muted);
  font-weight: 650;
}

.anchor-nav {
  max-width: var(--max);
  margin: 32px auto 0;
  padding: 0 clamp(20px, 4vw, 0px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.anchor-nav a,
.tag-list span,
.tag-list a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-deep);
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.tag-list a:hover {
  color: var(--blue);
  border-color: rgba(11, 90, 141, 0.35);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) clamp(20px, 4vw, 0px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.section-heading.compact:not(:first-child) {
  margin-top: clamp(34px, 5vw, 56px);
}

.prose {
  max-width: 860px;
  color: #32495c;
  font-size: 18px;
}

.table-wrap {
  overflow-x: visible;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(8, 59, 100, 0.06);
}

.rating-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
  table-layout: fixed;
}

.compact-table {
  min-width: 0;
}

.rating-table th,
.rating-table td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.rating-table th {
  color: var(--blue-deep);
  background: #eef8fe;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.rating-table td:first-child,
.rating-table td:nth-child(3) {
  width: 92px;
  color: var(--blue);
  font-weight: 850;
}

.compact-table td:nth-child(3) {
  width: auto;
  color: var(--text);
  font-weight: 400;
}

.rating-table tr:last-child td {
  border-bottom: 0;
}

.leader-row td {
  background: #f3fbff;
}

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

.leader-card,
.quote-card,
.aside-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(8, 59, 100, 0.06);
}

.leader-card.accent {
  border-color: rgba(45, 143, 118, 0.35);
  background: #f4fffb;
}

.place {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 850;
}

.leader-card p,
.quote-card p,
.quote-card blockquote {
  color: var(--muted);
}

.leader-card .score {
  margin: 12px 0;
  color: var(--blue);
  font-size: 22px;
  font-weight: 850;
}

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

.top-card-grid .company-card:first-child {
  grid-column: 1 / -1;
}

.company-card,
.compact-card-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(8, 59, 100, 0.06);
}

.company-card {
  padding: 24px;
}

.company-card.accent {
  border-color: rgba(45, 143, 118, 0.35);
  background: #f4fffb;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 800;
}

.card-topline strong {
  color: var(--blue);
  font-size: 22px;
}

.company-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding-left: 20px;
  color: #32495c;
}

.editor-note {
  margin: 18px 0 0;
  border-left: 3px solid var(--cyan);
  padding-left: 14px;
  color: var(--muted);
}

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

.compact-card-grid article {
  padding: 18px;
}

.compact-card-grid h3 {
  font-size: 18px;
}

.compact-card-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.route-card,
.mini-method-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(8, 59, 100, 0.06);
}

.route-card {
  position: relative;
  display: flex;
  min-height: 204px;
  flex-direction: column;
  overflow: hidden;
  padding: 26px 28px 24px;
  isolation: isolate;
}

.route-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--cyan), var(--blue), var(--green));
}

.route-card::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 28px;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(103, 199, 237, 0.28);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(103, 199, 237, 0.22) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(103, 199, 237, 0.18) 48% 52%, transparent 52%);
  z-index: -1;
}

.route-card h3 {
  max-width: calc(100% - 60px);
  font-size: clamp(24px, 2vw, 30px);
}

.route-card p {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
}

.route-card > p:not(.route-top) {
  min-height: 48px;
}

.route-card .route-top {
  display: block;
  max-width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border-top: 1px solid rgba(11, 90, 141, 0.12);
  color: var(--blue-deep);
  padding: 10px 0 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.42;
}

.route-card .text-link {
  margin-top: 16px;
}

.route-summary {
  margin-top: 0;
}

.route-link-list {
  max-width: 960px;
}

.route-hero {
  padding-bottom: clamp(34px, 5vw, 58px);
}

.route-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.route-hero-content {
  grid-column: 1;
}

.route-detail-hero .eyebrow,
.route-detail-hero h1,
.route-detail-hero .lead,
.route-detail-hero .hero-meta {
  grid-column: 1;
}

.route-detail-hero h1 {
  max-width: 760px;
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.04;
}

.route-detail-hero .lead {
  margin-top: 18px;
  font-size: clamp(17px, 1.6vw, 20px);
}

.route-detail-hero .hero-meta {
  margin-top: 20px;
}

.route-visual {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  height: clamp(260px, 28vw, 360px);
  min-height: 0;
}

.route-visual-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(103, 199, 237, 0.36);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 22%, rgba(103, 199, 237, 0.22), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(45, 143, 118, 0.16), transparent 36%),
    linear-gradient(180deg, #effaff 0%, #ffffff 68%, #eaf7fc 100%);
  box-shadow: var(--shadow);
}

.route-visual-card::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(11, 90, 141, 0.08);
  background:
    linear-gradient(90deg, rgba(11, 90, 141, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(11, 90, 141, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  border-radius: var(--radius);
}

.route-path {
  position: absolute;
  left: 18%;
  right: 16%;
  top: 49%;
  height: 120px;
  border-top: 2px dashed rgba(11, 90, 141, 0.36);
  border-radius: 50%;
  transform: rotate(-9deg);
}

.route-node {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(103, 199, 237, 0.22);
}

.route-node-start {
  left: 18%;
  top: 55%;
}

.route-node-end {
  right: 18%;
  top: 35%;
  background: var(--green);
}

.route-plane {
  position: absolute;
  left: 46%;
  top: 37%;
  width: 88px;
  height: 62px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 84'%3E%3Cpath fill='%230b5a8d' d='M112.5 39.5c4.1 2.1 4.1 5.9 0 8L78.8 60.6l-7.7 18.5c-.7 1.6-2.6 2.2-4 1.2l-7.7-5.4 4.2-13.3-33.9 9.2-10.2 10.1c-.9.9-2.3 1.1-3.4.4l-6.6-4.1 7.1-13.8L3.5 57.1C1.4 56.1.9 53.4 2.4 51.7l3.7-4.1 28 1.6 26.3-10.5L8.6 17.8c-2.2-.9-2.8-3.8-1-5.5l5.8-5.4c1-.9 2.4-1.1 3.6-.5l66.3 23.8 29.2 9.3Z'/%3E%3Cpath fill='%2367c7ed' opacity='.55' d='M79 60.6 64 61.8l7.1 17.3 7.9-18.5ZM35 49.2 61 38.7 8.6 17.8l26.4 31.4Z'/%3E%3C/svg%3E");
  transform: rotate(-16deg);
  animation: routePlaneFloat 4.8s ease-in-out infinite;
  filter: drop-shadow(0 12px 16px rgba(8, 59, 100, 0.2));
}

.route-plane::before,
.route-plane::after {
  content: none;
}

.route-cloud {
  position: absolute;
  width: 86px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 22px rgba(8, 59, 100, 0.08);
}

.route-cloud::before,
.route-cloud::after {
  content: "";
  position: absolute;
  bottom: 8px;
  border-radius: 50%;
  background: inherit;
}

.route-cloud::before {
  left: 15px;
  width: 30px;
  height: 30px;
}

.route-cloud::after {
  right: 18px;
  width: 22px;
  height: 22px;
}

.route-cloud-a {
  left: 12%;
  top: 22%;
}

.route-cloud-b {
  right: 10%;
  bottom: 20%;
  transform: scale(0.78);
}

@keyframes routePlaneFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(-16deg);
  }

  50% {
    transform: translate(18px, -14px) rotate(-12deg);
  }
}

.mini-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-method-grid article {
  padding: 18px;
}

.mini-method-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-weight: 850;
}

.mini-method-grid h3 {
  font-size: 19px;
}

.mini-method-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.route-table th:first-child,
.route-table th:nth-child(3),
.route-table td:first-child,
.route-table td:nth-child(3) {
  width: 86px;
}

.split,
.two-columns,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.article-layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
}

.criteria-list {
  display: grid;
  gap: 10px;
}

.criteria-list div {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--blue-deep);
  font-weight: 750;
}

.criteria-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-weight: 850;
}

.criteria-list.small div {
  grid-template-columns: 48px 1fr;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.check-list,
.warn-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.warn-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.check-list li::before,
.warn-list li::before {
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--green);
  font-weight: 900;
}

.check-list li::before {
  content: "✓";
}

.warn-list li::before {
  content: "!";
  color: var(--coral);
}

.quote-card {
  margin: 0;
}

.quote-card blockquote {
  margin: 0;
  font-size: 17px;
}

.quote-card figcaption {
  margin-top: 18px;
  color: var(--blue-deep);
  font-weight: 800;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.update-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 56px);
}

.update-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(8, 59, 100, 0.06);
}

.update-form label,
.update-form .wide,
.wide-button,
.form-message {
  grid-column: 1 / -1;
}

.update-form label {
  display: grid;
  gap: 7px;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 800;
}

.update-form label:nth-child(1),
.update-form label:nth-child(2),
.update-form label:nth-child(3),
.update-form label:nth-child(4) {
  grid-column: span 1;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  background: #fbfdff;
  color: var(--text);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(103, 199, 237, 0.32);
  border-color: var(--cyan);
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.contact-note {
  grid-column: 2;
  margin: 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

summary {
  cursor: pointer;
  padding: 17px 18px;
  color: var(--blue-deep);
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.disclaimer {
  padding-bottom: clamp(56px, 8vw, 96px);
}

.disclaimer p {
  max-width: 900px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) clamp(20px, 4vw, 0px) clamp(28px, 4vw, 48px);
}

.article {
  color: #32495c;
  font-size: 17px;
}

.article h2,
.faq-page h2 {
  margin: 34px 0 14px;
  font-size: clamp(21px, 2.2vw, 28px);
}

.article h2:first-child,
.faq-page h2:first-child {
  margin-top: 0;
}

.article h3 {
  margin: 24px 0 8px;
  color: var(--blue-deep);
  font-size: 20px;
}

.source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 12px 14px;
  color: var(--blue-deep);
}

.aside-panel {
  position: sticky;
  top: 86px;
  align-self: start;
}

.aside-panel h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.method-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.method-card-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(8, 59, 100, 0.05);
}

.method-card-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-weight: 850;
}

.method-card-grid h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

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

.faq-page {
  max-width: 920px;
  padding-bottom: clamp(56px, 8vw, 96px);
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.82) 54%, rgba(247, 251, 255, 0.32) 100%);
  }

  .summary-band,
  .leader-grid,
  .quote-grid,
  .top-card-grid,
  .compact-card-grid,
  .direction-grid,
  .mini-method-grid,
  .method-card-grid,
  .source-list,
  .split,
  .two-columns,
  .article-layout,
  .update-section {
    grid-template-columns: 1fr;
  }

  .route-detail-hero {
    grid-template-columns: 1fr;
  }

  .route-detail-hero .eyebrow,
  .route-detail-hero h1,
  .route-detail-hero .lead,
  .route-detail-hero .hero-meta,
  .route-hero-content,
  .route-visual {
    grid-column: 1;
  }

  .route-visual {
    grid-row: auto;
    height: 240px;
    min-height: 0;
  }

  .route-visual-card {
    height: 100%;
    min-height: 0;
  }

  .top-card-grid .company-card:first-child {
    grid-column: auto;
  }

  .contact-note {
    grid-column: auto;
    margin: 0;
  }

  .aside-panel {
    position: static;
  }

  .table-wrap {
    overflow-x: visible;
  }

  .rating-table,
  .rating-table thead,
  .rating-table tbody,
  .rating-table tr,
  .rating-table th,
  .rating-table td {
    display: block;
    min-width: 0;
  }

  .rating-table thead {
    display: none;
  }

  .rating-table tr {
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
  }

  .rating-table tr:last-child {
    border-bottom: 0;
  }

  .rating-table td {
    display: grid;
    grid-template-columns: minmax(110px, 38%) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    border-bottom: 0;
    padding: 8px 16px;
  }

  .rating-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
  }
}

@media (max-width: 640px) {
  .top-nav {
    gap: 10px;
  }

  .top-nav a {
    font-size: 13px;
  }

  .hero {
    min-height: 620px;
    padding-top: 54px;
  }

  h1 {
    font-size: 39px;
  }

  .summary-band {
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .summary-item {
    min-height: 92px;
    padding: 18px 20px;
  }

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

  .route-card h3 {
    max-width: none;
    font-size: 27px;
  }

  .route-card::after {
    width: 54px;
    height: 54px;
    opacity: 0.8;
  }

  .route-card > p:not(.route-top),
  .route-card .route-top {
    min-height: 0;
  }

  .route-visual,
  .route-visual-card {
    height: 210px;
    min-height: 0;
  }

  .rating-table td {
    grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
  }

  .update-form,
  .update-form label:nth-child(1),
  .update-form label:nth-child(2),
  .update-form label:nth-child(3),
  .update-form label:nth-child(4) {
    grid-template-columns: 1fr;
    grid-column: 1 / -1;
  }
}
