/* ============================================================
   SiteIntel.cn — Static Landing
   Design tokens: Light (default) + Dark + System
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC",
    "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono",
    "Ubuntu Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Light theme */
  --bg: #f6f8fa;
  --bg-soft: #eef1f5;
  --bg-deep: #e9edf2;
  --surface: #ffffff;
  --surface-2: #fbfcfd;
  --border: rgba(16, 24, 40, 0.09);
  --border-strong: rgba(16, 24, 40, 0.17);
  --text-1: #0e1524;
  --text-2: #41506a;
  --text-3: #64718a;
  --accent: #0b7a6e;
  --accent-strong: #075e55;
  --accent-ink: #ffffff;
  --accent-soft: rgba(11, 122, 110, 0.08);
  --accent-border: rgba(11, 122, 110, 0.26);
  --amber: #8a5a0b;
  --amber-soft: rgba(200, 138, 20, 0.1);
  --amber-border: rgba(176, 116, 12, 0.35);
  --focus: #0b7a6e;
  --glow: rgba(11, 122, 110, 0.12);
  --dot: rgba(16, 24, 40, 0.16);
  --header-bg: rgba(246, 248, 250, 0.78);
  --shadow-1: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 24px -18px rgba(16, 24, 40, 0.22);
  --shadow-2: 0 1px 1px rgba(16, 24, 40, 0.04), 0 24px 60px -32px rgba(16, 24, 40, 0.3);
  --sweep-opacity: 0.08;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0a0c11;
  --bg-soft: #0e1219;
  --bg-deep: #07090d;
  --surface: #121722;
  --surface-2: #151b27;
  --border: rgba(228, 238, 255, 0.09);
  --border-strong: rgba(228, 238, 255, 0.17);
  --text-1: #e9edf5;
  --text-2: #a9b4c4;
  --text-3: #7f8ba0;
  --accent: #3fd4bd;
  --accent-strong: #5ce0cb;
  --accent-ink: #04211c;
  --accent-soft: rgba(63, 212, 189, 0.09);
  --accent-border: rgba(63, 212, 189, 0.3);
  --amber: #e8bd6a;
  --amber-soft: rgba(232, 189, 106, 0.1);
  --amber-border: rgba(232, 189, 106, 0.35);
  --focus: #6fe8d5;
  --glow: rgba(63, 212, 189, 0.1);
  --dot: rgba(228, 238, 255, 0.13);
  --header-bg: rgba(10, 12, 17, 0.72);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.35), 0 12px 32px -18px rgba(0, 0, 0, 0.55);
  --shadow-2: 0 1px 1px rgba(0, 0, 0, 0.3), 0 28px 70px -36px rgba(0, 0, 0, 0.7);
  --sweep-opacity: 0.07;
  color-scheme: dark;
}

/* System: follow OS when data-theme="system" (default on <html>) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0c11;
    --bg-soft: #0e1219;
    --bg-deep: #07090d;
    --surface: #121722;
    --surface-2: #151b27;
    --border: rgba(228, 238, 255, 0.09);
    --border-strong: rgba(228, 238, 255, 0.17);
    --text-1: #e9edf5;
    --text-2: #a9b4c4;
    --text-3: #7f8ba0;
    --accent: #3fd4bd;
    --accent-strong: #5ce0cb;
    --accent-ink: #04211c;
    --accent-soft: rgba(63, 212, 189, 0.09);
    --accent-border: rgba(63, 212, 189, 0.3);
    --amber: #e8bd6a;
    --amber-soft: rgba(232, 189, 106, 0.1);
    --amber-border: rgba(232, 189, 106, 0.35);
    --focus: #6fe8d5;
    --glow: rgba(63, 212, 189, 0.1);
    --dot: rgba(228, 238, 255, 0.13);
    --header-bg: rgba(10, 12, 17, 0.72);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.35), 0 12px 32px -18px rgba(0, 0, 0, 0.55);
    --shadow-2: 0 1px 1px rgba(0, 0, 0, 0.3), 0 28px 70px -36px rgba(0, 0, 0, 0.7);
    --sweep-opacity: 0.07;
    color-scheme: dark;
  }
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
b, strong { font-weight: 650; color: var(--text-1); }
em { font-style: normal; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.accent-strong { color: var(--accent); font-weight: 650; }

/* ---------- 3. Utilities ---------- */
.container {
  width: 100%;
  max-width: 1224px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 44px);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 10px;
  background: var(--surface); color: var(--text-1);
  border: 1px solid var(--border-strong);
  font-size: 14px; font-weight: 600;
  transform: translateY(-160%); opacity: 0; transition: transform 0.25s ease, opacity 0.25s ease;
}
.skip-link:focus { transform: none; opacity: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
  flex: none;
}
.eyebrow-no { color: var(--text-3); margin-right: 2px; }

.section { padding: clamp(84px, 11vw, 148px) 0; position: relative; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 40px; align-items: end;
}
.center-head { max-width: 860px; margin-inline: auto; text-align: center; }
.center-head .eyebrow { justify-content: center; }
.section-title {
  margin-top: 18px;
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
  line-height: 1.18; letter-spacing: -0.02em;
  color: var(--text-1); font-weight: 700;
  text-wrap: balance;
}
.section-lede { margin-top: 20px; color: var(--text-2); font-size: clamp(1rem, 1.4vw, 1.1rem); max-width: 46ch; }
.center-head .section-lede { margin-inline: auto; }
.split-head .sh-right .section-lede { margin-top: 4px; }

/* Reveal-on-scroll (activated only with JS + motion ok) */
html.js:not(.reduced-motion) .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
html.js:not(.reduced-motion) .reveal.in-view { opacity: 1; transform: none; }
html.reduced-motion .reveal { opacity: 1; transform: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 12px; font-weight: 600; font-size: 15px;
  padding: 12px 22px; border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 1px 2px rgba(0,0,0,0.12), 0 10px 24px -12px var(--glow);
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  border-color: var(--border-strong); color: var(--text-1); background: var(--surface);
}
.btn-ghost:hover { border-color: var(--accent-border); color: var(--accent); background: var(--accent-soft); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }

.live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); margin-right: 6px; vertical-align: 1px;
}
.live-dot::after {
  content: ""; display: block; width: 7px; height: 7px; border-radius: 50%;
  background: inherit; opacity: 0.6;
  animation: livePulse 2.2s ease-out infinite;
}
@keyframes livePulse { 0% { transform: scale(1); opacity: 0.6; } 70% { transform: scale(2.5); opacity: 0; } 100% { opacity: 0; } }

.badge-example {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--amber);
  background: var(--amber-soft); border: 1px solid var(--amber-border);
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.badge-example svg { width: 12px; height: 12px; }

.icon-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px; border: 1px solid var(--border);
  color: var(--text-2); background: var(--surface);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent-border); background: var(--accent-soft); }
.icon-btn svg { width: 19px; height: 19px; }

/* ---------- 4. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-inner {
  height: 68px; display: flex; align-items: center; gap: 26px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text-1); flex: none; }
.brand-mark { width: 26px; height: 26px; color: var(--accent); }
.brand-name { font-weight: 750; font-size: 16px; letter-spacing: 0.14em; }
.site-nav { margin-inline: auto; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
  display: block; padding: 9px 13px; border-radius: 9px;
  font-size: 14.5px; font-weight: 550; color: var(--text-2);
  transition: color 0.16s ease, background 0.16s ease;
}
.site-nav a:hover { color: var(--text-1); background: var(--accent-soft); }
.site-nav a.active { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* Theme switch */
.theme-switch { position: relative; }
.theme-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 120;
  width: 232px; padding: 7px;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 14px; box-shadow: var(--shadow-2);
}
.theme-menu button {
  width: 100%; display: flex; align-items: center; gap: 11px;
  padding: 9px 11px; border-radius: 9px; text-align: left;
  color: var(--text-2); transition: background 0.15s ease, color 0.15s ease;
}
.theme-menu button:hover { background: var(--accent-soft); color: var(--text-1); }
.theme-menu button[aria-checked="true"] { color: var(--accent); }
.tm-ic { width: 26px; height: 26px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 7px; color: var(--text-2); }
.theme-menu button[aria-checked="true"] .tm-ic { border-color: var(--accent-border); color: var(--accent); }
.tm-ic svg { width: 15px; height: 15px; }
.tm-t { display: flex; flex-direction: column; line-height: 1.25; font-size: 14px; font-weight: 600; color: var(--text-1); }
.tm-t small { font-size: 11.5px; font-weight: 450; color: var(--text-3); }
.tm-check { margin-left: auto; font-size: 13px; color: var(--accent); opacity: 0; }
.theme-menu button[aria-checked="true"] .tm-check { opacity: 1; }

/* Mobile nav toggle */
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); flex-direction: column; align-items: center; justify-content: center; gap: 4.5px; }
.nav-toggle .nt-line { width: 17px; height: 1.7px; border-radius: 2px; background: var(--text-1); transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] .nt-line:nth-child(1) { transform: translateY(6.2px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nt-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nt-line:nth-child(3) { transform: translateY(-6.2px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(150px, 20vh, 210px) 0 clamp(70px, 9vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 30% 12%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 75% at 30% 12%, #000 20%, transparent 78%);
  opacity: 0.5;
}
.hero::after {
  content: ""; position: absolute; top: -180px; right: -140px; width: 640px; height: 640px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--glow), transparent 65%);
}
.hero-grid {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(40px, 5vw, 76px); align-items: center;
}
.hero-title {
  margin-top: 26px;
  font-size: clamp(2.5rem, 5.3vw, 4.3rem);
  line-height: 1.13; letter-spacing: -0.015em; color: var(--text-1); font-weight: 750;
}
.hero-title em { color: var(--accent); }
.hero-en {
  margin-top: 20px; font-family: var(--font-mono); font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  letter-spacing: 0.02em; color: var(--text-3);
}
.hero-sub { margin-top: 16px; max-width: 44ch; font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--text-2); }

/* Analyzer */
.analyzer { margin-top: 34px; }
.analyzer-form {
  display: flex; align-items: center; gap: 10px;
  max-width: 640px; padding: 9px 9px 9px 18px;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 16px; box-shadow: var(--shadow-1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.analyzer-form:focus-within {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-1);
}
.af-prefix { color: var(--text-3); display: inline-flex; flex: none; }
.af-prefix svg { width: 21px; height: 21px; }
.analyzer-input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  font-size: 16.5px; color: var(--text-1); padding: 10px 2px;
  font-family: var(--font-mono);
}
.analyzer-input::placeholder { color: var(--text-3); opacity: 0.85; }
.analyzer-go { flex: none; }
.ag-arrow { transition: transform 0.2s ease; }
.analyzer-go:hover .ag-arrow { transform: translateX(3px); }
.analyzer-foot {
  display: flex; align-items: center; gap: 20px; margin-top: 13px;
  max-width: 640px; flex-wrap: wrap;
}
.try-link {
  color: var(--accent); font-weight: 600; font-size: 14.5px;
  padding: 4px 0; border-bottom: 1px dashed var(--accent-border);
  transition: color 0.15s ease;
}
.try-link:hover { color: var(--accent-strong); }
.analyzer-note {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--text-3);
}
.analyzer-note svg { width: 15px; height: 15px; flex: none; }

/* Analyzer simulated state */
.analyzer-state {
  margin-top: 18px; max-width: 640px;
  padding: 15px 18px; border: 1px solid var(--border);
  border-radius: 14px; background: var(--surface-2);
}
.as-head { display: flex; align-items: center; gap: 12px; }
.as-spinner {
  width: 17px; height: 17px; flex: none; border-radius: 50%;
  border: 2px solid var(--accent-border); border-top-color: var(--accent);
  animation: spin 0.85s linear infinite;
}
.as-msg { font-family: var(--font-mono); font-size: 13.5px; color: var(--text-2); }
.as-progress {
  margin-top: 13px; height: 4px; border-radius: 99px;
  background: var(--border); overflow: hidden;
}
.as-progress span { display: block; height: 100%; width: 0%; border-radius: inherit; background: var(--accent); transition: width 0.3s ease; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Simulated result */
.result {
  margin-top: 18px; max-width: 640px;
  border: 1px solid var(--accent-border); border-radius: 16px;
  background: linear-gradient(180deg, var(--accent-soft), transparent 42%), var(--surface);
  padding: 22px; box-shadow: var(--shadow-1);
}
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.result-title { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text-1); font-size: 15.5px; }
.result-title svg { width: 19px; height: 19px; color: var(--accent); }
.result-badge {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--amber); background: var(--amber-soft);
  border: 1px solid var(--amber-border); border-radius: 999px; padding: 3px 9px;
}
.result-domain {
  margin-top: 12px; font-family: var(--font-mono); font-size: 15px; color: var(--text-2);
  word-break: break-all;
}
.result-domain b { color: var(--text-1); }
.result-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rc-chip {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-2);
  border: 1px solid var(--border); background: var(--surface-2);
  padding: 5px 10px; border-radius: 8px;
}
.rc-chip b { color: var(--accent); font-weight: 600; }
.result-facts { margin-top: 16px; border-top: 1px dashed var(--border-strong); padding-top: 14px; }
.rf-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.result-facts ul { margin-top: 8px; display: grid; gap: 7px; }
.result-facts li { display: flex; gap: 9px; font-size: 13.5px; color: var(--text-2); align-items: flex-start; }
.result-facts li svg { width: 14px; height: 14px; flex: none; margin-top: 4px; color: var(--accent); }
.result-insight {
  margin-top: 14px; border-radius: 12px; background: var(--surface-2);
  border: 1px solid var(--border); padding: 13px 15px;
  font-size: 14px; color: var(--text-2);
}
.result-insight b { color: var(--text-1); }
.result-foot { margin-top: 14px; display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--text-3); }
.result-foot svg { width: 14px; height: 14px; flex: none; }

/* Hero trust points */
.hero-points { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 34px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-3); font-weight: 550; }
.hero-points svg { width: 15px; height: 15px; color: var(--accent); }

/* Net card (hero decomposition chain) */
.net-card {
  border: 1px solid var(--border); border-radius: 20px;
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  box-shadow: var(--shadow-2); overflow: hidden;
  position: relative;
}
.net-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 26px 26px; opacity: 0.4;
}
.net-card-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em;
  color: var(--text-3); text-transform: uppercase;
  position: relative; z-index: 1;
}
.nch-dots { display: inline-flex; gap: 5px; }
.nch-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.nch-title { margin-right: auto; }
.nch-live { display: inline-flex; align-items: center; color: var(--accent); letter-spacing: 0.1em; }

/* Hero decomposition chain */
.hn-chain { position: relative; padding: 26px 20px 20px; z-index: 1; }
.hn-chain::before {
  content: ""; position: absolute; left: 51px; top: 30px; bottom: 30px; width: 1px;
  background: linear-gradient(180deg, transparent, var(--accent-border) 12%, var(--border) 55%, transparent);
}
.hn-node { display: flex; align-items: center; gap: 16px; position: relative; padding: 7px 0; }
.hn-dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--surface); border: 2px solid var(--accent);
  margin-left: 26px; z-index: 2; box-shadow: 0 0 0 4px var(--accent-soft);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.hn-node:hover .hn-dot { transform: scale(1.25); box-shadow: 0 0 0 7px var(--accent-soft); }
.hn-chip {
  display: inline-flex; align-items: center; gap: 11px;
  min-width: 0; padding: 10px 14px; border-radius: 13px;
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.hn-node:hover .hn-chip { border-color: var(--accent-border); background: var(--surface-2); transform: translateX(3px); }
.hn-chip svg { width: 17px; height: 17px; color: var(--text-3); flex: none; transition: color 0.2s ease; }
.hn-node:hover .hn-chip svg { color: var(--accent); }
.hn-chip b { display: block; font-size: 13.5px; font-weight: 650; color: var(--text-1); line-height: 1.3; }
.hn-chip small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); line-height: 1.35; }
.net-card-cap {
  padding: 12px 18px; border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--text-3); text-transform: uppercase; position: relative; z-index: 1;
}

/* ---------- 6. Layer list (A Website Is More Than a Page) ---------- */
.layer-wrap { position: relative; }
.layer-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; max-width: 1040px;
}
.layer-item {
  position: relative; display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: start; gap: 18px;
  padding: 24px 22px; border: 1px solid var(--border);
  border-radius: 16px; background: var(--surface);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.layer-item:hover {
  border-color: var(--accent-border); background: var(--surface-2);
  transform: translateY(-2px); box-shadow: var(--shadow-1);
}
.layer-num { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); padding-top: 3px; }
.layer-ic {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; flex: none;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  transition: transform 0.22s ease;
}
.layer-item:hover .layer-ic { transform: scale(1.06); }
.layer-ic svg { width: 21px; height: 21px; }
.layer-name { font-size: 17px; font-weight: 700; color: var(--text-1); line-height: 1.3; }
.layer-en { font-size: 12.5px; font-weight: 500; color: var(--text-3); margin-left: 9px; letter-spacing: 0.04em; }
.layer-desc { margin-top: 5px; font-size: 14px; color: var(--text-2); max-width: 34ch; }
.layer-tag {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3);
  border: 1px solid var(--border); border-radius: 999px; padding: 3px 9px;
  white-space: nowrap; margin-top: 4px;
}

/* ---------- 7. Infrastructure ---------- */
.infra-grid {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(40px, 5vw, 72px); align-items: center;
}
.infra-card {
  border: 1px solid var(--border); border-radius: 20px;
  background: var(--surface); box-shadow: var(--shadow-1);
  overflow: hidden; position: relative;
}
.infra-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 26px 26px; opacity: 0.35;
}
.infra-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em;
  color: var(--text-3); text-transform: uppercase;
  position: relative; z-index: 1; flex-wrap: wrap;
}
.resolve-chain { position: relative; padding: 26px 22px 10px; z-index: 1; }
.resolve-chain::before {
  content: ""; position: absolute; left: 63px; top: 34px; bottom: 52px; width: 1.5px;
  background: linear-gradient(180deg, var(--accent), var(--accent-border) 70%, var(--border));
  z-index: 0;
}
.rc-node { position: relative; padding: 8px 0 8px 0; }
.rc-node { display: grid; grid-template-columns: 36px 1fr; align-items: center; }
.rc-dot {
  width: 11px; height: 11px; border-radius: 50%; background: var(--surface);
  border: 2.5px solid var(--accent); z-index: 2;
  box-shadow: 0 0 0 5px var(--accent-soft);
}
.rc-edge .rc-dot { border-color: var(--accent); }
.rc-last .rc-dot { border-color: var(--accent); background: var(--accent); }
.rc-card {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding: 12px 16px; border: 1px solid var(--border); border-radius: 13px;
  background: var(--surface-2); transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
}
.rc-node:hover .rc-card { border-color: var(--accent-border); transform: translateX(4px); }
.rc-card-accent { border-color: var(--accent-border); background: var(--accent-soft); }
.rc-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3); min-width: 78px;
}
.rc-value { font-family: var(--font-mono); font-size: 14.5px; font-weight: 600; color: var(--text-1); word-break: break-all; }
.rc-card-accent .rc-value { color: var(--accent); }
.rc-note {
  grid-column: 2; font-family: var(--font-mono); font-size: 11px; color: var(--text-3);
  padding: 2px 0 0 16px; opacity: 0.9;
}
.infra-card-foot {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 14px;
  margin: 6px 22px 20px 58px; padding: 10px 14px;
  border: 1px dashed var(--border-strong); border-radius: 11px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3);
  background: var(--surface-2);
}
.infra-card-foot .sep { width: 1px; height: 12px; background: var(--border-strong); }

.infra-side { display: flex; flex-direction: column; gap: 8px; }
.ip-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 18px; border: 1px solid transparent; border-radius: 15px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.ip-item:hover { border-color: var(--border); background: var(--surface); transform: translateX(4px); }
.ip-ic {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-border);
}
.ip-ic svg { width: 21px; height: 21px; }
.ip-item h3 { font-size: 16px; font-weight: 700; color: var(--text-1); }
.ip-item p { margin-top: 4px; font-size: 14px; color: var(--text-2); max-width: 46ch; }
.infra-disclaimer {
  display: flex; gap: 9px; align-items: flex-start;
  margin-top: 16px; font-size: 12.5px; color: var(--text-3);
  border: 1px dashed var(--border-strong); border-radius: 11px; padding: 11px 14px;
  background: var(--surface);
}
.infra-disclaimer svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--amber); }

/* ---------- 8. Technology ---------- */
.tech-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 5vw, 68px); align-items: start;
}
.stack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tech-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  gap: 5px; text-align: left;
  padding: 19px 18px; border: 1px solid var(--border); border-radius: 15px;
  background: var(--surface); min-height: 132px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tech-card:hover, .tech-card:focus-visible, .tech-card[aria-pressed="true"] {
  border-color: var(--accent-border); background: var(--surface-2);
  transform: translateY(-2px); box-shadow: var(--shadow-1); outline: none;
}
.tc-ic {
  width: 34px; height: 34px; border-radius: 10px; display: inline-flex;
  align-items: center; justify-content: center; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  margin-bottom: 4px;
}
.tc-ic svg { width: 17px; height: 17px; }
.tc-body b { display: block; font-size: 14.5px; color: var(--text-1); line-height: 1.3; }
.tc-body small { font-size: 11.5px; color: var(--text-3); }
.tc-value {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-2);
  margin-top: 6px; word-break: break-all;
}
.tc-value::before { content: "— "; color: var(--accent); }
.tc-src {
  font-size: 10.5px; color: var(--text-3); font-family: var(--font-mono);
  opacity: 0.85; margin-top: auto;
}
.tech-card::after {
  content: ""; position: absolute; top: 16px; right: 16px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--border-strong);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.tech-card:hover::after, .tech-card[aria-pressed="true"]::after {
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Radar panel */
.radar-panel { position: sticky; top: 104px; }
.radar-figure {
  border: 1px solid var(--border); border-radius: 20px;
  background: var(--surface); overflow: hidden;
  box-shadow: var(--shadow-1);
}
.radar-svg { width: 100%; height: auto; display: block; }
.radar-rings circle, .radar-rings path { fill: none; stroke: var(--border-strong); }
.radar-rings .rr-outer { stroke: var(--border); }
.radar-rings .rr-core { fill: var(--accent-soft); stroke: none; }
.radar-sweep { color: var(--accent); opacity: var(--sweep-opacity); transform-origin: 210px 210px; animation: sweepRotate 11s linear infinite; }
@keyframes sweepRotate { to { transform: rotate(360deg); } }
.radar-blip { transition: opacity 0.2s ease; }
.rb-ring { fill: none; stroke: var(--accent-border); opacity: 0; transition: opacity 0.2s ease; }
.rb-dot { fill: var(--text-3); transition: fill 0.2s ease; }
.rb-label { font-size: 11.5px; fill: var(--text-3); font-family: var(--font-mono); transition: fill 0.2s ease; }
.radar-blip.is-active .rb-ring { opacity: 1; animation: ringPulse 2.4s ease-out infinite; }
.radar-blip.is-active .rb-dot { fill: var(--accent); }
.radar-blip.is-active .rb-label { fill: var(--text-1); font-weight: 600; }
@keyframes ringPulse {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
.radar-blip.is-dimmed { opacity: 0.3; }
.radar-cap {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-3);
}
.radar-readout {
  margin-top: 12px; padding: 13px 16px; border: 1px solid var(--border);
  border-radius: 13px; background: var(--surface-2);
}
.rr-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--text-3); }
.radar-readout p { margin-top: 5px; font-size: 13.5px; color: var(--text-2); font-family: var(--font-mono); }
.radar-readout p b { color: var(--accent); font-weight: 600; }

/* ---------- 9. Evidence ---------- */
.derivation {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; margin-bottom: 40px;
}
.dv-step {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; color: var(--text-3);
  letter-spacing: 0.06em;
}
.dv-step i {
  width: 30px; height: 30px; border-radius: 9px; display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--text-2); background: var(--surface);
  border: 1px solid var(--border);
  font-style: normal;
}
.dv-step i svg { width: 15px; height: 15px; }
.dv-step-last { color: var(--accent); }
.dv-step-last i { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-border); }
.dv-arrow { color: var(--text-3); font-size: 15px; }

.evid-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.94fr);
  gap: 14px; align-items: stretch;
}
.evid-panel {
  border: 1px solid var(--border); border-radius: 18px;
  background: var(--surface); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-1);
}
.evid-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 15px 18px; border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.evid-panel-head h3 { font-size: 14.5px; font-weight: 700; color: var(--text-1); display: inline-flex; align-items: baseline; gap: 9px; }
.ev-cn { font-size: 11.5px; font-weight: 500; color: var(--text-3); }
.evid-count { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.evid-live { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

.ev-src-list { padding: 9px; display: flex; flex-direction: column; gap: 3px; }
.ev-src {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 12px; text-align: left; width: 100%;
  padding: 11px 12px; border-radius: 12px; border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.ev-src:hover { background: var(--bg-soft); }
.ev-src[aria-pressed="true"] {
  background: var(--accent-soft); border-color: var(--accent-border);
}
.ev-ic {
  width: 36px; height: 36px; border-radius: 10px; display: inline-flex;
  align-items: center; justify-content: center; color: var(--text-3);
  background: var(--surface-2); border: 1px solid var(--border);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.ev-src[aria-pressed="true"] .ev-ic { color: var(--accent); border-color: var(--accent-border); background: var(--surface); }
.ev-ic svg { width: 18px; height: 18px; }
.ev-name { display: flex; flex-direction: column; font-size: 14px; font-weight: 650; color: var(--text-1); line-height: 1.3; }
.ev-name small { font-size: 11.5px; font-weight: 450; color: var(--text-3); }
.ev-meta {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3);
  border: 1px solid var(--border); border-radius: 7px; padding: 3px 7px;
  white-space: nowrap; opacity: 0.9;
}
.ev-src[aria-pressed="true"] .ev-meta { border-color: var(--accent-border); color: var(--accent); }

.fact-list { padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; }
.fact-item { display: flex; gap: 11px; align-items: flex-start; }
.fact-item svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--accent); }
.fact-t { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.fact-t b { color: var(--text-1); font-weight: 650; }
.fact-trace {
  margin: auto 18px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 11px 13px; border: 1px dashed var(--border-strong); border-radius: 11px;
  background: var(--surface-2);
}
.ft-key { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--text-3); text-transform: uppercase; }
.ft-val { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }

.evid-insight { background: linear-gradient(180deg, var(--accent-soft), transparent 55%), var(--surface); border-color: var(--accent-border); }
.insight-text { padding: 20px 20px 8px; font-size: 16px; line-height: 1.75; color: var(--text-2); }
.insight-text b { color: var(--text-1); }
.insight-chain {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 16px 20px 0; padding-top: 13px; border-top: 1px dashed var(--border-strong);
}
.ic-node {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3);
  border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px;
  background: var(--surface);
}
.ic-node:last-child { color: var(--accent); border-color: var(--accent-border); background: var(--accent-soft); }
.ic-link { color: var(--text-3); font-size: 11px; }
.insight-note {
  display: flex; gap: 8px; align-items: flex-start; margin: auto 20px 18px; padding-top: 14px;
  font-size: 12px; color: var(--text-3);
}
.insight-note svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }

/* ---------- 10. History ---------- */
.history-layout {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 5vw, 72px); align-items: start;
}
.timeline { position: relative; padding-left: 6px; }
.timeline::before {
  content: ""; position: absolute; left: 13px; top: 12px; bottom: 12px; width: 1.5px;
  background: linear-gradient(180deg, var(--accent-border), var(--border));
}
.tl-item { position: relative; padding: 0 0 30px 56px; }
.tl-item:last-child { padding-bottom: 6px; }
.tl-dot {
  position: absolute; left: 0; top: 5px;
  width: 27px; height: 27px; border-radius: 50%;
  border: 1px solid var(--accent-border); background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center;
}
.tl-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tl-card {
  border: 1px solid var(--border); border-radius: 16px;
  background: var(--surface); padding: 18px 20px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tl-item:hover .tl-card { border-color: var(--accent-border); transform: translateX(3px); box-shadow: var(--shadow-1); }
.tl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tl-date { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); letter-spacing: 0.04em; }
.tl-badge {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--accent-border); border-radius: 999px; padding: 2px 8px;
  background: var(--accent-soft);
}
.tl-title { margin-top: 10px; font-size: 16.5px; font-weight: 700; color: var(--text-1); }
.tl-cn { font-size: 12px; font-weight: 500; color: var(--text-3); margin-left: 8px; }
.tl-desc { margin-top: 5px; font-size: 14px; color: var(--text-2); max-width: 52ch; }
.tl-meta { margin-top: 9px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); border-top: 1px dashed var(--border); padding-top: 9px; }

.hstat-card {
  border: 1px solid var(--border); border-radius: 18px;
  background: var(--surface); overflow: hidden; box-shadow: var(--shadow-1);
  position: sticky; top: 104px;
}
.hstat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 16px; border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--text-3); text-transform: uppercase;
}
.hstat-domain { padding: 20px 20px 8px; display: flex; flex-direction: column; gap: 8px; }
.hstat-live { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.hstat-name { font-family: var(--font-mono); font-size: 21px; color: var(--text-1); font-weight: 600; word-break: break-all; }
.hstat-grid {
  padding: 14px 20px 18px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.hstat-grid dt { font-size: 11px; color: var(--text-3); }
.hstat-grid dd { font-family: var(--font-mono); font-size: 17px; color: var(--text-1); font-weight: 650; margin-top: 1px; }
.hstat-grid div:nth-child(5) dd, .hstat-grid div:nth-child(6) dd { font-size: 13px; padding-top: 2px; }
.hstat-foot {
  display: flex; align-items: center; gap: 9px;
  border-top: 1px dashed var(--border); margin: 0 20px; padding: 13px 0 16px;
  font-size: 12.5px; color: var(--text-3);
}
.hstat-foot svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* ---------- 11. Discovery ---------- */
.disc-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 72px); align-items: center;
}
.disc-origin {
  display: inline-flex; flex-direction: column; gap: 10px;
  border: 1px solid var(--border); border-radius: 16px;
  background: var(--surface); padding: 16px 18px; box-shadow: var(--shadow-1);
}
.do-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--text-3); text-transform: uppercase; }
.do-domain { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 19px; font-weight: 650; color: var(--text-1); }
.do-domain svg { width: 20px; height: 20px; color: var(--accent); }
.disc-dims { margin-top: 22px; display: flex; flex-direction: column; gap: 4px; }
.disc-dims li { display: flex; align-items: center; gap: 14px; padding: 12px 10px; border-radius: 12px; transition: background 0.18s ease, transform 0.18s ease; }
.disc-dims li:hover { background: var(--surface); transform: translateX(4px); }
.dd-ic {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-border);
}
.dd-ic svg { width: 19px; height: 19px; }
.disc-dims b { display: block; font-size: 14.5px; color: var(--text-1); line-height: 1.35; }
.disc-dims small { font-size: 12px; color: var(--text-3); }
.disc-note { margin-top: 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.disc-note-txt { font-size: 12.5px; color: var(--text-3); }

.disc-figure {
  border: 1px solid var(--border); border-radius: 20px;
  background: var(--surface); overflow: hidden; box-shadow: var(--shadow-1);
}
.disc-svg { width: 100%; height: auto; display: block; }
.db-ring { fill: none; stroke: var(--border-strong); }
.db-ring-dash { stroke-dasharray: 3 6; }
.db-hex { fill: none; stroke: var(--border); }
.dn-link { stroke: var(--border-strong); stroke-width: 1.2; transition: stroke 0.25s ease, stroke-width 0.25s ease; }
.dn-halo { fill: none; stroke: var(--accent-border); opacity: 0; transition: opacity 0.25s ease; }
.dn-dot { fill: var(--text-3); transition: fill 0.25s ease, transform 0.25s ease; }
.dn-name { font-size: 12px; fill: var(--text-2); font-weight: 600; transition: fill 0.2s ease; }
.dn-det { font-size: 9.5px; fill: var(--text-3); font-family: var(--font-mono); transition: fill 0.2s ease; }
.dn-node:hover .dn-link, .dn-node.is-active .dn-link { stroke: var(--accent); stroke-width: 1.8; }
.dn-node:hover .dn-halo, .dn-node.is-active .dn-halo { opacity: 1; animation: ringPulse 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.dn-node:hover .dn-dot, .dn-node.is-active .dn-dot { fill: var(--accent); }
.dn-node:hover .dn-name, .dn-node.is-active .dn-name { fill: var(--text-1); }
.dn-node:hover .dn-det, .dn-node.is-active .dn-det { fill: var(--accent); }
.dc-halo { fill: none; stroke: var(--accent-border); animation: centerPulse 3.2s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.dc-dot { fill: var(--accent); }
.dc-name { font-size: 15px; font-weight: 700; fill: var(--text-1); font-family: var(--font-mono); }
@keyframes centerPulse {
  0% { opacity: 1; transform: scale(0.86); }
  70% { opacity: 0; transform: scale(1.35); }
  100% { opacity: 0; transform: scale(1.35); }
}

/* ---------- 12. Data model pipeline ---------- */
.pipeline {
  display: flex; align-items: stretch; justify-content: center;
  gap: 10px; flex-wrap: wrap;
}
.pp-step {
  position: relative; flex: 1 1 158px; max-width: 196px;
  border: 1px solid var(--border); border-radius: 17px;
  background: var(--surface); padding: 22px 18px 18px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pp-step:hover { border-color: var(--accent-border); transform: translateY(-3px); box-shadow: var(--shadow-1); }
.pp-num {
  position: absolute; top: 13px; right: 15px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-3);
}
.pp-ic {
  width: 40px; height: 40px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-border);
}
.pp-ic svg { width: 20px; height: 20px; }
.pp-step h3 { margin-top: 13px; font-size: 15px; font-weight: 700; color: var(--text-1); }
.pp-step h3 small { display: block; font-size: 11.5px; font-weight: 500; color: var(--text-3); margin-top: 2px; }
.pp-step p { margin-top: 7px; font-size: 12.5px; color: var(--text-2); line-height: 1.6; }
.pp-arrow {
  align-self: center; color: var(--accent); font-size: 18px; font-weight: 600;
  flex: none; padding: 0 2px;
}
.pp-step-last { border-color: var(--accent-border); background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--surface); }

/* ---------- 13. CTA ---------- */
.cta-section { padding-top: clamp(40px, 6vw, 80px); }
.cta-panel {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--border); border-radius: 26px;
  padding: clamp(52px, 8vw, 92px) clamp(24px, 6vw, 80px);
  background: var(--surface);
  box-shadow: var(--shadow-2);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 30px 30px; opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse 75% 90% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 90% at 50% 0%, #000, transparent 75%);
}
.cta-eyebrow { justify-content: center; position: relative; }
.cta-title {
  position: relative; margin-top: 18px;
  font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.02em;
  color: var(--text-1); font-weight: 750; line-height: 1.12;
}
.cta-sub { position: relative; margin-top: 14px; color: var(--text-2); font-size: clamp(1rem, 1.5vw, 1.14rem); }
.cta-panel .analyzer { position: relative; max-width: 620px; margin-inline: auto; }
.cta-panel .analyzer-form { margin-inline: auto; }

/* ---------- 14. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  margin-top: clamp(60px, 8vw, 110px);
  padding: clamp(44px, 6vw, 72px) 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr) minmax(0, 0.7fr);
  gap: 40px;
}
.footer-brand .brand { color: var(--text-1); }
.footer-tag { margin-top: 16px; font-size: 14px; line-height: 1.8; color: var(--text-3); }
.footer-nav-title { font-size: 12px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer-nav ul, .footer-meta ul { display: flex; flex-direction: column; gap: 9px; }
.footer-nav a, .footer-meta a { font-size: 14.5px; color: var(--text-2); transition: color 0.16s ease; }
.footer-nav a:hover, .footer-meta a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--text-3);
}

/* ---------- 15. Reduced motion ---------- */
@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;
  }
}

/* ---------- 16. Responsive ---------- */
@media (max-width: 1180px) {
  .layer-list { grid-template-columns: 1fr; max-width: 760px; }
  .evid-layout { grid-template-columns: 1fr 1fr; }
  .evid-insight { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 620px; }
  .split-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .split-head .sh-right .section-lede { margin-top: 14px; max-width: 60ch; }
  .infra-grid { grid-template-columns: 1fr; }
  .infra-card { max-width: 680px; }
  .tech-grid { grid-template-columns: 1fr; }
  .radar-panel { position: static; max-width: 560px; }
  .history-layout { grid-template-columns: 1fr; }
  .hstat-card { position: static; max-width: 560px; }
  .disc-grid { grid-template-columns: 1fr; }
  .disc-copy { max-width: 640px; order: 2; }
  .disc-visual { max-width: 620px; order: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile navigation */
@media (max-width: 980px) {
  .site-nav {
    position: fixed; z-index: 99; left: 16px; right: 16px; top: calc(68px + 12px);
    background: var(--surface); border: 1px solid var(--border-strong);
    border-radius: 18px; box-shadow: var(--shadow-2);
    padding: 10px; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 13px 15px; font-size: 16px; border-radius: 12px; }
  .nav-toggle { display: inline-flex; }
  .header-explore { display: none; }
}

@media (max-width: 700px) {
  .hero { padding-top: clamp(126px, 24vw, 160px); }
  .hero-points { gap: 10px 18px; }
  .hero-points li { font-size: 12.5px; }
  .hn-chain { padding: 18px 14px 14px; }
  .hn-chain::before { left: 27px; }
  .hn-node { gap: 11px; padding: 5px 0; }
  .hn-dot { margin-left: 4px; width: 8px; height: 8px; }
  .hn-chip { padding: 8px 11px; gap: 9px; }
  .hn-chip svg { width: 15px; height: 15px; }
  .hn-chip b { font-size: 12.5px; }
  .hn-chip small { font-size: 10.5px; }
  .hn-node[data-m-hide="1"] { display: none; }
  .layer-item { grid-template-columns: auto 1fr; gap: 14px; padding: 20px 16px; }
  .layer-num { display: none; }
  .layer-tag { display: none; }
  .derivation { gap: 8px; }
  .dv-step { font-size: 11.5px; }
  .dv-step i { width: 25px; height: 25px; }
  .rc-note { grid-column: 1 / -1; padding-left: 0; }
  .evid-layout { grid-template-columns: 1fr; }
  .evid-insight { grid-column: auto; }
  .timeline::before { left: 9px; }
  .tl-item { padding-left: 40px; }
  .tl-dot { width: 21px; height: 21px; top: 7px; }
  .pipeline { flex-direction: column; align-items: stretch; max-width: 460px; margin-inline: auto; }
  .pp-step { max-width: none; flex: none; }
  .pp-arrow { align-self: center; transform: rotate(90deg); padding: 2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .analyzer-form { flex-wrap: wrap; padding: 8px 8px 8px 14px; row-gap: 8px; }
  .analyzer-go { flex-basis: 100%; margin-top: 2px; }
  .analyzer-foot { gap: 12px; }
  .stack-grid { grid-template-columns: 1fr; }
  .tech-card { min-height: 0; }
  .net-card-head { padding: 12px 13px; }
  .infra-card-head { padding: 12px 14px; }
  .resolve-chain { padding: 20px 14px 8px; }
  .resolve-chain::before { left: 41px; }
  .rc-card { padding: 10px 12px; }
  .rc-label { min-width: 0; flex-basis: 100%; }
  .infra-card-foot { margin-left: 14px; margin-right: 14px; flex-wrap: wrap; }
  .rc-dot { width: 9px; height: 9px; border-width: 2px; }
  .hstat-grid { grid-template-columns: 1fr 1fr; }
  .result { padding: 17px; }
  .result-chips .rc-chip { font-size: 11px; }
}

@media (max-width: 430px) {
  .brand-name { font-size: 14.5px; letter-spacing: 0.1em; }
  .header-actions { gap: 7px; }
  .header-search { display: none; }
  .theme-menu { right: -6px; }
  .hero-title { font-size: clamp(2.15rem, 11vw, 2.7rem); }
  .cta-panel { border-radius: 20px; }
}

/* ---------- 17. Anchors & focus polish ---------- */
#intelligence, #technology, #infrastructure, #evidence, #history, #discovery, #model, #cta, #hero { scroll-margin-top: 92px; }
.tech-card:focus-visible { box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-1); }
.ev-src:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.analyzer-input:focus-visible { outline: none; }
.analyzer-error {
  margin-top: 10px; font-size: 13px; color: #c2410c;
  display: inline-flex; align-items: center; gap: 7px;
}
.analyzer-error svg { width: 15px; height: 15px; flex: none; }

/* ---------- 18. Footer ICP ---------- */
.footer-icp a {
  color: inherit;
  border-bottom: 1px dotted var(--border-strong);
  transition: color 0.16s ease, border-color 0.16s ease;
}
.footer-icp a:hover { color: var(--accent); border-color: var(--accent-border); }
