/* OnlyNet 中文站 · 独立视觉系统 */
:root {
  --ink: #0a1734;
  --ink-soft: #1a2a4d;
  --muted: #5c6b88;
  --muted-2: #7a88a2;
  --blue: #1249ff;
  --blue-deep: #0a2db5;
  --blue-bright: #3d73ff;
  --ice: #f4f7ff;
  --ice-2: #e9efff;
  --paper: #fbfcff;
  --white: #ffffff;
  --line: #dde5f5;
  --line-strong: #c9d5ee;
  --lime: #d9fb66;
  --lime-deep: #c4ee36;
  --danger: #d14e42;
  --ok: #168c63;
  --shell: 1200px;
  --radius-lg: 30px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-lg: 0 28px 80px rgba(22, 47, 108, 0.13);
  --shadow: 0 16px 44px rgba(22, 47, 108, 0.09);
  --shadow-sm: 0 8px 24px rgba(22, 47, 108, 0.07);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: "SFMono-Regular", "SF Mono", "Menlo", "Consolas", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  color: var(--white);
  background: var(--blue);
}

:focus-visible {
  outline: 3px solid rgba(18, 73, 255, 0.45);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.shell-narrow {
  width: min(calc(100% - 48px), 820px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

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

/* ---------- top line ---------- */
.topline {
  color: rgba(255, 255, 255, 0.8);
  background: var(--ink);
  font-size: 13px;
  line-height: 1;
}

.topline-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
}

.topline .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(217, 251, 102, 0.12);
  flex: none;
}

.topline strong {
  color: var(--white);
  font-weight: 600;
}

.topline-sep {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.22);
}

.topline a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--lime);
  font-weight: 600;
}

.topline a:hover {
  color: var(--white);
}

.topline-note {
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 252, 255, 0.9);
  border-bottom: 1px solid rgba(221, 229, 245, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 252, 255, 0.97);
  box-shadow: 0 12px 30px rgba(22, 47, 108, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 5px 14px rgba(18, 73, 255, 0.24);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.brand-sub {
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.12em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 13px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav > a:hover {
  color: var(--blue);
  background: var(--ice);
}

.main-nav > a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  background: var(--ice-2);
}

.main-nav .nav-rank {
  gap: 8px;
  margin-left: 8px;
  padding: 0 16px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 7px 18px rgba(18, 73, 255, 0.23);
}

.main-nav .nav-rank::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.main-nav .nav-rank:hover,
.main-nav .nav-rank[aria-current="page"] {
  color: var(--white);
  background: var(--blue-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.header-rank {
  display: none;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  background: rgba(10, 23, 52, 0.5);
  backdrop-filter: blur(8px);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  display: flex;
  flex-direction: column;
  width: min(100%, 420px);
  max-height: calc(100vh - 36px);
  margin-left: auto;
  padding: 22px;
  overflow: auto;
  background: var(--paper);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px);
  transition: transform 0.25s ease;
}

.mobile-nav.is-open .mobile-nav-panel {
  transform: translateY(0);
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-close {
  width: auto;
  min-width: 48px;
  height: 36px;
  padding: 0 12px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.mobile-nav-links {
  display: grid;
  gap: 2px;
  padding: 18px 0;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-size: 21px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-links a span {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
}

.mobile-nav-links a.rank-link {
  margin-top: 10px;
  padding: 16px 18px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 14px;
  font-size: 18px;
}

.mobile-nav-links a.rank-link span {
  color: rgba(255, 255, 255, 0.72);
}

.mobile-nav-foot {
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted-2);
  font-size: 12px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(18, 73, 255, 0.22);
}

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

.btn-ink {
  background: var(--ink);
}

.btn-ink:hover {
  background: var(--blue);
}

.btn-white {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  border-color: var(--line-strong);
}

.btn-lime {
  color: var(--ink);
  background: var(--lime);
}

.btn-lime:hover {
  background: var(--white);
}

.btn-lg {
  min-height: 54px;
  padding-inline: 26px;
  font-size: 16px;
}

.btn-sm {
  min-height: 40px;
  padding-inline: 17px;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-weight: 700;
}

.text-link:hover {
  color: var(--blue-deep);
}

.text-link .arrow {
  transition: transform 0.2s ease;
}

.text-link:hover .arrow {
  transform: translateX(3px);
}

/* ---------- common headings ---------- */
.section {
  padding: 92px 0;
}

.section-tight {
  padding: 68px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head h2,
h2.section-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.section-head p {
  max-width: 430px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.section-kicker {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(117, 154, 255, 0.2), transparent 30%),
    linear-gradient(180deg, #f2f6ff 0%, #f8faff 66%, var(--paper) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 69, 158, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 69, 158, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 86%);
  mask-image: linear-gradient(to bottom, black, transparent 86%);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: 48px;
  padding-top: 78px;
  padding-bottom: 80px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(46px, 6.2vw, 76px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.hero h1 .accent {
  position: relative;
  color: var(--blue);
  white-space: nowrap;
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0.03em;
  right: 0.02em;
  bottom: 0.03em;
  z-index: -1;
  height: 0.16em;
  background: var(--lime);
  border-radius: 999px;
  transform: rotate(-1.2deg);
}

.hero-lede {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.82;
}

.hero-lede strong {
  color: var(--ink);
  font-weight: 600;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 12px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.phone-frame {
  position: absolute;
  top: 0;
  right: 4%;
  z-index: 3;
  width: 270px;
  padding: 9px;
  background: #0b1834;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  box-shadow: 0 36px 80px rgba(7, 26, 76, 0.3);
  transform: rotate(2.6deg);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  z-index: 2;
  width: 70px;
  height: 18px;
  background: #0b1834;
  border-radius: 0 0 12px 12px;
  transform: translateX(-50%);
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 26px;
}

.visual-board {
  position: absolute;
  inset: 76px auto auto 0;
  z-index: 2;
  width: 360px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(213, 224, 246, 0.95);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}

.board-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.board-head .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22b57a;
  box-shadow: 0 0 0 4px rgba(34, 181, 122, 0.12);
}

.board-head span:last-child {
  margin-left: auto;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.route-list {
  display: grid;
  gap: 1px;
  padding: 8px 0;
}

.route-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px dashed #edf1fb;
  font-family: var(--font-mono);
  font-size: 10px;
}

.route-row:last-child {
  border-bottom: 0;
}

.route-row .host {
  overflow: hidden;
  color: var(--ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-row .route-type {
  color: var(--muted-2);
  font-family: var(--font-sans);
  font-size: 10px;
}

.route-row .route-pill {
  min-width: 42px;
  padding: 2px 7px;
  color: var(--blue);
  background: var(--ice);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}

.route-row .route-pill.direct {
  color: var(--ok);
  background: #eaf8f1;
}

.board-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.board-metrics div {
  display: grid;
  gap: 2px;
}

.board-metrics b {
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.board-metrics span {
  color: var(--muted-2);
  font-size: 10px;
}

.float-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.float-chip b {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 13px;
}

.float-chip.chip-a {
  top: 30px;
  left: 12px;
}

.float-chip.chip-b {
  right: 0;
  bottom: 145px;
}

.float-chip.chip-c {
  left: 50px;
  bottom: 66px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: 80px;
  z-index: 1;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(18, 73, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(18, 73, 255, 0.025), 0 0 0 58px rgba(18, 73, 255, 0.02);
}

/* ---------- stats strip ---------- */
.stat-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  display: grid;
  gap: 2px;
  padding: 29px 28px;
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item b {
  color: var(--ink);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.stat-item b em {
  color: var(--blue);
  font-style: normal;
}

.stat-item span {
  color: var(--muted);
  font-size: 12px;
}

/* ---------- feature bento ---------- */
.feature-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  grid-column: span 4;
  min-height: 220px;
  padding: 27px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.feature-wide {
  grid-column: span 7;
  min-height: 330px;
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.feature-wide h3 {
  color: var(--white);
  font-size: clamp(28px, 3vw, 38px);
}

.feature-wide p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

.feature-mid {
  grid-column: span 5;
  min-height: 330px;
}

.feature-card.accent {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.feature-card.accent h3 {
  color: var(--white);
}

.feature-card.accent p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-card.lime {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.feature-card.lime p {
  color: rgba(10, 23, 52, 0.64);
}

.feature-card.wide-bottom {
  grid-column: span 12;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
  padding: 30px 34px;
}

.feature-visual-routes {
  margin-top: 34px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.feature-visual-routes .route-row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.feature-visual-routes .route-row .host {
  color: rgba(255, 255, 255, 0.9);
}

.feature-visual-routes .route-row .route-type {
  color: rgba(255, 255, 255, 0.45);
}

.feature-visual-routes .route-row .route-pill {
  color: var(--ink);
  background: var(--lime);
}

.dns-stack {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.dns-layer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  background: var(--ice);
  border-radius: 11px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.dns-layer span:last-child {
  color: var(--ok);
}

.dns-layer.alt {
  background: #f0f4ff;
}

.protocol-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 26px;
}

.protocol-cloud span {
  padding: 5px 9px;
  color: var(--blue);
  background: var(--ice);
  border: 1px solid #e3eaff;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.share-panel {
  margin-top: 26px;
  padding: 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.share-panel div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 0;
}

.share-panel span {
  color: var(--muted);
  font-family: var(--font-sans);
}

.download-lines {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.download-lines span {
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}

.download-lines small {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 400;
}

/* ---------- platform strip ---------- */
.platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 23px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.platform-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.platform-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--blue);
  background: var(--ice);
  border-radius: 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.platform-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.platform-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.platform-card .text-link {
  margin-top: auto;
  font-size: 13px;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 38px;
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 32px 30px 10px 0;
  counter-increment: step;
}

.step + .step {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.step h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.step p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ---------- ranking feature ---------- */
.rank-feature {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.rank-feature::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -130px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 62px rgba(255, 255, 255, 0.025), 0 0 0 124px rgba(255, 255, 255, 0.018);
}

.rank-feature::after {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(18, 73, 255, 0.5), transparent 70%);
  pointer-events: none;
}

.rank-feature-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 58px;
  align-items: center;
  padding: 82px 0;
}

.rank-feature h2 {
  max-width: 500px;
  margin: 0;
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.rank-feature h2 span {
  color: var(--lime);
}

.rank-feature p {
  max-width: 460px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  line-height: 1.8;
}

.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.rank-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.rank-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.rank-feature .btn {
  margin-top: 28px;
}

.mini-ranks {
  display: grid;
  gap: 10px;
}

.mini-rank {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.mini-rank-index {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 12px;
}

.mini-rank-body {
  min-width: 0;
}

.mini-rank h3 {
  margin: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-rank p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  line-height: 1.5;
}

.mini-rank .score {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
}

.airport-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.airport-cta:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.mini-rank .airport-cta {
  width: auto;
  min-width: 82px;
  min-height: 36px;
  padding-inline: 12px;
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  font-size: 12px;
}

.mini-rank .airport-cta:hover {
  background: var(--white);
  border-color: var(--white);
}

/* ---------- articles preview ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 26px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.article-card .article-no {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 11px;
}

.article-card h3 {
  margin: 44px 0 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.article-card p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.article-card .article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 26px;
  color: var(--muted-2);
  font-size: 11px;
}

.article-card .article-foot .text-link {
  font-size: 12px;
}

.article-card:nth-child(2) {
  background: var(--ice);
}

.article-card:nth-child(3) {
  background: #eef2ff;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(0, 1.34fr);
  gap: 58px;
  align-items: start;
}

.faq-title h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.faq-title p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.faq-title a {
  margin-top: 24px;
}

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

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 54px 20px 22px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 54px;
  background:
    radial-gradient(circle at 86% 5%, rgba(111, 149, 255, 0.2), transparent 26%),
    linear-gradient(180deg, #f2f6ff, #fbfcff);
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 69, 158, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 69, 158, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 44px;
  align-items: end;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  color: var(--muted-2);
  font-size: 12px;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.breadcrumbs .sep {
  color: #b8c4dd;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(40px, 6vw, 74px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.page-hero .lede {
  max-width: 690px;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.82;
}

.page-hero-side {
  display: grid;
  gap: 10px;
  align-content: end;
  padding-bottom: 4px;
}

.hero-side-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.hero-side-row span {
  color: var(--muted-2);
}

.hero-side-row b {
  font-size: 13px;
}

/* ---------- download page ---------- */
.download-hero {
  padding-bottom: 60px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.download-card {
  display: flex;
  flex-direction: column;
  padding: 27px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.download-card.primary {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.download-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.download-card h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.download-card .platform-code {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 30px;
  padding: 0 9px;
  color: var(--blue);
  background: var(--ice);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.download-card.primary .platform-code {
  color: var(--ink);
  background: var(--lime);
}

.download-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.download-card.primary p {
  color: rgba(255, 255, 255, 0.72);
}

.download-card .file-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 20px 0;
  padding: 13px 0;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.download-card.primary .file-meta {
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.18);
}

.download-card .btn {
  width: 100%;
  margin-top: auto;
}

.download-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  margin-top: 18px;
  padding: 18px 20px;
  color: var(--muted);
  background: #f7f9ff;
  border: 1px solid var(--line);
  border-radius: 13px;
  font-size: 12px;
  line-height: 1.7;
}

.download-note b {
  color: var(--ink);
}

.download-note .note-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--blue);
  background: var(--ice-2);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

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

.install-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.install-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.install-card h3 span {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
}

.install-card ol {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: install;
}

.install-card li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  counter-increment: install;
}

.install-card li::before {
  content: counter(install);
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--blue);
  background: var(--ice);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
}

.install-card li b {
  color: var(--ink);
  font-weight: 600;
}

.github-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  padding: 26px 28px;
  background: var(--ink);
  border-radius: var(--radius);
  color: var(--white);
}

.github-strip h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.github-strip p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.github-strip .btn {
  min-width: 154px;
}

/* ---------- ranking page ---------- */
.rank-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 0;
  color: var(--white);
  background: var(--ink);
}

.rank-hero::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -200px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 38%, #2e63ff, #0a2ba4 58%, #061436 100%);
  opacity: 0.42;
}

.rank-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 80%);
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  pointer-events: none;
}

.rank-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: end;
}

.rank-hero .breadcrumbs {
  color: rgba(255, 255, 255, 0.42);
}

.rank-hero .breadcrumbs a:hover {
  color: var(--lime);
}

.rank-hero .breadcrumbs .sep {
  color: rgba(255, 255, 255, 0.22);
}

.rank-hero h1 {
  margin: 0;
  font-size: clamp(52px, 8.4vw, 78px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.rank-hero h1 span {
  color: var(--lime);
}

.rank-hero .lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  line-height: 1.82;
}

.rank-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 26px;
  padding-bottom: 42px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.rank-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.rank-hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.rank-hero-score {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
  align-self: end;
  padding: 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  backdrop-filter: blur(8px);
}

.rank-hero-score span {
  color: rgba(255, 255, 255, 0.44);
  font-size: 11px;
}

.rank-hero-score b {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 54px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.rank-hero-score small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.top-picks {
  position: relative;
  z-index: 2;
  padding: 46px 0 78px;
  background: var(--ink);
}

.top-picks-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.top-picks-head h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.top-picks-head p {
  max-width: 380px;
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.7;
}

.top-picks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.airport-card {
  display: flex;
  flex-direction: column;
  padding: 23px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 19px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.airport-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.airport-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.airport-rank {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 10px;
}

.airport-rank b {
  color: var(--blue);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.airport-score {
  display: grid;
  gap: 0;
  text-align: right;
}

.airport-score b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.airport-score span {
  color: var(--muted-2);
  font-size: 9px;
}

.airport-card h3 {
  margin: 18px 0 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.airport-location {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.airport-summary {
  min-height: 42px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.68;
}

.airport-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 16px 0;
  padding: 11px 0;
  background: var(--ice);
  border-radius: 10px;
}

.airport-metrics div {
  display: grid;
  gap: 1px;
  padding: 0 9px;
  border-right: 1px solid var(--line);
}

.airport-metrics div:last-child {
  border-right: 0;
}

.airport-metrics b {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.airport-metrics span {
  color: var(--muted-2);
  font-size: 9px;
}

.airport-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 23px;
  margin-bottom: 16px;
}

.airport-tags span {
  padding: 2px 7px;
  color: var(--blue);
  background: #eef3ff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
}

.airport-card .airport-cta {
  margin-top: auto;
}

.airport-card .price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.airport-card .price-row b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.airport-card .price-row span {
  color: var(--muted-2);
  font-size: 10px;
}

.rank-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rank-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-btn {
  min-height: 34px;
  padding: 0 13px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.filter-btn[aria-pressed="true"] {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.rank-count {
  color: var(--muted-2);
  font-size: 11px;
}

.rank-count b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
}

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

.airport-list .airport-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  grid-template-rows: auto auto auto auto auto auto;
  gap: 0 22px;
  align-items: start;
  padding: 24px;
}

.airport-list .airport-card-top,
.airport-list .airport-card h3,
.airport-list .airport-location,
.airport-list .airport-summary,
.airport-list .airport-metrics {
  grid-column: 1;
}

.airport-list .airport-tags {
  grid-column: 1;
}

.airport-list .price-row {
  grid-column: 2;
  grid-row: 2 / span 2;
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 2px;
  margin: 0;
  padding-top: 0;
  border-top: 0;
}

.airport-list .price-row b {
  font-size: 25px;
}

.airport-list .price-row span {
  font-size: 10px;
}

.airport-list .airport-card .airport-cta {
  grid-column: 2;
  grid-row: 6 / span 1;
  align-self: end;
  margin-top: 12px;
}

.airport-list .airport-summary {
  padding-right: 4px;
}

.rank-empty {
  padding: 36px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  font-size: 14px;
}

.rank-disclaimer {
  margin: 18px 0 0;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.7;
}

/* ---------- method / criteria ---------- */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.criterion {
  min-height: 220px;
  padding: 26px;
  background: var(--white);
}

.criterion span {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 11px;
}

.criterion h3 {
  margin: 48px 0 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.criterion p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.72;
}

/* ---------- comparison table ---------- */
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table caption {
  padding: 18px 22px;
  color: var(--muted-2);
  font-size: 11px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.data-table th,
.data-table td {
  padding: 15px 17px;
  text-align: left;
  border-bottom: 1px solid #edf1fa;
}

.data-table th {
  color: var(--muted);
  background: #f8faff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

.data-table td:first-child {
  color: var(--ink);
  font-weight: 700;
}

.data-table .num {
  font-family: var(--font-mono);
  font-size: 12px;
}

.data-table .good {
  color: var(--ok);
  font-weight: 600;
}

/* ---------- signals ---------- */
.signal-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.signal {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 17px;
}

.signal b {
  display: block;
  color: var(--danger);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
}

.signal h3 {
  margin: 17px 0 0;
  font-size: 17px;
  font-weight: 700;
}

.signal p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* ---------- article index ---------- */
.article-hero {
  padding-bottom: 65px;
}

.article-index {
  display: grid;
  gap: 14px;
}

.article-index-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: start;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.article-index-item:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.article-index-no {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 13px;
}

.article-index-body h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.article-index-body p {
  max-width: 720px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.article-index-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 10px;
}

.article-index-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--ice);
  border-radius: 50%;
  font-size: 16px;
  transition: background 0.2s ease, color 0.2s ease;
}

.article-index-item:hover .article-index-arrow {
  color: var(--white);
  background: var(--blue);
}

.side-promo {
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
}

.side-promo h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.side-promo p {
  margin: 12px 0 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.75;
}

.side-promo .btn {
  width: 100%;
}

/* ---------- article page ---------- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 0;
  height: 3px;
  background: var(--blue);
}

.article-page-hero {
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f2f6ff, #fbfcff);
}

.article-page-hero .shell-narrow {
  position: relative;
}

.article-page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(36px, 5.8vw, 66px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.05em;
}

.article-deck {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  color: var(--muted-2);
  font-size: 11px;
}

.article-meta span + span::before {
  content: "·";
  margin-right: 18px;
  color: #b9c4da;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 270px;
  gap: 64px;
  align-items: start;
  padding: 58px 0 96px;
}

.prose {
  min-width: 0;
  color: #263450;
  font-size: 17px;
  line-height: 1.95;
}

.prose > p:first-child {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.85;
}

.prose p {
  margin: 0 0 22px;
}

.prose h2 {
  margin: 54px 0 18px;
  color: var(--ink);
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.prose h3 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 9px;
  margin: 0 0 24px;
  padding-left: 1.4em;
}

.prose li {
  padding-left: 4px;
}

.prose li::marker {
  color: var(--blue);
}

.prose blockquote {
  margin: 30px 0;
  padding: 22px 26px;
  color: var(--ink-soft);
  background: var(--ice);
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
  font-size: 16px;
  line-height: 1.85;
}

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

.prose code {
  padding: 2px 6px;
  color: var(--blue-deep);
  background: var(--ice);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 0.86em;
}

.prose pre {
  margin: 24px 0;
  padding: 20px;
  overflow-x: auto;
  color: #d9e3ff;
  background: var(--ink);
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
}

.prose pre code {
  padding: 0;
  color: inherit;
  background: transparent;
}

.prose table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.65;
}

.prose th,
.prose td {
  padding: 12px 13px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.prose th {
  color: var(--muted);
  background: #f7f9ff;
  font-size: 11px;
  font-weight: 700;
}

.prose td:first-child {
  color: var(--ink);
  font-weight: 600;
}

.prose .table-wrap {
  margin: 24px 0;
}

.prose .table-wrap table {
  margin: 0;
}

.prose hr {
  margin: 38px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-aside {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 16px;
}

.aside-box {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.aside-box h3 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
}

.aside-toc {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

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

.aside-note {
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.7;
}

.article-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-end p {
  margin: 0;
  color: var(--muted-2);
  font-size: 11px;
}

.related-posts {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.related-posts h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.related-link {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.related-link:hover {
  border-color: var(--blue);
}

/* ---------- sitemap ---------- */
.sitemap-groups {
  display: grid;
  gap: 18px;
}

.sitemap-group {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 30px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sitemap-group h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sitemap-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 20px;
}

.sitemap-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid #edf1fa;
  font-size: 13px;
}

.sitemap-links a:hover {
  color: var(--blue);
}

.sitemap-links a span {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
}

/* ---------- 404 ---------- */
.error-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 76px - 230px);
  padding: 90px 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(111, 149, 255, 0.22), transparent 34%),
    var(--ice);
  text-align: center;
}

.error-code {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 68px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.08em;
}

.error-page h1 {
  margin: 22px 0 0;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.error-page p {
  max-width: 480px;
  margin: 15px auto 0;
  color: var(--muted);
  font-size: 15px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

/* ---------- footer ---------- */
.site-footer {
  color: rgba(255, 255, 255, 0.58);
  background: var(--ink);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 32px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 12px;
}

.footer-nav a:hover {
  color: var(--lime);
}

.footer-bottom {
  padding: 15px 0 24px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .main-nav > a {
    padding-inline: 9px;
    font-size: 13px;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 26px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone-frame {
    width: 245px;
    right: 0;
  }

  .visual-board {
    width: 330px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 40px;
  }

  .airport-list .airport-card {
    grid-template-columns: minmax(0, 1fr) 128px;
  }
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .header-rank {
    display: inline-flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: block;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 58px;
    padding-bottom: 52px;
  }

  .hero h1 {
    max-width: 720px;
  }

  .hero-visual {
    width: min(100%, 600px);
    min-height: 510px;
    margin-inline: auto;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .feature-bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .feature-card {
    grid-column: span 3;
  }

  .feature-wide,
  .feature-mid {
    grid-column: span 6;
  }

  .feature-wide {
    min-height: 300px;
  }

  .feature-wide .feature-visual-routes {
    max-width: 480px;
  }

  .feature-card.wide-bottom {
    grid-column: span 6;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rank-feature-inner {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 64px 0;
  }

  .rank-feature h2 {
    max-width: 620px;
  }

  .section {
    padding: 74px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .section-head p {
    max-width: 600px;
  }

  .platforms {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .article-card {
    min-height: 230px;
  }

  .article-card h3 {
    margin-top: 32px;
    font-size: 22px;
  }

  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .page-hero-side {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 26px;
  }

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

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

  .rank-hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rank-hero-score {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1px 12px;
    width: 100%;
    padding: 16px 20px;
  }

  .rank-hero-score span {
    grid-column: 1;
    white-space: nowrap;
  }

  .rank-hero-score b {
    grid-column: 2;
    grid-row: 1 / span 2;
    font-size: 42px;
  }

  .rank-hero-score small {
    grid-column: 1;
    margin-left: 0;
    white-space: nowrap;
  }

  .rank-hero-meta {
    padding-bottom: 26px;
  }

  .top-picks {
    padding-bottom: 58px;
  }

  .top-picks-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .top-picks-head h2 {
    color: var(--white);
  }

  .top-picks-head p {
    margin: 0;
  }

  .top-picks-grid {
    grid-template-columns: 1fr;
  }

  .airport-list {
    grid-template-columns: 1fr;
  }

  .criteria-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .criterion {
    min-height: 190px;
  }

  .signal-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 42px;
  }

  .article-aside {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .sitemap-group {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .shell,
  .shell-narrow {
    width: min(calc(100% - 32px), var(--shell));
  }

  .topline {
    font-size: 11px;
  }

  .topline-note {
    display: none;
  }

  .topline-sep {
    display: none;
  }

  .topline-inner {
    min-height: 38px;
  }

  .header-inner {
    min-height: 64px;
    gap: 10px;
  }

  .brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-sub {
    display: none;
  }

  .header-rank {
    display: none;
  }

  .hero-shell {
    padding-top: 46px;
    padding-bottom: 44px;
  }

  .hero h1 {
    font-size: clamp(42px, 12.8vw, 62px);
    line-height: 1.04;
  }

  .hero-lede {
    margin-top: 19px;
    font-size: 16px;
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions .btn {
    flex: 1 1 180px;
  }

  .hero-meta {
    font-size: 11px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .visual-board {
    top: 56px;
    width: calc(100% - 100px);
    min-width: 282px;
    padding: 15px;
  }

  .phone-frame {
    top: 0;
    right: 0;
    width: 192px;
    padding: 7px;
    border-radius: 26px;
  }

  .phone-frame::before {
    top: 11px;
    width: 53px;
    height: 13px;
  }

  .phone-frame img {
    border-radius: 20px;
  }

  .float-chip {
    padding: 8px 11px;
    font-size: 10px;
  }

  .float-chip.chip-a {
    top: 10px;
    left: 0;
  }

  .float-chip.chip-b {
    right: 0;
    bottom: 92px;
  }

  .float-chip.chip-c {
    left: 10px;
    bottom: 30px;
  }

  .route-row {
    font-size: 9px;
  }

  .route-row .route-type {
    display: none;
  }

  .board-metrics b {
    font-size: 18px;
  }

  .section {
    padding: 58px 0;
  }

  .section-tight {
    padding: 46px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: clamp(30px, 8.8vw, 42px);
  }

  .stat-item {
    padding: 21px 16px;
  }

  .stat-item b {
    font-size: 30px;
  }

  .stat-item span {
    font-size: 11px;
  }

  .feature-bento {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-card,
  .feature-wide,
  .feature-mid,
  .feature-card.wide-bottom {
    grid-column: span 1;
    min-height: auto;
    padding: 22px;
  }

  .feature-card h3 {
    font-size: 21px;
  }

  .feature-wide h3 {
    font-size: 28px;
  }

  .feature-wide .feature-visual-routes {
    margin-top: 24px;
  }

  .download-lines {
    grid-template-columns: 1fr;
  }

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

  .platform-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2px 14px;
    align-items: center;
    padding: 18px;
  }

  .platform-icon {
    grid-row: span 3;
  }

  .platform-card p {
    grid-column: 2;
  }

  .platform-card .text-link {
    grid-column: 2;
    margin-top: 4px;
  }

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

  .step {
    padding: 24px 0;
  }

  .step + .step {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .step::before {
    margin-bottom: 12px;
  }

  .mini-rank {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 13px;
  }

  .mini-rank .airport-cta {
    min-width: 72px;
    padding-inline: 9px;
    font-size: 11px;
  }

  .rank-feature-inner {
    padding: 52px 0;
  }

  .rank-feature h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .faq-title h2 {
    font-size: clamp(32px, 9.5vw, 44px);
  }

  .page-hero {
    padding: 40px 0 42px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 11vw, 58px);
  }

  .page-hero .lede {
    font-size: 15px;
  }

  .breadcrumbs {
    margin-bottom: 20px;
    font-size: 11px;
  }

  .page-hero-side {
    grid-template-columns: 1fr;
  }

  .download-card {
    padding: 22px;
  }

  .download-card h3 {
    font-size: 22px;
  }

  .install-card {
    padding: 22px;
  }

  .github-strip {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .github-strip .btn {
    width: 100%;
  }

  .rank-hero {
    padding-top: 40px;
  }

  .rank-hero h1 {
    font-size: clamp(48px, 15vw, 74px);
  }

  .rank-hero .lede {
    font-size: 15px;
  }

  .rank-hero-score {
    width: 100%;
  }

  .top-picks {
    padding-top: 36px;
  }

  .top-picks-head h2 {
    font-size: 32px;
  }

  .airport-card {
    padding: 20px;
  }

  .airport-list .airport-card {
    display: flex;
    padding: 20px;
  }

  .airport-list .price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 14px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
  }

  .airport-list .airport-card .airport-cta {
    margin-top: 0;
  }

  .rank-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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

  .criterion {
    min-height: auto;
    padding: 20px;
  }

  .criterion h3 {
    margin-top: 22px;
  }

  .signal-list {
    grid-template-columns: 1fr;
  }

  .data-table th,
  .data-table td {
    padding: 12px 13px;
  }

  .article-index-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 22px;
  }

  .article-index-arrow {
    display: none;
  }

  .article-index-body h2 {
    font-size: 21px;
  }

  .article-page-hero {
    padding: 38px 0 32px;
  }

  .article-page-hero h1 {
    font-size: clamp(34px, 10.5vw, 50px);
  }

  .article-deck {
    font-size: 15px;
  }

  .article-meta {
    gap: 6px 12px;
    font-size: 10px;
  }

  .article-meta span + span::before {
    margin-right: 12px;
  }

  .article-layout {
    padding: 34px 0 64px;
  }

  .prose {
    font-size: 16px;
    line-height: 1.9;
  }

  .prose > p:first-child {
    font-size: 17px;
  }

  .prose h2 {
    margin-top: 40px;
    font-size: 26px;
  }

  .prose h3 {
    font-size: 19px;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }

  .article-aside .aside-box:first-child {
    display: none;
  }

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

  .sitemap-links {
    grid-template-columns: 1fr;
  }

  .error-code {
    font-size: 54px;
  }

  .error-page h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 0;
  }

  .footer-nav {
    gap: 8px 16px;
  }
}

@media (max-width: 420px) {
  .hero-visual {
    min-height: 400px;
  }

  .visual-board {
    width: calc(100% - 80px);
    min-width: 258px;
  }

  .phone-frame {
    width: 170px;
  }

  .float-chip.chip-b {
    bottom: 74px;
  }

  .float-chip.chip-c {
    bottom: 18px;
  }

  .mini-rank {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 11px;
  }

  .mini-rank h3 {
    font-size: 14px;
  }

  .mini-rank .airport-cta {
    min-width: 66px;
    font-size: 10px;
  }

  .rank-hero h1 {
    font-size: clamp(44px, 15vw, 64px);
  }

  .airport-card h3 {
    font-size: 20px;
  }

  .airport-score b {
    font-size: 21px;
  }

  .topline a {
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
