:root {
  --bg: #0d1016;
  --bg-soft: #101722;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --surface-solid: #131a24;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f2ed;
  --text-soft: #a6b1bf;
  --text-dim: #8391a3;
  --accent: #d4ff4d;
  --accent-2: #56e2d4;
  --accent-3: #ff8f57;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.12);
  --shadow-panel: 0 26px 72px rgba(0, 0, 0, 0.3);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shell: min(1180px, calc(100vw - 32px));
  --font-body: "Golos Text", "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-display: "Unbounded", "Avenir Next", "Arial", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(86, 226, 212, 0.12), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(212, 255, 77, 0.11), transparent 28%),
    linear-gradient(180deg, #0d1016 0%, #101722 100%);
  color: var(--text);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  font-feature-settings: "liga" 1, "kern" 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.1;
}

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

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

button,
input {
  font: inherit;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 16px;
  padding: 10px 14px;
  background: var(--accent);
  color: #101722;
  border-radius: 999px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 16, 22, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

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

.category-ribbon {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scrollbar-width: none;
}

.category-ribbon::-webkit-scrollbar {
  display: none;
}

.category-ribbon__link {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0 0 5px;
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text-soft);
  font-size: 0.9rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    color 180ms ease,
    border-bottom-color 180ms ease,
    transform 180ms ease;
}

.category-ribbon__link:hover,
.category-ribbon__link.is-active {
  color: var(--text);
  border-bottom-color: rgba(212, 255, 77, 0.36);
}

.category-ribbon__link--all {
  color: var(--accent);
}

.category-ribbon__icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

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

.brand-logo {
  display: inline-block;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
}

.brand-logo__svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 18px rgba(12, 16, 24, 0.28));
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
}

.brand-copy strong,
h1,
h2,
h3,
.footer-title,
.tool-rank,
.footer-head {
  font-family: var(--font-display);
}

.nav-link,
.mobile-link,
.cta-primary,
.cta-secondary,
.score-pill,
.tool-badge,
.eyebrow,
.pill,
.tag-list li {
  font-family: var(--font-body);
  font-weight: 700;
}

.brand-copy strong {
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.brand-copy small {
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-desktop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.mobile-link {
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 180ms ease;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.mobile-nav-inner {
  display: grid;
  padding: 12px 0 18px;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 28px 0 18px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.26;
}

.hero::before {
  right: 16%;
  top: 4%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(86, 226, 212, 0.1), transparent 72%);
}

.hero::after {
  left: 0%;
  bottom: 10%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(212, 255, 77, 0.08), transparent 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 44px;
  align-items: center;
}

.hero-grid > *,
.editorial-grid > *,
.method-grid > *,
.tool-hero > *,
.story-body-grid > *,
.footer-grid > *,
.category-strip > * {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 2px 0 12px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
.page-hero h1,
.tool-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.062em;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.page-hero h1,
.tool-hero h1 {
  max-width: 12.5ch;
}

.hero h1 {
  max-width: none;
  font-size: clamp(2.42rem, 4.6vw, 4.45rem);
  line-height: 0.95;
}

.hero-title {
  display: grid;
  gap: 0.12em;
  max-width: 9.6ch;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero-title__line {
  display: block;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero-title__line--soft {
  color: #d7dde8;
}

.hero-title__line--accent {
  max-width: 9ch;
  background: linear-gradient(135deg, var(--accent) 0%, #eff6c9 58%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 28px rgba(86, 226, 212, 0.15);
}

.hero-text,
.page-hero p,
.tool-hero__summary,
.footer-text,
.copy-slab p,
.story-card p,
.story-body p,
.method-list p,
.hero-panel p,
.tool-row p,
.ranking-row p,
.category-card p,
.category-strip p,
.ad-shell p,
.final-banner p {
  color: var(--text-soft);
  line-height: 1.75;
}

.hero-text {
  max-width: 34ch;
  margin: 20px 0 0;
  font-size: 0.95rem;
}

.hero-links,
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.hero-links--quiet {
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.hero-links__label {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.hero-links--quiet .cta-link {
  color: var(--text);
}

.hero-links--quiet .cta-link:hover {
  color: var(--accent);
}

.search-panel--hero {
  margin-top: 24px;
  max-width: 680px;
}

.hero-proof {
  margin: 14px 0 0;
  color: var(--text-dim);
  font-size: 0.84rem;
  line-height: 1.5;
}

.cta-primary,
.cta-secondary,
.cta-link,
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.cta-primary,
.cta-secondary {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
}

.cta-primary {
  background: linear-gradient(135deg, var(--accent), #f3ff9d);
  color: #0d1016;
  box-shadow: 0 10px 24px rgba(212, 255, 77, 0.12);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.cta-link {
  color: var(--accent);
}

.cta-primary:hover,
.cta-secondary:hover,
.cta-link:hover,
.filter-chip:hover {
  transform: translateY(-2px);
}

.story-card:hover,
.tool-row:hover,
.category-card:hover,
.micro-tool:hover,
.ranking-row:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.search-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 8px;
  max-width: 720px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-panel.is-compact {
  max-width: 640px;
}

.atlas-toolbar .search-panel {
  margin-top: 0;
}

.search-input {
  flex: 1 1 auto;
}

.search-input input {
  width: 100%;
  padding: 15px 16px;
  border: 0;
  outline: none;
  color: var(--text);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.search-input input::placeholder {
  color: var(--text-dim);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-panel,
.ranking-row,
.story-card,
.category-card,
.copy-slab,
.tool-scoreboard,
.story-toc,
.story-body,
.ad-shell,
.final-banner,
.method-list article,
.category-strip,
.micro-tool,
.tool-row,
.story-rail {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-metrics span {
  display: inline-grid;
  gap: 7px;
  padding-right: 20px;
  margin-right: 20px;
  background: none;
  border: 0;
}

.hero-metrics span + span {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-metrics strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.hero-metrics small {
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-panel,
.ranking-row,
.ad-shell,
.final-banner,
.hero-infographic {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.story-card,
.category-card,
.copy-slab,
.tool-scoreboard,
.story-toc,
.story-body,
.method-list article,
.category-strip,
.micro-tool,
.tool-row,
.story-rail {
  box-shadow: none;
}

.hero-stage {
  position: relative;
  min-width: 0;
  min-height: 100%;
  display: grid;
  align-items: center;
  padding-bottom: 12px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 30px;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -20% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 255, 77, 0.34), transparent 70%);
}

.hero-panel__top,
.section-head,
.ranking-footer,
.tool-row,
.category-card__footer,
.story-card__meta,
.category-card__head,
.tool-hero,
.story-meta,
.story-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-panel__top {
  margin-bottom: 18px;
}

.panel-note {
  margin: 6px 0 0;
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.5;
}

.hero-infographic {
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 24px 22px 22px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(24, 34, 39, 0.88), rgba(24, 34, 39, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-infographic::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -18%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 226, 212, 0.18), transparent 72%);
  pointer-events: none;
}

.hero-infographic__header,
.hero-infographic__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hero-infographic__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  max-width: 13ch;
}

.hero-switcher {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 20px;
  overflow-x: auto;
  padding: 0 10px 2px 0;
  scrollbar-width: none;
}

.hero-switcher::-webkit-scrollbar {
  display: none;
}

.hero-switcher__chip {
  appearance: none;
  font: inherit;
  cursor: pointer;
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.hero-switcher__chip:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero-switcher__chip.is-active {
  color: #101518;
  background: linear-gradient(135deg, rgba(212, 255, 77, 0.95), rgba(161, 255, 195, 0.92));
  border-color: transparent;
}

.hero-infographic__viewport {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin-top: 18px;
}

.hero-tab-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.hero-tab-panel[hidden] {
  display: none;
}

.hero-tab-panel__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-tab-panel__head > div:first-child {
  min-width: 0;
}

.hero-tab-panel__eyebrow {
  margin: 0 0 6px;
  color: var(--text-dim);
  font-size: 0.73rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-tab-panel__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.94rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 22ch;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.hero-tab-panel__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
}

.hero-tab-panel__focus {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.focus-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.focus-chip:hover {
  border-color: rgba(207, 255, 98, 0.34);
  color: var(--accent);
}

.hero-tab-panel__hint {
  color: var(--text-dim);
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-tab-panel__link {
  color: var(--accent);
  font-size: 0.84rem;
  white-space: nowrap;
}

.hero-tab-panel__link:hover {
  color: var(--accent-2);
}

.hero-leaderboard__head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 62px;
  gap: 12px;
  padding: 0 0 8px;
  color: var(--text-dim);
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-leaderboard__head span:last-child {
  text-align: right;
}

.hero-leaderboard {
  display: grid;
  gap: 0;
  min-width: 0;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.hero-leaderboard::-webkit-scrollbar {
  width: 6px;
}

.hero-leaderboard::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.hero-leader {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
}

.hero-leader--arena {
  grid-template-columns: 36px minmax(0, 1fr) 92px;
}

.hero-leader--arena.is-spotlight {
  background: linear-gradient(90deg, rgba(207, 255, 98, 0.14), rgba(86, 226, 212, 0.06));
  border-radius: 18px;
  padding-left: 10px;
  padding-right: 10px;
}

.hero-leader:first-child {
  border-top: 0;
}

.hero-leader__main {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hero-leader__rank,
.hero-leader__score strong,
.hero-preview-fact strong {
  font-family: var(--font-display);
  letter-spacing: -0.05em;
}

.hero-leader__rank {
  color: var(--accent);
  font-size: 1rem;
}

.hero-leader__copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
}

.hero-leader__copy strong {
  flex: 1 1 auto;
  font-size: 0.88rem;
  line-height: 1.12;
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-leader--arena .hero-leader__copy {
  display: grid;
  align-items: start;
  gap: 2px;
}

.hero-leader--arena .hero-leader__copy strong {
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.hero-leader--arena .hero-leader__copy small {
  display: block;
  font-size: 0.74rem;
  line-height: 1.1;
  color: var(--text-dim);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-leader__score {
  display: grid;
  justify-items: end;
  gap: 3px;
  min-width: 0;
}

.hero-leader__score strong {
  color: var(--text);
  font-size: 0.94rem;
}

.hero-leader__score small {
  color: var(--text-dim);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-leader--arena .hero-leader__score small {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.72rem;
}

.hero-leader:hover .hero-leader__copy strong {
  color: var(--accent);
}

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

.hero-tab-panel__footer {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-tab-panel__footer--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-preview-fact {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.hero-preview-fact strong {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1;
}

.hero-preview-fact span {
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.2;
}

.hero-infographic__footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-infographic__summary {
  margin: 16px 0 0;
  color: var(--text-dim);
  font-size: 0.76rem;
  line-height: 1.45;
}

.hero-mini-rank {
  display: grid;
  gap: 12px;
}

.mini-rank-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.mini-rank-row span:first-child {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.05em;
}

.mini-rank-row small {
  color: var(--text-soft);
}

.hero-orbit {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-orbit span,
.pill,
.tag-list li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  font-size: 0.92rem;
}

.pill--focus {
  margin-left: 10px;
  border: 1px solid rgba(207, 255, 98, 0.32);
  color: rgba(207, 255, 98, 0.95);
  background: rgba(207, 255, 98, 0.08);
}

.section,
.page-hero,
.tool-hero {
  padding: 30px 0;
}

body.page-home .section:nth-of-type(n + 4),
body:not(.page-home) .section:nth-of-type(n + 3) {
  content-visibility: auto;
  contain-intrinsic-size: 620px;
}

body.page-home .section {
  padding: 34px 0;
}

body.page-home .section + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section-head {
  align-items: flex-start;
  margin-bottom: 22px;
}

.section-head.is-tight {
  margin-bottom: 16px;
}

h2 {
  margin: 0;
  font-size: clamp(1.46rem, 2.55vw, 2.16rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-transform: none;
  max-width: 20ch;
  overflow-wrap: anywhere;
}

h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-transform: none;
  overflow-wrap: anywhere;
}

.ranking-stack,
.tool-list,
.story-grid,
.category-card-grid,
.method-list,
.category-atlas {
  display: grid;
  gap: 16px;
}

.ranking-row,
.tool-row,
.category-card,
.story-card,
.copy-slab,
.tool-scoreboard,
.story-toc,
.story-body,
.story-rail,
.final-banner,
.ad-shell,
.method-list article,
.category-strip {
  padding: 20px;
  border-radius: 24px;
}

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

.ranking-row__head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.ranking-row__head > div {
  min-width: 0;
}

.ranking-row__head h3 {
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.ranking-row--arena.is-spotlight {
  border: 1px solid rgba(207, 255, 98, 0.26);
  background: radial-gradient(120% 120% at 10% 0%, rgba(207, 255, 98, 0.12) 0%, rgba(13, 16, 22, 0) 55%),
    rgba(255, 255, 255, 0.03);
}

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

.spotlight-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none;
}

.spotlight-card:hover {
  border-color: rgba(207, 255, 98, 0.22);
}

.spotlight-card__kicker {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spotlight-card strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.spotlight-card__sub {
  color: var(--text-dim);
  font-size: 0.84rem;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.fact-tile {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px 18px;
  min-height: 108px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.atlas-toolbar {
  margin-bottom: 18px;
  max-width: 720px;
}

.fact-tile span {
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact-tile strong {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.08;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

.fact-tile small {
  color: var(--text-soft);
  line-height: 1.45;
}

.section-note {
  max-width: 62ch;
  margin: 12px 0 0;
  color: var(--text-soft);
  line-height: 1.62;
}

.tool-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 20px;
}

.tool-row__meta {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  flex: 1 1 auto;
}

.tool-row__meta > div {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.tool-row__meta h3,
.category-card__head h2 {
  line-height: 0.98;
}

.tool-row__details {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 180px;
  align-self: start;
}

.tool-badge,
.tool-rank {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  flex: 0 0 auto;
}

.tool-badge {
  padding: 3px;
  overflow: visible;
  background: linear-gradient(135deg, var(--badge-start, var(--accent)), var(--badge-end, var(--accent-2)));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 6px 14px rgba(0, 0, 0, 0.12);
}

.tool-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 72%);
  opacity: 0.34;
  pointer-events: none;
}

.tool-badge__panel {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-md) - 1px);
  background: linear-gradient(180deg, rgba(11, 16, 23, 0.96), rgba(20, 27, 37, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.tool-badge__panel::before {
  display: none;
}

.tool-badge__glyph {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  color: #f8f6f1;
}

.tool-badge__logo-wrap {
  position: absolute;
  inset: 12px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  z-index: 1;
}

.tool-badge__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.tool-badge--logo .tool-badge__glyph {
  opacity: 0.2;
  transform: scale(0.88);
}

.tool-badge__stroke {
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-badge__stroke--soft {
  opacity: 0.76;
}

.tool-badge__soft-fill {
  fill: rgba(255, 255, 255, 0.07);
}

.tool-badge__solid-fill {
  fill: #f8f6f1;
}

.tool-badge__accent-fill {
  fill: var(--badge-start, var(--accent));
}

.tool-badge__accent-fill-secondary {
  fill: var(--badge-end, var(--accent-2));
}

.tool-badge__mono,
.tool-badge__rank {
  position: absolute;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}

.tool-badge__mono {
  right: 4px;
  bottom: 4px;
  min-width: 22px;
  padding: 4px 6px 3px;
  background: rgba(8, 12, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.58rem;
  text-align: center;
}

.tool-badge__rank {
  left: -4px;
  top: -4px;
  min-width: 26px;
  padding: 5px 6px 4px;
  background: #f8f6f1;
  color: #0d1016;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
  font-size: 0.56rem;
  letter-spacing: 0.05em;
}

.tool-badge--category {
  width: 56px;
  height: 56px;
}

.tool-badge--micro {
  width: 42px;
  height: 42px;
  padding: 2px;
  border-radius: 14px;
}

.tool-badge--micro .tool-badge__panel {
  border-radius: 12px;
}

.tool-badge--micro .tool-badge__glyph {
  inset: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
}

.tool-badge--micro .tool-badge__logo-wrap {
  inset: 8px;
  border-radius: 10px;
}

.tool-badge--micro .tool-badge__logo {
  padding: 4px;
}

.tool-badge--micro .tool-badge__mono {
  right: 2px;
  bottom: 2px;
  min-width: 16px;
  padding: 2px 4px 2px;
  font-size: 0.43rem;
  letter-spacing: 0.04em;
}

.tool-rank {
  background: linear-gradient(135deg, var(--accent), #fff3a4);
  color: #0d1016;
  font-size: 1.5rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.15);
}

.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.score-pill.is-elite {
  background: linear-gradient(135deg, var(--accent), #fff0a1);
  color: #0d1016;
}

.score-pill.is-strong {
  background: linear-gradient(135deg, var(--accent-2), #90fff5);
  color: #0d1016;
}

.score-pill.is-solid {
  background: rgba(255, 255, 255, 0.12);
}

.score-meter {
  display: grid;
  gap: 9px;
}

.score-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-soft);
}

.score-meta strong {
  color: var(--text);
}

.score-track {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.score-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.ranking-footer {
  align-items: flex-start;
  flex-wrap: wrap;
}

.ranking-footer p {
  flex: 1 1 320px;
  min-width: 0;
}

.ranking-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ad-slot {
  width: 100%;
}

.ad-slot--wide .ad-shell {
  min-height: 156px;
}

.ad-slot--rail .ad-shell {
  min-height: 240px;
}

.ad-shell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 8px;
  border-style: solid;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.015);
}

.ad-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.ad-shell strong {
  max-width: 28ch;
  font-size: 1rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.ad-shell p {
  max-width: 50ch;
  margin: 0;
}

.category-atlas {
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(228px, 0.7fr);
  gap: 16px;
}

.category-strip__list {
  display: grid;
  gap: 12px;
}

.micro-tool {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 12px 13px;
  border-radius: 18px;
}

.micro-tool__mark {
  flex: 0 0 auto;
}

.micro-tool__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 2px;
}

.micro-tool__copy strong {
  line-height: 1.06;
}

.micro-tool__copy small {
  color: var(--text-dim);
  line-height: 1.32;
}

.category-card__top-link {
  color: var(--text);
  transition: color 180ms ease;
}

.category-card__top-link:hover {
  color: var(--accent);
}

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

.editorial-column {
  display: grid;
  align-content: start;
  gap: 18px;
}

.editorial-column__intro {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
}

.editorial-column__intro h2 {
  max-width: 11ch;
  font-family: var(--font-body);
  font-size: clamp(1.42rem, 2.05vw, 2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.editorial-column__note {
  max-width: 34ch;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.58;
}

.editorial-column__link {
  align-self: start;
  justify-self: start;
  width: max-content;
  font-size: 0.98rem;
}

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

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

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

.review-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.review-card__label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.review-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.68;
}

.review-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--text-soft);
}

.review-card li {
  line-height: 1.58;
}

.review-card a {
  color: var(--text);
  font-weight: 700;
  transition: color 180ms ease;
}

.review-card a:hover {
  color: var(--accent);
}

.query-link {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.query-link:hover {
  color: var(--accent);
  border-color: rgba(212, 255, 77, 0.22);
  background: rgba(255, 255, 255, 0.055);
}

.story-grid--editorial {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.story-grid--editorial .story-card:last-child {
  grid-column: 1 / -1;
}

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

.story-grid--feature {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
}

.story-grid--feature .story-card:first-child {
  grid-row: span 2;
  gap: 14px;
}

.story-grid--feature .story-card:first-child .story-card__title {
  max-width: 16ch;
  font-size: clamp(1.16rem, 1.4vw, 1.34rem);
}

.story-grid--feature .story-card:first-child .story-card__title a {
  -webkit-line-clamp: 4;
}

.story-grid--feature .story-card:first-child .story-card__summary {
  max-width: 44ch;
  -webkit-line-clamp: 6;
}

.editorial-panel {
  display: grid;
  gap: 18px;
}

.editorial-panel__intro {
  display: grid;
  gap: 10px;
  max-width: 62ch;
}

.editorial-panel__intro h2 {
  max-width: 14ch;
  font-family: var(--font-body);
  font-size: clamp(1.28rem, 1.9vw, 1.78rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.editorial-panel__note {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.68;
}

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

.editorial-panel__card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.editorial-panel__label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.editorial-panel__card h3 {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.editorial-panel__card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.62;
}

.editorial-panel--compact .editorial-panel__intro h2 {
  max-width: 13ch;
  font-size: clamp(1.16rem, 1.7vw, 1.54rem);
}

.editorial-panel--compact .editorial-panel__note {
  max-width: 58ch;
}

.story-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  align-content: start;
  min-height: 100%;
}

.story-card__meta {
  display: grid;
  justify-content: flex-start;
  justify-items: start;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.84rem;
}

.story-card__tag {
  align-self: start;
}

.story-card__byline {
  line-height: 1.32;
}

.story-card__title {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.16rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.032em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  max-width: 22ch;
}

.story-card__title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.story-card__summary {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.54;
  color: var(--text-soft);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.story-card .cta-link {
  margin-top: 2px;
  font-size: 0.94rem;
}

.story-grid--editorial .story-card:last-child .story-card__title {
  max-width: 24ch;
}

.story-grid--editorial .story-card:last-child .story-card__title a {
  -webkit-line-clamp: 3;
}

.story-grid--editorial .story-card:last-child .story-card__summary {
  max-width: 58ch;
  -webkit-line-clamp: 3;
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
  align-items: start;
}

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

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

.method-list article strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.method-list article p {
  margin: 0;
}

.final-banner,
.story-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-footer {
  padding: 30px 0 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) repeat(3, minmax(120px, 0.78fr));
  align-items: start;
  gap: 26px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-intro {
  min-width: 0;
  max-width: 34rem;
}

.footer-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.28rem, 1.9vw, 1.68rem);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 15ch;
  text-transform: none;
  overflow-wrap: anywhere;
}

.footer-head {
  margin: 0 0 12px;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.footer-list,
.tag-list,
.definition-list,
.story-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list {
  display: grid;
  gap: 10px;
  color: var(--text-soft);
}

.footer-list a,
.footer-text {
  overflow-wrap: anywhere;
}

.footer-list a:hover {
  color: var(--text);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 26px;
  color: var(--text-dim);
}

.breadcrumb-sep {
  opacity: 0.5;
}

.page-hero,
.tool-hero {
  display: grid;
  gap: 18px;
}

.page-hero p,
.tool-hero__summary {
  max-width: 64ch;
  margin: 0;
  font-size: 1.02rem;
}

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

.category-card {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 20px;
  min-height: 292px;
}

.category-card__head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.category-card__head > div {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.category-card__head p {
  max-width: 38ch;
}

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

.copy-slab h2,
.story-header h1 {
  max-width: none;
}

.tool-hero {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 22px;
  align-items: start;
}

.tool-scoreboard {
  display: grid;
  gap: 14px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.definition-list {
  display: grid;
  gap: 10px;
}

.definition-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.definition-list span {
  color: var(--text-dim);
}

.story-layout {
  display: grid;
  gap: 22px;
}

.story-header {
  display: grid;
  gap: 16px;
  padding-top: 10px;
}

.story-intro {
  margin: 0;
  max-width: 74ch;
  color: var(--text-soft);
  font-size: 1.12rem;
  line-height: 1.75;
}

.story-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  color: var(--text-dim);
}

.story-body-grid {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.story-toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
}

.story-toc ol {
  display: grid;
  gap: 10px;
}

.story-toc a {
  color: var(--text-soft);
}

.story-toc a:hover {
  color: var(--text);
}

.story-body {
  display: grid;
  gap: 18px;
}

.story-body section + section {
  padding-top: 6px;
}

.story-body h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  max-width: 16ch;
  margin-bottom: 12px;
}

.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
}

.filter-chip.is-active {
  color: #0d1016;
  background: var(--accent);
}

.catalog-meta,
.catalog-empty {
  color: var(--text-soft);
}

.catalog-empty {
  margin: 20px 0 0;
}

@media (max-width: 1080px) {
  .hero-grid,
  .method-grid,
  .editorial-grid,
  .story-body-grid,
  .tool-hero,
  .category-strip,
  .two-column-copy,
  .category-atlas,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .story-grid,
  .story-grid--wide,
  .story-grid--feature,
  .review-grid,
  .editorial-panel__grid,
  .method-list,
  .method-list--ranking,
  .query-grid,
  .category-card-grid,
  .fact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-toc {
    position: static;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-grid {
    min-height: auto;
  }

}

@media (max-width: 1240px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
  }

  .hero-copy {
    align-content: start;
  }

  .hero-stage {
    max-width: 760px;
  }

  .hero-title {
    max-width: 12.4ch;
  }
}

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

  .nav-toggle {
    display: inline-block;
  }

  .story-grid,
  .story-grid--wide,
  .story-grid--feature,
  .review-grid,
  .editorial-panel__grid,
  .method-list,
  .method-list--ranking,
  .query-grid,
  .category-card-grid,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .story-grid--editorial .story-card:last-child {
    grid-column: auto;
  }

  .hero-metrics {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-metrics span,
  .hero-metrics span + span {
    margin-right: 0;
    padding: 0;
    border-left: 0;
  }

  .catalog-controls,
  .ranking-footer,
  .section-head,
  .final-banner,
  .story-rail,
  .tool-row,
  .tool-row__details,
  .tool-hero,
  .hero-panel__top,
  .story-meta,
  .category-card__head,
  .category-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .tool-row,
  .category-card__head,
  .micro-tool {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tool-row__meta {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
  }

  .hero-links,
  .page-hero__actions,
  .search-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-infographic__header,
  .hero-infographic__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-tab-panel__head {
    align-items: flex-start;
  }

  .hero-tab-panel__actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-tab-panel__footer,
  .hero-infographic__footer {
    grid-template-columns: 1fr;
  }

  .hero-leader {
    grid-template-columns: 32px minmax(0, 1fr) 56px;
    min-height: 54px;
  }

  .hero-leaderboard__head {
    grid-template-columns: 32px minmax(0, 1fr) 56px;
  }

  .hero-leader__main {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .search-panel .cta-primary {
    width: 100%;
  }

  h1,
  .page-hero h1,
  .tool-hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .page-hero h1,
  .tool-hero h1 {
    max-width: 9.8ch;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: min(100vw - 20px, 1180px);
  }

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

  .hero-copy,
  .hero-stage {
    padding-bottom: 18px;
  }

  .category-ribbon {
    gap: 12px;
    padding-bottom: 12px;
  }

  .hero-tab-panel__footer,
  .hero-infographic__footer {
    gap: 10px;
  }

  .hero-tab-panel__hint {
    display: none;
  }

  .hero-tab-panel__actions {
    gap: 0;
  }

  .hero-panel,
  .ranking-row,
  .tool-row,
  .review-card,
  .category-card,
  .story-card,
  .copy-slab,
  .tool-scoreboard,
  .story-toc,
  .story-body,
  .story-rail,
  .final-banner,
  .ad-shell,
  .method-list article,
  .category-strip {
    padding: 18px;
    border-radius: 20px;
  }

  .tool-badge,
  .tool-rank {
    width: 46px;
    height: 46px;
  }

  .tool-badge__logo-wrap {
    inset: 9px;
    border-radius: 12px;
  }

  .tool-badge__logo {
    padding: 4px;
  }

  .tool-badge__mono {
    right: 2px;
    bottom: 2px;
    min-width: 18px;
    padding: 3px 4px 2px;
    font-size: 0.46rem;
  }

  .tool-badge__rank {
    left: -3px;
    top: -3px;
    min-width: 22px;
    padding: 4px 5px 3px;
    font-size: 0.48rem;
  }

  .hero-infographic {
    padding: 20px;
    border-radius: 24px;
  }
}

/* Premium redesign overrides */

:root {
  --bg: #090d12;
  --bg-soft: #0f151d;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-strong: rgba(255, 255, 255, 0.05);
  --surface-solid: #10161f;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f3f1eb;
  --text-soft: #b5bfcb;
  --text-dim: #7d8896;
  --accent: #d8ff63;
  --accent-2: #7be8d9;
  --shell: min(1240px, calc(100vw - 40px));
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
}

body {
  background:
    radial-gradient(circle at 16% 0%, rgba(123, 232, 217, 0.11), transparent 30%),
    radial-gradient(circle at 92% 10%, rgba(216, 255, 99, 0.1), transparent 26%),
    linear-gradient(180deg, #090d12 0%, #0c1219 46%, #0f171d 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.12;
}

.site-header {
  background: rgba(9, 13, 18, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

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

.nav-link,
.mobile-link {
  color: rgba(243, 241, 235, 0.72);
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover {
  background: rgba(255, 255, 255, 0.045);
}

.hero.hero--poster {
  padding: 40px 0 26px;
}

.hero.hero--poster::before {
  right: 8%;
  top: 3%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(123, 232, 217, 0.14), transparent 72%);
}

.hero.hero--poster::after {
  left: -2%;
  bottom: 0%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(216, 255, 99, 0.08), transparent 74%);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  gap: 56px;
  align-items: stretch;
  min-height: calc(100svh - 132px);
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 24px 0 16px;
  max-width: 100%;
}

.hero-pulse {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-pulse__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(216, 255, 99, 0.35);
  animation: pulseDot 2.8s ease-out infinite;
}

.hero-title {
  max-width: 12.4ch;
  gap: 0.06em;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.3vw, 4.15rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.hero-title__line--accent {
  max-width: none;
  background: linear-gradient(135deg, #f3f7d0 0%, var(--accent) 34%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

.hero-text {
  max-width: 30ch;
  margin-top: 22px;
  font-size: 1.04rem;
  line-height: 1.72;
}

.search-panel--hero {
  max-width: 720px;
  margin-top: 28px;
}

.search-panel {
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.search-input input {
  min-height: 56px;
  padding: 17px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-links {
  margin-top: 24px;
}

.hero-links--quiet {
  margin-top: 16px;
  gap: 10px 16px;
}

.hero-links__label {
  min-width: 100%;
  color: var(--text-dim);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-foot {
  display: grid;
  gap: 16px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-proof {
  margin: 0;
  max-width: 58ch;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.hero-metrics {
  margin: 0;
  padding-top: 0;
  border-top: 0;
}

.hero-metrics strong {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

.hero-metrics small {
  color: var(--text-dim);
}

.hero-stage {
  padding-bottom: 0;
  align-items: stretch;
}

.hero-stage__frame {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 100%;
}

.hero-stage__frame::before {
  content: "";
  position: absolute;
  inset: 5% 0 auto 16%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent);
}

.hero-infographic {
  align-self: end;
  padding: 28px 26px 24px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(20, 28, 35, 0.9), rgba(15, 22, 29, 0.92)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
}

.hero-infographic::after {
  right: -8%;
  top: -14%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(123, 232, 217, 0.14), transparent 72%);
}

.hero-infographic__title {
  max-width: 10ch;
  font-size: clamp(1.36rem, 1.9vw, 1.8rem);
  line-height: 0.96;
}

.hero-infographic__caption {
  max-width: 30ch;
  margin: 10px 0 0;
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.5;
}

.hero-switcher {
  margin-top: 24px;
  gap: 8px;
  padding-right: 12px;
}

.hero-switcher__chip {
  min-height: 34px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(243, 241, 235, 0.78);
}

.hero-tab-panel__head {
  padding-bottom: 14px;
}

.hero-tab-panel__head h3 {
  max-width: 20ch;
  font-size: 1.08rem;
  line-height: 1;
}

.hero-tab-panel__link {
  font-size: 0.9rem;
}

.hero-leaderboard {
  max-height: 420px;
}

.hero-leader {
  min-height: 58px;
  padding: 10px 0;
}

.hero-leader__copy strong {
  font-size: 0.94rem;
}

.hero-leader--arena .hero-leader__copy strong {
  font-size: 0.96rem;
}

.hero-leader__score strong {
  font-size: 1rem;
}

.section,
.page-hero,
.tool-hero {
  padding: 44px 0;
}

body.page-home .section {
  padding: 44px 0;
}

body.page-home .section + .section {
  border-top-color: rgba(255, 255, 255, 0.03);
}

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

.section-head > div:first-child {
  min-width: 0;
}

h2 {
  max-width: 16ch;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.section-note {
  max-width: 54ch;
  margin-top: 14px;
  font-size: 0.96rem;
  line-height: 1.72;
}

.category-atlas {
  grid-template-columns: 1fr;
  gap: 18px;
}

.category-strip {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 26px;
  padding: 22px 0;
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: none;
  box-shadow: none;
}

.category-strip:first-child {
  border-top: 0;
  padding-top: 0;
}

.category-strip__intro h3 {
  font-size: clamp(1.22rem, 1.9vw, 1.6rem);
}

.category-strip__intro p:last-child {
  max-width: 34ch;
}

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

.micro-tool {
  min-height: 96px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.editorial-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 34px;
}

.editorial-column {
  gap: 22px;
}

.editorial-column__intro h2 {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2.15rem);
  font-weight: 700;
  line-height: 0.98;
}

.story-grid {
  gap: 18px;
}

.story-card {
  padding: 22px 0 18px;
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: none;
  box-shadow: none;
}

.story-grid > .story-card:first-child,
.story-grid--editorial > .story-card:first-child {
  padding-top: 0;
  border-top: 0;
}

.story-card__title {
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  line-height: 1;
}

.story-card__summary {
  max-width: 46ch;
}

.story-grid--feature {
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
}

.story-grid--feature .story-card:first-child .story-card__title {
  font-size: clamp(1.34rem, 1.9vw, 1.7rem);
}

.method-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.method-list article,
.final-banner,
.ad-shell,
.ranking-row,
.tool-row,
.review-card,
.page-hero,
.tool-hero,
.story-body,
.story-rail,
.story-toc {
  border-radius: 28px;
}

.method-list article {
  min-height: 220px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.028);
  border-color: rgba(255, 255, 255, 0.05);
}

.final-banner {
  padding: 34px;
  background:
    radial-gradient(circle at 85% 18%, rgba(123, 232, 217, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.07);
}

.cta-primary {
  box-shadow: 0 14px 36px rgba(216, 255, 99, 0.14);
}

.story-card:hover,
.micro-tool:hover,
.category-strip__intro h3 a:hover,
.tool-row:hover,
.ranking-row:hover {
  transform: translateY(-1px);
}

.hero-copy,
.hero-stage__frame {
  animation: riseFade 720ms ease both;
}

.hero-stage__frame {
  animation-delay: 90ms;
}

@keyframes riseFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(216, 255, 99, 0.35);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(216, 255, 99, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(216, 255, 99, 0);
  }
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
  }

  .hero-title {
    max-width: 9.2ch;
  }

  .hero-stage__frame::before {
    display: none;
  }

  .editorial-grid,
  .story-grid--feature,
  .category-strip {
    grid-template-columns: 1fr;
  }

  .category-strip__list,
  .method-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 840px) {
  :root {
    --shell: min(100vw - 24px, 1240px);
  }

  .hero.hero--poster {
    padding-top: 18px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .hero-foot {
    gap: 14px;
  }

  .hero-metrics {
    gap: 12px;
  }

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

  .category-strip__list,
  .method-list {
    grid-template-columns: 1fr;
  }

  .editorial-grid {
    gap: 24px;
  }

  .story-card,
  .category-strip,
  .method-list article,
  .final-banner {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

@media (max-width: 560px) {
  .hero-pulse {
    width: 100%;
    white-space: normal;
    line-height: 1.45;
  }

  .hero-infographic {
    padding: 20px 18px;
    border-radius: 24px;
  }

  .hero-tab-panel__head h3 {
    font-size: 0.98rem;
  }

  .hero-leader--arena {
    grid-template-columns: 30px minmax(0, 1fr) 82px;
  }
}
