/* ==========================================================================
   Nextin 星拓 — static site stylesheet
   Palette: warm paper, ink, cobalt, sky. No external fonts or frameworks.
   ========================================================================== */

:root {
  --paper: #f7f5ef;
  --paper-2: #efece1;
  --paper-3: #e7e2d3;
  --card: #fffdf7;
  --ink: #11151f;
  --ink-2: #2b3140;
  --body: #3d4453;
  --muted: #646a76;
  --faint: #6f7581;
  --line: #ded8c8;
  --line-strong: #c8c0ab;
  --blue: #1d5cf0;
  --blue-deep: #123bb0;
  --blue-soft: #e7eeff;
  --sky: #8cc8ff;
  --navy: #0a1024;
  --navy-2: #121a34;
  --amber: #c47a17;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --mono: "SF Mono", "JetBrains Mono", "Roboto Mono", Menlo, Consolas,
    "Courier New", monospace;
  --max: 1200px;
  --header-h: 72px;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(17, 21, 31, .04), 0 8px 24px -18px rgba(17, 21, 31, .22);
  --shadow-lg: 0 30px 60px -32px rgba(10, 16, 36, .4);
}

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

[hidden] { display: none !important; }
body.nav-open { overflow: hidden; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.03em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 239, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 245, 239, .96);
}

.nav-shell {
  max-width: var(--max);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(17, 21, 31, .08), 0 4px 10px -4px rgba(17, 21, 31, .35);
}
.brand-word {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}
.brand-cn {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--muted);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 12px;
}
.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 0;
  white-space: nowrap;
  transition: color .18s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--ink); font-weight: 650; }

.nav-rank {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.nav-rank:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-1px);
}
.nav-rank-mini {
  display: none;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.nav-rank-mini:hover { color: var(--blue-deep); }
.nav-rank-mini .nav-rank-dot { width: 5px; height: 5px; box-shadow: none; }

.nav-rank-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 3px rgba(140, 200, 255, .22);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 24px; }
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.nav-panel {
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  z-index: 49;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 40px -30px rgba(10, 16, 36, .45);
  padding: 14px 28px 22px;
}
.nav-panel[hidden] { display: none; }
.nav-panel-inner { display: flex; flex-direction: column; }
.nav-panel-link {
  padding: 13px 2px;
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.nav-panel-link.is-active { color: var(--blue); font-weight: 650; }
.nav-panel-rank {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Buttons and small parts
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--blue); }
.btn-ghost {
  background: rgba(255, 253, 247, .6);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--card); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); }
.btn-outline-light {
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.arrow-free { text-decoration: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--ink-2);
  background: rgba(255, 253, 247, .7);
  white-space: nowrap;
}
.pill-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #33a06a;
  box-shadow: 0 0 0 2px rgba(51, 160, 106, .16);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(17, 21, 31, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 21, 31, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 78% at 68% 34%, #000 18%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 78% at 68% 34%, #000 18%, transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -220px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(29, 92, 240, .18), rgba(29, 92, 240, 0) 66%);
  pointer-events: none;
}
.hero-shell {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 78px 28px 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 52px;
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-title {
  font-size: clamp(2.45rem, 6.2vw, 78px);
  line-height: 1.04;
  letter-spacing: -.055em;
  font-weight: 780;
}
.hero-title .mark {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.hero-title .mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.02em;
  right: -.04em;
  bottom: .07em;
  height: .19em;
  background: var(--sky);
  border-radius: 2px;
  transform: skewX(-8deg);
}
.hero-lead {
  margin: 26px 0 0;
  max-width: 37em;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--body);
}
.hero-lead strong { color: var(--ink); font-weight: 650; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 42px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-facts > div {
  padding: 0 26px 0 0;
  margin: 0 26px 12px 0;
  border-right: 1px solid var(--line);
}
.hero-facts > div:last-child { border-right: 0; padding-right: 0; margin-right: 0; }
.hero-facts dt {
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 3px;
}
.hero-facts dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -.01em;
}
.hero-facts dd .mono { font-family: var(--mono); font-size: 13px; }

/* Phone illustration */

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 200, 255, .5), rgba(140, 200, 255, 0) 68%);
  filter: blur(6px);
}
.device {
  position: relative;
  width: 300px;
  aspect-ratio: 9 / 19.2;
  padding: 9px;
  border-radius: 44px;
  background: linear-gradient(155deg, #1b2338, #080b14 62%);
  box-shadow:
    0 50px 80px -34px rgba(10, 16, 36, .55),
    0 0 0 1px rgba(255, 255, 255, .09) inset,
    0 0 0 1px rgba(17, 21, 31, .35);
  transform: rotate(1.6deg);
  z-index: 2;
}
.device-screen {
  height: 100%;
  border-radius: 36px;
  background: linear-gradient(180deg, #f2f8ff 0%, #e7f1ff 46%, #dceaff 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 12px 13px 10px;
  color: #0d1526;
}
.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: #3c4c68;
}
.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 21px;
  border-radius: 999px;
  background: #080b14;
  z-index: 3;
}
.appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px 10px;
}
.appbar-title { font-size: 15px; font-weight: 750; letter-spacing: -.03em; }
.appbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(13, 21, 38, .08);
  font-size: 8px;
  color: #40506c;
}
.appbar-badge i {
  width: 4px; height: 4px; border-radius: 50%; background: #33a06a;
  font-style: normal;
}
.connect-card {
  position: relative;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(150deg, #2b6cf6, #1447c9 70%);
  color: #fff;
  box-shadow: 0 14px 26px -14px rgba(20, 71, 201, .7);
  overflow: hidden;
}
.connect-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -42px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(140, 200, 255, .25);
}
.connect-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.connect-label { font-size: 9px; letter-spacing: .08em; color: rgba(255, 255, 255, .66); }
.connect-state { font-size: 17px; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; }
.connect-node {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}
.connect-node b { font-size: 12px; font-weight: 600; }
.connect-node span { font-family: var(--mono); font-size: 9px; color: rgba(255, 255, 255, .7); }
.toggle {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
  position: relative;
  flex: 0 0 auto;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.node-list { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.node-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .66);
  border: 1px solid rgba(13, 21, 38, .05);
}
.node-row.is-on {
  background: #fff;
  border-color: rgba(29, 92, 240, .26);
  box-shadow: 0 5px 12px -8px rgba(29, 92, 240, .5);
}
.node-flag {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-family: var(--mono);
  font-size: 7.5px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.node-name { font-size: 9px; font-weight: 600; }
.node-sub { font-size: 7.5px; color: #61708c; }
.node-lat {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8px;
  color: #3c7a58;
}
.node-lat.is-slow { color: #b07a28; }
.usage-card {
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .66);
  border: 1px solid rgba(13, 21, 38, .05);
}
.usage-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 8px;
  color: #61708c;
}
.usage-top b { font-family: var(--mono); font-size: 8px; font-weight: 600; color: #0d1526; }
.usage-bar {
  height: 3px;
  margin-top: 6px;
  border-radius: 3px;
  background: rgba(13, 21, 38, .1);
  overflow: hidden;
}
.usage-bar span { display: block; width: 43%; height: 100%; background: var(--blue); border-radius: 3px; }
.usage-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 7px;
  color: #61708c;
}
.app-tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 9px 0 1px;
  font-size: 7px;
  color: #61708c;
  border-top: 1px solid rgba(13, 21, 38, .07);
}
.app-tabbar span { display: inline-flex; align-items: center; gap: 4px; }
.app-tabbar i {
  width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 3px;
  font-style: normal; opacity: .8;
}
.app-tabbar span.is-active { color: var(--blue); }

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(255, 253, 247, .94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  color: var(--ink-2);
  white-space: nowrap;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.float-chip b { font-weight: 650; color: var(--ink); }
.float-chip .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #33a06a;
}
.float-chip--a { top: 15%; right: -2%; animation: drift 7s ease-in-out infinite; }
.float-chip--b { bottom: 12%; left: -3%; animation: drift 8s ease-in-out infinite reverse; }
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */

.section {
  padding: 82px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section--tint { background: var(--paper-2); }
.section--tight { padding: 64px 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}
.section-title {
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.04em;
  max-width: 17em;
}
.section-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 34em;
  padding-bottom: 3px;
}
.section-lead a {
  color: var(--ink-2);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.section-lead a:hover { color: var(--blue-deep); }

/* Platform cards */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.platform-card {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, .55);
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
.platform-card:hover {
  background: var(--card);
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.platform-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-deep);
  margin-bottom: 40px;
}
.platform-icon svg { width: 21px; height: 21px; }
.platform-card h3 { font-size: 18px; letter-spacing: -.02em; }
.platform-ver {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--blue-deep);
  letter-spacing: .02em;
}
.platform-card p {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.platform-note {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--faint);
  line-height: 1.7;
}

/* Feature split */

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}
.feature-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.feature-intro .section-title { max-width: 12em; }
.feature-intro p {
  margin: 18px 0 0;
  max-width: 26em;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}
.feature-protocols {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.feature-protocols h3 {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span {
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 5px 8px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-2);
}
.feature-list { border-top: 1px solid var(--line-strong); }
.feature-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
}
.feature-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue);
  padding-top: 5px;
  letter-spacing: .04em;
}
.feature-item h3 { font-size: 19px; margin-bottom: 8px; }
.feature-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--body);
  max-width: 40em;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.step {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}
.step-no {
  font-family: var(--mono);
  font-size: 46px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.04em;
  color: var(--blue);
}
.step h3 { font-size: 18px; margin: 18px 0 8px; }
.step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}
.step p a { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.step p a:hover { color: var(--blue); }
.step-note {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  font-size: 13.5px;
  color: var(--muted);
}
.step-note b { color: var(--ink); font-weight: 650; }
.step-note a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 92, 240, .3);
  padding-bottom: 2px;
}
.step-note a:hover { border-bottom-color: var(--blue); }

/* --------------------------------------------------------------------------
   Ranking band (home)
   -------------------------------------------------------------------------- */

.rank-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: none;
  margin: 0;
  padding: 14px max(28px, calc((100% - 1200px) / 2 + 28px));
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: background .2s ease;
}
.rank-strip:hover { background: var(--blue-deep); }
.rank-strip-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--sky);
  border: 1px solid rgba(140, 200, 255, .35);
  border-radius: 999px;
  padding: 4px 9px;
  white-space: nowrap;
}
.rank-strip-text { font-size: 13.5px; font-weight: 550; }
.rank-strip-go {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--sky);
  border-bottom: 1px solid rgba(140, 200, 255, .5);
  padding-bottom: 1px;
  white-space: nowrap;
}

.rank-band {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  border-bottom: 1px solid var(--navy);
}
.rank-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(140, 200, 255, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(140, 200, 255, .055) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 74% 30%, #000, transparent 76%);
  mask-image: radial-gradient(ellipse 70% 80% at 74% 30%, #000, transparent 76%);
}
.rank-band::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -240px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 92, 240, .42), transparent 68%);
}
.rank-band-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: 64px;
  align-items: center;
}
.rank-band .section-title { color: #fff; max-width: 10em; }
.rank-band-lead {
  margin: 20px 0 0;
  max-width: 30em;
  font-size: 15px;
  line-height: 1.9;
  color: #a8b3c9;
}
.rank-band-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.rank-band-meta span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .02em;
  color: #c2cde1;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 5px 10px;
}
.rank-band-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.leader-list { border-top: 1px solid rgba(255, 255, 255, .16); }
.leader-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 17px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  text-decoration: none;
  transition: background .2s ease, padding-left .2s ease;
}
.leader-row:hover { background: rgba(255, 255, 255, .045); padding-left: 10px; }
.leader-rank {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--sky);
}
.leader-name { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.leader-name small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  color: #8e9bb4;
  letter-spacing: 0;
}
.leader-price {
  font-family: var(--mono);
  font-size: 14px;
  color: #fff;
  text-align: right;
}
.leader-price small {
  display: block;
  font-size: 10px;
  color: #8e9bb4;
}
.leader-foot {
  margin: 14px 0 0;
  font-size: 11.5px;
  color: #7f8ca6;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Article cards (home)
   -------------------------------------------------------------------------- */

.article-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  grid-column: span 4;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-strong);
  text-decoration: none;
  min-height: 190px;
}
.post-card.wide { grid-column: span 6; }
.post-card.narrow { grid-column: span 3; }
.post-card.half { grid-column: span 6; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--faint);
  letter-spacing: .02em;
}
.post-meta .post-no { color: var(--blue); }
.post-card h3 {
  font-size: 20px;
  line-height: 1.38;
  letter-spacing: -.025em;
  transition: color .2s ease;
}
.post-card.wide h3 { font-size: 25px; line-height: 1.3; }
.post-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.post-more {
  margin-top: auto;
  padding-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
}
.post-card:hover h3 { color: var(--blue-deep); }
.post-card:hover .post-more { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 2px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-sign {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.faq-sign::before,
.faq-sign::after {
  content: "";
  position: absolute;
  background: var(--ink-2);
  border-radius: 2px;
  transition: transform .22s ease, background .22s ease;
}
.faq-sign::before { left: 0; right: 0; top: 8px; height: 1.5px; }
.faq-sign::after { top: 0; bottom: 0; left: 8px; width: 1.5px; }
.faq-item[open] .faq-sign::after { transform: scaleY(0); }
.faq-item[open] summary { color: var(--blue-deep); }
.faq-item[open] .faq-sign::before,
.faq-item[open] .faq-sign::after { background: var(--blue); }
.faq-answer {
  max-width: 66ch;
  padding: 0 2px 22px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}
.faq-answer a { color: var(--blue-deep); text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Inner page intro
   -------------------------------------------------------------------------- */

.page-intro {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 62px 0 48px;
}
.page-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(17, 21, 31, .04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 21, 31, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 30% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 100% at 30% 0%, #000, transparent 75%);
  pointer-events: none;
}
.page-intro-inner { position: relative; z-index: 1; max-width: 860px; }
.page-intro h1 {
  font-size: clamp(2.3rem, 5.2vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.page-lead {
  margin: 20px 0 0;
  max-width: 46em;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--body);
}
.page-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 30px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.page-summary li {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 0 24px 10px 0;
  margin: 0 24px 0 0;
  border-right: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.page-summary li:last-child { border-right: 0; }
.page-summary b {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Download page
   -------------------------------------------------------------------------- */

.dl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 26px;
  align-items: start;
}
.store-card {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  border-radius: 26px;
  padding: 34px;
}
.store-card::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 92, 240, .5), transparent 68%);
}
.store-card > * { position: relative; z-index: 1; }
.store-head { display: flex; align-items: center; gap: 18px; }
.store-head img {
  width: 82px;
  height: 82px;
  border-radius: 19px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 36px -18px rgba(0, 0, 0, .8);
}
.store-name { font-size: 30px; line-height: 1.1; letter-spacing: -.035em; }
.store-sub { margin: 7px 0 0; font-size: 12px; color: #9aa7c0; line-height: 1.6; }
.store-free {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 9px;
  border: 1px solid rgba(140, 200, 255, .35);
  border-radius: 999px;
  font-size: 10.5px;
  color: var(--sky);
  font-family: var(--mono);
}
.store-copy {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: #b3bfd5;
}
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}
.store-actions .btn { min-height: 46px; }
.store-regions {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.store-regions p { margin: 0 0 9px; font-size: 11px; color: #8e9bb4; }
.region-links { display: flex; flex-wrap: wrap; gap: 7px; }
.region-links a {
  font-size: 11.5px;
  color: #dfe7f5;
  text-decoration: none;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  transition: border-color .2s ease, color .2s ease;
}
.region-links a:hover { border-color: var(--sky); color: var(--sky); }

.dl-side {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  padding: 26px;
}
.dl-side h2 { font-size: 19px; margin-bottom: 16px; }
.spec-list { margin: 0; }
.spec-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.spec-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-list dt { font-size: 12.5px; color: var(--muted); }
.spec-list dd {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--mono);
  text-align: right;
}
.dl-side-note {
  margin: 16px 0 0;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--faint);
}

.install-list {
  counter-reset: install;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.install-list li {
  counter-increment: install;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.install-list li::before {
  content: counter(install, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue);
  padding-top: 3px;
  letter-spacing: .04em;
}
.install-list h3,
.install-list p { grid-column: 2; }
.install-list h3 { font-size: 17px; margin-bottom: 6px; }
.install-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 56em;
}
.install-list strong { color: var(--ink); font-weight: 650; }

.table-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  overflow-x: auto;
}
.compat-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 13.5px;
}
.compat-table th,
.compat-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compat-table th {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--muted);
  background: rgba(239, 236, 225, .5);
  white-space: nowrap;
}
.compat-table tr:last-child td { border-bottom: 0; }
.compat-table td:first-child { font-weight: 650; white-space: nowrap; }
.compat-table code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--paper-2);
  padding: 2px 5px;
  border-radius: 4px;
}

.note-box {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid #efd9b4;
  border-radius: 14px;
  background: #fdf6e8;
}
.note-box-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #d9a95e;
  color: #9a6415;
  font-family: var(--mono);
  font-size: 12px;
}
.note-box h3 { font-size: 14.5px; margin-bottom: 5px; }
.note-box p { margin: 0; font-size: 13px; line-height: 1.8; color: #6f5a33; }
.note-box a { color: #7f4f09; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Ranking page
   -------------------------------------------------------------------------- */

.rank-criteria {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.criterion {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 17px 18px;
  background: rgba(255, 253, 247, .6);
}
.criterion b {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 8px;
}
.criterion h3 { font-size: 14px; margin-bottom: 4px; }
.criterion p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--muted); }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.airport-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.airport-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.airport-card.is-top {
  background: linear-gradient(180deg, #fffdf8 0%, #f1f6ff 100%);
  border-color: #c7d7f8;
}
.airport-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.airport-ident { display: flex; gap: 11px; min-width: 0; }
.airport-rank {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  min-width: 22px;
  padding-top: 4px;
}
.airport-card.is-top .airport-rank { color: var(--blue); }
.airport-name {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.025em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.top-badge {
  font-size: 9px;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: .06em;
  padding: 3px 6px;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  white-space: nowrap;
}
.airport-tagline {
  margin: 4px 0 0;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.6;
}
.airport-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  font-size: 10.5px;
  line-height: 1;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-2);
  background: rgba(255, 253, 247, .8);
  white-space: nowrap;
}
.tag.tag-blue { border-color: #c9d9f8; background: #eef4ff; color: var(--blue-deep); }
.airport-copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--body);
}
.airport-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
}
.airport-specs div { min-width: 0; }
.airport-specs dt {
  font-size: 10px;
  color: var(--faint);
  letter-spacing: .04em;
  margin-bottom: 2px;
}
.airport-specs dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.airport-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 2px;
}
.airport-note {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--faint);
  max-width: 12em;
}
.airport-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  flex: 0 0 auto;
}
.airport-link:hover { background: var(--blue); transform: translateY(-1px); }

.rank-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 40px 0 20px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rank-subtitle { font-size: 20px; letter-spacing: -.025em; }
.rank-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  white-space: nowrap;
}
.rank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.rank-grid .airport-card { min-height: 100%; }

.rank-footnote {
  margin: 26px 0 0;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--faint);
  max-width: 60em;
}

.risk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.risk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.risk-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.risk-list .risk-no {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  padding-top: 3px;
}
.risk-list h3 { font-size: 15px; margin-bottom: 4px; }
.risk-list p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
.risk-aside {
  padding: 24px;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
}
.risk-aside h3 { font-size: 20px; margin-bottom: 10px; }
.risk-aside p { margin: 0 0 18px; font-size: 13.5px; line-height: 1.85; color: #a8b3c9; }

/* --------------------------------------------------------------------------
   Articles archive
   -------------------------------------------------------------------------- */

.archive {
  border-top: 1px solid var(--line-strong);
}
.archive-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left .2s ease;
}
.archive-row:hover { padding-left: 8px; }
.archive-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue);
  padding-top: 4px;
}
.archive-main h2 {
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 6px;
  transition: color .2s ease;
}
.archive-row:hover .archive-main h2 { color: var(--blue-deep); }
.archive-main p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 56em;
}
.archive-date {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--faint);
  padding-top: 6px;
  white-space: nowrap;
}
.archive-tags {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Article page
   -------------------------------------------------------------------------- */

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  height: 2px;
  width: 0;
  background: var(--blue);
  transition: width .1s linear;
}
.article-head {
  position: relative;
  overflow: hidden;
  padding: 58px 0 40px;
  border-bottom: 1px solid var(--line);
}
.article-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(17, 21, 31, .04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 21, 31, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 100% at 20% 0%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 100% at 20% 0%, #000, transparent 72%);
  pointer-events: none;
}
.article-head-inner { position: relative; z-index: 1; max-width: 850px; }
.article-head h1 {
  font-size: clamp(2rem, 4.3vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -.045em;
}
.article-standfirst {
  margin: 18px 0 0;
  max-width: 58ch;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--body);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 16px;
  margin: 22px 0 0;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--faint);
}
.article-meta b {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 58px;
  align-items: start;
  padding: 48px 0 72px;
}
.article-body {
  max-width: 730px;
  font-size: 16.5px;
  line-height: 1.95;
  color: #262c39;
}
.article-body > p:first-child { margin-top: 0; }
.article-body p { margin: 0 0 19px; }
.article-body h2 {
  font-size: 26px;
  line-height: 1.35;
  margin: 46px 0 14px;
  letter-spacing: -.03em;
}
.article-body h3 {
  font-size: 19px;
  line-height: 1.45;
  margin: 32px 0 9px;
}
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body a {
  color: var(--blue-deep);
  text-decoration-color: rgba(18, 59, 176, .3);
  text-underline-offset: 3px;
}
.article-body a:hover { text-decoration-color: var(--blue-deep); }
.article-body ul,
.article-body ol {
  margin: 0 0 22px;
  padding-left: 1.35em;
}
.article-body li { margin: 8px 0; padding-left: .15em; }
.article-body li::marker { color: var(--blue); }
.article-body blockquote {
  margin: 30px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
  border-radius: 0 12px 12px 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.9;
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body code {
  font-family: var(--mono);
  font-size: .86em;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
}
.article-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 13px;
}
.article-body th,
.article-body td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.article-body th {
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--muted);
  font-weight: 500;
  background: rgba(239, 236, 225, .45);
}
.article-body td { font-variant-numeric: tabular-nums; }

.figure {
  margin: 30px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.figure-title {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--faint);
  margin: 0 0 12px;
  font-family: var(--mono);
}
.figure-cap {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--faint);
}
.flow {
  display: grid;
  gap: 8px;
}
.flow-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12.5px;
  line-height: 1.65;
}
.flow-step span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
  padding-top: 2px;
}
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.compare-col {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.compare-col h4 { font-size: 13px; margin: 0 0 7px; }
.compare-col p { margin: 0; font-size: 11.5px; line-height: 1.7; color: var(--muted); }
.compare-col.hot { border-color: #c7d7f8; background: #f1f6ff; }
.compare-col.hot h4 { color: var(--blue-deep); }

.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aside-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 18px;
}
.aside-card h2,
.aside-card h3 {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 10px;
}
.aside-card p { margin: 0; font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.aside-card .btn {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  font-size: 13px;
}
.aside-card--dark {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.aside-card--dark h2,
.aside-card--dark h3 { color: var(--sky); }
.aside-card--dark p { color: #a8b3c9; }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li { border-bottom: 1px solid var(--line); }
.aside-links li:last-child { border-bottom: 0; }
.aside-links a {
  display: block;
  padding: 9px 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
  text-decoration: none;
}
.aside-links a:hover { color: var(--blue); }
.article-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
}
.article-toc a {
  display: block;
  padding: 6px 0 6px 10px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  line-height: 1.5;
}
.article-toc a:hover,
.article-toc a.is-current {
  color: var(--blue-deep);
  border-left-color: var(--blue);
}

.article-cta { margin-top: 40px; }
.article-cta h2 { font-size: 22px; }
.article-end {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
  font-size: 12px;
  color: var(--faint);
  line-height: 1.7;
}
.related-block { padding: 0 0 76px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.related-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.related-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.related-card h3 { font-size: 15px; line-height: 1.5; }
.related-card span {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
}

/* CTA strip used on archive and download */

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 32px;
  border-radius: 22px;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 92, 240, .55), transparent 68%);
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { font-size: 24px; color: #fff; margin-bottom: 6px; }
.cta-strip p { margin: 0; font-size: 13.5px; color: #a8b3c9; line-height: 1.7; max-width: 42em; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--paper-2);
  padding: 36px 0 26px;
}
.footer-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
}
.footer-brand img { width: 26px; height: 26px; border-radius: 7px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a {
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
  letter-spacing: .01em;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .nav-shell { gap: 22px; }
  .nav-main { gap: 20px; margin-left: 4px; }
  .hero-shell { gap: 36px; }
  .hero-visual { min-height: 500px; }
  .device { width: 278px; }
}

@media (max-width: 980px) {
  .float-chip { display: none; }
  .nav-rank { display: none; }
  .nav-rank-mini { display: inline-flex; }
  .nav-toggle { display: inline-flex; margin-left: 0; }
  .nav-main { display: none; }
  .article-aside { grid-template-columns: 1fr; }
  .aside-card--toc { display: none; }
  .hero-shell {
    grid-template-columns: 1fr;
    padding-top: 58px;
    padding-bottom: 50px;
    gap: 30px;
  }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: 540px; margin-top: 4px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .section-lead { max-width: 46em; }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-layout { grid-template-columns: 1fr; gap: 28px; }
  .feature-intro { position: static; }
  .feature-intro .section-title { max-width: 16em; }
  .feature-protocols { max-width: 460px; }
  .rank-band-shell { grid-template-columns: 1fr; gap: 36px; }
  .rank-band .section-title { max-width: 16em; }
  .dl-grid { grid-template-columns: 1fr; }
  .rank-criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card, .post-card.narrow, .post-card.half { grid-column: auto; }
  .post-card.wide { grid-column: span 2; }
  .article-layout { grid-template-columns: 1fr; gap: 34px; }
  .article-body { max-width: 100%; }
  .article-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
  }
  .risk-grid { grid-template-columns: 1fr; gap: 28px; }
  .archive-row { grid-template-columns: 42px minmax(0, 1fr); }
  .archive-date { grid-column: 2; padding-top: 0; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .rank-strip { padding-left: 20px; padding-right: 20px; gap: 10px; }
  .rank-strip-text { font-size: 12.5px; }
  .rank-strip-go { font-size: 11.5px; }
  .wrap,
  .nav-shell,
  .hero-shell,
  .footer-shell { padding-left: 20px; padding-right: 20px; }
  .nav-shell { height: var(--header-h); }
  .nav-panel { padding-left: 20px; padding-right: 20px; }
  .brand img { width: 30px; height: 30px; }
  .brand-word { font-size: 17px; }
  .hero-shell { padding-top: 44px; padding-bottom: 38px; }
  .hero-title { font-size: clamp(2.35rem, 10.2vw, 3.9rem); }
  .hero-lead { font-size: 15.5px; margin-top: 20px; }
  .hero-actions .btn { min-height: 46px; padding: 0 20px; }
  .hero-facts { margin-top: 32px; }
  .hero-facts > div { padding-right: 18px; margin-right: 18px; }
  .hero-visual { min-height: 470px; }
  .device { width: 258px; }
  .float-chip { display: none; }
  .section { padding: 58px 0; }
  .section--tight { padding: 46px 0; }
  .platform-card { padding: 20px 18px; }
  .platform-icon { margin-bottom: 28px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step-no { font-size: 40px; }
  .step h3 { margin-top: 12px; }
  .post-card,
  .post-card.wide,
  .post-card.narrow,
  .post-card.half { grid-column: span 12; min-height: 0; }
  .post-card { padding-top: 16px; gap: 8px; }
  .post-card.wide h3 { font-size: 22px; }
  .article-grid { gap: 14px; }
  .rank-band { padding: 56px 0; }
  .leader-row { grid-template-columns: 30px minmax(0, 1fr) auto; padding: 14px 2px; }
  .leader-name { font-size: 15px; }
  .page-intro { padding: 44px 0 34px; }
  .page-intro h1 { font-size: clamp(2.2rem, 9vw, 3.3rem); }
  .page-lead { font-size: 15.5px; }
  .page-summary li { padding-right: 16px; margin-right: 16px; }
  .store-card { padding: 26px 22px; border-radius: 22px; }
  .store-head img { width: 68px; height: 68px; border-radius: 16px; }
  .store-name { font-size: 26px; }
  .dl-side { padding: 22px; }
  .compat-table { min-width: 500px; }
  .rank-criteria { gap: 10px; }
  .criterion { padding: 14px; }
  .rank-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .post-card.wide { grid-column: auto; }
  .rank-tools {
    position: static;
    margin-top: 28px;
  }
    .airport-card { padding: 20px; }
  .airport-name { font-size: 20px; }
  .airport-foot { gap: 10px; }
  .airport-note { max-width: none; }
  .article-head { padding: 42px 0 30px; }
  .article-head h1 { font-size: clamp(1.95rem, 8vw, 2.9rem); }
  .article-standfirst { font-size: 15.5px; }
  .article-layout { padding: 34px 0 54px; }
  .article-body { font-size: 16px; line-height: 1.92; }
  .article-body h2 { font-size: 23px; margin-top: 38px; }
  .article-aside { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .cta-strip { padding: 24px 22px; }
  .cta-strip h2 { font-size: 21px; }
  .archive-row { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
  .archive-main h2 { font-size: 19px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-nav { gap: 16px; }
  .footer-bottom { font-size: 9.5px; }
}

@media (max-width: 420px) {
  .hero-title { font-size: clamp(2.15rem, 10.8vw, 3rem); }
  .hero-visual { min-height: 440px; }
  .device { width: 238px; }
  .float-chip--b { display: none; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { width: 100%; }
  .page-summary { gap: 4px 0; }
  .rank-criteria { grid-template-columns: 1fr; }
  .airport-specs dd { font-size: 12.5px; }
  .compare { grid-template-columns: 1fr; }
}

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