/* Singboard for Mac 中文站 · 2026 */

:root {
  --paper: #f3f0e8;
  --paper-deep: #e9e4d8;
  --white: #fffdf8;
  --ink: #14151a;
  --ink-soft: #25262c;
  --muted: #64625d;
  --muted-light: #8a877f;
  --line: #d8d2c4;
  --line-dark: rgba(255, 255, 255, .16);
  --violet: #6f54db;
  --violet-deep: #4d36b0;
  --violet-soft: #dcd4ff;
  --acid: #dcff6e;
  --acid-deep: #b7de36;
  --danger: #a5533f;
  --shell: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(26, 24, 20, .13);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

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

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

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 21, 26, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 21, 26, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 72%);
}

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

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.shell {
  width: min(var(--shell), calc(100% - 56px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--acid);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

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

/* ---------- top line ---------- */

.topline {
  color: rgba(255, 255, 255, .78);
  background: var(--ink);
  font-size: 12.5px;
  line-height: 1.4;
}

.topline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 20px;
}

.topline p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.topline-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(220, 255, 110, .12);
}

.topline a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--acid);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.topline a:hover {
  color: #fff;
}

.topline-tag {
  display: inline-block;
  padding: 2px 7px;
  color: var(--ink);
  background: var(--acid);
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.5;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(243, 240, 232, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(20, 21, 26, .08);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.02em;
}

.brand-sub {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .02em;
}

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

.main-nav a {
  position: relative;
  padding: 8px 13px;
  border-radius: 999px;
  color: #4d4b46;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s ease, background .16s ease;
}

.main-nav a:hover {
  color: var(--ink);
  background: rgba(20, 21, 26, .06);
}

.main-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(20, 21, 26, .07);
  font-weight: 700;
}

.main-nav a.nav-airport {
  color: var(--violet-deep);
}

.main-nav a.nav-airport::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--violet);
  vertical-align: 2px;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 17px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.header-cta:hover {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 15px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

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

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

/* ---------- type and buttons ---------- */

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 750;
  line-height: 1.14;
  letter-spacing: -.035em;
}

.hero h1 {
  margin-bottom: 26px;
  font-size: clamp(2.8rem, 6.25vw, 4.75rem);
  line-height: .98;
  letter-spacing: -.06em;
}

.hero-brandline {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: .68em;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.05em;
}

.hero h1 .hero-line {
  display: block;
}

.hero h1 .accent {
  color: var(--violet);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -.05em;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.lede {
  color: #55534e;
  font-size: 17px;
  line-height: 1.82;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 0;
  color: #4e4c47;
  font-size: clamp(1rem, 1.45vw, 1.125rem);
  line-height: 1.82;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.btn-violet {
  color: #fff;
  background: var(--violet);
  border-color: var(--violet);
}

.btn-violet:hover {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.btn-outline {
  color: var(--ink);
  background: transparent;
  border-color: rgba(20, 21, 26, .28);
}

.btn-outline:hover {
  background: rgba(20, 21, 26, .06);
  border-color: var(--ink);
}

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

.btn-light:hover {
  background: var(--acid);
  border-color: var(--acid);
}

.btn-lg {
  min-height: 50px;
  padding: 13px 25px;
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--violet-deep);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(77, 54, 176, .35);
}

.text-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 0;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -260px;
  right: -220px;
  z-index: -1;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 84, 219, .16), rgba(111, 84, 219, 0) 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
}

.hero-copy {
  min-width: 0;
  padding-bottom: 46px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 12.5px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet);
}

.hero-visual {
  min-width: 0;
  padding-bottom: 46px;
}

.deck {
  position: relative;
  padding: 16px;
  color: #f7f4ec;
  background:
    radial-gradient(circle at 75% 0%, rgba(111, 84, 219, .32), transparent 45%),
    var(--ink);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.deck::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 19px;
  pointer-events: none;
}

.deck-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 5px 14px;
  color: rgba(255, 255, 255, .72);
  font-size: 11.5px;
}

.deck-dots {
  display: inline-flex;
  gap: 5px;
  margin-right: 2px;
}

.deck-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
}

.deck-app {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 650;
}

.deck-app img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

.deck-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 10px;
}

.deck-state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(220, 255, 110, .1);
}

.deck-route {
  position: relative;
  height: 340px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 36px 36px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
}

.route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.route-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 116px;
  padding: 16px 8px 13px;
  background: rgba(8, 9, 13, .78);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 18px;
  box-shadow: 0 0 0 8px rgba(111, 84, 219, .08), 0 18px 36px rgba(0, 0, 0, .32);
  transform: translate(-50%, -50%);
}

.route-core img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.route-core span {
  color: rgba(255, 255, 255, .6);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.route-chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 104px;
  padding: 9px 11px;
  background: rgba(20, 21, 26, .88);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  backdrop-filter: blur(8px);
}

.route-chip b {
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
}

.route-chip small {
  color: rgba(255, 255, 255, .48);
  font-size: 9px;
  line-height: 1.4;
}

.chip-tun {
  top: 42px;
  left: 23px;
}

.chip-proxy {
  top: 58px;
  right: 20px;
}

.chip-helper {
  bottom: 38px;
  left: 40px;
}

.chip-menu {
  right: 29px;
  bottom: 46px;
  border-color: rgba(220, 255, 110, .35);
}

.chip-menu b {
  color: var(--acid);
}

.deck-panels {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.deck-panel {
  min-width: 0;
  padding: 11px 13px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
}

.deck-panel span {
  display: block;
  color: rgba(255, 255, 255, .4);
  font-size: 9.5px;
  line-height: 1.4;
}

.deck-panel b {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: rgba(255, 255, 255, .86);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deck-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 4px 0;
  color: rgba(255, 255, 255, .34);
  font-size: 9.5px;
}

.deck-note span:last-child {
  color: rgba(220, 255, 110, .68);
  font-family: var(--font-mono);
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec-item {
  min-width: 0;
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}

.spec-item:first-child {
  padding-left: 0;
}

.spec-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.spec-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.01em;
}

.spec-item span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

/* ---------- sections ---------- */

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 72px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .7fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.section-head--stack {
  display: block;
  max-width: 760px;
}

.section-head--stack h2 {
  margin-bottom: 18px;
}

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

.section-head--row h2 {
  max-width: 750px;
  margin-bottom: 0;
}

.section-head--row .text-link {
  flex: 0 0 auto;
  margin-bottom: 6px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 56px;
  align-items: start;
}

.intro-copy h2 {
  max-width: 700px;
}

.intro-copy .lede {
  max-width: 660px;
}

.intro-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.principles {
  margin-top: 0;
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.principle-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--violet-deep);
  background: var(--violet-soft);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.principle h3 {
  margin-bottom: 4px;
  font-size: 16px;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.code-shell {
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(20, 21, 26, .13);
}

.code-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, .48);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.code-head-dots {
  display: inline-flex;
  gap: 5px;
  margin-right: 4px;
}

.code-head-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
}

.code-copy {
  margin-left: auto;
  padding: 4px 9px;
  color: rgba(255, 255, 255, .58);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 10px;
  cursor: pointer;
}

.code-copy:hover {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  color: #e8e3f9;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.8;
  tab-size: 2;
}

code {
  font-family: var(--font-mono);
}

p code,
li code {
  padding: 2px 5px;
  color: var(--violet-deep);
  background: rgba(111, 84, 219, .09);
  border-radius: 5px;
  font-size: .9em;
}

.code-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* ---------- feature cards ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 28px;
  overflow: hidden;
  background: rgba(255, 253, 248, .7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  max-width: 260px;
  font-size: 24px;
  line-height: 1.2;
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.feature-card .feature-foot {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: auto;
  padding-top: 30px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .02em;
}

.feature-card--acid {
  background: var(--acid);
  border-color: var(--acid);
}

.feature-card--acid p,
.feature-card--acid .feature-foot {
  color: rgba(20, 21, 26, .66);
}

.feature-card--violet {
  color: #fff;
  background: var(--violet);
  border-color: var(--violet);
}

.feature-card--violet p,
.feature-card--violet .feature-foot {
  color: rgba(255, 255, 255, .7);
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -48px;
  width: 152px;
  height: 152px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .13;
}

.feature-card:nth-child(2)::after {
  width: 190px;
  height: 190px;
  right: -55px;
  bottom: -65px;
}

.feature-card:nth-child(3)::after {
  width: 120px;
  height: 120px;
  right: 16px;
  bottom: -32px;
}

/* ---------- install section ---------- */

.install-section {
  color: #f5f2ea;
  background: var(--ink);
}

.install-section h2 {
  color: #fff;
}

.install-section .lede {
  color: rgba(255, 255, 255, .62);
}

.install-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
}

.install-copy .text-link {
  color: var(--acid);
  border-color: rgba(220, 255, 110, .4);
}

.install-copy .text-link:hover {
  color: #fff;
  border-color: #fff;
}

.install-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: install;
}

.install-step {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 17px;
  padding: 19px 0;
  border-top: 1px solid var(--line-dark);
}

.install-step:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.install-step::before {
  counter-increment: install;
  content: "0" counter(install);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--acid);
  border: 1px solid rgba(220, 255, 110, .35);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 10px;
}

.install-step h3 {
  margin: 3px 0 5px;
  color: #fff;
  font-size: 17px;
}

.install-step p {
  margin: 0;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  line-height: 1.75;
}

.install-step code {
  color: var(--acid);
  background: rgba(220, 255, 110, .08);
}

.install-panel {
  position: relative;
  padding: 10px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
}

.install-panel .code-shell {
  box-shadow: none;
  border-color: rgba(255, 255, 255, .1);
}

.install-panel-note {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  padding: 15px 16px;
  color: rgba(255, 255, 255, .58);
  background: rgba(220, 255, 110, .055);
  border: 1px solid rgba(220, 255, 110, .16);
  border-radius: 12px;
  font-size: 11.5px;
  line-height: 1.7;
}

.install-panel-note strong {
  flex: 0 0 auto;
  color: var(--acid);
  font-weight: 700;
}

.install-panel-note p {
  margin: 0;
}

/* ---------- airport band ---------- */

.airport-band {
  position: relative;
  padding: 0;
  color: #f5f2ea;
  background: var(--ink);
  overflow: hidden;
}

.airport-band::before {
  content: "";
  position: absolute;
  top: -160px;
  right: 14%;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(220, 255, 110, .18);
  border-radius: 50%;
  pointer-events: none;
}

.airport-band::after {
  content: "";
  position: absolute;
  top: -40px;
  right: 20%;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(111, 84, 219, .3);
  border-radius: 50%;
  pointer-events: none;
}

.airport-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(230px, .55fr);
  gap: 44px;
  align-items: center;
  padding-top: 52px;
  padding-bottom: 52px;
}

.airport-band h2 {
  max-width: 720px;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
}

.airport-band p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
  line-height: 1.8;
}

.airport-band-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.airport-band-actions .btn {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.airport-band-actions .btn:hover {
  background: #fff;
  border-color: #fff;
}

.airport-band-note {
  color: rgba(255, 255, 255, .4);
  font-size: 11.5px;
}

.airport-band-side {
  justify-self: end;
  min-width: 210px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.band-number {
  display: block;
  flex: 0 0 auto;
  white-space: nowrap;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: clamp(3.2rem, 6.4vw, 4.75rem);
  font-weight: 650;
  line-height: .9;
  letter-spacing: -.08em;
}

.band-number span {
  font-size: .35em;
  letter-spacing: 0;
}

.airport-band-side p {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
}

/* ---------- article cards ---------- */

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 28px;
  color: var(--ink);
  background: rgba(255, 253, 248, .58);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.article-card:hover {
  background: var(--white);
  border-color: rgba(111, 84, 219, .4);
  transform: translateY(-3px);
}

.article-card-index {
  position: absolute;
  top: 26px;
  right: 27px;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 11px;
}

.article-card h3 {
  max-width: 84%;
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.3;
}

.article-card p {
  max-width: 92%;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
  color: var(--muted-light);
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.article-card-meta .read {
  color: var(--violet-deep);
  font-weight: 700;
}

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

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

.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 64px;
  align-items: start;
}

.faq h2 {
  max-width: 420px;
}

.faq-side-note {
  max-width: 360px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.faq-side-note a {
  color: var(--violet-deep);
  font-weight: 700;
}

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

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

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

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

.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}

.faq-item[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
}

.faq-item p {
  max-width: 680px;
  margin: -4px 0 22px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

/* ---------- closing ---------- */

.closing {
  padding: 80px 0 0;
}

.closing-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 50px 52px;
  overflow: hidden;
  background: var(--violet);
  border-radius: 24px;
  color: #fff;
}

.closing-inner::after {
  content: "";
  position: absolute;
  right: 24%;
  bottom: -130px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  pointer-events: none;
}

.closing h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
}

.closing p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
}

.closing-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.closing-actions .btn-primary {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.closing-actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .42);
}

.closing-actions .btn-outline:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: 88px;
  color: rgba(255, 255, 255, .72);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 34px;
  padding-bottom: 22px;
}

.footer-brand {
  color: #fff;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.footer-brand .brand-name {
  color: #fff;
  font-size: 14px;
}

.footer-brand .brand-sub {
  color: rgba(255, 255, 255, .38);
  font-size: 10px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 20px;
}

.footer-nav a {
  color: rgba(255, 255, 255, .56);
  font-size: 12px;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 22px;
  color: rgba(255, 255, 255, .28);
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 10.5px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .4);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--acid);
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  padding: 72px 0 54px;
  border-bottom: 1px solid var(--line);
}

.page-hero-copy {
  max-width: 900px;
}

.page-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 5.8vw, 4.4rem);
  line-height: .99;
  letter-spacing: -.06em;
}

.page-hero .lede {
  max-width: 720px;
  margin-bottom: 0;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.page-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet);
}

/* ---------- download page ---------- */

.download-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .52fr);
  gap: 56px;
  align-items: end;
}

.release-stamp {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transform: rotate(1.2deg);
  box-shadow: 7px 9px 0 rgba(20, 21, 26, .06);
}

.release-stamp span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.release-stamp strong {
  display: block;
  margin: 5px 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  word-break: break-all;
}

.release-stamp small {
  display: block;
  padding-top: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  line-height: 1.6;
}

.download-section {
  padding-top: 68px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.download-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.download-card--primary {
  border-color: rgba(111, 84, 219, .45);
  box-shadow: inset 0 3px 0 var(--violet);
}

.download-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.download-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.arch-badge {
  display: inline-block;
  flex: 0 0 auto;
  padding: 4px 9px;
  color: var(--violet-deep);
  background: var(--violet-soft);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}

.download-card p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.download-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.download-specs div {
  padding: 11px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download-specs dt {
  color: var(--muted-light);
  font-size: 9.5px;
  line-height: 1.4;
}

.download-specs dd {
  margin: 3px 0 0;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.5;
}

.download-card .btn {
  margin-top: auto;
  width: 100%;
}

.download-hash {
  margin-top: 12px;
}

.download-hash summary {
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}

.hash-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
}

.hash-row code {
  flex: 1;
  padding: 8px 9px;
  overflow-wrap: anywhere;
  color: var(--muted);
  background: var(--paper);
  border-radius: 6px;
  font-size: 9.5px;
  line-height: 1.6;
}

.copy-mini {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 9.5px;
  cursor: pointer;
}

.copy-mini:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.direct-note {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 16px 18px;
  color: var(--muted);
  background: rgba(220, 255, 110, .18);
  border: 1px solid rgba(183, 222, 54, .38);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.7;
}

.direct-note strong {
  flex: 0 0 auto;
  color: var(--ink);
}

.direct-note p {
  margin: 0;
}

/* ---------- page blocks ---------- */

.page-section {
  padding: 74px 0;
}

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

.page-section h2 {
  max-width: 820px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.step-card {
  position: relative;
  padding: 24px;
  background: rgba(255, 253, 248, .56);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.step-card::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--violet);
}

.step-card h3 {
  font-size: 16px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.step-card code {
  color: var(--violet-deep);
  font-size: .88em;
  word-break: break-all;
}

.notice {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 28px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.notice h3 {
  margin: 0;
  font-size: 18px;
}

.notice p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.notice p + p {
  margin-top: 9px;
}

.two-col-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.two-col-copy h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.two-col-copy p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 8px 0 8px 18px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
}

/* ---------- ranking page ---------- */

.rank-hero {
  position: relative;
  padding: 70px 0 58px;
  overflow: hidden;
  color: #f5f2ea;
  background:
    radial-gradient(circle at 86% 20%, rgba(111, 84, 219, .45), transparent 32%),
    var(--ink);
}

.rank-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, .7), transparent 75%);
}

.rank-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, .55fr);
  gap: 44px;
  align-items: end;
}

.rank-hero h1 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.9rem, 6.3vw, 4.75rem);
  line-height: .96;
  letter-spacing: -.06em;
}

.rank-hero .lede {
  max-width: 700px;
  color: rgba(255, 255, 255, .62);
}

.rank-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .42);
  font-size: 11.5px;
}

.rank-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rank-hero-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acid);
}

.rank-map {
  position: relative;
  width: 100%;
  min-height: 218px;
  padding: 22px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}

.rank-map h2 {
  max-width: none;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .03em;
}

.rank-lane {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, .11);
  font-size: 11.5px;
}

.rank-lane strong {
  color: #fff;
  font-size: 11px;
  font-weight: 650;
}

.rank-lane span {
  color: rgba(255, 255, 255, .42);
}

.rank-lane i {
  display: block;
  height: 4px;
  margin-top: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
  border-radius: 99px;
}

.rank-lane i::after {
  content: "";
  display: block;
  width: var(--lane, 70%);
  height: 100%;
  background: var(--acid);
  border-radius: inherit;
}

.rank-lane:nth-child(3) i::after {
  background: var(--violet-soft);
}

.rank-lane:nth-child(4) i::after {
  background: #9ad7ff;
}

.rank-section {
  padding-top: 72px;
}

.rank-intro {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 54px;
  align-items: start;
  margin-bottom: 62px;
}

.rank-intro h2 {
  margin-bottom: 16px;
}

.rank-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.rank-method {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.rank-method div {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rank-method strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
}

.rank-method span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

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

.rank-head h2 {
  margin: 0;
}

.rank-head p {
  max-width: 390px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
  text-align: right;
}

.airport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.airport-grid + .rank-head {
  margin-top: 62px;
}

.airport-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.airport-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 25px;
  background: rgba(255, 253, 248, .72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.airport-card:hover {
  border-color: rgba(111, 84, 219, .4);
  box-shadow: 0 14px 35px rgba(20, 21, 26, .07);
  transform: translateY(-2px);
}

.airport-card--top {
  min-height: 390px;
  padding: 26px;
  background: var(--white);
}

.airport-card--top:first-child {
  border-top: 4px solid var(--violet);
}

.airport-card--top:nth-child(2) {
  border-top: 4px solid var(--acid-deep);
}

.airport-card--top:nth-child(3) {
  border-top: 4px solid #9ad7ff;
}

.airport-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}

.airport-head h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  letter-spacing: -.04em;
}

.airport-rank {
  flex: 0 0 auto;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
}

.airport-sub {
  min-height: 42px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.airport-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.airport-tags li {
  padding: 3px 8px;
  color: #4c4641;
  background: var(--paper-deep);
  border: 1px solid rgba(20, 21, 26, .05);
  border-radius: 999px;
  font-size: 10px;
  line-height: 1.5;
}

.airport-tags li:first-child {
  color: var(--violet-deep);
  background: var(--violet-soft);
}

.airport-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0 0 16px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.airport-specs div {
  padding: 9px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.airport-specs dt {
  color: var(--muted-light);
  font-size: 9px;
  line-height: 1.4;
}

.airport-specs dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
}

.airport-note {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.airport-note b {
  color: var(--ink);
  font-weight: 650;
}

.airport-go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding: 9px 16px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.airport-go:hover {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.airport-card--top .airport-go {
  min-height: 44px;
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.airport-card--top .airport-go:hover {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.rank-footnote {
  max-width: 800px;
  margin: 26px 0 0;
  color: var(--muted-light);
  font-size: 11px;
  line-height: 1.75;
}

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

/* ---------- article index ---------- */

.article-index-hero {
  padding: 72px 0 54px;
  border-bottom: 1px solid var(--line);
}

.article-index-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(2.9rem, 6vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.06em;
}

.article-index-hero p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.article-index { padding-top: 56px; }

.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.article-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 27px;
  color: var(--ink);
  background: rgba(255, 253, 248, .6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.article-row:hover {
  background: var(--white);
  border-color: rgba(111, 84, 219, .4);
  transform: translateY(-2px);
}

.article-row-no {
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
}

.article-row h2 {
  margin-bottom: 9px;
  font-size: clamp(1.3rem, 2.4vw, 1.68rem);
  line-height: 1.3;
}

.article-row p {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.article-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  color: var(--muted-light);
  font-size: 10.5px;
}

.article-row-meta span:last-child {
  color: var(--violet-deep);
  font-weight: 650;
}

/* ---------- article page ---------- */

.article-page {
  padding: 72px 0 0;
}

.article-header {
  max-width: 900px;
  margin-bottom: 48px;
}

.article-header h1 {
  margin-bottom: 23px;
  font-size: clamp(2.5rem, 5.4vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.article-dek {
  max-width: 790px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-top: 25px;
  color: var(--muted-light);
  font-size: 11px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(230px, 290px);
  gap: clamp(40px, 7vw, 92px);
  align-items: start;
  justify-content: center;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.article-body {
  font-size: 16px;
  line-height: 1.95;
}

.article-body > p:first-child::first-letter {
  float: left;
  margin: .06em .11em 0 0;
  color: var(--violet);
  font-size: 3.65em;
  font-weight: 750;
  line-height: .8;
}

.article-body p {
  margin: 0 0 24px;
  color: #34332f;
}

.article-body h2 {
  margin: 48px 0 17px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -.04em;
}

.article-body h3 {
  margin: 34px 0 12px;
  font-size: 19px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 25px;
  padding-left: 1.25em;
  color: #34332f;
}

.article-body li {
  margin-bottom: 9px;
  padding-left: 3px;
}

.article-body blockquote {
  margin: 30px 0;
  padding: 20px 24px;
  color: #45423c;
  background: rgba(220, 255, 110, .22);
  border-left: 3px solid var(--acid-deep);
  border-radius: 0 10px 10px 0;
}

.article-body blockquote p {
  margin: 0;
  color: inherit;
}

.article-body .code-shell {
  margin: 28px 0;
}

.article-body .code-caption {
  margin-top: -15px;
}

.article-callout {
  margin: 30px 0;
  padding: 22px 24px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.article-callout strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.article-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.article-aside {
  position: sticky;
  top: 96px;
}

.aside-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.aside-card h2 {
  margin-bottom: 12px;
  font-size: 17px;
  letter-spacing: -.02em;
}

.aside-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.aside-card .btn {
  width: 100%;
  min-height: 40px;
  padding: 9px 14px;
  font-size: 12px;
}

.aside-links {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.aside-links li {
  border-bottom: 1px solid var(--line);
}

.aside-links a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
  text-decoration: none;
}

.aside-links a:hover {
  color: var(--violet-deep);
}

.aside-airport {
  display: block;
  margin-top: 12px;
  padding: 20px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.aside-airport span {
  display: block;
  color: var(--acid);
  font-size: 10px;
}

.aside-airport strong {
  display: block;
  margin: 8px 0 14px;
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
}

.aside-airport em {
  display: inline-block;
  padding: 6px 11px;
  color: var(--ink);
  background: var(--acid);
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.article-footer {
  max-width: 1010px;
  margin: 58px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.article-footer h2 {
  margin-bottom: 18px;
  font-size: 23px;
}

.next-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.next-article {
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 253, 248, .6);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.next-article:hover {
  border-color: var(--violet);
}

.next-article span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted-light);
  font-size: 9.5px;
}

.next-article strong {
  display: block;
  font-size: 12.5px;
  line-height: 1.55;
}

/* ---------- sitemap ---------- */

.sitemap-section {
  padding: 64px 0 0;
}

.sitemap-group {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.sitemap-group:last-child {
  border-bottom: 1px solid var(--line);
}

.sitemap-group h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -.02em;
}

.sitemap-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-links li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(216, 210, 196, .6);
}

.sitemap-links li:last-child {
  border-bottom: 0;
}

.sitemap-links a {
  color: var(--ink);
  font-size: 13.5px;
  text-decoration: none;
}

.sitemap-links a:hover {
  color: var(--violet-deep);
  text-decoration: underline;
}

.sitemap-links span {
  flex: 0 0 auto;
  color: var(--muted-light);
  font-family: var(--font-mono);
  font-size: 9.5px;
}

/* ---------- 404 ---------- */

.not-found {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding: 80px 0;
  text-align: center;
}

.not-found-inner {
  max-width: 630px;
}

.not-found-code {
  display: block;
  margin-bottom: 18px;
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.08em;
}

.not-found h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
}

.not-found p {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- utilities ---------- */

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

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

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .main-nav a {
    padding-inline: 9px;
    font-size: 13px;
  }

  .header-inner {
    gap: 16px;
  }

  .hero-grid {
    gap: 32px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .airport-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .airport-card {
    padding: 21px;
  }

  .airport-sub {
    min-height: 58px;
  }

  .airport-card--top {
    min-height: 420px;
    padding: 22px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 690px) 250px;
    gap: 42px;
  }
}

@media (max-width: 900px) {
  .shell {
    width: min(var(--shell), calc(100% - 40px));
  }

  .topline p:first-child {
    display: none;
  }

  .topline-inner {
    justify-content: center;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(20, 21, 26, .14);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 14px;
  }

  .menu-toggle {
    display: block;
  }

  .header-cta {
    min-height: 36px;
    padding: 6px 13px;
    font-size: 12px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    padding-bottom: 30px;
  }

  .deck {
    max-width: 620px;
  }

  .spec-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-item {
    border-bottom: 1px solid var(--line);
  }

  .spec-item:nth-child(2n) {
    border-right: 0;
  }

  .spec-item:nth-child(2n + 1) {
    padding-left: 0;
  }

  .spec-item:nth-child(n + 3) {
    border-bottom: 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section {
    padding: 78px 0;
  }

  .install-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .airport-band-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .airport-band-side {
    justify-self: start;
    min-width: 0;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
    border-left: 0;
  }

  .band-number {
    font-size: 4rem;
  }

  .faq-inner,
  .rank-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq h2 {
    max-width: 640px;
  }

  .closing-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .download-hero-grid,
  .rank-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .release-stamp {
    max-width: 440px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-card h3 {
    max-width: 560px;
  }

  .feature-card .feature-foot {
    padding-top: 24px;
  }

  .article-grid,
  .article-list {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .article-aside {
    position: static;
  }

  .aside-airport {
    display: inline-block;
    min-width: 260px;
  }

  .airport-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .airport-card--top {
    min-height: 0;
  }

  .airport-sub {
    min-height: 0;
  }

  .rank-head {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .rank-head p {
    max-width: 600px;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(var(--shell), calc(100% - 32px));
  }

  .header-inner {
    min-height: 64px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-sub {
    font-size: 9.5px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-cta {
    min-height: 34px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .topline {
    font-size: 11px;
  }

  .topline-inner {
    min-height: 34px;
  }

  .topline-tag {
    display: none;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11.4vw, 3.75rem);
  }

  .hero-brandline {
    font-size: .66em;
    margin-bottom: 10px;
  }

  .hero-actions {
    gap: 9px;
  }

  .btn {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 13.5px;
  }

  .btn-lg {
    min-height: 46px;
    padding: 11px 19px;
    font-size: 13.5px;
  }

  .hero-meta {
    gap: 7px 12px;
    font-size: 10.5px;
  }

  .deck {
    padding: 11px;
    border-radius: 18px;
  }

  .deck-top {
    padding-bottom: 10px;
  }

  .deck-route {
    height: 300px;
  }

  .route-chip {
    min-width: 0;
    width: 84px;
    padding: 7px 8px;
  }

  .route-chip b {
    font-size: 10px;
  }

  .route-chip small {
    font-size: 8px;
  }

  .chip-tun {
    top: 30px;
    left: 12px;
  }

  .chip-proxy {
    top: 43px;
    right: 12px;
  }

  .chip-helper {
    bottom: 27px;
    left: 22px;
  }

  .chip-menu {
    right: 16px;
    bottom: 33px;
  }

  .route-core {
    width: 94px;
    padding: 12px 6px 10px;
    border-radius: 14px;
  }

  .route-core img {
    width: 38px;
    height: 38px;
  }

  .deck-panels {
    grid-template-columns: 1fr;
  }

  .deck-panel:nth-child(2) {
    display: none;
  }

  .spec-item {
    padding: 17px 16px;
  }

  .spec-item strong {
    font-size: 13px;
  }

  .spec-item span {
    font-size: 10.5px;
  }

  .section {
    padding: 62px 0;
  }

  .section-tight {
    padding: 54px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  h2 {
    font-size: clamp(1.8rem, 8.4vw, 2.55rem);
  }

  .lede,
  .hero-lede {
    font-size: 14.5px;
    line-height: 1.8;
  }

  .section-head p {
    font-size: 13px;
  }

  .section-head--row {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }

  .section-head--row .text-link {
    margin-bottom: 0;
  }

  .principle {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .code-head {
    padding: 10px 12px;
  }

  pre {
    padding: 16px;
    font-size: 11px;
  }

  .install-grid {
    gap: 30px;
  }

  .airport-band-inner {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .airport-band h2 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .airport-band-side {
    display: flex;
    align-items: end;
    gap: 20px;
  }

  .band-number {
    font-size: 3.4rem;
  }

  .airport-band-side p {
    margin: 0 0 5px;
    font-size: 10.5px;
  }

  .article-card {
    min-height: 0;
    padding: 23px;
  }

  .article-card h3 {
    max-width: 86%;
    font-size: 1.2rem;
  }

  .article-card p {
    max-width: 100%;
  }

  .faq-item summary {
    font-size: 14px;
  }

  .closing {
    padding-top: 56px;
  }

  .closing-inner {
    padding: 32px 24px;
    border-radius: 18px;
  }

  .closing-actions {
    gap: 8px;
  }

  .closing-actions .btn {
    padding-inline: 16px;
    font-size: 12.5px;
  }

  .site-footer {
    margin-top: 62px;
  }

  .footer-inner {
    padding-top: 28px;
  }

  .footer-nav {
    gap: 7px 15px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .page-hero {
    padding: 48px 0 38px;
  }

  .page-hero h1 {
    font-size: clamp(2.45rem, 10.8vw, 3.4rem);
  }

  .page-hero .lede {
    font-size: 14px;
  }

  .download-hero-grid {
    gap: 24px;
  }

  .release-stamp {
    transform: none;
  }

  .download-section {
    padding-top: 46px;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    padding: 24px;
  }

  .download-card h2 {
    font-size: 1.75rem;
  }

  .page-section {
    padding: 54px 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .notice {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px;
  }

  .two-col-copy {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rank-hero {
    padding: 50px 0 42px;
  }

  .rank-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .rank-hero .lede {
    font-size: 14px;
  }

  .rank-map {
    min-height: 0;
    padding: 18px;
  }

  .rank-section {
    padding-top: 52px;
  }

  .rank-intro {
    margin-bottom: 42px;
  }

  .rank-method {
    grid-template-columns: 1fr;
  }

  .airport-grid,
  .airport-list-grid {
    grid-template-columns: 1fr;
  }

  .airport-card,
  .airport-card--top {
    min-height: 0;
    padding: 22px;
  }

  .airport-head h3 {
    font-size: 1.65rem;
  }

  .airport-sub {
    min-height: 0;
  }

  .airport-go {
    min-height: 46px;
    font-size: 13.5px;
  }

  .rank-faq {
    padding-top: 52px;
  }

  .article-index-hero {
    padding: 50px 0 38px;
  }

  .article-index-hero h1 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }

  .article-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 22px;
  }

  .article-row h2 {
    font-size: 1.25rem;
  }

  .article-page {
    padding-top: 48px;
  }

  .article-header {
    margin-bottom: 34px;
  }

  .article-header h1 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .article-dek {
    font-size: 14.5px;
  }

  .article-layout {
    padding-top: 32px;
  }

  .article-body {
    font-size: 15.5px;
    line-height: 1.9;
  }

  .article-body h2 {
    font-size: 1.6rem;
  }

  .article-body > p:first-child::first-letter {
    font-size: 3em;
  }

  .article-footer {
    margin-top: 46px;
  }

  .next-articles {
    grid-template-columns: 1fr;
  }

  .article-aside {
    margin-bottom: 10px;
  }

  .aside-airport {
    display: block;
    min-width: 0;
  }

  .sitemap-section {
    padding-top: 44px;
  }

  .sitemap-group {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 0;
  }

  .sitemap-links li {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .not-found {
    padding: 60px 0;
  }

  .not-found-code {
    font-size: 3.4rem;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-brandline {
    font-size: .64em;
  }

  .header-cta {
    padding-inline: 9px;
    font-size: 10.5px;
  }

  .brand-sub {
    display: none;
  }

  .route-chip {
    width: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.rank-map-title {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .03em;
}

.rank-map-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .33);
  font-size: 9.5px;
  line-height: 1.6;
}

.article-body,
.article-aside,
.article-layout > * {
  min-width: 0;
}

.article-body .code-shell,
.article-body pre {
  max-width: 100%;
}

.install-grid > *,
.two-col-copy > *,
.download-hero-grid > *,
.rank-hero-grid > *,
.intro-grid > *,
.code-shell {
  min-width: 0;
}

pre {
  max-width: 100%;
}
