/* Neko for OpenWrt — static site styles */
:root {
  --ink: #101b20;
  --ink-soft: #1a2a30;
  --ink-dim: #51605f;
  --paper: #f3eee2;
  --paper-2: #fbf8f0;
  --white: #fffdf7;
  --blue: #2f62f4;
  --blue-deep: #173777;
  --mint: #b8f3d1;
  --mint-deep: #43b984;
  --coral: #f36a4f;
  --coral-deep: #d94e34;
  --line: rgba(16, 27, 32, 0.14);
  --line-dark: rgba(255, 253, 247, 0.16);
  --shadow: 0 24px 70px rgba(16, 27, 32, 0.12);
  --radius: 22px;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Liberation Mono", "Courier New", monospace;
  --shell: min(1180px, calc(100% - 48px));
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

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

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--mint); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.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;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}
.skip-link:focus { transform: none; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.topline {
  background: var(--coral);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.topline-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topline-note { opacity: 0.78; }
.topline a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-bottom: 1px solid rgba(16, 27, 32, 0.38);
}
.topline a:hover { border-bottom-color: var(--ink); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(243, 238, 226, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(16, 27, 32, 0.07);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  padding: 4px;
  border: 1px solid rgba(16, 27, 32, 0.16);
  border-radius: 13px;
  background: var(--white);
  box-shadow: 0 5px 14px rgba(16, 27, 32, 0.08);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.18; }
.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: -0.015em;
}
.brand-copy small {
  margin-top: 4px;
  color: var(--ink-dim);
  font-size: 0.69rem;
  letter-spacing: 0.04em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 560;
}
.main-nav a {
  position: relative;
  padding: 8px 0;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a:not(.nav-rank)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  background: var(--ink);
  transition: right 180ms ease;
}
.main-nav a:not(.nav-rank):hover::after,
.main-nav a:not(.nav-rank)[aria-current="page"]::after { right: 0; }
.main-nav .nav-rank {
  margin-left: 2px;
  padding: 9px 15px;
  border: 1px solid rgba(16, 27, 32, 0.2);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 720;
}
.main-nav .nav-rank:hover {
  border-color: var(--coral);
  background: var(--coral);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  padding: 20px;
  background: rgba(16, 27, 32, 0.55);
  backdrop-filter: blur(8px);
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer-panel {
  width: min(420px, 100%);
  max-height: calc(100vh - 40px);
  margin-left: auto;
  overflow: auto;
  padding: 24px;
  border-radius: 20px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.mobile-drawer-head strong { font-family: var(--serif); font-size: 1.35rem; }
.drawer-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}
.mobile-nav { display: grid; gap: 4px; }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 620;
}
.mobile-nav a.is-rank { color: var(--coral-deep); }
.mobile-drawer .btn { margin-top: 20px; width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 720;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: #2454e0; }
.btn--coral { background: var(--coral); color: var(--ink); }
.btn--coral:hover { background: #ff8169; }
.btn--light { background: var(--paper-2); color: var(--ink); }
.btn--mint { background: var(--mint); color: var(--ink); }
.btn--mint:hover { background: #d0f9e2; }
.btn--outline {
  background: transparent;
  border-color: rgba(255, 253, 247, 0.36);
  color: var(--white);
}
.btn--outline:hover { border-color: var(--white); background: rgba(255, 253, 247, 0.08); }
.btn--outline-dark { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--outline-dark:hover { border-color: var(--ink); background: rgba(16, 27, 32, 0.04); }
.btn--sm { min-height: 40px; padding: 8px 15px; border-radius: 9px; font-size: 0.8rem; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* Typographic helpers */
.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); }
.muted { color: var(--ink-dim); }
.nowrap { white-space: nowrap; }

/* Header on ink sections */
.site-header--on-ink { background: rgba(16, 27, 32, 0.9); border-bottom-color: var(--line-dark); }
.site-header--on-ink .brand-copy strong { color: var(--white); }
.site-header--on-ink .brand-copy small { color: rgba(255, 253, 247, 0.6); }
.site-header--on-ink .brand-mark { border-color: var(--line-dark); background: rgba(255, 253, 247, 0.06); }
.site-header--on-ink .main-nav a { color: rgba(255, 253, 247, 0.76); }
.site-header--on-ink .main-nav a:hover { color: var(--white); }
.site-header--on-ink .main-nav .nav-rank { background: transparent; color: var(--white); border-color: rgba(255, 253, 247, 0.3); }
.site-header--on-ink .main-nav .nav-rank:hover { border-color: var(--coral); background: var(--coral); color: var(--ink); }
.site-header--on-ink .menu-toggle { border-color: var(--line-dark); }
.site-header--on-ink .menu-toggle span,
.site-header--on-ink .menu-toggle::before,
.site-header--on-ink .menu-toggle::after { background: var(--white); }

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 76px;
  background:
    radial-gradient(circle at 12% 8%, rgba(47, 98, 244, 0.35), transparent 31%),
    radial-gradient(circle at 88% 86%, rgba(243, 106, 79, 0.18), transparent 30%),
    var(--ink);
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 253, 247, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 247, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.hero h1 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.8vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
}
.h1-brand {
  display: block;
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 0.72em;
  font-weight: 720;
  letter-spacing: -0.035em;
  color: var(--mint);
}
.h1-line { display: block; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero-lead {
  max-width: 640px;
  margin: 0 0 32px;
  color: rgba(255, 253, 247, 0.74);
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  line-height: 1.85;
}
.hero-lead strong { color: var(--white); font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 253, 247, 0.64);
  font-size: 0.8rem;
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
}

.hero-art { position: relative; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 8% -4% -6% 6%;
  border: 1px solid rgba(255, 253, 247, 0.13);
  border-radius: 32px;
  transform: rotate(3.5deg);
}
.router {
  position: relative;
  z-index: 1;
  overflow: visible;
  border: 1px solid rgba(255, 253, 247, 0.22);
  border-radius: 22px;
  background: #17262c;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.38);
}
.router::before,
.router::after {
  content: "";
  position: absolute;
  top: -36px;
  width: 72px;
  height: 52px;
  background: #17262c;
  border-top: 1px solid rgba(255, 253, 247, 0.22);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.router::before { left: 12%; transform: rotate(-8deg); }
.router::after { right: 12%; transform: rotate(8deg); }
.router-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 253, 247, 0.1);
  color: rgba(255, 253, 247, 0.6);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.status-live { display: inline-flex; align-items: center; gap: 7px; color: var(--mint); }
.status-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(184, 243, 209, 0.1);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.86); }
}
.router-screen { padding: 26px 22px 22px; }
.router-logo-row { display: flex; align-items: center; gap: 14px; }
.router-logo {
  width: 76px;
  height: 76px;
  padding: 7px;
  border: 1px solid rgba(255, 253, 247, 0.15);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.05);
}
.router-logo img { width: 100%; height: 100%; object-fit: contain; }
.router-core { display: grid; gap: 2px; }
.router-core span { color: rgba(255, 253, 247, 0.52); font-size: 0.68rem; }
.router-core strong { color: var(--white); font-size: 1.08rem; letter-spacing: -0.01em; }
.router-state {
  display: inline-flex;
  margin-left: auto;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(184, 243, 209, 0.22);
  border-radius: 999px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.06em;
}
.router-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 76px;
  margin: 24px 0 18px;
  padding: 10px 0 0;
  border-bottom: 1px solid rgba(255, 253, 247, 0.1);
}
.router-chart i {
  flex: 1;
  min-width: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(47, 98, 244, 0.45), var(--blue));
  opacity: 0.86;
}
.router-chart i:nth-child(3n) { background: linear-gradient(to top, rgba(243, 106, 79, 0.35), var(--coral)); }
.router-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.router-metrics div {
  padding: 10px;
  border: 1px solid rgba(255, 253, 247, 0.09);
  border-radius: 10px;
  background: rgba(255, 253, 247, 0.035);
}
.router-metrics span { display: block; color: rgba(255, 253, 247, 0.45); font-size: 0.61rem; }
.router-metrics strong { display: block; margin-top: 3px; color: var(--white); font-family: var(--mono); font-size: 0.79rem; font-weight: 500; }
.router-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 253, 247, 0.1);
  color: rgba(255, 253, 247, 0.4);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}
.hero-float {
  position: static;
  z-index: 2;
  display: flex;
  width: fit-content;
  margin: 16px 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(16, 27, 32, 0.1);
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-size: 0.7rem;
  font-weight: 700;
}

/* fact rail */
.fact-rail { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.fact {
  padding: 24px 26px;
  border-left: 1px solid var(--line);
}
.fact:first-child { border-left: 0; }
.fact b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.fact span { display: block; margin-top: 7px; color: var(--ink-dim); font-size: 0.75rem; }

/* Sections */
.section { padding: 96px 0; }
[id] { scroll-margin-top: 96px; }
.section--tight { padding: 64px 0; }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--white); }
.section--blue { background: var(--blue-deep); color: var(--white); }
.section--line { border-top: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.6fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 46px;
}
.section-head h2 { max-width: 700px; }
.section-head p { margin: 0; color: var(--ink-dim); font-size: 0.98rem; line-height: 1.85; }
.section--ink .section-head p,
.section--blue .section-head p { color: rgba(255, 253, 247, 0.64); }
h1, h2, h3 { text-wrap: balance; }

h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.1vw, 3.45rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.1;
}
h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.section-head h2 em,
h2 em { font-style: normal; color: var(--coral-deep); }
.section--ink h2 em,
.section--blue h2 em { color: var(--mint); }

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  position: relative;
  min-height: 280px;
  padding: 30px 28px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.feature-card:nth-child(2) { background: #eaf0ff; }
.feature-card:nth-child(3) { background: #fff0e8; }
.feature-num {
  position: absolute;
  right: 26px;
  bottom: 22px;
  color: rgba(16, 27, 32, 0.2);
  font-family: var(--mono);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}
.feature-card h3 { margin-bottom: 14px; }
.feature-card p { margin: 0; color: var(--ink-dim); font-size: 0.9rem; line-height: 1.85; }
.feature-mark {
  position: absolute;
  right: -8px;
  bottom: -30px;
  color: rgba(16, 27, 32, 0.06);
  font-family: var(--serif);
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1;
  user-select: none;
}

/* Limits / pull quote */
.limits-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: start;
}
.pullquote {
  margin: 0;
  padding: 38px 0 10px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3.2vw, 2.65rem);
  line-height: 1.36;
  letter-spacing: -0.04em;
}
.pullquote span { color: var(--mint); }
.pullquote cite {
  display: block;
  margin-top: 24px;
  color: rgba(255, 253, 247, 0.45);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.04em;
}
.limit-list { display: grid; gap: 0; }
.limit-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
}
.limit-row:last-child { border-bottom: 1px solid var(--line-dark); }
.limit-row b { color: var(--coral); font-family: var(--mono); font-size: 0.72rem; font-weight: 500; }
.limit-row h3 { font-family: var(--sans); font-size: 1rem; letter-spacing: 0; color: var(--white); }
.limit-row p { margin: 7px 0 0; color: rgba(255, 253, 247, 0.58); font-size: 0.86rem; line-height: 1.75; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step {
  padding: 30px 30px 32px;
  border-left: 1px solid var(--line);
}
.step:first-child { border-left: 0; }
.step-no {
  color: var(--coral-deep);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.step h3 { margin: 28px 0 11px; font-size: 1.35rem; }
.step p { margin: 0; color: var(--ink-dim); font-size: 0.88rem; line-height: 1.8; }

/* Code */
.code-block {
  position: relative;
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #121f24;
  color: #e8f4ea;
  overflow: hidden;
}
.code-block pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.8;
  tab-size: 2;
}
.code-block code { font-family: inherit; }
.code-block .copy-code {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 253, 247, 0.2);
  border-radius: 6px;
  background: rgba(255, 253, 247, 0.06);
  color: rgba(255, 253, 247, 0.74);
  font-family: var(--sans);
  font-size: 0.66rem;
  cursor: pointer;
}
.code-block .copy-code:hover { background: rgba(255, 253, 247, 0.14); color: var(--white); }

/* Airport ranking band */
.rank-band {
  position: relative;
  overflow: hidden;
  background: var(--blue-deep);
  color: var(--white);
}
.rank-band::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -210px;
  top: -260px;
  border: 1px solid rgba(184, 243, 209, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(184, 243, 209, 0.035), 0 0 0 140px rgba(184, 243, 209, 0.025);
  pointer-events: none;
}
.rank-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: 60px;
  align-items: center;
  padding: 72px 0;
}
.rank-band h2 { max-width: 620px; }
.rank-band p { max-width: 620px; margin: 20px 0 30px; color: rgba(255, 253, 247, 0.68); font-size: 0.98rem; line-height: 1.85; }
.rank-band .btn { margin-right: 10px; }
.rank-index {
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
}
.rank-index:last-child { border-bottom: 1px solid var(--line-dark); }
.rank-index div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.rank-index span { color: rgba(255, 253, 247, 0.58); font-size: 0.76rem; }
.rank-index strong { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; letter-spacing: -0.02em; }
.rank-index p { margin: 6px 0 0; color: rgba(255, 253, 247, 0.6); font-size: 0.78rem; line-height: 1.6; }

/* Article cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 27, 32, 0.28);
  box-shadow: 0 18px 40px rgba(16, 27, 32, 0.07);
}
.article-card:nth-child(4n + 2) { background: #eef4ff; }
.article-card:nth-child(4n + 3) { background: #fff1ea; }
.article-card h3 { max-width: 440px; margin-bottom: 14px; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.article-card p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.88rem;
  line-height: 1.8;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 26px;
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 0.67rem;
}
.article-arrow {
  position: absolute;
  right: 28px;
  bottom: 26px;
  color: var(--coral-deep);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
}
.article-link { display: flex; flex: 1; flex-direction: column; text-decoration: none; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details {
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.55;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--coral-deep);
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list .faq-answer {
  max-width: 820px;
  padding: 0 0 24px;
  color: var(--ink-dim);
  font-size: 0.9rem;
  line-height: 1.85;
}
.faq-list .faq-answer p { margin: 0; }
.faq-list .faq-answer p + p { margin-top: 10px; }

/* Closing CTA */
.closing {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background: var(--ink);
  color: var(--white);
}
.closing::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 50%;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(184, 243, 209, 0.2);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 45px rgba(184, 243, 209, 0.035), 0 0 0 90px rgba(184, 243, 209, 0.025);
  pointer-events: none;
}
.closing-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.closing h2 { max-width: 700px; font-size: clamp(2rem, 4vw, 3.2rem); }
.closing p { max-width: 600px; margin: 14px 0 0; color: rgba(255, 253, 247, 0.6); font-size: 0.92rem; }

/* Footer */
.site-footer {
  padding: 38px 0 28px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.footer-brand img { width: 30px; height: 30px; object-fit: contain; }
.footer-brand strong { font-size: 0.92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.8rem; }
.footer-nav a { text-decoration: none; color: var(--ink-dim); }
.footer-nav a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  color: var(--ink-dim);
  font-size: 0.7rem;
}
.footer-bottom span:last-child { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.02em; }

/* Generic page hero */
.page-hero {
  padding: 66px 0 64px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.page-hero--ink {
  background:
    radial-gradient(circle at 90% 14%, rgba(47, 98, 244, 0.25), transparent 32%),
    var(--ink);
  color: var(--white);
  border-bottom-color: var(--line-dark);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 32px;
  color: var(--ink-dim);
  font-size: 0.73rem;
}
.page-hero--ink .breadcrumb { color: rgba(255, 253, 247, 0.48); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: 0.45; }
.page-hero h1 {
  max-width: 930px;
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 5.6vw, 4.35rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.05;
}
.page-hero h1 em { font-style: normal; color: var(--coral-deep); }
.page-hero--ink h1 em { color: var(--mint); }
.page-dek {
  max-width: 720px;
  margin: 0;
  color: var(--ink-dim);
  font-size: 1rem;
  line-height: 1.9;
}
.page-hero--ink .page-dek { color: rgba(255, 253, 247, 0.66); }
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 28px;
  color: var(--ink-dim);
  font-size: 0.76rem;
}
.page-hero--ink .page-meta { color: rgba(255, 253, 247, 0.62); }
.page-meta b { color: var(--ink); font-weight: 600; }
.page-hero--ink .page-meta b { color: var(--white); }

/* Download */
.download-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.65fr);
  gap: 60px;
  align-items: center;
}
.plugin-card {
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.055);
}
.plugin-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 253, 247, 0.12);
}
.plugin-card-head img {
  width: 44px;
  height: 44px;
  padding: 4px;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.07);
}
.plugin-card-head strong { display: block; font-size: 0.92rem; }
.plugin-card-head span { display: block; color: rgba(255, 253, 247, 0.5); font-size: 0.7rem; }
.plugin-card-body { padding: 20px; }
.plugin-card-body .file-name {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.65;
  word-break: break-all;
  color: var(--mint);
}
.plugin-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.plugin-facts div { padding: 10px; border: 1px solid rgba(255, 253, 247, 0.1); border-radius: 9px; }
.plugin-facts span { display: block; color: rgba(255, 253, 247, 0.44); font-size: 0.63rem; }
.plugin-facts b { display: block; margin-top: 3px; color: var(--white); font-size: 0.78rem; font-weight: 600; }
.plugin-fallback { margin: 13px 0 0; font-size: 0.7rem; color: rgba(255, 253, 247, 0.62); }
.plugin-fallback a { color: rgba(255, 253, 247, 0.8); }

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 50px;
  align-items: start;
}
.download-main { min-width: 0; }
.download-side {
  position: sticky;
  top: 104px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}
.download-side h2 { margin: 0 0 8px; font-size: 1.35rem; }
.download-side p { margin: 0 0 18px; color: var(--ink-dim); font-size: 0.79rem; line-height: 1.7; }
.mini-facts { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.mini-facts li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.73rem; }
.mini-facts li span { color: var(--ink-dim); }
.mini-facts li b { font-family: var(--mono); font-weight: 500; text-align: right; }

.content-block { margin-top: 46px; }
.content-block h2 { margin-bottom: 18px; font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.content-block > p { max-width: 760px; margin: 0 0 18px; color: var(--ink-dim); font-size: 0.92rem; line-height: 1.9; }
.content-block > p a { color: var(--ink); text-decoration-color: rgba(16, 27, 32, 0.28); text-underline-offset: 3px; }
.note {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--coral);
  background: #fff1ea;
  border-radius: 0 10px 10px 0;
  color: #5b3b2d;
  font-size: 0.84rem;
  line-height: 1.8;
}
.note strong { color: #3e2318; }
.check-list { display: grid; gap: 0; margin: 20px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.check-list li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); color: var(--ink-dim); font-size: 0.88rem; line-height: 1.8; }
.check-list li::before { content: "—"; position: absolute; left: 0; color: var(--coral-deep); }
.check-list b { color: var(--ink); font-weight: 650; }

.table-wrap {
  margin: 26px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.8rem;
}
th, td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  background: #ede7d9;
  color: var(--ink);
  font-weight: 650;
  white-space: nowrap;
}
tr:last-child td { border-bottom: 0; }
td code { font-family: var(--mono); font-size: 0.74rem; }
.table-wrap a { color: var(--blue-deep); text-underline-offset: 3px; }
.table-note { margin: 8px 0 0; color: var(--ink-dim); font-size: 0.7rem; }

/* Ranking */
.ranking-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 58px;
  background:
    radial-gradient(circle at 94% 15%, rgba(243, 106, 79, 0.22), transparent 28%),
    var(--ink);
  color: var(--white);
}
.ranking-hero .breadcrumb { color: rgba(255, 253, 247, 0.48); }
.ranking-hero h1 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 4.65rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1;
}
.ranking-hero h1 em { font-style: normal; color: var(--coral); }
.ranking-hero .page-dek { color: rgba(255, 253, 247, 0.7); }
.ranking-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.ranking-stats div { padding: 20px 22px; border-left: 1px solid var(--line-dark); }
.ranking-stats div:first-child { border-left: 0; }
.ranking-stats b { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1; letter-spacing: -0.04em; color: var(--mint); }
.ranking-stats span { display: block; margin-top: 7px; color: rgba(255, 253, 247, 0.6); font-size: 0.72rem; }
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.criterion {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.criterion b { display: block; color: var(--coral-deep); font-family: var(--mono); font-size: 0.68rem; font-weight: 500; }
.criterion h3 { margin: 16px 0 8px; font-size: 1.08rem; letter-spacing: -0.01em; }
.criterion p { margin: 0; color: var(--ink-dim); font-size: 0.78rem; line-height: 1.72; }

.featured-airport {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  padding: 36px;
  border: 1px solid rgba(47, 98, 244, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 93% 13%, rgba(184, 243, 209, 0.6), transparent 32%),
    #eaf0ff;
}
.featured-airport::before {
  content: "01";
  position: absolute;
  right: 24px;
  top: -18px;
  color: rgba(47, 98, 244, 0.08);
  font-family: var(--serif);
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
.featured-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.64rem;
  font-weight: 650;
  line-height: 1.2;
}
.badge--coral { background: var(--coral); color: var(--ink); }
.badge--mint { background: var(--mint); color: var(--ink); }
.badge--outline { border: 1px solid var(--line); background: transparent; color: var(--ink-dim); }
.featured-airport h2 { margin: 0; font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.featured-airport .airport-desc { max-width: 630px; margin: 12px 0 20px; color: #405055; font-size: 0.9rem; line-height: 1.85; }
.airport-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.airport-tags li { padding: 5px 9px; border: 1px solid rgba(16, 27, 32, 0.15); border-radius: 999px; background: rgba(255, 253, 247, 0.48); font-size: 0.68rem; }
.featured-side {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding-left: 32px;
  border-left: 1px solid rgba(16, 27, 32, 0.14);
}
.score-line { display: flex; align-items: flex-end; gap: 10px; }
.score-line b { font-family: var(--serif); font-size: 4.3rem; line-height: 0.9; letter-spacing: -0.06em; }
.score-line span { padding-bottom: 5px; color: var(--ink-dim); font-size: 0.68rem; }
.featured-side .spec-mini { display: grid; gap: 7px; color: var(--ink-dim); font-size: 0.73rem; }
.featured-side .spec-mini div { display: flex; justify-content: space-between; gap: 12px; }
.featured-side .spec-mini b { color: var(--ink); font-weight: 600; }
.airport-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}
.airport-cta:hover { background: var(--blue); }
.airport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.airport-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}
.airport-card:nth-child(3n + 2) { background: #f4f7ff; }
.airport-card:nth-child(3n) { background: #fff3ed; }
.airport-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.rank-badge { color: var(--coral-deep); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; }
.airport-score { color: var(--ink); font-family: var(--serif); font-size: 1.8rem; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.airport-card h3 { margin: 24px 0 8px; font-size: 1.55rem; }
.airport-card .airport-desc { flex: 1; margin: 0 0 16px; color: var(--ink-dim); font-size: 0.8rem; line-height: 1.72; }
.airport-card .airport-tags { margin-bottom: 18px; }
.airport-card .spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 18px; }
.airport-card .spec-grid div { padding: 8px 9px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 253, 247, 0.48); }
.airport-card .spec-grid span { display: block; color: var(--ink-dim); font-size: 0.61rem; }
.airport-card .spec-grid b { display: block; margin-top: 2px; font-family: var(--mono); font-size: 0.72rem; font-weight: 500; }
.airport-cta--table {
  min-height: 34px;
  padding: 6px 12px;
  width: auto;
  white-space: nowrap;
  font-size: 0.7rem;
}
.airport-table th:last-child,
.airport-table td:last-child { width: 108px; }

.risk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.risk-item { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2); }
.risk-item b { color: var(--coral-deep); font-family: var(--mono); font-size: 0.68rem; font-weight: 500; }
.risk-item h3 { margin: 12px 0 7px; font-size: 1.02rem; }
.risk-item p { margin: 0; color: var(--ink-dim); font-size: 0.78rem; line-height: 1.75; }
.ranking-note { max-width: 800px; margin: 30px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-dim); font-size: 0.72rem; line-height: 1.75; }

/* Article */
.article-hero { padding: 62px 0 54px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.article-hero h1 {
  max-width: 950px;
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.13;
}
.article-dek { max-width: 800px; margin: 0; color: var(--ink-dim); font-size: 1.03rem; line-height: 1.9; }
.article-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 0.68rem;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 290px;
  gap: 64px;
  align-items: start;
  padding: 62px 0 90px;
}
.article-body { min-width: 0; font-size: 0.98rem; line-height: 1.95; }
.article-body > p:first-of-type { font-size: 1.08rem; color: #283a3f; }
.article-body p { margin: 0 0 20px; }
.article-body h2 {
  margin: 44px 0 16px;
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  letter-spacing: -0.035em;
}
.article-body h3 { margin: 30px 0 12px; font-size: 1.25rem; letter-spacing: -0.02em; }
.article-body ul,
.article-body ol { margin: 0 0 22px; padding-left: 22px; }
.article-body li { margin: 7px 0; }
.article-body li::marker { color: var(--coral-deep); }
.article-body strong { font-weight: 700; }
.article-body a { color: var(--blue-deep); text-underline-offset: 3px; }
.article-body blockquote {
  margin: 30px 0;
  padding: 22px 26px;
  border-left: 3px solid var(--coral);
  background: #fff1ea;
  border-radius: 0 12px 12px 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.75;
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body .code-block { margin: 24px 0; }
.article-body .table-wrap { margin: 26px 0; }
.article-body .note { margin: 24px 0; }
.article-body hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line); }
.article-aside { position: sticky; top: 104px; display: grid; gap: 16px; }
.toc {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
}
.toc strong { display: block; margin-bottom: 10px; font-size: 0.78rem; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; margin: 0; border-top: 1px solid var(--line); }
.toc li:first-child { border-top: 0; }
.toc a { display: flex; gap: 9px; padding: 8px 0; text-decoration: none; color: var(--ink-dim); font-size: 0.75rem; line-height: 1.5; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--coral-deep); font-family: var(--mono); font-size: 0.64rem; }
.toc a:hover { color: var(--ink); }
.aside-rank {
  padding: 22px;
  border-radius: 16px;
  background: var(--blue-deep);
  color: var(--white);
}
.aside-rank strong { display: block; font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; }
.aside-rank p { margin: 10px 0 16px; color: rgba(255, 253, 247, 0.62); font-size: 0.75rem; line-height: 1.65; }
.aside-rank .btn { width: 100%; }
.article-related { padding: 0 0 90px; }
.related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; padding-top: 30px; border-top: 1px solid var(--line); }
.related-head h2 { font-size: 1.6rem; }
.related-head a { font-size: 0.76rem; color: var(--ink-dim); text-underline-offset: 3px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); text-decoration: none; }
.related-card:hover { border-color: var(--ink); }
.related-card span { color: var(--coral-deep); font-family: var(--mono); font-size: 0.63rem; }
.related-card strong { display: block; margin-top: 10px; font-family: var(--serif); font-size: 1.1rem; line-height: 1.45; }
.related-card p { margin: 8px 0 0; color: var(--ink-dim); font-size: 0.75rem; line-height: 1.6; }

/* Sitemap */
.sitemap-intro { max-width: 760px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sitemap-group { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.sitemap-group h2 { margin-bottom: 12px; font-size: 1.5rem; }
.sitemap-group ul { margin: 0; padding: 0; list-style: none; }
.sitemap-group li { border-top: 1px solid var(--line); }
.sitemap-group a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; text-decoration: none; font-size: 0.86rem; }
.sitemap-group a span { color: var(--ink-dim); font-family: var(--mono); font-size: 0.63rem; }
.sitemap-group a:hover span { color: var(--coral-deep); }

/* Reveal */
.js [data-reveal] {
  transform: translateY(14px);
  transition: transform 550ms ease;
}
.js [data-reveal].is-visible { transform: none; }
@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; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .main-nav { gap: 17px; font-size: 0.82rem; }
  .main-nav a:nth-child(3) { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr); gap: 44px; }
  .airport-grid { grid-template-columns: repeat(2, 1fr); }
  .criteria-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr 0.7fr; }
}

@media (max-width: 900px) {
  :root { --shell: min(1180px, calc(100% - 40px)); }
  .main-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .header-inner { min-height: 70px; }
  .hero { padding: 62px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-art { width: min(520px, 100%); margin-inline: auto; }
  .hero-float { right: 0; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .fact:nth-child(4) { border-top: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .feature-num { margin-bottom: 26px; }
  .limits-grid { grid-template-columns: 1fr; gap: 34px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .rank-band-inner { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 76px 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .article-grid { grid-template-columns: 1fr; }
  .download-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .download-layout { grid-template-columns: 1fr; }
  .download-side { position: static; order: -1; }
  .article-layout { grid-template-columns: 1fr; gap: 34px; }
  .article-aside { position: static; grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .featured-airport { grid-template-columns: 1fr; gap: 26px; }
  .featured-side { padding-left: 0; padding-top: 24px; border-left: 0; border-top: 1px solid rgba(16, 27, 32, 0.14); }
  .featured-side .airport-cta { width: auto; min-width: 180px; align-self: flex-start; }
  .risk-grid { grid-template-columns: 1fr 1fr; }
  .closing-inner { display: block; }
  .closing .btn { margin-top: 28px; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 20px; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 32px); }
  .topline-note { display: none; }
  .topline-inner { justify-content: center; min-height: 34px; }
  .topline { font-size: 0.72rem; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 0.9rem; }
  .brand-copy small { font-size: 0.62rem; }
  .hero { padding: 50px 0 54px; }
  .hero h1 { font-size: clamp(2rem, 9.4vw, 3.4rem); margin-bottom: 22px; }
  .h1-brand { margin-bottom: 12px; }
  .hero-lead { font-size: 0.96rem; line-height: 1.8; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 8px 14px; margin-top: 24px; font-size: 0.72rem; }
  .hero-art { width: 100%; }
  .hero-art::before { display: none; }
  .router-screen { padding: 20px 16px 16px; }
  .router-logo { width: 60px; height: 60px; }
  .router-core strong { font-size: 0.94rem; }
  .router-chart { height: 64px; margin: 18px 0 14px; }
  .router-metrics { gap: 6px; }
  .router-metrics div { padding: 8px; }
  .router-metrics strong { font-size: 0.69rem; }
  .hero-float { margin: 12px auto 0; font-size: 0.62rem; padding: 7px 10px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 18px 16px; }
  .fact b { font-size: 1.85rem; }
  .section { padding: 58px 0; }
  .section--tight { padding: 46px 0; }
  h2 { font-size: clamp(1.85rem, 8.6vw, 2.55rem); }
  .section-head { margin-bottom: 30px; }
  .section-head p { font-size: 0.9rem; }
  .feature-card { padding: 24px; min-height: 0; }
  .pullquote { font-size: 1.75rem; }
  .limit-row { grid-template-columns: 34px 1fr; gap: 12px; }
  .step { padding: 24px 0; }
  .rank-band-inner { padding: 54px 0; }
  .rank-band .btn { width: 100%; margin: 0 0 10px; }
  .rank-index div { gap: 10px; }
  .article-card { padding: 23px; min-height: 0; }
  .article-card h3 { font-size: 1.35rem; }
  .article-card p { font-size: 0.84rem; }
  .article-arrow { position: static; margin-top: 18px; }
  .article-meta { padding-top: 18px; }
  .closing { padding: 60px 0; }
  .closing h2 { font-size: 2rem; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .footer-nav { gap: 8px 16px; }
  .page-hero { padding: 48px 0 46px; }
  .page-hero h1 { font-size: clamp(2.15rem, 9vw, 3.3rem); }
  .page-dek { font-size: 0.92rem; line-height: 1.82; }
  .breadcrumb { margin-bottom: 24px; }
  .ranking-hero { padding: 48px 0 44px; }
  .ranking-hero h1 { font-size: clamp(2.45rem, 10vw, 3.6rem); }
  .ranking-stats { grid-template-columns: 1fr 1fr; margin-top: 34px; }
  .ranking-stats div { border-top: 1px solid var(--line-dark); }
  .ranking-stats div:nth-child(1), .ranking-stats div:nth-child(2) { border-top: 0; }
  .ranking-stats div:nth-child(3) { border-left: 0; }
  .criteria-grid { grid-template-columns: 1fr; }
  .featured-airport { padding: 26px 22px; }
  .featured-airport .airport-desc { font-size: 0.85rem; }
  .score-line b { font-size: 3.5rem; }
  .airport-grid { grid-template-columns: 1fr; }
  .airport-card { padding: 21px; }
  .airport-card h3 { margin-top: 18px; }
  .risk-grid { grid-template-columns: 1fr; }
  .article-hero { padding: 48px 0 42px; }
  .article-hero h1 { font-size: clamp(2rem, 8.6vw, 2.9rem); }
  .article-dek { font-size: 0.95rem; }
  .article-layout { padding: 44px 0 62px; gap: 28px; }
  .article-body { font-size: 0.95rem; line-height: 1.9; }
  .article-body > p:first-of-type { font-size: 1rem; }
  .article-body h2 { margin-top: 36px; font-size: 1.6rem; }
  .article-body blockquote { padding: 18px 20px; font-size: 1.02rem; }
  .article-aside { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .plugin-card-body, .plugin-card-head { padding: 18px; }
  .plugin-facts { grid-template-columns: 1fr 1fr; }
  .footer-main { padding-bottom: 20px; }
}

@media (max-width: 400px) {
  .brand-copy small { display: none; }
  .router-metrics { grid-template-columns: 1fr 1fr; }
  .router-metrics div:last-child { display: none; }
  .score-line b { font-size: 3.2rem; }
  .airport-card .spec-grid { grid-template-columns: 1fr; }
}

/* Ranking card refinements */
.airport-card-top h3 { margin: 0; }
.airport-card-top { align-items: baseline; }
.airport-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 6px 0 12px;
  color: var(--ink-dim);
  font-size: 0.7rem;
}
.airport-meta-line .rank-badge { color: var(--coral-deep); }

.table-scroll-hint { display: none; }
@media (max-width: 680px) {
  .table-scroll-hint { display: block; }
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
