/* OpenVXS — field-note edition
   Warm paper, ink, electric lime, one violet. No external dependencies. */

:root {
  --paper: #f3f0e7;
  --paper-deep: #eae5d8;
  --card: #fbfaf6;
  --ink: #151711;
  --ink-soft: #454a3f;
  --muted: #777c6d;
  --line: rgba(21, 23, 17, 0.14);
  --line-strong: rgba(21, 23, 17, 0.3);
  --violet: #5551d9;
  --violet-deep: #3734a8;
  --lime: #d9f56e;
  --lime-soft: #ecfbb8;
  --black: #10120e;
  --white: #fffef9;
  --serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", "Roboto Mono", "Liberation Mono", monospace;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 28px 80px rgba(35, 33, 19, 0.13);
  --max: 1240px;
  --pad: clamp(20px, 4vw, 44px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(rgba(21, 23, 17, 0.09) 0.55px, transparent 0.65px),
    radial-gradient(rgba(21, 23, 17, 0.05) 0.55px, transparent 0.65px);
  background-position: 0 0, 11px 13px;
  background-size: 22px 22px, 29px 29px;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { border: 0; background: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }
.section--line { border-top: 1px solid var(--line); }
.section--dark { background: var(--black); color: var(--white); }
.section--lime { background: var(--lime); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(30px, 4vw, 52px);
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}
.section--dark .section-head p { color: rgba(255, 254, 249, 0.65); }
.section-head--center {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(30px, 4vw, 52px);
}
.section-head--center p { margin-top: 16px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: border-color 0.2s, color 0.2s;
}
.text-link:hover { border-color: var(--ink); color: var(--violet); }
.section--dark .text-link { border-color: rgba(255, 254, 249, 0.35); }
.section--dark .text-link:hover { color: var(--lime); border-color: var(--lime); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 240, 231, 0.88);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(21, 23, 17, 0.06);
  overflow: hidden;
}
.brand-mark svg,
.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}
.brand-text { display: grid; gap: 1px; line-height: 1.15; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand-text small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
}
.site-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink-soft);
  padding: 8px 0;
  transition: color 0.2s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--ink); }
.site-nav a.is-active::after { transform: scaleX(1); background: var(--violet); height: 2px; }
.site-nav .nav-rank {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.site-nav .nav-rank::after { display: none; }
.site-nav .nav-rank::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(217, 245, 110, 0.12);
}
.site-nav .nav-rank:hover {
  background: var(--violet);
  color: var(--white);
  transform: translateY(-1px);
}
.site-nav .nav-rank.is-active { color: var(--white); }
.site-nav .nav-rank.is-active::after { display: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  transition: background 0.2s;
}
.menu-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] { background: var(--ink); }
.menu-toggle[aria-expanded="true"] span { background: var(--white); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav.is-open { display: block; }
.mobile-nav .wrap {
  display: grid;
  gap: 2px;
  padding-top: 12px;
  padding-bottom: 18px;
}
.mobile-nav a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav a span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}
.mobile-nav a.nav-rank {
  margin-top: 10px;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
}
.mobile-nav a.nav-rank span { color: var(--lime); }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.button:hover { transform: translateY(-2px); }
.button--ink { background: var(--ink); color: var(--white); }
.button--ink:hover { background: var(--violet); }
.button--lime { background: var(--lime); color: var(--ink); }
.button--lime:hover { background: var(--white); }
.button--line { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.button--line:hover { border-color: var(--ink); background: var(--white); }
.button--light-line { border-color: rgba(255, 254, 249, 0.32); color: var(--white); background: transparent; }
.button--light-line:hover { border-color: var(--white); background: rgba(255, 254, 249, 0.08); }
.button--sm { min-height: 44px; padding: 0 18px; font-size: 13px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7.5vw, 104px) 0 clamp(42px, 6vw, 76px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 7.4vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  position: relative;
  display: inline-block;
  z-index: 0;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.06em;
  bottom: 0.08em;
  height: 0.27em;
  z-index: -1;
  background: var(--lime);
  transform: rotate(-1.2deg);
}
.hero-lede {
  max-width: 590px;
  margin-top: clamp(22px, 3vw, 32px);
  color: var(--ink-soft);
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 1.95;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  margin-top: 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}
.hero-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

.hero-visual {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  max-width: 95%;
  border-radius: 50%;
  background: var(--lime);
  top: 50%;
  left: 50%;
  transform: translate(-46%, -48%);
}
.hero-visual::after {
  content: "VXS";
  position: absolute;
  right: -3%;
  bottom: -4%;
  z-index: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 7.2vw, 78px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(21, 23, 17, 0.09);
}
.hero-ring {
  position: absolute;
  width: 470px;
  height: 470px;
  max-width: 100%;
  border: 1px solid rgba(21, 23, 17, 0.22);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.phone {
  position: relative;
  z-index: 2;
  width: min(292px, 74vw);
  padding: 8px;
  border-radius: 42px;
  background: #0c0d0a;
  box-shadow: 0 40px 90px rgba(21, 23, 17, 0.3), 0 2px 0 rgba(255, 255, 255, 0.15) inset;
  transform: rotate(2.2deg);
}
.phone::before {
  content: "";
  position: absolute;
  width: 86px;
  height: 22px;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  background: #0c0d0a;
  z-index: 3;
}
.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 1390;
  object-fit: cover;
  border-radius: 34px;
}
.hero-card {
  position: absolute;
  z-index: 4;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(21, 23, 17, 0.14);
  font-size: 11px;
}
.hero-card--panel {
  left: -2%;
  top: 17%;
  width: 176px;
  padding: 14px 15px;
  transform: rotate(-2.4deg);
}
.hero-card--status {
  left: 2%;
  bottom: 16%;
  width: 194px;
  padding: 13px 15px;
  transform: rotate(-1deg);
}
.hero-card--version {
  right: -1%;
  top: 25%;
  width: 154px;
  padding: 13px 15px;
  transform: rotate(3deg);
}
.mini-label {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hero-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.5;
}
.hero-card p { color: var(--ink-soft); margin-top: 2px; font-size: 10px; line-height: 1.6; }
.panel-list { display: grid; gap: 5px; margin-top: 8px; }
.panel-list span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-soft);
}
.panel-list span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet);
}
.status-row { display: flex; align-items: center; gap: 8px; }
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(217, 245, 110, 0.24);
}
.status-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-soft);
}

/* Fact strip */
.fact-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.38);
}
.fact-strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.fact {
  padding: 24px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; padding-right: 0; }
.fact b {
  flex: 0 0 auto;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  color: var(--violet);
}
.fact span { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }

/* Fit section */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.fit-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  min-height: 230px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.fit-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(21, 23, 17, 0.08); }
.fit-card h3 {
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.fit-card h3 span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--violet);
  letter-spacing: 0.06em;
}
.fit-card p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}
.fit-card .micro {
  margin-top: auto;
  padding-top: 22px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.fit-card--accent { background: var(--ink); color: var(--white); border-color: var(--ink); }
.fit-card--accent p { color: rgba(255, 254, 249, 0.66); }
.fit-card--accent h3 span { color: var(--lime); }
.fit-card--accent .micro { color: rgba(255, 254, 249, 0.45); }

/* Layer diagram */
.layer-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 8px;
  margin-top: 8px;
}
.layer {
  border: 1px solid rgba(255, 254, 249, 0.18);
  border-radius: 18px;
  padding: 22px 18px;
  min-width: 0;
  background: rgba(255, 254, 249, 0.03);
}
.layer small {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  color: var(--lime);
  margin-bottom: 10px;
}
.layer strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
}
.layer p {
  margin-top: 8px;
  color: rgba(255, 254, 249, 0.58);
  font-size: 12px;
  line-height: 1.75;
}
.layer-arrow {
  align-self: center;
  color: rgba(255, 254, 249, 0.3);
  font-family: var(--mono);
  font-size: 14px;
}
.layer-note {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 254, 249, 0.14);
  color: rgba(255, 254, 249, 0.56);
  font-size: 13px;
  line-height: 1.8;
}
.layer-note b { color: var(--lime); font-weight: 500; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.step {
  border-top: 1px solid var(--line-strong);
  padding: 24px 18px 28px 0;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
}
.step-num {
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--violet);
}
.step h3 { font-size: clamp(19px, 2vw, 24px); line-height: 1.45; }
.step p { margin-top: 8px; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.step code {
  display: inline-block;
  margin-top: 11px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--card);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-soft);
}
.steps-note {
  margin-top: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--lime-soft);
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.steps-note b { flex: 0 0 auto; font-size: 13px; }
.steps-note p { font-size: 13px; line-height: 1.8; color: var(--ink-soft); }

/* Download band */
.download-band {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.download-band::after {
  content: "0.18.20";
  position: absolute;
  right: -0.04em;
  bottom: -0.18em;
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 78px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 254, 249, 0.055);
  pointer-events: none;
}
.download-band h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.download-band p {
  margin-top: 16px;
  max-width: 540px;
  color: rgba(255, 254, 249, 0.62);
  font-size: 14px;
  line-height: 1.9;
}
.download-band .hero-actions { margin-top: 26px; position: relative; z-index: 2; }
.download-card {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 254, 249, 0.16);
  border-radius: 22px;
  padding: 24px;
  background: rgba(255, 254, 249, 0.055);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.download-card__top { display: flex; align-items: center; gap: 15px; }
.download-card__top img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--white);
}
.download-card__top strong { display: block; font-family: var(--serif); font-size: 20px; }
.download-card__top span {
  display: block;
  color: rgba(255, 254, 249, 0.54);
  font-family: var(--mono);
  font-size: 9px;
  margin-top: 3px;
  letter-spacing: 0.04em;
}
.download-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid rgba(255, 254, 249, 0.14);
}
.download-specs div {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 254, 249, 0.14);
}
.download-specs dt {
  color: rgba(255, 254, 249, 0.44);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}
.download-specs dd { margin-top: 3px; font-size: 13px; }
.download-specs div:nth-child(odd) { padding-right: 10px; }
.download-specs div:nth-child(even) { padding-left: 10px; border-left: 1px solid rgba(255, 254, 249, 0.14); }
.download-card .button { width: 100%; margin-top: 20px; }

/* Ranking spotlight */
.rank-spot {
  position: relative;
  overflow: hidden;
  background: var(--lime);
  border-radius: 30px;
  padding: clamp(28px, 4.6vw, 56px);
}
.rank-spot::before {
  content: "榜";
  position: absolute;
  right: 2%;
  top: -0.2em;
  font-family: var(--serif);
  font-size: clamp(64px, 9vw, 78px);
  line-height: 1;
  color: rgba(21, 23, 17, 0.07);
  pointer-events: none;
}
.rank-spot__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  position: relative;
  z-index: 1;
}
.rank-spot h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.rank-spot__head p {
  max-width: 530px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(21, 23, 17, 0.72);
}
.rank-spot__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.rank-spot__actions small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(21, 23, 17, 0.56);
}
.rank-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: clamp(24px, 4vw, 38px);
  position: relative;
  z-index: 1;
}
.mini-airport {
  background: rgba(255, 254, 249, 0.62);
  border: 1px solid rgba(21, 23, 17, 0.18);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 164px;
}
.mini-airport__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.mini-airport__rank {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--violet-deep);
}
.mini-airport h3 { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.mini-airport p { margin-top: 4px; color: rgba(21, 23, 17, 0.62); font-size: 11px; line-height: 1.6; }
.mini-airport .airport-btn { margin-top: auto; width: 100%; }
.score-small { font-family: var(--mono); font-size: 11px; }

/* Airport buttons — text only, intentionally no href yet */
.airport-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
  -webkit-user-select: none;
  user-select: none;
}
.airport-btn:hover { background: var(--violet); transform: translateY(-1px); }
/* The ranking page must remain readable with JavaScript disabled. */
.page-ranking .reveal { opacity: 1; transform: none; }
.airport-btn:active { transform: translateY(0); }

/* Articles */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 55px rgba(21, 23, 17, 0.09);
}
.article-card h3 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.7vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 92%;
}
.article-card p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
  max-width: 90%;
}
.article-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.article-card__foot b { font-weight: 400; color: var(--ink-soft); }
.article-card--feature {
  grid-column: span 2;
  min-height: 300px;
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  padding-right: min(38%, 400px);
}
.article-card--feature h3 { font-size: clamp(32px, 4.5vw, 54px); max-width: 100%; line-height: 1.15; }
.article-card--feature p { color: rgba(255, 254, 249, 0.62); max-width: 560px; font-size: 14px; }
.article-card--feature .article-card__foot { color: rgba(255, 254, 249, 0.45); }
.article-card--feature .article-card__foot b { color: var(--lime); }
.feature-stamp {
  position: absolute;
  right: 28px;
  bottom: 26px;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(255, 254, 249, 0.22);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.7;
  transform: rotate(8deg);
}
.feature-stamp::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(255, 254, 249, 0.18);
  border-radius: 50%;
}

/* FAQ */
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 400;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.faq-item[open] summary::after { content: "−"; background: var(--lime); border-color: var(--ink); }
.faq-item .faq-answer {
  padding: 0 44px 24px 4px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
  max-width: 820px;
}
.faq-item .faq-answer p + p { margin-top: 10px; }

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 42px 0 32px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 254, 249, 0.14);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark {
  background: var(--white);
  border-color: rgba(255, 254, 249, 0.22);
  box-shadow: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.footer-brand .brand-mark svg,
.footer-brand .brand-mark img { width: 100%; height: 100%; }
.footer-brand strong { font-family: var(--serif); font-size: 22px; letter-spacing: -0.02em; }
.footer-brand p { margin-top: 2px; color: rgba(255, 254, 249, 0.48); font-size: 11px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.footer-nav a { font-size: 13px; color: rgba(255, 254, 249, 0.66); transition: color 0.2s; }
.footer-nav a:hover { color: var(--lime); }
.footer-nav a.footer-rank { color: var(--lime); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  color: rgba(255, 254, 249, 0.36);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}
.footer-bottom p:last-child { text-align: right; }

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(46px, 6vw, 82px) 0 clamp(34px, 5vw, 60px);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 6.8vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 900px;
  text-wrap: balance;
}
.page-hero .lede {
  max-width: 720px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.95;
}
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  align-items: center;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.page-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  padding-top: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--line-strong); }

/* Download page */
.download-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}
.download-hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.download-hero-card::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: var(--lime);
  right: -70px;
  top: -75px;
}
.download-hero-card__app {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.download-hero-card__app img {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}
.download-hero-card__app h2 { font-family: var(--serif); font-size: 28px; line-height: 1.2; }
.download-hero-card__app p { color: var(--muted); font-family: var(--mono); font-size: 9px; margin-top: 4px; }
.download-hero-card .button { width: 100%; margin-top: 24px; }
.download-hero-card .note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}
.download-hero-card dl {
  position: relative;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.download-hero-card dl div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.download-hero-card dt { color: var(--muted); font-family: var(--mono); font-size: 9px; }
.download-hero-card dd { margin-top: 3px; font-size: 13px; }
.download-hero-card dl div:nth-child(odd) { padding-right: 10px; }
.download-hero-card dl div:nth-child(even) { padding-left: 10px; border-left: 1px solid var(--line); }

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}
.download-main h2, .download-aside h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.download-main > p, .download-aside > p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}
.download-steps { margin-top: 28px; display: grid; gap: 0; }
.download-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.download-step:last-child { border-bottom: 1px solid var(--line); }
.download-step b {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper-deep);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
}
.download-step h3 { font-size: 16px; line-height: 1.5; }
.download-step p { margin-top: 4px; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.aside-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  padding: 24px;
}
.aside-card + .aside-card { margin-top: 14px; }
.aside-card h3 { font-size: 16px; line-height: 1.4; }
.aside-card p { margin-top: 9px; color: var(--ink-soft); font-size: 12px; line-height: 1.85; }
.aside-card ul { margin-top: 12px; display: grid; gap: 8px; }
.aside-card li {
  list-style: none;
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.aside-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet);
}
.aside-card--lime { background: var(--lime); border-color: transparent; }
.aside-card--lime p { color: rgba(21, 23, 17, 0.7); }
.aside-card--lime a.text-link { margin-top: 14px; }
.version-card {
  border-top: 1px solid var(--line-strong);
  margin-top: 28px;
}
.version-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.version-head strong { font-family: var(--serif); font-size: 22px; }
.version-head span { font-family: var(--mono); font-size: 9px; color: var(--muted); }
.changelog { display: grid; gap: 0; }
.changelog li {
  list-style: none;
  padding: 12px 0 12px 24px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}
.changelog li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--violet);
  font-family: var(--mono);
  font-size: 12px;
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.screenshot-strip figure {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  padding: 7px;
}
.screenshot-strip img { border-radius: 12px; width: 100%; height: auto; }
.screenshot-strip figcaption {
  padding: 9px 6px 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Ranking page */
.rank-hero {
  background: var(--black);
  color: var(--white);
  padding: clamp(48px, 6vw, 80px) 0;
  position: relative;
  overflow: hidden;
}
.rank-hero .breadcrumb {
  padding-top: 0;
  margin-bottom: 28px;
  color: rgba(255, 254, 249, 0.42);
}
.rank-hero .breadcrumb a:hover { color: var(--lime); }
.rank-hero .breadcrumb span { color: rgba(255, 254, 249, 0.25); }
.rank-hero::after {
  content: "08";
  position: absolute;
  right: -0.03em;
  bottom: -0.18em;
  font-family: var(--serif);
  font-size: clamp(64px, 9vw, 78px);
  line-height: 1;
  color: rgba(255, 254, 249, 0.05);
  letter-spacing: -0.08em;
}
.rank-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: end;
  position: relative;
  z-index: 1;
}
.rank-hero h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 7.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.rank-hero h1 em {
  font-style: normal;
  color: var(--lime);
}
.rank-hero .lede {
  margin-top: 20px;
  max-width: 680px;
  color: rgba(255, 254, 249, 0.64);
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.95;
}
.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  align-items: center;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: rgba(255, 254, 249, 0.44);
}
.rank-meta i { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 254, 249, 0.3); }
.rank-weights {
  border: 1px solid rgba(255, 254, 249, 0.16);
  border-radius: 20px;
  padding: 22px;
  background: rgba(255, 254, 249, 0.035);
}
.rank-weights > strong {
  display: block;
  font-size: 12px;
  color: rgba(255, 254, 249, 0.55);
  font-weight: 400;
  margin-bottom: 15px;
}
.weight-row { display: grid; grid-template-columns: 76px 1fr 34px; gap: 10px; align-items: center; margin-top: 11px; }
.weight-row span { font-size: 11px; color: rgba(255, 254, 249, 0.68); }
.weight-row b { font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--lime); text-align: right; }
.weight-bar { height: 3px; background: rgba(255, 254, 249, 0.12); border-radius: 999px; overflow: hidden; }
.weight-bar em { display: block; height: 100%; background: var(--lime); border-radius: inherit; }
.rank-weights .note { margin-top: 18px; padding-top: 15px; border-top: 1px solid rgba(255, 254, 249, 0.14); color: rgba(255, 254, 249, 0.38); font-size: 10px; line-height: 1.7; }

.top-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pick-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: clamp(22px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  min-height: 330px;
  position: relative;
  overflow: hidden;
}
.pick-card--first { background: var(--lime); border-color: transparent; }
.pick-card--first::after {
  content: "TOP";
  position: absolute;
  right: -0.05em;
  bottom: -0.1em;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: rgba(21, 23, 17, 0.07);
}
.pick-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; position: relative; z-index: 1; }
.pick-top span { font-family: var(--mono); font-size: 9px; color: var(--muted); letter-spacing: 0.05em; }
.pick-top b { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--violet-deep); }
.pick-card h3 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; margin-top: 20px; position: relative; z-index: 1; }
.pick-card .pick-tag { margin-top: 6px; color: var(--muted); font-size: 11px; }
.pick-card .pick-copy { margin-top: 14px; color: var(--ink-soft); font-size: 13px; line-height: 1.85; position: relative; z-index: 1; }
.pick-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}
.pick-stats div { border-top: 1px solid rgba(21, 23, 17, 0.16); padding-top: 7px; }
.pick-stats dt { font-family: var(--mono); font-size: 8px; color: var(--muted); }
.pick-stats dd { font-size: 11px; margin-top: 2px; }
.pick-card .airport-btn { margin-top: auto; width: 100%; position: relative; z-index: 1; }
.pick-card--first .airport-btn { background: var(--ink); }

.rank-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-btn {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.rank-count { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em; }

.airport-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.airport-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: clamp(20px, 3vw, 28px);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px 16px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.airport-card:hover { border-color: var(--line-strong); box-shadow: 0 18px 50px rgba(21, 23, 17, 0.07); transform: translateY(-3px); }
.airport-card[hidden] { display: none; }
.airport-rank {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  color: var(--line-strong);
  letter-spacing: -0.04em;
}
.airport-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-width: 0; }
.airport-head h3 { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 32px); line-height: 1.15; }
.airport-score {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  background: var(--paper-deep);
  border-radius: 999px;
  padding: 5px 9px;
}
.airport-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.airport-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.5;
}
.airport-copy { grid-column: 2; color: var(--ink-soft); font-size: 13px; line-height: 1.85; margin-top: 6px; }
.airport-stats {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 10px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
  margin-top: 4px;
}
.airport-stats dt { font-family: var(--mono); font-size: 8px; color: var(--muted); letter-spacing: 0.03em; }
.airport-stats dd { margin-top: 2px; font-size: 11px; }
.airport-bottom { grid-column: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 4px; }
.airport-caution { color: var(--muted); font-size: 10px; line-height: 1.6; max-width: 70%; }
.airport-bottom .airport-btn { flex: 0 0 auto; }

.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.method-card {
  border-top: 1px solid var(--line-strong);
  padding: 22px 0;
}
.method-card h3 { font-size: 18px; line-height: 1.4; }
.method-card p { margin-top: 8px; color: var(--ink-soft); font-size: 13px; line-height: 1.85; }
.signal-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin-top: 20px; }
.signal-list li {
  list-style: none;
  display: flex;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.signal-list li::before { content: "—"; color: var(--violet); flex: 0 0 auto; }

/* Article hub */
.hub-list { border-top: 1px solid var(--line-strong); }
.hub-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: background 0.2s, padding 0.2s;
}
.hub-item:hover { background: rgba(251, 250, 246, 0.6); padding-left: 12px; padding-right: 12px; }
.hub-num { font-family: var(--mono); font-size: 10px; color: var(--violet); padding-top: 8px; }
.hub-item h2 { font-family: var(--serif); font-size: clamp(22px, 3vw, 34px); line-height: 1.28; letter-spacing: -0.015em; }
.hub-item p { margin-top: 7px; color: var(--ink-soft); font-size: 13px; line-height: 1.8; max-width: 760px; }
.hub-meta { text-align: right; font-family: var(--mono); font-size: 9px; color: var(--muted); line-height: 1.8; white-space: nowrap; padding-top: 8px; }

/* Article pages */
.article-page { padding-bottom: clamp(56px, 8vw, 100px); }
.article-header {
  max-width: 900px;
  padding: clamp(34px, 5vw, 60px) 0 clamp(26px, 4vw, 42px);
}
.br-mobile { display: none; }
.article-header h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.14;
  letter-spacing: -0.035em;
}
.article-dek {
  margin-top: 20px;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.95;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  align-items: center;
  margin-top: 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}
.article-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 240px;
  gap: clamp(30px, 5vw, 70px);
  justify-content: start;
  align-items: start;
  min-width: 0;
}
.prose {
  min-width: 0;
  font-size: clamp(16px, 1.5vw, 17px);
  line-height: 2;
  color: #292c24;
}
.prose > * + * { margin-top: 1.25em; }
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-top: 2.1em;
  color: var(--ink);
  scroll-margin-top: 100px;
}
.prose h3 {
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.45;
  margin-top: 1.8em;
  color: var(--ink);
  scroll-margin-top: 100px;
}
.prose p { color: #3f4438; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a {
  color: var(--violet-deep);
  border-bottom: 1px solid rgba(55, 52, 168, 0.32);
  transition: border-color 0.2s;
}
.prose a:hover { border-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 0.55em; }
.prose li { color: #3f4438; }
.prose li::marker { color: var(--violet); }
.prose blockquote {
  border-left: 3px solid var(--lime);
  padding: 4px 0 4px 22px;
  margin-top: 2em;
  margin-bottom: 2em;
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.75;
  color: var(--ink);
}
.prose blockquote p { color: var(--ink); }
.prose figure { margin-top: 2em; margin-bottom: 2em; }
.prose figure img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.prose figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
  text-align: center;
}
.prose code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 0.82em;
}
.prose pre {
  background: var(--ink);
  color: var(--white);
  padding: 20px;
  border-radius: 16px;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.8;
}
.prose pre code { padding: 0; background: none; font-size: inherit; color: inherit; }
.prose .callout {
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--card);
  padding: 20px 22px;
  margin-top: 2em;
  margin-bottom: 2em;
}
.prose .callout p { font-size: 14px; line-height: 1.9; }
.prose .callout b { display: block; margin-bottom: 6px; font-size: 14px; }
.prose .article-cta { margin-top: 3em; }
.prose .article-cta h2 { margin-top: 0; }
.prose .article-cta a,
.prose .article-cta a:hover,
.prose .next-card,
.prose .next-card:hover { color: inherit; border-bottom: 0; }
.prose .article-cta .button--ink { color: var(--white); }
.prose .next-card h3 { color: var(--ink); }
.prose .article-cta p { color: rgba(21, 23, 17, 0.66); }
.prose .callout--lime { background: var(--lime-soft); border-color: transparent; }
.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 2em;
  margin-bottom: 2em;
}
.prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em; color: var(--muted); font-weight: 500; background: rgba(251, 250, 246, 0.6); }
.prose td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }

.article-shell > * { min-width: 0; }
.article-toc {
  position: sticky;
  top: 102px;
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}
.article-toc strong {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 10px;
}
.article-toc ol { list-style: none; display: grid; gap: 7px; }
.article-toc a {
  display: block;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s;
}
.article-toc a:hover { color: var(--violet); border-color: var(--violet); }

.article-end {
  border-top: 1px solid var(--line-strong);
  margin-top: 54px;
  padding-top: 24px;
}
.article-end p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.article-cta {
  margin-top: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--lime);
  padding: clamp(22px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.article-cta h2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); line-height: 1.3; }
.article-cta p { margin-top: 4px; color: rgba(21, 23, 17, 0.66); font-size: 12px; line-height: 1.7; }
.next-articles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 40px;
}
.next-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 18px;
  transition: border-color 0.2s, transform 0.2s;
}
.next-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.next-card span { font-family: var(--mono); font-size: 8px; color: var(--muted); }
.next-card h3 { margin-top: 7px; font-family: var(--serif); font-size: 18px; line-height: 1.4; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr); gap: 30px; }
  .hero-card--panel { left: -4%; }
  .hero-card--version { right: -2%; }
  .hero-visual { min-height: 540px; }
  .hero-visual::before { width: 380px; height: 380px; }
  .hero-ring { width: 410px; height: 410px; }
  .rank-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr); }
  .article-shell { grid-template-columns: minmax(0, 740px) 220px; gap: 36px; }
}

@media (max-width: 960px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { min-height: 560px; max-width: 620px; width: 100%; margin-inline: auto; }
  .hero-lede { max-width: 700px; }
  .hero-card--panel { left: 5%; }
  .hero-card--status { left: 8%; }
  .hero-card--version { right: 5%; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .fact-strip .wrap { grid-template-columns: 1fr 1fr 1fr; }
  .fact { padding: 20px 16px; }
  .layer-diagram { grid-template-columns: 1fr 1fr; gap: 10px; }
  .layer-arrow { display: none; }
  .download-band { grid-template-columns: 1fr; }
  .download-card { max-width: 460px; }
  .rank-spot__head { grid-template-columns: 1fr; }
  .rank-spot__actions { align-items: flex-start; flex-direction: row; align-items: center; }
  .article-card--feature { padding-right: min(34%, 300px); }
  .feature-stamp { width: 108px; height: 108px; right: 20px; bottom: 22px; }
  .download-hero-grid { grid-template-columns: 1fr; }
  .download-hero-card { max-width: 480px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
  .aside-card + .aside-card { margin-top: 0; }
  .rank-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .rank-weights { max-width: 500px; }
  .top-picks { gap: 10px; }
  .pick-card { padding: 20px; }
  .airport-grid { grid-template-columns: 1fr; }
  .article-shell { grid-template-columns: 1fr; }
  .article-toc { display: none; }
  .article-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; --radius: 18px; }
  .header-inner { min-height: 66px; }
  .brand-text strong { font-size: 18px; }
  .brand-text small { font-size: 8px; }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: clamp(43px, 12vw, 58px); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-meta { font-size: 9px; }
  .hero-visual { min-height: 480px; }
  .hero-visual::before { width: 72vw; height: 72vw; max-width: 330px; max-height: 330px; }
  .hero-ring { width: 80vw; height: 80vw; max-width: 360px; max-height: 360px; }
  .phone { width: min(250px, 67vw); }
  .hero-card--panel { left: 0; top: 12%; width: 150px; padding: 12px; }
  .hero-card--status { left: 1%; bottom: 10%; width: 168px; padding: 12px; }
  .hero-card--version { right: 0; top: 17%; width: 132px; padding: 12px; }
  .hero-visual::after { right: 0; bottom: 2%; font-size: 64px; }
  .fact-strip .wrap { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 0; }
  .fact:last-child { border-bottom: 0; }
  .fit-grid { grid-template-columns: 1fr; }
  .fit-card { min-height: 0; }
  .section-head h2 { font-size: clamp(32px, 8.5vw, 44px); }
  .steps { grid-template-columns: 1fr; }
  .step { grid-template-columns: 54px 1fr; padding-top: 20px; }
  .step-num { font-size: 52px; }
  .layer-diagram { grid-template-columns: 1fr; }
  .layer { padding: 18px; }
  .download-band { border-radius: 20px; padding: 24px; }
  .download-specs { grid-template-columns: 1fr 1fr; }
  .rank-spot { border-radius: 20px; padding: 24px; }
  .rank-preview { grid-template-columns: 1fr; }
  .mini-airport { min-height: 0; gap: 12px; }
  .mini-airport .airport-btn { width: 100%; margin-top: 8px; }
  .rank-spot h2 { font-size: clamp(38px, 10vw, 52px); }
  .article-grid { grid-template-columns: 1fr; }
  .article-card--feature { grid-column: span 1; min-height: 320px; padding-right: 24px; padding-bottom: 76px; }
  .article-card--feature h3 { font-size: clamp(30px, 8vw, 40px); }
  .feature-stamp { width: 88px; height: 88px; right: 18px; bottom: 18px; font-size: 7px; }
  .footer-top { flex-direction: column; gap: 22px; }
  .footer-nav { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-bottom p:last-child { text-align: left; }
  .page-hero h1 { font-size: clamp(40px, 11vw, 58px); }
  .download-hero-card { max-width: none; }
  .screenshot-strip { grid-template-columns: 1fr 1fr; }
  .top-picks { grid-template-columns: 1fr; }
  .pick-card { min-height: 0; }
  .pick-card .airport-btn { margin-top: 20px; }
  .airport-card { grid-template-columns: 42px minmax(0, 1fr); padding: 20px; }
  .airport-rank { font-size: 28px; }
  .airport-copy, .airport-stats, .airport-bottom { grid-column: 2; }
  .airport-stats { grid-template-columns: 1fr 1fr; gap: 6px 10px; }
  .airport-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .airport-caution { max-width: 100%; }
  .airport-bottom .airport-btn { width: 100%; }
  .method-grid { grid-template-columns: 1fr; }
  .signal-list { grid-template-columns: 1fr; }
  .hub-item { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 22px 0; }
  .hub-meta { grid-column: 2; text-align: left; padding-top: 0; }
  .article-header h1 { font-size: clamp(35px, 9vw, 46px); }
  .br-mobile { display: inline; }
  .article-cta { padding: 22px; }
  .article-cta .button { width: 100%; }
  .next-articles { grid-template-columns: 1fr; }
  .download-aside { grid-template-columns: 1fr; }
  .prose table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 430px) {
  .hero-card--panel { top: 8%; }
  .hero-card--version { top: 12%; }
  .hero-card--status { bottom: 6%; }
  .hero-visual { min-height: 440px; }
  .phone { width: 230px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .brand-mark svg { width: 21px; height: 21px; }
  .rank-spot__actions { flex-direction: column; align-items: flex-start; }
  .score-small { display: none; }
  .airport-card { grid-template-columns: 34px minmax(0, 1fr); gap: 6px 10px; padding: 18px; }
  .airport-rank { font-size: 24px; }
  .airport-head h3 { font-size: 26px; }
  .download-band h2 { font-size: 34px; }
  .download-specs { grid-template-columns: 1fr; }
  .download-specs div:nth-child(even) { padding-left: 0; border-left: 0; }
  .download-specs div:nth-child(odd) { padding-right: 0; }
}

@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; }
  .reveal { opacity: 1; transform: none; }
}
