:root {
  --paper: #f3eee3;
  --paper-deep: #e8dfcf;
  --paper-light: #fbf8f1;
  --ink: #27231f;
  --ink-soft: #625a50;
  --ink-inverse: #f7f0df;
  --red: #9d3823;
  --red-dark: #742617;
  --copper: #b16e36;
  --gold: #a9864e;
  --olive: #73745c;
  --line: rgba(86, 66, 46, 0.2);
  --line-strong: rgba(86, 66, 46, 0.42);
  --shadow: 0 24px 64px rgba(55, 40, 25, 0.14);
  --shadow-small: 0 10px 28px rgba(55, 40, 25, 0.1);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", SimSun, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --shell: min(1440px, calc(100vw - 72px));
  --header-height: 88px;
  --radius: 4px;
}

html,
body {
  overflow-x: hidden;
}

body {
  padding-top: var(--header-height);
  background:
    linear-gradient(90deg, rgba(118, 83, 46, 0.024) 1px, transparent 1px),
    linear-gradient(rgba(118, 83, 46, 0.018) 1px, transparent 1px),
    var(--paper);
  background-size: 12px 12px, 12px 12px, auto;
  color: var(--ink);
}

body::before {
  display: none;
}

h1,
h2,
h3 {
  font-weight: 650;
}

h2 {
  font-size: clamp(2rem, 3.25vw, 3.25rem);
  letter-spacing: -0.045em;
}

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  width: 100%;
  min-height: var(--header-height);
  border-bottom: 2px solid var(--red);
  background: rgba(247, 242, 232, 0.95);
  box-shadow: 0 1px 0 rgba(157, 56, 35, 0.22);
  backdrop-filter: blur(16px) saturate(1.04);
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 242, 232, 0.985);
  box-shadow: 0 1px 0 rgba(157, 56, 35, 0.34), 0 14px 32px rgba(55, 40, 25, 0.12);
}

.header-inner {
  grid-template-columns: minmax(320px, 1fr) auto minmax(300px, 1fr);
  min-height: var(--header-height);
  gap: 34px;
}

.brand {
  gap: 14px;
}

.brand-mark {
  position: relative;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: cover;
  border: 0;
  border-radius: 50%;
  color: var(--red);
  box-shadow: 0 0 0 1px rgba(157, 56, 35, 0.18), 0 7px 20px rgba(65, 42, 25, 0.12);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  border: 1px solid currentColor;
  border-radius: 50%;
}

.brand-mark::before { inset: 5px; opacity: 0.52; }
.brand-mark::after { inset: 10px; opacity: 0.25; }

.brand-mark b,
.brand-mark i {
  position: relative;
  z-index: 1;
  display: block;
  font-style: normal;
  line-height: 1;
  text-align: center;
}

.brand-mark b {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 21px;
}

.brand-mark i {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.04em;
}

.brand strong {
  font-size: 25px;
  letter-spacing: 0.01em;
}

.brand small {
  margin-top: 2px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
}

.site-nav {
  gap: clamp(26px, 2.7vw, 46px);
}

.site-nav a {
  padding-block: 31px 25px;
  font-family: var(--serif);
  font-size: 15px;
}

.site-nav a::after {
  bottom: 18px;
}

.version-status {
  gap: 0;
  padding: 0;
  border: 0;
}

.version-status > span:nth-child(2),
.version-status .status-date {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(157, 56, 35, 0.55);
  border-radius: 4px;
}

.version-status .status-date {
  margin-left: 10px;
  color: var(--ink-inverse);
  background: var(--red);
  border-color: var(--red);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.status-dot {
  position: absolute;
  opacity: 0;
}

.section-paper {
  background:
    linear-gradient(rgba(126, 94, 60, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 94, 60, 0.027) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
}

.hero {
  padding: 30px 0 26px;
  border-bottom: 1px solid var(--line-strong);
}

.hero-grid {
  grid-template-columns: minmax(520px, 0.92fr) minmax(650px, 1.08fr);
  gap: clamp(34px, 4vw, 68px);
}

.hero-copy {
  padding: 22px 0 8px;
}

.kicker,
.section-number,
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.hero h1 {
  max-width: 690px;
  margin: 20px 0 18px;
  font-size: clamp(3.35rem, 4.1vw, 4.1rem);
  font-weight: 620;
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  gap: 12px;
}

.button {
  min-width: 220px;
  min-height: 56px;
  padding: 14px 22px;
  border-radius: 3px;
  font-family: var(--serif);
  font-size: 17px;
}

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

.hero-notes {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 9px;
}

.hero-visual {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.hero-visual::before,
.hero-visual::after {
  display: none;
}

.hero-visual picture,
.hero-visual picture img {
  width: 100%;
  height: 100%;
}

.hero-visual picture {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(120, 79, 52, 0.22);
  background: var(--paper);
  box-shadow: 0 18px 46px rgba(52, 39, 25, 0.09);
}

.hero-visual picture img {
  display: block;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.switch-stamp {
  top: 31%;
  left: 59%;
  width: 146px;
  height: 146px;
  background: rgba(243, 238, 227, 0.86);
  box-shadow: 0 0 0 8px rgba(157, 56, 35, 0.08), 0 14px 40px rgba(67, 35, 23, 0.1), inset 0 0 0 5px rgba(157, 56, 35, 0.06);
}

.switch-stamp span { font-size: 17px; }
.switch-stamp strong { font-size: 35px; }

.hero-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: #4f453b;
  background: rgba(247, 242, 232, 0.82);
  border: 1px solid rgba(157, 56, 35, 0.2);
  backdrop-filter: blur(7px);
  font-family: var(--serif);
  font-size: 10px;
}

.version-rail {
  grid-template-columns: 160px 1fr 180px;
  gap: 20px;
  margin-top: 16px;
  padding-top: 15px;
}

.rail-version strong { font-size: 28px; }
.rail-version span { font-family: var(--mono); font-size: 9px; }

.change-directions,
.comparison,
.readiness,
.sources {
  padding: clamp(62px, 7vw, 104px) 0;
}

.change-directions {
  padding-top: 32px;
  background: rgba(250, 247, 240, 0.62);
  border-bottom: 1px solid var(--line-strong);
}

.change-directions .section-heading {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(460px, 1.1fr);
  align-items: end;
  gap: 64px;
  max-width: none;
  margin-bottom: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.change-directions .section-heading .section-number {
  grid-column: 1 / -1;
  margin-bottom: -42px;
}

.change-directions .section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
}

.change-directions .section-heading p:not(.section-number) {
  margin: 0;
  padding-left: 24px;
  border-left: 2px solid var(--red);
  font-size: 13px;
}

.direction-grid {
  gap: 18px;
}

.direction-card {
  min-height: 142px;
  grid-template-columns: 54px 1fr auto;
  gap: 16px;
  padding: 20px;
  background: rgba(250, 247, 240, 0.72);
  border-color: rgba(141, 95, 55, 0.55);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(86, 66, 46, 0.06);
}

.direction-card:hover,
.direction-card:focus-visible {
  color: var(--ink);
  background: var(--paper-light);
  border-color: var(--red);
  box-shadow: var(--shadow-small);
  transform: translateY(-4px);
}

.direction-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--paper-light);
  background: var(--gold);
  border: 2px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 1px var(--gold);
  font-size: 27px;
  line-height: 1;
  text-align: center;
}

.direction-icon::before {
  display: block;
  content: attr(data-glyph);
  line-height: 1;
  transform: translateY(-1px);
}

.direction-card:nth-child(2) .direction-icon::before { transform: translate(1px, -1px); }
.direction-card:nth-child(3) .direction-icon::before { transform: translateY(-2px); }
.direction-card:nth-child(4) .direction-icon::before { transform: translateY(-1px); }

.direction-card:nth-child(2) .direction-icon { background: var(--copper); box-shadow: 0 0 0 1px var(--copper); }
.direction-card:nth-child(3) .direction-icon { background: var(--red); box-shadow: 0 0 0 1px var(--red); }
.direction-link .direction-icon { background: #69675d; box-shadow: 0 0 0 1px #69675d; }

.direction-copy strong { font-size: 25px; }
.direction-copy small { font-size: 11px; line-height: 1.55; }

.direction-card:hover .direction-copy small,
.direction-card:focus-visible .direction-copy small {
  color: var(--ink-soft);
  opacity: 1;
}

.change-explorer {
  padding: clamp(76px, 8vw, 118px) 0;
  background:
    radial-gradient(circle at 82% 14%, rgba(177, 110, 54, 0.2), transparent 25%),
    #201d19;
}

.section-ink::after {
  opacity: 0.09;
  background-size: 60px 60px;
}

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

.explorer-toolbar {
  margin-bottom: 20px;
  border-radius: 3px;
}

.search-field,
.chip {
  border-radius: 2px;
}

.chip {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 13px;
}

.chip-count {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 6px;
  color: rgba(247, 240, 223, 0.88);
  background: rgba(247, 240, 223, 0.12);
  border: 1px solid rgba(247, 240, 223, 0.18);
  font-family: var(--mono);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.chip.is-active .chip-count,
.chip:hover .chip-count,
.chip:focus-visible .chip-count {
  color: var(--red);
  background: var(--paper-light);
  border-color: var(--paper-light);
}

.change-grid {
  gap: 10px;
}

.change-card {
  min-height: 205px;
  padding: 18px;
  color: var(--card-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(20, 14, 10, 0.08)),
    repeating-linear-gradient(90deg, rgba(255, 240, 218, 0.025) 0 1px, transparent 1px 42px),
    linear-gradient(142deg, var(--card-start), var(--card-end));
  border-color: color-mix(in srgb, var(--card-accent) 48%, transparent);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 8px 22px rgba(17, 13, 10, 0.13);
  overflow: hidden;
}

.change-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--card-accent), color-mix(in srgb, var(--card-accent) 24%, transparent));
}

.change-card-head { margin-bottom: 20px; }
.change-card h3 { font-size: 20px; }
.change-card p { font-size: 11px; line-height: 1.65; }

.change-card:hover,
.change-card:focus-visible,
.change-card.is-linked {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(20, 14, 10, 0.05)),
    repeating-linear-gradient(90deg, rgba(255, 240, 218, 0.035) 0 1px, transparent 1px 42px),
    linear-gradient(142deg, color-mix(in srgb, var(--card-start) 92%, #a48b70), color-mix(in srgb, var(--card-end) 90%, #85715f));
  border-color: var(--card-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), 0 18px 36px rgba(0, 0, 0, 0.2);
}

.change-card.is-linked {
  outline: 2px solid var(--card-accent);
  outline-offset: 4px;
}

.change-card .change-letter {
  color: var(--card-accent);
  border-color: color-mix(in srgb, var(--card-accent) 66%, transparent);
}

.change-card .change-category,
.change-card .open-mark {
  color: color-mix(in srgb, var(--card-accent) 82%, var(--card-ink));
}

.change-card .change-category {
  padding: 4px 7px;
  background: color-mix(in srgb, var(--card-accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-accent) 22%, transparent);
}

.change-card h3 { color: var(--card-ink); }

.change-card p { color: color-mix(in srgb, var(--card-ink) 78%, #6e6258); }

.change-card .type-tag {
  color: color-mix(in srgb, var(--card-accent) 82%, var(--card-ink));
  border-color: color-mix(in srgb, var(--card-accent) 46%, transparent);
  background: rgba(20, 14, 10, 0.16);
}

.change-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  text-align: center;
}

.change-letter i {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  line-height: 1;
  transform: translate(0.02em, -0.08em);
}

.record-callout {
  margin-top: 26px;
  padding: 24px;
}

.comparison {
  background: var(--paper-deep);
}

.comparison-board {
  border: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: 12px 12px 0 rgba(157, 56, 35, 0.06);
}

.comparison-head {
  min-height: 126px;
  border-radius: 0;
}

.comparison-head.old {
  color: var(--ink);
  background: #ede6da;
}

.comparison-head.modern {
  color: var(--paper-light);
  background: var(--red);
}

.comparison-row > div:first-child { background: rgba(247, 242, 232, 0.62); }
.comparison-row > div:last-child { background: rgba(157, 56, 35, 0.06); }

.comparison-board.is-motion-ready .comparison-head,
.comparison-board.is-motion-ready .comparison-axis,
.comparison-board.is-motion-ready .comparison-row > div {
  transition: opacity 440ms ease-out, transform 520ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease;
}

.comparison-board.is-motion-preparing .comparison-head,
.comparison-board.is-motion-preparing .comparison-axis,
.comparison-board.is-motion-preparing .comparison-row > div {
  transition: none;
}

.comparison-board.is-motion-ready:not(.is-comparison-active) .comparison-head.old,
.comparison-board.is-motion-ready:not(.is-comparison-active) .comparison-row > div:first-child {
  opacity: 0;
  transform: translateX(-24px);
}

.comparison-board.is-motion-ready:not(.is-comparison-active) .comparison-head.modern,
.comparison-board.is-motion-ready:not(.is-comparison-active) .comparison-row > div:last-child {
  opacity: 0;
  transform: translateX(24px);
}

.comparison-board.is-motion-ready:not(.is-comparison-active) .comparison-axis,
.comparison-board.is-motion-ready:not(.is-comparison-active) .comparison-arrow {
  opacity: 0;
  transform: scale(0.72);
}

.comparison-board.is-motion-ready .comparison-row > div {
  transition-delay: var(--comparison-delay, 0ms);
}

.comparison-board.is-motion-ready .comparison-head.modern { transition-delay: 90ms; }
.comparison-board.is-motion-ready .comparison-axis { transition-delay: 160ms; }

.comparison-board.is-comparison-active .comparison-axis i {
  animation: comparison-axis-draw 520ms 160ms cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: top;
}

.comparison-board.is-comparison-active .comparison-arrow {
  animation: comparison-arrow-pass 560ms calc(var(--comparison-delay, 0ms) + 160ms) cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes comparison-axis-draw {
  from { opacity: 0; transform: scaleY(0); }
  to { opacity: 1; transform: scaleY(1); }
}

@keyframes comparison-arrow-pass {
  0% { opacity: 0; transform: translateX(-10px) scale(0.76); }
  58% { opacity: 1; transform: translateX(5px) scale(1.08); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

.scene-query {
  padding: clamp(72px, 8vw, 118px) 0;
  color: var(--ink);
  background: var(--paper-light);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.scene-layout {
  grid-template-columns: 1fr;
  gap: 28px;
}

.scene-intro {
  display: grid;
  grid-template-columns: minmax(360px, 0.75fr) minmax(520px, 1.25fr);
  align-items: end;
  gap: 56px;
}

.scene-intro h2 {
  max-width: 680px;
  margin-bottom: 12px;
}

.scene-intro > p:not(.section-number) {
  max-width: 600px;
  color: var(--ink-soft);
}

.scene-intro .section-number {
  grid-column: 1 / -1;
  margin-bottom: -38px;
  color: var(--red);
}

.scene-tabs {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 0;
}

.scene-tab {
  min-height: 48px;
  padding: 10px 12px;
  color: var(--ink-soft);
  background: transparent;
  border-color: var(--line-strong);
  font-size: 12px;
}

.scene-tab:hover,
.scene-tab:focus-visible,
.scene-tab[aria-selected="true"] {
  color: var(--paper-light);
  background: var(--red);
  border-color: var(--red);
}

.scene-panel {
  display: grid;
  grid-template-columns: minmax(340px, 0.72fr) minmax(560px, 1.28fr);
  min-height: 560px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-top: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.scene-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--paper-deep);
  border-right: 1px solid var(--line-strong);
}

.scene-media::after {
  position: absolute;
  inset: 14px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(157, 56, 35, 0.26);
}

.scene-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.scene-index {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 28px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--paper-light);
  background: var(--red);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 17px;
}

.scene-content {
  padding: clamp(38px, 5vw, 70px);
}

.scene-related > span,
.scene-related-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  color: var(--red);
  background: rgba(157, 56, 35, 0.08);
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 11px;
  text-decoration: none;
}

button.scene-related-link {
  cursor: pointer;
}

.scene-related-link:hover,
.scene-related-link:focus-visible {
  color: var(--paper-light);
  background: var(--red);
  border-color: var(--red);
  outline: 0;
}

.scene-related-link > span {
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 0;
  font-size: 13px;
  transition: transform 180ms ease;
}

.scene-related-link:hover > span,
.scene-related-link:focus-visible > span {
  transform: translate(2px, -1px);
}

.scene-panel h3 {
  margin-top: 10px;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.scene-steps {
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 28px 0;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-bottom: 0;
}

.scene-steps li {
  min-height: 74px;
  padding: 12px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.scene-steps b {
  font-family: var(--serif);
  font-size: 14px;
}

.standards-network {
  padding: clamp(78px, 9vw, 132px) 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(184, 109, 54, 0.16), transparent 27%),
    #1d1b18;
}

.network-map {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  grid-template-rows: repeat(3, minmax(120px, 1fr));
  gap: 14px 46px;
  min-height: 560px;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 46%, rgba(177, 110, 54, 0.2), transparent 34%),
    radial-gradient(circle, rgba(247, 240, 223, 0.08) 1px, transparent 1.5px),
    linear-gradient(145deg, #211e1a, #151412);
  background-size: auto, 24px 24px, auto;
  border: 1px solid rgba(214, 153, 102, 0.26);
}

.network-center,
.network-node {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  border-radius: 18px;
  transform: none;
}

.network-center {
  grid-column: 1;
  grid-row: 1 / 4;
  align-content: end;
  justify-items: start;
  padding: clamp(28px, 3vw, 42px);
  overflow: hidden;
  color: #ffe7c8;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 42%),
    linear-gradient(145deg, #6d4027, #281f19 74%);
  border-color: rgba(215, 151, 98, 0.74);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 235, 205, 0.1);
}

.network-center::before {
  position: absolute;
  top: 24px;
  right: 28px;
  content: "29890";
  color: rgba(255, 230, 198, 0.1);
  font-family: var(--serif);
  font-size: clamp(4.4rem, 7vw, 7.3rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1;
}

.network-center .network-kicker {
  position: relative;
  margin: 0 0 16px;
  padding: 6px 10px;
  color: #ffd1a5;
  background: rgba(255, 231, 200, 0.08);
  border: 1px solid rgba(255, 209, 165, 0.24);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.network-center strong {
  position: relative;
  max-width: 360px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.08;
}

.network-center > span:last-child {
  position: relative;
  margin-top: 12px;
  color: rgba(255, 231, 200, 0.72);
  font-size: 13px;
}

.network-node {
  grid-column: 2;
  align-content: center;
  justify-items: start;
  min-height: 0;
  padding: 20px 22px 18px;
  color: #f5e4cf;
  text-align: left;
  background: linear-gradient(135deg, rgba(111, 78, 57, 0.64), rgba(42, 34, 29, 0.94));
  border-color: rgba(190, 139, 94, 0.46);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 239, 218, 0.06), 0 14px 26px rgba(0, 0, 0, 0.16);
}

.node-safety { grid-row: 1; }
.node-pesticide { grid-row: 2; }
.node-specialized {
  grid-row: 3;
  background: linear-gradient(135deg, rgba(120, 58, 40, 0.82), rgba(49, 29, 23, 0.96));
}

.network-node::before {
  position: absolute;
  top: 50%;
  right: 100%;
  width: 47px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(211, 151, 101, 0.28), rgba(211, 151, 101, 0.92));
}

.network-node::after {
  position: absolute;
  top: 16px;
  right: 18px;
  content: "↗";
  color: rgba(255, 225, 192, 0.62);
  font-size: 17px;
}

.node-specialized::after { content: "→"; }

.network-node .node-index {
  position: absolute;
  top: 16px;
  left: 18px;
  margin: 0;
  color: rgba(255, 220, 184, 0.42);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.network-node small {
  margin: 12px 0 6px;
  color: #d7a578;
  font-family: var(--mono);
  font-size: 8px;
}

.network-node strong {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.32;
}

.network-node span:not(.node-index) {
  margin-top: 5px;
  color: rgba(245, 228, 207, 0.66);
  font-size: 9px;
}

a.network-node {
  cursor: pointer;
}

a.network-node:hover,
a.network-node:focus-visible,
a.network-node.is-linked {
  border-color: rgba(235, 177, 128, 0.9);
  background: linear-gradient(135deg, rgba(130, 86, 59, 0.78), rgba(52, 38, 31, 0.98));
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255, 239, 218, 0.1), 0 18px 34px rgba(0, 0, 0, 0.26);
  transform: translateX(6px);
}

a.network-node.is-linked {
  animation: network-linked 760ms cubic-bezier(0.16, 1, 0.3, 1) 2 alternate;
}

@keyframes network-linked {
  from { border-color: rgba(190, 139, 94, 0.46); }
  to { border-color: #f0b279; box-shadow: 0 0 0 5px rgba(240, 178, 121, 0.12), 0 18px 34px rgba(0, 0, 0, 0.26); }
}

.network-node small,
.network-node span {
  color: rgba(242, 220, 196, 0.68);
}

.network-line { display: none; }

.readiness {
  background: var(--paper);
}

.readiness-grid {
  grid-template-columns: minmax(280px, 0.58fr) minmax(620px, 1.42fr);
  gap: clamp(36px, 5vw, 76px);
}

.check-progress {
  background: rgba(250, 247, 240, 0.46);
}

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

.check-item {
  display: block;
  min-width: 0;
  padding: 20px;
  background: rgba(250, 247, 240, 0.66);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  cursor: default;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.check-item:last-child {
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--line-strong);
}

.check-item.is-complete {
  background: color-mix(in srgb, var(--paper-light) 80%, #d8d4ad);
  border-color: color-mix(in srgb, var(--olive) 58%, var(--line-strong));
  box-shadow: inset 4px 0 0 var(--olive), 0 12px 26px rgba(64, 65, 42, 0.08);
}

.check-item-head {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  margin-bottom: 16px;
}

.custom-check {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin: 0;
  color: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.custom-check::after { display: none; }

.check-item.is-complete .custom-check {
  color: var(--paper-light);
  background: var(--olive);
  border-color: var(--olive);
}

.check-item-copy strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 18px;
}

.check-item-copy p {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.check-item-status {
  min-width: 64px;
  padding-top: 5px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 9px;
  text-align: right;
  white-space: nowrap;
}

.check-item.is-complete .check-item-status {
  color: var(--olive);
  font-weight: 700;
}

.check-resources {
  display: grid;
  gap: 7px;
}

.check-resource {
  display: grid;
  width: 100%;
  min-height: 48px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(105, 83, 61, 0.23);
  border-radius: 2px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.check-resource:hover,
.check-resource:focus-visible {
  color: var(--red-dark);
  background: var(--paper-light);
  border-color: var(--red);
  outline: 0;
  transform: translateX(3px);
}

.resource-label {
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.resource-state {
  min-width: 38px;
  padding: 3px 6px;
  color: var(--ink-soft);
  background: rgba(92, 74, 56, 0.08);
  border: 1px solid rgba(92, 74, 56, 0.12);
  font-family: var(--mono);
  font-size: 8px;
  text-align: center;
}

.resource-arrow {
  color: var(--red);
  font-size: 15px;
}

.check-resource.is-read {
  background: color-mix(in srgb, var(--paper-light) 84%, #ddd9b9);
  border-color: color-mix(in srgb, var(--olive) 42%, var(--line-strong));
}

.check-resource.is-read .resource-state {
  color: var(--paper-light);
  background: var(--olive);
  border-color: var(--olive);
}

.sources {
  background: #ded2bf;
}

.use-boundary {
  padding: clamp(34px, 5vw, 64px) 0 0;
  background: var(--paper-light);
}

.boundary-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.6fr) auto;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px);
  color: #f7efe2;
  background:
    radial-gradient(circle at 88% 18%, rgba(194, 126, 67, 0.16), transparent 34%),
    #28231e;
  border-top: 4px solid var(--red);
  box-shadow: 0 24px 70px -48px rgba(30, 22, 16, 0.8);
}

.boundary-heading .section-number {
  margin-bottom: 12px;
  color: #d9a46e;
}

.boundary-heading h2 {
  margin-bottom: 14px;
  color: #fff8ec;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.16;
}

.boundary-heading > p:last-child {
  max-width: 580px;
  margin: 0;
  color: rgba(247, 239, 226, 0.72);
  font-size: 13px;
  line-height: 1.75;
}

.boundary-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  background: rgba(247, 239, 226, 0.14);
  list-style: none;
}

.boundary-points li {
  min-height: 132px;
  padding: 22px 20px;
  background: rgba(24, 21, 18, 0.8);
}

.boundary-points strong,
.boundary-points span {
  display: block;
}

.boundary-points strong {
  margin-bottom: 10px;
  color: #f5d2a9;
  font-family: var(--serif);
  font-size: 16px;
}

.boundary-points span {
  color: rgba(247, 239, 226, 0.68);
  font-size: 11px;
  line-height: 1.7;
}

.boundary-link {
  display: inline-flex;
  min-width: 140px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 16px;
  color: #fff8ec;
  border: 1px solid rgba(247, 239, 226, 0.36);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 200ms ease-out, background 200ms ease-out, border-color 200ms ease-out;
}

.boundary-link:hover,
.boundary-link:focus-visible {
  color: #281d16;
  background: #f5d2a9;
  border-color: #f5d2a9;
}

.source-grid {
  gap: 14px;
}

.source-card {
  border-radius: 0;
  background: rgba(250, 247, 240, 0.72);
}

.source-card:hover,
.source-card:focus-visible {
  transform: translateY(-5px);
}

.source-status {
  border-radius: 2px;
}

.site-footer {
  border-top: 4px solid var(--red);
  background: #1b1916;
}

.change-dialog {
  width: min(1040px, calc(100vw - 48px));
  max-height: min(90dvh, 920px);
  padding: clamp(26px, 3.5vw, 46px);
  overflow: auto;
  border-radius: 0;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42);
}

.change-dialog[open] {
  animation: dialog-enter 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dialog-close {
  z-index: 2;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: rgba(251, 248, 241, 0.88);
  border-color: var(--line-strong);
}

.change-dialog h2 {
  max-width: 800px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
}

.dialog-tags {
  margin-bottom: 22px;
}

.dialog-lede {
  max-width: 820px;
  margin: 0 0 24px;
  padding-left: 18px;
  color: var(--ink-soft);
  border-left: 3px solid var(--red);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.8;
}

.change-dialog .dialog-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.version-panel {
  min-width: 0;
  padding: 24px;
}

.version-panel-old {
  background: #ece5d9;
}

.version-panel-new {
  color: var(--paper-light);
  background: var(--red-dark);
}

.version-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid currentColor;
}

.version-panel-head span {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
}

.version-panel-head strong {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-align: right;
}

.version-panel h3 {
  margin-bottom: 10px;
  color: inherit;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.version-panel p {
  margin: 0;
  font-size: 13px;
  line-height: 1.82;
}

.version-panel-new p,
.version-panel-new .version-panel-head {
  color: rgba(251, 248, 241, 0.9);
}

.compare-shift {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 4px;
  color: var(--red);
  background: var(--paper-light);
  border-right: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.compare-shift span {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
}

.compare-shift small {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.change-dialog .dialog-delta,
.change-dialog .dialog-field-note {
  padding: 24px 0;
}

.dialog-delta h3,
.dialog-field-note h3 {
  color: var(--red);
}

.dialog-delta ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dialog-delta li {
  position: relative;
  min-height: 108px;
  padding: 38px 16px 16px;
  background: rgba(232, 223, 207, 0.46);
  border: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
}

.dialog-delta li::before {
  position: absolute;
  top: 12px;
  left: 16px;
  content: counter(list-item, decimal-leading-zero);
  color: var(--red);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}

.dialog-field-note p {
  margin: 0;
  padding: 18px 20px;
  color: #f4e7d2;
  background: #29241f;
  border-left: 4px solid var(--copper);
  font-size: 13px;
  line-height: 1.8;
}

.dialog-source-note {
  margin: 0;
  padding: 14px 16px;
  color: var(--ink-soft);
  background: rgba(226, 214, 194, 0.42);
  border-left: 3px solid var(--copper);
  font-size: 10px;
  line-height: 1.7;
}

.dialog-source-note strong {
  color: var(--red-dark);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.dialog-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dialog-actions {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 300ms ease-out, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.direction-card.reveal.is-visible:hover,
.direction-card.reveal.is-visible:focus-visible {
  transform: translateY(-4px);
}

.source-card.reveal.is-visible:hover,
.source-card.reveal.is-visible:focus-visible {
  transform: translateY(-5px);
}

@media (max-width: 1260px) {
  :root { --shell: min(1160px, calc(100vw - 40px)); }
  .header-inner { grid-template-columns: auto 1fr auto; gap: 18px; }
  .brand strong { font-size: 21px; }
  .site-nav { gap: 18px; }
  .hero-grid { grid-template-columns: minmax(430px, 0.9fr) minmax(520px, 1.1fr); }
  .hero h1 { font-size: clamp(3.1rem, 4.7vw, 4rem); }
  .hero-lead { font-size: 15px; }
  .change-directions .section-heading { gap: 40px; }
  .scene-intro { grid-template-columns: 0.75fr 1.25fr; gap: 36px; }
  .boundary-card { grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.4fr); }
  .boundary-link { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 980px) {
  :root { --header-height: 72px; }
  .header-inner { grid-template-columns: 1fr auto auto; }
  .brand-mark { width: 44px; height: 44px; flex-basis: 44px; }
  .brand-mark b { margin-top: 7px; font-size: 19px; }
  .brand strong { font-size: 18px; }
  .boundary-card { grid-template-columns: 1fr; }
  .boundary-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .boundary-link { grid-column: auto; }
  .version-status > span:nth-child(2) { display: none; }
  .version-status .status-date { min-height: 40px; margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero h1 { max-width: 760px; font-size: clamp(3.2rem, 8vw, 4.8rem); }
  .hero-visual { width: 100%; max-width: 820px; margin-inline: auto; }
  .change-directions .section-heading,
  .scene-intro { grid-template-columns: 1fr; gap: 18px; }
  .change-directions .section-heading .section-number,
  .scene-intro .section-number { grid-column: auto; margin-bottom: 0; }
  .change-directions .section-heading p:not(.section-number) { padding-left: 18px; }
  .scene-tabs { grid-column: auto; }
  .scene-panel { grid-template-columns: 0.9fr 1.1fr; }
  .scene-media { min-height: 520px; }
  .readiness-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px, 680px); }
  .brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .brand-mark b { margin-top: 6px; font-size: 16px; }
  .brand-mark i { font-size: 5px; }
  .brand strong { font-size: 15px; }
  .version-status .status-date {
    min-width: 74px;
    justify-content: center;
    padding: 6px 8px;
    font-size: 0;
  }
  .version-status .status-date::after {
    content: "2026.12.1";
    font-size: 10px;
    letter-spacing: 0.02em;
  }
  .hero { padding-top: 34px; }
  .hero-copy { padding-top: 6px; }
  .hero h1 { font-size: clamp(2.55rem, 11.6vw, 3.6rem); line-height: 1.1; }
  .hero h1 span { white-space: normal; }
  .hero-lead { font-size: 16px; }
  .hero-visual { aspect-ratio: 1.18 / 1; }
  .hero-visual picture img { object-position: 58% center; }
  .switch-stamp { top: 36%; left: 61%; width: 104px; height: 104px; }
  .switch-stamp span { font-size: 12px; }
  .switch-stamp strong { font-size: 25px; }
  .hero-visual figcaption { display: none; }
  .version-rail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: end;
    gap: 16px 20px;
    margin-top: 20px;
    padding-top: 18px;
  }
  .rail-version { min-width: 0; }
  .rail-old {
    grid-column: 1;
    grid-row: 1;
  }
  .rail-new {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
  .rail-version strong {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    line-height: 1.05;
  }
  .rail-version span {
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.45;
  }
  .rail-line {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
    margin: 2px 6px 0;
  }
  .rail-label {
    padding-inline: 8px;
    font-size: 10px;
    white-space: nowrap;
  }
  .use-boundary { padding-top: 26px; }
  .boundary-card {
    gap: 24px;
    padding: 26px 20px;
  }
  .boundary-points { grid-template-columns: 1fr; }
  .boundary-points li {
    min-height: 0;
    padding: 18px;
  }
  .boundary-link {
    width: 100%;
    min-height: 48px;
  }
  .direction-grid { gap: 10px; }
  .direction-card { min-height: 132px; }
  .change-directions { padding-top: 38px; }
  .change-directions .section-heading { padding-top: 14px; }
  .change-directions .section-heading p:not(.section-number) { border-left: 0; padding-left: 0; }
  .change-grid { grid-template-columns: 1fr; }
  .change-card { min-height: 190px; }
  .comparison-board { box-shadow: 6px 6px 0 rgba(157, 56, 35, 0.06); }
  .scene-tabs { grid-template-columns: repeat(2, 1fr); }
  .scene-panel { grid-template-columns: 1fr; }
  .scene-media { min-height: 360px; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .scene-media img { object-position: center 42%; }
  .scene-content { padding: 30px 22px 34px; }
  .scene-steps { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .check-item:last-child { grid-column: auto; }
  .network-map {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
    min-height: 0;
    padding: 16px;
    transform: none;
  }
  .network-center {
    grid-column: 1;
    grid-row: 1;
    min-height: 300px;
    padding: 28px 24px;
  }
  .network-center::before { top: 22px; right: 20px; font-size: 4.4rem; }
  .network-node {
    grid-column: 1;
    width: auto;
    height: auto;
    min-height: 126px;
    padding: 20px;
  }
  .node-safety { grid-row: 2; }
  .node-pesticide { grid-row: 3; }
  .node-specialized { grid-row: 4; }
  .network-node::before {
    top: auto;
    right: auto;
    bottom: 100%;
    left: 34px;
    width: 1px;
    height: 17px;
    background: linear-gradient(180deg, rgba(211, 151, 101, 0.28), rgba(211, 151, 101, 0.92));
  }
  a.network-node:hover,
  a.network-node:focus-visible,
  a.network-node.is-linked { transform: translateY(-3px); }
  .change-dialog {
    width: calc(100vw - 24px);
    padding: 24px 18px;
  }
  .change-dialog .dialog-compare { grid-template-columns: 1fr; }
  .compare-shift {
    min-height: 54px;
    border: 0;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
  }
  .compare-shift span { transform: rotate(90deg); }
  .dialog-delta ul { grid-template-columns: 1fr; }
  .dialog-delta li { min-height: 0; }
  .dialog-actions { align-items: stretch; }
  .dialog-source-links { display: grid; }
}

@media (max-width: 420px) {
  .brand span:last-child { max-width: 128px; }
  .brand strong { white-space: nowrap; }
  .hero h1 { font-size: 2.7rem; }
  .hero-visual { aspect-ratio: 1 / 1.08; }
  .hero-visual picture img { object-position: 61% center; }
  .button { min-width: 0; }
  .version-rail { gap: 14px; }
  .rail-version strong { font-size: 1.75rem; }
  .boundary-heading h2 { font-size: 1.7rem; }
  .change-dialog h2 { font-size: 1.75rem; }
  .scene-media { min-height: 330px; }
  .network-center { min-height: 270px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual,
  .direction-card,
  .source-card,
  .check-resource { transform: none !important; }
  .change-dialog[open] { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .comparison-board *,
  .network-node { animation: none !important; transition: none !important; }
}
