:root {
  --ink: #797d74;
  --ink-strong: #343a33;
  --ink-soft: #62675f;
  --moss: #bfd293;
  --moss-deep: #73894f;
  --cream: #f6f5e8;
  --paper: #fffef7;
  --sand: #deddc7;
  --sand-deep: #c8c6aa;
  --line: rgba(52, 58, 51, 0.16);
  --line-strong: rgba(52, 58, 51, 0.28);
  --white: #fffef8;
  --shadow: 0 24px 70px rgba(70, 76, 66, 0.12);
  --shadow-soft: 0 14px 38px rgba(70, 76, 66, 0.08);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1180px;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink-strong);
  background:
    radial-gradient(circle at 6% 7%, rgba(191, 210, 147, 0.22), transparent 24rem),
    var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(121, 125, 116, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 125, 116, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
}

::selection {
  color: var(--ink-strong);
  background: var(--moss);
}

a {
  color: inherit;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--cream);
  background: var(--ink-strong);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

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

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid transparent;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(246, 245, 232, 0.92);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

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

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--cream);
  background: var(--ink-strong);
  border-radius: 50%;
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink-strong);
  background: rgba(222, 221, 199, 0.65);
}

.site-nav a[aria-current="page"] {
  color: var(--cream);
  background: var(--ink-strong);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink-strong);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 4px auto;
  content: "";
  background: currentColor;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.menu-open .nav-toggle::before {
  transform: translateY(5.5px) rotate(45deg);
}

.menu-open .nav-toggle span {
  opacity: 0;
}

.menu-open .nav-toggle::after {
  transform: translateY(-5.5px) rotate(-45deg);
}

.hero {
  padding: 52px 0 88px;
}

.home-hero {
  display: grid;
  min-height: 645px;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 55px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: var(--moss-deep);
}

.hero h1,
.page-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(54px, 7vw, 98px);
  line-height: 0.98;
}

.hero h1 .stroke {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--ink-strong);
}

.hero h1 .stroke::after {
  position: absolute;
  z-index: -1;
  bottom: 0.04em;
  left: -0.04em;
  width: 2.35em;
  max-width: 108%;
  height: 0.28em;
  content: "";
  background: var(--moss);
  border-radius: 100%;
  transform: rotate(-2deg);
}

.hero-copy {
  max-width: 655px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 10px 21px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--cream);
  background: var(--ink-strong);
  border: 1px solid var(--ink-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(52, 58, 51, 0.16);
}

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

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

.button.secondary:hover {
  background: var(--paper);
}

.hero-proof {
  display: flex;
  margin-top: 42px;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.hero-proof span::before {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--moss-deep);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(191, 210, 147, 0.32);
}

.route-visual {
  position: relative;
  overflow: hidden;
  min-height: 545px;
  padding: 25px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.route-visual::before {
  position: absolute;
  z-index: -1;
  top: -110px;
  right: -90px;
  width: 340px;
  height: 340px;
  content: "";
  background: var(--moss);
  border-radius: 50%;
  opacity: 0.95;
}

.route-visual::after {
  position: absolute;
  z-index: -1;
  right: 34px;
  bottom: -105px;
  width: 260px;
  height: 260px;
  content: "";
  border: 1px solid rgba(246, 245, 232, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(246, 245, 232, 0.05),
    0 0 0 68px rgba(246, 245, 232, 0.035);
}

.route-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cream);
}

.route-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.route-kicker::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--moss);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(191, 210, 147, 0.18);
  animation: pulse 2.2s ease-in-out infinite;
}

.route-index {
  color: rgba(246, 245, 232, 0.62);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.route-map {
  width: 100%;
  margin-top: 24px;
}

.route-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-line.slow {
  stroke: rgba(246, 245, 232, 0.28);
  stroke-dasharray: 5 10;
  stroke-width: 2;
}

.route-line.fast {
  stroke: var(--moss);
  stroke-width: 4;
  stroke-dasharray: 12 10;
  animation: route-flow 9s linear infinite;
}

.route-node {
  fill: var(--cream);
  stroke: var(--ink);
  stroke-width: 5;
}

.route-node.accent {
  fill: var(--moss);
}

.route-label {
  fill: var(--cream);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.route-card-foot {
  display: grid;
  padding: 16px 18px;
  color: var(--ink-strong);
  background: var(--cream);
  border-radius: 18px;
  grid-template-columns: 1fr auto;
  gap: 14px;
}

.route-card-foot strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
}

.route-card-foot span {
  color: var(--ink-soft);
  font-size: 11px;
}

.route-card-foot .route-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--cream);
  background: var(--ink-strong);
  border-radius: 50%;
  font-size: 20px;
}

.section {
  padding: 98px 0;
}

.section.compact {
  padding: 72px 0;
}

.section.sand {
  background: var(--sand);
}

.section.moss {
  background: var(--moss);
}

.section.ink {
  color: var(--cream);
  background: var(--ink-strong);
}

.section.white {
  background: var(--paper);
}

.section-head {
  display: grid;
  margin-bottom: 44px;
  align-items: end;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 60px;
}

.section-head h2 {
  max-width: 750px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
  text-wrap: balance;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.section.ink .section-head p,
.section.ink .eyebrow {
  color: rgba(246, 245, 232, 0.68);
}

.section.ink .eyebrow::before {
  background: var(--moss);
}

.section-head.center {
  display: block;
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.section-head.center p {
  margin: 20px auto 0;
}

.section-head.center .eyebrow {
  justify-content: center;
}

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

.insight-card {
  min-height: 280px;
  padding: 25px;
  background: rgba(255, 254, 247, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.insight-card:nth-child(2) {
  margin-top: 24px;
}

.insight-card:nth-child(4) {
  margin-top: 24px;
}

.card-number {
  color: var(--moss-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.insight-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 38px 0 22px;
  place-items: center;
  background: var(--sand);
  border-radius: 15px;
}

.insight-icon svg {
  width: 24px;
  height: 24px;
}

.insight-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.25;
}

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

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

.process-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 30px;
  background: var(--cream);
  border-radius: var(--radius-md);
}

.process-card:nth-child(2) {
  background: var(--moss);
}

.process-card:nth-child(3) {
  background: var(--paper);
  border: 1px solid var(--line);
}

.process-card .process-no {
  position: absolute;
  top: -20px;
  right: 12px;
  color: rgba(52, 58, 51, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 112px;
  line-height: 1;
}

.process-card h3 {
  position: relative;
  max-width: 270px;
  margin: 85px 0 16px;
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.25;
}

.process-card p {
  position: relative;
  max-width: 320px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.process-card .tag {
  position: relative;
  display: inline-flex;
  padding: 4px 10px;
  color: var(--ink-strong);
  background: rgba(255, 254, 247, 0.6);
  border: 1px solid rgba(52, 58, 51, 0.12);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.compare-panel {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(246, 245, 232, 0.17);
  border-radius: var(--radius-md);
}

.compare-panel.accent {
  color: var(--ink-strong);
  background: var(--moss);
  border-color: var(--moss);
}

.compare-panel .label {
  color: var(--moss);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.compare-panel.accent .label {
  color: var(--ink-soft);
}

.compare-panel h3 {
  margin: 24px 0 14px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.16;
}

.compare-panel p {
  max-width: 470px;
  margin: 0;
  color: rgba(246, 245, 232, 0.68);
  font-size: 14px;
}

.compare-panel.accent p {
  color: var(--ink-soft);
}

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

.compare-list li {
  display: flex;
  padding: 12px 0;
  align-items: flex-start;
  gap: 11px;
  border-top: 1px solid rgba(246, 245, 232, 0.14);
  font-size: 12px;
}

.compare-panel.accent .compare-list li {
  border-color: rgba(52, 58, 51, 0.13);
}

.compare-list li::before {
  width: 6px;
  height: 6px;
  margin-top: 8px;
  flex: 0 0 auto;
  content: "";
  background: var(--moss);
  border-radius: 50%;
}

.compare-panel.accent .compare-list li::before {
  background: var(--ink-strong);
}

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

.lesson-row {
  display: grid;
  padding: 25px 5px;
  align-items: center;
  color: inherit;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 25px;
  text-decoration: none;
  transition:
    padding 180ms ease,
    background-color 180ms ease;
}

.lesson-row:hover {
  padding-inline: 18px;
  background: rgba(255, 254, 247, 0.52);
}

.lesson-row .lesson-no {
  color: var(--moss-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.lesson-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 23px;
}

.lesson-row small {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 12px;
}

.lesson-row .round-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 17px;
}

.page-hero {
  padding: 74px 0 82px;
}

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

.page-title {
  max-width: 940px;
  font-size: clamp(48px, 7.2vw, 94px);
  line-height: 1.02;
}

.page-deck {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.page-aside {
  padding-left: 24px;
  border-left: 1px solid var(--line-strong);
}

.page-aside strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 18px;
}

.page-aside p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.chapter-marker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--moss-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.chapter-marker::after {
  width: 55px;
  height: 1px;
  content: "";
  background: currentColor;
}

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

.metric-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.metric-card.accent {
  background: var(--moss);
  border-color: var(--moss);
}

.metric-symbol {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  background: var(--sand);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 700;
}

.metric-card h3 {
  margin: 50px 0 8px;
  font-family: var(--serif);
  font-size: 22px;
}

.metric-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.metric-card .metric-note {
  display: block;
  margin-top: 18px;
  padding-top: 16px;
  color: var(--ink-strong);
  border-top: 1px solid rgba(52, 58, 51, 0.12);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.split-block {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(35px, 7vw, 100px);
}

.sticky-copy {
  position: sticky;
  top: 118px;
}

.sticky-copy h2 {
  margin: 14px 0 18px;
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.sticky-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.content-stack {
  display: grid;
  gap: 14px;
}

.text-card {
  padding: clamp(25px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.text-card.fill {
  background: var(--sand);
  border-color: var(--sand);
}

.text-card.moss {
  background: var(--moss);
  border-color: var(--moss);
}

.text-card.dark {
  color: var(--cream);
  background: var(--ink-strong);
  border-color: var(--ink-strong);
}

.text-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.7vw, 31px);
  line-height: 1.25;
}

.text-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.text-card.dark p {
  color: rgba(246, 245, 232, 0.7);
}

.text-card p + p {
  margin-top: 14px;
}

.inline-highlight {
  padding: 1px 5px;
  color: var(--ink-strong);
  background: var(--moss);
  border-radius: 4px;
  font-weight: 800;
}

.signal-row {
  display: grid;
  margin-top: 26px;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.signal-item {
  padding: 14px;
  background: rgba(246, 245, 232, 0.08);
  border-radius: var(--radius-sm);
}

.signal-item strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
}

.signal-item span {
  color: var(--ink-soft);
  font-size: 10px;
}

.dark .signal-item span,
.text-card.dark .signal-item span {
  color: rgba(246, 245, 232, 0.56);
}

.latency-ladder {
  display: grid;
  margin-top: 30px;
  gap: 11px;
}

.latency-step {
  display: grid;
  padding: 13px 15px;
  align-items: center;
  background: rgba(246, 245, 232, 0.7);
  border: 1px solid rgba(52, 58, 51, 0.08);
  border-radius: 12px;
  grid-template-columns: 92px 1fr auto;
  gap: 13px;
}

.latency-step strong {
  font-size: 12px;
}

.latency-step small {
  color: var(--ink-soft);
  font-size: 10px;
}

.latency-bar {
  height: 6px;
  overflow: hidden;
  background: var(--sand);
  border-radius: 999px;
}

.latency-bar span {
  display: block;
  width: var(--width);
  height: 100%;
  background: var(--moss-deep);
  border-radius: inherit;
}

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

.check-list li {
  position: relative;
  padding-left: 31px;
  color: var(--ink-soft);
  font-size: 13px;
}

.check-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--ink-strong);
  content: "✓";
  background: var(--moss);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  -webkit-overflow-scrolling: touch;
}

.signal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--paper);
}

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

.signal-table thead th {
  color: var(--ink-soft);
  background: var(--sand);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-table tbody th {
  width: 18%;
  font-family: var(--serif);
  font-size: 18px;
}

.signal-table tbody td {
  color: var(--ink-soft);
  font-size: 12px;
}

.signal-table tbody tr:last-child > * {
  border-bottom: 0;
}

.signal-table tbody tr:hover > * {
  background: rgba(191, 210, 147, 0.12);
}

.stacked-arch {
  display: grid;
  margin-top: 24px;
  gap: 8px;
}

.arch-layer {
  display: grid;
  min-height: 74px;
  padding: 14px 18px;
  align-items: center;
  background: rgba(246, 245, 232, 0.1);
  border: 1px solid rgba(246, 245, 232, 0.15);
  border-radius: 13px;
  grid-template-columns: 90px 1fr;
  gap: 15px;
}

.arch-layer strong {
  color: var(--moss);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 400;
}

.arch-layer span {
  color: rgba(246, 245, 232, 0.74);
  font-size: 11px;
}

.arch-layer:nth-child(2) {
  margin-inline: 18px;
}

.arch-layer:nth-child(3) {
  margin-inline: 36px;
}

.arch-layer:nth-child(4) {
  margin-inline: 54px;
}

.cache-flow {
  display: grid;
  margin-top: 28px;
  align-items: center;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  gap: 7px;
}

.cache-node {
  padding: 22px 14px;
  text-align: center;
  background: rgba(246, 245, 232, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.cache-node strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
}

.cache-node small {
  color: var(--ink-soft);
  font-size: 9px;
}

.cache-arrow {
  position: relative;
  height: 1px;
  background: var(--moss-deep);
}

.cache-arrow::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-top: 1px solid var(--moss-deep);
  border-right: 1px solid var(--moss-deep);
  transform: rotate(45deg);
}

.mini-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 9px;
  color: var(--moss-deep);
  background: rgba(191, 210, 147, 0.2);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

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

.tech-card {
  display: flex;
  min-height: 300px;
  padding: 30px;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.tech-card.featured {
  color: var(--cream);
  background: var(--ink-strong);
  border-color: var(--ink-strong);
}

.tech-card h3 {
  margin: 0 0 13px;
  font-family: var(--serif);
  font-size: 27px;
}

.tech-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.tech-card.featured p {
  color: rgba(246, 245, 232, 0.64);
}

.tech-card .card-bottom {
  display: flex;
  margin-top: auto;
  padding-top: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.tech-card.featured .card-bottom {
  border-color: rgba(246, 245, 232, 0.15);
}

.tech-card .card-bottom span {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tech-card.featured .card-bottom span {
  color: rgba(246, 245, 232, 0.52);
}

.tech-card .card-bottom strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 400;
}

.xdp-flow {
  display: grid;
  margin-top: 24px;
  grid-template-columns: 1fr 30px 1fr 30px 1fr;
  align-items: center;
}

.xdp-box {
  min-height: 105px;
  padding: 18px;
  background: rgba(246, 245, 232, 0.08);
  border: 1px solid rgba(246, 245, 232, 0.14);
  border-radius: 13px;
  text-align: center;
}

.xdp-box strong {
  display: block;
  margin-bottom: 5px;
  color: var(--moss);
  font-size: 12px;
}

.xdp-box span {
  color: rgba(246, 245, 232, 0.6);
  font-size: 9px;
}

.xdp-link {
  height: 1px;
  background: rgba(191, 210, 147, 0.7);
}

.callout {
  display: grid;
  margin-top: 32px;
  padding: 23px 25px;
  align-items: start;
  background: rgba(191, 210, 147, 0.2);
  border: 1px solid rgba(115, 137, 79, 0.25);
  border-radius: 16px;
  grid-template-columns: auto 1fr;
  gap: 15px;
}

.callout-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink-strong);
  background: var(--moss);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 800;
}

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

.callout p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.game-path {
  display: grid;
  margin-top: 34px;
  align-items: center;
  grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr 34px 1fr;
  gap: 4px;
}

.game-node {
  padding: 19px 12px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.game-node.accent {
  background: var(--moss);
  border-color: var(--moss);
}

.game-node strong {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
}

.game-node small {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 8px;
}

.game-path .path-arrow {
  position: relative;
  height: 1px;
  background: var(--line-strong);
}

.game-path .path-arrow::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-top: 1px solid var(--ink-soft);
  border-right: 1px solid var(--ink-soft);
  transform: rotate(45deg);
}

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

.action-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.action-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 24px;
}

.action-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.action-card .action-tag {
  display: inline-flex;
  margin-bottom: 25px;
  padding: 4px 9px;
  color: var(--ink-strong);
  background: var(--moss);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}

.decision-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.55fr);
  gap: 18px;
}

.decision-board {
  padding: clamp(26px, 4vw, 45px);
  background: var(--ink-strong);
  border-radius: var(--radius-lg);
  color: var(--cream);
}

.decision-board h2 {
  max-width: 540px;
  margin: 12px 0 33px;
  font-family: var(--serif);
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.13;
}

.decision-tree {
  display: grid;
  gap: 9px;
}

.decision-item {
  display: grid;
  padding: 15px;
  align-items: start;
  background: rgba(246, 245, 232, 0.07);
  border: 1px solid rgba(246, 245, 232, 0.12);
  border-radius: 13px;
  grid-template-columns: 29px 1fr;
  gap: 12px;
}

.decision-item .decision-no {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: var(--ink-strong);
  background: var(--moss);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
}

.decision-item strong {
  display: block;
  font-size: 12px;
}

.decision-item span {
  color: rgba(246, 245, 232, 0.6);
  font-size: 10px;
}

.check-panel {
  display: flex;
  padding: 30px;
  flex-direction: column;
  background: var(--moss);
  border-radius: var(--radius-lg);
}

.check-panel h3 {
  margin: 12px 0 16px;
  font-family: var(--serif);
  font-size: 28px;
}

.check-panel .check-list li {
  color: var(--ink-soft);
}

.check-panel .check-list li::before {
  background: var(--cream);
}

.check-panel .panel-note {
  margin: auto 0 0;
  padding-top: 25px;
  color: var(--ink-soft);
  font-size: 10px;
}

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

.test-row {
  display: grid;
  padding: 22px 4px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 170px 1fr 1fr;
  gap: 24px;
}

.test-row strong {
  font-family: var(--serif);
  font-size: 18px;
}

.test-row span {
  color: var(--ink-soft);
  font-size: 11px;
}

.test-row .test-result {
  color: var(--ink-strong);
  font-weight: 800;
}

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

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.faq-list summary {
  display: flex;
  padding: 21px 23px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  list-style: none;
}

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

.faq-list summary::after {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  content: "+";
  color: var(--ink-strong);
  background: var(--moss);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
}

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

.faq-list details p {
  max-width: 760px;
  margin: 0;
  padding: 0 23px 23px;
  color: var(--ink-soft);
  font-size: 13px;
}

.sources {
  padding: 80px 0 0;
}

.source-list {
  display: grid;
  padding: 0;
  column-gap: 34px;
  grid-template-columns: 1fr 1fr;
  list-style: none;
}

.source-list li {
  display: grid;
  padding: 16px 0;
  align-items: start;
  border-top: 1px solid var(--line);
  grid-template-columns: 28px 1fr;
  gap: 10px;
}

.source-list span {
  color: var(--moss-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
}

.source-list a {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.source-list a:hover {
  color: var(--ink-strong);
}

.site-footer {
  padding: 68px 0 34px;
}

.footer-top {
  display: grid;
  padding: 0 0 45px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
}

.footer-title {
  max-width: 640px;
  margin: 15px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4.5vw, 55px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.footer-nav {
  display: grid;
  min-width: 260px;
  gap: 8px;
  align-content: start;
}

.footer-nav a {
  display: flex;
  padding-bottom: 8px;
  justify-content: space-between;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink-strong);
}

.footer-bottom {
  display: flex;
  padding-top: 26px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 10px;
}

.footer-bottom p {
  max-width: 730px;
  margin: 0;
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-strong);
  font-weight: 800;
  text-decoration: none;
}

.back-top::before {
  content: "↑";
  font-size: 15px;
}

.note-strip {
  padding: 15px 18px;
  color: var(--ink-soft);
  background: var(--sand);
  border-radius: 13px;
  font-size: 10px;
}

:focus-visible {
  outline: 3px solid var(--moss-deep);
  outline-offset: 3px;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(191, 210, 147, 0.16);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(191, 210, 147, 0.04);
  }
}

@keyframes route-flow {
  to {
    stroke-dashoffset: -220;
  }
}

@media (max-width: 1050px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .route-visual {
    min-height: 470px;
  }

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

  .insight-card:nth-child(2),
  .insight-card:nth-child(4) {
    margin-top: 0;
  }

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

  .page-aside {
    max-width: 480px;
  }

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

  .game-path {
    grid-template-columns: 1fr 24px 1fr 24px 1fr;
  }

  .game-path > *:nth-child(n + 6) {
    margin-top: 10px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    padding: 13px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .menu-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 11px;
  }

  .hero {
    padding-top: 34px;
  }

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

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

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 20px;
  }

  .process-grid,
  .compare-grid,
  .tech-card-grid,
  .action-grid,
  .decision-layout {
    grid-template-columns: 1fr;
  }

  .process-card {
    min-height: 300px;
  }

  .split-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sticky-copy {
    position: static;
  }

  .test-row {
    grid-template-columns: 1fr 1fr;
  }

  .test-row strong {
    grid-column: 1 / -1;
  }

  .source-list {
    grid-template-columns: 1fr;
  }

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

  .footer-nav {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .hero h1 {
    letter-spacing: -0.07em;
  }

  .page-title {
    font-size: clamp(38px, 10.25vw, 55px);
  }

  .section-head h2 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .route-visual {
    min-height: 390px;
    padding: 16px;
    border-radius: 25px;
  }

  .route-map {
    margin-top: 10px;
  }

  .route-card-foot {
    margin-top: -10px;
  }

  .route-card-foot strong {
    font-size: 16px;
  }

  .insight-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .insight-card {
    min-height: 230px;
  }

  .insight-icon {
    margin: 25px 0 18px;
  }

  .lesson-row {
    grid-template-columns: 45px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .lesson-row strong {
    font-size: 19px;
  }

  .lesson-row small {
    font-size: 10px;
  }

  .signal-row {
    grid-template-columns: 1fr;
  }

  .latency-step {
    grid-template-columns: 76px 1fr;
  }

  .latency-step small {
    display: none;
  }

  .cache-flow {
    grid-template-columns: 1fr;
  }

  .cache-arrow {
    width: 1px;
    height: 25px;
    margin-inline: auto;
  }

  .cache-arrow::after {
    top: auto;
    right: -3px;
    bottom: 0;
    transform: rotate(135deg);
  }

  .xdp-flow {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .xdp-link {
    width: 1px;
    height: 19px;
    margin-inline: auto;
  }

  .game-path {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .game-path > *:nth-child(n) {
    margin-top: 0;
  }

  .game-path .path-arrow {
    width: 1px;
    height: 18px;
    margin-inline: auto;
  }

  .game-path .path-arrow::after {
    top: auto;
    right: -3px;
    bottom: 0;
    transform: rotate(135deg);
  }

  .test-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .test-row strong {
    grid-column: auto;
  }

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

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

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

@media print {
  .site-header,
  .hero-actions,
  .back-top {
    display: none;
  }

  body {
    background: #fff;
  }

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