:root {
  --ink: #121212;
  --muted: #666b73;
  --paper: #fbfbf8;
  --surface: #ffffff;
  --line: #d9dedb;
  --accent: #e84855;
  --accent-dark: #bd2638;
  --teal: #087f8c;
  --gold: #f6c85f;
  --green: #2f6f4e;
  --shadow: 0 24px 80px rgba(18, 18, 18, 0.12);
  --max: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::selection {
  background: rgba(232, 72, 85, 0.24);
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
  background: rgba(251, 251, 248, 0.88);
  backdrop-filter: blur(18px);
}

.site-header.compact {
  min-height: var(--header-height);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 22px;
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.primary-nav a {
  border-radius: 999px;
  padding: 9px 13px;
  color: #30343a;
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: rgba(18, 18, 18, 0.07);
  color: var(--ink);
}

.primary-nav a[aria-current="page"] {
  box-shadow: inset 0 0 0 1px rgba(18, 18, 18, 0.1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(72svh - var(--header-height));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.08));
}

.hero-content {
  width: min(680px, calc(100% - 36px));
  margin: 0 clamp(18px, 7vw, 88px) clamp(52px, 10vh, 108px);
  color: #fff;
  animation: riseIn 700ms ease both;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 11vw, 132px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  width: min(520px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 24px);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

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

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

.section {
  padding: clamp(58px, 8vw, 104px) 0;
}

.section-tight {
  padding-bottom: 28px;
}

.section-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: 24px;
  align-items: end;
}

.section-heading-row p {
  margin: 0;
  color: var(--muted);
}

.ad-strip,
.ad-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 76px;
  border-block: 1px solid rgba(18, 18, 18, 0.1);
  background: #f0f5f4;
  color: #42504e;
}

.ad-strip span,
.ad-banner span {
  display: inline-flex;
  min-width: 44px;
  justify-content: center;
  border-radius: 999px;
  background: rgba(8, 127, 140, 0.12);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.ad-strip p,
.ad-banner strong {
  margin: 0;
  font-size: 14px;
}

.ad-banner {
  width: min(var(--max), calc(100% - 36px));
  margin: 8px auto 0;
  border: 1px solid rgba(18, 18, 18, 0.1);
  border-radius: 8px;
}

.desk-section {
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: 44px;
  background: #fbfbf8;
}

.desk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.news-desk {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.desk-item {
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0));
}

.desk-item:last-child {
  border-right: 0;
}

.desk-item span {
  width: fit-content;
  border-radius: 999px;
  background: rgba(232, 72, 85, 0.12);
  padding: 4px 10px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.desk-item strong {
  color: var(--teal);
  font-size: 42px;
  line-height: 0.9;
}

.desk-item p {
  margin: 0;
  color: #353b3f;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.48;
}

.ranking-panel {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  border-top: 3px solid var(--ink);
  padding-top: 18px;
}

.ranking-list {
  margin-top: 18px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.ranking-item > span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.ranking-item h3 {
  margin: 0 0 5px;
  font-size: 17px;
  line-height: 1.22;
}

.ranking-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.channel-tools {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 18px;
  align-items: end;
}

.search-wrap label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-wrap input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  color: var(--ink);
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-wrap input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(8, 127, 140, 0.12);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-tabs button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  color: #3d4349;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.category-tabs button span {
  color: var(--muted);
  font-size: 12px;
}

.category-tabs button:hover {
  transform: translateY(-1px);
}

.category-tabs button[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.category-tabs button[aria-selected="true"] span {
  color: rgba(255, 255, 255, 0.7);
}

.lead-section {
  padding-top: 46px;
}

.topic-section {
  background: #111;
  color: #fff;
}

.topic-section .kicker {
  color: var(--gold);
}

.topic-section .section-heading-row p {
  color: rgba(255, 255, 255, 0.7);
}

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

.topic-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #181818;
}

.topic-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.topic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 420ms ease, opacity 180ms ease;
}

.topic-card:hover .topic-media img {
  opacity: 1;
  transform: scale(1.04);
}

.topic-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.topic-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.topic-body h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
}

.topic-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.topic-body li {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.32;
}

.channel-map-section {
  background: #f8faf8;
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

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

.channel-brief {
  display: grid;
  gap: 14px;
  min-height: 210px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.channel-brief:nth-child(3n) {
  border-right: 0;
}

.channel-brief span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.channel-brief h3 {
  margin: 4px 0 0;
  font-size: 28px;
  line-height: 1.05;
}

.channel-brief p {
  margin: 0;
  color: var(--muted);
}

.channel-brief strong {
  align-self: end;
  color: var(--teal);
  font-size: 13px;
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

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

.story-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(18, 18, 18, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(18, 18, 18, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.story-card:hover {
  border-color: rgba(232, 72, 85, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.story-card-large {
  grid-row: span 2;
}

.story-image {
  aspect-ratio: 16 / 10;
  background: #dfe5e3;
  overflow: hidden;
}

.story-card-large .story-image {
  aspect-ratio: 1 / 0.82;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.story-card:hover .story-image img {
  transform: scale(1.04);
}

.story-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.story-meta,
.article-label,
.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.story-meta span:first-child,
.article-label a {
  color: var(--teal);
  font-weight: 800;
}

.story-body h3 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: 0;
}

.story-body h3 a {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: background-size 180ms ease;
}

.story-card:hover h3 a {
  background-size: 100% 2px;
}

.story-body p {
  margin: 0;
  color: var(--muted);
}

.tag-row,
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag-row span,
.article-tags span {
  border-radius: 999px;
  background: #f2f4f1;
  padding: 4px 9px;
  color: #59615f;
  font-size: 12px;
  font-weight: 700;
}

.side-rail {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  border-left: 3px solid var(--ink);
  padding-left: 20px;
}

.rail-title strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}

.briefing-list {
  margin: 24px 0;
}

.briefing-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.briefing-item span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.briefing-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.25;
}

.briefing-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  color: var(--accent-dark);
  font-weight: 900;
}

.library-section {
  background: #f4f7f7;
}

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

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

.empty-state {
  border: 1px dashed #aeb8b6;
  border-radius: 8px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.empty-state p {
  margin: 6px 0 0;
  color: var(--muted);
}

.focus-section {
  overflow: hidden;
}

.focus-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

.focus-copy h2 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

.focus-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.metric-board {
  display: grid;
  gap: 12px;
}

.metric-board div {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.metric-board strong {
  color: var(--accent);
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.9;
}

.metric-board span {
  color: #2d3337;
  font-weight: 800;
}

.resource-section {
  background: #f8faf8;
}

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

.resource-panel {
  border-top: 3px solid var(--ink);
  background: #fff;
  padding: 22px;
}

.resource-list {
  display: grid;
  gap: 12px;
}

.resource-link {
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.resource-link span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.resource-link strong {
  font-size: 22px;
  line-height: 1.16;
}

.resource-link small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.mobile-quickbar {
  display: none;
}

.site-footer {
  padding: 42px 0 88px;
  background: #f8faf8;
}

.footer-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
}

.footer-inner p {
  max-width: 580px;
  margin: 10px 0 0;
  color: var(--muted);
}

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

.footer-links a {
  color: #30343a;
  font-weight: 700;
}

.read-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 60;
  width: 0;
  height: 3px;
  background: var(--accent);
}

.article-page {
  padding-top: 36px;
}

.article-shell {
  width: min(880px, calc(100% - 36px));
  margin: 0 auto;
}

.article-hero {
  padding: clamp(36px, 7vw, 78px) 0 28px;
}

.article-hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(38px, 8vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.article-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.article-byline {
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}

.article-byline button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  cursor: pointer;
}

.article-cover {
  margin: 0 0 36px;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe5e3;
}

.article-cover img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.article-content {
  display: grid;
  gap: 22px;
  color: #24282c;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.85;
}

.article-content p {
  margin: 0;
}

.article-tags {
  margin-top: 36px;
  padding-bottom: 28px;
}

.article-ad {
  margin-top: 26px;
}

.related-section {
  padding-top: 52px;
}

.feature-hero {
  position: relative;
  min-height: 62svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.feature-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.36));
  content: "";
}

.feature-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-hero-copy {
  width: min(800px, calc(100% - 36px));
  margin: 0 auto clamp(46px, 9vw, 92px);
  color: #fff;
}

.feature-hero-copy .kicker {
  color: var(--gold);
}

.feature-hero-copy h1,
.tool-header h1,
.qa-header h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

.feature-hero-copy p,
.tool-header p,
.qa-header p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 23px);
}

.feature-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.feature-checklist {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  border-top: 3px solid var(--ink);
  padding-top: 18px;
}

.feature-checklist ul,
.tool-notes ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-checklist li,
.tool-notes li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  color: #353b3f;
  font-weight: 700;
}

.tool-shell,
.qa-shell {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0;
}

.tool-header,
.qa-header {
  margin-bottom: 34px;
}

.tool-header p,
.qa-header p {
  color: var(--muted);
}

.tool-calculator {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}

.tool-calculator label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.tool-calculator input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
}

.tool-calculator output {
  grid-column: 1 / -1;
  display: block;
  border-radius: 8px;
  background: var(--ink);
  padding: 22px;
  color: #fff;
  font-size: clamp(26px, 5vw, 52px);
  font-weight: 900;
  line-height: 1;
}

.tool-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 34px;
}

.tool-examples button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  cursor: pointer;
}

.compare-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.compare-table table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

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

.compare-table th {
  background: #f3f6f5;
  color: var(--teal);
  font-size: 13px;
}

.tool-groups,
.route-list,
.qa-list {
  display: grid;
  gap: 16px;
}

.tool-groups section,
.route-list section,
.qa-item,
.qa-submit,
.tool-notes {
  border-top: 2px solid var(--ink);
  background: #fff;
  padding: 22px;
}

.tool-groups h2,
.route-list h2,
.qa-item h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}

.tool-groups ul,
.route-list ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.tool-groups a,
.qa-item a {
  color: var(--accent-dark);
  font-weight: 900;
}

.route-list {
  counter-reset: route;
}

.route-list > ol {
  border-top: 2px solid var(--ink);
  background: #fff;
  padding: 22px 22px 22px 42px;
}

.tool-notes,
.qa-submit {
  margin-top: 24px;
  background: #f4f7f7;
}

.qa-item p,
.qa-submit p,
.route-list p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
}

.qa-item div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.static-page {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0;
}

.static-page h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1;
}

.static-page h2 {
  margin: 34px 0 10px;
  font-size: 26px;
}

.static-page p,
.static-page li {
  color: #3f454a;
  font-size: 17px;
}

.static-page a {
  color: var(--accent-dark);
  font-weight: 800;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

body.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

body.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translateX(0);
  }
  to {
    transform: scale(1.08) translateX(-16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .channel-tools,
  .desk-layout,
  .lead-layout,
  .feature-layout,
  .focus-layout,
  .section-heading-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .ranking-panel,
  .feature-checklist,
  .side-rail {
    position: static;
    border-left: 0;
    border-top: 3px solid var(--ink);
    padding: 20px 0 0;
  }

  .news-desk,
  .topic-grid,
  .channel-map,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desk-item:nth-child(2n),
  .channel-brief:nth-child(2n) {
    border-right: 0;
  }

  .channel-brief:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .channel-brief:nth-child(2n) {
    border-right: 0;
  }

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

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

@media (max-width: 720px) {
  body {
    padding-bottom: 58px;
  }

  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

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

  .brand small {
    font-size: 9px;
  }

  .menu-button {
    display: grid;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(18, 18, 18, 0.09);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    border-radius: 8px;
    padding: 12px;
  }

  .hero {
    min-height: 68svh;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.91), rgba(0, 0, 0, 0.52) 58%, rgba(0, 0, 0, 0.22));
  }

  .hero-media {
    background-position: 56% center;
  }

  .hero-content {
    width: min(100% - 32px, 358px);
    margin: 0 16px 34px;
  }

  .hero h1 {
    font-size: clamp(52px, 16vw, 72px);
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-copy {
    max-width: 22em;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.96);
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-actions {
    display: grid;
    margin-top: 24px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 48px 0;
  }

  .desk-section {
    padding-top: 34px;
  }

  .section-inner,
  .article-shell,
  .tool-shell,
  .qa-shell,
  .static-page {
    width: calc(100% - 32px);
  }

  .section-heading h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .category-tabs button {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .featured-grid,
  .article-grid,
  .compact-grid,
  .news-desk,
  .topic-grid,
  .channel-map,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .feature-hero {
    min-height: 56svh;
  }

  .feature-hero::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.42));
  }

  .feature-hero-copy {
    width: calc(100% - 32px);
    margin-bottom: 38px;
  }

  .feature-hero-copy h1,
  .tool-header h1,
  .qa-header h1 {
    font-size: clamp(36px, 11vw, 48px);
    overflow-wrap: anywhere;
  }

  .feature-hero-copy p,
  .tool-header p,
  .qa-header p {
    font-size: 18px;
  }

  .tool-calculator {
    grid-template-columns: 1fr;
  }

  .tool-groups section,
  .route-list section,
  .qa-item,
  .qa-submit,
  .tool-notes {
    padding: 18px;
  }

  .desk-item,
  .channel-brief {
    min-height: auto;
    border-right: 0;
  }

  .desk-item {
    padding: 18px 0;
    background: transparent;
  }

  .topic-body h3,
  .channel-brief h3 {
    font-size: 24px;
  }

  .channel-brief {
    padding: 18px;
  }

  .story-card-large {
    grid-row: auto;
  }

  .story-card-large .story-image,
  .story-image {
    aspect-ratio: 16 / 10;
  }

  .ad-strip {
    min-height: 64px;
  }

  .ad-banner {
    width: calc(100% - 32px);
    padding: 0 12px;
    text-align: center;
  }

  .metric-board div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mobile-quickbar {
    position: fixed;
    right: auto;
    bottom: 10px;
    left: 10px;
    width: calc(100vw - 20px);
    max-width: calc(100% - 20px);
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid rgba(18, 18, 18, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 42px rgba(18, 18, 18, 0.16);
    backdrop-filter: blur(16px);
  }

  .mobile-quickbar a {
    display: grid;
    min-width: 0;
    min-height: 48px;
    place-items: center;
    color: #30343a;
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-quickbar a + a {
    border-left: 1px solid rgba(18, 18, 18, 0.08);
  }

  .article-page {
    padding-top: 8px;
  }

  .article-hero p {
    font-size: 18px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .article-hero h1 {
    font-size: clamp(32px, 8vw, 38px);
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .article-byline {
    align-items: flex-start;
    flex-direction: column;
  }

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