:root {
  --bg: #0b0d0f;
  --bg-soft: #101418;
  --surface: #14191d;
  --surface-2: #1a2025;
  --surface-3: #20272d;
  --paper: #f2ecdf;
  --ink: #f8f2e8;
  --ink-dark: #171b1e;
  --muted: #aaa69f;
  --muted-dark: #5c625f;
  --line: rgba(255, 255, 255, 0.11);
  --line-dark: rgba(18, 22, 24, 0.14);
  --accent: #ff9d3f;
  --accent-deep: #ed6a19;
  --accent-soft: rgba(255, 157, 63, 0.12);
  --lime: #c5e86c;
  --lime-soft: rgba(197, 232, 108, 0.12);
  --success: #8fd0a4;
  --danger: #f07f78;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.18);
  --radius: 20px;
  --radius-sm: 12px;
  --content: 1180px;
  --reading: 760px;
  --font-sans: "Bahnschrift", "Aptos", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Source Han Serif SC", "Songti SC", "STSong", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 5%, rgba(255, 122, 26, 0.12), transparent 31rem),
    radial-gradient(circle at 18% 24%, rgba(197, 232, 108, 0.055), transparent 24rem),
    var(--bg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

::selection {
  color: #111416;
  background: var(--accent);
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 9px;
  color: #15181a;
  background: var(--lime);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  content: "";
  background: currentColor;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: inherit;
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 3rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

p {
  margin-top: 0;
}

.text-muted {
  color: var(--muted);
}

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

.lime {
  color: var(--lime);
}

.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;
}

.topline {
  position: relative;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: #090b0d;
}

.topline-inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.topline a {
  color: var(--paper);
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  z-index: 70;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 15, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 157, 63, 0.55);
  border-radius: 12px;
  color: #15181a;
  background:
    linear-gradient(135deg, var(--accent), #ffc66f);
  box-shadow: 0 6px 24px rgba(255, 122, 26, 0.2);
  font-family: "Bahnschrift", sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 20px;
}

#site-nav {
  display: flex;
  align-items: center;
}

#site-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-sub-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-sub-toggle:hover,
.nav-sub-toggle[aria-expanded="true"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.065);
}

.nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform 160ms ease;
}

.nav-sub-toggle[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

#site-nav .nav-sub {
  position: absolute;
  z-index: 90;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  width: min(610px, calc(100vw - 32px));
  padding: 12px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17, 21, 24, 0.98);
  box-shadow: var(--shadow);
  list-style: none;
}

#site-nav .nav-sub.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

#site-nav .nav-sub a {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: background 160ms ease;
}

#site-nav .nav-sub a:hover {
  background: rgba(255, 157, 63, 0.1);
}

.nav-sub-label {
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-sub-count {
  color: var(--muted);
  font-size: 0.72rem;
}

.nav-all {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  margin-top: 6px;
  color: var(--accent) !important;
  font-size: 0.82rem;
  font-weight: 800;
}

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

.search-link {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
}

.search-link:hover {
  color: var(--ink);
  border-color: rgba(255, 157, 63, 0.5);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

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

.button-primary {
  color: #17110b !important;
  background: linear-gradient(135deg, #ffd181, var(--accent) 60%, var(--accent-deep));
  box-shadow: 0 10px 36px rgba(237, 106, 25, 0.22);
}

.button-secondary {
  color: var(--ink) !important;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.055);
}

.button-secondary:hover {
  border-color: rgba(255, 157, 63, 0.55);
  background: rgba(255, 157, 63, 0.08);
}

.button-ghost {
  min-height: 40px;
  color: var(--muted) !important;
  border-color: var(--line);
  background: transparent;
}

.button-ghost:hover {
  color: var(--ink) !important;
  border-color: rgba(255, 157, 63, 0.45);
}

.button-light {
  color: #121518 !important;
  background: var(--paper);
}

.button svg {
  width: 16px;
  height: 16px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 9vw, 122px) 0 clamp(70px, 9vw, 112px);
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: -14rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(255, 157, 63, 0.13);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 70px rgba(255, 157, 63, 0.025),
    0 0 0 140px rgba(255, 157, 63, 0.018);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  margin-bottom: 24px;
  border: 1px solid rgba(197, 232, 108, 0.25);
  border-radius: 999px;
  color: var(--lime);
  background: var(--lime-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.hero-badge::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(197, 232, 108, 0.12);
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--accent);
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: #cfc9bf;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

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

.hero-note span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--accent);
}

.growth-visual {
  position: relative;
  min-height: 465px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    #101418;
  box-shadow: var(--shadow);
}

.growth-visual::before {
  position: absolute;
  top: -110px;
  right: -100px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(255, 157, 63, 0.18), transparent 70%);
}

.visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.visual-head strong {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 800;
}

.visual-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: currentColor;
}

.method-orbit {
  position: relative;
  display: grid;
  gap: 11px;
  margin-top: 24px;
}

.method-orbit::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 23px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--accent), rgba(255, 157, 63, 0.08));
}

.orbit-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 13px 15px 13px 10px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.orbit-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-left: 9px;
  border: 1px solid rgba(255, 157, 63, 0.42);
  border-radius: 50%;
  color: var(--accent);
  background: #151a1e;
  font-size: 0.7rem;
  font-weight: 900;
}

.orbit-step strong {
  display: block;
  font-size: 0.98rem;
}

.orbit-step small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.orbit-arrow {
  color: var(--accent);
  font-size: 1.1rem;
}

.visual-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.74rem;
}

.visual-foot strong {
  color: var(--paper);
}

.stat-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

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

.stat {
  padding: 25px 28px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--paper);
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.stat span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

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

.section-paper {
  color: var(--ink-dark);
  background:
    radial-gradient(circle at 92% 16%, rgba(237, 106, 25, 0.08), transparent 26rem),
    var(--paper);
}

.section-paper .text-muted,
.section-paper .section-kicker {
  color: #675f55;
}

.section-paper .section-kicker {
  color: var(--accent-deep);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 36px;
}

.section-head > div {
  max-width: 760px;
}

.section-head h2 {
  margin-bottom: 12px;
  text-wrap: balance;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-paper .section-head p {
  color: #675f55;
}

.section-link {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.section-link:hover {
  text-decoration: underline;
}

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

.problem-card {
  position: relative;
  min-height: 205px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.028);
}

.problem-card::after {
  position: absolute;
  right: -22px;
  bottom: -42px;
  color: rgba(255, 255, 255, 0.035);
  content: attr(data-number);
  font-family: "Bahnschrift", sans-serif;
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
}

.problem-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 157, 63, 0.35);
  border-radius: 10px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
}

.problem-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.problem-card p {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

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

.method-card {
  padding: 24px 20px 22px;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.38);
}

.method-card:nth-child(3) {
  color: var(--paper);
  background: #15191c;
}

.method-card:nth-child(3) p {
  color: #b8b2a9;
}

.method-card .method-number {
  display: block;
  margin-bottom: 30px;
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.method-card:nth-child(3) .method-number {
  color: var(--accent);
}

.method-card h3 {
  margin-bottom: 9px;
}

.method-card p {
  margin-bottom: 0;
  color: #635d54;
  font-size: 0.85rem;
  line-height: 1.7;
}

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

.article-card {
  position: relative;
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.026);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.article-card:hover {
  border-color: rgba(255, 157, 63, 0.42);
  background: rgba(255, 157, 63, 0.045);
  transform: translateY(-4px);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 750;
}

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

.article-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.45;
  text-wrap: balance;
}

.article-card p {
  display: -webkit-box;
  margin-bottom: 20px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 15px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.article-arrow {
  color: var(--accent);
  font-size: 1.05rem;
  transition: transform 160ms ease;
}

.article-card:hover .article-arrow {
  transform: translateX(4px);
}

.content-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.027);
}

.content-card h3 {
  margin-bottom: 12px;
}

.content-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.category-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.category-card:hover {
  border-color: rgba(255, 157, 63, 0.42);
  transform: translateY(-3px);
}

.category-name {
  margin-bottom: 11px;
  font-size: 1.1rem;
  font-weight: 850;
}

.category-description {
  color: var(--muted);
  font-size: 0.82rem;
}

.category-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  margin-top: auto;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
}

.feature-case {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  background: #171b1e;
  box-shadow: var(--shadow-soft);
}

.feature-case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 54px);
  color: var(--paper);
}

.feature-case-copy h2 {
  margin-bottom: 15px;
}

.feature-case-copy p {
  color: #b9b2a7;
}

.case-metrics {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.09);
}

.case-metric {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 18px;
  padding: 28px;
  background: #111518;
}

.case-metric strong {
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.case-metric span {
  color: #c6bfb4;
  font-size: 0.88rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 78px);
  border: 1px solid rgba(255, 157, 63, 0.23);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 157, 63, 0.22), transparent 26rem),
    #14191d;
}

.cta-band::after {
  position: absolute;
  right: 8%;
  bottom: -95px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 157, 63, 0.2);
  border-radius: 50%;
  content: "";
}

.cta-band h2 {
  max-width: 17ch;
  margin-bottom: 15px;
}

.cta-band p {
  max-width: 640px;
  color: var(--muted);
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.page-hero {
  position: relative;
  padding: clamp(66px, 9vw, 112px) 0 clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  right: 5%;
  bottom: 10%;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(255, 157, 63, 0.13);
  border-radius: 50%;
  content: "";
}

.page-hero h1 {
  max-width: 14ch;
  margin-bottom: 20px;
  text-wrap: balance;
}

.page-hero .lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: end;
  gap: 38px;
}

.page-hero-stat {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.page-hero-stat strong {
  display: block;
  color: var(--accent);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.page-hero-stat span {
  color: var(--muted);
  font-size: 0.78rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 17px 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

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

.breadcrumb-separator {
  opacity: 0.45;
}

.article-header {
  padding: 24px 0 42px;
}

.article-header h1 {
  max-width: 18ch;
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  text-wrap: balance;
}

.article-deck {
  max-width: 820px;
  margin-bottom: 26px;
  color: #c9c2b7;
  font-size: clamp(1rem, 2vw, 1.14rem);
}

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

.byline-author {
  color: var(--ink);
  font-weight: 750;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.68rem;
  font-weight: 750;
}

.status-badge.original {
  color: var(--lime);
  border-color: rgba(197, 232, 108, 0.26);
  background: var(--lime-soft);
}

.status-badge.repost {
  color: #ffd28e;
  border-color: rgba(255, 157, 63, 0.26);
  background: var(--accent-soft);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 52px;
  padding-bottom: 90px;
}

.article-body {
  min-width: 0;
}

.article-note {
  padding: 16px 18px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 157, 63, 0.2);
  border-radius: 13px;
  color: #cec5b8;
  background: rgba(255, 157, 63, 0.055);
  font-size: 0.82rem;
}

.prose {
  color: #d7d1c7;
  font-size: clamp(1rem, 1.5vw, 1.075rem);
  line-height: 1.95;
}

.prose > :first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1.15em;
}

.prose h2 {
  padding-top: 0.5em;
  margin: 1.65em 0 0.75em;
  color: var(--paper);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.35;
  scroll-margin-top: 100px;
}

.prose h3 {
  margin: 1.4em 0 0.6em;
  color: var(--paper);
  font-size: 1.22rem;
  scroll-margin-top: 100px;
}

.prose a {
  color: var(--accent);
  overflow-wrap: anywhere;
}

.prose strong {
  color: var(--paper);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  margin: 0 0 1.3em;
}

.prose li {
  margin-bottom: 0.48em;
}

.prose blockquote {
  padding: 18px 20px;
  margin: 1.4em 0;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  color: #d8d0c5;
  background: rgba(255, 255, 255, 0.035);
}

.prose hr {
  height: 1px;
  margin: 2.2em 0;
  border: 0;
  background: var(--line);
}

.table-wrap {
  max-width: 100%;
  margin: 1.5em 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.prose table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.86rem;
  line-height: 1.65;
}

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

.prose th:last-child,
.prose td:last-child {
  border-right: 0;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.prose th {
  color: var(--paper);
  background: rgba(255, 157, 63, 0.08);
}

.article-sidebar {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 14px;
}

.sidebar-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.sidebar-label {
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sidebar-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.92rem;
}

.sidebar-card p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

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

.toc a {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
  text-decoration: none;
}

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

.reading-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--lime));
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 36px;
  margin-top: 46px;
  border-top: 1px solid var(--line);
}

.article-nav a {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  text-decoration: none;
}

.article-nav a:hover {
  color: var(--ink);
  border-color: rgba(255, 157, 63, 0.42);
}

.article-nav span {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-nav strong {
  display: block;
  color: var(--ink);
  font-size: 0.87rem;
  line-height: 1.5;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.024);
}

.section-paper .faq-item {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.35);
}

.faq-item summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.section-paper .faq-item summary {
  color: var(--ink-dark);
}

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

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(255, 157, 63, 0.28);
  border-radius: 50%;
  color: var(--accent);
  content: "+";
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 19px;
  color: var(--muted);
  font-size: 0.89rem;
}

.section-paper .faq-answer {
  color: #635d54;
}

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

.service-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.028);
}

.service-card:nth-child(2) {
  color: var(--ink-dark);
  background: var(--paper);
}

.service-card:nth-child(2) p,
.service-card:nth-child(2) li {
  color: #645e55;
}

.service-card .eyebrow {
  color: var(--accent);
}

.service-card:nth-child(2) .eyebrow {
  color: var(--accent-deep);
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.42rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.89rem;
}

.service-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 22px 0 26px;
  list-style: none;
}

.service-list li {
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: 0.82rem;
}

.service-list li::before {
  flex: 0 0 auto;
  color: var(--accent);
  content: "↗";
}

.service-card .button {
  width: max-content;
  margin-top: auto;
}

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

.resource-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.028);
}

.resource-tag {
  width: max-content;
  padding: 5px 9px;
  margin-bottom: 38px;
  border: 1px solid rgba(197, 232, 108, 0.2);
  border-radius: 999px;
  color: var(--lime);
  background: var(--lime-soft);
  font-size: 0.69rem;
  font-weight: 800;
}

.resource-card h3 {
  margin-bottom: 10px;
}

.resource-card p {
  color: var(--muted);
  font-size: 0.87rem;
}

.resource-card .button {
  width: max-content;
  margin-top: auto;
}

.course-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  counter-reset: course;
}

.course-module {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.026);
}

.course-module-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 157, 63, 0.28);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
}

.course-module h3 {
  margin-bottom: 7px;
}

.course-module p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
}

.contact-panel {
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.028);
}

.contact-panel h2 {
  margin-bottom: 13px;
}

.contact-panel p {
  color: var(--muted);
}

.wechat-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  margin: 24px 0;
  border: 1px solid rgba(255, 157, 63, 0.26);
  border-radius: 15px;
  background: var(--accent-soft);
}

.wechat-id {
  display: block;
  color: var(--paper);
  font-family: "Bahnschrift", "Consolas", monospace;
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 850;
  letter-spacing: 0.02em;
}

.wechat-note {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.copy-button {
  flex: 0 0 auto;
  min-height: 42px;
}

.qr-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f7f3eb;
  color: var(--ink-dark);
}

.qr-card img {
  width: 170px;
  height: 170px;
  padding: 8px;
  border-radius: 13px;
  background: #fff;
  object-fit: contain;
}

.qr-card h3 {
  margin-bottom: 8px;
}

.qr-card p {
  margin-bottom: 0;
  color: #615b52;
  font-size: 0.84rem;
}

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

.qr-grid .qr-card {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.qr-grid .qr-card img {
  width: min(100%, 210px);
  height: auto;
  aspect-ratio: 1;
}

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

.contact-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-list strong {
  color: var(--ink);
}

.note-panel {
  padding: 19px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.84rem;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.62fr);
  align-items: center;
  gap: 50px;
}

.about-portrait {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 157, 63, 0.22), transparent 13rem),
    linear-gradient(145deg, #1a2025, #0f1316);
  box-shadow: var(--shadow);
}

.about-portrait::before,
.about-portrait::after {
  position: absolute;
  border: 1px solid rgba(255, 157, 63, 0.17);
  border-radius: 50%;
  content: "";
}

.about-portrait::before {
  top: 30px;
  right: -45px;
  width: 210px;
  height: 210px;
}

.about-portrait::after {
  bottom: -90px;
  left: -70px;
  width: 250px;
  height: 250px;
}

.portrait-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 170px;
  height: 170px;
  place-items: center;
  border: 1px solid rgba(255, 157, 63, 0.34);
  border-radius: 42px;
  color: #1a140d;
  background: linear-gradient(135deg, #ffd384, var(--accent) 65%, #e06010);
  box-shadow: 0 28px 70px rgba(237, 106, 25, 0.22);
  font-family: "Bahnschrift", sans-serif;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  transform: translate(-50%, -50%) rotate(-4deg);
}

.portrait-caption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.portrait-caption strong {
  display: block;
}

.portrait-caption span {
  color: var(--muted);
  font-size: 0.75rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 104px;
  width: 1px;
  content: "";
  background: var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 40px;
  padding: 25px 0;
}

.timeline-item::before {
  position: absolute;
  top: 34px;
  left: 99px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  content: "";
  background: var(--bg);
}

.timeline-date {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 850;
}

.timeline-content {
  padding-left: 24px;
}

.timeline-content h3 {
  margin-bottom: 8px;
}

.timeline-content p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.89rem;
}

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

.fact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.fact-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.fact-card span {
  color: var(--muted);
  font-size: 0.78rem;
}

.topic-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-chip {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.76rem;
}

.archive-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 12px;
  padding: 20px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.025);
}

.filter-field {
  position: relative;
}

.filter-field svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 17px;
  height: 17px;
  color: var(--muted);
  transform: translateY(-50%);
}

.filter-input,
.filter-select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #101417;
}

.filter-input {
  padding: 0 16px 0 44px;
}

.filter-select {
  padding: 0 13px;
}

.filter-input::placeholder {
  color: #777b7a;
}

.archive-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.8rem;
}

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

.archive-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 140px;
  align-items: center;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.archive-row:hover {
  border-color: rgba(255, 157, 63, 0.42);
  background: rgba(255, 157, 63, 0.04);
}

.archive-date {
  color: var(--muted);
  font-family: "Bahnschrift", "Consolas", monospace;
  font-size: 0.76rem;
}

.archive-title {
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.5;
}

.archive-category {
  color: var(--accent);
  font-size: 0.76rem;
  text-align: right;
}

.archive-empty {
  padding: 48px;
  border: 1px dashed var(--line);
  border-radius: 15px;
  color: var(--muted);
  text-align: center;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 30px;
}

.page-button {
  display: grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.page-button:hover,
.page-button[aria-current="page"] {
  color: var(--ink-dark);
  border-color: var(--accent);
  background: var(--accent);
}

.search-shell {
  max-width: 900px;
  margin: 0 auto;
}

.search-hero-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.search-hero-input {
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  color: var(--ink);
  background: transparent;
  outline: 0;
}

.search-status {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.82rem;
}

.search-results {
  display: grid;
  gap: 10px;
}

.search-result {
  display: grid;
  gap: 7px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.024);
  text-decoration: none;
}

.search-result:hover {
  border-color: rgba(255, 157, 63, 0.42);
}

.search-result-meta {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.search-result h3 {
  margin-bottom: 0;
  font-size: 1rem;
}

.search-result p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-content {
  max-width: 800px;
  padding-bottom: 80px;
}

.legal-content h2 {
  margin: 2.2em 0 0.7em;
  font-size: 1.55rem;
}

.legal-content p,
.legal-content li {
  color: #c9c3b9;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.site-footer {
  padding: 62px 0 28px;
  border-top: 1px solid var(--line);
  background: #080a0c;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand p {
  max-width: 360px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-title {
  margin: 0 0 16px;
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  width: max-content;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.022);
}

.footer-contact strong {
  display: block;
  margin-bottom: 4px;
  color: var(--paper);
  font-family: "Bahnschrift", "Consolas", monospace;
  font-size: 1.05rem;
}

.footer-contact span {
  color: var(--muted);
  font-size: 0.75rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  color: #777b7a;
  font-size: 0.74rem;
}

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

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

.footer-legal a:hover {
  color: var(--accent);
}

.consent-banner {
  position: fixed;
  z-index: 120;
  right: 18px;
  bottom: 18px;
  display: none;
  width: min(440px, calc(100vw - 36px));
  padding: 19px;
  border: 1px solid rgba(255, 157, 63, 0.28);
  border-radius: 16px;
  background: rgba(15, 19, 22, 0.98);
  box-shadow: var(--shadow);
}

.consent-banner.is-visible {
  display: block;
}

.consent-banner p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.78rem;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.consent-actions button {
  min-height: 38px;
  padding-inline: 13px;
}

.toast {
  position: fixed;
  z-index: 150;
  right: 18px;
  bottom: 18px;
  max-width: calc(100vw - 36px);
  padding: 12px 16px;
  border: 1px solid rgba(197, 232, 108, 0.35);
  border-radius: 11px;
  color: #121615;
  background: var(--lime);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.not-found-code {
  margin-bottom: 10px;
  color: var(--accent);
  font-family: "Bahnschrift", sans-serif;
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.not-found h1 {
  margin-bottom: 15px;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.not-found p {
  max-width: 580px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.callout {
  padding: 20px 22px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  color: #cec7bc;
  background: rgba(255, 157, 63, 0.06);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 42px;
}

.split-copy h2 {
  margin-bottom: 16px;
}

.split-copy p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: #d0c9bf;
  font-size: 0.9rem;
}

.check-list li::before {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  border: 1px solid rgba(197, 232, 108, 0.35);
  border-radius: 50%;
  color: var(--lime);
  content: "✓";
  font-size: 0.68rem;
  line-height: 17px;
  text-align: center;
}

.signal-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}

.signal-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 21px;
  background: #12171a;
}

.signal-row strong {
  color: var(--accent);
  font-family: "Bahnschrift", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
}

.signal-row span {
  color: var(--muted);
  font-size: 0.83rem;
}

.article-card.compact {
  min-height: 210px;
}

.category-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.category-pill {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.74rem;
}

.category-intro {
  max-width: 880px;
  padding: 26px;
  margin: 0 0 30px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.025);
  color: #cfc8bd;
}

.category-intro p:last-child {
  margin-bottom: 0;
}

.empty-state {
  padding: 54px 20px;
  color: var(--muted);
  text-align: center;
}

.visually-hidden-page {
  display: none !important;
}

@media (max-width: 1100px) {
  .nav-link,
  .nav-sub-toggle {
    padding-inline: 9px;
    font-size: 0.84rem;
  }

  .brand-sub {
    display: none;
  }

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

  .method-card:nth-child(3) {
    color: inherit;
    background: rgba(255, 255, 255, 0.38);
  }

  .method-card:nth-child(3) p {
    color: #635d54;
  }

  .method-card:nth-child(3) .method-number {
    color: var(--accent-deep);
  }
}

@media (max-width: 920px) {
  .topline {
    display: none;
  }

  .site-header {
    top: 0;
    background: #0b0d0f;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .navbar {
    min-height: 68px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-actions .button {
    display: none;
  }

  .nav-shell {
    position: fixed;
    z-index: 75;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow-y: auto;
    padding: 22px;
    border-top: 1px solid var(--line);
    background: #090b0d;
  }

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

  #site-nav {
    display: block;
  }

  #site-nav > ul {
    display: grid;
    gap: 5px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link,
  .nav-sub-toggle {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 1rem;
  }

  #site-nav .nav-sub {
    position: static;
    width: 100%;
    padding: 7px;
    margin-top: 4px;
    border-radius: 12px;
    box-shadow: none;
  }

  #site-nav .nav-sub.is-open {
    grid-template-columns: 1fr;
  }

  .nav-actions {
    justify-content: space-between;
    padding: 18px 5px 0;
  }

  .nav-actions .button {
    display: inline-flex;
  }

  .hero-grid,
  .about-hero,
  .split-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .growth-visual {
    min-height: auto;
  }

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

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

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

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

  .sidebar-card:last-child:nth-child(odd) {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .footer-contact-wrap {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .container,
  .reading-container {
    width: min(calc(100% - 28px), var(--content));
  }

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

  .brand-name {
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

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

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(n + 3) {
    border-bottom: 0;
  }

  .section-head {
    display: block;
  }

  .section-link {
    display: inline-block;
    margin-top: 16px;
  }

  .problem-grid,
  .article-grid,
  .category-grid,
  .service-grid,
  .resource-grid,
  .course-track,
  .fact-grid,
  .qr-grid {
    grid-template-columns: 1fr;
  }

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

  .method-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 4px 12px;
  }

  .method-card .method-number {
    grid-row: 1 / 3;
    margin: 0;
  }

  .method-card p {
    grid-column: 2;
  }

  .problem-card {
    min-height: 185px;
  }

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

  .page-hero-stat {
    width: max-content;
  }

  .article-header h1 {
    max-width: none;
  }

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

  .sidebar-card:last-child:nth-child(odd) {
    display: block;
  }

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

  .archive-toolbar {
    grid-template-columns: 1fr;
  }

  .archive-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .archive-category {
    text-align: left;
  }

  .qr-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .qr-card img {
    width: min(100%, 210px);
    height: auto;
  }

  .wechat-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .copy-button {
    width: 100%;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 5px;
    padding-left: 30px;
  }

  .timeline-item::before {
    top: 34px;
    left: 3px;
  }

  .timeline-content {
    padding-left: 0;
  }

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

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

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

  .search-hero-form {
    grid-template-columns: 1fr;
  }

  .search-hero-form .button {
    width: 100%;
  }

  .consent-banner {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }

  .growth-visual {
    padding: 18px;
    border-radius: 20px;
  }

  .orbit-step {
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
  }
}

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

@media print {
  .site-header,
  .site-footer,
  .article-sidebar,
  .article-nav,
  .consent-banner,
  .reading-progress,
  .article-cta {
    display: none !important;
  }

  body {
    color: #111;
    background: #fff;
  }

  .prose,
  .prose p {
    color: #111;
  }

  a {
    color: #111;
    text-decoration: underline;
  }
}
