/* NekoBox for Harmony — 静态中文资料站 */
:root {
  --paper: #f3f0e5;
  --paper-deep: #eae5d6;
  --paper-light: #faf8f0;
  --ink: #12160f;
  --ink-soft: #242b22;
  --muted: #5d6458;
  --green: #1c543c;
  --green-deep: #123b2a;
  --lime: #d9ef5d;
  --lime-soft: #edf7b8;
  --orange: #e95b37;
  --line: rgba(18, 22, 15, 0.16);
  --line-strong: rgba(18, 22, 15, 0.34);
  --max: 1180px;
  --display: clamp(3.15rem, 7.2vw, 4.7rem);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
  --shadow: 0 18px 50px rgba(24, 31, 22, 0.1);
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(rgba(18, 22, 15, 0.05) 0.7px, transparent 0.7px) 0 0 / 9px 9px,
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-menu-open { overflow: hidden; }

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

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

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

button,
input { font: inherit; }

h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }

ul, ol { margin: 0; padding: 0; }

svg { display: block; }

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

.container {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--paper-light);
  background: var(--ink);
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

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

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

/* ---------- shared type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-title {
  max-width: 18em;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-title em {
  font-style: normal;
  color: var(--green);
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.85;
}

.muted { color: var(--muted); }

.mono {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section {
  padding: clamp(60px, 8.5vw, 108px) 0;
  border-top: 1px solid var(--line);
}

.section--tight { padding: clamp(46px, 6vw, 76px) 0; }

.section--dark {
  color: var(--paper-light);
  background:
    radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.7px) 0 0 / 11px 11px,
    var(--ink);
  border-top: 1px solid var(--ink);
}

.section--dark .section-title { color: var(--paper-light); }
.section--dark .muted { color: rgba(250, 248, 240, 0.64); }
.section--dark .lead { color: rgba(250, 248, 240, 0.73); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 var(--ink);
}

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

.btn--ink:hover { box-shadow: 5px 5px 0 var(--lime); }

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

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

.btn--light {
  color: var(--ink);
  background: var(--paper-light);
  border-color: var(--paper-light);
}

.btn--light:hover { box-shadow: 5px 5px 0 var(--lime); }

.btn--sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.84rem;
}

.btn--block { width: 100%; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.92rem;
  font-weight: 650;
}

.arrow-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.arrow-link:hover::after { transform: translateX(5px); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 229, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(18, 22, 15, 0.06); }

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

.header-rank-mini {
  display: none;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  background: var(--lime);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-light);
}

.brand-mark img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-type strong {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand-type small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.main-nav a {
  position: relative;
  padding: 9px 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 560;
  white-space: nowrap;
}

.main-nav a:not(.nav-rank)::after {
  position: absolute;
  right: 12px;
  bottom: 3px;
  left: 12px;
  height: 1px;
  content: "";
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.main-nav .nav-rank {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  font-weight: 700;
  transition: background 160ms ease, transform 160ms ease;
}

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

.main-nav .nav-rank:hover {
  background: #e6fa83;
  transform: translateY(-1px);
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  z-index: 79;
  inset: 75px 0 0;
  overflow: auto;
  padding: 26px 24px 48px;
  background: var(--paper);
}

.mobile-menu.is-open { display: block; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.2;
}

.mobile-menu nav a::after {
  content: "↗";
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1rem;
}

.mobile-menu nav a.nav-rank-mobile {
  margin: 10px 0 0;
  padding: 15px;
  border: 0;
  background: var(--lime);
  font-size: 1.3rem;
}

.mobile-menu nav a.nav-rank-mobile::after { color: var(--ink); }

.mobile-menu-note {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.82rem;
}

.mobile-dock {
  display: none;
  position: fixed;
  z-index: 70;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: 12px;
  padding: 8px;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 0 8px 30px rgba(18, 22, 15, 0.18);
  grid-template-columns: 1.35fr 1fr;
  gap: 8px;
}

.mobile-dock a {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.mobile-dock a:first-child { background: var(--lime); }
.mobile-dock a:last-child { color: var(--paper-light); background: var(--ink); }

/* ---------- home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 104px) 0 clamp(42px, 5.5vw, 68px);
}

.hero::before {
  position: absolute;
  top: -220px;
  right: -180px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(18, 22, 15, 0.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  top: -80px;
  right: -40px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(18, 22, 15, 0.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.88fr);
  align-items: center;
  gap: clamp(38px, 6vw, 78px);
}

.hero-title {
  margin-left: -0.045em;
  font-family: var(--serif);
  font-size: var(--display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-title span { display: block; }

.hero-title .hero-title-sub {
  margin-top: 4px;
  color: var(--green);
  font-size: 0.76em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.hero-deck {
  max-width: 10.5em;
  margin-top: clamp(22px, 3vw, 32px);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.hero-desc {
  max-width: 35em;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.85;
}

.hero-desc strong { color: var(--ink); font-weight: 650; }

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-facts li {
  flex: 1 1 120px;
  padding: 13px 15px 13px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.67rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  list-style: none;
  text-transform: uppercase;
}

.hero-facts li + li {
  padding-left: 15px;
  border-left: 1px solid var(--line);
}

.hero-facts strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.83rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

/* release card */
.release-card {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  padding: clamp(24px, 3.5vw, 34px);
  border: 1px solid var(--ink);
  color: var(--paper-light);
  background:
    linear-gradient(145deg, rgba(217, 239, 93, 0.09), transparent 38%),
    radial-gradient(rgba(255, 255, 255, 0.09) 0.6px, transparent 0.6px) 0 0 / 9px 9px,
    var(--ink);
  box-shadow: 14px 14px 0 rgba(28, 84, 60, 0.2);
}

.release-card::before {
  position: absolute;
  top: 84px;
  right: -82px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(217, 239, 93, 0.26);
  border-radius: 50%;
  content: "";
}

.release-card::after {
  position: absolute;
  top: 142px;
  right: -20px;
  width: 124px;
  height: 124px;
  border: 1px solid rgba(217, 239, 93, 0.22);
  border-radius: 50%;
  content: "";
}

.release-top,
.release-version,
.release-specs,
.release-foot { position: relative; z-index: 1; }

.release-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.release-top .mono { color: rgba(250, 248, 240, 0.62); }

.release-top img {
  width: 30px;
  height: 30px;
  filter: invert(1);
  opacity: 0.86;
}

.release-version {
  margin-top: 54px;
  font-family: var(--mono);
  font-size: clamp(3rem, 6vw, 4.15rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.07em;
}

.release-version small {
  display: block;
  margin-top: 10px;
  color: var(--lime);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 550;
  letter-spacing: 0.02em;
}

.release-specs {
  display: grid;
  margin-top: 30px;
  border-top: 1px solid rgba(250, 248, 240, 0.2);
  grid-template-columns: 1fr 1fr;
}

.release-specs div {
  padding: 13px 10px 13px 0;
  border-bottom: 1px solid rgba(250, 248, 240, 0.15);
}

.release-specs div:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(250, 248, 240, 0.15); }

.release-specs dt {
  color: rgba(250, 248, 240, 0.48);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.release-specs dd {
  margin-top: 4px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.release-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
}

.release-foot .mono {
  max-width: 16em;
  color: rgba(250, 248, 240, 0.54);
  font-size: 0.61rem;
  line-height: 1.7;
}

.release-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--lime);
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 650;
  white-space: nowrap;
}

/* ---------- home intro ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 8vw, 100px);
}

.intro-copy p + p { margin-top: 16px; }

.feature-grid {
  display: grid;
  margin-top: clamp(38px, 5vw, 58px);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.feature-item {
  min-height: 215px;
  padding: 22px 22px 24px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-item + .feature-item { padding-left: 22px; }

.feature-num {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.feature-item h3 {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1.3;
}

.feature-item p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

/* ---------- install path ---------- */
.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 8vw, 100px);
}

.install-aside p { margin-top: 18px; }

.install-aside .arrow-link { margin-top: 26px; }

.install-list {
  border-top: 1px solid var(--line-strong);
}

.install-step {
  display: grid;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 58px 1fr;
  gap: 12px;
}

.install-step > span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.04em;
}

.install-step h3 {
  font-size: 1.1rem;
  font-weight: 680;
  line-height: 1.45;
}

.install-step p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.75;
}

.install-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 26px;
  padding: 22px;
  border: 1px solid var(--ink);
  background: var(--lime-soft);
}

.install-callout p {
  max-width: 28em;
  font-size: 0.85rem;
  line-height: 1.65;
}

.install-callout .btn { flex: 0 0 auto; }

/* ---------- notes ---------- */
.notes-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.notes-head p {
  max-width: 26em;
  color: var(--muted);
  font-size: 0.92rem;
}

.notes-grid {
  display: grid;
  margin-top: 40px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
}

.note-card {
  position: relative;
  display: flex;
  min-height: 292px;
  flex-direction: column;
  padding: clamp(24px, 3.4vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 248, 240, 0.22);
  transition: background 180ms ease;
}

.note-card:hover { background: var(--paper-light); }

.note-card h3 {
  max-width: 19em;
  font-family: var(--serif);
  font-size: clamp(1.42rem, 2.3vw, 1.85rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.note-card p {
  max-width: 34em;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.note-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
}

.note-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

.note-meta .read {
  margin-left: auto;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 650;
}

.note-card::after {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(18, 22, 15, 0.16);
  content: "↗";
  font-size: 1.2rem;
  transition: color 180ms ease, transform 180ms ease;
}

.note-card:hover::after { color: var(--green); transform: translate(2px, -2px); }

/* ---------- rank band ---------- */
.rank-band {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--ink);
  color: var(--paper-light);
  background:
    radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.7px) 0 0 / 11px 11px,
    var(--green-deep);
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.rank-band-copy {
  padding: clamp(32px, 5vw, 58px);
}

.rank-band h2 {
  max-width: 13em;
  color: var(--paper-light);
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4.6vw, 3.65rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.rank-band h2 em { color: var(--lime); font-style: normal; }

.rank-band-copy p {
  max-width: 36em;
  margin-top: 18px;
  color: rgba(250, 248, 240, 0.72);
  font-size: 0.93rem;
  line-height: 1.85;
}

.rank-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.rank-band-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 4vw, 50px);
  border-left: 1px solid rgba(250, 248, 240, 0.18);
  background: rgba(0, 0, 0, 0.14);
}

.rank-band-side .mono { color: rgba(250, 248, 240, 0.52); }

.rank-numbers {
  display: grid;
  margin-top: 32px;
  border-top: 1px solid rgba(250, 248, 240, 0.18);
}

.rank-numbers div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(250, 248, 240, 0.16);
}

.rank-numbers strong {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1;
}

.rank-numbers span {
  color: rgba(250, 248, 240, 0.62);
  font-size: 0.76rem;
  text-align: right;
}

.rank-band-side .arrow-link {
  align-self: flex-start;
  color: var(--lime);
  font-size: 0.82rem;
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 8vw, 98px);
}

.faq-intro p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.faq-list { border-top: 1px solid var(--line-strong); }

.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  flex: 0 0 auto;
  color: var(--green);
  content: "+";
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 36px 20px 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.85;
}

.faq-answer a { color: var(--green); border-bottom: 1px solid currentColor; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-light);
}

.footer-inner {
  display: flex;
  min-height: 98px;
  align-items: center;
  gap: 26px;
  padding: 22px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.footer-brand img {
  width: 21px;
  height: 21px;
  filter: invert(1);
  opacity: 0.84;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-left: auto;
}

.footer-nav a {
  color: rgba(250, 248, 240, 0.62);
  font-size: 0.79rem;
  transition: color 150ms ease;
}

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

.footer-copy {
  flex: 0 0 auto;
  color: rgba(250, 248, 240, 0.39);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.03em;
}

/* ---------- inner hero ---------- */
.page-hero {
  padding: clamp(52px, 7.5vw, 88px) 0 clamp(38px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: clamp(32px, 7vw, 88px);
}

.page-hero h1 {
  max-width: 12em;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6.2vw, 4.55rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.page-hero h1 em { color: var(--green); font-style: italic; font-weight: 500; }

.page-hero-desc {
  max-width: 48em;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.04em;
}

.page-hero-side {
  padding: 22px;
  border: 1px solid var(--line-strong);
  background: rgba(250, 248, 240, 0.46);
}

.page-hero-side dl { border-top: 1px solid var(--line); }

.page-hero-side dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.page-hero-side dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.04em;
}

.page-hero-side dd {
  font-size: 0.81rem;
  font-weight: 600;
  text-align: right;
}

.page-hero-side p {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.7;
}

/* ---------- download ---------- */
.download-version {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--ink);
  background: var(--lime-soft);
}

.download-version strong {
  font-family: var(--mono);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.download-version span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-align: right;
}

.download-version .live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.download-version .live::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  box-shadow: 0 0 0 3px rgba(28, 84, 60, 0.12);
}

.download-grid {
  display: grid;
  margin-top: 38px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.download-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: clamp(23px, 3vw, 30px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 248, 240, 0.4);
}

.download-card.is-primary {
  background: var(--ink);
  color: var(--paper-light);
}

.download-card.is-primary p,
.download-card.is-primary .download-note { color: rgba(250, 248, 240, 0.65); }

.download-card.is-primary .download-kicker { color: var(--lime); }

.download-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.download-card h3 {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 650;
  line-height: 1.25;
}

.download-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.8;
}

.download-note {
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.63rem;
  line-height: 1.7;
}

.download-card .btn {
  width: 100%;
  margin-top: auto;
  padding-inline: 12px;
  font-size: 0.82rem;
}

.download-card.is-primary .btn {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.download-card.is-primary .btn:hover { box-shadow: 5px 5px 0 var(--paper-light); }

.release-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.release-note a {
  color: var(--green);
  border-bottom: 1px solid currentColor;
  font-weight: 650;
}

/* steps on download */
.steps-grid {
  display: grid;
  margin-top: 38px;
  border-top: 1px solid var(--line-strong);
  counter-reset: step;
}

.step-row {
  display: grid;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
  grid-template-columns: 72px minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: 20px;
}

.step-row::before {
  color: var(--green);
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
}

.step-row h3 {
  font-size: 1rem;
  font-weight: 680;
  line-height: 1.55;
}

.step-row p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.code-block {
  display: block;
  overflow-x: auto;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper-light);
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.7;
  white-space: nowrap;
}

.checksum {
  display: grid;
  margin-top: 26px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  background: rgba(250, 248, 240, 0.54);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.checksum .mono { color: var(--muted); }

.checksum code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.71rem;
  line-height: 1.6;
}

.copy-btn {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}

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

.spec-table {
  width: 100%;
  margin-top: 34px;
  border-collapse: collapse;
  text-align: left;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  line-height: 1.65;
  vertical-align: top;
}

.spec-table th {
  width: 24%;
  color: var(--muted);
  background: rgba(250, 248, 240, 0.54);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---------- ranking ---------- */
.rank-hero h1 { max-width: 9.5em; }

.rank-hero h1 .year {
  display: inline-block;
  margin-right: 0.08em;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.44em;
  font-weight: 400;
  letter-spacing: -0.06em;
  vertical-align: top;
  transform: translateY(0.36em);
}

.rank-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(250, 248, 240, 0.48);
  font-size: 0.72rem;
  line-height: 1.3;
}

.pill::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.price-amount {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.airport-row-meta .row-price { line-height: 1.35; }

.row-price .price-label {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.row-price .price-amount {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 650;
}

.row-price .price-unit {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
}

.rank-featured {
  padding-top: clamp(48px, 6.5vw, 76px);
}

.rank-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.rank-section-head p {
  max-width: 29em;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.featured-grid {
  display: grid;
  margin-top: 32px;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.airport-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(21px, 2.8vw, 28px);
  border: 1px solid var(--line-strong);
  background: var(--paper-light);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.airport-card:hover {
  transform: translateY(-3px);
  box-shadow: 7px 7px 0 rgba(18, 22, 15, 0.1);
}

.airport-card--top {
  color: var(--paper-light);
  background:
    radial-gradient(rgba(255, 255, 255, 0.08) 0.6px, transparent 0.6px) 0 0 / 10px 10px,
    var(--green-deep);
  border-color: var(--green-deep);
}

.airport-card--top .airport-index { color: var(--lime); }
.airport-card--top .airport-sub,
.airport-card--top .airport-copy,
.airport-card--top .airport-stats dt { color: rgba(250, 248, 240, 0.6); }
.airport-card--top .airport-stats dd { color: var(--paper-light); }
.airport-card--top .airport-tags span { border-color: rgba(250, 248, 240, 0.22); color: rgba(250, 248, 240, 0.8); }
.airport-card--top .airport-stats { border-color: rgba(250, 248, 240, 0.18); }
.airport-card--top .airport-stats > div + div { border-color: rgba(250, 248, 240, 0.16); }
.airport-card--top .airport-stats > div { border-color: rgba(250, 248, 240, 0.16); }
.airport-card--top .airport-action { color: var(--ink); background: var(--lime); border-color: var(--lime); }

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

.airport-index {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.05em;
}

.airport-score {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  line-height: 1.2;
  white-space: nowrap;
}

.airport-score strong {
  display: block;
  color: inherit;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.06em;
  text-align: right;
}

.airport-card--top .airport-score { color: rgba(250, 248, 240, 0.65); }

.airport-title {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 1.92rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.airport-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.5;
}

.airport-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px;
}

.airport-tags span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.3;
}

.airport-copy {
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.75;
}

.airport-stats {
  display: grid;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.airport-stats > div {
  min-width: 0;
  padding: 11px 9px 11px 0;
  border-bottom: 1px solid var(--line);
}

.airport-stats > div + div {
  padding-left: 9px;
  border-left: 1px solid var(--line);
}

.airport-stats dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.02em;
}

.airport-stats dd {
  margin-top: 3px;
  font-size: 0.83rem;
  font-weight: 650;
  line-height: 1.35;
}

.airport-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 4px;
}

.airport-bottom .airport-verdict {
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.5;
}

.airport-card--top .airport-bottom .airport-verdict { color: rgba(250, 248, 240, 0.54); }

.airport-action {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid var(--ink);
  color: var(--paper-light);
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.airport-action:hover { color: var(--ink); background: var(--lime); }

.rank-list {
  display: grid;
  margin-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.airport-row {
  display: grid;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  gap: 22px;
  grid-template-columns: 45px minmax(160px, 0.7fr) minmax(200px, 1.25fr) 135px auto;
}

.airport-row .airport-index { padding-top: 3px; }

.airport-row-title h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.airport-row-title p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.airport-row-copy {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.airport-row-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1.5;
}

.airport-row-meta strong {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 650;
}

.airport-row .airport-action { min-width: 90px; }

.rank-footnote {
  margin-top: 22px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.7;
}

.rank-band--inline { margin-top: clamp(48px, 7vw, 74px); }

.rank-checklist {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
}

.check-item {
  display: grid;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 27px 1fr;
  gap: 10px;
}

.check-item .check-mark {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.check-item h3 {
  font-size: 0.98rem;
  font-weight: 680;
  line-height: 1.55;
}

.check-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

/* ---------- articles index ---------- */
.articles-hero h1 { max-width: 10em; }

.article-list {
  display: grid;
  margin-top: 40px;
  border-top: 1px solid var(--line-strong);
}

.article-row {
  display: grid;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  grid-template-columns: 72px minmax(0, 1fr) 155px;
  transition: background 160ms ease;
}

.article-row:hover { background: rgba(250, 248, 240, 0.5); }

.article-row-index {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.article-row h2 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.45vw, 1.78rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.article-row p {
  max-width: 46em;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.8;
}

.article-row-meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  line-height: 1.8;
  text-align: right;
}

.article-row-meta span { display: block; }

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

.article-hero {
  padding: clamp(48px, 7vw, 80px) 0 clamp(36px, 4.5vw, 52px);
  border-bottom: 1px solid var(--line);
}

.article-head {
  max-width: 900px;
}

.article-head h1 {
  font-family: var(--serif);
  font-size: clamp(2.45rem, 5.3vw, 4.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.article-head .article-summary {
  max-width: 40em;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
}

.article-meta-row .tag {
  padding: 5px 8px;
  border: 1px solid var(--line-strong);
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.7rem;
}

.article-layout {
  display: grid;
  align-items: start;
  min-width: 0;
  padding: clamp(42px, 6vw, 68px) 0 clamp(58px, 8vw, 94px);
  gap: clamp(42px, 8vw, 100px);
  grid-template-columns: minmax(0, 1fr) 260px;
}

.article-content {
  min-width: 0;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.015rem;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.article-content > p:first-child { font-size: 1.13rem; }

.article-content p + p { margin-top: 20px; }

.article-content h2 {
  margin: 48px 0 16px;
  scroll-margin-top: 104px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.8vw, 2.05rem);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.article-content h3 {
  margin: 32px 0 12px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
}

.article-content ul,
.article-content ol {
  margin: 18px 0 0;
  padding-left: 1.3em;
}

.article-content li { margin-top: 7px; }

.article-content li::marker { color: var(--green); }

.article-content a {
  color: var(--green);
  border-bottom: 1px solid rgba(28, 84, 60, 0.45);
}

.article-content strong { color: var(--ink); font-weight: 680; }

.article-content code {
  padding: 2px 5px;
  color: var(--ink);
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 0.84em;
}

.article-content pre {
  overflow-x: auto;
  margin: 20px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--paper-light);
  line-height: 1.65;
}

.article-content pre code { padding: 0; background: none; font-size: 0.76rem; }

.article-content blockquote {
  margin: 28px 0;
  padding: 20px 23px;
  border-left: 3px solid var(--green);
  background: rgba(250, 248, 240, 0.72);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.14rem;
  line-height: 1.8;
}

.article-content blockquote p + p { margin-top: 12px; }

.article-content .table-wrap {
  overflow-x: auto;
  margin-top: 22px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  line-height: 1.65;
}

.article-content th,
.article-content td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-content th {
  color: var(--muted);
  background: rgba(250, 248, 240, 0.6);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
}

.article-content hr {
  margin: 42px 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
}

.article-side {
  position: sticky;
  top: 104px;
}

.article-side-card {
  padding: 21px;
  border: 1px solid var(--line-strong);
  background: rgba(250, 248, 240, 0.46);
}

.article-side-card + .article-side-card { margin-top: 14px; }

.article-side-card h2 {
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 650;
  line-height: 1.4;
}

.article-side-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.75;
}

.article-side-card .arrow-link {
  margin-top: 15px;
  color: var(--green);
  font-size: 0.78rem;
}

.side-toc {
  display: grid;
  margin-top: 14px;
  gap: 8px;
}

.side-toc a {
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.5;
}

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

.article-side-card .rank-mini {
  display: block;
  margin-top: 14px;
  padding: 13px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--lime);
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.article-footer {
  max-width: 760px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.article-footer p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.8;
}

.article-nav {
  display: grid;
  max-width: 760px;
  margin-top: 22px;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.article-nav a {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(250, 248, 240, 0.4);
  transition: background 160ms ease;
}

.article-nav a:hover { background: var(--paper-light); }

.article-nav span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
}

.article-nav strong {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.45;
}

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .container { width: min(var(--max), calc(100% - 44px)); }
  .header-inner { gap: 18px; }
  .main-nav a { padding-inline: 9px; font-size: 0.86rem; }
  .main-nav .nav-rank { padding-inline: 11px; }
  .header-actions .btn { padding-inline: 14px; }
  .hero-grid { grid-template-columns: minmax(0, 1.06fr) minmax(330px, 0.94fr); gap: 38px; }
  .feature-item { min-height: 230px; }
  .airport-row { grid-template-columns: 40px minmax(150px, 0.65fr) minmax(180px, 1.1fr) 120px auto; gap: 17px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-rank-mini { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .release-card { min-height: auto; max-width: 620px; }
  .release-version { margin-top: 36px; }
  .intro-grid,
  .install-layout,
  .faq-layout,
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-side { max-width: 560px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .feature-item:nth-child(2) { border-right: 1px solid var(--line); }
  .feature-item { min-height: 195px; }
  .feature-item:nth-child(n+3) { padding-left: 0; }
  .feature-item:nth-child(4) { padding-left: 22px; }
  .rank-band { grid-template-columns: 1fr; }
  .rank-band-side { border-top: 1px solid rgba(250, 248, 240, 0.18); border-left: 0; }
  .rank-numbers { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .rank-numbers div { display: block; border-bottom: 0; }
  .rank-numbers span { display: block; margin-top: 7px; text-align: left; }
  .featured-grid { grid-template-columns: 1fr; }
  .airport-card--top .airport-stats { max-width: 460px; }
  .airport-row { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 13px 18px; }
  .airport-row-copy { grid-column: 2 / 3; }
  .airport-row-meta { grid-column: 3 / 4; grid-row: 1 / 2; align-items: flex-end; text-align: right; }
  .airport-row > .airport-action { grid-column: 3 / 4; grid-row: 2 / 3; align-self: end; }
  .airport-row-title { padding-top: 2px; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-side { position: static; }
  .article-side-card { max-width: 530px; }
  .article-side-card + .article-side-card { margin-top: 12px; }
  .step-row { grid-template-columns: 50px minmax(160px, 0.55fr) minmax(0, 1fr); gap: 15px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { min-height: 0; }
  .download-card .btn { margin-top: 24px; }
  .download-card + .download-card { border-top: 0; }
}

@media (max-width: 700px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 66px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-mark img { width: 21px; height: 21px; }
  .brand-type strong { font-size: 1.06rem; }
  .brand-type small { font-size: 0.53rem; }
  .header-actions .btn { display: none; }
  .header-rank-mini { display: none; }
  .mobile-menu { top: 67px; }
  .mobile-dock { display: grid; }
  .hero { padding-top: 42px; }
  .hero-title { font-size: clamp(2.9rem, 13.1vw, 4.15rem); }
  .hero-title .hero-title-sub { font-size: 0.73em; }
  .hero-deck { margin-top: 24px; font-size: 1.55rem; }
  .hero-desc { font-size: 0.94rem; }
  .hero-actions .btn { flex: 1 1 150px; padding-inline: 12px; font-size: 0.84rem; }
  .hero-facts li { flex-basis: 50%; padding: 11px 12px 11px 0; }
  .hero-facts li + li { padding-left: 12px; }
  .hero-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-facts li:nth-child(4) { padding-left: 12px; border-left: 1px solid var(--line); }
  .release-card { padding: 22px; box-shadow: 8px 8px 0 rgba(28, 84, 60, 0.2); }
  .release-version { margin-top: 30px; font-size: 3.25rem; }
  .release-specs { margin-top: 22px; }
  .release-specs div { padding-block: 11px; }
  .release-foot { margin-top: 24px; }
  .section { padding-block: 54px; }
  .section-title { font-size: 2rem; }
  .feature-grid { grid-template-columns: 1fr; border-left: 0; }
  .feature-item,
  .feature-item + .feature-item,
  .feature-item:nth-child(3),
  .feature-item:nth-child(4) {
    min-height: 0;
    padding: 19px 0;
    border-left: 0;
  }
  .feature-item h3 { margin-top: 12px; }
  .install-step { grid-template-columns: 42px 1fr; }
  .install-callout { display: block; padding: 18px; }
  .install-callout .btn { width: 100%; margin-top: 15px; }
  .notes-head { display: block; }
  .notes-head p { margin-top: 12px; }
  .notes-grid { grid-template-columns: 1fr; }
  .note-card { min-height: 250px; padding: 22px; }
  .note-card::after { top: 18px; right: 20px; }
  .rank-band-copy,
  .rank-band-side { padding: 26px 22px; }
  .rank-band h2 { font-size: 2.1rem; }
  .rank-band-actions .btn { flex: 1 1 160px; }
  .rank-numbers { gap: 8px; }
  .rank-numbers strong { font-size: 1.5rem; }
  .rank-numbers span { font-size: 0.68rem; }
  .faq-layout { gap: 26px; }
  .footer-inner { flex-wrap: wrap; gap: 12px 20px; padding-block: 22px; }
  .footer-nav { order: 3; width: 100%; gap: 4px 16px; margin-left: 0; }
  .footer-copy { margin-left: auto; }
  .page-hero { padding-top: 42px; }
  .page-hero h1 { font-size: clamp(2.55rem, 11.5vw, 3.45rem); }
  .page-hero-desc { font-size: 0.93rem; }
  .page-hero-side { padding: 18px; }
  .rank-section-head { display: block; }
  .rank-section-head p { margin-top: 12px; }
  .airport-card { padding: 20px; }
  .airport-title { font-size: 1.62rem; }
  .airport-stats dd { font-size: 0.76rem; }
  .airport-bottom { align-items: flex-end; }
  .airport-action { min-width: 88px; padding-inline: 12px; font-size: 0.74rem; }
  .airport-row { grid-template-columns: 30px minmax(0, 1fr) auto; padding: 22px 0; gap: 8px 12px; }
  .airport-row-copy { grid-column: 2 / 4; font-size: 0.78rem; }
  .airport-row-meta { grid-column: 3 / 4; grid-row: 1 / 2; font-size: 0.58rem; }
  .airport-row > .airport-action { grid-column: 2 / 4; grid-row: 3 / 4; justify-self: start; margin-top: 3px; }
  .airport-row-title h3 { font-size: 1.35rem; }
  .rank-checklist { grid-template-columns: 1fr; border-left: 0; }
  .check-item { padding: 18px 0; border-left: 0; }
  .article-row { grid-template-columns: 36px 1fr; padding: 22px 0; gap: 10px 12px; }
  .article-row-meta { grid-column: 2 / 3; text-align: left; display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .article-row-meta span { display: inline; }
  .article-head h1 { font-size: 2.2rem; }
  .article-head .article-summary { font-size: 0.94rem; }
  .article-content { font-size: 0.97rem; line-height: 1.9; }
  .article-content > p:first-child { font-size: 1.04rem; }
  .article-content h2 { margin-top: 38px; font-size: 1.65rem; }
  .article-nav { grid-template-columns: 1fr; }
  .article-footer { margin-top: 30px; }
  .article-layout { padding-top: 38px; }
  .download-version {
    display: grid;
    align-items: start;
    padding: 15px;
    gap: 8px;
    grid-template-columns: 1fr;
  }
  .download-version strong { font-size: 1.45rem; }
  .download-version .live { order: 2; }
  .download-version span { font-size: 0.7rem; text-align: left; }
  .download-version span:last-child { order: 3; }
  .download-grid { margin-top: 26px; }
  .download-card { padding: 21px; }
  .step-row { grid-template-columns: 36px 1fr; gap: 5px 10px; padding: 18px 0; }
  .step-row p,
  .step-row .code-block { grid-column: 2 / 3; }
  .step-row .code-block {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
  }
  .article-content pre { max-width: 100%; }
  .article-content pre code {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
  }
  .checksum { grid-template-columns: 1fr; padding: 17px; }
  .copy-btn { justify-self: start; }
  .spec-table th { width: 32%; padding: 11px 10px; }
  .spec-table td { padding: 11px 10px; }
}

@media (max-width: 390px) {
  .hero-title { font-size: 2.76rem; }
  .hero-title .hero-title-sub { font-size: 0.72em; }
  .hero-facts strong { font-size: 0.78rem; }
  .release-specs dd { font-size: 0.78rem; }
  .airport-stats dt { font-size: 0.52rem; }
  .airport-stats dd { font-size: 0.71rem; }
  .airport-bottom .airport-verdict { display: none; }
  .airport-bottom { justify-content: flex-start; }
}

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