/* Stelliberty Android — signal-blue editorial system.
   All type is capped at 76px. */

:root {
  --paper: #f7f5ee;
  --paper-2: #eeece3;
  --white: #fffefa;
  --ink: #111418;
  --ink-2: #1b2028;
  --muted: #5f666d;
  --muted-2: #858a8f;
  --line: #d6d2c6;
  --line-dark: #2e343b;
  --blue: #1749e6;
  --blue-bright: #2d63ff;
  --blue-deep: #0a2b93;
  --sky: #dce6ff;
  --acid: #e3ff62;
  --orange: #ff5b32;
  --mint: #dff0e2;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", Georgia, serif;
  --mono: "SFMono-Regular", "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --shell: 1240px;
  --fs-hero: clamp(3rem, 6.2vw, 4.75rem);
  --fs-page: clamp(2.8rem, 5.4vw, 4.5rem);
  --fs-h2: clamp(2.05rem, 3.8vw, 3.25rem);
  --fs-h3: clamp(1.3rem, 2.1vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 1.4vw, 1.2rem);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
dd,
figure,
blockquote,
pre {
  margin: 0;
}

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

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

strong,
b {
  font-weight: 700;
}

em {
  font-style: normal;
}

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

[hidden] {
  display: none !important;
}

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

.sr-only {
  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;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

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

/* ---------- top bar ---------- */

.topbar {
  color: #fff;
  background: #090b0e;
  border-bottom: 1px solid #282d33;
  font-size: 12.5px;
  line-height: 1.4;
}

.topbar-inner {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-rank,
.topbar-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.topbar-rank:hover,
.topbar-more:hover {
  color: var(--acid);
}

.topbar-pulse {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(227, 255, 98, 0.12);
}

.topbar-label {
  color: var(--acid);
}

.topbar-note {
  color: #9ba2aa;
  font-weight: 400;
}

.topbar-more {
  color: #d9dde2;
  white-space: nowrap;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 245, 238, 0.94);
  border-bottom: 1px solid var(--ink);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

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

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

.brand-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 20, 24, 0.18);
  border-radius: 10px;
  box-shadow: 3px 3px 0 rgba(17, 20, 24, 0.12);
}

.brand-copy {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-sub {
  padding: 2px 5px;
  color: var(--blue);
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

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

.main-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 14.5px;
  font-weight: 650;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.main-nav a[aria-current="page"] {
  color: var(--blue);
}

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

.header-rank {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  transition: background 160ms ease, transform 160ms ease;
}

.header-rank:hover {
  background: var(--ink);
  transform: translateY(-1px);
}

.nav-toggle {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  position: absolute;
  left: 11px;
  display: block;
  width: 18px;
  height: 2px;
  content: "";
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.nav-toggle::before {
  top: 13px;
}

.nav-toggle span {
  top: 19px;
}

.nav-toggle::after {
  top: 25px;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  top: 19px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  top: 19px;
  transform: rotate(-45deg);
}

/* ---------- buttons and links ---------- */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.button-light:hover {
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.24);
}

.button-acid {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.26);
}

.button-acid:hover {
  color: var(--ink);
  background: #f0ff9c;
  border-color: var(--ink);
}

.button-ink {
  color: #fff;
  background: var(--ink);
}

.button-ink:hover {
  color: var(--ink);
  background: var(--acid);
}

.button-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
  background: transparent;
}

.button-outline-light:hover {
  color: var(--ink);
  border-color: var(--white);
  background: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

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

.text-link .arrow {
  font-size: 17px;
  line-height: 1;
  transition: transform 160ms ease;
}

.text-link:hover .arrow {
  transform: translateX(4px);
}

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

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--blue);
  border-bottom: 1px solid var(--ink);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.23) 0.8px, transparent 0.8px);
  background-size: 17px 17px;
  opacity: 0.5;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -190px;
  right: -130px;
  width: 660px;
  height: 660px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow:
    0 0 0 82px rgba(255, 255, 255, 0.035),
    0 0 0 164px rgba(255, 255, 255, 0.025);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  padding: 74px 0 78px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-title {
  max-width: 760px;
  color: #fff;
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.072em;
}

.hero-title .accent {
  color: var(--acid);
  font-family: var(--serif);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 610px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.83);
  font-size: var(--fs-lead);
  line-height: 1.8;
}

.hero-lead strong {
  color: #fff;
}

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

.hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.27);
}

.hero-specs li {
  min-width: 116px;
  padding: 15px 22px 0 0;
  margin-right: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.19);
}

.hero-specs li:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: 0;
}

.hero-specs b {
  display: block;
  color: #fff;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-specs span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11.5px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 650px;
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(35deg);
}

.device {
  position: relative;
  z-index: 1;
  width: min(318px, 100%);
  padding: 11px 12px 16px;
  color: var(--ink);
  background: #0c0e11;
  border: 1px solid #000;
  border-radius: 38px;
  box-shadow:
    18px 20px 0 rgba(6, 15, 49, 0.28),
    0 30px 50px rgba(4, 12, 43, 0.3);
  transform: rotate(-1.8deg);
}

.device-screen {
  overflow: hidden;
  background: #f8f7f2;
  border-radius: 29px;
}

.device-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 17px 4px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
}

.device-notch {
  width: 72px;
  height: 6px;
  margin: 0 auto 2px;
  border-radius: 999px;
  background: #0c0e11;
}

.device-app-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px 13px;
}

.device-app-head img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.device-app-head strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.device-app-head small {
  display: block;
  margin-top: -2px;
  color: var(--muted);
  font-size: 8px;
}

.device-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 3px 7px;
  color: #106a39;
  background: #dff4e8;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
}

.device-live::before {
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: #1f9b56;
}

.device-main {
  padding: 0 14px 11px;
}

.device-connect {
  position: relative;
  padding: 17px 15px 15px;
  overflow: hidden;
  color: #fff;
  background: var(--blue);
  border-radius: 17px;
}

.device-connect::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -48px;
  width: 125px;
  height: 125px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.06);
}

.device-connect-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.device-connect-top span {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
}

.device-switch {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: var(--acid);
}

.device-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
}

.device-connect h3 {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.device-connect p {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
}

.device-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 3px;
  margin-top: 11px;
  background: #e8e6df;
  border-radius: 10px;
}

.device-modes span {
  padding: 6px 3px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 650;
  text-align: center;
}

.device-modes .is-active {
  color: var(--ink);
  background: var(--white);
  border-radius: 7px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.device-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 2px;
  border-bottom: 1px solid #e2dfd7;
}

.device-row:last-child {
  border-bottom: 0;
}

.device-row-label span {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.device-row-label strong {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
}

.device-row-value {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
}

.device-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 2px;
}

.device-stat {
  padding: 8px 9px;
  background: #eeede6;
  border-radius: 9px;
}

.device-stat span {
  display: block;
  color: var(--muted);
  font-size: 7.5px;
}

.device-stat strong {
  display: block;
  margin-top: 1px;
  font-family: var(--mono);
  font-size: 11px;
}

.device-tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 9px 14px 7px;
  border-top: 1px solid #dedbd2;
}

.device-tabbar span {
  color: var(--muted);
  font-size: 7.5px;
  text-align: center;
}

.device-tabbar .is-active {
  color: var(--blue);
  font-weight: 700;
}

.device-sticker {
  position: absolute;
  z-index: 3;
  top: -17px;
  right: -19px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--acid);
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transform: rotate(4deg);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
}

.device-note {
  position: absolute;
  z-index: 3;
  bottom: -48px;
  left: 50%;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  white-space: nowrap;
  transform: translateX(-50%);
}

/* ---------- rank strip ---------- */

.rank-strip {
  color: #fff;
  background: var(--ink);
  border-bottom: 1px solid #2a2e34;
}

.rank-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 17px 0;
}

.rank-strip-copy {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.rank-strip-copy h2 {
  color: var(--acid);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.rank-strip-copy p {
  color: #bfc5cb;
  font-size: 13px;
}

.rank-strip-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  font-size: 12.5px;
  font-weight: 750;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

.rank-strip-link:hover {
  background: var(--acid);
}

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

.section {
  padding: 92px 0;
  border-bottom: 1px solid var(--ink);
}

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.74fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head h2 {
  max-width: 760px;
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.058em;
}

.section-head h2 em {
  color: var(--blue);
  font-family: var(--serif);
  font-style: normal;
}

.section-lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}

.section-lead strong {
  color: var(--ink);
}

.section-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
}

/* ---------- feature section ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.feature-card {
  position: relative;
  min-height: 250px;
  padding: 27px 24px 25px;
  background: var(--white);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.feature-card:nth-child(2) {
  background: var(--sky);
}

.feature-card:nth-child(3) {
  background: var(--acid);
}

.feature-card:nth-child(4) {
  background: var(--mint);
}

.feature-index {
  display: block;
  color: rgba(17, 20, 24, 0.5);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.feature-card h3 {
  max-width: 220px;
  margin-top: 46px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.feature-card p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.8;
}

.feature-card .feature-tag {
  position: absolute;
  top: 26px;
  right: 22px;
  color: rgba(17, 20, 24, 0.46);
  font-size: 10px;
  letter-spacing: 0.03em;
}

/* ---------- mode section ---------- */

.mode-section {
  color: #fff;
  background: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.mode-section .section-head h2 {
  color: #fff;
}

.mode-section .section-head h2 em {
  color: var(--acid);
}

.mode-section .section-lead {
  color: #aeb6bf;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mode-card {
  position: relative;
  display: flex;
  min-height: 305px;
  flex-direction: column;
  padding: 24px;
  background: #15191e;
  border: 1px solid #3b4148;
}

.mode-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--blue-bright);
}

.mode-card:nth-child(2)::before {
  background: var(--acid);
}

.mode-card:nth-child(3)::before {
  background: var(--orange);
}

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

.mode-top span:first-child {
  color: #868f99;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.mode-require {
  padding: 3px 7px;
  color: var(--acid);
  border: 1px solid #4a5159;
  font-size: 10px;
  white-space: nowrap;
}

.mode-card h3 {
  margin-top: 44px;
  color: #fff;
  font-family: var(--mono);
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.06em;
}

.mode-card > p {
  margin-top: 12px;
  color: #aab2bb;
  font-size: 13.5px;
  line-height: 1.8;
}

.mode-card ul {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #333940;
}

.mode-card li {
  color: #dce1e6;
  font-size: 12px;
}

.mode-card li::before {
  content: "—";
  margin-right: 7px;
  color: #68727d;
}

.mode-section .text-link {
  color: var(--acid);
}

.mode-section .text-link:hover {
  color: #fff;
}

/* ---------- download section ---------- */

.home-download {
  background: #e9eefc;
}

.home-download .section-head {
  margin-bottom: 36px;
}

.home-download .section-head h2 em {
  color: var(--blue);
}

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

.download-tile {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  padding: 25px;
  background: var(--white);
  border: 2px solid var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.download-tile:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--ink);
}

.download-tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.download-tile-label {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.download-tile-size {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.download-tile h3 {
  margin-top: 20px;
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.download-tile p {
  max-width: 380px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.download-tile .tile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.download-tile .tile-link span {
  display: inline-flex;
  width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  line-height: 1;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 19px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}

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

.download-meta span::before {
  width: 4px;
  height: 4px;
  content: "";
  background: var(--blue);
}

/* ---------- ranking callout ---------- */

.ranking-callout {
  position: relative;
  overflow: hidden;
  background: var(--acid);
  border-bottom: 1px solid var(--ink);
}

.ranking-callout::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -190px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(17, 20, 24, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(17, 20, 24, 0.04), 0 0 0 110px rgba(17, 20, 24, 0.03);
  pointer-events: none;
}

.ranking-callout-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: end;
  padding: 66px 0;
}

.ranking-callout h2 {
  font-size: clamp(3rem, 7vw, 4.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.075em;
}

.ranking-callout h2 span {
  display: block;
  margin-top: 15px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.ranking-callout p {
  max-width: 580px;
  margin-top: 20px;
  color: #2b300e;
  font-size: 15px;
  line-height: 1.8;
}

.ranking-callout-side {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
}

.ranking-callout-side .big-number {
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(3.6rem, 6vw, 4.75rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.1em;
}

.ranking-callout-side .side-label {
  color: #3a400f;
  font-size: 12px;
  font-weight: 650;
}

.ranking-callout-side .button {
  width: 100%;
  margin-top: 9px;
}

.ranking-list-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.ranking-list-mini span {
  padding: 4px 8px;
  border: 1px solid rgba(17, 20, 24, 0.35);
  font-size: 11px;
  font-weight: 650;
}

/* ---------- articles ---------- */

.articles-section {
  background: var(--paper);
}

.article-list {
  border-top: 2px solid var(--ink);
}

.article-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 155px;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 160ms ease, background 160ms ease;
}

.article-row:hover {
  padding-right: 14px;
  padding-left: 14px;
  background: var(--white);
}

.article-row-index {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.article-row h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.4rem);
  font-weight: 750;
  line-height: 1.48;
  letter-spacing: -0.03em;
}

.article-row h3 a:hover {
  color: var(--blue);
}

.article-row p {
  max-width: 760px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.article-row-meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  text-align: right;
}

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

.article-row-meta .article-cat {
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 650;
}

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

.faq-section {
  background: var(--white);
}

.faq-list {
  border-top: 2px solid var(--ink);
}

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

.faq-item summary {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.faq-item summary::after {
  display: flex;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border: 1px solid var(--ink);
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.faq-answer {
  max-width: 850px;
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.faq-answer a {
  color: var(--blue);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.site-footer {
  color: #f4f1e9;
  background: var(--ink);
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 42px 0 35px;
}

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

.footer-brand img {
  width: 36px;
  height: 36px;
  border: 1px solid #3f464e;
  border-radius: 9px;
}

.footer-brand strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-brand span {
  display: block;
  margin-top: 2px;
  color: #838d98;
  font-size: 10px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 6px;
}

.footer-nav a {
  color: #aeb7c1;
  font-size: 12.5px;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 20px;
  color: #707983;
  border-top: 1px solid #2d333a;
  font-family: var(--mono);
  font-size: 10px;
}

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

.page-hero {
  padding: 68px 0 62px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--ink);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.65fr);
  gap: 50px;
  align-items: end;
}

.page-hero h1 {
  max-width: 820px;
  font-size: var(--fs-page);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.068em;
}

.page-lead {
  max-width: 700px;
  margin-top: 22px;
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: 1.8;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.meta-pill {
  padding: 5px 9px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.45;
}

.page-hero-side {
  padding: 21px;
  background: var(--white);
  border: 2px solid var(--ink);
}

.page-hero-side .side-title {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.page-hero-side strong {
  display: block;
  margin-top: 8px;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.page-hero-side p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.page-hero-side .side-facts {
  display: grid;
  gap: 8px;
  padding-top: 13px;
  margin-top: 15px;
  border-top: 1px solid var(--line);
}

.page-hero-side .side-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-size: 11.5px;
}

.page-hero-side .side-facts span {
  color: var(--muted);
}

.page-hero-side .side-facts b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.page-hero-rank {
  color: #fff;
  background: var(--blue);
}

.page-hero-rank .page-lead {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero-rank .page-hero-side {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--ink);
}

.page-hero-rank .meta-pill {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.page-hero-rank .side-title {
  color: #30360d;
}

.page-hero-rank .side-facts {
  border-color: rgba(17, 20, 24, 0.28);
}

.page-hero-rank .side-facts span {
  color: #454b1b;
}

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

.download-page-section {
  padding: 68px 0 88px;
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.arch-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--white);
  border: 2px solid var(--ink);
}

.arch-card.is-primary {
  background: var(--sky);
}

.arch-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.arch-card-label {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.arch-badge {
  padding: 3px 7px;
  color: #fff;
  background: var(--blue);
  font-size: 10px;
  font-weight: 700;
}

.arch-card h2 {
  margin-top: 35px;
  font-family: var(--mono);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.06em;
}

.arch-card p {
  max-width: 400px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.78;
}

.arch-card .arch-size {
  margin-top: 17px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
}

.arch-card .button {
  align-self: flex-start;
  margin-top: 28px;
}

.arch-card .arch-note {
  padding-top: 18px;
  margin-top: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.7;
}

.release-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 17px;
  margin-top: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 12px;
}

.release-note strong {
  color: var(--ink);
}

.release-note span {
  color: var(--muted);
}

.download-page-section .section-head {
  margin-top: 70px;
  margin-bottom: 28px;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.install-step {
  min-height: 205px;
  padding: 22px;
  background: var(--white);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.install-step .step-number {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.install-step h3 {
  margin-top: 30px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.install-step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  gap: 22px;
  margin-top: 22px;
}

.release-panel {
  padding: 27px;
  color: #fff;
  background: var(--ink);
}

.release-panel h3 {
  color: var(--acid);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.release-panel .release-version {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 16px;
}

.release-panel .release-version strong {
  font-family: var(--mono);
  font-size: 37px;
  font-weight: 600;
  letter-spacing: -0.07em;
}

.release-panel .release-version span {
  color: #9ea8b3;
  font-size: 11px;
}

.release-panel ul {
  display: grid;
  gap: 9px;
  padding-top: 17px;
  margin-top: 17px;
  border-top: 1px solid #363d45;
}

.release-panel li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 6px;
  color: #c3cbd3;
  font-size: 12px;
  line-height: 1.65;
}

.release-panel li::before {
  color: var(--acid);
  content: "·";
}

.release-panel .release-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--acid);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.requirements-panel {
  padding: 27px;
  background: var(--white);
  border: 1px solid var(--ink);
}

.requirements-panel h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.requirements-panel dl {
  display: grid;
  gap: 0;
  margin-top: 16px;
}

.requirements-panel .req-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
}

.requirements-panel dt {
  color: var(--muted);
}

.requirements-panel dd {
  color: var(--ink);
}

.notice-line {
  padding: 16px 18px;
  margin-top: 22px;
  color: #3f440d;
  background: var(--acid);
  border: 1px solid var(--ink);
  font-size: 12.5px;
  line-height: 1.75;
}

.notice-line strong {
  font-weight: 750;
}

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

.ranking-page-section {
  padding: 70px 0 90px;
}

.ranking-featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.airport-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--ink);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.airport-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 rgba(17, 20, 24, 0.14);
}

.airport-card.is-top {
  position: relative;
}

.airport-card.is-top::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: var(--blue);
}

.airport-card.is-top:nth-child(2)::before {
  background: var(--orange);
}

.airport-card-main {
  padding: 25px 25px 0;
}

.airport-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.airport-index {
  display: inline-flex;
  min-width: 35px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  color: #fff;
  background: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}

.airport-card.is-top .airport-index {
  color: var(--ink);
  background: var(--acid);
}

.airport-rank-label {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
}

.airport-card h3 {
  margin-top: 21px;
  font-size: clamp(1.9rem, 3.1vw, 2.55rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.065em;
}

.airport-tagline {
  min-height: 44px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.airport-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 9px;
  padding: 12px 0;
  margin-top: 19px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.airport-price-value {
  display: inline-block;
  min-width: 3.1ch;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 1.35em;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.055em;
}

.airport-price-label {
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0;
  white-space: nowrap;
}

.airport-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  padding: 9px 0;
}

.airport-fact {
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}

.airport-fact dt {
  color: var(--muted);
  font-size: 10px;
}

.airport-fact dd {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.5;
}

.airport-verdict {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  padding: 17px 0 20px;
}

.airport-verdict div {
  min-width: 0;
}

.airport-verdict span {
  display: block;
  color: var(--blue);
  font-size: 10px;
  font-weight: 750;
}

.airport-verdict div:last-child span {
  color: #a84622;
}

.airport-verdict p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.6;
}

.airport-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 25px;
  margin-top: auto;
  background: var(--paper-2);
  border-top: 2px solid var(--ink);
}

.airport-card-footer .airport-fit {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.airport-card-footer .airport-fit strong {
  display: block;
  color: var(--ink);
  font-size: 11px;
}

.airport-cta {
  display: inline-flex;
  min-width: 112px;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease;
}

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

.airport-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.airport-card.compact .airport-card-main {
  padding: 21px 22px 0;
}

.airport-card.compact h3 {
  margin-top: 16px;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.airport-card.compact .airport-tagline {
  min-height: 0;
  margin-top: 6px;
}

.airport-card.compact .airport-price {
  margin-top: 15px;
  font-size: 17px;
}

.airport-card.compact .airport-fact dd {
  font-size: 11.5px;
}

.airport-card.compact .airport-verdict {
  padding: 14px 0 17px;
}

.airport-card.compact .airport-card-footer {
  padding: 13px 22px;
}

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

.ranking-block-head h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.058em;
}

.ranking-block-head p {
  max-width: 420px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.ranking-next {
  margin-top: 78px;
}

.ranking-method {
  padding-top: 72px;
  margin-top: 80px;
  border-top: 2px solid var(--ink);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.method-card {
  padding: 20px;
  background: var(--white);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.method-card span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.method-card h3 {
  margin-top: 22px;
  font-size: 16px;
  font-weight: 800;
}

.method-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.editorial-note {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 23px;
  padding: 21px 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.editorial-note strong {
  color: var(--ink);
  font-size: 12px;
}

/* ---------- articles index ---------- */

.articles-page-section {
  padding: 68px 0 90px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.article-card {
  display: flex;
  min-height: 275px;
  flex-direction: column;
  padding: 25px;
  background: var(--white);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transition: background 160ms ease;
}

.article-card:hover {
  background: var(--sky);
}

.article-card:nth-child(3n + 2) {
  background: #f0f6da;
}

.article-card:nth-child(3n + 2):hover {
  background: var(--acid);
}

.article-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.article-card-index {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.article-card-topic {
  color: var(--muted);
  font-size: 10.5px;
}

.article-card h2 {
  max-width: 500px;
  margin-top: 33px;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.045em;
}

.article-card p {
  max-width: 500px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 21px;
  margin-top: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.article-card-meta .read-more {
  color: var(--blue);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
}

/* ---------- article detail ---------- */

.article-hero {
  padding: 60px 0 35px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.article-header {
  max-width: 1100px;
}

.article-header h1 {
  max-width: 1080px;
  font-size: clamp(2.55rem, 4.9vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.065em;
}

.article-deck {
  max-width: 780px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.82;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding-top: 20px;
  margin-top: 26px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
}

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

.article-meta .meta-tag {
  padding: 3px 7px;
  color: var(--ink);
  background: var(--acid);
  border: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 770px) 245px;
  gap: 70px;
  align-items: start;
  padding: 52px 0 92px;
}

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

.article-body > p {
  margin-bottom: 21px;
  color: #252b31;
}

.article-body > p:first-of-type {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.88;
}

.article-body h2 {
  padding-top: 3px;
  margin: 49px 0 16px;
  font-size: clamp(1.55rem, 2.5vw, 1.95rem);
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.045em;
}

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

.article-body h3 {
  margin: 30px 0 10px;
  font-size: 17.5px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 8px;
  margin: 0 0 23px;
  padding-left: 22px;
  color: #252b31;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

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

.article-body li::marker {
  color: var(--blue);
  font-weight: 700;
}

.article-body strong {
  color: var(--ink);
  font-weight: 750;
}

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

.article-body a:hover {
  color: var(--orange);
}

.article-body code {
  padding: 2px 5px;
  color: var(--blue-deep);
  background: var(--sky);
  font-family: var(--mono);
  font-size: 0.9em;
}

.article-body pre {
  padding: 17px 19px;
  margin: 0 0 24px;
  overflow-x: auto;
  color: #e8edf4;
  background: var(--ink);
  border-left: 4px solid var(--blue-bright);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
}

.article-body pre code {
  padding: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
}

.article-callout {
  padding: 17px 20px;
  margin: 26px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.8;
}

.article-callout strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 12px;
}

.article-callout.warn {
  background: #fff4e8;
  border-left-color: var(--orange);
}

.article-table-wrap {
  overflow-x: auto;
  margin: 0 0 25px;
  border: 1px solid var(--line);
}

.article-table {
  width: 100%;
  min-width: 590px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 12.5px;
  line-height: 1.65;
}

.article-table th,
.article-table td {
  padding: 11px 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-table th {
  color: var(--ink);
  background: var(--paper-2);
  font-weight: 750;
}

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

.article-table th:last-child,
.article-table td:last-child {
  border-right: 0;
}

.article-toc {
  position: sticky;
  top: 105px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
}

.article-toc .toc-title {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.article-toc ol {
  display: grid;
  gap: 9px;
  margin-top: 15px;
  counter-reset: toc;
}

.article-toc li {
  counter-increment: toc;
}

.article-toc a {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 6px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.article-toc a::before {
  color: var(--blue);
  content: counter(toc, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 9px;
}

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

.article-end {
  padding-top: 24px;
  margin-top: 45px;
  border-top: 2px solid var(--ink);
}

.article-end > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 24px;
  margin-top: 22px;
  color: #fff;
  background: var(--ink);
}

.article-cta h2 {
  margin: 0;
  color: var(--acid);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.article-cta p {
  margin-top: 5px;
  color: #a8b1bb;
  font-size: 11.5px;
}

.article-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 0 0 auto;
}

.article-cta-links a {
  display: inline-flex;
  min-height: 37px;
  align-items: center;
  padding: 0 12px;
  color: var(--ink);
  background: var(--acid);
  font-size: 11.5px;
  font-weight: 700;
}

.article-cta-links a:last-child {
  color: #fff;
  background: transparent;
  border: 1px solid #535b64;
}

.related-articles {
  padding-top: 25px;
  margin-top: 43px;
  border-top: 1px solid var(--line);
}

.related-articles h2 {
  margin: 0 0 15px;
  font-size: 17px;
  font-weight: 800;
}

.related-articles ul {
  display: grid;
  gap: 9px;
}

.related-articles a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}

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

.related-articles a span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  white-space: nowrap;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.article-nav a {
  color: var(--muted);
}

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

/* ---------- sitemap and utility pages ---------- */

.sitemap-page {
  padding: 62px 0 90px;
}

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

.sitemap-group h2 {
  font-size: 16px;
  font-weight: 800;
}

.sitemap-group ul {
  display: grid;
  gap: 9px;
}

.sitemap-group li {
  display: flex;
  align-items: baseline;
  gap: 13px;
  font-size: 13px;
}

.sitemap-group li span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

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

.not-found {
  display: grid;
  min-height: 66vh;
  place-items: center;
  padding: 60px 0;
}

.not-found-inner {
  max-width: 690px;
  text-align: center;
}

.not-found h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.07em;
}

.not-found p {
  margin-top: 20px;
  color: var(--muted);
}

.not-found .button {
  margin-top: 26px;
}

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

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

  .hero-inner {
    gap: 38px;
  }

  .main-nav {
    gap: 20px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 215px;
    gap: 45px;
  }
}

@media (max-width: 980px) {
  .header-rank {
    display: inline-flex;
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(285px, 0.75fr);
    padding: 58px 0 65px;
  }

  .hero-visual::before {
    width: 340px;
    height: 340px;
  }

  .device {
    width: 278px;
  }

  .device-connect h3 {
    font-size: 22px;
  }

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

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

  .mode-card {
    min-height: 230px;
  }

  .mode-card h3 {
    margin-top: 27px;
  }

  .mode-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
  }

  .ranking-callout-inner {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.65fr);
    gap: 30px;
  }

  .page-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(245px, 0.55fr);
    gap: 35px;
  }

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

  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .article-toc {
    display: none;
  }

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

@media (max-width: 760px) {
  .shell {
    width: calc(100% - 36px);
  }

  .topbar-inner {
    min-height: 39px;
  }

  .topbar-note {
    display: none;
  }

  .header-inner {
    min-height: 67px;
    gap: 9px;
  }

  .header-rank {
    min-height: 34px;
    padding: 0 8px;
    font-size: 11px;
    letter-spacing: -0.02em;
  }

  .brand-icon {
    width: 37px;
    height: 37px;
    border-radius: 9px;
  }

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

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

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    z-index: 55;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 18px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    box-shadow: 0 14px 30px rgba(17, 20, 24, 0.12);
  }

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

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a[aria-current="page"] {
    color: var(--blue);
  }

  .hero-inner {
    display: block;
    padding: 48px 0 69px;
  }

  .hero-title {
    max-width: 580px;
    font-size: clamp(2.8rem, 10.8vw, 4.15rem);
    line-height: 1.07;
  }

  .hero-lead {
    max-width: 540px;
    margin-top: 21px;
    font-size: 15.5px;
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 27px;
  }

  .hero-actions .button {
    min-height: 46px;
  }

  .hero-specs {
    margin-top: 31px;
  }

  .hero-specs li {
    min-width: 0;
    flex: 1 1 30%;
    padding-right: 12px;
    margin-right: 12px;
  }

  .hero-specs b {
    font-size: 12px;
  }

  .hero-specs span {
    font-size: 10px;
  }

  .hero-visual {
    margin-top: 49px;
  }

  .device {
    width: min(292px, 88%);
    transform: rotate(-1.2deg);
  }

  .hero-visual::before {
    width: 320px;
    height: 320px;
  }

  .device-sticker {
    right: -3px;
  }

  .device-note {
    bottom: -34px;
  }

  .rank-strip-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 15px 0;
  }

  .rank-strip-copy {
    gap: 8px;
  }

  .rank-strip-copy p {
    width: 100%;
    font-size: 11.5px;
  }

  .rank-strip-link {
    min-height: 33px;
  }

  .section {
    padding: 64px 0;
  }

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

  .section-head {
    display: block;
    margin-bottom: 27px;
  }

  .section-head h2 {
    font-size: clamp(1.9rem, 7.1vw, 2.55rem);
  }

  .section-lead {
    margin-top: 16px;
    font-size: 13.5px;
  }

  .section-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin-top: 23px;
  }

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

  .feature-card {
    min-height: 0;
    padding: 22px 20px;
  }

  .feature-card h3 {
    margin-top: 28px;
  }

  .mode-card {
    min-height: 0;
    padding: 21px;
  }

  .mode-card > p {
    font-size: 13px;
  }

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

  .download-tile {
    min-height: 172px;
    padding: 22px;
  }

  .ranking-callout-inner {
    display: block;
    padding: 49px 0 46px;
  }

  .ranking-callout h2 {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }

  .ranking-callout h2 span {
    font-size: clamp(1.3rem, 4.8vw, 1.7rem);
  }

  .ranking-callout p {
    margin-top: 17px;
    font-size: 13px;
  }

  .ranking-callout-side {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 28px;
  }

  .ranking-callout-side .big-number {
    font-size: 52px;
  }

  .ranking-callout-side .side-label {
    width: calc(100% - 82px);
    margin-top: 9px;
  }

  .ranking-callout-side .button {
    width: auto;
    margin-top: 8px;
  }

  .article-row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    padding: 19px 0;
  }

  .article-row:hover {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .article-row-meta {
    grid-column: 2;
    display: flex;
    gap: 12px;
    text-align: left;
  }

  .article-row-meta .article-cat {
    margin-bottom: 0;
  }

  .article-row p {
    font-size: 12.5px;
  }

  .faq-item summary {
    min-height: 62px;
    font-size: 15px;
  }

  .faq-answer {
    font-size: 13.5px;
  }

  .footer-main {
    flex-direction: column;
    gap: 23px;
    padding: 30px 0 26px;
  }

  .footer-nav {
    gap: 10px 20px;
    padding-top: 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    font-size: 9px;
  }

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

  .page-hero-inner {
    display: block;
  }

  .page-hero h1 {
    font-size: clamp(2.55rem, 10vw, 3.7rem);
  }

  .page-lead {
    margin-top: 17px;
    font-size: 14.5px;
  }

  .page-hero-side {
    margin-top: 27px;
    padding: 18px;
  }

  .download-page-section,
  .ranking-page-section,
  .articles-page-section {
    padding: 48px 0 65px;
  }

  .arch-grid,
  .ranking-featured,
  .airport-list,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .arch-card {
    padding: 23px;
  }

  .arch-card h2 {
    margin-top: 25px;
  }

  .arch-card .button {
    width: 100%;
  }

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

  .install-step {
    min-height: 0;
  }

  .download-page-section .section-head {
    margin-top: 49px;
    margin-bottom: 22px;
  }

  .requirements-panel,
  .release-panel {
    padding: 22px;
  }

  .release-panel .release-version strong {
    font-size: 32px;
  }

  .ranking-block-head {
    display: block;
    margin-bottom: 20px;
  }

  .ranking-block-head h2 {
    font-size: clamp(1.9rem, 7.1vw, 2.55rem);
  }

  .ranking-block-head p {
    margin-top: 13px;
    font-size: 12.5px;
  }

  .airport-card-main {
    padding: 21px 20px 0;
  }

  .airport-card h3 {
    font-size: clamp(1.9rem, 7.6vw, 2.35rem);
  }

  .airport-tagline {
    min-height: 0;
    font-size: 12.5px;
  }

  .airport-facts {
    gap: 0 15px;
  }

  .airport-card-footer {
    padding: 13px 20px;
  }

  .airport-verdict {
    gap: 10px;
  }

  .airport-verdict p {
    font-size: 11px;
  }

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

  .editorial-note {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ranking-next {
    margin-top: 52px;
  }

  .ranking-method {
    padding-top: 46px;
    margin-top: 53px;
  }

  .article-grid {
    display: block;
    border: 0;
  }

  .article-card {
    min-height: 0;
    margin-bottom: 14px;
    border: 2px solid var(--ink);
  }

  .article-card:nth-child(3n + 2) {
    background: #f0f6da;
  }

  .article-card h2 {
    margin-top: 23px;
  }

  .article-hero {
    padding: 42px 0 28px;
  }

  .article-header h1 {
    font-size: clamp(2.25rem, 8.6vw, 3.15rem);
    line-height: 1.16;
  }

  .article-deck {
    margin-top: 17px;
    font-size: 14.5px;
  }

  .article-meta {
    padding-top: 15px;
    margin-top: 21px;
    gap: 7px 13px;
    font-size: 9.5px;
  }

  .article-layout {
    padding: 36px 0 62px;
  }

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

  .article-body > p:first-of-type {
    font-size: 17px;
  }

  .article-body h2 {
    margin-top: 39px;
    font-size: clamp(1.4rem, 5.7vw, 1.7rem);
  }

  .article-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    padding: 20px;
  }

  .article-cta-links {
    width: 100%;
  }

  .article-cta-links a {
    flex: 1;
    justify-content: center;
  }

  .sitemap-page {
    padding: 45px 0 65px;
  }

  .sitemap-group {
    display: block;
    padding: 20px 0;
  }

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

  .article-table {
    min-width: 540px;
  }
}

@media (max-width: 480px) {
  .shell {
    width: calc(100% - 30px);
  }

  .brand-copy {
    gap: 5px;
  }

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

  .brand-sub {
    display: none;
  }

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

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-specs li {
    flex: 1 1 100%;
    padding: 10px 0;
    margin-right: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-specs li:last-child {
    border-bottom: 0;
  }

  .hero-specs b,
  .hero-specs span {
    display: inline-block;
  }

  .hero-specs span {
    margin-left: 8px;
  }

  .device {
    width: min(282px, 92%);
  }

  .device-sticker {
    top: -15px;
    right: -6px;
    padding: 6px 8px;
    font-size: 9px;
  }

  .hero-visual::before {
    width: 270px;
    height: 270px;
  }

  .hero-visual::after {
    height: 510px;
  }

  .airport-facts {
    display: block;
  }

  .airport-fact {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0;
  }

  .airport-fact dd {
    margin-top: 0;
    text-align: right;
  }

  .airport-verdict {
    display: block;
    padding-bottom: 16px;
  }

  .airport-verdict div + div {
    margin-top: 10px;
  }

  .airport-card-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .airport-cta {
    width: 100%;
  }

  .airport-price {
    font-size: 18px;
  }

  .article-header h1 {
    font-size: clamp(2.1rem, 9.5vw, 2.8rem);
  }

  .article-cta-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .article-cta-links a {
    justify-content: center;
  }

  .article-body pre {
    padding: 14px;
    font-size: 11.5px;
  }
}

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

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

@media print {
  .topbar,
  .site-header,
  .site-footer,
  .article-toc,
  .article-cta,
  .rank-strip {
    display: none !important;
  }

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

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

  .article-body {
    max-width: none;
  }

  a {
    text-decoration: underline;
  }
}
