:root {
  --bg: #fbfbfa;
  --bg-gradient: linear-gradient(180deg, #fbfbfa 0%, #f8f8f7 52%, #fbfbfa 100%);
  --bg-glow: rgba(154, 123, 95, 0.05);
  --overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 70%);
  --bg-soft: rgba(255, 255, 255, 0.82);
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #37352f;
  --muted: #6b6762;
  --line: rgba(55, 53, 47, 0.1);
  --accent: #9a7b5f;
  --accent-deep: #6f5a47;
  --accent-cool: #7b7167;
  --panel-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 250, 249, 0.94));
  --section-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(249, 249, 248, 0.92));
  --featured-gradient: linear-gradient(180deg, rgba(248, 247, 245, 0.95), rgba(255, 255, 255, 0.92));
  --mini-card-bg: rgba(255, 255, 255, 0.72);
  --pill-bg: rgba(247, 247, 245, 0.92);
  --pill-line: rgba(55, 53, 47, 0.08);
  --secondary-bg: rgba(247, 247, 245, 0.84);
  --filter-bg: rgba(247, 247, 245, 0.88);
  --nav-toggle-bg: rgba(247, 247, 245, 0.92);
  --sticky-bg: rgba(251, 251, 250, 0.96);
  --blockquote-bg: rgba(247, 247, 245, 0.95);
  --blockquote-text: #37352f;
  --subscribe-gradient: linear-gradient(180deg, rgba(248, 247, 245, 0.96), rgba(255, 255, 255, 0.94));
  --cta-gradient: linear-gradient(180deg, rgba(248, 247, 245, 0.96), rgba(255, 255, 255, 0.94));
  --pagination-bg: rgba(255, 255, 255, 0.92);
  --input-bg: rgba(255, 255, 255, 0.95);
  --faq-bg: rgba(250, 250, 249, 0.96);
  --nav-surface: rgba(255, 255, 255, 0.82);
  --backdrop-blur: 8px;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.05);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --max-width: 1180px;
  --reading-width: 760px;
}

/* 2026 full-site experience refresh.
   This layer is intentionally additive: pages keep their Tailwind structure,
   while the site gains a unified product-grade shell, motion and card system. */
:root {
  --ng-bg: #f7f5f1;
  --ng-paper: rgba(255, 255, 252, 0.88);
  --ng-paper-strong: rgba(255, 255, 255, 0.96);
  --ng-ink: #2f2d28;
  --ng-muted: #6f6a61;
  --ng-line: rgba(58, 54, 47, 0.1);
  --ng-soft-line: rgba(255, 255, 255, 0.72);
  --ng-warm: #9c7a58;
  --ng-warm-strong: #765a3f;
  --ng-sand: #ebe3d8;
  --ng-green: #8a9a7a;
  --ng-shadow: 0 28px 80px rgba(60, 48, 34, 0.08);
  --ng-shadow-hover: 0 34px 90px rgba(60, 48, 34, 0.12);
  --ng-font-sans: "LXGW WenKai Screen", "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  --ng-font-title: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", "PingFang SC", "Microsoft YaHei UI", serif;
  --ng-font-mono: "SFMono-Regular", "Cascadia Code", "Menlo", "Consolas", monospace;
}

body.site-refactor {
  color: var(--ng-ink);
  font-family: var(--ng-font-sans);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0.012em;
  font-kerning: normal;
  font-variant-east-asian: proportional-width;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at 12% 6%, rgba(156, 122, 88, 0.1), transparent 26rem),
    radial-gradient(circle at 86% 18%, rgba(138, 154, 122, 0.11), transparent 25rem),
    linear-gradient(180deg, #fbfaf7 0%, var(--ng-bg) 44%, #fbfaf7 100%);
}

body.site-refactor::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 45, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 45, 40, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.36), transparent 72%);
}

body.site-refactor header.sticky {
  border-bottom-color: rgba(255, 255, 255, 0.74) !important;
  background: rgba(247, 245, 241, 0.76) !important;
  box-shadow: 0 1px 0 rgba(58, 54, 47, 0.05), 0 18px 52px rgba(60, 48, 34, 0.06);
  backdrop-filter: blur(18px) saturate(1.1);
}

body.site-refactor header.sticky > div,
body.site-refactor main,
body.site-refactor footer {
  max-width: 1180px !important;
}

body.site-refactor header nav {
  padding: 6px;
  border: 1px solid rgba(58, 54, 47, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.site-refactor header nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}

body.site-refactor header nav a:hover {
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 10px 24px rgba(60, 48, 34, 0.07);
}

body.site-refactor header nav a.bg-stone-100,
body.site-refactor header nav a[class*="bg-stone-100"] {
  color: #fff !important;
  background: #2f2d28 !important;
  box-shadow: 0 12px 26px rgba(47, 45, 40, 0.16);
}

body.site-refactor main > section {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.78) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.94), rgba(255, 255, 255, 0.82)) !important;
  box-shadow: var(--ng-shadow) !important;
  backdrop-filter: blur(18px);
  animation: ng-page-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.site-refactor main > section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 0%, rgba(156, 122, 88, 0.1), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 20rem);
}

body.site-refactor main > section > * {
  position: relative;
}

body.site-refactor h1 {
  font-family: var(--ng-font-title);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

body.site-refactor h2,
body.site-refactor h3 {
  font-family: var(--ng-font-title);
  font-weight: 680;
  letter-spacing: -0.018em;
  line-height: 1.24;
  text-wrap: balance;
}

body.site-refactor p,
body.site-refactor li {
  line-height: 1.86;
  letter-spacing: 0.018em;
  text-wrap: pretty;
}

body.site-refactor p {
  margin-block: 0;
}

body.site-refactor strong,
body.site-refactor b {
  font-weight: 680;
}

body.site-refactor small,
body.site-refactor .text-xs {
  letter-spacing: 0.035em;
}

body.site-refactor code,
body.site-refactor kbd,
body.site-refactor pre {
  font-family: var(--ng-font-mono);
}

body.site-refactor [data-article-body] {
  max-width: 760px;
  color: #403c35;
  font-size: 17px;
  line-height: 1.94;
  letter-spacing: 0.018em;
}

body.site-refactor [data-article-body] p {
  margin-top: 1.05em;
  line-height: 1.96;
}

body.site-refactor [data-article-body] h2 {
  margin-top: 2.55em;
  margin-bottom: 0.85em;
  color: #2f2d28;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.3;
}

body.site-refactor [data-article-body] h2:first-child {
  margin-top: 0;
}

body.site-refactor [data-article-body] ul,
body.site-refactor [data-article-body] ol {
  margin-top: 1.05em;
  padding-left: 1.35em;
}

body.site-refactor [data-article-body] li + li {
  margin-top: 0.45em;
}

body.site-refactor [data-article-body] blockquote {
  margin: 1.6em 0;
  border-left: 3px solid rgba(156, 122, 88, 0.34);
  border-radius: 0 18px 18px 0;
  background: rgba(248, 244, 238, 0.66);
  padding: 1px 1.1em;
  color: #514b42;
}

body.site-refactor [data-article-body] a {
  text-decoration-color: rgba(156, 122, 88, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

body.site-refactor header,
body.site-refactor nav,
body.site-refactor button,
body.site-refactor input,
body.site-refactor .ng-kicker,
body.site-refactor .ng-eyebrow {
  font-family: var(--ng-font-sans);
}

body.site-refactor [class*="tracking-[0.2em]"],
body.site-refactor [class*="tracking-[0.18em]"] {
  letter-spacing: 0.22em;
}

body.site-refactor a[class*="rounded-2xl"],
body.site-refactor a[class*="rounded-3xl"],
body.site-refactor a[class*="rounded-[28px]"],
body.site-refactor article[class*="rounded-"],
body.site-refactor div[class*="rounded-2xl"],
body.site-refactor div[class*="rounded-3xl"] {
  border-color: rgba(58, 54, 47, 0.09) !important;
}

body.site-refactor a[class*="rounded-2xl"]:hover,
body.site-refactor a[class*="rounded-3xl"]:hover,
body.site-refactor a[class*="rounded-[28px]"]:hover,
body.site-refactor [data-article-card]:hover,
body.site-refactor [data-tool-card]:hover {
  transform: translateY(-4px);
  border-color: rgba(156, 122, 88, 0.2) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: var(--ng-shadow-hover);
}

body.site-refactor input[type="search"]::placeholder {
  color: rgba(111, 106, 97, 0.62);
}

body.site-refactor [data-reading-progress] {
  height: 3px;
  background: linear-gradient(90deg, var(--ng-warm), var(--ng-green));
  box-shadow: 0 8px 20px rgba(156, 122, 88, 0.18);
}

body.site-refactor .ng-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 28px;
  align-items: stretch;
}

body.site-refactor .ng-hero-panel {
  min-height: 520px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 34px;
  border: 1px solid rgba(58, 54, 47, 0.08);
  background:
    radial-gradient(circle at 16% 14%, rgba(156, 122, 88, 0.14), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 244, 238, 0.78));
}

body.site-refactor .ng-side-panel {
  padding: clamp(24px, 4vw, 34px);
  border-radius: 34px;
  border: 1px solid rgba(58, 54, 47, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 241, 234, 0.78));
}

body.site-refactor .ng-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(58, 54, 47, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  padding: 7px 12px;
  color: var(--ng-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

body.site-refactor .ng-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ng-warm);
  box-shadow: 0 0 0 5px rgba(156, 122, 88, 0.12);
}

body.site-refactor .ng-cta-primary,
body.site-refactor .ng-cta-secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 650;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

body.site-refactor .ng-cta-primary {
  color: #fff;
  background: #2f2d28;
  box-shadow: 0 14px 30px rgba(47, 45, 40, 0.16);
}

body.site-refactor .ng-cta-secondary {
  border: 1px solid rgba(58, 54, 47, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ng-ink);
}

body.site-refactor .ng-cta-primary:hover,
body.site-refactor .ng-cta-secondary:hover {
  transform: translateY(-2px);
}

body.site-refactor .ng-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

body.site-refactor .ng-kicker {
  color: var(--ng-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body.site-refactor .ng-card {
  border: 1px solid rgba(58, 54, 47, 0.09);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

body.site-refactor .ng-card:hover {
  transform: translateY(-4px);
  border-color: rgba(156, 122, 88, 0.2);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--ng-shadow-hover);
}

body.site-refactor footer > div {
  border-color: rgba(255, 255, 255, 0.78) !important;
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(16px);
}

html[data-scrolled="true"] body.site-refactor header.sticky {
  background: rgba(247, 245, 241, 0.9) !important;
  box-shadow: 0 1px 0 rgba(58, 54, 47, 0.06), 0 22px 60px rgba(60, 48, 34, 0.09);
}

html[data-enhanced="true"] body.site-refactor main section,
html[data-enhanced="true"] body.site-refactor main article,
html[data-enhanced="true"] body.site-refactor [data-article-card],
html[data-enhanced="true"] body.site-refactor [data-tool-card],
html[data-enhanced="true"] body.site-refactor .ng-card {
  opacity: 0;
  transform: translateY(12px);
}

html[data-enhanced="true"] body.site-refactor main section[data-revealed="true"],
html[data-enhanced="true"] body.site-refactor main article[data-revealed="true"],
html[data-enhanced="true"] body.site-refactor [data-article-card][data-revealed="true"],
html[data-enhanced="true"] body.site-refactor [data-tool-card][data-revealed="true"],
html[data-enhanced="true"] body.site-refactor .ng-card[data-revealed="true"] {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 520ms ease var(--reveal-delay, 0ms),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

@keyframes ng-page-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@media (max-width: 860px) {
  body.site-refactor header.sticky > div {
    align-items: flex-start;
    flex-direction: column;
  }

  body.site-refactor header nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  body.site-refactor header nav::-webkit-scrollbar {
    display: none;
  }

  body.site-refactor .ng-hero-grid {
    grid-template-columns: 1fr;
  }

  body.site-refactor .ng-hero-panel {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.site-refactor main > section {
    animation: none;
  }

  body.site-refactor main section,
  body.site-refactor main article,
  body.site-refactor [data-article-card],
  body.site-refactor [data-tool-card],
  body.site-refactor .ng-card {
    opacity: 1;
    transform: none;
  }
}

body[data-theme="dark"] {
  --bg: #11161d;
  --bg-gradient: linear-gradient(180deg, #0f141b 0%, #131923 50%, #18212c 100%);
  --bg-glow: rgba(74, 118, 152, 0.18);
  --overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 70%);
  --bg-soft: rgba(23, 30, 40, 0.84);
  --surface: rgba(27, 35, 47, 0.92);
  --surface-strong: #1d2531;
  --text: #edf2f7;
  --muted: #a2afbf;
  --line: rgba(190, 209, 229, 0.12);
  --accent: #d78853;
  --accent-deep: #f3b07c;
  --accent-cool: #8cc2cb;
  --panel-gradient: linear-gradient(180deg, rgba(24, 31, 42, 0.96), rgba(19, 26, 35, 0.92));
  --section-gradient: linear-gradient(180deg, rgba(22, 29, 39, 0.94), rgba(17, 23, 31, 0.9));
  --featured-gradient: linear-gradient(180deg, rgba(31, 39, 52, 0.96), rgba(21, 28, 38, 0.92));
  --mini-card-bg: rgba(33, 42, 56, 0.82);
  --pill-bg: rgba(32, 40, 53, 0.84);
  --pill-line: rgba(243, 176, 124, 0.14);
  --secondary-bg: rgba(29, 38, 51, 0.82);
  --filter-bg: rgba(30, 39, 52, 0.88);
  --nav-toggle-bg: rgba(27, 35, 47, 0.88);
  --sticky-bg: rgba(24, 31, 42, 0.94);
  --blockquote-bg: rgba(31, 39, 53, 0.95);
  --blockquote-text: #edf2f7;
  --subscribe-gradient: linear-gradient(180deg, rgba(27, 35, 47, 0.96), rgba(20, 27, 36, 0.9));
  --cta-gradient: linear-gradient(180deg, rgba(27, 35, 47, 0.96), rgba(20, 27, 36, 0.9));
  --pagination-bg: rgba(27, 35, 47, 0.9);
  --input-bg: rgba(24, 31, 43, 0.94);
  --faq-bg: rgba(24, 31, 42, 0.92);
  --nav-surface: rgba(24, 31, 42, 0.78);
  --backdrop-blur: 14px;
  --shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, var(--bg-glow), transparent 28%),
    var(--bg-gradient);
  transition: background 220ms ease, color 220ms ease;
}

.site-shell-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(251, 251, 250, 0.88);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-shell-inner {
  width: min(calc(100% - 40px), 1024px);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-shell-brand,
.site-shell-nav a {
  text-decoration: none;
  color: inherit;
}

.site-shell-brand {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #44403c;
}

.site-shell-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.site-shell-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.site-shell-nav a:hover,
.site-shell-nav a.is-current {
  background: #f1f0ee;
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--overlay);
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 88%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), 1024px);
  margin: 24px auto 56px;
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 30;
  will-change: transform, box-shadow;
}

.page-shell.is-scrolled .nav {
  padding: 10px 14px;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(24, 18, 10, 0.1);
  transform: translateZ(0);
}

.page-shell.is-scrolled .nav .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.page-shell.is-scrolled .nav .brand-text,
.page-shell.is-scrolled .nav-links a,
.page-shell.is-scrolled .theme-toggle,
.page-shell.is-scrolled .nav-toggle {
  font-size: 0.94rem;
}

.progress-bar {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 20;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #b7a08a);
  box-shadow: 0 4px 12px rgba(111, 90, 71, 0.16);
}

.hero,
.page-hero,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.hero,
.page-hero {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 2px);
  background: var(--panel-gradient);
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--backdrop-blur));
}

.page-hero-copy {
  margin-top: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) - 2px);
  background: var(--nav-surface);
  backdrop-filter: blur(var(--backdrop-blur));
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  transition: padding 180ms ease, border-radius 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
  backface-visibility: hidden;
}

.brand,
.nav a,
.post-card a,
.featured-story a,
.footer a {
  text-decoration: none;
  color: inherit;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1efec;
  border: 1px solid var(--line);
  color: var(--text);
  letter-spacing: 0.08em;
}

.brand-text,
.nav-links a,
.button,
.filters button,
.nav-toggle {
  font-size: 0.98rem;
}

.brand-text {
  line-height: 1.15;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a.is-current,
.footer a:hover,
.post-card a:hover,
.featured-story a:hover,
.text-link:hover {
  color: var(--accent-deep);
}

.nav-links a.is-current {
  font-weight: 700;
}

.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--nav-toggle-bg);
  cursor: pointer;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--nav-toggle-bg);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 36px;
  margin-top: 34px;
  align-items: stretch;
}

.hero-kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.panel-label,
.card-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: inherit;
  font-weight: 650;
  line-height: 1.15;
}

h1 {
  margin-top: 14px;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  max-width: 12ch;
  text-wrap: balance;
}

.page-hero h1,
.article-hero h1 {
  max-width: 14ch;
}

.hero-text {
  max-width: 56ch;
  margin: 18px 0 0;
  font-size: 1.1rem;
  line-height: 1.86;
  color: var(--muted);
}

.hero-note {
  max-width: 52ch;
  margin: 14px 0 0;
  color: var(--accent-deep);
  line-height: 1.72;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  max-width: 760px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--pill-line);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-actions,
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, opacity 180ms ease, background 180ms ease;
}

.button:hover,
.filters button:hover,
.back-to-top:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: #f1efec;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.button-secondary {
  border-color: var(--line);
  background: var(--secondary-bg);
  color: var(--text);
}

.button.is-busy,
.button:disabled {
  cursor: wait;
  opacity: 0.86;
  transform: none;
}

.button.is-busy::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: button-spin 0.9s linear infinite;
}

.button.is-success {
  box-shadow: 0 12px 24px rgba(40, 92, 99, 0.18);
}

.button-primary.is-success {
  background: linear-gradient(135deg, #2e7c7f, #4b9c90);
}

.button-secondary.is-success {
  border-color: rgba(40, 92, 99, 0.28);
  background: rgba(40, 92, 99, 0.08);
  color: #285c63;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.spaced-link {
  margin-top: 22px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.hero-stats li {
  min-width: 148px;
  padding: 16px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.hero-stats strong {
  display: block;
  font-size: 1.62rem;
  font-family: inherit;
}

.hero-stats span {
  color: var(--muted);
  display: block;
  margin-top: 6px;
  line-height: 1.45;
}

.hero-copy {
  position: relative;
  padding-right: 10px;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 6px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}

.hero-panel,
.highlight-card,
.post-card,
.about-card,
.subscribe-shell,
.info-card,
.sticky-card,
.search-box input,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  backdrop-filter: blur(var(--backdrop-blur));
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  min-height: 100%;
}

.featured-story {
  margin-top: 14px;
  padding: 26px;
  border-radius: 28px;
  background: var(--featured-gradient);
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
}

.story-tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(40, 92, 99, 0.12);
  color: var(--accent-cool);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-story h2 {
  margin-top: 18px;
  font-size: clamp(1.95rem, 3vw, 2.65rem);
  line-height: 1.08;
}

.featured-story p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.featured-story a,
.post-card a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--accent-deep);
  font-weight: 700;
}

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

.mini-card {
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: var(--mini-card-bg);
  border: 1px solid color-mix(in srgb, var(--line) 74%, transparent);
}

.mini-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.mini-card strong {
  line-height: 1.5;
}

.reader-note {
  margin-top: 18px;
  padding: 18px 18px 0;
  border-top: 1px solid var(--line);
}

body[data-page="home"] .hero {
  overflow: hidden;
}

body[data-page="home"] .hero::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 86px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 68%);
  pointer-events: none;
  filter: blur(6px);
}

body.topic-page-elon .page-shell {
  width: min(calc(100% - 28px), calc(var(--max-width) + 26px));
}

.elon-hero {
  overflow: hidden;
}

.elon-hero::after {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 92, 99, 0.14), transparent 68%);
  filter: blur(2px);
  pointer-events: none;
}

.elon-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  margin-top: 34px;
  align-items: stretch;
}

.elon-hero-aside {
  display: grid;
  gap: 16px;
}

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

.elon-manifesto,
.elon-hero-stats {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(246, 239, 228, 0.92));
  backdrop-filter: blur(var(--backdrop-blur));
}

.elon-manifesto {
  padding: 24px;
}

.elon-manifesto h3 {
  margin-top: 14px;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.16;
}

.elon-manifesto p:last-child {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.78;
}

.elon-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.elon-hero-stats div {
  padding: 18px 18px 16px;
}

.elon-hero-stats div:not(:last-child) {
  border-right: 1px solid var(--line);
}

.elon-hero-stats strong {
  display: block;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.72rem;
}

.elon-hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.elon-read-section {
  background:
    radial-gradient(circle at top right, rgba(196, 104, 54, 0.08), transparent 32%),
    var(--section-gradient);
}

.elon-read-section .path-grid {
  gap: 20px;
}

.elon-read-section .path-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(251, 246, 238, 0.92));
}

.elon-read-section .path-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0 18px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(196, 104, 54, 0.7), rgba(40, 92, 99, 0.45));
}

.elon-notes-section {
  background:
    radial-gradient(circle at left bottom, rgba(40, 92, 99, 0.1), transparent 28%),
    var(--section-gradient);
}

.elon-notes-section .proof-card {
  min-height: 200px;
  background: linear-gradient(180deg, rgba(255, 251, 247, 0.94), rgba(248, 241, 231, 0.9));
}

.elon-library-section {
  background:
    radial-gradient(circle at top left, rgba(111, 83, 45, 0.08), transparent 28%),
    var(--section-gradient);
}

.elon-library-section .post-grid {
  gap: 20px;
}

.elon-library-section .post-card {
  min-height: 236px;
  background: linear-gradient(180deg, rgba(255, 254, 251, 0.96), rgba(248, 242, 235, 0.92));
  border-radius: 24px;
}

.elon-library-section .post-card .card-meta {
  color: color-mix(in srgb, var(--accent-cool) 58%, var(--muted));
}

.reader-note p {
  margin: 0 0 10px;
  color: var(--muted);
}

.reader-note strong {
  line-height: 1.6;
}

.section {
  margin-top: 28px;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) - 2px);
  background: var(--section-gradient);
  box-shadow: var(--shadow);
}

.section-highlight {
  overflow: hidden;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading.split {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.highlight-grid,
.post-grid,
.about-grid,
.two-column-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.path-grid,
.proof-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.editorial-layout,
.atlas-grid,
.room-grid,
.shelf-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.editorial-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: stretch;
}

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

.room-grid {
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
}

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

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

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

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

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

.issue-section,
.atlas-section,
.reading-room-section {
  overflow: hidden;
}

.issue-section::before,
.atlas-section::before,
.reading-room-section::before {
  content: "";
  position: absolute;
  inset: auto auto -60px -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 104, 54, 0.1), transparent 70%);
  pointer-events: none;
}

.highlight-card {
  min-height: 250px;
  padding: 24px;
}

.editorial-copy,
.issue-card,
.issue-quote,
.atlas-card,
.reading-room-feature,
.shelf-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--backdrop-blur));
}

.editorial-copy {
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(248, 241, 232, 0.92));
}

.editorial-copy h2,
.reading-room-feature h3 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
}

.editorial-copy p:last-of-type,
.editorial-copy p:nth-of-type(2),
.atlas-card p:last-of-type,
.reading-room-feature p,
.shelf-card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.86;
}

.issue-aside {
  display: grid;
  gap: 18px;
}

.issue-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(246, 234, 222, 0.92), rgba(255, 251, 246, 0.94));
}

.issue-card h3,
.atlas-card h3,
.shelf-card h3 {
  margin-top: 14px;
  font-size: 1.5rem;
  line-height: 1.18;
}

.issue-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.issue-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.72;
}

.issue-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.issue-quote {
  display: flex;
  align-items: flex-end;
  padding: 24px;
  min-height: 180px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.74), rgba(177, 215, 213, 0.18));
}

.issue-quote p {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.6;
  color: var(--text);
}

.atlas-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  min-height: 250px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(255, 248, 241, 0.86));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.atlas-card:hover,
.shelf-card:hover,
.reading-room-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 63, 30, 0.24);
  box-shadow: 0 14px 30px rgba(24, 18, 10, 0.08);
}

.accent-atlas {
  background: linear-gradient(180deg, rgba(241, 222, 165, 0.36), rgba(255, 248, 241, 0.9));
}

.reading-room-feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(40, 92, 99, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(246, 238, 228, 0.92));
}

.room-note-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.room-note-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-size: 0.9rem;
}

.shelf-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  min-height: 220px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(251, 247, 240, 0.9));
}

.highlight-card h3,
.post-card h3,
.about-card h3,
.timeline-item h3,
.info-card h3 {
  margin-top: 16px;
  font-size: 1.7rem;
}

.highlight-card p:last-child,
.post-card p:nth-of-type(2),
.about-card p,
.timeline-item p,
.subscribe-shell p,
.info-card p,
.faq-content p,
.article-body p,
.article-body blockquote {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.88;
}

.warm {
  background: linear-gradient(180deg, rgba(255, 213, 182, 0.32), rgba(255, 251, 247, 0.82));
}

.cool {
  background: linear-gradient(180deg, rgba(177, 215, 213, 0.36), rgba(255, 251, 247, 0.82));
}

.accent {
  background: linear-gradient(180deg, rgba(241, 222, 165, 0.4), rgba(255, 251, 247, 0.82));
}

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

.filters button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--filter-bg);
  cursor: pointer;
  color: var(--muted);
}

.filters .is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

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

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

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

.path-card,
.proof-card,
.testimonial-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.path-card h3,
.proof-card h3 {
  margin-top: 14px;
  font-size: 1.55rem;
}

.path-card p:last-of-type,
.proof-card p,
.testimonial-card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.82;
}

.testimonial-card {
  background: var(--panel-gradient);
}

.testimonial-card p {
  margin-top: 0;
  font-size: 1.03rem;
  color: var(--text);
}

.testimonial-card span {
  display: inline-flex;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 63, 30, 0.26);
}

.is-clickable-card {
  cursor: pointer;
}

.is-clickable-card:focus-visible {
  outline: 2px solid rgba(196, 104, 54, 0.34);
  outline-offset: 4px;
}

.post-card.is-hidden {
  display: none;
}

.about-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.about-grid-home {
  grid-template-columns: 1.2fr 0.8fr;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.portrait-glow {
  position: absolute;
  inset: auto -80px -80px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 104, 54, 0.38), transparent 70%);
}

.portrait-content {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.about-card,
.info-card,
.pricing-card {
  padding: 24px;
}

.info-emphasis {
  color: var(--text);
}

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

.pricing-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--pagination-bg);
  backdrop-filter: blur(var(--backdrop-blur));
}

.pricing-card-featured {
  background: linear-gradient(180deg, rgba(252, 242, 230, 0.98), rgba(255, 255, 255, 0.9));
  border-color: rgba(196, 104, 54, 0.3);
  box-shadow: 0 16px 34px rgba(196, 104, 54, 0.1);
}

.price {
  margin: 18px 0 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 2.1rem;
  color: var(--accent-deep);
}

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

.compact-list li {
  font-size: 0.98rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.tag-list,
.bullet-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.tag-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(40, 92, 99, 0.1);
  color: var(--accent-cool);
}

.quote-card {
  display: flex;
  align-items: flex-end;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.68), rgba(241, 222, 165, 0.28));
}

.quote-card p {
  margin: 0;
  font-size: 1.35rem;
  color: var(--text);
}

.archive-tools {
  padding-bottom: 26px;
}

.search-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.search-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(420px, 100%);
  color: var(--muted);
}

.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  font: inherit;
  color: var(--text);
}

.search-box input:focus,
.subscribe-form input:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(196, 104, 54, 0.25);
  border-color: rgba(196, 104, 54, 0.45);
}

.result-hint {
  margin: 16px 0 0;
  color: var(--muted);
}

.article-hero-minimal {
  padding-top: 34px;
  padding-bottom: 38px;
  transition: padding-top 180ms ease, padding-bottom 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.article-header-minimal {
  max-width: var(--reading-width);
  margin: 0 auto;
}

.article-backlink {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f7f5;
  color: var(--muted);
  text-decoration: none;
}

.article-backlink:hover {
  color: var(--accent-deep);
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.article-meta-row span:not(:last-child)::after {
  content: "·";
  margin-left: 16px;
  color: rgba(95, 87, 80, 0.55);
}

.article-actions-minimal {
  margin-top: 22px;
}

.reading-mode-toggle {
  min-width: 112px;
}

.article-actions-minimal .button-primary {
  display: none;
}

.article-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
}

body[data-page="article"] .page-shell {
  width: min(calc(100% - 40px), 1024px);
  margin-top: 32px;
  margin-bottom: 64px;
}

body[data-page="article"] .page-hero.article-hero,
body[data-page="article"] .section,
body[data-page="article"] .footer {
  border-color: rgba(55, 53, 47, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

body[data-page="article"] .page-hero.article-hero {
  padding: 42px 40px 38px;
}

body[data-page="article"] .section.article-layout {
  padding: 0;
  overflow: hidden;
}

body[data-page="article"] .article-layout {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
}

body[data-page="article"] .article-sidebar {
  padding: 28px 24px 28px 28px;
  border-right: 1px solid rgba(55, 53, 47, 0.08);
  background: rgba(248, 248, 247, 0.72);
}

body[data-page="article"] .sticky-card {
  padding: 22px;
  border: 1px solid rgba(55, 53, 47, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: none;
}

body[data-page="article"] .article-body {
  max-width: none;
  padding: 34px 34px 38px;
  font-size: 1.02rem;
}

body[data-page="article"] .article-body h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
}

body[data-page="article"] .article-body p {
  max-width: 44em;
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
}

body[data-page="article"] .article-body > p:first-child {
  font-size: 1.08rem;
}

body[data-page="article"] .article-cta,
body[data-page="article"] .article-pagination-card {
  background: rgba(248, 248, 247, 0.88);
}

.article-sidebar {
  position: relative;
}

.sticky-card {
  position: sticky;
  top: 24px;
  padding: 20px;
  background: var(--sticky-bg);
}

.toc-card {
  margin-top: 14px;
  top: 210px;
}

.toc-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.toc-toggle-icon {
  color: var(--muted);
  font-size: 0.92rem;
}

.toc-nav {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.toc-card:not(.is-open) .toc-nav {
  display: none;
}

.toc-link {
  color: var(--muted);
  text-decoration: none;
  line-height: 1.6;
  font-size: 0.95rem;
  transition: color 160ms ease, transform 160ms ease;
}

.toc-link:hover,
.toc-link.is-current {
  color: var(--accent-deep);
  transform: translateX(2px);
}

.toc-link.is-current {
  font-weight: 700;
}

.bullet-list {
  flex-direction: column;
  gap: 12px;
}

.bullet-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.subscribe-points {
  margin-top: 22px;
}

.subscribe-points li {
  color: var(--text);
}

.article-body {
  max-width: var(--reading-width);
  margin: 0 auto;
  color: var(--text);
  font-size: 1.06rem;
}

.article-body h2 {
  margin-top: 34px;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1.2;
}

.article-body p {
  max-width: 42em;
}

.article-body > p:first-child {
  margin-top: 0;
  font-size: 1.14rem;
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
}

.article-body blockquote {
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 18px;
  background: var(--blockquote-bg);
  color: var(--blockquote-text);
  font-size: 1.03rem;
}

.subscribe-shell {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 28px;
  padding: 28px;
  background: var(--subscribe-gradient);
}

.article-cta-section {
  padding-top: 28px;
  padding-bottom: 28px;
}

.article-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cta-gradient);
  backdrop-filter: blur(var(--backdrop-blur));
}

.article-pagination {
  padding-top: 24px;
  padding-bottom: 24px;
}

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

.article-pagination-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #f8f8f7;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.article-pagination-card:hover {
  transform: translateY(-2px);
  border-color: rgba(55, 53, 47, 0.16);
  background: #ffffff;
}

.article-pagination-card h3 {
  margin-top: 14px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.article-pagination-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.article-pagination-card.is-next {
  text-align: right;
}

.article-pagination-card .card-meta {
  color: var(--muted);
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.subscribe-form input {
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--input-bg);
  font: inherit;
  color: var(--text);
}

.form-message {
  min-height: 24px;
  margin: 8px 0 0;
  color: var(--accent-deep);
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.inquiry-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--input-bg);
  font: inherit;
  color: var(--text);
}

.form-field textarea {
  min-height: 170px;
  padding-top: 16px;
  padding-bottom: 16px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  background: var(--faq-bg);
}

.faq-trigger {
  width: 100%;
  padding: 20px 22px;
  border: none;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
  padding: 0 22px;
}

.faq-item.is-open .faq-content {
  max-height: 180px;
  padding-bottom: 20px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) - 2px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  color: var(--muted);
}

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

.footer p {
  margin: 0;
  line-height: 1.7;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

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

body[data-theme="dark"] .warm {
  background: linear-gradient(180deg, rgba(98, 66, 44, 0.34), rgba(28, 36, 48, 0.9));
}

body[data-theme="dark"] .cool {
  background: linear-gradient(180deg, rgba(63, 96, 111, 0.38), rgba(28, 36, 48, 0.9));
}

body[data-theme="dark"] .accent {
  background: linear-gradient(180deg, rgba(124, 99, 56, 0.34), rgba(28, 36, 48, 0.9));
}

body[data-theme="dark"] .story-tag,
body[data-theme="dark"] .tag-list li {
  background: rgba(140, 194, 203, 0.12);
}

body[data-theme="dark"] .filters .is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #151b22;
}

body[data-theme="dark"] .brand-mark {
  color: #151b22;
}

body[data-theme="dark"] .editorial-copy,
body[data-theme="dark"] .issue-card,
body[data-theme="dark"] .issue-quote,
body[data-theme="dark"] .atlas-card,
body[data-theme="dark"] .reading-room-feature,
body[data-theme="dark"] .shelf-card {
  border-color: rgba(196, 214, 233, 0.08);
}

body[data-theme="dark"] .editorial-copy {
  background: linear-gradient(180deg, rgba(26, 33, 43, 0.94), rgba(22, 29, 39, 0.92));
}

body[data-theme="dark"] .issue-card {
  background: linear-gradient(180deg, rgba(48, 36, 28, 0.42), rgba(24, 31, 40, 0.94));
}

body[data-theme="dark"] .issue-quote {
  background: linear-gradient(160deg, rgba(31, 39, 51, 0.96), rgba(26, 34, 44, 0.92));
}

body[data-theme="dark"] .atlas-card {
  background: linear-gradient(180deg, rgba(24, 31, 41, 0.94), rgba(21, 28, 38, 0.92));
}

body[data-theme="dark"] .accent-atlas {
  background: linear-gradient(180deg, rgba(96, 75, 40, 0.42), rgba(21, 28, 38, 0.94));
}

body[data-theme="dark"] .reading-room-feature {
  background:
    radial-gradient(circle at top right, rgba(140, 194, 203, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(23, 31, 42, 0.96), rgba(20, 28, 38, 0.94));
}

body[data-theme="dark"] .shelf-card {
  background: linear-gradient(180deg, rgba(24, 31, 41, 0.92), rgba(21, 28, 38, 0.9));
}

body[data-theme="dark"] .room-note-list span {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(196, 214, 233, 0.08);
}

body[data-theme="dark"] .elon-manifesto,
body[data-theme="dark"] .elon-hero-stats,
body[data-theme="dark"] .elon-read-section .path-card,
body[data-theme="dark"] .elon-notes-section .proof-card,
body[data-theme="dark"] .elon-library-section .post-card {
  border-color: rgba(196, 214, 233, 0.08);
}

body[data-theme="dark"] .elon-manifesto {
  background: linear-gradient(180deg, rgba(22, 30, 40, 0.95), rgba(20, 27, 36, 0.93));
}

body[data-theme="dark"] .elon-hero-stats {
  background: linear-gradient(180deg, rgba(24, 31, 41, 0.94), rgba(21, 28, 38, 0.92));
}

body[data-theme="dark"] .elon-hero-stats div:not(:last-child) {
  border-color: rgba(196, 214, 233, 0.08);
}

body[data-theme="dark"] .elon-read-section .path-card,
body[data-theme="dark"] .elon-notes-section .proof-card,
body[data-theme="dark"] .elon-library-section .post-card {
  background: linear-gradient(180deg, rgba(24, 31, 41, 0.94), rgba(21, 28, 38, 0.92));
}

body[data-theme="dark"] .elon-hero::after {
  background: radial-gradient(circle, rgba(140, 194, 203, 0.12), transparent 70%);
}

body[data-theme="dark"][data-page="article"] {
  --bg-gradient: linear-gradient(180deg, #0c1016 0%, #111722 38%, #161e29 100%);
  --bg-glow: rgba(92, 132, 169, 0.12);
  --overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 72%);
}

body[data-theme="dark"][data-page="article"] .page-shell {
  width: min(calc(100% - 28px), calc(var(--max-width) - 56px));
}

body[data-theme="dark"][data-page="article"] .page-hero.article-hero,
body[data-theme="dark"][data-page="article"] .section,
body[data-theme="dark"][data-page="article"] .footer {
  border-color: rgba(196, 214, 233, 0.08);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
}

body[data-theme="dark"][data-page="article"] .page-hero.article-hero {
  background: linear-gradient(180deg, rgba(17, 23, 32, 0.98), rgba(17, 24, 34, 0.94));
}

body[data-theme="dark"][data-page="article"] .section {
  background: linear-gradient(180deg, rgba(16, 22, 31, 0.94), rgba(15, 21, 30, 0.9));
}

body[data-theme="dark"][data-page="article"] .article-header-minimal {
  max-width: 780px;
}

body[data-theme="dark"][data-page="article"] .hero-text {
  color: #b8c4d3;
}

body[data-theme="dark"][data-page="article"] .article-meta-row {
  color: #8f9daf;
}

body[data-theme="dark"][data-page="article"] .article-meta-row span:not(:last-child)::after {
  color: rgba(162, 175, 191, 0.42);
}

body[data-theme="dark"][data-page="article"] .sticky-card,
body[data-theme="dark"][data-page="article"] .article-pagination-card,
body[data-theme="dark"][data-page="article"] .article-cta {
  border-color: rgba(196, 214, 233, 0.08);
}

body[data-theme="dark"][data-page="article"] .sticky-card {
  background: linear-gradient(180deg, rgba(22, 29, 40, 0.96), rgba(18, 25, 35, 0.94));
}

body[data-theme="dark"][data-page="article"] .bullet-list li,
body[data-theme="dark"][data-page="article"] .toc-link,
body[data-theme="dark"][data-page="article"] .article-backlink,
body[data-theme="dark"][data-page="article"] .toc-toggle-icon {
  color: #9eacbd;
}

body[data-theme="dark"][data-page="article"] .toc-link:hover,
body[data-theme="dark"][data-page="article"] .toc-link.is-current,
body[data-theme="dark"][data-page="article"] .article-backlink:hover {
  color: #f0bf95;
}

body[data-theme="dark"][data-page="article"] .article-body {
  color: #edf3f8;
  font-size: 1.08rem;
}

body[data-theme="dark"][data-page="article"] .article-body h2 {
  color: #f5f8fb;
  margin-top: 40px;
}

body[data-theme="dark"][data-page="article"] .article-body p {
  color: #c5d0dc;
  line-height: 1.96;
}

body[data-theme="dark"][data-page="article"] .article-body > p:first-child {
  color: #dbe5ee;
  font-size: 1.18rem;
  line-height: 1.98;
}

body[data-theme="dark"][data-page="article"] .article-body blockquote {
  border-left-color: #e09a67;
  background: linear-gradient(180deg, rgba(36, 44, 57, 0.96), rgba(28, 35, 47, 0.94));
  color: #f1f5f8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"][data-page="article"] .article-cta {
  background: linear-gradient(180deg, rgba(25, 32, 44, 0.96), rgba(19, 26, 36, 0.92));
}

body[data-theme="dark"][data-page="article"] .article-pagination-card {
  background: linear-gradient(180deg, rgba(25, 32, 44, 0.94), rgba(19, 26, 36, 0.9));
}

body[data-theme="dark"][data-page="article"] .article-pagination-card p,
body[data-theme="dark"][data-page="article"] .article-cta p:last-child {
  color: #afbccb;
}

body[data-theme="dark"][data-page="article"] .progress-bar {
  background: linear-gradient(90deg, #d78853, #f0bf95);
  box-shadow: 0 8px 18px rgba(215, 136, 83, 0.22);
}

body[data-theme="dark"][data-page="article"] .back-to-top {
  background: rgba(25, 32, 44, 0.92);
  border-color: rgba(196, 214, 233, 0.1);
}

body[data-page="article"][data-reading-mode="focus"] .page-shell {
  width: min(calc(100% - 24px), 920px);
}

body[data-page="article"][data-reading-mode="focus"] .article-layout {
  grid-template-columns: 1fr;
  gap: 0;
}

body[data-page="article"][data-reading-mode="focus"] .article-sidebar,
body[data-page="article"][data-reading-mode="focus"] .article-cta-section,
body[data-page="article"][data-reading-mode="focus"] .article-pagination,
body[data-page="article"][data-reading-mode="focus"] .footer {
  display: none;
}

body[data-page="article"][data-reading-mode="focus"] .section.article-layout {
  padding-top: 22px;
}

body[data-page="article"][data-reading-mode="focus"] .page-hero.article-hero.is-nav-hidden {
  padding-top: 12px;
  padding-bottom: 18px;
}

body[data-page="article"][data-reading-mode="focus"] .site-shell-header.is-hidden {
  opacity: 0;
  transform: translateY(-110%);
  pointer-events: none;
}

body[data-page="article"][data-reading-mode="focus"] .article-header-minimal,
body[data-page="article"][data-reading-mode="focus"] .article-body {
  max-width: 780px;
}

body[data-page="article"][data-reading-mode="focus"] .article-body {
  font-size: 1.12rem;
}

body[data-page="article"][data-reading-mode="focus"] .article-body p,
body[data-page="article"][data-reading-mode="focus"] .article-body blockquote {
  max-width: 44em;
  line-height: 1.98;
}

body[data-page="article"][data-reading-mode="focus"] .article-body h2 {
  margin-top: 42px;
  font-size: clamp(1.95rem, 3.2vw, 2.5rem);
}

body[data-page="article"][data-reading-mode="focus"] .back-to-top {
  right: 18px;
  bottom: 18px;
}

body[data-theme="dark"][data-page="article"][data-reading-mode="focus"] .page-shell {
  width: min(calc(100% - 20px), 880px);
}

body[data-theme="dark"][data-page="article"][data-reading-mode="focus"] .page-hero.article-hero {
  background: linear-gradient(180deg, rgba(15, 21, 29, 0.99), rgba(14, 19, 27, 0.96));
}

body[data-theme="dark"][data-page="article"][data-reading-mode="focus"] .section.article-layout {
  background: linear-gradient(180deg, rgba(13, 18, 26, 0.96), rgba(12, 17, 24, 0.94));
  border-color: rgba(196, 214, 233, 0.06);
}

body[data-theme="dark"][data-page="article"][data-reading-mode="focus"] .article-header-minimal,
body[data-theme="dark"][data-page="article"][data-reading-mode="focus"] .article-body {
  max-width: 760px;
}

body[data-theme="dark"][data-page="article"][data-reading-mode="focus"] .article-body {
  font-size: 1.14rem;
  color: #edf5fb;
}

body[data-theme="dark"][data-page="article"][data-reading-mode="focus"] .article-body p {
  color: #cbd7e3;
  max-width: 43em;
  line-height: 2.04;
}

body[data-theme="dark"][data-page="article"][data-reading-mode="focus"] .article-body > p:first-child {
  color: #e4edf5;
  font-size: 1.22rem;
  line-height: 2.06;
}

body[data-theme="dark"][data-page="article"][data-reading-mode="focus"] .article-body h2 {
  color: #f7fbff;
  margin-top: 46px;
}

body[data-theme="dark"][data-page="article"][data-reading-mode="focus"] .article-body blockquote {
  max-width: 41em;
  background: linear-gradient(180deg, rgba(30, 39, 51, 0.94), rgba(23, 31, 42, 0.92));
  color: #f2f7fb;
}

body[data-theme="dark"][data-page="article"][data-reading-mode="focus"] .article-meta-row,
body[data-theme="dark"][data-page="article"][data-reading-mode="focus"] .article-backlink,
body[data-theme="dark"][data-page="article"][data-reading-mode="focus"] .form-message {
  color: #9aaaba;
}

@media (max-width: 980px) {
  .site-shell-inner {
    width: min(calc(100% - 24px), 1024px);
  }

  .hero-grid,
  .elon-hero-grid,
  .editorial-layout,
  .atlas-grid,
  .highlight-grid,
  .post-grid,
  .about-grid,
  .about-grid-home,
  .room-grid,
  .shelf-grid,
  .subscribe-shell,
  .article-cta,
  .article-layout,
  .two-column-grid,
  .archive-grid,
  .pricing-grid,
  .services-grid,
  .form-grid,
  .article-pagination-grid,
  .path-grid,
  .proof-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .article-pagination-card.is-next {
    text-align: left;
  }

  .section-heading.split,
  .search-row,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    max-width: 100%;
  }

  .hero-copy::after {
    display: none;
  }

  .sticky-card {
    position: static;
  }

  .toc-card {
    margin-top: 0;
  }

  .article-body {
    max-width: 100%;
  }

  .article-header-minimal {
    max-width: 100%;
  }

  body[data-page="article"] .section.article-layout {
    padding: 22px 20px;
  }

  body[data-page="article"] .article-sidebar {
    padding: 0;
    border-right: 0;
    background: transparent;
    margin-bottom: 18px;
  }

  body[data-page="article"] .article-body {
    padding: 6px 0 0;
  }
}

@media (max-width: 720px) {
  .site-shell-inner {
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }

  .site-shell-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .site-shell-nav a {
    padding: 8px 14px;
  }

  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    margin-top: 10px;
  }

  body[data-page="article"] .page-shell {
    width: min(calc(100% - 20px), 1024px);
  }

  .hero,
  .page-hero,
  .section {
    padding: 22px 18px;
    border-radius: 26px;
  }

  .nav {
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 12px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
    min-height: 40px;
    padding: 0 12px;
  }

  .theme-toggle {
    margin-left: auto;
    order: 2;
    min-height: 40px;
    padding: 0 12px;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    order: 4;
  }

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

  .hero-actions,
  .hero-stats,
  .filters,
  .mini-grid,
  .footer-links {
    width: 100%;
  }

  .hero-grid {
    margin-top: 26px;
  }

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

  .elon-manifesto,
  .elon-hero-stats {
    border-radius: 22px;
  }

  .elon-manifesto,
  .elon-read-section .path-card,
  .elon-notes-section .proof-card,
  .elon-library-section .post-card {
    padding: 22px 20px;
  }

  .elon-hero-stats {
    grid-template-columns: 1fr;
  }

  .elon-hero-stats div:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .editorial-copy,
  .issue-card,
  .issue-quote,
  .atlas-card,
  .reading-room-feature,
  .shelf-card {
    padding: 22px 20px;
  }

  .hero-stats li {
    min-width: calc(50% - 6px);
  }

  .hero-kicker-row {
    gap: 8px;
    margin-bottom: 14px;
  }

  .hero-kicker {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .hero-text,
  .hero-note {
    font-size: 1rem;
  }

  .featured-story {
    padding: 22px 20px;
  }

  .editorial-copy h2,
  .reading-room-feature h3 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .issue-quote p {
    font-size: 1.14rem;
  }

  body[data-page="home"] .hero::after {
    right: -40px;
    top: 120px;
    width: 220px;
    height: 220px;
  }

  .page-shell.is-scrolled .nav {
    top: 10px;
    padding: 8px 10px;
    border-radius: 16px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }

  .toc-card .toc-nav {
    display: none;
  }

  .toc-card.is-open .toc-nav {
    display: grid;
  }
}
