/* ==========================================================================
   OneOk VPN — hand-built editorial product site
   No frameworks, no external fonts, no tracking pixels beyond the required tag.
   ========================================================================== */

:root {
  --paper: #f4f1e9;
  --paper-2: #ebe6da;
  --paper-3: #e2dccd;
  --ink: #12140f;
  --ink-soft: #383b33;
  --muted: #5f6258;
  --muted-2: #63665c;
  --line: rgba(18, 20, 15, 0.13);
  --line-strong: rgba(18, 20, 15, 0.28);
  --blue: #1c3cff;
  --blue-deep: #0b1b8c;
  --cyan: #26c6e8;
  --orange: #f05a28;
  --dark: #0b0f14;
  --dark-2: #111820;
  --dark-text: #f0f2e9;
  --dark-muted: #9aa39a;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC",
    "Times New Roman", serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "IBM Plex Mono", Menlo, Consolas,
    monospace;
  --max: 1240px;
  --header-h: 76px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 30px 70px -34px rgba(11, 15, 20, 0.45);
}

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

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

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

::selection {
  background: var(--blue);
  color: var(--paper);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
table {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

[hidden] {
  display: none !important;
}

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

.shell-narrow {
  width: min(calc(100% - 56px), 920px);
  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 {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

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

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.serif {
  font-family: var(--serif);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

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

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

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

.btn-blue:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

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

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(18, 20, 15, 0.04);
}

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

.btn-paper:hover {
  background: #fff;
  border-color: #fff;
}

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

.btn-on-dark:hover {
  background: var(--cyan);
  border-color: var(--cyan);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 12.5px;
}

.btn-block {
  width: 100%;
}

.text-link {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.text-link:hover {
  text-decoration-thickness: 2px;
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(244, 241, 233, 0.86);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.site-head.is-scrolled,
.site-head.menu-open {
  background: rgba(244, 241, 233, 0.96);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(18, 20, 15, 0.14);
}

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

.brand-word {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-word span {
  color: var(--blue);
}

.brand-sub {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: 18px;
}

.nav a {
  position: relative;
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.head-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.rank-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 7px 18px -10px rgba(28, 60, 255, 0.8);
  transition: background 0.2s, transform 0.2s;
}

.rank-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(38, 198, 232, 0.18);
  animation: pill-pulse 2.4s infinite;
}

.rank-pill:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.head-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.head-cta:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

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

.menu-btn span {
  display: block;
  width: 15px;
  height: 1px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

.menu-open .menu-btn span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-open .menu-btn span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-btn span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-panel {
  display: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(18, 20, 15, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 20, 15, 0.055) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

.hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -180px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(28, 60, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 60px;
  align-items: center;
  padding: 74px 0 86px;
}

.hero-copy {
  position: relative;
}

.hero-title {
  max-width: 760px;
  font-family: var(--serif);
  font-size: clamp(2.9rem, 5.3vw, 4.75rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero-title em {
  display: block;
  font-style: normal;
  color: var(--blue);
}

.hero-lead {
  max-width: 590px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 17.5px;
  line-height: 1.88;
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 38px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-facts li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.hero-visual {
  position: relative;
  padding: 18px 0;
}

.console {
  position: relative;
  width: min(100%, 438px);
  margin-left: auto;
  padding: 20px 20px 18px;
  border-radius: 24px;
  background: var(--dark);
  color: var(--dark-text);
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
  transition: transform 0.5s var(--ease);
}

.console:hover {
  transform: rotate(0);
}

.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(240, 242, 233, 0.12);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.console-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.console-live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pill-pulse 2s infinite;
}

.console-dial {
  position: relative;
  width: min(100%, 310px);
  aspect-ratio: 1;
  margin: 18px auto 10px;
}

.dial-rings {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.dial-ring-spin {
  transform-origin: 160px 160px;
  animation: spin 34s linear infinite;
}

.dial-ring-spin.reverse {
  animation-direction: reverse;
  animation-duration: 46s;
}

.dial-core {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.dial-num {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 5vw, 4.5rem);
  line-height: 0.9;
  color: var(--paper);
}

.dial-status {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
}

.dial-tag {
  position: absolute;
  padding: 4px 8px;
  border: 1px solid rgba(240, 242, 233, 0.17);
  border-radius: 999px;
  color: rgba(240, 242, 233, 0.72);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  background: rgba(11, 15, 20, 0.7);
  backdrop-filter: blur(4px);
}

.dial-tag.t1 {
  top: 12%;
  left: 4%;
}

.dial-tag.t2 {
  top: 18%;
  right: 0;
}

.dial-tag.t3 {
  bottom: 15%;
  left: -2%;
}

.dial-tag.t4 {
  bottom: 8%;
  right: 4%;
}

.console-rows {
  border-top: 1px solid rgba(240, 242, 233, 0.12);
}

.console-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(240, 242, 233, 0.08);
  font-size: 12px;
}

.console-row span {
  color: var(--dark-muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.console-row strong {
  font-weight: 500;
  color: var(--paper);
}

.console-row strong em {
  font-style: normal;
  color: var(--cyan);
}

.console-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  color: var(--dark-muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.console-foot::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

.float-chip {
  position: absolute;
  z-index: 2;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 12px 26px -18px rgba(11, 15, 20, 0.4);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.float-chip strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.float-chip.one {
  top: 2%;
  left: -4%;
  transform: rotate(-4deg);
}

.float-chip.two {
  right: -5%;
  bottom: 6%;
  transform: rotate(3deg);
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 32s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-item::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------- sections ---------- */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 54px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 3.8vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 440px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.section-head .head-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head .head-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section-foot {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ---------- capabilities ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.cap-card {
  position: relative;
  min-height: 280px;
  padding: 34px 34px 38px;
  background: var(--paper);
  transition: background 0.3s var(--ease);
}

.cap-card:hover {
  background: var(--paper-2);
}

.cap-num {
  position: absolute;
  top: 24px;
  right: 26px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.cap-card h3 {
  margin-top: 48px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.cap-card p {
  max-width: 430px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.cap-rule {
  position: absolute;
  left: 34px;
  bottom: 30px;
  width: 44px;
  height: 2px;
  background: var(--blue);
}

/* ---------- dark steps ---------- */
.steps-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: var(--dark);
  color: var(--dark-text);
}

.steps-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(240, 242, 233, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(240, 242, 233, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 60% 30%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 60% 30%, black, transparent 78%);
}

.steps-section .section-head {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(240, 242, 233, 0.16);
  padding-bottom: 34px;
}

.steps-section .section-head h2 {
  color: var(--paper);
}

.steps-section .section-head p {
  color: var(--dark-muted);
}

.steps-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.step-card {
  padding: 38px 34px 12px 0;
  border-right: 1px solid rgba(240, 242, 233, 0.14);
}

.step-card + .step-card {
  padding-left: 34px;
}

.step-card:last-child {
  border-right: 0;
}

.step-num {
  color: var(--cyan);
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
}

.step-card h3 {
  margin-top: 30px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
}

.step-card p {
  margin-top: 12px;
  color: var(--dark-muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.step-card .step-line {
  width: 30px;
  height: 1px;
  margin-top: 24px;
  background: rgba(240, 242, 233, 0.32);
}

/* ---------- ranking teaser ---------- */
.rank-teaser {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background: var(--blue);
  color: #fff;
}

.rank-teaser::before,
.rank-teaser::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.rank-teaser::before {
  width: 560px;
  height: 560px;
  top: -260px;
  right: -120px;
}

.rank-teaser::after {
  width: 360px;
  height: 360px;
  bottom: -220px;
  left: -120px;
}

.rank-teaser-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 64px;
  align-items: center;
}

.rank-teaser h2 {
  max-width: 700px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.rank-teaser p {
  max-width: 570px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15.5px;
  line-height: 1.85;
}

.rank-teaser .btn {
  margin-top: 30px;
}

.rank-board {
  padding: 8px 24px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius-md);
  background: rgba(11, 15, 20, 0.13);
  backdrop-filter: blur(8px);
}

.rank-board-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rank-signal {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 38px;
  gap: 14px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.rank-signal:last-child {
  border-bottom: 0;
}

.rank-signal span {
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rank-signal .bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.rank-signal .bar i {
  display: block;
  height: 100%;
  background: var(--cyan);
}

.rank-signal strong {
  text-align: right;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

/* ---------- posts ---------- */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px 34px;
}

.post-card {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.post-cover {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  aspect-ratio: 1200 / 720;
}

.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.post-card:hover .post-cover img {
  transform: scale(1.035);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-card h3 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.post-card h3 a:hover {
  color: var(--blue);
}

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

.post-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-more:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

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

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

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

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 400;
  transition: transform 0.25s var(--ease);
}

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

.faq-a {
  max-width: 820px;
  padding: 0 50px 26px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

/* ---------- cta band ---------- */
.cta-band.cta-band--flat {
  margin-top: 56px;
  padding: 56px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.cta-band--flat::before,
.cta-band--flat::after {
  display: none;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(28, 60, 255, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band::before {
  width: 540px;
  height: 540px;
  top: -300px;
  left: -140px;
}

.cta-band::after {
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: -240px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-inner h2 {
  max-width: 780px;
  margin-inline: auto;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.cta-inner p {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 15.5px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.cta-note {
  margin-top: 22px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- footer ---------- */
.site-foot {
  padding: 46px 0 26px;
}

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

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.foot-brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.01em;
}

.foot-brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  padding-top: 6px;
  font-size: 12.5px;
}

.foot-nav a {
  color: var(--ink-soft);
}

.foot-nav a:hover {
  color: var(--blue);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 52px;
  border-bottom: 1px solid var(--line-strong);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(28, 60, 255, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb span {
  color: var(--muted-2);
}

.page-title {
  position: relative;
  max-width: 1000px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.page-lead {
  position: relative;
  max-width: 760px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.88;
}

.page-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- download ---------- */
.dl-section {
  padding: 68px 0 96px;
}

.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.dl-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.dl-card.is-primary {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--dark-text);
}

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

.dl-platform {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dl-card.is-primary .dl-platform {
  color: var(--dark-muted);
}

.dl-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  font-family: var(--serif);
  font-size: 18px;
}

.dl-card.is-primary .dl-icon {
  border-color: rgba(240, 242, 233, 0.3);
  color: var(--cyan);
}

.dl-card h2 {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.15;
}

.dl-card .dl-desc {
  max-width: 460px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.dl-card.is-primary .dl-desc {
  color: var(--dark-muted);
}

.dl-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.dl-card.is-primary .dl-meta {
  border-top-color: rgba(240, 242, 233, 0.14);
}

.dl-meta div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.dl-meta span {
  color: var(--muted);
}

.dl-card.is-primary .dl-meta span {
  color: var(--dark-muted);
}

.dl-meta strong {
  font-weight: 500;
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 26px;
}

.dl-note {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.7;
}

.dl-card.is-primary .dl-note {
  color: var(--dark-muted);
}

.dl-callout {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  font-size: 13px;
  line-height: 1.75;
}

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

.dl-callout .mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
}

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

.install-card {
  padding: 26px;
  border-top: 2px solid var(--ink);
  background: var(--paper);
}

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

.install-card h3 {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
}

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

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
}

.info-block h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
}

.info-block > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

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

.info-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.75;
}

.info-list li::before {
  content: "—";
  color: var(--blue);
  font-family: var(--mono);
}

.security-list {
  counter-reset: sec;
  margin-top: 22px;
}

.security-list li {
  position: relative;
  padding: 14px 0 14px 36px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  counter-increment: sec;
}

.security-list li::before {
  content: counter(sec, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

/* ---------- ranking page ---------- */
.ranking-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 0;
  border-bottom: 1px solid var(--line-strong);
}

.ranking-hero::before {
  content: "";
  position: absolute;
  top: -170px;
  right: -110px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(28, 60, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.ranking-title {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.ranking-lead {
  position: relative;
  max-width: 820px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.88;
}

.rank-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
  border-top: 1px solid var(--line-strong);
}

.rank-stat {
  padding: 20px 22px 24px 0;
  border-right: 1px solid var(--line);
}

.rank-stat:last-child {
  border-right: 0;
}

.rank-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1;
}

.rank-stat span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ranking-body {
  padding: 66px 0 96px;
}

.top-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.925fr 0.925fr;
  gap: 18px;
  align-items: stretch;
}

.airport-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.airport-card.is-top {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--dark-text);
}

.airport-card.is-top .airport-rank,
.airport-card.is-top .airport-latin,
.airport-card.is-top .airport-fact span,
.airport-card.is-top .airport-blurb,
.airport-card.is-top .airport-watch span {
  color: var(--dark-muted);
}

.airport-rank {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.airport-rank .top-mark {
  color: var(--cyan);
}

.airport-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.airport-name {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 2.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.1;
}

.airport-latin {
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.score-ring {
  position: relative;
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
}

.score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-ring .track {
  stroke: rgba(18, 20, 15, 0.12);
}

.airport-card.is-top .score-ring .track {
  stroke: rgba(240, 242, 233, 0.16);
}

.score-ring .value {
  stroke: var(--blue);
}

.airport-card.is-top .score-ring .value {
  stroke: var(--cyan);
}

.score-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
}

.airport-blurb {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.airport-facts {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.airport-card.is-top .airport-facts {
  border-top-color: rgba(240, 242, 233, 0.14);
}

.airport-fact {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
}

.airport-fact span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.airport-fact strong {
  font-weight: 500;
  text-align: right;
}

.airport-fact .monthly-ref {
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

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

.tag {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.airport-card.is-top .tag {
  border-color: rgba(240, 242, 233, 0.18);
  color: var(--dark-muted);
}

.airport-watch {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.7;
}

.airport-watch span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.airport-go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.airport-go:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

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

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

.airport-card.is-top {
  padding: 26px;
}

.airport-card.is-top .airport-name {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
}

.rank-list-section {
  position: relative;
}

.filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  margin: 52px 0 26px;
  padding: 13px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 233, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.filter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 11.5px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

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

.chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.filter-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sort-select {
  min-height: 34px;
  padding: 0 28px 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background-color: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11.5px;
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 14px) 14px, calc(100% - 9px) 14px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

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

.list-card {
  min-height: 330px;
  padding: 22px;
}

.list-card .airport-name {
  font-size: 1.9rem;
}

.list-card .score-ring {
  width: 58px;
  height: 58px;
}

.list-card .score-num {
  font-size: 1.2rem;
}

.list-card .airport-blurb {
  margin-top: 16px;
  font-size: 13.5px;
}

.list-card .airport-facts {
  margin-top: 14px;
  padding-top: 12px;
}

.list-card .airport-watch {
  display: none;
}

.list-card .airport-go {
  margin-top: 18px;
  min-height: 42px;
  font-size: 12.5px;
}

.ranking-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-sub {
  padding-top: 64px;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}

.split-head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.split-head p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.compare {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 12.5px;
  text-align: left;
}

.compare th,
.compare td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare th {
  background: var(--paper-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.compare tr:last-child td {
  border-bottom: 0;
}

.compare td:first-child {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.compare .name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}

.compare .score {
  color: var(--blue);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.method-card {
  padding: 22px 20px 24px;
  background: var(--paper);
}

.method-card .mono {
  color: var(--blue);
}

.method-card h3 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

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

.method-card .weight {
  display: block;
  margin-top: 14px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.price-card {
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.price-card .tier {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-card .amount {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.price-summary {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.price-summary strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  border-top: 1px solid var(--line-strong);
}

.checklist li {
  position: relative;
  padding: 15px 0 15px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--blue);
  border-bottom: 1.5px solid var(--blue);
  transform: rotate(-45deg);
}

.checklist li strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- article ---------- */
.article-hero {
  padding: 56px 0 42px;
  border-bottom: 1px solid var(--line-strong);
}

.article-title {
  max-width: 1000px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.article-dek {
  max-width: 760px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.85;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-cover {
  padding-top: 30px;
}

.article-cover img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.article-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 760px);
  gap: 64px;
  justify-content: center;
  padding: 58px 0 88px;
}

.article-toc {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  align-self: start;
}

.article-toc p {
  margin-bottom: 13px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-toc a {
  display: block;
  padding: 6px 0 6px 12px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  transition: color 0.2s, border-color 0.2s;
}

.article-toc a:hover {
  color: var(--ink);
}

.article-toc a.is-active {
  border-left-color: var(--blue);
  color: var(--blue);
}

.article-body {
  max-width: 760px;
  font-size: 17.5px;
  line-height: 1.95;
}

.article-body p {
  margin-bottom: 1.35em;
}

.article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-body a:hover {
  text-decoration-thickness: 2px;
}

.article-body h2 {
  margin: 2.25em 0 0.75em;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.4vw, 1.95rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--header-h) + 30px);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body blockquote {
  margin: 2em 0;
  padding: 20px 24px;
  border-left: 3px solid var(--blue);
  background: var(--paper-2);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.8;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body .table-wrap {
  margin: 1.8em 0;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.article-body table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.article-body th,
.article-body td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
}

.article-body th {
  background: var(--paper-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.article-body tr:last-child td {
  border-bottom: 0;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.35em;
  padding-left: 1.3em;
  list-style: disc;
}

.article-body li {
  margin-bottom: 0.45em;
}

.article-end {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-strong);
}

.article-end-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.article-cta {
  margin-top: 26px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--blue);
  color: #fff;
}

.article-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.3;
}

.article-cta p {
  max-width: 560px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.8;
}

.article-cta .btn {
  margin-top: 20px;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}

.post-nav.next-only a {
  grid-column: 2;
}

.post-nav.prev-only a {
  grid-column: 1;
}

.post-nav a {
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
}

.post-nav a:hover {
  border-color: var(--ink);
  background: var(--paper-2);
}

.post-nav span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-nav strong {
  display: block;
  margin-top: 7px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 100%;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--blue);
}

.article-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.article-share:hover {
  color: var(--blue);
}

/* ---------- articles index ---------- */
.articles-index {
  padding: 26px 0 96px;
}

.articles-index .posts-grid {
  margin-top: 36px;
}

/* ---------- sitemap / privacy / 404 ---------- */
.sitemap-section {
  padding: 60px 0 96px;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
}

.sitemap-group h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
}

.sitemap-group ul {
  margin-top: 4px;
}

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

.sitemap-group a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 0;
  font-size: 14px;
}

.sitemap-group a:hover {
  color: var(--blue);
}

.sitemap-group a span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.prose {
  padding: 56px 0 96px;
  max-width: 780px;
}

.prose h2 {
  margin: 2.2em 0 0.7em;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.3;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: 1.2em;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.9;
}

.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
  list-style: disc;
}

.prose li {
  margin-bottom: 0.5em;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.notfound {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding: 80px 0;
  overflow: hidden;
  text-align: center;
}

.notfound::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(28, 60, 255, 0.16);
  border-radius: 50%;
}

.notfound-inner {
  position: relative;
  z-index: 1;
}

.notfound-code {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 4.75rem);
  font-weight: 600;
  line-height: 1;
  color: var(--blue);
}

.notfound h1 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
}

.notfound p {
  max-width: 480px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.notfound .cta-actions {
  margin-top: 24px;
}

/* ---------- mobile bar ---------- */
.mobile-bar {
  display: none;
}

/* ---------- reveal ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- animations ---------- */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes pill-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .hero-grid {
    gap: 40px;
  }

  .console {
    max-width: 400px;
  }

  .float-chip.one {
    left: -2%;
  }

  .float-chip.two {
    right: -2%;
  }

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

  .airport-card.is-top:first-child {
    grid-column: 1 / -1;
  }

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

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

@media (max-width: 980px) {
  .nav {
    gap: 18px;
    margin-left: 8px;
  }

  .head-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 58px 0 70px;
  }

  .hero-title {
    max-width: 720px;
  }

  .hero-visual {
    display: flex;
    justify-content: flex-start;
    padding: 0;
  }

  .console {
    width: min(100%, 520px);
    margin-left: 0;
  }

  .float-chip {
    display: none;
  }

  .section-head,
  .split-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-head p {
    max-width: 620px;
  }

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

  .step-card {
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(240, 242, 233, 0.14);
  }

  .step-card + .step-card {
    padding-left: 0;
  }

  .step-card:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .step-num {
    font-size: 3.4rem;
  }

  .rank-teaser-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .rank-board {
    max-width: 520px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

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

  .article-toc {
    position: static;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper-2);
  }

  .article-toc p {
    margin-bottom: 8px;
  }

  .article-toc a {
    display: inline-block;
    padding: 4px 10px 4px 0;
    border-left: 0;
  }

  .article-toc a.is-active {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

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

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

  .money-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

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

  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 66px;
  }

  .shell,
  .shell-narrow {
    width: min(calc(100% - 36px), var(--max));
  }

  .site-head {
    height: var(--header-h);
  }

  .nav,
  .head-cta {
    display: none;
  }

  .head-right {
    gap: 8px;
  }

  .rank-pill {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .menu-btn {
    display: block;
  }

  .mobile-panel {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    display: none;
    padding: 18px 18px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 24px 40px -30px rgba(11, 15, 20, 0.35);
  }

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

  .mobile-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .mobile-panel a span {
    color: var(--muted-2);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .mobile-panel .btn {
    margin-top: 16px;
    border-bottom: 0;
  }

  .section,
  .steps-section {
    padding: 68px 0;
  }

  .rank-teaser {
    padding: 66px 0;
  }

  .cta-band {
    padding: 68px 0;
  }

  .page-hero {
    padding: 44px 0 40px;
  }

  .ranking-hero {
    padding-top: 44px;
  }

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

  .rank-stat:nth-child(2) {
    border-right: 0;
  }

  .rank-stat:nth-child(3),
  .rank-stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .rank-stat:nth-child(3) {
    padding-left: 0;
  }

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

  .airport-card.is-top:first-child {
    grid-column: auto;
  }

  .filter-bar {
    position: static;
    top: auto;
  }

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

  .list-card {
    min-height: auto;
  }

  .cap-grid,
  .posts-grid,
  .checklist {
    grid-template-columns: 1fr;
  }

  .cap-card {
    min-height: auto;
    padding: 28px 24px 34px;
  }

  .cap-card h3 {
    margin-top: 36px;
  }

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

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav.next-only a,
  .post-nav.prev-only a {
    grid-column: auto;
  }

  .article-title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

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

  .foot-top {
    flex-direction: column;
    gap: 26px;
  }

  .foot-nav {
    justify-content: flex-start;
    padding-top: 0;
  }

  .foot-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(244, 241, 233, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
  }

  .mobile-bar .rank {
    background: var(--blue);
    color: #fff;
  }

  .mobile-bar .download {
    border: 1px solid var(--line-strong);
    background: var(--paper);
    color: var(--ink);
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .progress {
    top: 0;
  }
}

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

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

  .brand-word {
    font-size: 17px;
  }

  .brand-sub {
    display: none;
  }

  .rank-pill {
    font-size: 11px;
    padding: 0 10px;
    gap: 6px;
  }

  .hero-title {
    font-size: clamp(2.55rem, 11vw, 3.4rem);
  }

  .hero-lead {
    font-size: 15.5px;
    line-height: 1.85;
  }

  .hero-actions .btn {
    flex: 1 1 150px;
  }

  .hero-facts {
    gap: 8px 14px;
    font-size: 9px;
  }

  .console {
    padding: 16px;
    border-radius: 18px;
  }

  .console-dial {
    width: min(100%, 260px);
  }

  .dial-num {
    font-size: 3.6rem;
  }

  .section-head h2,
  .split-head h2 {
    font-size: clamp(1.85rem, 7.6vw, 2.4rem);
  }

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

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

  .posts-grid {
    gap: 34px;
  }

  .post-card h3 {
    font-size: 1.55rem;
  }

  .dl-card {
    padding: 22px;
    min-height: auto;
  }

  .dl-card h2 {
    font-size: 1.7rem;
  }

  .dl-meta {
    grid-template-columns: 1fr;
  }

  .dl-actions .btn {
    flex: 1 1 100%;
  }

  .page-title {
    font-size: clamp(2.2rem, 10vw, 3.1rem);
  }

  .ranking-title {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }

  .ranking-lead {
    font-size: 15px;
  }

  .filter-inner {
    align-items: flex-start;
  }

  .filter-meta {
    width: 100%;
    justify-content: space-between;
  }

  .airport-card {
    padding: 20px;
  }

  .airport-card.is-top {
    padding: 22px;
  }

  .airport-name {
    font-size: 1.8rem;
  }

  .score-ring {
    width: 58px;
    height: 58px;
  }

  .score-num {
    font-size: 1.2rem;
  }

  .compare {
    min-width: 760px;
  }

  .article-hero {
    padding: 40px 0 32px;
  }

  .article-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

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

  .article-cover {
    padding-top: 20px;
  }

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

  .article-cta {
    padding: 22px;
  }

  .cta-inner h2 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .cta-actions .btn {
    flex: 1 1 180px;
  }

  .foot-bottom {
    font-size: 8px;
  }

  .mobile-bar a {
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .rank-pill {
    padding: 0 9px;
    font-size: 10px;
  }

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

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-facts li:nth-child(4) {
    display: none;
  }

  .airport-go {
    min-height: 44px;
  }
}

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

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

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-head,
  .mobile-bar,
  .progress,
  .article-toc,
  .site-foot,
  .rank-teaser,
  .cta-band {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .article-layout {
    display: block;
    padding: 0;
  }
}
