:root {
  --bg: #f3f7fb;
  --text: #10233f;
  --primary: #006bff;
  --ink: #10233f;
  --ink-soft: #4b5f79;
  --paper: #f3f7fb;
  --surface: #ffffff;
  --navy: #062b66;
  --navy-2: #0b3d86;
  --blue: #006bff;
  --blue-deep: #0058d6;
  --yellow: #ffcc00;
  --yellow-soft: #fff2a6;
  --cyan: #15d6e2;
  --line: #d7e2ef;
  --line-strong: #b7c8db;
  --success: #087f5b;
  --shadow: 0 18px 50px rgba(6, 43, 102, .13);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", Arial, sans-serif;
  --step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + .45vw, 1.5rem);
  --step-2: clamp(1.55rem, 1.3rem + 1vw, 2.15rem);
  --step-3: clamp(2.15rem, 1.6rem + 2.3vw, 3.7rem);
  --step-4: clamp(3rem, 2rem + 4.2vw, 5.8rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::selection { color: #fff; background: var(--blue); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
p, li, blockquote, h1, h2, h3, h4 { overflow-wrap: anywhere; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-150%); padding: 10px 14px; color: #fff; background: var(--navy); border-radius: var(--radius-sm); }
.skip-link:focus { transform: translateY(0); }
.reading-progress { position: fixed; z-index: 120; top: 0; left: 0; width: 100%; height: 4px; background: rgba(255,255,255,.2); }
.reading-progress span { display: block; width: 100%; height: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; }

.site-header { position: sticky; top: 0; z-index: 100; color: #fff; background: rgba(6, 43, 102, .95); border-bottom: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(16px); }
.nav-shell { width: min(calc(100% - 32px), 1200px); min-height: 72px; margin: auto; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-height: 48px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: var(--navy); background: var(--yellow); border-radius: 10px; font-weight: 800; }
.brand strong, .brand small { display: block; line-height: 1.25; }
.brand strong { font-size: 16px; }
.brand small { color: #c5d8f4; font-size: 12px; }
.desktop-nav { margin-left: auto; display: flex; gap: 28px; }
.desktop-nav a { position: relative; display: flex; align-items: center; min-height: 44px; color: #dbe9fb; font-size: 14px; font-weight: 600; text-decoration: none; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: var(--yellow); transition: right 180ms ease; }
.desktop-nav a:hover::after { right: 0; }
.nav-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; color: var(--navy); background: var(--yellow); border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; text-decoration: none; }

.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 78% 12%, rgba(21,214,226,.22), transparent 30%), linear-gradient(125deg, transparent 0 56%, rgba(0,107,255,.2) 56% 100%); }
.hero-shell { position: relative; width: min(calc(100% - 32px), 1200px); min-height: 720px; margin: auto; padding: 72px 0 96px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); align-items: center; gap: 72px; }
.hero-copy { position: relative; z-index: 2; }
.status-line { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: #d7e9ff; font-size: 14px; font-weight: 600; }
.status-line span { width: 9px; height: 9px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 0 6px rgba(21,214,226,.13); }
.hero h1 { max-width: 760px; margin: 0; font-size: var(--step-4); line-height: 1.03; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
.hero h1 mark { color: var(--yellow); background: none; }
.hero-lead { max-width: 610px; margin: 28px 0 0; color: #d5e4f7; font-size: var(--step-1); line-height: 1.65; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.primary-action { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; color: var(--navy); background: var(--yellow); border-radius: var(--radius-sm); font-weight: 750; text-decoration: none; box-shadow: 0 8px 24px rgba(255,204,0,.22); transition: transform 180ms cubic-bezier(.16,1,.3,1), background-color 180ms ease; }
.primary-action:hover { transform: translateY(-2px); background: #ffda3c; }
.text-action { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 650; }
.scope-note { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.17); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; color: #aac2e1; font-size: 13px; }
.scope-note strong { color: #fff; }
.scope-note span { padding: 4px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; }

.dispatch-board { position: relative; z-index: 2; padding: 24px; color: var(--ink); background: var(--surface); border-radius: var(--radius-lg); box-shadow: 0 32px 80px rgba(0,0,0,.28); transform: rotate(1deg); }
.board-top { margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; color: var(--success); }
.live-dot::before { content: ""; width: 7px; height: 7px; background: currentColor; border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
.message { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; font-size: 14px; font-weight: 800; }
.user-avatar { color: #fff; background: var(--blue); }
.bot-avatar { color: var(--navy); background: var(--yellow); }
.message strong { display: block; margin-bottom: 3px; font-size: 14px; }
.message p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.bot-message { padding: 14px; background: #edf5ff; border-radius: var(--radius); }
.handoff-line { position: relative; height: 30px; margin-left: 18px; display: flex; align-items: center; gap: 5px; }
.handoff-line::before { content: ""; width: 2px; height: 100%; background: var(--line-strong); }
.handoff-line i { position: absolute; left: -2px; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; opacity: 0; animation: handoff 2.4s ease-in-out infinite; }
.handoff-line i:nth-child(2) { animation-delay: .3s; }.handoff-line i:nth-child(3) { animation-delay: .6s; }.handoff-line i:nth-child(4) { animation-delay: .9s; }
.task-queue { margin: 18px 0 0; padding: 0; list-style: none; }
.task-queue li { min-height: 42px; padding: 8px 0 8px 28px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; position: relative; font-size: 13px; }
.task-queue li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 8px; height: 8px; border: 2px solid var(--line-strong); border-radius: 50%; }
.task-queue li b { color: #7a8ca3; font-weight: 600; }
.task-queue .done::before { border-color: var(--success); background: var(--success); }
.task-queue .done b { color: var(--success); }
.task-queue .active::before { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 5px rgba(0,107,255,.12); }
.task-queue .active b { color: var(--blue); }
.board-result { margin-top: 18px; padding: 13px 14px; color: #fff; background: var(--navy); border-radius: var(--radius-sm); }
.board-result span, .board-result strong { display: block; }
.board-result span { color: #a9c3e5; font-size: 11px; }
.board-result strong { margin-top: 2px; font-size: 14px; }
.hero-ribbon { position: relative; z-index: 3; min-height: 64px; padding: 12px max(16px, calc((100% - 1200px)/2)); display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--navy); background: var(--yellow); font-size: 14px; font-weight: 750; }
.hero-ribbon i { width: clamp(20px, 5vw, 72px); height: 2px; background: var(--navy); opacity: .35; }

.section { padding: 104px 0; }
.section-shell { width: min(calc(100% - 32px), 1200px); margin: auto; }
.section-shell.narrow { width: min(calc(100% - 32px), 1040px); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: var(--step-3); line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
.section-heading p { margin: 18px 0 0; color: var(--ink-soft); font-size: var(--step-1); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.steps article { min-height: 210px; padding: 32px 28px; display: grid; grid-template-columns: 42px 1fr; gap: 16px; }
.steps article + article { border-left: 1px solid var(--line-strong); }
.step-no { display: grid; place-items: center; width: 40px; height: 40px; color: var(--navy); background: var(--yellow); border-radius: 50%; font-weight: 800; }
.steps h3 { margin: 4px 0 10px; font-size: 19px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
.quick-copy { margin-top: 36px; overflow: hidden; color: #fff; background: var(--navy); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.copy-head { min-height: 58px; padding: 8px 18px 8px 24px; border-bottom: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #bbd0ec; font-size: 13px; font-weight: 600; }
.copy-button, .inline-prompt button, .scenario-list button { min-height: 44px; padding: 8px 14px; border: 0; color: var(--navy); background: var(--yellow); border-radius: var(--radius-sm); font-weight: 700; cursor: pointer; }
.quick-copy blockquote { margin: 0; padding: 28px 32px 34px; color: #fff; font-size: var(--step-1); line-height: 1.75; }
.intro-copy { max-width: 78ch; margin: 40px auto 0; color: var(--ink-soft); }
.command-strip { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.command-strip button { min-height: 44px; padding: 8px 14px; color: var(--blue-deep); background: #e3efff; border: 1px solid #c2d9fb; border-radius: 999px; cursor: pointer; font-weight: 650; transition: background-color 160ms ease, transform 160ms ease; }
.command-strip button:hover { background: #d1e4ff; transform: translateY(-1px); }

.market-value { background: var(--surface); }
.value-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: end; }
.value-intro h2 { max-width: 700px; margin: 0; color: var(--navy); font-size: var(--step-3); line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
.value-intro > div > p { max-width: 72ch; margin: 20px 0 0; color: var(--ink-soft); font-size: var(--step-1); }
.value-intro blockquote { margin: 0; padding: 28px 0 4px 28px; border-left: 1px solid var(--blue); color: var(--navy); font-size: 20px; font-weight: 650; line-height: 1.65; }
.buyer-paths { margin-top: 64px; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: repeat(4, 1fr); }
.buyer-paths article { min-height: 268px; padding: 28px 24px 32px; }
.buyer-paths article + article { border-left: 1px solid var(--line-strong); }
.buyer-paths span { color: var(--blue-deep); font-size: 13px; font-weight: 750; }
.buyer-paths h3 { margin: 16px 0 12px; color: var(--navy); font-size: 20px; line-height: 1.4; }
.buyer-paths p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.value-chain { overflow: hidden; display: grid; grid-template-columns: repeat(5, 1fr); color: #fff; background: var(--navy); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.value-chain div { min-height: 150px; padding: 24px 20px; }
.value-chain div + div { border-left: 1px solid rgba(255,255,255,.16); }
.value-chain strong { color: var(--yellow); font-size: 17px; }
.value-chain p { margin: 8px 0 0; color: #c6d8ee; font-size: 14px; line-height: 1.65; }

.features { color: #fff; background: var(--navy); }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; }
.features .section-heading h2 { color: #fff; }
.features .section-heading p { color: #b9cee8; }
.feature-ledger { border-top: 1px solid rgba(255,255,255,.25); }
.feature-ledger article { min-height: 128px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: 72px minmax(220px, .8fr) 1.5fr; gap: 32px; align-items: center; transition: background-color 200ms ease; }
.feature-ledger article:hover { background: rgba(255,255,255,.055); }
.feature-ledger article span { color: var(--yellow); font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 750; }
.feature-ledger h3 { margin: 0; color: #fff; font-size: 20px; line-height: 1.35; }
.feature-ledger p { margin: 0; color: #bfd1e7; font-size: 15px; }

.panorama { background: var(--surface); }
.panorama-heading { margin-bottom: 56px; }
.panorama-heading h2 { max-width: 720px; }
.capability-ledger { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); }
.capability-ledger article { min-height: 310px; padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line-strong); }
.capability-ledger article:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--line-strong); }
.capability-ledger header { margin-bottom: 24px; }
.capability-ledger header span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; color: var(--navy); background: var(--yellow); border-radius: 999px; font-size: 12px; font-weight: 750; }
.capability-ledger h3 { margin: 14px 0 0; color: var(--navy); font-size: 22px; line-height: 1.4; }
.capability-ledger ul { margin: 0; padding: 0; list-style: none; color: var(--ink-soft); }
.capability-ledger li { position: relative; padding-left: 22px; }
.capability-ledger li + li { margin-top: 9px; }
.capability-ledger li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
.panorama-note { margin-top: 40px; padding: 24px 28px; display: grid; grid-template-columns: 180px 1fr; gap: 28px; color: #fff; background: var(--blue); border-radius: var(--radius); }
.panorama-note strong { color: var(--yellow-soft); }
.panorama-note p { margin: 0; color: #e8f1ff; }

.advanced { background: #eaf1f8; }
.advanced-heading { max-width: none; text-align: center; margin-left: auto; margin-right: auto; }
.manual-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.chapter-nav { position: sticky; top: 104px; padding: 20px 0; border-top: 3px solid var(--yellow); }
.chapter-nav > p { margin: 0 0 12px; color: #667b95; font-size: 12px; font-weight: 700; }
.chapter-nav a { min-height: 62px; padding: 10px 12px; border-left: 1px solid var(--line-strong); display: flex; flex-direction: column; justify-content: center; text-decoration: none; transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.chapter-nav a span { font-size: 15px; font-weight: 700; }
.chapter-nav a small { color: #74879d; font-size: 12px; }
.chapter-nav a.active { color: var(--blue); background: #fff; border-left-color: var(--blue); }
.chapter-nav a.active small { color: var(--blue-deep); }
.manual-content { min-width: 0; }
.manual-chapter { margin-bottom: 40px; padding: 40px clamp(22px, 5vw, 64px); background: var(--surface); border-radius: var(--radius-lg); box-shadow: 0 12px 38px rgba(30,62,100,.08); }
.manual-chapter > header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
.device-icon { display: grid; place-items: center; flex: 0 0 auto; width: 52px; height: 52px; color: #fff; background: var(--blue); border-radius: 14px; }
.device-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.manual-chapter h3 { margin: 0; color: var(--navy); font-size: var(--step-2); line-height: 1.3; }
.manual-chapter header p { margin: 2px 0 0; color: #6b7e95; font-size: 14px; }
.manual-chapter section { padding: 22px 0; }
.manual-chapter section + section { border-top: 1px solid var(--line); }
.manual-chapter h4 { margin: 0 0 10px; color: var(--navy); font-size: 18px; }
.manual-chapter section p { max-width: 76ch; margin: 0; color: var(--ink-soft); }
.manual-chapter ul { margin: 8px 0 0; padding-left: 1.25em; color: var(--ink-soft); }
.manual-chapter li + li { margin-top: 7px; }
.inline-prompt { position: relative; margin-top: 18px; padding: 20px 88px 20px 20px; color: #fff; background: var(--navy); border-radius: var(--radius); }
.inline-prompt span { color: #9ebce1; font-size: 12px; font-weight: 700; }
.inline-prompt p { margin-top: 5px !important; color: #fff !important; }
.inline-prompt button { position: absolute; right: 12px; top: 12px; }
.scenario-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.scenario-list section { display: flex; flex-direction: column; align-items: flex-start; }
.scenario-list button { margin-top: 18px; color: #fff; background: var(--blue); }
.boundary-chapter { color: #fff; background: var(--navy); }
.boundary-chapter h3 { color: #fff; }
.boundary-chapter header p { color: #b8cce6; }
.boundary-chapter .device-icon { color: var(--navy); background: var(--yellow); }
.boundary-list { margin: 0 !important; padding: 0 !important; list-style: none; color: #d4e2f3 !important; counter-reset: bounds; }
.boundary-list li { position: relative; padding: 17px 0 17px 48px; border-top: 1px solid rgba(255,255,255,.15); counter-increment: bounds; }
.boundary-list li::before { content: counter(bounds); position: absolute; left: 0; top: 17px; display: grid; place-items: center; width: 28px; height: 28px; color: var(--navy); background: var(--yellow); border-radius: 50%; font-size: 12px; font-weight: 800; }

.closing { color: #fff; background: var(--blue); }
.closing-shell { width: min(calc(100% - 32px), 960px); margin: auto; text-align: center; }
.closing-shell > p { margin: 0 0 16px; color: #ddebff; font-weight: 650; }
.closing h2 { margin: 0; font-size: var(--step-3); line-height: 1.16; letter-spacing: -.035em; }
.closing-flow { margin: 36px auto; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; font-weight: 700; }
.closing-flow span { padding: 9px 14px; color: var(--navy); background: #fff; border-radius: var(--radius-sm); }
.closing-flow i { width: 40px; height: 2px; background: var(--yellow); }
.closing-shell > a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; color: var(--navy); background: var(--yellow); border-radius: var(--radius-sm); font-weight: 750; text-decoration: none; }
.site-footer { min-height: 108px; padding: 24px max(16px, calc((100% - 1200px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #b7cbe4; background: #041f4a; font-size: 13px; }
.site-footer div { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.site-footer strong { color: #fff; font-size: 16px; }
.site-footer a { color: #fff; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; min-width: 120px; padding: 10px 16px; color: #fff; background: #092552; border-radius: var(--radius-sm); box-shadow: var(--shadow); text-align: center; font-size: 14px; font-weight: 650; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: opacity 180ms ease, transform 180ms cubic-bezier(.16,1,.3,1); }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

[data-reveal] { opacity: 1; transform: translateY(0); }
.js [data-reveal].revealed { animation: reveal-in 560ms cubic-bezier(.16,1,.3,1) both; }

@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.8); } }
@keyframes handoff { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(25px); opacity: 0; } }
@keyframes reveal-in { from { opacity: .65; transform: translateY(18px); clip-path: inset(0 0 8% 0); } to { opacity: 1; transform: translateY(0); clip-path: inset(0); } }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .nav-action { margin-left: auto; }
  .hero-shell { min-height: 0; grid-template-columns: 1fr; gap: 56px; padding-top: 64px; }
  .hero-copy { max-width: 760px; }
  .dispatch-board { max-width: 680px; transform: none; }
  .split-heading { grid-template-columns: 1fr; gap: 12px; }
  .value-intro { grid-template-columns: 1fr; gap: 20px; }
  .value-intro blockquote { max-width: 780px; }
  .buyer-paths { grid-template-columns: 1fr 1fr; }
  .buyer-paths article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-strong); }
  .buyer-paths article:nth-child(4) { border-top: 1px solid var(--line-strong); }
  .value-chain { grid-template-columns: repeat(3, 1fr); }
  .value-chain div:nth-child(4) { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .value-chain div:nth-child(5) { border-top: 1px solid rgba(255,255,255,.16); }
  .feature-ledger article { grid-template-columns: 54px minmax(200px, .8fr) 1.2fr; gap: 20px; }
  .manual-layout { grid-template-columns: 1fr; gap: 24px; }
  .chapter-nav { z-index: 30; top: 72px; margin: 0 -16px; padding: 8px 16px; border-top: 0; background: rgba(234,241,248,.96); backdrop-filter: blur(12px); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .chapter-nav::-webkit-scrollbar { display: none; }
  .chapter-nav > p { display: none; }
  .chapter-nav a { flex: 0 0 auto; min-height: 48px; padding: 6px 14px; border-left: 0; border-bottom: 2px solid transparent; border-radius: 8px 8px 0 0; }
  .chapter-nav a small { display: none; }
  .chapter-nav a.active { border-bottom-color: var(--blue); }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 132px; }
  .nav-shell { min-height: 64px; }
  .brand small { display: none; }
  .nav-action { min-height: 40px; padding: 0 14px; }
  .hero-shell { width: min(calc(100% - 32px), 1200px); padding: 48px 0 64px; gap: 44px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .hero-lead { font-size: 18px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .primary-action, .text-action { width: 100%; justify-content: center; }
  .scope-note { margin-top: 32px; }
  .dispatch-board { padding: 18px; }
  .hero-ribbon { min-height: 84px; gap: 8px; font-size: 12px; }
  .hero-ribbon i { width: 12px; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 34px; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 0; padding: 24px 4px; }
  .steps article + article { border-left: 0; border-top: 1px solid var(--line-strong); }
  .quick-copy blockquote { padding: 22px 20px 26px; font-size: 17px; }
  .copy-head { padding-left: 18px; }
  .command-strip { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
  .command-strip button { flex: 0 0 auto; scroll-snap-align: start; }
  .value-intro blockquote { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--blue); font-size: 18px; }
  .buyer-paths { margin-top: 40px; grid-template-columns: 1fr; }
  .buyer-paths article { min-height: 0; padding: 24px 4px; }
  .buyer-paths article + article, .buyer-paths article:nth-child(3), .buyer-paths article:nth-child(4) { border-left: 0; border-top: 1px solid var(--line-strong); }
  .value-chain { grid-template-columns: 1fr; border-radius: var(--radius); }
  .value-chain div { min-height: 0; padding: 20px; }
  .value-chain div + div, .value-chain div:nth-child(4), .value-chain div:nth-child(5) { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .feature-ledger article { min-height: 0; padding: 26px 0; grid-template-columns: 42px 1fr; gap: 6px 14px; }
  .feature-ledger article span { grid-row: 1 / span 2; }
  .feature-ledger p { grid-column: 2; }
  .feature-ledger article:hover { padding-left: 0; padding-right: 0; background: transparent; }
  .capability-ledger { grid-template-columns: 1fr; }
  .capability-ledger article, .capability-ledger article:nth-child(even) { min-height: 0; padding: 28px 0; border-left: 0; }
  .panorama-note { grid-template-columns: 1fr; gap: 8px; padding: 22px 20px; }
  .advanced-heading { text-align: left; }
  .manual-chapter { padding: 28px 20px; margin-bottom: 24px; }
  .manual-chapter > header { align-items: flex-start; }
  .scenario-list { grid-template-columns: 1fr; }
  .scenario-list section + section { border-top: 1px solid var(--line); }
  .inline-prompt { padding: 20px; }
  .inline-prompt button { position: static; margin-top: 14px; }
  .closing-flow i { width: 14px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (max-width: 380px) {
  .brand-mark { width: 34px; height: 34px; }
  .brand strong { font-size: 14px; }
  .hero-ribbon { padding-left: 8px; padding-right: 8px; gap: 5px; }
  .hero-ribbon i { width: 5px; }
  .message p { font-size: 13px; }
  .task-queue li { gap: 8px; }
  .copy-head { align-items: flex-start; flex-direction: column; padding-top: 14px; padding-bottom: 14px; }
  .copy-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot::before, .handoff-line i, .js [data-reveal].revealed { animation: none; }
  .primary-action, .command-strip button, .feature-ledger article, .desktop-nav a::after, .toast { transition: none; }
}

@media print {
  .site-header, .reading-progress, .hero-actions, .chapter-nav, .copy-button, .command-strip, .scenario-list button, .toast, .site-footer { display: none !important; }
  body { color: #111; background: #fff; font-size: 11pt; }
  .hero, .features, .closing, .boundary-chapter { color: #111; background: #fff; }
  .hero h1, .features .section-heading h2, .feature-ledger h3, .closing h2, .boundary-chapter h3 { color: #111; }
  .hero-shell { min-height: 0; grid-template-columns: 1fr; padding: 20px 0; }
  .dispatch-board { box-shadow: none; border: 1px solid #bbb; transform: none; }
  .manual-layout { display: block; }
  .manual-chapter { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; }
  .feature-ledger article { color: #111; border-color: #ccc; }
  .feature-ledger p, .features .section-heading p, .boundary-list { color: #333 !important; }
}
