/* ==========================================================================
   Clash Verge Rev 中文站 — visual system
   A quiet, editorial interface for a technical desktop tool.
   ========================================================================== */

:root {
  --paper: #f4f0e7;
  --paper-2: #ebe5d8;
  --paper-3: #e3dccd;
  --surface: #fffdf8;
  --ink: #1d1722;
  --ink-2: #352c3b;
  --ink-soft: #5c5262;
  --muted: #6a5f70;
  --line: rgba(29, 23, 34, 0.14);
  --line-strong: rgba(29, 23, 34, 0.28);
  --pink: #e95ca4;
  --pink-deep: #b8357f;
  --pink-soft: #f8d9e9;
  --violet: #8866e4;
  --violet-soft: #e6dcff;
  --peach: #f3c3a4;
  --lime: #d8ed8a;
  --green: #2d8a66;
  --red: #c75656;
  --shadow-sm: 0 8px 24px -16px rgba(29, 23, 34, 0.38);
  --shadow-md: 0 24px 60px -30px rgba(29, 23, 34, 0.42);
  --shadow-lg: 0 44px 100px -48px rgba(29, 23, 34, 0.56);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --display: "Songti SC", "STSong", "Noto Serif SC", "Georgia", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Menlo, Consolas,
    monospace;
  --container: 1220px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --paper: #17131c;
  --paper-2: #201a27;
  --paper-3: #2a2232;
  --surface: #241d2c;
  --ink: #f5efe6;
  --ink-2: #e0d6e4;
  --ink-soft: #c4b8c8;
  --muted: #9b8fa1;
  --line: rgba(245, 239, 230, 0.14);
  --line-strong: rgba(245, 239, 230, 0.28);
  --pink: #ff82ba;
  --pink-deep: #ff6cac;
  --pink-soft: #4a2339;
  --violet: #a98bff;
  --violet-soft: #352b50;
  --peach: #f3b792;
  --lime: #d8ed8a;
  --green: #78d5ad;
  --red: #ef8b8b;
  --shadow-sm: 0 8px 24px -16px rgba(0, 0, 0, 0.7);
  --shadow-md: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 44px 100px -48px rgba(0, 0, 0, 0.9);
}

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

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

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

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.22;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 58%);
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

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

button {
  cursor: pointer;
}

::selection {
  background: var(--pink);
  color: #fff;
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 700;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

.container--narrow {
  width: min(940px, calc(100% - 48px));
}

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

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

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

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */

.top-note {
  position: relative;
  z-index: 110;
  min-height: 36px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

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

.top-note__lead {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
}

.top-note__lead:hover {
  color: var(--pink);
}

.top-note__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(233, 92, 164, 0.16);
}

.top-note__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--paper);
  text-decoration: none;
  opacity: 0.84;
}

.top-note__link:hover {
  color: var(--pink);
  opacity: 1;
}

.top-note__link svg {
  width: 12px;
  height: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

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

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

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line), 0 6px 16px -10px rgba(29, 23, 34, 0.8);
}

.brand__word {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}

.brand__name {
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

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

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

.nav__link {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__link:hover {
  color: var(--ink);
  background: var(--paper-2);
}

.nav__link.is-active {
  color: var(--ink);
  background: var(--paper-2);
}

.nav__link.is-active::after {
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
  transform: translateX(-50%);
}

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

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.icon-button:hover {
  border-color: var(--line-strong);
  background: var(--paper-2);
  color: var(--ink);
}

.icon-button svg {
  width: 17px;
  height: 17px;
}

.theme-icon--sun {
  display: none;
}

[data-theme="dark"] .theme-icon--sun {
  display: block;
}

[data-theme="dark"] .theme-icon--moon {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s ease,
    border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.button svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

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

.button:hover svg {
  transform: translateX(3px);
}

.button:active {
  transform: translateY(0);
}

.button--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 24px -16px rgba(29, 23, 34, 0.8);
}

.button--primary:hover {
  background: var(--pink-deep);
  color: #fff;
}

.button--accent {
  background: var(--pink);
  color: #21131d;
}

.button--accent:hover {
  background: var(--peach);
}

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

.button--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.button--light {
  background: var(--surface);
  color: var(--ink);
}

.button--light:hover {
  background: var(--pink-soft);
}

.button--sm {
  min-height: 38px;
  padding: 8px 15px;
  font-size: 13px;
}

.button--wide {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-cta::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

.nav-cta:hover {
  border-color: var(--pink);
  background: var(--pink);
  color: #21131d;
}

.menu-button {
  display: none;
}

.mobile-menu {
  display: none;
}

/* --------------------------------------------------------------------------
   Shared typography, sections & ornaments
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 1px;
  background: var(--pink);
  content: "";
}

.eyebrow__num {
  color: var(--pink-deep);
}

.display {
  margin-bottom: 22px;
  font-family: var(--display);
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.display em {
  font-style: normal;
  color: var(--pink-deep);
}

.lead {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.section {
  position: relative;
  padding: 104px 0;
}

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

.section--flip {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 46px;
}

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

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

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.section-link:hover {
  border-color: var(--pink);
  color: var(--pink-deep);
}

.section-link svg {
  width: 14px;
  height: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.text-link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

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

.text-link:hover svg {
  transform: translateX(3px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tag--pink {
  border-color: transparent;
  background: var(--pink-soft);
  color: #a52a6d;
}

[data-theme="dark"] .tag--pink {
  color: #ff9cc8;
}

.tag--violet {
  border-color: transparent;
  background: var(--violet-soft);
  color: var(--violet);
}

.tag--lime {
  border-color: transparent;
  background: color-mix(in srgb, var(--lime) 50%, transparent);
  color: var(--ink);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 16%, transparent);
}

/* Reveal animation */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

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

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

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

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

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

.hero::before {
  position: absolute;
  top: -18%;
  right: -8%;
  z-index: -1;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 48% 48%,
    color-mix(in srgb, var(--violet) 24%, transparent),
    color-mix(in srgb, var(--pink) 15%, transparent) 42%,
    transparent 67%
  );
  filter: blur(20px);
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  bottom: 12%;
  left: -160px;
  z-index: -1;
  width: 380px;
  height: 380px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: clamp(42px, 6vw, 84px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 7px 12px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 65%, transparent);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.hero-kicker__badge {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin-bottom: 26px;
  font-family: var(--display);
  font-size: clamp(54px, 6.7vw, 92px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.01;
}

.hero h1 .line {
  display: block;
}

.hero h1 .soft {
  color: var(--ink-soft);
}

.hero h1 .mark {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.hero h1 .mark::after {
  position: absolute;
  right: -0.04em;
  bottom: 0.08em;
  left: -0.04em;
  z-index: -1;
  height: 0.21em;
  background: var(--pink);
  content: "";
  opacity: 0.62;
  transform: rotate(-1.2deg);
}

.hero__lede {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

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

.hero__meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  font-style: normal;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.hero-visual__ring {
  position: absolute;
  z-index: -1;
  width: min(470px, 86%);
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.hero-visual__ring::before,
.hero-visual__ring::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hero-visual__ring::before {
  inset: 38px;
  border: 1px dashed var(--line-strong);
}

.hero-visual__ring::after {
  top: 7%;
  right: 16%;
  width: 10px;
  height: 10px;
  background: var(--pink);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--pink) 14%, transparent);
}

.console {
  position: relative;
  width: min(534px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: #18131f;
  color: #f8f1e9;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.4deg);
}

.console::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  content: "";
  pointer-events: none;
}

.console__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.window-dots span:first-child {
  background: #e95ca4;
}

.window-dots span:nth-child(2) {
  background: #f3c3a4;
}

.window-dots span:nth-child(3) {
  background: #8866e4;
}

.console__title {
  color: rgba(248, 241, 233, 0.58);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console__bar-end {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: rgba(248, 241, 233, 0.55);
  font-family: var(--mono);
  font-size: 9px;
}

.console__bar-end .status-dot {
  width: 5px;
  height: 5px;
  background: #8ee0b3;
  box-shadow: 0 0 0 3px rgba(142, 224, 179, 0.12);
}

.console__body {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  min-height: 366px;
}

.console__rail {
  padding: 16px 9px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.022);
}

.console__logo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  padding: 0 4px;
}

.console__logo img {
  width: 18px;
  height: 18px;
}

.console__logo span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rail-item {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  padding: 7px 7px;
  border-radius: 7px;
  color: rgba(248, 241, 233, 0.44);
  font-size: 9px;
}

.rail-item svg {
  width: 11px;
  height: 11px;
}

.rail-item.is-active {
  background: rgba(233, 92, 164, 0.16);
  color: #f7b7d7;
}

.rail-foot {
  margin-top: 86px;
  padding: 0 5px;
  color: rgba(248, 241, 233, 0.28);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
}

.console__main {
  padding: 18px 18px 14px;
}

.console__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.console__heading p {
  margin-bottom: 3px;
  color: rgba(248, 241, 233, 0.4);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console__heading strong {
  display: block;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(248, 241, 233, 0.62);
  font-family: var(--mono);
  font-size: 8px;
  white-space: nowrap;
}

.mode-pill i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d8ed8a;
}

.current-node {
  position: relative;
  margin-bottom: 14px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(136, 102, 228, 0.25), rgba(233, 92, 164, 0.1));
}

.current-node::after {
  position: absolute;
  top: -40px;
  right: -30px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.current-node__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.current-node__label {
  color: rgba(248, 241, 233, 0.45);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.latency {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #a7efc6;
  font-family: var(--mono);
  font-size: 8px;
}

.latency::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.current-node__name {
  margin-bottom: 7px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.current-node__name small {
  margin-left: 7px;
  color: rgba(248, 241, 233, 0.45);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.current-node__spark {
  width: 100%;
  height: 36px;
  overflow: visible;
}

.node-list {
  display: grid;
  gap: 5px;
}

.node-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.038);
  font-size: 9px;
}

.node-row__name {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: rgba(248, 241, 233, 0.76);
  white-space: nowrap;
}

.node-row__name::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8866e4;
  content: "";
}

.node-row:nth-child(2) .node-row__name::before {
  background: #e95ca4;
}

.node-row:nth-child(3) .node-row__name::before {
  background: #f3c3a4;
}

.node-row__bar {
  width: 54px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.node-row__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #8ee0b3;
}

.node-row:nth-child(2) .node-row__bar i {
  width: 72%;
  background: #d8ed8a;
}

.node-row:nth-child(3) .node-row__bar i {
  width: 48%;
  background: #f3c3a4;
}

.node-row__time {
  color: rgba(248, 241, 233, 0.38);
  font-family: var(--mono);
  font-size: 8px;
}

.console__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(248, 241, 233, 0.35);
  font-family: var(--mono);
  font-size: 8px;
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  font-size: 10px;
  line-height: 1.4;
}

.float-card--top {
  top: 28px;
  right: -16px;
  transform: rotate(2.5deg);
}

.float-card--bottom {
  bottom: 18px;
  left: -28px;
  transform: rotate(-2deg);
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink-deep);
}

.float-card__icon svg {
  width: 13px;
  height: 13px;
}

.float-card strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
}

.float-card span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

/* --------------------------------------------------------------------------
   Signal strip
   -------------------------------------------------------------------------- */

.signal-strip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.signal-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.signal-strip:hover .signal-track {
  animation-play-state: paused;
}

.signal-set {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 13px 15px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.signal-set span {
  display: inline-flex;
  align-items: center;
  gap: 30px;
}

.signal-set span::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

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

/* --------------------------------------------------------------------------
   Feature grid
   -------------------------------------------------------------------------- */

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

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 52%, transparent);
  transition: transform 0.35s var(--ease), border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.feature-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.feature-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: auto;
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
}

.feature-card__icon svg {
  width: 19px;
  height: 19px;
}

.feature-card__num {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.feature-card h3 {
  margin: 36px 0 10px;
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.feature-card--dark {
  border-color: transparent;
  background: var(--ink);
  color: var(--paper);
}

.feature-card--dark h3 {
  color: var(--paper);
}

.feature-card--dark p {
  color: color-mix(in srgb, var(--paper) 68%, transparent);
}

.feature-card--dark .feature-card__icon {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: var(--pink);
}

.feature-card--dark .feature-card__num {
  color: color-mix(in srgb, var(--paper) 46%, transparent);
}

.feature-card--dark::after {
  position: absolute;
  right: -55px;
  bottom: -75px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.feature-card--pink {
  border-color: transparent;
  background: var(--pink);
  color: #24131e;
}

.feature-card--pink h3 {
  color: #24131e;
}

.feature-card--pink p {
  color: rgba(36, 19, 30, 0.74);
}

.feature-card--pink .feature-card__icon {
  border-color: rgba(36, 19, 30, 0.18);
  background: rgba(255, 255, 255, 0.2);
  color: #24131e;
}

.feature-card--pink .feature-card__num {
  color: rgba(36, 19, 30, 0.48);
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 34px 34px 8px 0;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
  padding-left: 34px;
}

.step:nth-child(2) {
  padding-left: 34px;
}

.step__num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--pink-deep);
  font-family: var(--display);
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.step__num small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.step p {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Ranking teaser
   -------------------------------------------------------------------------- */

.rank-teaser {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  padding: clamp(34px, 5.5vw, 66px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #1b1522;
  color: #f7f0e8;
  box-shadow: var(--shadow-lg);
}

.rank-teaser::before {
  position: absolute;
  top: -35%;
  left: 35%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(233, 92, 164, 0.34),
    rgba(136, 102, 228, 0.18) 42%,
    transparent 70%
  );
  content: "";
  pointer-events: none;
}

.rank-teaser::after {
  position: absolute;
  right: -90px;
  bottom: -170px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.rank-teaser__copy {
  position: relative;
  z-index: 1;
}

.rank-teaser .eyebrow {
  color: rgba(247, 240, 232, 0.46);
}

.rank-teaser .eyebrow::before {
  background: var(--pink);
}

.rank-teaser .display {
  color: #f7f0e8;
  font-size: clamp(38px, 4.4vw, 58px);
}

.rank-teaser .display em {
  color: var(--pink);
}

.rank-teaser p {
  max-width: 440px;
  margin-bottom: 28px;
  color: rgba(247, 240, 232, 0.62);
  font-size: 14px;
  line-height: 1.9;
}

.rank-board {
  position: relative;
  z-index: 1;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}

.rank-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 9px 14px;
  color: rgba(247, 240, 232, 0.46);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.rank-board__head span:last-child {
  color: var(--pink);
}

.rank-line {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 13px 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #f7f0e8;
  text-decoration: none;
  transition: background 0.2s ease;
}

.rank-line:hover {
  background: rgba(255, 255, 255, 0.05);
}

.rank-line__no {
  color: rgba(247, 240, 232, 0.36);
  font-family: var(--mono);
  font-size: 10px;
}

.rank-line:first-of-type .rank-line__no {
  color: var(--pink);
}

.rank-line__name {
  min-width: 0;
}

.rank-line__name strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-line__name span {
  display: block;
  overflow: hidden;
  color: rgba(247, 240, 232, 0.42);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-line__score {
  color: #f7f0e8;
  font-family: var(--mono);
  font-size: 13px;
}

.rank-line__arrow {
  color: rgba(247, 240, 232, 0.35);
}

.rank-line__arrow svg {
  width: 13px;
  height: 13px;
}

.rank-board__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 10px 3px;
  color: rgba(247, 240, 232, 0.38);
  font-size: 9px;
}

.rank-board__foot a {
  color: var(--pink);
  font-weight: 600;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   OS download cards
   -------------------------------------------------------------------------- */

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

.os-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 252px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.os-card:hover {
  border-color: var(--pink);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.os-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.os-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
}

.os-card__icon svg {
  width: 19px;
  height: 19px;
}

.os-card__arrow {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.os-card__arrow svg {
  width: 12px;
  height: 12px;
}

.os-card:hover .os-card__arrow {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.os-card h3 {
  margin-bottom: 7px;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.os-card p {
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.os-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.os-card__meta strong {
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Journal
   -------------------------------------------------------------------------- */

.journal-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 34px;
}

.post-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: clamp(26px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.post-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.post-feature::after {
  position: absolute;
  top: -80px;
  right: -65px;
  width: 270px;
  height: 270px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  content: "";
  transition: transform 0.6s var(--ease);
}

.post-feature:hover::after {
  transform: scale(1.12);
}

.post-feature__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.post-feature h3 {
  max-width: 600px;
  margin: 46px 0 14px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.post-feature p {
  max-width: 540px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.post-feature__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.post-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.post-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: start;
  padding: 23px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding 0.25s var(--ease), background 0.25s ease;
}

.post-row:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: color-mix(in srgb, var(--surface) 50%, transparent);
}

.post-row__no {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.post-row h3 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.post-row p {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.65;
}

.post-row__meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.post-row__arrow {
  margin-top: 3px;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.post-row:hover .post-row__arrow {
  color: var(--pink-deep);
  transform: translateX(3px);
}

.post-row__arrow svg {
  width: 13px;
  height: 13px;
}

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

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(40px, 7vw, 100px);
}

.faq-intro {
  position: sticky;
  top: 108px;
  align-self: start;
}

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

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

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

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

.faq-item summary::after {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-soft);
  content: "+";
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item[open] summary::after {
  background: var(--ink);
  color: var(--paper);
  content: "−";
  transform: rotate(180deg);
}

.faq-item__body {
  max-width: 650px;
  padding: 0 0 24px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.faq-item__body p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.final-cta {
  position: relative;
  padding: 80px 0 100px;
}

.final-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding: clamp(34px, 6vw, 70px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--pink);
  color: #24131e;
}

.final-cta__inner::before {
  position: absolute;
  top: -140px;
  right: -100px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(36, 19, 30, 0.16);
  border-radius: 50%;
  content: "";
}

.final-cta__inner::after {
  position: absolute;
  right: 9%;
  bottom: -210px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--violet);
  content: "";
  opacity: 0.3;
  filter: blur(4px);
}

.final-cta .eyebrow {
  color: rgba(36, 19, 30, 0.54);
}

.final-cta .eyebrow::before {
  background: #24131e;
}

.final-cta .display {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin-bottom: 0;
  color: #24131e;
  font-size: clamp(38px, 5.5vw, 74px);
}

.final-cta .display em {
  color: #fff7ef;
}

.final-cta__side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 7px;
}

.final-cta__side p {
  max-width: 250px;
  margin-bottom: 5px;
  color: rgba(36, 19, 30, 0.66);
  font-size: 13px;
  line-height: 1.7;
}

.final-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

[data-theme="dark"] .site-footer {
  border-top: 1px solid var(--line);
  background: #100d14;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.55fr));
  gap: 40px;
  padding: 64px 0 54px;
}

.footer-brand__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-brand__logo img {
  width: 36px;
  height: 36px;
}

.footer-brand__logo span {
  color: var(--paper);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-brand p {
  max-width: 320px;
  margin-bottom: 22px;
  color: color-mix(in srgb, var(--paper) 52%, transparent);
  font-size: 12px;
  line-height: 1.9;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(248, 241, 233, 0.16);
  border-radius: 999px;
  color: color-mix(in srgb, var(--paper) 54%, transparent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.footer-column h3 {
  margin-bottom: 17px;
  color: color-mix(in srgb, var(--paper) 42%, transparent);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-column a {
  color: color-mix(in srgb, var(--paper) 76%, transparent);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--pink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 0 25px;
  border-top: 1px solid rgba(248, 241, 233, 0.12);
  color: color-mix(in srgb, var(--paper) 38%, transparent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

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

.footer-word {
  position: absolute;
  right: -18px;
  bottom: -45px;
  color: rgba(248, 241, 233, 0.03);
  font-family: var(--display);
  font-size: clamp(150px, 22vw, 300px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Floating ranking dock
   -------------------------------------------------------------------------- */

.rank-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: #1b1522;
  color: #f7f0e8;
  box-shadow: 0 18px 42px -18px rgba(27, 21, 34, 0.8);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s ease;
}

.rank-dock:hover {
  background: #2a1e32;
  transform: translateY(-3px);
}

.rank-dock__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
}

.rank-dock__dot::after {
  position: absolute;
  inset: -4px;
  border: 1px solid var(--pink);
  border-radius: 50%;
  content: "";
  opacity: 0;
  animation: dock-pulse 2.8s ease-out infinite;
}

.rank-dock svg {
  width: 13px;
  height: 13px;
  color: var(--pink);
}

@keyframes dock-pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.7);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

/* --------------------------------------------------------------------------
   Page hero / breadcrumbs / downloads
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding: 64px 0 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  position: absolute;
  top: -60%;
  right: -10%;
  z-index: -1;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--violet) 18%, transparent),
    transparent 68%
  );
  content: "";
}

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

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

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

.breadcrumb__sep {
  color: var(--line-strong);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-family: var(--display);
  font-size: clamp(44px, 6.2vw, 78px);
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--pink-deep);
}

.page-hero .lead {
  font-size: 16px;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: 50px;
}

.version-card {
  position: relative;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.version-card::after {
  position: absolute;
  right: -40px;
  bottom: -65px;
  width: 160px;
  height: 160px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.version-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.version-card__top span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
}

.version-card__num {
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.version-card__date {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
}

.version-card .button {
  position: relative;
  z-index: 1;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 50px;
  align-items: start;
}

.download-main > section {
  margin-bottom: 58px;
}

.download-main > section:last-child {
  margin-bottom: 0;
}

.os-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 58%, transparent);
}

.os-block + .os-block {
  margin-top: 14px;
}

.os-block__head {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.os-block__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.os-block__icon svg {
  width: 20px;
  height: 20px;
}

.os-block__head h3 {
  margin: 1px 0 3px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.os-block__head p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.package {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.package:hover .package__name {
  color: var(--pink-deep);
}

.package__info {
  min-width: 0;
}

.package__name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 650;
  transition: color 0.2s ease;
}

.package__name .tag {
  min-height: 19px;
  padding: 2px 6px;
  font-size: 8px;
}

.package__file {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.package__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
}

.package__action svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.package:hover .package__action svg {
  transform: translateY(2px);
}

.download-aside {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 14px;
}

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

.aside-card--dark {
  border-color: transparent;
  background: var(--ink);
  color: var(--paper);
}

.aside-card--pink {
  border-color: transparent;
  background: var(--pink);
  color: #24131e;
}

.aside-card h3 {
  margin-bottom: 9px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.aside-card p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

.aside-card--dark h3 {
  color: var(--paper);
}

.aside-card--dark p {
  color: color-mix(in srgb, var(--paper) 58%, transparent);
}

.aside-card--pink h3 {
  color: #24131e;
}

.aside-card--pink p {
  color: rgba(36, 19, 30, 0.68);
}

.aside-card .button {
  margin-top: 2px;
}

.aside-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.aside-list li {
  display: flex;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.65;
}

.aside-list li::before {
  flex: 0 0 auto;
  color: var(--pink-deep);
  content: "↳";
}

.download-note {
  padding: 18px 20px;
  border-left: 2px solid var(--pink);
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

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

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

.info-tile {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 52%, transparent);
}

.info-tile h4 {
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.info-tile p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.section-mini-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.section-mini-title h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 31px;
  letter-spacing: -0.045em;
}

.section-mini-title span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.install-steps {
  display: grid;
  gap: 11px;
}

.install-step {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.install-step__num {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--pink-deep);
  font-family: var(--mono);
  font-size: 9px;
}

.install-step h4 {
  margin: 2px 0 4px;
  font-size: 13px;
}

.install-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Ranking page
   -------------------------------------------------------------------------- */

.ranking-hero {
  position: relative;
  padding: 60px 0 0;
  overflow: hidden;
  background: #1b1522;
  color: #f7f0e8;
}

.ranking-hero::before {
  position: absolute;
  top: -280px;
  left: 10%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(136, 102, 228, 0.28),
    rgba(233, 92, 164, 0.17) 40%,
    transparent 68%
  );
  content: "";
}

.ranking-hero::after {
  position: absolute;
  top: 26px;
  right: -130px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(247, 240, 232, 0.13);
  border-radius: 50%;
  content: "";
}

.ranking-hero .breadcrumb {
  position: relative;
  z-index: 1;
  color: rgba(247, 240, 232, 0.38);
}

.ranking-hero .breadcrumb a {
  color: rgba(247, 240, 232, 0.58);
}

.ranking-hero .breadcrumb a:hover {
  color: var(--pink);
}

.ranking-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-bottom: 20px;
  color: #f7f0e8;
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 92px);
  letter-spacing: -0.065em;
  line-height: 1.03;
}

.ranking-hero h1 em {
  color: var(--pink);
  font-style: normal;
}

.ranking-hero__lead {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(247, 240, 232, 0.62);
  font-size: 16px;
  line-height: 1.9;
}

.ranking-hero__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 20px 0 28px;
  color: rgba(247, 240, 232, 0.42);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

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

.ranking-hero__meta .status-dot {
  width: 5px;
  height: 5px;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(233, 92, 164, 0.14);
}

.podium-wrap {
  position: relative;
  z-index: 2;
  padding-bottom: 46px;
}

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

.podium-card {
  position: relative;
  display: flex;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  flex-direction: column;
  min-height: 205px;
  padding: 20px;
  border: 1px solid rgba(247, 240, 232, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  color: #f7f0e8;
  backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

.podium-card:hover {
  background: rgba(255, 255, 255, 0.085);
  transform: translateY(-4px);
}

.podium-card--first {
  border-color: rgba(233, 92, 164, 0.42);
  background: linear-gradient(
    160deg,
    rgba(233, 92, 164, 0.22),
    rgba(255, 255, 255, 0.045) 56%
  );
}

.podium-card__rank {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: auto;
  color: rgba(247, 240, 232, 0.38);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.podium-card__rank span:last-child {
  color: var(--pink);
}

.podium-card__name {
  display: block;
  margin: 26px 0 4px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.podium-card__desc {
  display: block;
  margin-bottom: 16px;
  color: rgba(247, 240, 232, 0.48);
  font-size: 10px;
  line-height: 1.6;
}

.podium-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 11px;
  border-top: 1px solid rgba(247, 240, 232, 0.1);
  font-family: var(--mono);
  font-size: 9px;
}

.podium-card__score {
  color: var(--pink);
  font-size: 15px;
}

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

.ranking-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
  margin-bottom: 56px;
}

.ranking-intro .display {
  font-size: clamp(34px, 4.4vw, 54px);
}

.ranking-intro p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.ranking-intro p strong {
  color: var(--ink);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
}

.method-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 50%, transparent);
}

.method-item__num {
  display: block;
  margin-bottom: 13px;
  color: var(--pink-deep);
  font-family: var(--mono);
  font-size: 9px;
}

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

.method-item p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
}

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

.filter-chip {
  min-height: 33px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 11px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

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

.filter-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.rank-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.rank-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  text-align: left;
}

.rank-table thead th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rank-table tbody tr {
  transition: background 0.2s ease;
}

.rank-table tbody tr:hover {
  background: color-mix(in srgb, var(--pink) 4%, transparent);
}

.rank-table tbody tr[hidden] {
  display: none;
}

.rank-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  vertical-align: middle;
}

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

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

.rank-position--top {
  color: var(--pink-deep);
  font-weight: 700;
}

.rank-service {
  display: flex;
  align-items: center;
  gap: 11px;
}

.rank-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
}

.rank-service strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.rank-service > span:last-child {
  min-width: 0;
}

.rank-service > span:last-child > span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.rank-fit {
  color: var(--ink-soft);
  font-size: 11px;
}

.rank-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.rank-tags .tag {
  min-height: 20px;
  padding: 2px 6px;
  font-size: 8px;
  letter-spacing: 0.03em;
  text-transform: none;
}

.rank-price {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  white-space: nowrap;
}

.score-cell {
  display: flex;
  align-items: center;
  gap: 9px;
}

.score-bar {
  width: 58px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper-3);
}

.score-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--pink);
}

.score-cell strong {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

.rank-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rank-more:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.rank-more svg {
  width: 11px;
  height: 11px;
}

.table-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.table-foot p {
  max-width: 720px;
  margin: 0;
}

.empty-state {
  display: none;
  padding: 60px 20px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.empty-state.is-visible {
  display: block;
}

.rank-dialog {
  width: min(580px, calc(100% - 32px));
  max-height: min(88vh, 860px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.rank-dialog::backdrop {
  background: rgba(20, 14, 24, 0.62);
  backdrop-filter: blur(4px);
}

.dialog-inner {
  padding: 30px;
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.dialog-head .tag {
  margin-bottom: 10px;
}

.dialog-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.dialog-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
}

.dialog-close:hover {
  background: var(--ink);
  color: var(--paper);
}

.dialog-close svg {
  width: 13px;
  height: 13px;
}

.dialog-score {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper-2);
}

.dialog-score strong {
  font-family: var(--display);
  font-size: 38px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.dialog-score span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.dialog-block {
  margin-bottom: 21px;
}

.dialog-block h3 {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.dialog-block p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
}

.dialog-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dialog-list li {
  display: flex;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.dialog-list li::before {
  color: var(--pink-deep);
  content: "✓";
}

.dialog-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.risk-section {
  margin-top: 66px;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.risk-card {
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.risk-card__icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-family: var(--mono);
  font-size: 11px;
}

.risk-card h3 {
  margin-bottom: 6px;
  font-size: 13px;
}

.risk-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.7;
}

.rank-notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 50px;
}

.note-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
}

.note-panel h2 {
  margin-bottom: 15px;
  font-family: var(--display);
  font-size: 27px;
  letter-spacing: -0.04em;
}

.note-panel p {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.85;
}

.note-panel p:last-child {
  margin-bottom: 0;
}

.note-panel--accent {
  border-color: transparent;
  background: var(--ink);
  color: var(--paper);
}

.note-panel--accent h2 {
  color: var(--paper);
}

.note-panel--accent p {
  color: color-mix(in srgb, var(--paper) 60%, transparent);
}

.note-panel--accent .text-link {
  color: var(--pink);
}

/* --------------------------------------------------------------------------
   Articles
   -------------------------------------------------------------------------- */

.article-hero {
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper-2) 58%, transparent);
}

.article-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-family: var(--display);
  font-size: clamp(38px, 5.8vw, 68px);
  letter-spacing: -0.06em;
  line-height: 1.12;
}

.article-hero__lede {
  max-width: 760px;
  margin-bottom: 27px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.article-meta__author {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
}

.article-meta__avatar {
  width: 23px;
  height: 23px;
  border-radius: 50%;
}

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

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

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  justify-content: center;
  gap: clamp(36px, 6vw, 80px);
  padding: 64px 0 86px;
}

.article-body {
  min-width: 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.95;
}

.article-body .lede {
  margin-bottom: 34px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: -0.025em;
  line-height: 1.75;
}

.article-body h2 {
  margin: 50px 0 15px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: -0.045em;
  line-height: 1.3;
  scroll-margin-top: 106px;
}

.article-body h3 {
  margin: 32px 0 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.5;
  scroll-margin-top: 106px;
}

.article-body p {
  margin-bottom: 23px;
}

.article-body a {
  color: var(--pink-deep);
  text-decoration-color: color-mix(in srgb, var(--pink) 45%, transparent);
}

.article-body a:hover {
  text-decoration-color: var(--pink-deep);
}

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

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

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

.article-body li::marker {
  color: var(--pink-deep);
  font-family: var(--mono);
  font-size: 0.8em;
}

.article-body blockquote {
  position: relative;
  margin: 34px 0;
  padding: 22px 26px 22px 30px;
  border-left: 3px solid var(--pink);
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.7;
}

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

.article-body .callout {
  margin: 30px 0;
  padding: 21px 23px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
}

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

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

.article-body code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.83em;
}

.article-body pre {
  margin: 26px 0;
  padding: 20px;
  overflow-x: auto;
  border-radius: 10px;
  background: #18131f;
  color: #e9dfd2;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
}

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

.article-body hr {
  margin: 44px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-body .article-summary {
  margin: 0 0 38px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.article-body .article-summary p {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-body .article-summary ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.article-body .article-summary li {
  margin-bottom: 4px;
}

.article-aside {
  position: sticky;
  top: 108px;
  align-self: start;
  display: grid;
  gap: 12px;
}

.aside-rank {
  position: relative;
  padding: 23px;
  overflow: hidden;
  border-radius: 15px;
  background: #1b1522;
  color: #f7f0e8;
}

.aside-rank::after {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(247, 240, 232, 0.14);
  border-radius: 50%;
  content: "";
}

.aside-rank__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  color: var(--pink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.aside-rank__label::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

.aside-rank h2 {
  margin-bottom: 9px;
  color: #f7f0e8;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.aside-rank p {
  margin-bottom: 17px;
  color: rgba(247, 240, 232, 0.5);
  font-size: 11px;
  line-height: 1.75;
}

.aside-rank .button {
  position: relative;
  z-index: 1;
}

.aside-related {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 58%, transparent);
}

.aside-related h2 {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.aside-related ul {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.aside-related li:first-child {
  border-top: 0;
}

.aside-related a {
  display: block;
  padding: 11px 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
  text-decoration: none;
}

.aside-related a:hover {
  color: var(--pink-deep);
}

.article-end {
  padding: 0 0 90px;
}

.article-end__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 35px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--pink);
  color: #24131e;
}

.article-end__inner::after {
  position: absolute;
  right: 12%;
  bottom: -130px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(36, 19, 30, 0.18);
  border-radius: 50%;
  content: "";
}

.article-end h2 {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin-bottom: 7px;
  color: #24131e;
  font-family: var(--display);
  font-size: clamp(26px, 3.5vw, 38px);
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.article-end p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: rgba(36, 19, 30, 0.66);
  font-size: 12px;
}

.article-end .button {
  position: relative;
  z-index: 1;
}

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

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

.not-found__code {
  margin-bottom: 8px;
  color: var(--pink-deep);
  font-family: var(--display);
  font-size: clamp(110px, 20vw, 210px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.not-found h1 {
  margin-bottom: 13px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.04em;
}

.not-found p {
  max-width: 470px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .nav {
    gap: 0;
  }

  .nav__link {
    padding-inline: 10px;
  }

  .hero-grid {
    gap: 38px;
  }

  .float-card--top {
    right: -5px;
  }

  .float-card--bottom {
    left: -8px;
  }

  .footer-top {
    grid-template-columns: 1.4fr repeat(3, 0.6fr);
    gap: 28px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 680px) 280px;
  }
}

@media (max-width: 960px) {
  .section {
    padding: 82px 0;
  }

  .hero {
    padding: 64px 0 76px;
  }

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

  .hero__lede {
    max-width: 600px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .console {
    width: min(540px, 90%);
  }

  .float-card--top {
    right: 3%;
  }

  .float-card--bottom {
    left: 2%;
  }

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

  .feature-card {
    min-height: 250px;
  }

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

  .rank-teaser p {
    max-width: 560px;
  }

  .journal-wrap {
    grid-template-columns: 1fr;
  }

  .post-feature {
    min-height: 360px;
  }

  .post-feature h3 {
    margin-top: 36px;
  }

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

  .faq-intro {
    position: static;
  }

  .final-cta__inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .final-cta__side {
    padding-bottom: 0;
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .version-card {
    max-width: 420px;
  }

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

  .download-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .article-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

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

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

  .podium-card {
    min-height: 150px;
  }

  .podium-card__name {
    margin-top: 18px;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 440px;
  }
}

@media (max-width: 820px) {
  .container,
  .container--narrow {
    width: calc(100% - 36px);
  }

  .top-note__inner {
    justify-content: center;
  }

  .top-note__link {
    display: none;
  }

  .nav {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .site-header .theme-button {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    display: block;
    padding: 106px 24px 32px;
    overflow-y: auto;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease);
  }

  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .mobile-menu__nav {
    display: grid;
    border-top: 1px solid var(--line);
  }

  .mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--display);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-decoration: none;
  }

  .mobile-menu__link span {
    color: var(--pink-deep);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0;
  }

  .mobile-menu__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
  }

  .mobile-menu__theme {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    font-size: 12px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 34px;
  }

  .section-link {
    justify-self: start;
  }

  .hero h1 {
    font-size: clamp(50px, 12vw, 76px);
  }

  .hero-visual {
    min-height: 430px;
  }

  .console {
    width: 100%;
    transform: none;
  }

  .float-card--top {
    top: -20px;
    right: 0;
  }

  .float-card--bottom {
    bottom: -20px;
    left: 0;
  }

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

  .step,
  .step:nth-child(2),
  .step:last-child {
    padding: 26px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .step__num {
    margin-bottom: 14px;
    font-size: 38px;
  }

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

  .os-card {
    min-height: 210px;
  }

  .os-card__top {
    margin-bottom: 22px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 46px 0 40px;
  }

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

  .footer-word {
    font-size: 140px;
    bottom: -22px;
  }

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

  .rank-filter-wrap {
    overflow-x: auto;
  }

  .filter-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .filter-chips {
    flex-wrap: nowrap;
    width: max-content;
    padding-bottom: 2px;
  }

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

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

  .article-end__inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }

  .article-end__inner .button {
    justify-self: start;
  }

  .rank-dock {
    right: 14px;
    bottom: 14px;
    left: 14px;
    justify-content: center;
    padding-block: 13px;
  }

  .site-footer {
    padding-bottom: 46px;
  }
}

@media (max-width: 640px) {
  .container,
  .container--narrow {
    width: calc(100% - 30px);
  }

  .section {
    padding: 66px 0;
  }

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

  .top-note {
    font-size: 9px;
    letter-spacing: 0.02em;
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__name {
    font-size: 14px;
  }

  .brand__sub {
    font-size: 8px;
  }

  .header-actions {
    gap: 6px;
  }

  .icon-button {
    width: 37px;
    height: 37px;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 62px;
  }

  .hero h1 {
    font-size: clamp(45px, 13.4vw, 64px);
    letter-spacing: -0.065em;
  }

  .hero__lede {
    font-size: 15px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__meta {
    gap: 7px 12px;
    font-size: 9px;
  }

  .hero-visual {
    min-height: 390px;
  }

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

  .console__rail {
    display: none;
  }

  .console__main {
    padding: 15px;
  }

  .current-node__name {
    font-size: 17px;
  }

  .float-card {
    padding: 8px 10px;
    font-size: 9px;
  }

  .float-card--top {
    top: -17px;
  }

  .float-card--bottom {
    bottom: -18px;
  }

  .float-card__icon {
    width: 24px;
    height: 24px;
  }

  .float-card strong {
    font-size: 9px;
  }

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

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

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

  .rank-teaser {
    padding: 27px 18px;
    border-radius: 22px;
  }

  .rank-board {
    padding: 7px;
  }

  .rank-line {
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 12px 8px;
  }

  .rank-line__arrow {
    display: none;
  }

  .rank-board__head {
    padding-inline: 8px;
  }

  .post-feature {
    min-height: 330px;
    padding: 24px 20px;
    border-radius: 18px;
  }

  .post-feature h3 {
    font-size: 31px;
  }

  .post-row {
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 8px;
    padding: 20px 2px;
  }

  .post-row__arrow {
    display: none;
  }

  .post-row h3 {
    font-size: 14px;
  }

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

  .final-cta {
    padding: 54px 0 68px;
  }

  .final-cta__inner {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .final-cta .display {
    font-size: 39px;
  }

  .final-cta__buttons {
    width: 100%;
  }

  .final-cta__buttons .button {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }

  .footer-column:last-child {
    grid-column: 1 / -1;
  }

  .footer-column ul {
    gap: 8px;
  }

  .footer-word {
    font-size: 100px;
    bottom: -12px;
  }

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

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

  .page-hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

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

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

  .os-block {
    padding: 20px 17px;
  }

  .package {
    align-items: flex-start;
    gap: 10px;
  }

  .package__file {
    max-width: 220px;
  }

  .package__action span {
    display: none;
  }

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

  .method-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 8px;
  }

  .method-item__num {
    grid-row: span 2;
    margin: 0;
    padding-top: 2px;
  }

  .filter-bar {
    padding: 10px;
  }

  .filter-chip {
    min-height: 30px;
    padding: 5px 10px;
    font-size: 10px;
  }

  .rank-dialog .dialog-inner {
    padding: 22px;
  }

  .dialog-head h2 {
    font-size: 28px;
  }

  .rank-notes {
    margin-top: 36px;
  }

  .note-panel {
    padding: 22px;
  }

  .risk-section {
    margin-top: 46px;
  }

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

  .article-hero h1 {
    font-size: clamp(34px, 10.4vw, 48px);
  }

  .article-hero__lede {
    font-size: 14px;
  }

  .article-layout {
    padding: 42px 0 60px;
  }

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

  .article-body .lede {
    font-size: 20px;
  }

  .article-body h2 {
    margin-top: 40px;
    font-size: 27px;
  }

  .article-body blockquote {
    padding: 18px 18px 18px 22px;
    font-size: 18px;
  }

  .article-end {
    padding-bottom: 64px;
  }

  .article-end__inner {
    padding: 25px 20px;
  }

  .article-end .button {
    width: 100%;
  }

  .podium-wrap {
    padding-bottom: 34px;
  }

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

  .ranking-hero h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .ranking-hero__lead {
    font-size: 14px;
  }

  .ranking-body {
    padding: 48px 0 70px;
  }

  .ranking-intro {
    margin-bottom: 38px;
  }

  .footer-brand p {
    font-size: 11px;
  }
}

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

  .hero-visual {
    min-height: 360px;
  }

  .float-card--top {
    display: none;
  }

  .console__foot {
    font-size: 7px;
  }

  .brand__sub {
    display: none;
  }
}

/* Menu button state (appended) */
.menu-button .menu-close-icon { display: none; }
.menu-button[aria-expanded="true"] .menu-open-icon { display: none; }
.menu-button[aria-expanded="true"] .menu-close-icon { display: block; }

/* Article data table (appended) */
.table-scroll {
  margin: 30px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.article-body table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.7;
}

.article-body th,
.article-body td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

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

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

.article-body td:first-child {
  color: var(--ink);
  font-weight: 650;
}

@media (max-width: 820px) {
  .nav-cta {
    display: none;
  }
}

/* Desktop ranking dock: a narrow edge tab, away from the reading column */
@media (min-width: 821px) {
  .rank-dock {
    top: 50%;
    right: 0;
    bottom: auto;
    flex-direction: column;
    gap: 9px;
    padding: 17px 9px;
    border-right: 0;
    border-radius: 14px 0 0 14px;
    writing-mode: vertical-rl;
    letter-spacing: 0.08em;
    transform: translateY(-50%);
  }

  .rank-dock:hover {
    transform: translateY(-50%) translateX(-3px);
  }

  .rank-dock svg {
    width: 12px;
    height: 12px;
    transform: rotate(90deg);
  }
}

/* Mobile ranking filters scroll inside their own strip */
@media (max-width: 820px) {
  .filter-bar {
    overflow: hidden;
  }

  .filter-chips {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .rank-table-wrap {
    max-width: 100%;
  }
}

/* Dock enters only after the reader starts moving through the page */
.rank-dock {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease),
    background 0.25s ease;
}

.rank-dock.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 821px) {
  .rank-dock {
    transform: translateY(-50%) translateX(110%);
  }

  .rank-dock.is-visible {
    transform: translateY(-50%) translateX(0);
  }

  .rank-dock.is-visible:hover {
    transform: translateY(-50%) translateX(-3px);
  }
}

@media (max-width: 820px) {
  .float-card--top {
    display: none;
  }
}


.mobile-menu__theme svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

/* Anchor targets clear the sticky header */
[id] {
  scroll-margin-top: 94px;
}

/* Mobile menu closing note */
.mobile-menu .container {
  display: flex;
  min-height: calc(100vh - 138px);
  flex-direction: column;
}

.mobile-menu__note {
  margin-top: auto;
  padding-top: 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.mobile-menu__note p {
  max-width: 280px;
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.7;
}

/* Mobile table reading cue */
.mobile-table-hint {
  display: none;
}

@media (max-width: 820px) {
  .mobile-table-hint {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: -4px 0 10px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
  }

  .mobile-table-hint::before {
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--pink);
    content: "";
  }

  .rank-table tbody tr {
    cursor: pointer;
  }

  /* A compact dock leaves the reading column visible on small screens */
  .rank-dock {
    right: 14px;
    bottom: 14px;
    left: auto;
    width: auto;
    justify-content: center;
    padding: 12px 16px;
    font-size: 12px;
  }
}


@media (min-width: 821px) and (max-width: 1120px) {
  .rank-dock {
    display: none;
  }
}

@media (max-width: 640px) {
  .rank-dialog {
    max-height: 94vh;
  }
}

/* Dark mode keeps the utility bar part of the dark chrome */
[data-theme="dark"] .top-note {
  border-bottom: 1px solid var(--line);
  background: #100d14;
  color: var(--ink);
}

[data-theme="dark"] .top-note__link {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Compact site footer (replaces the earlier multi-column footer)
   -------------------------------------------------------------------------- */

.site-footer {
  --footer-fg: #f7f0e8;
  padding-bottom: 0;
  color: var(--footer-fg);
}

.footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 92px;
  padding: 24px 0;
}

.footer-simple__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-simple__logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--footer-fg);
  text-decoration: none;
}

.footer-simple__logo img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.footer-simple__logo span {
  color: var(--footer-fg);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.footer-simple__desc {
  padding-left: 12px;
  border-left: 1px solid rgba(247, 240, 232, 0.18);
  color: rgba(247, 240, 232, 0.42);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.footer-simple__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 21px;
}

.footer-simple__nav a {
  color: rgba(247, 240, 232, 0.62);
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer-simple__nav a:hover {
  color: var(--pink);
}

.footer-simple__meta {
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(247, 240, 232, 0.34);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.footer-simple__meta a {
  color: rgba(247, 240, 232, 0.58);
  text-decoration: none;
}

.footer-simple__meta a:hover {
  color: var(--pink);
}

@media (max-width: 960px) {
  .footer-simple {
    flex-wrap: wrap;
    gap: 14px 24px;
    padding: 22px 0;
  }

  .footer-simple__brand {
    flex: 1 1 100%;
  }

  .footer-simple__meta {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-bottom: 0;
  }

  .footer-simple {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    padding: 22px 0 26px;
  }

  .footer-simple__brand {
    flex: 0 0 auto;
  }

  .footer-simple__desc {
    display: none;
  }

  .footer-simple__nav {
    gap: 9px 18px;
  }

  .footer-simple__meta {
    width: 100%;
    margin-left: 0;
    padding-top: 13px;
    border-top: 1px solid rgba(247, 240, 232, 0.12);
    justify-content: space-between;
  }
}

/* Reserved jump text buttons on ranking cards and list entries */
.podium-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.podium-item > .podium-card {
  flex: 1;
}

.podium-jump,
.rank-jump {
  cursor: pointer;
}

.podium-jump {
  align-self: flex-start;
  margin-top: 9px;
  border-color: rgba(247, 240, 232, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #f7f0e8;
}

.podium-jump:hover {
  border-color: var(--pink);
  background: rgba(233, 92, 164, 0.16);
  color: #fff;
}

.rank-jump {
  margin-top: 9px;
}

@media (max-width: 640px) {
  .podium-jump,
  .rank-jump {
    font-size: 11px;
    min-height: 34px;
    padding: 7px 12px;
  }
}

/* Fixed monthly reference prices on the ranking page */
.podium-card__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 11px;
  color: rgba(247, 240, 232, 0.46);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.podium-card__price strong {
  color: var(--pink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
}

.rank-price__band {
  display: block;
  margin-bottom: 5px;
}

.rank-price__monthly {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.rank-price__monthly strong {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
}

@media (max-width: 640px) {
  .podium-card__price strong {
    font-size: 14px;
  }
}
