/* =========================================================
   AI活地图 · 认知地图子页面
   Visual system aligned with AI活地图 / 领域地图节点页
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Noto+Sans+SC:wght@300;400;500;700&family=Share+Tech+Mono&display=swap');

:root {
  --neon-cyan: #00f0ff;
  --neon-magenta: #ff00ff;
  --neon-green: #39ff14;
  --neon-yellow: #ffe600;
  --neon-orange: #ff6b00;
  --neon-purple: #b400ff;
  --bg-dark: #0a0a12;
  --bg-panel: #12121f;
  --bg-card: #1a1a2e;
  --border-glow: rgba(0, 240, 255, 0.3);
  --text-primary: #e0e0ff;
  --text-secondary: #8888aa;
  --font-display: 'Orbitron', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', 'Share Tech Mono', monospace;
  --font-mono: 'Share Tech Mono', 'Cascadia Mono', Consolas, monospace;
  --max-width: 1400px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  color: var(--text-primary);
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(900px 620px at 82% -8%, rgba(0, 240, 255, 0.07), transparent 64%),
    radial-gradient(780px 580px at 4% 18%, rgba(255, 0, 255, 0.045), transparent 68%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 网格背景 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* 扫描线 */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.5;
  animation: scanline 4s linear infinite;
}

::selection {
  color: var(--bg-dark);
  background: var(--neon-cyan);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

svg {
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 11000;
  transform: translateY(-160%);
  padding: 8px 14px;
  color: var(--bg-dark);
  background: var(--neon-cyan);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

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

/* =========================
   Navbar
   ========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  min-height: 64px;
  background: rgba(10, 10, 18, 0.9);
  border-bottom: 1px solid var(--border-glow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  width: 100%;
  max-width: var(--max-width);
  min-height: 64px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  flex: none;
  gap: 2px;
  line-height: 1;
}

.brand-logo {
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px rgba(0, 240, 255, 0.55);
  transition: text-shadow 0.3s ease;
}

.brand-logo span {
  color: var(--neon-magenta);
  text-shadow: 0 0 10px var(--neon-magenta);
}

.brand:hover .brand-logo {
  text-shadow: 0 0 12px var(--neon-cyan), 0 0 30px rgba(0, 240, 255, 0.75);
}

.brand-sub {
  margin-top: 4px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 1.8px;
  line-height: 1.3;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.83rem;
  letter-spacing: 1px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.main-nav a span {
  color: var(--neon-magenta);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 1px;
  opacity: 0.8;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px var(--neon-cyan);
}

.main-nav a:hover::after {
  width: 100%;
}

.return-home {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--bg-dark);
  background: var(--neon-magenta);
  border: 1px solid var(--neon-magenta);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(255, 0, 255, 0.3);
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.return-home--header {
  min-height: 38px;
  padding: 0 13px;
}

.return-arrow {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
}

.return-home:hover {
  color: var(--neon-magenta);
  background: transparent;
  box-shadow: 0 0 22px rgba(255, 0, 255, 0.5);
  transform: translateY(-1px);
}

/* =========================
   Page shell / hero
   ========================= */

.dm-app {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 88px 24px 42px;
}

.page-hero {
  position: relative;
  margin-bottom: 28px;
}

.hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 1.8px;
  line-height: 1.5;
}

.eyebrow::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulse 2s infinite;
}

.eyebrow-divider {
  width: 1px;
  height: 11px;
  background: rgba(0, 240, 255, 0.32);
}

.eyebrow-index {
  color: var(--neon-cyan);
  padding-left: 2px;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.neon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.32);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 1px;
  line-height: 1.6;
}

.neon-badge--green {
  color: var(--neon-green);
  background: rgba(57, 255, 20, 0.07);
  border-color: rgba(57, 255, 20, 0.34);
}

.status-dot {
  display: inline-block;
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--neon-green);
  animation: pulse 2s infinite;
}

.hero-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.hero-icon {
  flex: none;
  margin-top: 1px;
  font-size: 2.6rem;
  line-height: 1;
  filter: drop-shadow(0 0 10px var(--neon-cyan));
}

.hero-copy {
  min-width: 0;
  flex: 1;
}

.hero-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
}

.hero-title-main {
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.65), 0 0 24px rgba(0, 240, 255, 0.25);
}

.title-colon {
  color: var(--neon-magenta);
  text-shadow: 0 0 10px var(--neon-magenta);
}

.hero-title-sub {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.8vw, 1.3rem);
  font-weight: 300;
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(224, 224, 255, 0.18);
}

.hero-intro {
  max-width: 940px;
  margin-top: 13px;
  padding: 11px 15px;
  color: var(--text-secondary);
  background: rgba(0, 240, 255, 0.05);
  border-left: 3px solid var(--neon-cyan);
  border-radius: 0 8px 8px 0;
  font-size: 0.83rem;
  line-height: 1.75;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 1px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.hero-link-arrow {
  display: grid;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 50%;
  font-size: 0.68rem;
  place-items: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hero-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 8px var(--neon-cyan);
}

.hero-link:hover .hero-link-arrow {
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.35);
  transform: translateY(2px);
}

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

.meta-item {
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 240, 255, 0.12);
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.meta-item:hover {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.06);
}

.meta-item > span {
  display: block;
  margin-bottom: 5px;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 2px;
  line-height: 1.5;
  text-transform: uppercase;
}

.meta-item:nth-child(2) > span {
  color: var(--neon-magenta);
}

.meta-item:nth-child(3) > span {
  color: var(--neon-green);
}

.meta-item strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.65;
}

.hero-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 10px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(0, 240, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 1.2px;
  line-height: 1.5;
}

.ticker-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.3), rgba(255, 0, 255, 0.15), transparent);
}

/* =========================
   Layout
   ========================= */

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 24px;
  margin-top: 24px;
}

.content-main {
  min-width: 0;
}

.side-rail {
  min-width: 0;
}

.side-sticky {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 240, 255, 0.3) transparent;
}

.side-sticky::-webkit-scrollbar {
  width: 5px;
}

.side-sticky::-webkit-scrollbar-track {
  background: transparent;
}

.side-sticky::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.3);
  border-radius: 4px;
}

/* =========================
   Section heading
   ========================= */

.section {
  margin-bottom: 34px;
  scroll-margin-top: 80px;
}

.section:last-child {
  margin-bottom: 0;
}

.section-heading {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.22);
}

.section-side {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.section-side::after {
  content: '';
  width: 30px;
  height: 1px;
  background: rgba(0, 240, 255, 0.25);
}

.section-num {
  padding: 1px 9px;
  color: var(--bg-dark);
  background: var(--neon-cyan);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.65;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.section-side-name {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  line-height: 1.5;
}

.section-heading-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 16px;
}

.section-kicker {
  order: 2;
  margin-left: auto;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 1.2px;
  line-height: 1.5;
}

.section-heading h2 {
  display: flex;
  align-items: center;
  order: 1;
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.55);
}

.section-heading h2::before {
  content: '\25B8';
  margin-right: 8px;
  color: var(--neon-magenta);
  font-family: var(--font-mono);
  text-shadow: 0 0 8px var(--neon-magenta);
}

.section-intro {
  margin-top: 10px;
  padding: 10px 14px;
  color: var(--text-secondary);
  background: rgba(0, 240, 255, 0.05);
  border-left: 3px solid rgba(0, 240, 255, 0.55);
  border-radius: 0 8px 8px 0;
  font-size: 0.8rem;
  line-height: 1.7;
}

/* =========================
   Framework
   ========================= */

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

.framework-grid::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 28px;
  height: 28px;
  content: '+';
  color: var(--neon-magenta);
  background: var(--bg-panel);
  border: 1px solid rgba(255, 0, 255, 0.55);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1;
  place-items: center;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(255, 0, 255, 0.25);
  transform: translate(-50%, -50%);
}

.lens-card {
  --lens-accent: var(--neon-cyan);
  --lens-border: rgba(0, 240, 255, 0.3);
  --lens-wash: rgba(0, 240, 255, 0.06);
  --lens-glow: rgba(0, 240, 255, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 240, 255, 0.13);
  border-left: 3px solid var(--lens-accent);
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.lens-card--growth {
  --lens-accent: var(--neon-magenta);
  --lens-border: rgba(255, 0, 255, 0.3);
  --lens-wash: rgba(255, 0, 255, 0.06);
  --lens-glow: rgba(255, 0, 255, 0.08);
  border-color: rgba(255, 0, 255, 0.13);
}

.lens-card::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 190px;
  height: 190px;
  pointer-events: none;
  background: radial-gradient(circle, var(--lens-glow), transparent 68%);
}

.lens-card:hover {
  border-color: var(--lens-border);
  box-shadow: 0 0 20px var(--lens-glow);
  transform: translateY(-2px);
}

.lens-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 1.4px;
  line-height: 1.5;
}

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

.lens-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lens-type::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--lens-accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--lens-accent);
}

.lens-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
}

.lens-icon {
  display: grid;
  flex: none;
  width: 46px;
  height: 46px;
  color: var(--lens-accent);
  background: var(--lens-wash);
  border: 1px solid var(--lens-border);
  border-radius: 50%;
  place-items: center;
  box-shadow: 0 0 10px var(--lens-glow);
}

.lens-icon svg {
  width: 34px;
  height: 34px;
}

.lens-heading h3 {
  color: var(--lens-accent);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
  text-shadow: 0 0 8px var(--lens-glow);
}

.lens-heading p {
  margin-top: 3px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.8px;
  line-height: 1.5;
}

.lens-copy {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 0.79rem;
  line-height: 1.75;
}

.lens-list {
  margin-top: 14px;
  border-top: 1px solid rgba(0, 240, 255, 0.12);
}

.lens-card--growth .lens-list {
  border-top-color: rgba(255, 0, 255, 0.12);
}

.lens-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
}

.lens-card--growth .lens-list li {
  border-bottom-color: rgba(255, 0, 255, 0.08);
}

.lens-list li:last-child {
  border-bottom: 0;
}

.list-num {
  padding-top: 1px;
  color: var(--lens-accent);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.lens-list h4 {
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.55;
}

.lens-list p {
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 0.73rem;
  line-height: 1.7;
}

.lens-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
}

.lens-foot-label {
  margin-right: 3px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 1px;
}

.lens-tag {
  padding: 2px 9px;
  color: var(--lens-accent);
  background: var(--lens-wash);
  border: 1px solid var(--lens-border);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.4px;
  line-height: 1.6;
}

.synthesis {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(180, 0, 255, 0.1), rgba(0, 240, 255, 0.05));
  border: 1px solid rgba(180, 0, 255, 0.3);
  border-radius: 8px;
}

.synthesis-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(224, 224, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1.2px;
  line-height: 1.55;
}

.synthesis-mark {
  display: grid;
  flex: none;
  width: 27px;
  height: 27px;
  color: var(--neon-purple);
  background: rgba(180, 0, 255, 0.1);
  border: 1px solid rgba(180, 0, 255, 0.5);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  place-items: center;
  box-shadow: 0 0 10px rgba(180, 0, 255, 0.2);
}

.synthesis-copy p {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.75;
}

.synthesis-copy strong {
  color: var(--text-primary);
  font-weight: 400;
}

.synthesis-arrow {
  justify-self: end;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 1.15rem;
  line-height: 1;
  text-shadow: 0 0 8px var(--neon-cyan);
}

/* =========================
   Case studies
   ========================= */

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

.case-card {
  --case-accent: var(--neon-cyan);
  --case-border: rgba(0, 240, 255, 0.32);
  --case-wash: rgba(0, 240, 255, 0.07);
  --case-glow: rgba(0, 240, 255, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(0, 240, 255, 0.13);
  border-left: 3px solid var(--case-accent);
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.case-card--blue {
  --case-accent: var(--neon-magenta);
  --case-border: rgba(255, 0, 255, 0.32);
  --case-wash: rgba(255, 0, 255, 0.07);
  --case-glow: rgba(255, 0, 255, 0.08);
  border-color: rgba(255, 0, 255, 0.13);
}

.case-card:hover {
  border-color: var(--case-border);
  box-shadow: 0 0 20px var(--case-glow);
}

.case-head {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.12);
}

.case-card--blue .case-head {
  border-bottom-color: rgba(255, 0, 255, 0.12);
}

.case-head::after {
  position: absolute;
  top: 2px;
  right: 14px;
  z-index: 0;
  color: rgba(0, 240, 255, 0.09);
  content: attr(data-index);
  font-family: var(--font-mono);
  font-size: 5.4rem;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  pointer-events: none;
}

.case-card--blue .case-head::after {
  color: rgba(255, 0, 255, 0.08);
}

.case-head > * {
  position: relative;
  z-index: 1;
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 1.2px;
  line-height: 1.5;
}

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

.case-rule {
  width: 22px;
  height: 1px;
  background: var(--case-border);
}

.case-domain {
  color: var(--text-secondary);
}

.case-head h3 {
  max-width: 90%;
  margin-top: 16px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.5;
}

.case-summary {
  max-width: 98%;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.7;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.tag-list li {
  padding: 2px 9px;
  color: var(--case-accent);
  background: var(--case-wash);
  border: 1px solid var(--case-border);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.6px;
  line-height: 1.6;
}

.case-steps {
  flex: 1;
  padding: 4px 18px 8px;
}

.case-step {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 240, 255, 0.09);
}

.case-card--blue .case-step {
  border-bottom-color: rgba(255, 0, 255, 0.09);
}

.case-step:not(:last-child)::after {
  position: absolute;
  top: 39px;
  bottom: -4px;
  left: 11.5px;
  width: 1px;
  content: '';
  background: linear-gradient(180deg, var(--case-border), rgba(0, 240, 255, 0.05));
}

.case-card--blue .case-step:not(:last-child)::after {
  background: linear-gradient(180deg, var(--case-border), rgba(255, 0, 255, 0.05));
}

.case-step-num {
  position: relative;
  z-index: 1;
  display: grid;
  width: 24px;
  height: 24px;
  color: var(--case-accent);
  background: var(--bg-dark);
  border: 1px solid var(--case-border);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1;
  place-items: center;
}

.case-step-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
}

.case-step-head h4 {
  color: var(--text-primary);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.5;
}

.case-step-head span {
  color: var(--case-accent);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 1px;
  line-height: 1.5;
  opacity: 0.7;
}

.case-step-body p {
  max-width: 46em;
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 0.72rem;
  line-height: 1.7;
}

.case-step--judgment {
  margin: 3px -8px 0;
  padding: 13px 8px;
  background: linear-gradient(90deg, var(--case-wash), transparent 88%);
  border-bottom: 0;
  border-left: 1px solid var(--case-border);
}

.case-step--judgment .case-step-num {
  color: var(--bg-dark);
  background: var(--case-accent);
  border-color: var(--case-accent);
  box-shadow: 0 0 8px var(--case-accent);
}

.case-step--judgment .case-step-head h4 {
  color: var(--case-accent);
}

.case-step--judgment .case-step-body p {
  color: var(--text-primary);
}

.case-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(0, 240, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 1px;
  line-height: 1.5;
}

.case-card--blue .case-foot {
  border-top-color: rgba(255, 0, 255, 0.12);
}

.case-foot-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.case-foot-status i {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--case-accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--case-accent);
}

/* =========================
   Cognitive update
   ========================= */

.update-timeline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: stretch;
}

.update-stage {
  --stage-color: var(--neon-orange);
  --stage-border: rgba(255, 107, 0, 0.26);
  --stage-wash: rgba(255, 107, 0, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 272px;
  padding: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-left: 3px solid var(--stage-color);
  border-radius: 8px;
}

.update-stage::after {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  content: '';
  pointer-events: none;
  background: radial-gradient(circle, var(--stage-wash), transparent 68%);
}

.update-stage--evidence {
  --stage-color: var(--neon-yellow);
  --stage-border: rgba(255, 230, 0, 0.26);
  --stage-wash: rgba(255, 230, 0, 0.055);
}

.update-stage--now {
  --stage-color: var(--neon-green);
  --stage-border: rgba(57, 255, 20, 0.28);
  --stage-wash: rgba(57, 255, 20, 0.055);
  box-shadow: inset 0 0 28px rgba(57, 255, 20, 0.025);
}

.stage-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1.2px;
  line-height: 1.5;
}

.stage-number {
  color: var(--stage-color);
}

.stage-en {
  color: var(--text-secondary);
}

.update-stage h3 {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  color: var(--stage-color);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.45;
  text-shadow: 0 0 10px var(--stage-wash);
}

.stage-claim {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: var(--text-primary);
  font-size: 0.78rem;
  line-height: 1.75;
}

.stage-detail {
  position: relative;
  z-index: 1;
  margin-top: 7px;
  color: var(--text-secondary);
  font-size: 0.72rem;
  line-height: 1.72;
}

.stage-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: auto;
  padding-top: 13px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  font-size: 0.65rem;
  line-height: 1.65;
}

.stage-note span {
  flex: none;
  color: var(--stage-color);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.8px;
}

.stage-note p {
  margin: 0;
}

.update-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.update-connector span {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.12), rgba(0, 240, 255, 0.55));
}

.update-connector span::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 5px;
  height: 5px;
  content: '';
  border-top: 1px solid var(--neon-magenta);
  border-right: 1px solid var(--neon-magenta);
  transform: translateY(-50%) rotate(45deg);
}

.update-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding-top: 11px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(0, 240, 255, 0.14);
}

.update-footer-label {
  flex: none;
  color: var(--neon-magenta);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1.2px;
}

.update-footer p {
  flex: 1;
  color: var(--text-secondary);
  font-size: 0.68rem;
  letter-spacing: 0.3px;
  line-height: 1.65;
}

.update-footer-version {
  flex: none;
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.8px;
}

.update-footer-version i {
  padding: 0 5px;
  color: var(--text-secondary);
  font-style: normal;
}

/* =========================
   Map panel
   ========================= */

.map-panel {
  position: relative;
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.08);
}

.map-panel::before {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  width: 11px;
  height: 11px;
  content: '';
  pointer-events: none;
  border-top: 1px solid rgba(0, 240, 255, 0.5);
  border-left: 1px solid rgba(0, 240, 255, 0.5);
}

.map-panel::after {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  width: 11px;
  height: 11px;
  content: '';
  pointer-events: none;
  border-right: 1px solid rgba(255, 0, 255, 0.4);
  border-bottom: 1px solid rgba(255, 0, 255, 0.4);
}

.map-head,
.map-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 14px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1.2px;
  line-height: 1.4;
}

.map-head {
  border-bottom: 1px solid rgba(0, 240, 255, 0.16);
}

.map-foot {
  border-top: 1px solid rgba(0, 240, 255, 0.16);
}

.map-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.45);
}

.live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 7px var(--neon-green);
  animation: pulse 2s infinite;
}

.map-id {
  color: var(--text-secondary);
}

.map-canvas {
  position: relative;
  min-height: 300px;
  aspect-ratio: 1 / 0.9;
  overflow: hidden;
  isolation: isolate;
  background-color: rgba(10, 10, 18, 0.62);
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center center;
}

.map-canvas::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: '';
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 46%, rgba(0, 240, 255, 0.11), transparent 38%),
    linear-gradient(180deg, rgba(10, 10, 18, 0.05), rgba(10, 10, 18, 0.25));
}

.map-canvas::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: '';
  pointer-events: none;
  background:
    linear-gradient(to right, transparent calc(50% - 0.5px), rgba(0, 240, 255, 0.1) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to bottom, transparent calc(46% - 0.5px), rgba(0, 240, 255, 0.1) 46%, transparent calc(46% + 0.5px));
}

.map-coordinate {
  position: absolute;
  z-index: 2;
  color: rgba(136, 136, 170, 0.8);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 1px;
  pointer-events: none;
}

.map-coordinate--top {
  top: 11px;
  left: 12px;
}

.map-coordinate--side {
  right: 11px;
  bottom: 12px;
  writing-mode: vertical-rl;
}

.map-ring {
  position: absolute;
  top: 46%;
  left: 50%;
  z-index: 1;
  border: 1px solid rgba(0, 240, 255, 0.13);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.map-ring--one {
  width: 34%;
  aspect-ratio: 1;
  border-color: rgba(0, 240, 255, 0.22);
}

.map-ring--two {
  width: 58%;
  aspect-ratio: 1;
}

.map-ring--three {
  width: 84%;
  aspect-ratio: 1;
  border-color: rgba(0, 240, 255, 0.1);
  border-style: dashed;
  animation: ringSpin 90s linear infinite;
}

.map-ring--four {
  width: 108%;
  aspect-ratio: 1;
  border-color: rgba(255, 0, 255, 0.06);
}

.map-links {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.map-links line,
.map-links path {
  fill: none;
  stroke: rgba(0, 240, 255, 0.27);
  stroke-width: 1;
  stroke-dasharray: 2 5;
  vector-effect: non-scaling-stroke;
  animation: routeFlow 22s linear infinite;
}

.map-links path {
  stroke: rgba(255, 0, 255, 0.2);
  stroke-dasharray: 1 7;
}

.map-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12%;
  z-index: 3;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.7) 38%, rgba(0, 240, 255, 0.15) 78%, transparent);
  opacity: 0;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.25);
  animation: mapScan 9s linear infinite;
}

.map-node {
  --node-color: var(--neon-cyan);
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  color: var(--text-primary);
  background: rgba(10, 10, 18, 0.92);
  border: 1px solid rgba(0, 240, 255, 0.24);
  border-radius: 5px;
  font-size: 0.62rem;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.09);
  transform: translate(-50%, -50%);
}

.map-node--trust {
  --node-color: var(--neon-magenta);
}

.map-node--scene {
  --node-color: var(--neon-green);
}

.map-node--trade {
  --node-color: var(--neon-yellow);
}

.map-node--feedback {
  --node-color: var(--neon-orange);
}

.node-dot {
  width: 4px;
  height: 4px;
  background: var(--node-color);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--node-color);
}

.node-code {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.5px;
}

.node-label {
  font-size: 0.62rem;
}

.map-node--user {
  top: 22%;
  left: 17%;
}

.map-node--trust {
  top: 19%;
  left: 82%;
}

.map-node--scene {
  top: 68%;
  left: 18%;
}

.map-node--trade {
  top: 65%;
  left: 81%;
}

.map-node--feedback {
  top: 84%;
  left: 50%;
}

.map-node--center {
  top: 46%;
  left: 50%;
  flex-direction: column;
  gap: 2px;
  min-width: 98px;
  padding: 10px 11px;
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.16);
}

.map-node--center .node-code {
  color: var(--neon-cyan);
  font-size: 0.5rem;
}

.map-node--center .node-label {
  color: var(--neon-cyan);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.node-sub {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.45rem;
  letter-spacing: 1px;
}

/* Rail navigation */

.rail-nav {
  padding: 14px;
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
}

.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 1.2px;
  line-height: 1.5;
}

.rail-head span:first-child {
  color: var(--neon-magenta);
}

.rail-nav a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  font-size: 0.74rem;
  transition: color 0.25s ease, text-shadow 0.25s ease, padding-left 0.25s ease;
}

.rail-nav a:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.rail-no {
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

.rail-arrow {
  color: var(--neon-magenta);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.65;
}

.rail-nav a:hover {
  color: var(--neon-cyan);
  padding-left: 3px;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.rail-nav a:hover .rail-arrow {
  opacity: 1;
}

/* =========================
   Footer
   ========================= */

.site-footer {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--border-glow);
}

.footer-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 24px;
}

.footer-kicker {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 1.4px;
  line-height: 1.5;
}

.footer-kicker::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  content: '';
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 7px var(--neon-green);
}

.footer-copy h2 {
  margin-top: 14px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.42;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}

.return-home--footer {
  min-height: 48px;
  padding: 0 18px;
  gap: 14px;
  font-size: 0.78rem;
}

.return-arrow--footer {
  font-size: 1.05rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1px;
  line-height: 1.6;
}

.footer-bottom a {
  color: var(--neon-cyan);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.footer-bottom a:hover {
  color: var(--text-primary);
  text-shadow: 0 0 8px var(--neon-cyan);
}

/* =========================
   Motion
   ========================= */

@keyframes scanline {
  0% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

@keyframes mapScan {
  0% {
    left: 9%;
    opacity: 0;
  }
  12% {
    opacity: 0.55;
  }
  86% {
    opacity: 0.55;
  }
  100% {
    left: 91%;
    opacity: 0;
  }
}

@keyframes routeFlow {
  to {
    stroke-dashoffset: -140;
  }
}

@keyframes ringSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 1180px) {
  .main-nav {
    gap: 18px;
  }

  .content-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .side-sticky {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(240px, 1fr);
    align-items: start;
    gap: 16px;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .side-rail {
    margin-top: 8px;
  }
}

@media (max-width: 980px) {
  .header-inner {
    padding: 0 18px;
    gap: 16px;
  }

  .main-nav {
    gap: 13px;
  }

  .main-nav a {
    font-size: 0.76rem;
  }

  .main-nav a span {
    display: none;
  }

  .dm-app {
    padding-right: 20px;
    padding-left: 20px;
  }

  .update-timeline {
    grid-template-columns: minmax(0, 1fr);
  }

  .update-stage {
    min-height: 0;
  }

  .update-connector {
    height: 30px;
    padding: 0;
  }

  .update-connector span {
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.12), rgba(0, 240, 255, 0.55));
  }

  .update-connector span::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .stage-note {
    margin-top: 18px;
  }
}

@media (max-width: 820px) {
  .main-nav {
    display: none;
  }

  .brand-sub {
    letter-spacing: 1.2px;
  }

  .hero-icon {
    font-size: 2.2rem;
  }

  .framework-grid,
  .case-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .framework-grid::after {
    display: none;
  }

  .case-card {
    max-width: 680px;
  }

  .side-sticky {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-panel {
    max-width: 520px;
  }

  .rail-nav {
    max-width: 520px;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .return-home--footer {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 60px;
    padding: 0 14px;
  }

  .site-header {
    min-height: 60px;
  }

  .brand-logo {
    font-size: 1.15rem;
  }

  .brand-sub {
    font-size: 0.52rem;
  }

  .return-home--header {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.64rem;
  }

  .return-arrow {
    font-size: 0.8rem;
  }

  .dm-app {
    padding: 82px 14px 32px;
  }

  .hero-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 16px;
  }

  .eyebrow {
    font-size: 0.6rem;
    letter-spacing: 1.2px;
  }

  .hero-badges {
    gap: 6px;
  }

  .neon-badge {
    font-size: 0.56rem;
    padding: 2px 8px;
  }

  .hero-main {
    gap: 10px;
    margin-bottom: 15px;
  }

  .hero-icon {
    font-size: 1.9rem;
  }

  .hero-title {
    gap: 3px 12px;
  }

  .hero-title-main {
    font-size: clamp(1.5rem, 7.7vw, 2rem);
    letter-spacing: 1px;
  }

  .hero-title-sub {
    flex-basis: 100%;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 2px;
  }

  .hero-intro {
    margin-top: 10px;
    padding: 9px 11px;
    font-size: 0.75rem;
    line-height: 1.7;
  }

  .hero-link {
    font-size: 0.64rem;
  }

  .meta-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 14px;
  }

  .meta-item {
    padding: 10px 12px;
  }

  .meta-item > span {
    font-size: 0.6rem;
  }

  .meta-item strong {
    font-size: 0.75rem;
  }

  .hero-ticker {
    gap: 8px;
    font-size: 0.56rem;
    letter-spacing: 0.8px;
  }

  .hero-ticker span:first-child {
    display: none;
  }

  .section {
    margin-bottom: 28px;
  }

  .section-heading {
    margin-bottom: 13px;
    padding-bottom: 10px;
  }

  .section-kicker {
    flex-basis: 100%;
    margin-left: 0;
    font-size: 0.56rem;
  }

  .section-heading h2 {
    font-size: 0.98rem;
  }

  .section-intro {
    padding: 9px 11px;
    font-size: 0.74rem;
    line-height: 1.68;
  }

  .lens-card {
    padding: 15px;
  }

  .lens-heading {
    gap: 10px;
  }

  .lens-icon {
    width: 40px;
    height: 40px;
  }

  .lens-icon svg {
    width: 29px;
    height: 29px;
  }

  .lens-copy {
    font-size: 0.75rem;
  }

  .lens-list h4 {
    font-size: 0.75rem;
  }

  .lens-list p {
    font-size: 0.7rem;
  }

  .synthesis {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
  }

  .synthesis-copy p {
    font-size: 0.77rem;
  }

  .synthesis-arrow {
    display: none;
  }

  .case-head {
    padding: 15px;
  }

  .case-head::after {
    top: 0;
    right: 10px;
    font-size: 4.6rem;
  }

  .case-head h3 {
    font-size: 0.9rem;
  }

  .case-summary {
    font-size: 0.72rem;
  }

  .case-steps {
    padding: 3px 15px 7px;
  }

  .case-step {
    padding: 13px 0;
  }

  .case-step--judgment {
    margin-right: -6px;
    margin-left: -6px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .case-foot {
    padding: 10px 15px;
  }

  .update-stage {
    padding: 14px;
  }

  .update-stage h3 {
    margin-top: 17px;
    font-size: 0.98rem;
  }

  .stage-claim {
    font-size: 0.75rem;
  }

  .stage-detail {
    font-size: 0.7rem;
  }

  .update-footer {
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 12px;
    padding-top: 10px;
  }

  .update-footer p {
    order: 3;
    flex-basis: 100%;
    font-size: 0.64rem;
  }

  .map-panel {
    max-width: none;
  }

  .rail-nav {
    max-width: none;
  }

  .map-canvas {
    min-height: 280px;
  }

  .map-node {
    font-size: 0.58rem;
    padding: 4px 6px;
  }

  .node-code {
    font-size: 0.46rem;
  }

  .map-node--center {
    min-width: 90px;
    padding: 9px 10px;
  }

  .map-node--center .node-label {
    font-size: 0.64rem;
  }

  .site-footer {
    margin-top: 28px;
    padding-top: 22px;
  }

  .footer-copy h2 {
    font-size: 1.45rem;
  }

  .footer-main {
    gap: 18px;
    padding-bottom: 18px;
  }

  .return-home--footer {
    max-width: none;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 7px 14px;
    padding-top: 12px;
    font-size: 0.54rem;
  }

  .footer-bottom span:nth-child(2) {
    display: none;
  }

  .footer-bottom a {
    margin-left: auto;
  }
}

@media (max-width: 420px) {
  .brand-sub {
    display: none;
  }

  .return-home--header {
    padding: 0 9px;
  }

  .hero-icon {
    display: none;
  }

  .hero-title-main {
    font-size: 1.55rem;
  }

  .hero-title-sub {
    font-size: 0.9rem;
  }

  .map-node .node-code {
    display: none;
  }

  .map-node--center .node-code {
    display: block;
  }

  .case-step-body p {
    font-size: 0.7rem;
  }

  .update-footer-label {
    flex-basis: 100%;
  }
}

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