/* ClashMac site — warm paper, instrument ink, route-map acid */
:root {
  --paper: #f2efe6;
  --paper-2: #e9e5da;
  --paper-3: #faf8f1;
  --ink: #121514;
  --ink-2: #333733;
  --muted: #6c6f68;
  --line: rgba(18, 21, 20, .17);
  --line-strong: rgba(18, 21, 20, .42);
  --acid: #d9ff43;
  --acid-2: #c4f000;
  --blue: #2c4bff;
  --blue-2: #1b33d8;
  --coral: #ff6548;
  --white: #fffefa;
  --black: #0b0e0d;
  --sans: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  --mono: "SFMono-Regular", "SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
  --fs-hero: clamp(46px, 7.2vw, 76px);
  --fs-page: clamp(40px, 6.2vw, 66px);
  --fs-h2: clamp(34px, 5vw, 56px);
  --fs-h3: clamp(23px, 2.4vw, 30px);
  --fs-stat: clamp(40px, 5vw, 64px);
  --fs-lead: clamp(17px, 1.55vw, 20px);
  --shadow-hard: 6px 6px 0 var(--ink);
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 104px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
::selection { background: var(--acid); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 700; }
em { font-style: normal; }
code, pre, kbd { font-family: var(--mono); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.shell { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 12px 18px;
  font-size: 13px; letter-spacing: .04em; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- shared chrome ---------- */
.utility {
  background: var(--ink); color: #deddd4;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
}
.utility-inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 20px; }
.utility-left, .utility-right { display: flex; align-items: center; gap: 12px; }
.utility-left b { color: var(--acid); font-weight: 600; }
.utility-sep { opacity: .35; }
.utility-note { color: #8e9188; }
.utility-rank {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); background: var(--acid);
  min-height: 24px; padding: 2px 10px;
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0;
  transition: background .18s ease;
}
.utility-rank:hover { background: var(--white); }
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink);
  display: inline-block; position: relative;
}
.live-dot::after {
  content: ""; position: absolute; inset: -4px; border: 1px solid currentColor;
  border-radius: 50%; opacity: .5; animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.45); opacity: .7; } 80%,100% { transform: scale(1.6); opacity: 0; } }

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242, 239, 230, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-head.is-scrolled { box-shadow: 0 10px 30px rgba(18,21,20,.06); }
.head-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
  width: 39px; height: 39px; display: block; border: 1.5px solid var(--ink);
  border-radius: 7px; overflow: hidden; background: var(--acid);
  box-shadow: 2px 2px 0 var(--ink);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word strong { font-size: 21px; font-weight: 800; letter-spacing: -.04em; }
.brand-word small { margin-top: 5px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 15px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  border: 1px solid transparent; transition: background .18s ease, border-color .18s ease;
}
.nav a:hover { background: rgba(18,21,20,.05); border-color: var(--line); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink);
  margin-left: 7px;
}
.nav .nav-rank {
  border: 1.5px solid var(--ink); background: var(--acid); padding-inline: 16px;
  margin-left: 8px; box-shadow: 2px 2px 0 var(--ink);
}
.nav .nav-rank:hover { background: var(--white); border-color: var(--ink); }
.nav .nav-rank::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink);
  margin-right: 7px;
}
.head-act { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.menu-toggle {
  display: none; width: 42px; height: 42px; padding: 0;
  background: transparent; border: 1.5px solid var(--ink); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span { display: block; width: 17px; height: 1.5px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 23px; border: 1.5px solid var(--ink);
  border-radius: var(--radius); font-size: 14px; font-weight: 700; line-height: 1.2;
  letter-spacing: .01em; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--acid); }
.btn-ink:hover { box-shadow: 6px 6px 0 var(--acid); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-ghost:hover { background: var(--white); box-shadow: 6px 6px 0 var(--ink); }
.btn-acid { background: var(--acid); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-acid:hover { background: var(--white); box-shadow: 6px 6px 0 var(--ink); }
.btn-white { background: var(--white); color: var(--ink); border-color: var(--white); box-shadow: 4px 4px 0 var(--ink); }
.btn-small { min-height: 39px; padding: 0 16px; font-size: 13px; box-shadow: 2px 2px 0 var(--ink); }
.btn-block { width: 100%; }
.text-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 700; border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px; transition: background .16s ease;
}
.text-link:hover { background: var(--acid); }
.text-link.on-dark { border-color: var(--acid); color: var(--paper); }
.text-link.on-dark:hover { background: var(--acid); color: var(--ink); }

/* ---------- type ---------- */
.display {
  font-size: var(--fs-hero); line-height: .98; letter-spacing: -.055em;
  font-weight: 800; text-wrap: balance;
}
.display .mark {
  display: inline; position: relative; z-index: 0;
  white-space: nowrap;
}
.display .mark::before {
  content: ""; position: absolute; z-index: -1; left: -.05em; right: -.05em;
  top: .10em; bottom: .06em; background: var(--acid);
  transform: rotate(-.5deg);
}
.page-title {
  font-size: var(--fs-page); line-height: 1.02; letter-spacing: -.05em;
  font-weight: 800; text-wrap: balance;
}
.section-title {
  font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.045em;
  font-weight: 800; text-wrap: balance;
}
.card-title, .article-card h3, .airport-card h3, .feature-card h3 {
  font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -.032em; font-weight: 750;
}
.lede { font-size: var(--fs-lead); line-height: 1.75; color: var(--ink-2); }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.ink { color: var(--ink); }
.acid { color: var(--acid); }
.blue { color: var(--blue); }
.on-dark { color: var(--paper); }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: clip; padding: 64px 0 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(18,21,20,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,21,20,.055) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  align-items: center; gap: clamp(34px, 5vw, 72px);
  padding-bottom: 54px;
}
.hero-copy { position: relative; z-index: 2; padding: 16px 0 22px; }
.hero h1 { max-width: 730px; }
.hero-lede {
  max-width: 565px; margin-top: 28px; color: var(--ink-2);
  font-size: clamp(16px, 1.45vw, 18px); line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px 18px; margin-top: 30px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .03em; color: var(--muted);
  text-transform: uppercase;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; background: var(--ink); }
.hero-meta span:nth-child(2)::before { background: var(--blue); }
.hero-meta span:nth-child(3)::before { background: var(--coral); border-radius: 50%; }
.hero-stage { position: relative; z-index: 1; padding: 8px 0 4px; }
.stage-shell {
  position: relative; background: var(--black); color: var(--paper);
  border: 1.5px solid var(--ink); padding: 8px;
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(.7deg);
}
.stage-bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 33px; padding: 0 6px 7px; color: #a9ada4;
  font-family: var(--mono); font-size: 9px; letter-spacing: .07em; text-transform: uppercase;
}
.stage-bar-left { display: flex; align-items: center; gap: 7px; }
.stage-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); box-shadow: 14px 0 0 #f4c64d, 28px 0 0 #6cdb81; margin-right: 28px; }
.stage-live { color: var(--acid); display: flex; align-items: center; gap: 6px; }
.stage-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--acid); animation: blink 1.8s steps(2, end) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.stage-screen { overflow: hidden; background: #111; border: 1px solid #343a39; }
.stage-screen img { width: 100%; height: auto; }
.stage-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 6px 3px; color: #9a9e95; font-family: var(--mono); font-size: 9px;
}
.stage-foot b { color: var(--paper); font-weight: 500; }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--ink); background: var(--paper-3);
  box-shadow: 4px 4px 0 var(--ink); padding: 11px 14px;
  font-family: var(--mono); font-size: 10px; line-height: 1.45;
}
.float-card b { display: block; font-family: var(--sans); font-size: 13px; line-height: 1.2; letter-spacing: -.01em; }
.float-card small { display: block; color: var(--muted); font-size: 9px; margin-top: 2px; }
.float-a { left: -28px; top: 24%; transform: rotate(-2deg); }
.float-b { right: -16px; bottom: 12%; background: var(--acid); transform: rotate(1.8deg); }
.float-b .mini-wave { width: 50px; height: 24px; }
.mini-wave svg { width: 100%; height: 100%; display: block; }
.hero-cat {
  position: absolute; z-index: 4; right: 8%; top: -26px;
  width: 76px; height: 76px; background: var(--acid); border: 1.5px solid var(--ink);
  border-radius: 50%; box-shadow: 4px 4px 0 var(--ink);
  display: grid; place-items: center; overflow: hidden; transform: rotate(4deg);
}
.hero-cat img { width: 82%; height: 82%; object-fit: contain; }
.hero-stats {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  margin-top: 8px;
}
.hero-stat { padding: 22px 24px 24px; min-height: 118px; border-right: 1px solid var(--line); }
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: 0; padding-right: 0; }
.hero-stat strong { display: block; font-size: var(--fs-stat); line-height: .95; letter-spacing: -.055em; font-weight: 800; }
.hero-stat strong small { font-size: .34em; letter-spacing: 0; font-weight: 650; margin-left: 3px; }
.hero-stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.hero-stat:nth-child(2) strong { color: var(--blue); }
.hero-stat:nth-child(3) strong { font-family: var(--serif); font-weight: 500; }

.cap-rail { background: var(--paper); border-bottom: 1px solid var(--line); }
.cap-inner {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 0;
  padding: 15px 0; font-family: var(--mono); font-size: 10px;
  letter-spacing: .04em; color: var(--muted); text-transform: uppercase;
}
.cap-inner span { display: inline-flex; align-items: center; }
.cap-inner span + span::before { content: "/"; margin: 0 12px; color: var(--line-strong); }
.cap-inner a { margin-left: auto; color: var(--ink); border-bottom: 1px solid var(--ink); }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section-tight { padding: 76px 0; }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .62fr);
  align-items: end; gap: 44px; margin-bottom: 48px;
}
.section-head p { color: var(--ink-2); font-size: 15.5px; line-height: 1.8; max-width: 470px; }
.section-head .head-aside { justify-self: end; align-self: end; }
.section-head + .section-body { margin-top: 0; }

/* map interlude */
.map-band {
  position: relative; overflow: hidden; background: #0c0f0f; color: var(--paper);
  padding: 102px 0 98px;
}
.map-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 72% 46%, rgba(217,255,67,.13), transparent 38%),
    linear-gradient(90deg, #0b0e0d 0%, rgba(11,14,13,.94) 42%, rgba(11,14,13,.28) 100%),
    url("../img/route-map.png") center right / cover no-repeat;
  opacity: .98;
}
.map-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 100% 48px;
}
.map-inner { position: relative; z-index: 2; }
.map-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, .4fr); gap: 70px; align-items: end; }
.map-copy h2 { max-width: 760px; }
.map-copy p { max-width: 620px; margin-top: 25px; color: #c7c9c1; font-size: 16px; line-height: 1.85; }
.map-copy .text-link { margin-top: 30px; }
.map-aside { border-top: 1px solid rgba(255,255,255,.22); padding-top: 16px; }
.map-aside div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.map-aside span { color: #85897f; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.map-aside b { font-weight: 550; text-align: right; }
.map-caption { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.2); color: #84887f; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.feature-card {
  position: relative; overflow: hidden; min-height: 330px; padding: 29px;
  background: var(--paper-3); border: 1.5px solid var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.feature-card > div:last-child { position: relative; z-index: 1; }
.feature-card p { margin-top: 13px; color: var(--ink-2); font-size: 14px; line-height: 1.8; max-width: 460px; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-12 { grid-column: span 12; }
.feature-card.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.feature-card.dark p { color: #b9bcb4; }
.feature-card.blue { background: var(--blue); color: var(--white); border-color: var(--ink); }
.feature-card.blue p { color: #d7dcff; }
.feature-card.acid { background: var(--acid); color: var(--ink); }
.feature-card.acid p { color: #35400f; }
.feature-visual { position: relative; }
.feature-label {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 22px;
  color: var(--muted); font-family: var(--mono); font-size: 9px;
  letter-spacing: .06em; text-transform: uppercase;
}
.feature-card.dark .feature-label, .feature-card.blue .feature-label { color: #9da099; }
.feature-label::before { content: ""; width: 5px; height: 5px; background: currentColor; }

.menubar-mock {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; background: #1c201f; color: var(--paper); border: 1px solid #3b403e;
  border-radius: 10px; padding: 10px 13px; box-shadow: 0 16px 34px rgba(0,0,0,.2);
}
.mb-left { display: flex; align-items: center; gap: 9px; min-width: 0; }
.mb-cat { width: 27px; height: 27px; border-radius: 6px; background: var(--acid); overflow: hidden; flex: 0 0 auto; }
.mb-cat img { width: 100%; height: 100%; object-fit: cover; }
.mb-left b { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; }
.mb-left small { display: block; color: #93988e; font-family: var(--mono); font-size: 8px; margin-top: 1px; }
.mb-rate { color: var(--acid); font-family: var(--mono); font-size: 11px; white-space: nowrap; }
.mb-wave { width: 82px; flex: 0 0 auto; }
.mb-wave svg { display: block; width: 100%; height: 26px; }
.mini-panel {
  margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.mini-panel div { background: rgba(0,0,0,.045); border: 1px solid var(--line); padding: 10px 12px; }
.feature-card.dark .mini-panel div { background: #1a1e1d; border-color: #333937; }
.mini-panel small { display: block; color: var(--muted); font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.mini-panel b { display: block; margin-top: 3px; font-family: var(--mono); font-size: 11px; font-weight: 500; }

.mode-switch { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.23); }
.mode-switch:first-child { border-top: 0; }
.mode-switch span { font-size: 13px; }
.mode-switch small { display: block; margin-top: 3px; color: #c1c8ed; font-size: 10px; }
.toggle { width: 38px; height: 21px; border: 1px solid rgba(255,255,255,.6); border-radius: 99px; position: relative; flex: 0 0 auto; }
.toggle::after { content: ""; position: absolute; width: 13px; height: 13px; top: 3px; left: 4px; border-radius: 50%; background: var(--white); }
.toggle.on { background: var(--acid); border-color: var(--ink); }
.toggle.on::after { left: auto; right: 4px; background: var(--ink); }

.rule-mock { border-top: 1px solid var(--line); }
.rule-mock div { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 38px; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 9.5px; }
.rule-mock i { color: var(--muted); font-style: normal; }
.rule-mock b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rule-mock em { color: var(--blue); font-size: 8.5px; border: 1px solid currentColor; padding: 0 4px; }
.rule-mock .hit { color: var(--coral); text-align: right; }

.profile-stack { position: relative; height: 120px; }
.profile-card {
  position: absolute; left: 0; right: 20%; display: flex; align-items: center; gap: 9px;
  background: var(--paper-3); border: 1px solid var(--ink); padding: 9px 11px;
  box-shadow: 3px 3px 0 var(--ink); font-family: var(--mono); font-size: 9px;
  color: var(--ink);
}
.profile-card:nth-child(1) { top: 0; transform: rotate(-1.4deg); }
.profile-card:nth-child(2) { top: 40px; left: 7%; right: 13%; transform: rotate(.7deg); background: var(--acid); }
.profile-card:nth-child(3) { top: 80px; left: 14%; right: 6%; transform: rotate(-.4deg); }
.profile-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; }
.profile-card:nth-child(2) .profile-dot { background: var(--ink); }
.profile-card:nth-child(3) .profile-dot { background: var(--coral); }

/* download band */
.download-band { background: var(--blue); color: var(--white); border-block: 1.5px solid var(--ink); }
.download-band-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, .72fr); gap: clamp(40px, 7vw, 100px); align-items: center; padding: 84px 0; }
.download-band h2 { max-width: 660px; }
.download-band p { max-width: 570px; margin-top: 22px; color: #d9dfff; font-size: 15.5px; line-height: 1.8; }
.download-band .btn { margin-top: 28px; }
.version-board { background: var(--black); border: 1.5px solid var(--ink); box-shadow: 8px 8px 0 rgba(0,0,0,.45); padding: 24px; transform: rotate(-.8deg); }
.version-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #323735; }
.version-top span { color: #9ea39a; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.version-number { font-size: clamp(44px, 5.3vw, 68px); line-height: .9; letter-spacing: -.05em; font-weight: 800; color: var(--acid); margin-top: 8px; }
.version-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid #292e2c; font-family: var(--mono); font-size: 10px; }
.version-row span { color: #92978e; }
.version-row b { color: var(--paper); font-weight: 500; text-align: right; }
.version-note { margin-top: 16px; color: #83887f; font-size: 10px; line-height: 1.7; }

/* rank band */
.rank-band { background: var(--acid); border-bottom: 1.5px solid var(--ink); }
.rank-band-inner { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 54px; align-items: stretch; padding: 78px 0; }
.rank-copy { align-self: center; }
.rank-copy h2 { max-width: 520px; }
.rank-copy p { max-width: 470px; margin-top: 22px; color: #39420f; font-size: 14.5px; line-height: 1.8; }
.rank-gate {
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  background: var(--ink); color: var(--paper); padding: 30px; min-height: 288px;
  border: 1.5px solid var(--ink); box-shadow: 7px 7px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.rank-gate:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
.rank-gate h3 { color: var(--acid); font-size: clamp(34px, 4.2vw, 50px); line-height: 1; letter-spacing: -.045em; }
.rank-gate p { margin-top: 15px; color: #b8bbb3; font-size: 13px; line-height: 1.75; max-width: 470px; }
.rank-gate-foot { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 18px; border-top: 1px solid #333835; }
.rank-gate-foot span { color: #8b9088; font-family: var(--mono); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.rank-gate-link { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--acid); padding: 10px 14px; }

/* article cards */
.articles-section { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.article-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.article-card {
  grid-column: span 6; display: flex; flex-direction: column; min-height: 320px;
  background: var(--paper-3); border: 1.5px solid var(--ink); padding: 27px;
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.article-card:nth-child(1), .article-card:nth-child(4) { grid-column: span 7; }
.article-card:nth-child(2), .article-card:nth-child(3) { grid-column: span 5; }
.article-card:hover { background: var(--white); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.article-card h3 { max-width: 560px; }
.article-card p { margin-top: 15px; color: var(--ink-2); font-size: 13.5px; line-height: 1.8; max-width: 560px; }
.article-card-foot { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.article-meta span + span::before { content: "/"; margin-right: 12px; color: var(--line-strong); }
.article-card-foot .read { font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--ink); }
.article-card:nth-child(2) { background: var(--acid); }
.article-card:nth-child(2):hover { background: #e6ff83; }
.article-card:nth-child(3) { background: var(--ink); color: var(--paper); }
.article-card:nth-child(3) p, .article-card:nth-child(3) .article-meta { color: #aeb1a9; }
.article-card:nth-child(3) .article-card-foot { border-color: #343937; }
.article-card:nth-child(3) .article-card-foot .read { border-color: var(--acid); }

/* faq */
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
.faq-intro p { max-width: 380px; margin-top: 22px; color: var(--ink-2); font-size: 14px; line-height: 1.8; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative; padding: 21px 42px 21px 0;
  font-size: 16px; font-weight: 650; line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 22px; font-weight: 400; color: var(--ink);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a { padding: 0 44px 22px 0; color: var(--ink-2); font-size: 14px; line-height: 1.85; }
.faq-item .faq-a a { border-bottom: 1px solid var(--ink); font-weight: 600; }

/* ---------- page hero ---------- */
.page-hero { position: relative; padding: 70px 0 58px; border-bottom: 1.5px solid var(--ink); overflow: clip; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(18,21,20,.2) .7px, transparent .7px);
  background-size: 16px 16px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.page-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .44fr); gap: 60px; align-items: end; }
.page-hero h1 { max-width: 850px; }
.page-lede { max-width: 700px; margin-top: 24px; color: var(--ink-2); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.85; }
.page-meta { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 27px; color: var(--muted); font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; }
.page-meta span { display: inline-flex; align-items: center; gap: 7px; }
.page-meta span::before { content: ""; width: 5px; height: 5px; background: var(--ink); }
.page-meta span:nth-child(2)::before { background: var(--blue); }
.page-meta span:nth-child(3)::before { background: var(--coral); }
.page-side-note { border: 1.5px solid var(--ink); background: var(--paper-3); box-shadow: 5px 5px 0 var(--ink); padding: 22px; }
.page-side-note .note-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.page-side-note strong { display: block; margin-top: 15px; font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.page-side-note p { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.page-side-note a { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--ink); }

/* ---------- download page ---------- */
.dl-hero-grid { grid-template-columns: minmax(0, 1fr) 350px; }
.dl-cta-card { background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--acid); padding: 25px; }
.dl-cta-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #a0a49b; font-family: var(--mono); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.dl-version { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; color: var(--acid); font-family: var(--mono); font-size: clamp(42px, 4.8vw, 58px); line-height: 1; letter-spacing: -.05em; font-weight: 700; }
.dl-version small { color: #91968d; font-size: 10px; letter-spacing: .02em; font-weight: 400; }
.dl-cta-card .btn { margin-top: 20px; }
.dl-file-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #333936; color: #9ea39a; font-family: var(--mono); font-size: 9px; }
.dl-file-row b { color: var(--paper); font-weight: 500; }
.dl-checksum { margin-top: 8px; color: #7f847b; font-family: var(--mono); font-size: 8.5px; line-height: 1.6; word-break: break-all; }
.dl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 62px; align-items: start; }
.dl-main { min-width: 0; }
.dl-aside { position: sticky; top: 105px; display: flex; flex-direction: column; gap: 14px; }
.aside-rank { background: var(--acid); border: 1.5px solid var(--ink); padding: 22px; box-shadow: 4px 4px 0 var(--ink); }
.aside-rank h2, .aside-rank h3 { font-size: 23px; line-height: 1.15; letter-spacing: -.035em; }
.aside-rank p { margin-top: 11px; color: #3f4719; font-size: 12px; line-height: 1.75; }
.aside-rank a { display: inline-flex; margin-top: 16px; background: var(--ink); color: var(--paper); padding: 9px 12px; font-size: 11px; font-weight: 700; }
.aside-note { border: 1px solid var(--line); padding: 18px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.aside-note b { display: block; color: var(--ink); font-size: 12px; margin-bottom: 6px; }
.dl-section { padding: 44px 0; border-bottom: 1px solid var(--line); }
.dl-section:first-child { padding-top: 0; }
.dl-section h2 { font-size: clamp(28px, 3.7vw, 42px); line-height: 1.08; letter-spacing: -.04em; }
.dl-section > p { max-width: 700px; margin-top: 16px; color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }
.arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.arch-card { border: 1.5px solid var(--ink); background: var(--paper-3); padding: 21px; }
.arch-card strong { display: block; font-size: 19px; letter-spacing: -.02em; }
.arch-card span { display: block; margin-top: 4px; color: var(--muted); font-family: var(--mono); font-size: 9px; }
.arch-card p { margin-top: 12px; color: var(--ink-2); font-size: 12px; line-height: 1.7; }
.universal-flow { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.universal-flow b { border: 1px solid var(--ink); background: var(--paper); padding: 7px 9px; font-family: var(--mono); font-size: 9px; font-weight: 500; }
.universal-flow i { font-style: normal; color: var(--muted); font-size: 11px; }
.install-steps { margin-top: 28px; border-top: 1.5px solid var(--ink); }
.install-step { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.step-no { font-family: var(--mono); font-size: 11px; color: var(--blue); padding-top: 3px; }
.install-step h3 { font-size: 16px; line-height: 1.4; letter-spacing: -.01em; }
.install-step p { margin-top: 7px; color: var(--ink-2); font-size: 13.5px; line-height: 1.8; }
.install-step code, .inline-code { background: rgba(18,21,20,.07); border: 1px solid var(--line); padding: 1px 5px; font-size: .9em; }
.callout { margin-top: 22px; border: 1.5px solid var(--ink); border-left: 7px solid var(--coral); background: #ffe6df; padding: 18px 20px; }
.callout b { display: block; font-size: 13px; }
.callout p { margin-top: 6px; color: #5b382f; font-size: 12.5px; line-height: 1.8; }
.code-block { position: relative; margin-top: 18px; background: var(--ink); color: #d8dbd2; border: 1.5px solid var(--ink); padding: 17px 19px; overflow-x: auto; font-size: 11px; line-height: 1.8; }
.code-block .c { color: #858a80; }
.sha-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sha-row span { color: var(--muted); font-size: 11px; }
.sha-row code { max-width: 75%; color: var(--ink); font-size: 9.5px; line-height: 1.7; word-break: break-all; text-align: right; }
.news-list { border-top: 1.5px solid var(--ink); margin-top: 22px; }
.news-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.news-row span { color: var(--muted); font-family: var(--mono); font-size: 9px; }
.news-row b { font-weight: 600; }
.dl-faq { padding: 78px 0; }

/* ---------- ranking page ---------- */
.rank-hero { padding: 62px 0 48px; }
.rank-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 335px; gap: 58px; align-items: end; }
.rank-hero h1 { max-width: 860px; }
.rank-hero h1 em { font-family: var(--serif); font-weight: 500; color: var(--blue); }
.editorial-panel { background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--acid); padding: 22px; }
.editorial-panel > strong { display: block; font-size: 28px; line-height: 1.05; letter-spacing: -.035em; color: var(--acid); }
.editorial-panel > p { margin-top: 10px; color: #aeb2a9; font-size: 11.5px; line-height: 1.7; }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #343a37; margin-top: 18px; border: 1px solid #343a37; }
.editorial-grid div { background: var(--ink); padding: 11px 10px; }
.editorial-grid span { display: block; color: #858a81; font-family: var(--mono); font-size: 8px; }
.editorial-grid b { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; font-weight: 500; }
.method-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.method-bar span { border: 1px solid var(--line-strong); padding: 5px 9px; color: var(--ink-2); font-family: var(--mono); font-size: 9px; letter-spacing: .02em; }
.filter-section { padding: 30px 0 80px; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 15px 0 23px; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line); }
.filter-bar > span { margin-right: 8px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.filter-btn { border: 1px solid var(--line-strong); background: transparent; padding: 7px 12px; font-size: 11px; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter-count { margin-left: auto; color: var(--muted); font-family: var(--mono); font-size: 9px; }
.rank-block-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 42px 0 18px; }
.rank-block-title h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -.04em; }
.rank-block-title p { color: var(--muted); font-size: 12px; line-height: 1.7; max-width: 400px; text-align: right; }
.airport-featured { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr); background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); box-shadow: 7px 7px 0 var(--acid); }
.af-main { padding: 31px; }
.af-rank { flex: 0 0 auto; display: inline-flex; align-items: center; height: 24px; margin-top: 3px; padding: 0 8px; background: var(--acid); color: var(--ink); font-family: var(--mono); font-size: 10px; font-weight: 700; }
.af-main h3 { margin-top: 18px; font-size: clamp(34px, 4.2vw, 50px); line-height: 1; letter-spacing: -.045em; color: var(--paper); }
.af-main h3 span { font-family: var(--mono); font-size: .25em; letter-spacing: .06em; color: #8f948b; margin-left: 12px; font-weight: 400; }
.af-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.af-head h3 { margin-top: 0; }
.af-main > p { max-width: 650px; margin-top: 16px; color: #b7bbb2; font-size: 13.5px; line-height: 1.8; }
.af-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.af-tags span { border: 1px solid #3b413e; color: #c6c9c1; padding: 4px 8px; font-size: 10px; }
.af-side { display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid #343a37; padding: 31px; }
.af-score-row { display: flex; align-items: baseline; gap: 8px; }
.af-score-row strong { font-family: var(--mono); font-size: 56px; line-height: .9; letter-spacing: -.06em; color: var(--acid); }
.af-score-row span { color: #8f948b; font-family: var(--mono); font-size: 9px; }
.af-spec { margin-top: 20px; border-top: 1px solid #323835; }
.af-spec div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #2c322f; font-size: 11px; }
.af-spec span { color: #8c9188; }
.af-spec b { font-weight: 500; }
.af-side .airport-btn { margin-top: 22px; }

.airport-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.airport-card {
  display: flex; flex-direction: column; background: var(--paper-3);
  border: 1.5px solid var(--ink); padding: 24px; min-height: 365px;
  transition: transform .16s ease, box-shadow .16s ease;
}
.airport-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.airport-card.is-hidden { display: none; }
.airport-top { display: flex; align-items: flex-start; gap: 11px; }
.airport-rank { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--ink); font-family: var(--mono); font-size: 10px; line-height: 1; }
.airport-top > div { min-width: 0; flex: 1; }
.airport-card h3 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.airport-card h3 span { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .04em; font-weight: 400; }
.airport-place { margin-top: 6px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .02em; }
.airport-badge { flex: 0 0 auto; border: 1px solid var(--ink); background: var(--acid); padding: 3px 7px; font-size: 9px; font-weight: 600; }
.airport-desc { margin-top: 17px; color: var(--ink-2); font-size: 12.5px; line-height: 1.8; }
.airport-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 18px; background: var(--line); border: 1px solid var(--line); }
.airport-metrics div { background: var(--paper); padding: 9px 10px; }
.airport-metrics span { display: block; color: var(--muted); font-size: 9px; }
.airport-metrics b { display: block; margin-top: 3px; font-family: var(--mono); font-size: 12px; font-weight: 600; }
.airport-points { margin-top: 14px; }
.airport-points li { position: relative; padding-left: 12px; margin-top: 5px; color: var(--ink-2); font-size: 11.5px; line-height: 1.65; }
.airport-points li::before { content: ""; position: absolute; left: 0; top: .67em; width: 4px; height: 4px; background: var(--blue); }
.airport-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.airport-note { color: var(--muted); font-size: 10px; line-height: 1.5; }
.airport-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  min-width: 104px; min-height: 39px; padding: 0 16px;
  background: var(--ink); color: var(--white); border: 1.5px solid var(--ink);
  font-size: 12px; font-weight: 700; line-height: 1.2; cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.airport-btn:hover { background: var(--acid); color: var(--ink); }
.af-side .airport-btn { width: 100%; min-height: 44px; background: var(--acid); color: var(--ink); border-color: var(--acid); }
.af-side .airport-btn:hover { background: var(--paper); border-color: var(--paper); }
.rank-footnote { margin-top: 24px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.8; }
.rank-empty { display: none; padding: 35px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 13px; }
.rank-empty.is-visible { display: block; }
.buy-guide { background: var(--ink); color: var(--paper); border-top: 1.5px solid var(--ink); }
.buy-guide .section-head p { color: #b6bab1; }
.buy-guide .section-head .text-link { color: var(--paper); border-color: var(--acid); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card { border: 1px solid #3a403d; padding: 24px; min-height: 220px; }
.guide-card h3 { color: var(--acid); font-size: 21px; line-height: 1.25; letter-spacing: -.025em; }
.guide-card p { margin-top: 12px; color: #b4b8af; font-size: 12.5px; line-height: 1.85; }
.guide-card span { display: block; margin-top: 25px; color: #6f746c; font-family: var(--mono); font-size: 9px; }
.ranking-faq { padding: 80px 0; background: var(--paper-2); }

/* ---------- articles index ---------- */
.articles-page-hero { border-bottom: 1.5px solid var(--ink); }
.article-list { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.article-list-item {
  display: grid; grid-template-columns: 90px minmax(0, 1fr) 230px; gap: 34px; align-items: start;
  padding: 31px 0; border-bottom: 1px solid var(--line); transition: background .16s ease;
}
.article-list-item:hover { background: rgba(250,248,241,.7); }
.article-list-no { color: var(--blue); font-family: var(--mono); font-size: 11px; padding-top: 5px; }
.article-list-main h2 { font-size: clamp(22px, 2.8vw, 32px); line-height: 1.18; letter-spacing: -.035em; }
.article-list-main p { max-width: 680px; margin-top: 10px; color: var(--ink-2); font-size: 13px; line-height: 1.8; }
.article-list-side { text-align: right; }
.article-list-side .article-meta { justify-content: flex-end; }
.article-list-side .read { display: inline-block; margin-top: 13px; font-size: 11px; font-weight: 700; border-bottom: 1px solid var(--ink); }
.aside-help { background: var(--paper-3); border: 1px solid var(--line); padding: 20px; }
.aside-help h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.02em; }
.aside-help p { margin-top: 8px; color: var(--muted); font-size: 11.5px; line-height: 1.75; }

/* ---------- article detail ---------- */
.article-page { padding: 58px 0 80px; }
.article-header { max-width: 900px; margin-bottom: 44px; }
.article-header h1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.06; letter-spacing: -.05em; text-wrap: balance; }
.article-dek { max-width: 740px; margin-top: 21px; color: var(--ink-2); font-size: 16px; line-height: 1.85; }
.article-header .article-meta { margin-top: 24px; padding-top: 15px; border-top: 1px solid var(--line); }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: clamp(50px, 7vw, 96px); align-items: start; }
.article-body { min-width: 0; font-size: 16.5px; line-height: 1.95; color: #242824; }
.article-body > p { margin-top: 20px; }
.article-body > p:first-child { margin-top: 0; }
.article-body h2 { margin: 52px 0 0; font-size: clamp(27px, 3vw, 35px); line-height: 1.2; letter-spacing: -.04em; color: var(--ink); }
.article-body h2 + p { margin-top: 16px; }
.article-body h3 { margin: 30px 0 0; font-size: 20px; line-height: 1.4; letter-spacing: -.02em; color: var(--ink); }
.article-body h3 + p { margin-top: 9px; }
.article-body strong { background: linear-gradient(transparent 58%, var(--acid) 58%); font-weight: 650; }
.article-body a { border-bottom: 1px solid var(--ink); font-weight: 600; }
.article-body a:hover { background: var(--acid); }
.article-body ul, .article-body ol { margin: 17px 0 0 0; padding-left: 0; }
.article-body ul li { position: relative; padding-left: 19px; margin-top: 9px; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 6px; background: var(--blue); }
.article-body ol { counter-reset: item; }
.article-body ol li { position: relative; padding-left: 28px; margin-top: 9px; counter-increment: item; }
.article-body ol li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 0; top: .2em; color: var(--blue); font-family: var(--mono); font-size: 10px; }
.article-body blockquote { margin: 34px 0 0; padding: 23px 26px; border-left: 6px solid var(--blue); background: var(--paper-3); font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.5; letter-spacing: -.02em; }
.article-body blockquote p { margin: 0; }
.article-body code { background: rgba(18,21,20,.07); border: 1px solid var(--line); padding: 1px 5px; font-size: .87em; }
.article-body pre { margin: 22px 0 0; padding: 19px 21px; overflow-x: auto; background: var(--ink); color: #d8dbd2; border: 1.5px solid var(--ink); font-size: 11px; line-height: 1.75; }
.article-body pre code { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; }
.article-body figure { margin: 33px 0 0; }
.article-body figure img { width: 100%; border: 1.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.article-body figcaption { margin-top: 11px; color: var(--muted); font-family: var(--mono); font-size: 9px; line-height: 1.7; }
.article-note { margin-top: 26px; border: 1px solid var(--line); background: var(--paper-2); padding: 18px 20px; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.article-note b { display: block; color: var(--ink); margin-bottom: 4px; }
.article-end { margin-top: 44px; padding-top: 26px; border-top: 1.5px solid var(--ink); }
.article-end h2 { margin-top: 0 !important; font-size: 22px !important; }
.article-end-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.article-end-links a { border: 1.5px solid var(--ink); padding: 10px 14px; font-size: 12px; font-weight: 700; background: var(--paper-3); }
.article-end-links a:first-child { background: var(--acid); }
.article-end-links a:hover { background: var(--ink); color: var(--paper); }
.article-aside { position: sticky; top: 105px; display: flex; flex-direction: column; gap: 16px; }
.aside-toc { border-top: 1.5px solid var(--ink); padding-top: 13px; }
.aside-toc strong { display: block; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.aside-toc a { display: block; padding: 7px 0; color: var(--ink-2); font-size: 12px; line-height: 1.5; border-bottom: 1px solid var(--line); }
.aside-toc a:hover { color: var(--blue); }
.article-side-rank { background: var(--acid); border: 1.5px solid var(--ink); padding: 20px; box-shadow: 4px 4px 0 var(--ink); }
.article-side-rank h2 { font-size: 22px !important; line-height: 1.2; letter-spacing: -.035em; margin: 0 !important; }
.article-side-rank p { margin-top: 10px; color: #3f4719; font-size: 11.5px; line-height: 1.8; }
.article-side-rank a { display: inline-block; margin-top: 14px; background: var(--ink); color: var(--paper); padding: 8px 11px; font-size: 11px; font-weight: 700; }
.related-list { margin-top: 2px; border-top: 1px solid var(--line); }
.related-list a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.55; }
.related-list a:hover { color: var(--blue); }
.side-label { display: block; margin-bottom: 8px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }

/* article index hero */
.articles-page-hero .page-hero-grid { grid-template-columns: minmax(0, 1fr) 330px; }
.index-note { border: 1.5px solid var(--ink); background: var(--paper-3); padding: 21px; box-shadow: 4px 4px 0 var(--ink); }
.index-note strong { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; color: var(--muted); font-weight: 400; }
.index-note span { display: block; margin-top: 10px; font-size: 33px; line-height: 1; letter-spacing: -.04em; font-weight: 800; }
.index-note p { margin-top: 12px; color: var(--ink-2); font-size: 11.5px; line-height: 1.75; }
.index-note a { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 700; border-bottom: 1px solid var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 33px 0; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand .brand-mark { width: 32px; height: 32px; box-shadow: none; border-color: #4f554f; }
.footer-brand strong { display: block; font-size: 17px; line-height: 1; letter-spacing: -.03em; }
.footer-brand small { display: block; margin-top: 5px; color: #8e938a; font-family: var(--mono); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-nav a { color: #b8bcb3; font-size: 12px; transition: color .15s ease; }
.footer-nav a:hover { color: var(--acid); }

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

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .shell { width: calc(100% - 56px); }
  .nav a { padding-inline: 11px; font-size: 13px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); gap: 38px; }
  .float-a { left: -10px; }
  .float-b { right: -4px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 50px; }
  .dl-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 42px; }
  .map-grid { gap: 40px; }
}

@media (max-width: 1000px) {
  .nav { gap: 0; }
  .nav a { padding-inline: 9px; font-size: 12px; }
  .head-act .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .hero-copy { padding-top: 4px; }
  .hero h1 { max-width: 790px; }
  .hero-stage { width: min(680px, 100%); margin-left: auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat:nth-child(3) { border-top: 1px solid var(--line); padding-left: 0; }
  .hero-stat:nth-child(4) { border-top: 1px solid var(--line); }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head .head-aside { justify-self: start; }
  .map-grid { grid-template-columns: 1fr; gap: 35px; }
  .map-aside { max-width: 520px; }
  .span-7, .span-5, .span-6 { grid-column: span 6; }
  .feature-card.span-7 { grid-column: span 12; }
  .download-band-inner { grid-template-columns: 1fr; gap: 42px; padding: 65px 0; }
  .version-board { max-width: 560px; }
  .rank-band-inner { grid-template-columns: 1fr; gap: 36px; padding: 60px 0; }
  .article-card, .article-card:nth-child(1), .article-card:nth-child(2), .article-card:nth-child(3), .article-card:nth-child(4) { grid-column: span 6; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .page-side-note { max-width: 500px; }
  .dl-hero-grid { grid-template-columns: 1fr; }
  .dl-cta-card { max-width: 520px; }
  .dl-layout { grid-template-columns: 1fr; gap: 40px; }
  .dl-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .rank-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .editorial-panel { max-width: 510px; }
  .article-layout { grid-template-columns: 1fr; gap: 45px; }
  .article-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .article-side-rank { order: 1; }
  .aside-toc { order: 3; }
  .article-aside .related { order: 4; }
  .article-aside .aside-toc, .article-aside .related { grid-column: span 1; }
  .articles-page-hero .page-hero-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .shell { width: calc(100% - 36px); }
  .utility-inner { min-height: 32px; }
  .utility-note { display: none; }
  .utility-left { gap: 8px; font-size: 10px; }
  .utility-right { gap: 0; }
  .utility-rank { font-size: 11px; padding: 2px 8px; }
  .head-inner { min-height: 66px; gap: 15px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-word strong { font-size: 19px; }
  .brand-word small { font-size: 8px; }
  .nav {
    position: absolute; inset: 100% 0 auto 0; z-index: 99;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1.5px solid var(--ink);
    padding: 12px 18px 22px; max-height: calc(100dvh - 66px); overflow-y: auto;
  }
  .nav-open .nav { display: flex; }
  .nav a, .nav .nav-rank {
    min-height: 51px; justify-content: flex-start; margin-left: 0; padding: 0 8px;
    border: 0; border-bottom: 1px solid var(--line); background: transparent;
    box-shadow: none; font-size: 15px;
  }
  .nav .nav-rank { margin-top: 8px; border: 1.5px solid var(--ink); background: var(--acid); box-shadow: 2px 2px 0 var(--ink); }
  .nav a[aria-current="page"]::after { margin-left: auto; }
  .nav .nav-rank::before { margin-right: 7px; }
  .menu-toggle { display: flex; }
  .hero { padding-top: 36px; }
  .hero h1 { max-width: 640px; }
  .hero-lede { margin-top: 20px; font-size: 15.5px; line-height: 1.8; }
  .hero-actions { margin-top: 24px; gap: 11px; }
  .hero-actions .btn { min-height: 45px; padding: 0 17px; font-size: 13px; }
  .hero-meta { margin-top: 22px; font-size: 9px; }
  .hero-stage { width: calc(100% - 8px); margin-left: 0; }
  .stage-shell { transform: none; box-shadow: 6px 6px 0 var(--ink); }
  .float-a { left: -7px; top: 17%; padding: 8px 10px; }
  .float-b { right: -2px; bottom: 8%; padding: 8px 10px; }
  .float-card b { font-size: 11px; }
  .float-card small { font-size: 8px; }
  .hero-cat { width: 59px; height: 59px; top: -22px; right: 5%; }
  .hero-stats { margin-top: 0; }
  .hero-stat { min-height: 100px; padding: 17px 16px 18px; }
  .hero-stat strong { font-size: 46px; }
  .hero-stat span { font-size: 10.5px; }
  .cap-inner { padding: 12px 0; font-size: 9px; }
  .cap-inner a { margin-left: 0; width: 100%; margin-top: 3px; }
  .section { padding: 70px 0; }
  .section-tight { padding: 54px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head p { font-size: 14px; }
  .map-band { padding: 70px 0 65px; }
  .map-band::before { background-position: 60% center; }
  .map-copy p { font-size: 14px; }
  .map-caption { margin-top: 38px; font-size: 8px; }
  .map-caption span:last-child { display: none; }
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .span-7, .span-5, .span-6, .feature-card.span-7 { grid-column: span 1; }
  .feature-card { min-height: 0; padding: 23px 21px; gap: 22px; }
  .feature-card p { font-size: 13px; }
  .menubar-mock { gap: 9px; padding: 9px 10px; }
  .mb-wave { width: 50px; }
  .mb-rate { font-size: 9px; }
  .download-band-inner { padding: 53px 0; }
  .download-band p { font-size: 14px; }
  .version-board { padding: 20px; box-shadow: 5px 5px 0 rgba(0,0,0,.45); }
  .rank-band-inner { padding: 52px 0; gap: 28px; }
  .rank-copy p { font-size: 13px; }
  .rank-gate { min-height: 0; padding: 23px; box-shadow: 5px 5px 0 var(--ink); }
  .rank-gate h3 { font-size: 37px; }
  .rank-gate p { font-size: 12px; }
  .article-grid { grid-template-columns: 1fr; gap: 12px; }
  .article-card, .article-card:nth-child(1), .article-card:nth-child(2), .article-card:nth-child(3), .article-card:nth-child(4) { grid-column: span 1; min-height: 0; padding: 22px; }
  .article-card-foot { padding-top: 22px; }
  .faq-list { margin-top: 0; }
  .faq-item summary { font-size: 14.5px; padding-block: 17px; }
  .faq-item .faq-a { font-size: 13px; padding-right: 20px; }
  .page-hero { padding: 45px 0 40px; }
  .page-title { font-size: 43px; }
  .page-lede { margin-top: 18px; font-size: 14.5px; }
  .page-meta { margin-top: 20px; font-size: 8.5px; }
  .page-side-note { padding: 18px; box-shadow: 4px 4px 0 var(--ink); }
  .dl-cta-card { padding: 20px; }
  .dl-version { font-size: 49px; }
  .dl-section { padding: 34px 0; }
  .arch-grid { grid-template-columns: 1fr; }
  .install-step { grid-template-columns: 38px 1fr; gap: 12px; }
  .sha-row { flex-direction: column; gap: 8px; }
  .sha-row code { text-align: left; max-width: 100%; }
  .dl-aside { grid-template-columns: 1fr; }
  .dl-faq { padding: 55px 0; }
  .rank-hero { padding: 40px 0 35px; }
  .rank-hero-grid { gap: 28px; }
  .method-bar { margin-top: 22px; }
  .filter-section { padding: 20px 0 55px; }
  .filter-bar { padding-bottom: 17px; }
  .filter-bar > span { width: 100%; margin-bottom: 3px; }
  .filter-count { margin-left: 0; width: 100%; margin-top: 3px; }
  .rank-block-title { display: block; margin: 34px 0 14px; }
  .rank-block-title p { margin-top: 8px; text-align: left; font-size: 11px; }
  .airport-featured { grid-template-columns: 1fr; box-shadow: 5px 5px 0 var(--acid); }
  .af-main { padding: 23px; }
  .af-main h3 { font-size: 38px; }
  .af-side { border-left: 0; border-top: 1px solid #343a37; padding: 22px 23px; }
  .af-score-row strong { font-size: 50px; }
  .airport-grid { grid-template-columns: 1fr; gap: 12px; }
  .airport-card { padding: 20px; min-height: 0; }
  .airport-desc { font-size: 12px; }
  .airport-foot { padding-top: 16px; }
  .airport-btn { min-height: 42px; min-width: 108px; }
  .buy-guide { padding: 55px 0; }
  .guide-card { padding: 20px; min-height: 0; }
  .ranking-faq { padding: 55px 0; }
  .articles-page-hero { padding-bottom: 35px; }
  .article-list-item { grid-template-columns: 36px 1fr; gap: 13px; padding: 23px 0; }
  .article-list-main h2 { font-size: 23px; }
  .article-list-side { grid-column: 2; text-align: left; }
  .article-list-side .article-meta { justify-content: flex-start; }
  .article-list-side .read { margin-top: 7px; }
  .article-page { padding: 40px 0 55px; }
  .article-header { margin-bottom: 30px; }
  .article-header h1 { font-size: 38px; }
  .article-dek { font-size: 14.5px; margin-top: 16px; }
  .article-header .article-meta { margin-top: 18px; font-size: 8.5px; }
  .article-body { font-size: 15.5px; line-height: 1.9; }
  .article-body h2 { margin-top: 38px; font-size: 27px; }
  .article-body blockquote { padding: 18px 19px; font-size: 20px; }
  .article-aside { grid-template-columns: 1fr; gap: 22px; }
  .article-side-rank { order: 1; }
  .related { order: 2; }
  .aside-toc { order: 3; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 27px 0; }
  .footer-nav { gap: 9px 17px; }
}

@media (max-width: 420px) {
  .shell { width: calc(100% - 28px); }
  .utility-left span:nth-child(3) { display: none; }
  .brand-word small { display: none; }
  .hero h1 { font-size: 43px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 11px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat { padding-inline: 11px; }
  .hero-stat strong { font-size: 41px; }
  .hero-stat span { font-size: 9.5px; }
  .float-a { display: none; }
  .float-b { bottom: 4%; }
  .stage-bar { font-size: 8px; }
  .stage-foot span:last-child { display: none; }
  .section-title { font-size: 35px; }
  .page-title, .article-header h1 { font-size: 34px; }
  .download-band .btn { width: 100%; }
  .airport-card h3 { font-size: 24px; }
  .airport-badge { font-size: 8px; padding: 3px 5px; }
  .airport-metrics b { font-size: 11px; }
  .airport-foot { align-items: stretch; flex-direction: column; }
  .airport-btn { width: 100%; }
  .af-main h3 { font-size: 32px; }
}

/* index page ranking callout */
.index-rank-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: 46px; padding: 28px 30px; background: var(--acid);
  border: 1.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
}
.index-rank-cta h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -.04em; }
.index-rank-cta p { max-width: 650px; margin-top: 8px; color: #3e4718; font-size: 12.5px; line-height: 1.75; }
.index-rank-cta .btn { flex: 0 0 auto; }
@media (max-width: 780px) {
  .index-rank-cta { flex-direction: column; align-items: stretch; gap: 20px; margin-top: 32px; padding: 22px; box-shadow: 4px 4px 0 var(--ink); }
  .index-rank-cta .btn { width: 100%; }
}

/* ranking page: fixed monthly reference prices */
.editorial-reference {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #343a37;
  color: #8f948b;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .03em;
}
.editorial-reference strong {
  color: var(--acid);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.editorial-reference span {
  color: #737970;
  font-size: 8px;
}
.reference-price-block {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1.5px solid var(--ink);
}
.reference-price-block .rank-block-title { margin-top: 0; }
.price-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--paper-3);
  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(18, 21, 20, .13);
}
.reference-price-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.5;
}
.reference-price-table thead { background: var(--ink); color: var(--paper); }
.reference-price-table th {
  padding: 11px 14px;
  text-align: left;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .05em;
  white-space: nowrap;
}
.reference-price-table td {
  padding: 13px 14px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}
.reference-price-table tbody tr:nth-child(even) { background: rgba(18, 21, 20, .025); }
.price-rank {
  width: 54px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
}
.price-airport { display: flex; flex-direction: column; gap: 2px; }
.price-airport b { font-size: 14px; font-weight: 650; letter-spacing: -.015em; }
.price-airport small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .03em;
}
.price-cell {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-cell small { color: var(--muted); font-size: 8px; font-weight: 400; }
.period-note { color: var(--muted); font-size: 10.5px; white-space: nowrap; }
.price-traffic { color: var(--ink-2); font-family: var(--mono); font-size: 10.5px; white-space: nowrap; }
.price-table-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}
@media (max-width: 780px) {
  .reference-price-block { margin-top: 30px; padding-top: 22px; }
  .price-table-wrap { box-shadow: none; }
  .reference-price-table { min-width: 660px; }
  .reference-price-table th { padding: 10px 11px; }
  .reference-price-table td { padding: 11px; }
  .price-table-note { font-size: 9.5px; }
  .editorial-reference strong { font-size: 15px; }
}
