/* ClashBar static site — original design */
:root {
  --bg: #f2f2ee;
  --bg-2: #e9e9e2;
  --surface: #fbfbf8;
  --white: #ffffff;
  --ink: #0d1521;
  --ink-2: #192433;
  --muted: #5e6977;
  --muted-2: #818b97;
  --line: #d9dad3;
  --line-soft: #e7e8e2;
  --blue: #2c5cf6;
  --blue-deep: #1c43cf;
  --blue-soft: #dce7ff;
  --sky: #edf3ff;
  --green: #0d9b62;
  --mint: #c9f6df;
  --amber: #f3cc55;
  --night: #0b1422;
  --night-2: #101d31;
  --paper: #f7f8f9;
  --max: 1180px;
  --display: clamp(2.9rem, 5.8vw, 4.75rem);
  --h2: clamp(2rem, 3.3vw, 3.15rem);
  --h3: clamp(1.1rem, 1.35vw, 1.28rem);
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", "Liberation Mono", Menlo, monospace;
  --radius: 20px;
  --radius-sm: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.wrap-narrow { width: min(calc(100% - 48px), 760px); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 18px; top: -90px; z-index: 300;
  padding: 11px 18px; background: var(--ink); color: #fff; border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }
.nowrap { white-space: nowrap; }
.mono { font-family: var(--mono); }

/* ---------- top line ---------- */
.topline {
  background: var(--night);
  color: #aebdd2;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topline-inner {
  min-height: 38px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.topline-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topline-left > span:not(.live-dot) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-dot {
  width: 7px; height: 7px; flex: none; border-radius: 50%;
  background: #40d99a; box-shadow: 0 0 0 4px rgba(64,217,154,.12);
}
.topline a {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 700; padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,.35);
}
.topline a:hover { color: #b9ccff; border-color: #b9ccff; }
.topline a::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--amber);
}

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 120;
  background: rgba(242,242,238,.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.head-inner {
  min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img {
  width: 40px; height: 40px; border-radius: 11px;
  box-shadow: 0 0 0 1px rgba(13,21,33,.09), 0 2px 8px rgba(13,21,33,.08);
  background: #fff;
}
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: 20px; font-weight: 800; letter-spacing: -.035em; }
.brand-text small { margin-top: 5px; color: var(--muted-2); font-size: 9.5px; letter-spacing: .1em; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 0 13px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: #44505f;
  transition: background .18s ease, color .18s ease;
}
.site-nav a:hover { background: rgba(13,21,33,.06); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); background: rgba(13,21,33,.07); }
.site-nav a.nav-rank {
  color: #fff; background: var(--blue); font-weight: 700;
  margin-left: 8px; padding-inline: 15px;
}
.site-nav a.nav-rank:hover { background: var(--blue-deep); color: #fff; }
.site-nav a.nav-rank[aria-current="page"] {
  background: var(--blue-deep); color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6);
}
.head-actions { display: flex; align-items: center; gap: 10px; }
.head-actions .btn { min-height: 40px; padding: 0 16px; font-size: 12.5px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--line); border-radius: 10px; background: transparent;
  position: relative; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 50%; width: 17px; height: 1.7px; background: var(--ink);
  transform: translateX(-50%); transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 21px; border: 1px solid transparent;
  border-radius: 10px; font-size: 13.5px; font-weight: 750;
  line-height: 1.2; letter-spacing: .01em; text-align: center;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #243246; }
.btn-paper { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-paper:hover { background: var(--sky); border-color: #c8d8ff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #c9cbc3; }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.4); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue-soft); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.3); background: transparent; }
.btn-outline-light:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: 12px; border-radius: 8px; }
.btn-wide { width: 100%; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 750; color: var(--blue-deep);
  border-bottom: 1px solid rgba(44,92,246,.3); padding-bottom: 3px;
}
.text-link:hover { border-color: var(--blue); }
.text-link.on-dark { color: #b9ccff; border-color: rgba(185,204,255,.35); }
.text-link.on-dark:hover { color: #fff; border-color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 70px 0 86px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(760px 520px at 84% 30%, rgba(44,92,246,.14), transparent 66%),
    radial-gradient(520px 340px at 3% 90%, rgba(243,204,85,.14), transparent 72%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(13,21,33,.14) .7px, transparent .7px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to right, transparent, #000 55%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 55%, transparent);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  gap: 42px; align-items: center;
}
.hero-copy { max-width: 640px; padding: 8px 0; }
.hero h1 {
  font-size: var(--display); line-height: 1.02; letter-spacing: -.055em;
  font-weight: 850; margin-bottom: 26px;
}
.hero h1 .line { display: block; }
.hero h1 .mark { position: relative; display: inline-block; z-index: 0; }
.hero h1 .mark::after {
  content: ""; position: absolute; left: -2%; right: -3%; bottom: 3%;
  height: 29%; background: var(--blue-soft); z-index: -1;
  transform: skewX(-6deg); border-radius: 2px;
}
.hero-lede {
  max-width: 555px; color: #505d6d; font-size: 16.5px; line-height: 1.95;
  margin-bottom: 30px;
}
.hero-lede strong { color: var(--ink); font-weight: 750; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; }
.hero-actions .btn { min-height: 50px; padding-inline: 22px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 9px 18px;
  color: #6f7a87; font-size: 12px; margin-bottom: 15px;
}
.hero-facts span { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: #aeb4b9;
}
.hero-note {
  display: flex; align-items: center; gap: 9px;
  color: #84909d; font-size: 12px;
}
.hero-note::before {
  content: ""; width: 26px; height: 1px; background: #b9bcb9;
}

/* menu bar scene */
.hero-stage { position: relative; isolation: isolate; }
.hero-stage::before {
  content: ""; position: absolute; z-index: -1;
  width: 410px; height: 410px; right: -80px; top: 38px;
  border-radius: 50%; background: #dfe8ff;
}
.hero-stage::after {
  content: ""; position: absolute; z-index: -1;
  inset: 16% 4% 5% 10%; border-radius: 40px;
  background: radial-gradient(circle at 50% 40%, rgba(44,92,246,.24), transparent 70%);
  filter: blur(26px);
}
.menu-scene {
  width: 100%; max-width: 545px; margin-left: auto;
  border: 1px solid #cdd4df; border-radius: 22px;
  background: #eef4ff; overflow: hidden;
  box-shadow: 0 38px 80px -34px rgba(13,21,33,.45), 0 2px 0 rgba(255,255,255,.8) inset;
  transform: rotate(.5deg);
}
.mac-menubar {
  height: 37px; padding: 0 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(250,251,253,.78); border-bottom: 1px solid rgba(13,21,33,.09);
  color: #374151; font-size: 10.5px;
  backdrop-filter: blur(8px);
}
.menubar-left, .menubar-right { display: flex; align-items: center; gap: 13px; white-space: nowrap; }
.menubar-left b { font-weight: 700; }
.menubar-left .apple-dot {
  width: 9px; height: 9px; border-radius: 50% 50% 45% 45%;
  background: #344050; display: inline-block;
}
.menubar-right .active {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(44,92,246,.11); color: #1c43b8;
  border-radius: 5px; padding: 3px 7px; font-weight: 700;
}
.menubar-right img { width: 15px; height: 15px; border-radius: 4px; }
.desktop {
  position: relative; min-height: 527px;
  padding: 29px 22px 24px;
  background:
    radial-gradient(340px 270px at 84% 12%, rgba(44,92,246,.28), transparent 72%),
    radial-gradient(280px 230px at 12% 92%, rgba(243,204,85,.3), transparent 70%),
    linear-gradient(145deg, #dbe7ff 0%, #f2f7ff 48%, #e9f0ff 100%);
}
.desktop::before {
  content: ""; position: absolute; inset: 0; opacity: .52;
  background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 92%);
}
.popover {
  position: relative; z-index: 2; width: min(100%, 405px); margin-left: auto;
  border-radius: 18px; overflow: hidden; color: #e8edf5;
  background: rgba(15,23,36,.97);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 55px -20px rgba(3,10,22,.65);
}
.pop-head { display: flex; align-items: center; gap: 10px; padding: 14px 15px 12px; }
.pop-head img { width: 34px; height: 34px; border-radius: 9px; background: #fff; }
.pop-id { min-width: 0; flex: 1; }
.pop-id strong { display: block; font-size: 15px; line-height: 1.2; letter-spacing: -.02em; }
.pop-id span { display: flex; align-items: center; gap: 5px; margin-top: 5px; color: #91a0b4; font-family: var(--mono); font-size: 8.5px; }
.pop-id i { width: 5px; height: 5px; border-radius: 50%; background: #42d99f; }
.pop-tools { display: flex; gap: 10px; color: #8f9caf; font-size: 11px; }
.mode-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
  margin: 0 14px; padding: 3px; border-radius: 9px; background: rgba(255,255,255,.06);
}
.mode-tabs span { text-align: center; padding: 6px 0; font-size: 10px; color: #9ba8ba; border-radius: 7px; }
.mode-tabs .on { background: rgba(255,255,255,.11); color: #fff; font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,.22); }
.pop-tabs {
  display: flex; gap: 16px; margin: 15px 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
  font-size: 10.5px; color: #8693a7;
}
.pop-tabs b { color: #fff; font-weight: 700; padding-bottom: 7px; border-bottom: 2px solid #4a78ff; }
.pop-tabs span { padding-bottom: 8px; }
.traffic { padding: 12px 15px 8px; }
.traffic-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.traffic-rate { font-size: 22px; line-height: 1; font-weight: 750; letter-spacing: -.04em; }
.traffic-rate small { font-size: 9px; color: #8c99ac; font-weight: 500; letter-spacing: 0; }
.traffic-sub { color: #818ea2; font-family: var(--mono); font-size: 8.5px; text-align: right; line-height: 1.9; }
.spark { width: 100%; height: 56px; margin: 3px 0 0; }
.pop-list { padding: 3px 15px 8px; }
.pop-row {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.055);
  font-size: 10.5px; color: #c5cedb;
}
.pop-row:last-child { border-bottom: 0; }
.row-mark {
  width: 17px; height: 17px; flex: none; border-radius: 5px;
  display: grid; place-items: center; font-size: 8px; font-weight: 800; color: #d9e5ff;
  background: rgba(74,120,255,.2); border: 1px solid rgba(74,120,255,.25);
}
.row-mark.amber { background: rgba(243,204,85,.14); border-color: rgba(243,204,85,.22); color: #ffdf83; }
.pop-row .val { margin-left: auto; color: #8190a5; font-family: var(--mono); font-size: 8.5px; }
.switch {
  width: 27px; height: 16px; margin-left: auto; border-radius: 99px;
  background: #3a4658; position: relative; flex: none;
}
.switch::after {
  content: ""; position: absolute; width: 12px; height: 12px; top: 2px; left: 2px;
  border-radius: 50%; background: #c4cdd9;
}
.switch.on { background: #2c5cf6; }
.switch.on::after { left: auto; right: 2px; background: #fff; }
.node-box {
  display: flex; align-items: center; gap: 9px;
  margin: 4px 15px 14px; padding: 9px 10px;
  border-radius: 9px; border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.045);
}
.node-flag {
  width: 25px; height: 20px; display: grid; place-items: center; flex: none;
  border-radius: 5px; background: #1d2d47; color: #a9c2ff;
  font-family: var(--mono); font-size: 8px; font-weight: 700;
}
.node-info { min-width: 0; }
.node-info b { display: block; font-size: 10px; line-height: 1.3; font-weight: 650; }
.node-info small { display: block; margin-top: 3px; color: #8090a6; font-family: var(--mono); font-size: 8px; }
.node-ms { margin-left: auto; color: #54daa4; font-family: var(--mono); font-size: 9px; font-weight: 700; }
.float-note {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 7px;
  background: #fff; color: #1b2635; border: 1px solid #dfe5ee;
  border-radius: 10px; padding: 9px 12px;
  font-size: 10.5px; font-weight: 700;
  box-shadow: 0 14px 32px -14px rgba(13,21,33,.4);
}
.float-note::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #18a86b;
}
.float-note.note-a { left: 8px; bottom: 103px; transform: rotate(-2deg); }
.float-note.note-b { right: 4px; top: 84px; transform: rotate(2deg); }
.float-note.note-b::before { background: var(--blue); }
.stage-caption {
  margin: 15px 6px 0 0; text-align: right;
  color: #8c959e; font-size: 10px; letter-spacing: .04em;
}

/* ---------- trust strip ---------- */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-inner {
  min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; padding-block: 12px;
}
.trust-label { color: var(--muted-2); font-size: 10.5px; letter-spacing: .12em; font-weight: 700; }
.trust-items { display: flex; align-items: center; gap: 10px 26px; flex-wrap: wrap; font-size: 12px; color: #455160; }
.trust-items span { display: inline-flex; align-items: center; gap: 7px; }
.trust-items span::before { content: ""; width: 5px; height: 5px; background: var(--blue); border-radius: 50%; }

/* ---------- common sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-paper { background: var(--surface); border-block: 1px solid var(--line); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr);
  gap: 42px; align-items: end; margin-bottom: 44px;
}
.section-head h2, .section-title {
  font-size: var(--h2); line-height: 1.1; letter-spacing: -.045em; font-weight: 820;
  max-width: 780px;
}
.section-head p, .section-intro {
  color: var(--muted); font-size: 14.5px; line-height: 1.9; max-width: 455px;
}
.section-head .head-link { justify-self: end; margin-bottom: 5px; }
.section-head.right-link { align-items: end; }

/* stats */
.stat-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 30px 28px; border-right: 1px solid var(--line);
  min-width: 0;
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; padding-right: 0; }
.stat strong {
  display: block; font-size: clamp(2.2rem, 3.4vw, 3.25rem);
  line-height: 1; letter-spacing: -.06em; font-weight: 850; margin-bottom: 11px;
}
.stat strong em { font-style: normal; font-size: .44em; letter-spacing: -.02em; color: var(--muted-2); margin-left: 2px; }
.stat span { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.stat b { color: var(--ink); font-weight: 700; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.bento-card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 27px 27px 25px;
}
.bento-card h3 { font-size: var(--h3); line-height: 1.35; letter-spacing: -.025em; font-weight: 780; margin-bottom: 8px; }
.bento-card p { color: var(--muted); font-size: 13.5px; line-height: 1.8; max-width: 540px; }
.bento-a { grid-column: span 7; grid-row: span 2; min-height: 430px; display: flex; flex-direction: column; background: var(--ink); color: #fff; border-color: var(--ink); }
.bento-a h3 { color: #fff; font-size: clamp(1.5rem, 2vw, 1.9rem); }
.bento-a p { color: #aeb9c8; }
.bento-b { grid-column: span 5; min-height: 208px; }
.bento-c { grid-column: span 5; min-height: 208px; }
.bento-d, .bento-e, .bento-f { grid-column: span 4; min-height: 188px; }
.bento-big-number {
  font-size: clamp(2.8rem, 4.4vw, 4.2rem); line-height: 1; letter-spacing: -.07em;
  font-weight: 850; margin-bottom: 12px;
}
.bento-big-number small { font-size: .27em; letter-spacing: 0; font-weight: 650; color: var(--muted-2); margin-left: 5px; }
.bento-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 24px; padding: 0 8px; border-radius: 6px;
  border: 1px solid var(--line); color: #53606e; background: #fafaf7;
  font-family: var(--mono); font-size: 9px; line-height: 1;
}
.chip.blue { color: var(--blue-deep); border-color: #ccd9fb; background: #f3f6ff; }
.chip.dark { color: #d8e4ff; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.chip.green { color: #087d50; border-color: #c7eedc; background: #f2fbf7; }
.console {
  margin-top: auto; border-radius: 13px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12); background: #111d2f;
}
.console-bar { display: flex; align-items: center; gap: 5px; padding: 9px 11px; border-bottom: 1px solid rgba(255,255,255,.08); }
.console-bar i { width: 5px; height: 5px; border-radius: 50%; background: #40506a; }
.console-bar i:first-child { background: #ff7d6b; }
.console-bar i:nth-child(2) { background: #f3cc55; }
.console-bar i:nth-child(3) { background: #40d99a; }
.console-bar span { margin-left: 6px; color: #6f8098; font-family: var(--mono); font-size: 8px; }
.console-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 13px;
  border-bottom: 1px solid rgba(255,255,255,.055); font-size: 10.5px; color: #c4cfde;
}
.console-row:last-child { border-bottom: 0; }
.console-row b { font-weight: 650; }
.console-row .state { margin-left: auto; font-family: var(--mono); font-size: 8.5px; color: #55d8a2; }
.console-row .state.neutral { color: #7f90a7; }
.mini-switch { width: 24px; height: 14px; border-radius: 99px; background: #2c5cf6; position: relative; flex: none; }
.mini-switch::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; right: 2px; top: 2px; }
.spec-list { display: grid; gap: 0; margin-top: 13px; }
.spec-list div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 11.5px; }
.spec-list div:last-child { border-bottom: 0; }
.spec-list span { color: var(--muted-2); }
.spec-list b { color: var(--ink); font-weight: 650; }
.lang-line { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 15px; }
.lang-line span { border: 1px solid var(--line); border-radius: 5px; padding: 3px 7px; font-size: 9.5px; color: #606c79; background: #fbfbf8; }

/* workflow */
.workflow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.workflow-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start;
}
.workflow-card h3 { font-size: 17px; letter-spacing: -.02em; margin-bottom: 8px; }
.workflow-card p { color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 360px; }
.workflow-mark {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--sky); color: var(--blue-deep); font-family: var(--mono); font-size: 12px; font-weight: 800;
}
.workflow-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-family: var(--mono); font-size: 9.5px; color: var(--muted-2); }
.workflow-foot i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }

/* ---------- airport cards ---------- */
.rank-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 420px at 82% 10%, rgba(44,92,246,.35), transparent 68%),
    radial-gradient(480px 320px at 8% 100%, rgba(243,204,85,.12), transparent 70%),
    var(--night);
  color: #fff; padding: 92px 0 88px;
}
.rank-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .27;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.rank-band .wrap { position: relative; z-index: 1; }
.rank-band .section-head h2 { color: #fff; }
.rank-band .section-head p { color: #aab8cc; }
.rank-band .text-link { color: #c0d0ff; border-color: rgba(192,208,255,.35); }
.rank-band .text-link:hover { color: #fff; border-color: #fff; }
.rank-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.air-card {
  display: flex; flex-direction: column; min-width: 0;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: 17px; padding: 22px;
  box-shadow: 0 18px 36px -30px rgba(13,21,33,.35);
}
.air-card.featured { border-top: 4px solid var(--blue); padding-top: 19px; }
.air-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.air-rank { font-family: var(--mono); font-size: 9px; color: var(--muted-2); letter-spacing: .08em; display: inline-flex; align-items: center; gap: 6px; }
.air-rank b { color: var(--blue-deep); font-size: 12px; letter-spacing: 0; }
.air-badge { display: inline-flex; align-items: center; min-height: 21px; padding: 0 7px; border-radius: 5px; background: #f2f5ff; border: 1px solid #d9e3ff; color: #3155bb; font-size: 9px; font-weight: 700; white-space: nowrap; }
.air-card h3 { font-size: 25px; line-height: 1.1; letter-spacing: -.045em; margin-bottom: 7px; }
.air-tagline { color: var(--muted); font-size: 12px; line-height: 1.6; margin-bottom: 16px; }
.air-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 9px; overflow: hidden; margin-bottom: 14px; }
.air-stats div { background: #fbfbf8; padding: 9px 10px; }
.air-stats span { display: block; color: var(--muted-2); font-size: 9px; margin-bottom: 2px; }
.air-stats b { display: block; font-size: 13px; line-height: 1.3; letter-spacing: -.02em; font-weight: 700; }
.air-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.air-tags span { border: 1px solid var(--line); border-radius: 5px; padding: 3px 6px; color: #66717e; font-size: 9px; background: #fcfcfa; }
.air-note { color: #64707e; font-size: 11px; line-height: 1.7; margin-bottom: 18px; }
.airport-go {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 42px; margin-top: auto;
  border-radius: 8px; background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 750; line-height: 1; letter-spacing: .02em;
  cursor: pointer; transition: background .18s ease, transform .18s ease;
  -webkit-user-select: none; user-select: none;
}
.airport-go:hover { background: var(--blue); transform: translateY(-1px); }
.rank-band .air-card { border-color: rgba(255,255,255,.18); }
.rank-band .air-card:hover { transform: translateY(-3px); transition: transform .2s ease; }

/* ---------- articles ---------- */
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.article-card {
  display: flex; flex-direction: column; min-height: 252px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 27px 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.article-card:hover { transform: translateY(-3px); border-color: #c5cbd4; box-shadow: 0 24px 45px -36px rgba(13,21,33,.4); }
.article-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.article-cat { color: var(--blue-deep); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.article-date { color: var(--muted-2); font-family: var(--mono); font-size: 9px; }
.article-card h3 { font-size: clamp(1.2rem, 1.8vw, 1.48rem); line-height: 1.35; letter-spacing: -.035em; margin-bottom: 11px; }
.article-card p { color: var(--muted); font-size: 12.5px; line-height: 1.8; margin-bottom: 20px; }
.article-card .text-link { margin-top: auto; align-self: flex-start; font-size: 12px; }
.article-index-head { margin-bottom: 36px; }
.post-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post-row {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) 130px;
  gap: 24px; align-items: center; padding: 27px 0; border-bottom: 1px solid var(--line);
}
.post-num { color: var(--muted-2); font-family: var(--mono); font-size: 11px; }
.post-row h2, .post-row h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.35; letter-spacing: -.03em; margin-bottom: 7px; }
.post-row p { color: var(--muted); font-size: 12.5px; line-height: 1.7; max-width: 650px; }
.post-row time { justify-self: end; color: var(--muted-2); font-family: var(--mono); font-size: 9px; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: 58px; align-items: start; }
.faq-intro h2 { font-size: var(--h2); line-height: 1.12; letter-spacing: -.045em; margin-bottom: 18px; }
.faq-intro p { color: var(--muted); font-size: 13.5px; line-height: 1.9; max-width: 340px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 42px 22px 0; font-size: 14.5px; font-weight: 700;
  letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 2px; top: 19px;
  width: 21px; height: 21px; border: 1px solid #c9cbc3; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--mono); font-size: 15px; font-weight: 400; color: #5e6977;
  transition: transform .2s ease, background .2s ease;
}
.faq-item[open] summary::after { content: "−"; background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-item p { color: var(--muted); font-size: 13px; line-height: 1.85; padding: 0 32px 24px 0; max-width: 680px; }

/* ---------- download band ---------- */
.download-band {
  position: relative; overflow: hidden;
  background: var(--blue); color: #fff; padding: 72px 0;
}
.download-band::after {
  content: ""; position: absolute; right: -80px; top: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 0 0 58px rgba(255,255,255,.045), 0 0 0 118px rgba(255,255,255,.025);
}
.download-band .wrap { position: relative; z-index: 1; }
.download-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.download-band h2 { font-size: clamp(2rem, 3.2vw, 3.1rem); line-height: 1.12; letter-spacing: -.045em; max-width: 640px; margin-bottom: 12px; }
.download-band p { color: #dbe5ff; font-size: 13.5px; line-height: 1.8; max-width: 500px; }
.download-band-actions { display: flex; gap: 9px; flex-wrap: wrap; flex: none; }
.download-band .btn { min-height: 48px; }

/* ---------- footer ---------- */
.site-foot { background: var(--night); color: #a8b4c5; border-top: 1px solid rgba(255,255,255,.08); }
.foot-inner { min-height: 132px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: 26px; }
.foot-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.foot-brand img { width: 32px; height: 32px; border-radius: 8px; background: #fff; }
.foot-brand strong { font-size: 17px; letter-spacing: -.03em; }
.foot-nav { display: flex; align-items: center; gap: 20px; font-size: 11.5px; flex-wrap: wrap; }
.foot-nav a { color: #b6c2d2; }
.foot-nav a:hover { color: #fff; }
.foot-copy { color: #6f8097; font-size: 10.5px; font-family: var(--mono); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(660px 420px at 90% 12%, rgba(44,92,246,.14), transparent 68%),
    radial-gradient(420px 320px at 4% 100%, rgba(243,204,85,.12), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 68px 0 64px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background-image: radial-gradient(rgba(13,21,33,.14) .7px, transparent .7px);
  background-size: 23px 23px;
  mask-image: linear-gradient(to right, transparent, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 70%, transparent);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.25rem); line-height: 1.06; letter-spacing: -.055em; font-weight: 850; max-width: 870px; }
.page-hero .lede { color: #4f5c6b; font-size: 15.5px; line-height: 1.9; max-width: 680px; margin-top: 20px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 25px; color: #687482; font-size: 11.5px; }
.page-meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.page-meta i.green { background: var(--green); }
.page-meta i.amber { background: #c99a13; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 50px; align-items: end; }
.page-side-note {
  border: 1px solid var(--line); background: rgba(255,255,255,.55);
  border-radius: 14px; padding: 20px;
}
.page-side-note .note-label { color: var(--blue-deep); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.page-side-note strong { display: block; font-size: 18px; letter-spacing: -.03em; line-height: 1.3; margin: 8px 0 8px; }
.page-side-note p { color: var(--muted); font-size: 11.5px; line-height: 1.75; }

/* ---------- download page ---------- */
.download-page-head { padding-bottom: 40px; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.download-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.download-card.recommended { border-color: #b9c9f6; box-shadow: 0 0 0 1px #dbe5ff inset; }
.download-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.download-card h2, .download-card h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.035em; margin-bottom: 5px; }
.download-card .arch { color: var(--muted-2); font-family: var(--mono); font-size: 9.5px; letter-spacing: .03em; text-transform: uppercase; }
.download-badge { display: inline-flex; align-items: center; flex: none; min-height: 22px; padding: 0 7px; border-radius: 5px; background: #eef3ff; border: 1px solid #d7e1ff; color: #2b50bb; font-size: 9px; font-weight: 750; white-space: nowrap; }
.download-badge.alt { background: #f7f7f4; border-color: var(--line); color: #65717e; }
.download-card p { color: var(--muted); font-size: 12.5px; line-height: 1.8; margin-bottom: 18px; }
.download-file { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: 18px; font-family: var(--mono); font-size: 9.5px; color: var(--muted-2); }
.download-file b { color: var(--ink); font-weight: 650; }
.download-card .btn { margin-top: auto; }
.download-card-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 11px; font-size: 10px; color: var(--muted-2); }
.download-card-links a { color: var(--blue-deep); border-bottom: 1px solid #ccd8f7; }
.brew-box {
  background: var(--night); color: #dbe6ff; border-radius: 14px;
  padding: 22px 24px; margin-top: 14px; position: relative; overflow: hidden;
}
.brew-box .brew-label { color: #7789a5; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; margin-bottom: 12px; }
.brew-code { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brew-code code { font-family: var(--mono); font-size: 12px; line-height: 1.8; white-space: pre-wrap; color: #eef3ff; }
.copy-btn { flex: none; min-height: 32px; padding: 0 11px; border-radius: 6px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #e8efff; font-family: var(--mono); font-size: 9px; cursor: pointer; }
.copy-btn:hover { background: rgba(255,255,255,.16); }
.install-steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.install-step { counter-increment: step; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.install-step::before { content: "0" counter(step); color: var(--blue-deep); font-family: var(--mono); font-size: 11px; font-weight: 700; padding-top: 3px; }
.install-step h3 { font-size: 16px; letter-spacing: -.02em; margin-bottom: 6px; }
.install-step p { color: var(--muted); font-size: 12.5px; line-height: 1.8; max-width: 720px; }
.install-step code { font-family: var(--mono); font-size: 11px; background: #eceee8; border-radius: 4px; padding: 1px 5px; }
.notice-box {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid #eadbaa; background: #fdf8e6; border-radius: 12px;
  padding: 18px 20px; margin-top: 22px;
}
.notice-box strong { display: block; font-size: 12.5px; margin-bottom: 4px; }
.notice-box p { color: #756b4c; font-size: 11.5px; line-height: 1.75; }
.notice-mark { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #f1d36e; color: #4e431d; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 800; }
.checksum-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.checksum-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 11.5px; }
.checksum-row span { color: var(--muted); font-family: var(--mono); font-size: 9.5px; }
.checksum-row a { color: var(--blue-deep); font-weight: 650; }

/* ---------- ranking page ---------- */
.rank-hero { padding-bottom: 54px; }
.rank-meta-box {
  border: 1px solid var(--line); background: rgba(255,255,255,.55);
  border-radius: 15px; padding: 22px;
}
.rank-meta-box .meta-big { color: var(--blue-deep); font-family: var(--mono); font-size: 32px; line-height: 1; font-weight: 750; letter-spacing: -.05em; }
.rank-meta-box .meta-big small { display: block; margin-top: 7px; color: var(--muted-2); font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0; line-height: 1.4; }
.rank-meta-box ul { list-style: none; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 11px; color: var(--muted); }
.rank-meta-box li { display: flex; align-items: center; gap: 8px; }
.rank-meta-box li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex: none; }
.method-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.method-inner { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 0; }
.method-lead { padding: 23px 24px 23px 0; border-right: 1px solid var(--line); }
.method-lead strong { display: block; font-size: 13px; letter-spacing: -.01em; margin-bottom: 4px; }
.method-lead span { color: var(--muted); font-size: 10.5px; }
.method-item { padding: 23px 18px; border-right: 1px solid var(--line); }
.method-item:last-child { border-right: 0; padding-right: 0; }
.method-item b { display: block; font-size: 11.5px; margin-bottom: 3px; }
.method-item span { color: var(--muted-2); font-size: 10px; line-height: 1.5; }
.rank-intro-section { padding: 78px 0 70px; }
.rank-intro-section .section-head { margin-bottom: 35px; }
.rank-stamp { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rank-stamp span { border: 1px solid var(--line); background: var(--surface); border-radius: 5px; padding: 4px 8px; color: #596573; font-size: 10px; }
.rank-featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rank-featured .air-card { box-shadow: 0 22px 45px -32px rgba(13,21,33,.35); }
.rank-full { padding-top: 62px; }
.rank-full .airport-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rank-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.rank-section-head h2 { font-size: clamp(1.8rem, 2.7vw, 2.4rem); letter-spacing: -.04em; line-height: 1.15; }
.rank-section-head p { color: var(--muted); font-size: 12px; max-width: 400px; text-align: right; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 12px; }
.compare-table caption { text-align: left; padding: 18px 20px; font-weight: 750; border-bottom: 1px solid var(--line); font-size: 13px; }
.compare-table th, .compare-table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.compare-table th { background: #f8f8f4; color: var(--muted-2); font-size: 9px; font-weight: 600; letter-spacing: .04em; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: #fcfcfa; }
.compare-table td b { font-weight: 700; }
.compare-table .price { font-family: var(--mono); font-size: 11px; }
.compare-table .fit { white-space: normal; min-width: 200px; color: var(--muted); }
.read-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.read-card { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 24px; }
.read-card .read-num { color: var(--blue-deep); font-family: var(--mono); font-size: 10px; font-weight: 700; margin-bottom: 18px; }
.read-card h3 { font-size: 16px; line-height: 1.4; letter-spacing: -.02em; margin-bottom: 8px; }
.read-card p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 38px; border-top: 1px solid var(--line); }
.checklist li { list-style: none; display: grid; grid-template-columns: 23px 1fr; gap: 10px; padding: 17px 0; border-bottom: 1px solid var(--line); color: #4f5c6b; font-size: 12.5px; line-height: 1.7; }
.checklist li::before { content: "✓"; color: var(--green); font-family: var(--mono); font-size: 12px; font-weight: 700; }
.rank-disclaimer {
  border-top: 1px solid var(--line); padding: 22px 0 0; margin-top: 44px;
  color: var(--muted-2); font-size: 10.5px; line-height: 1.9;
}
.rank-disclaimer b { color: #65717e; font-weight: 650; }

/* ---------- article pages ---------- */
.article-hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(620px 380px at 92% 0%, rgba(44,92,246,.11), transparent 70%),
    var(--surface);
  padding: 66px 0 52px;
}
.article-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.65rem); line-height: 1.15; letter-spacing: -.045em;
  font-weight: 830;
}
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 17px; margin-top: 21px; color: var(--muted-2); font-family: var(--mono); font-size: 10px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #b6bcc3; }
.article-meta span:first-child::before { background: var(--blue); }
.article-lede { margin-top: 18px; color: #566271; font-size: 15.5px; line-height: 1.95; max-width: 700px; }
.article-body { padding: 54px 0 76px; }
.prose { color: #303b49; font-size: 15px; line-height: 2.02; }
.prose > p { margin-bottom: 22px; }
.prose h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.95rem); line-height: 1.35; letter-spacing: -.035em;
  margin: 46px 0 16px; color: var(--ink);
}
.prose h3 { font-size: 17px; line-height: 1.5; letter-spacing: -.02em; margin: 30px 0 10px; }
.prose strong { color: var(--ink); font-weight: 750; }
.prose a { color: var(--blue-deep); border-bottom: 1px solid #c5d3f6; }
.prose a:hover { border-color: var(--blue); }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--blue); }
.prose blockquote {
  margin: 28px 0; padding: 18px 22px; border-left: 3px solid var(--blue);
  background: #edf2ff; border-radius: 0 9px 9px 0; color: #38465a;
  font-size: 13.5px; line-height: 1.9;
}
.prose blockquote p { margin: 0; }
.prose code {
  font-family: var(--mono); font-size: .86em; background: #e9ebe5;
  border: 1px solid #dcded7; border-radius: 4px; padding: 1px 5px;
}
.prose pre {
  margin: 24px 0; padding: 18px 20px; background: var(--night); color: #dce6f7;
  border-radius: 12px; overflow-x: auto; font-size: 12px; line-height: 1.8;
}
.prose pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 12.5px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: #f5f5f0; font-size: 10px; color: var(--muted-2); }
.prose .table-wrap { overflow-x: auto; }
.article-foot {
  margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.article-foot p { color: var(--muted-2); font-size: 11px; }
.article-callout {
  margin: 40px 0; padding: 24px;
  background: var(--night); color: #fff; border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.article-callout strong { display: block; font-size: 17px; letter-spacing: -.025em; margin-bottom: 4px; }
.article-callout span { color: #9fb0c7; font-size: 11.5px; line-height: 1.7; }
.article-callout .btn { flex: none; min-height: 40px; font-size: 12px; }
.article-related { margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--line); }
.article-related h2 { font-size: 17px; letter-spacing: -.02em; margin-bottom: 16px; }
.related-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.related-links a { border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 13px 15px; font-size: 12px; line-height: 1.5; }
.related-links a:hover { border-color: #bfcae6; background: #f8faff; }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: grid; place-items: center; padding: 80px 0; }
.error-inner { text-align: center; max-width: 560px; }
.error-code { font-size: clamp(3.5rem, 8vw, 4.75rem); line-height: .9; letter-spacing: -.08em; font-weight: 850; color: var(--blue); margin-bottom: 20px; }
.error-inner h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.04em; margin-bottom: 12px; }
.error-inner p { color: var(--muted); font-size: 14px; margin-bottom: 25px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { gap: 24px; }
  .hero-stage::before { width: 330px; height: 330px; right: -60px; }
  .desktop { padding: 24px 18px 22px; }
  .popover { width: 100%; }
  .float-note.note-a { left: 0; bottom: 94px; }
  .bento-a { grid-column: span 12; grid-row: auto; min-height: 390px; }
  .bento-b, .bento-c { grid-column: span 6; }
  .bento-d, .bento-e, .bento-f { grid-column: span 4; min-height: 180px; }
  .method-inner { grid-template-columns: 1.1fr repeat(4, 1fr); }
  .method-item { padding-inline: 13px; }
}

@media (max-width: 900px) {
  .wrap, .wrap-narrow { width: min(calc(100% - 36px), var(--max)); }
  .topline-inner { min-height: 34px; font-size: 11px; }
  .topline-left > span:not(.live-dot) { max-width: 220px; }
  .head-inner { min-height: 66px; gap: 14px; }
  .brand img { width: 35px; height: 35px; }
  .brand-text strong { font-size: 18px; }
  .brand-text small { font-size: 8px; }
  .site-nav {
    position: absolute; left: 18px; right: 18px; top: calc(100% + 8px);
    display: none; flex-direction: column; align-items: stretch; gap: 3px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    padding: 10px; box-shadow: 0 24px 48px -24px rgba(13,21,33,.38);
  }
  .site-nav.open { display: flex; }
  .site-nav a { justify-content: flex-start; min-height: 42px; padding-inline: 13px; border-radius: 8px; font-size: 13.5px; }
  .site-nav a.nav-rank { margin: 4px 0 0; justify-content: center; }
  .nav-toggle { display: block; }
  .head-actions .btn { display: none; }
  .hero { padding: 52px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 680px; }
  .hero-lede { max-width: 620px; }
  .hero-stage { max-width: 600px; margin-inline: auto; width: 100%; }
  .hero-stage::before { width: 300px; height: 300px; top: 10px; right: -40px; }
  .menu-scene { margin-inline: auto; transform: none; }
  .stage-caption { text-align: center; margin-right: 0; }
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .section-head .head-link { justify-self: start; margin-bottom: 0; }
  .stat { padding: 24px 18px; }
  .stat strong { font-size: clamp(2rem, 5vw, 2.7rem); }
  .workflow-grid { grid-template-columns: 1fr; }
  .rank-band { padding: 70px 0 66px; }
  .rank-preview, .rank-featured, .rank-full .airport-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: 1fr; }
  .post-row { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .post-row time { grid-column: 2; justify-self: start; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-intro p { max-width: 560px; }
  .download-band-inner { align-items: flex-start; flex-direction: column; gap: 24px; }
  .page-hero { padding: 50px 0 48px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-side-note { max-width: 520px; }
  .download-grid { grid-template-columns: 1fr; }
  .method-inner { grid-template-columns: repeat(2, 1fr); }
  .method-lead { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .method-item { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
  .method-item:nth-last-child(-n+2) { border-bottom: 0; }
  .method-item:last-child { padding-right: 0; }
  .read-grid { grid-template-columns: repeat(2, 1fr); }
  .rank-section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .rank-section-head p { text-align: left; }
  .checklist { grid-template-columns: 1fr; gap: 0; }
  .article-hero { padding: 52px 0 40px; }
  .article-body { padding: 42px 0 60px; }
}

@media (max-width: 620px) {
  .wrap, .wrap-narrow { width: min(calc(100% - 28px), var(--max)); }
  .topline-inner { min-height: 33px; gap: 10px; }
  .topline-left { gap: 6px; font-size: 10px; }
  .topline-left > span:not(.live-dot) { max-width: 150px; }
  .topline a { font-size: 10px; }
  .head-inner { min-height: 61px; }
  .brand { gap: 9px; }
  .brand img { width: 32px; height: 32px; border-radius: 9px; }
  .brand-text strong { font-size: 17px; }
  .brand-text small { display: none; }
  .nav-toggle { width: 38px; height: 38px; }
  .hero { padding: 40px 0 48px; }
  .hero h1 { margin-bottom: 20px; letter-spacing: -.05em; }
  .hero-lede { font-size: 14.5px; line-height: 1.85; margin-bottom: 24px; }
  .hero-actions { gap: 8px; margin-bottom: 22px; }
  .hero-actions .btn { min-height: 46px; width: 100%; }
  .hero-facts { gap: 7px 13px; font-size: 10.5px; }
  .hero-note { font-size: 10.5px; }
  .hero-stage::before { width: 230px; height: 230px; right: -50px; }
  .mac-menubar { height: 32px; padding-inline: 10px; }
  .menubar-left { gap: 9px; font-size: 9px; }
  .menubar-right { gap: 8px; font-size: 9px; }
  .menubar-right .active { padding: 2px 5px; }
  .menubar-right img { width: 13px; height: 13px; }
  .desktop { min-height: 488px; padding: 16px 12px 15px; }
  .popover { border-radius: 14px; }
  .pop-head { padding: 11px 11px 9px; }
  .pop-head img { width: 28px; height: 28px; }
  .pop-id strong { font-size: 13px; }
  .pop-id span { font-size: 7.5px; }
  .pop-tools { gap: 7px; font-size: 9px; }
  .mode-tabs { margin: 0 11px; }
  .mode-tabs span { font-size: 9px; padding: 5px 0; }
  .pop-tabs { gap: 12px; margin: 12px 11px 0; font-size: 9px; }
  .traffic { padding: 10px 11px 6px; }
  .traffic-rate { font-size: 19px; }
  .traffic-sub { font-size: 7.5px; }
  .spark { height: 44px; }
  .pop-list { padding: 2px 11px 6px; }
  .pop-row { font-size: 9.5px; padding: 6px 0; }
  .row-mark { width: 15px; height: 15px; font-size: 7px; }
  .switch { width: 24px; height: 14px; }
  .switch::after { width: 10px; height: 10px; }
  .node-box { margin: 3px 11px 11px; padding: 7px 8px; }
  .node-info b { font-size: 8.5px; }
  .node-info small { font-size: 7px; }
  .node-flag { width: 22px; height: 18px; font-size: 7px; }
  .float-note { font-size: 8.5px; padding: 7px 9px; }
  .float-note.note-a { bottom: 80px; left: -3px; }
  .float-note.note-b { top: 66px; right: 8px; }
  .stage-caption { font-size: 8.5px; margin-top: 11px; }
  .trust-inner { min-height: 0; padding-block: 15px; gap: 9px; }
  .trust-label { width: 100%; font-size: 9px; }
  .trust-items { gap: 6px 14px; font-size: 10.5px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 26px; }
  .section-head p, .section-intro { font-size: 13px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 14px; }
  .stat:nth-child(even) { padding-left: 18px; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .stat strong { margin-bottom: 7px; font-size: 2.1rem; }
  .stat span { font-size: 10px; }
  .bento { grid-template-columns: 1fr; gap: 10px; }
  .bento-a, .bento-b, .bento-c, .bento-d, .bento-e, .bento-f { grid-column: span 1; min-height: 0; }
  .bento-a { min-height: 380px; }
  .bento-card { padding: 22px; }
  .workflow-card { padding: 22px; grid-template-columns: 1fr 36px; gap: 16px; }
  .workflow-mark { width: 34px; height: 34px; border-radius: 9px; font-size: 10px; }
  .rank-band { padding: 52px 0; }
  .rank-preview, .rank-featured, .rank-full .airport-grid { grid-template-columns: 1fr; }
  .air-card { padding: 20px; }
  .air-card h3 { font-size: 23px; }
  .article-card { min-height: 0; padding: 22px; }
  .article-grid { gap: 10px; }
  .post-row { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .post-row time { grid-column: 1; }
  .post-num { display: none; }
  .faq-item summary { font-size: 13.5px; padding-right: 34px; }
  .faq-item p { font-size: 12px; padding-right: 10px; }
  .download-band { padding: 52px 0; }
  .download-band-inner { gap: 20px; }
  .download-band-actions { width: 100%; }
  .download-band-actions .btn { width: 100%; }
  .foot-inner { min-height: 0; gap: 20px; padding-block: 28px; align-items: flex-start; flex-direction: column; }
  .foot-nav { gap: 14px; }
  .page-hero { padding: 40px 0; }
  .page-hero .lede { font-size: 14px; }
  .page-hero-grid { gap: 22px; }
  .page-side-note { padding: 17px; }
  .download-page-head { padding-bottom: 30px; }
  .download-card { padding: 22px; }
  .download-card h2, .download-card h3 { font-size: 20px; }
  .download-card-head { flex-direction: column; gap: 8px; }
  .brew-box { padding: 18px; }
  .brew-code { align-items: flex-start; flex-direction: column; gap: 12px; }
  .brew-code code { font-size: 11px; }
  .install-step { grid-template-columns: 33px 1fr; gap: 12px; padding: 21px 0; }
  .install-step p { font-size: 12px; }
  .notice-box { padding: 15px; gap: 10px; }
  .checksum-row { flex-direction: column; align-items: flex-start; gap: 5px; }
  .rank-intro-section { padding: 52px 0 45px; }
  .rank-full { padding-top: 44px; }
  .rank-section-head h2 { font-size: 1.6rem; }
  .read-grid { grid-template-columns: 1fr; }
  .read-card { padding: 20px; }
  .compare-table th, .compare-table td { padding: 12px 14px; }
  .article-hero { padding: 42px 0 34px; }
  .article-lede { font-size: 14px; line-height: 1.9; }
  .article-body { padding: 34px 0 52px; }
  .prose { font-size: 14.5px; line-height: 1.98; }
  .prose h2 { margin-top: 38px; }
  .prose table { font-size: 11.5px; }
  .prose th, .prose td { padding: 8px 9px; }
  .article-callout { padding: 20px; }
  .article-callout .btn { width: 100%; }
  .related-links { grid-template-columns: 1fr; }
  .error-page { padding: 60px 0; }
}

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

/* article callout overrides inside prose */
.prose .article-callout strong { color: #fff; }
.prose .article-callout span { color: #c4d1e3; }
.prose .article-callout .btn { color: var(--ink); border-bottom: 0; }
.prose .article-callout .btn:hover { color: var(--ink); }
.prose .article-foot .text-link { color: var(--blue-deep); }
.prose .article-related .related-links a { color: var(--ink); border-bottom: 0; }
@media (max-width: 620px) {
  .float-note.note-b { display: none; }
}
@media (max-width: 380px) {
  .rank-prefix { display: none; }
  .topline-left > span:not(.live-dot) { max-width: 128px; }
}
