:root {
  color-scheme: light;
  font-family: var(--body-font);
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  --paper: #f7f6f2;
  --border: #e2e0d9;
  --soft-text: #60605c;
  --dark-text: #bebeb8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-size: 16px; line-height: 1.75; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); text-underline-offset: .25em; }
button { cursor: pointer; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
::selection { color: var(--ink); background: #ffd48a; }
img { max-width: 100%; display: block; }
figure, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading-font); margin: 0; text-wrap: balance; }
h1, h2 { letter-spacing: -.055em; }
h2 { font-size: clamp(32px, 3.5vw, 46px); line-height: 1.17; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.35; letter-spacing: -.025em; }
em { font-style: normal; }
p + p { margin-top: 20px; }
.icon { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1248px, calc(100% - 112px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 20px; top: -100px; padding: 10px 20px; background: #fff; color: var(--ink); z-index: 50; }
.skip:focus { top: 12px; }
.eyebrow, .mini-label, .section-index, .tech-label, .resource-type, .status-label { font-family: var(--heading-font); font-weight: 700; font-size: 10px; line-height: 1.5; letter-spacing: .12em; }
.eyebrow { text-transform: uppercase; }
.status-dot, .small-dot { display: inline-block; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* A compact, persistent navigation leaves the first screen to the project. */
.site-header { position: sticky; top: 0; z-index: 20; background: #202020f5; color: #fff; border-bottom: 1px solid #ffffff12; backdrop-filter: blur(16px); }
.nav-inner { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font: 700 22px/1 var(--heading-font); letter-spacing: .12em; text-decoration: none; color: #fff; }
.wordmark img { border: 1px solid #ffa30050; border-radius: 8px; }
nav { display: flex; align-items: center; gap: 31px; }
nav a { color: #d2d2cc; text-decoration: none; font-size: 12px; font-weight: 600; padding-block: 12px; transition: color .18s; }
nav a:hover, nav a[aria-current] { color: var(--orange); }
nav .nav-demo { color: #fff; padding: 10px 15px; border: 1px solid #ffffff3b; border-radius: 5px; display: flex; align-items: center; gap: 15px; }
nav .nav-demo .icon { width: 16px; height: 16px; color: var(--orange); }
.nav-toggle { background: none; border: 1px solid #ffffff50; color: #fff; padding: 8px 12px; border-radius: 5px; font-size: 12px; align-items: center; gap: 12px; }
.nav-toggle:not([hidden]) { display: none; }
.menu-lines { display: block; width: 16px; height: 9px; border-block: 1px solid currentColor; }
.site-header a:focus-visible, .site-header button:focus-visible { outline-color: var(--orange); }

/* Network diagram: a labeled illustration, never a simulated live dashboard. */
.hero { background: var(--dark); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 82% 36%, #ffa3000e, transparent 52%), linear-gradient(90deg, #ffffff03 1px, transparent 1px), linear-gradient(#ffffff03 1px, transparent 1px); background-size: auto, 64px 64px, 64px 64px; mask-image: linear-gradient(to right, transparent, #000 50%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 66px; align-items: center; padding-block: 88px 72px; }
.hero-copy { padding-block: 12px; }
.hero-copy > .eyebrow { color: #d7d7d0; display: flex; gap: 10px; align-items: center; margin-bottom: 27px; }
h1 { font-size: clamp(44px, 4.4vw, 64px); line-height: 1.08; font-weight: 700; letter-spacing: -.065em; }
h1 em { color: var(--orange); }
.hero-lead { color: #c5c5bf; font-size: 17px; line-height: 1.85; max-width: 445px; margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 25px; margin-top: 33px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--orange); color: #171717; border: 1px solid var(--orange); border-radius: 5px; padding: 12px 18px; min-height: 48px; font-size: 12px; font-weight: 700; text-decoration: none; box-shadow: 0 3px 0 #00000030; transition: background .2s, transform .2s, box-shadow .2s; }
.button .icon { width: 18px; height: 18px; }
.button:hover { background: #ffc04d; transform: translateY(-2px); box-shadow: 0 6px 18px #00000030; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 12px; text-decoration: none; }
.text-link .icon { width: 17px; height: 17px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }
.hero-note { display: flex; align-items: center; gap: 9px; font-size: 11px; color: #ababA5; margin-top: 27px; }
.tiny-rule { width: 20px; height: 1px; background: #7b7b74; }
.hero a:focus-visible, .hero button:focus-visible { outline-color: var(--orange); }
.network-panel { position: relative; background: linear-gradient(135deg, #2b2b27, #222221 60%); border: 1px solid #ffffff20; border-radius: 14px; box-shadow: 0 28px 60px -25px #000000b3, 0 1px 0 #ffffff09 inset; padding: 20px; min-width: 0; }
.network-panel::before { content: ''; position: absolute; top: -1px; left: 22%; width: 56%; height: 1px; background: linear-gradient(90deg, transparent, #ffa300b0, transparent); }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 10px; color: #d4d4ce; }
.panel-tag { border: 1px solid #ffffff26; border-radius: 4px; padding: 2px 6px; font-size: 9px; color: #bebeb8; }
.network-map { width: 100%; height: auto; display: block; margin-block: 6px; overflow: visible; }
.map-orbits { fill: none; stroke: #ffffff07; stroke-dasharray: 4 6; }
.map-path { fill: none; stroke: #5b5b4e; stroke-width: 1; }
.packet-path { fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-dasharray: 5 90; animation: packet-travel 4s linear; opacity: .8; }
.map-node > rect:first-child { fill: #2b2b28; stroke: #56564d; stroke-width: 1; transition: stroke .35s, fill .35s; }
.map-node text { fill: #d2d2cb; font: 600 12px 'Open Sans', sans-serif; text-anchor: middle; }
.map-node .node-icon { fill: none; stroke: #b6b6a9; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.node-dot { fill: #abae96; }
[data-scenario='unusual'] .office-pc > rect:first-child { stroke: #ffa300b8; fill: #3c3323; }
[data-scenario='unusual'] .office-pc .node-dot { fill: var(--orange); }
.router-node rect { fill: #292723; stroke: var(--orange); stroke-width: 1.3; }
.router-node path { fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: square; }
.router-node text { font: 700 10px 'Montserrat', sans-serif; letter-spacing: 2px; text-anchor: middle; fill: #fff; }
.map-caption { font: 600 8px 'Open Sans', sans-serif; letter-spacing: 1.1px; text-anchor: middle; fill: #c0c0b4; }
.incident-mini { display: flex; align-items: flex-start; gap: 12px; padding: 15px 13px; border: 1px solid #ffa30042; border-radius: 8px; background: #ffa30006; min-height: 95px; transition: border-color .3s; }
.incident-mark { display: grid; place-items: center; border: 1px solid var(--orange); color: var(--orange); border-radius: 50%; font-weight: 700; width: 23px; height: 23px; flex: 0 0 auto; margin-top: 2px; font-size: 12px; }
.incident-mini strong { font-size: 12px; font-weight: 600; display: block; color: #fff; }
.incident-mini p { margin-top: 3px; font-size: 10px; line-height: 1.7; color: #c0c0b7; max-width: 320px; }
.mode-tag { margin-left: auto; font-size: 9px; color: #c9c9bf; padding: 3px 6px; border: 1px solid #ffffff20; border-radius: 4px; }
[data-scenario='normal'] .incident-mini { border-color: #b3c18b45; }
[data-scenario='normal'] .incident-mark { border-color: #b3c18b; color: #b3c18b; }
[data-scenario='normal'] .packet-path { stroke: #b3c18b; opacity: .55; }
.scenario-switch { display: none; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.js .scenario-switch { display: flex; }
.scenario-switch > span { font-size: 9px; color: #b6b6ad; }
.scenario-switch > div { display: flex; gap: 3px; padding: 3px; background: #1b1b19; border: 1px solid #ffffff10; border-radius: 5px; }
.scenario-switch button { background: none; border: 0; border-radius: 3px; color: #bfbfb7; padding: 6px 9px; font-size: 9px; line-height: 1.6; min-height: 29px; }
.scenario-switch button[aria-pressed='true'] { background: #454039; color: #fff; box-shadow: 0 1px 4px #00000040; }
.hero-bottom { border-top: 1px solid #ffffff12; display: flex; align-items: center; gap: 28px; padding-block: 22px; color: #aeaea5; font-size: 10px; }
.hero-bottom > span { max-width: 110px; line-height: 1.6; }
.hero-bottom ul { display: flex; flex-wrap: wrap; gap: 13px 28px; list-style: none; margin: 0; padding: 0; font-family: var(--heading-font); font-size: 11px; font-weight: 500; color: #e4e4dd; }
.hero-bottom li:not(:last-child)::after { content: '/'; color: #626259; margin-left: 28px; }
.scroll-cue { margin-left: auto; font-size: 23px; text-decoration: none; color: var(--orange); }
@keyframes packet-travel { to { stroke-dashoffset: -380; } }

/* The organization marks retain their complete artwork and white clear space. */
.chapter-strip { background: #fff; border-bottom: 1px solid var(--border); }
.chapter-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 31px; }
.society-logo { width: 175px; height: auto; }
.branch-logo { width: 152px; height: auto; }
.chapter-inner p { color: #5a5a55; font-size: 11px; line-height: 2; text-align: center; }
.chapter-inner strong { color: var(--ink); font-weight: 600; }
.chapter-inner a { color: var(--ink); font-weight: 600; text-decoration: none; }
.chapter-inner .icon { width: 13px; height: 13px; margin-left: 4px; }

/* Different section compositions give the technical story a readable pace. */
.section { padding-block: 98px; }
.section-index { display: flex; align-items: center; gap: 18px; color: var(--soft-text); margin-bottom: 40px; font-size: 9px; }
.section-index > span:first-child { white-space: nowrap; }
.index-line { flex: 1; height: 1px; background: var(--border); }
.section-index > span:first-child::before { content: ''; width: 5px; height: 5px; background: var(--orange); display: inline-block; margin-right: 11px; vertical-align: 1px; }
.section-aside { text-transform: none; font-family: var(--body-font); font-weight: 400; font-size: 11px; letter-spacing: 0; }
.idea-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; }
.idea-layout h2 { font-size: clamp(30px, 3.2vw, 43px); line-height: 1.25; }
.idea-layout em { box-shadow: 0 -.2em 0 #ffa30045 inset; }
.idea-copy p { color: var(--soft-text); font-size: 14px; line-height: 1.9; }
.idea-copy .large-copy { color: #32322e; font-size: 18px; line-height: 1.75; margin-bottom: 22px; }
.principle { display: flex; align-items: center; gap: 17px; border-top: 1px solid var(--border); padding-top: 24px; margin-top: 27px; }
.principle > .icon { color: #866000; padding: 9px; width: 40px; height: 40px; background: var(--pale); border-radius: 8px; }
.principle p { font-size: 12px; line-height: 1.8; }
.principle strong { color: #222; font-weight: 600; }
.architecture { background: var(--paper); border-block: 1px solid #eeede8; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; margin-bottom: 42px; }
.section-heading h2 { flex: 1.5; }
.section-heading > p { max-width: 365px; flex: 1; color: var(--soft-text); font-size: 14px; line-height: 1.9; }
.pipeline { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); list-style: none; padding: 0; margin: 50px 0 0; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.pipeline li { position: relative; padding: 29px 25px 26px; }
.pipeline li+li { border-left: 1px solid var(--border); }
.pipeline li:not(:last-child)::after { content: '→'; position: absolute; right: -14px; top: 42px; z-index: 1; width: 28px; text-align: center; background: #fff; color: #88857a; font-size: 19px; }
.pipeline-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 27px; }
.step-icon { display: grid; place-items: center; width: 47px; height: 47px; background: var(--pale); color: #704600; border: 1px solid #ffbd4e70; border-radius: 11px; }
.step-icon .icon { width: 24px; height: 24px; }
.step-number { font: 500 12px var(--heading-font); color: #78766e; }
.pipeline h3 { font-size: 20px; margin-bottom: 12px; }
.pipeline p { color: var(--soft-text); font-size: 12px; line-height: 1.85; min-height: 90px; }
.tech-label { font-size: 8px; letter-spacing: .07em; display: block; margin-top: 24px; padding-top: 17px; border-top: 1px solid #edece6; color: #68665d; }
.transport-note { display: flex; align-items: center; gap: 13px; padding: 19px 4px; font-size: 11px; color: var(--soft-text); }
.transport-line { color: #916000; font-size: 20px; }
details { border-block: 1px solid var(--border); margin-top: 26px; }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 20px 0; font-size: 12px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex-shrink: 0; width: 23px; height: 23px; border: 1px solid #b8b5ab; border-radius: 50%; display: grid; place-items: center; font-size: 15px; line-height: 1; font-weight: 400; transition: transform .2s; }
details[open] > summary::after { content: '−'; transform: rotate(180deg); }
summary:hover { color: #805500; }
.detail-body { padding: 8px 0 30px; max-width: 900px; font-size: 14px; color: var(--soft-text); line-height: 1.9; }
.detail-body strong { color: var(--ink); }
pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 22px; background: var(--paper); border-left: 3px solid var(--orange); font-size: 12px; }
code { font: .92em/1.8 'DejaVu Sans Mono', monospace; overflow-wrap: anywhere; }
.detection-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.detection-copy > p { font-size: 14px; color: var(--soft-text); line-height: 1.9; margin-top: 24px; }
.baseline-stat { display: flex; align-items: center; gap: 26px; margin-block: 33px; border-block: 1px solid var(--border); padding-block: 22px; }
.baseline-stat > strong { font: 500 62px/1 var(--heading-font); letter-spacing: -.07em; }
.baseline-stat > strong span { display: block; font: 600 10px/2 var(--body-font); letter-spacing: 0; text-align: center; }
.baseline-stat p { font-size: 12px; line-height: 1.8; color: #373730; }
.baseline-stat p span { color: var(--soft-text); }
.detection-copy .fine-print { font-size: 11px; line-height: 1.85; }
.signal-board { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 25px; box-shadow: 0 16px 32px -30px #544c30; }
.board-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid #dddad0; }
.mini-label { font-size: 9px; letter-spacing: .08em; }
.board-caption { font-size: 9px; color: var(--soft-text); }
.signal-list { margin: 0; padding: 0; list-style: none; }
.signal-list > li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 25px 0; border-bottom: 1px solid var(--border); }
.signal-text { min-width: 0; }
.signal-text h3 { font-family: var(--body-font); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.signal-n { font-size: 9px; color: #6d695f; margin-right: 8px; }
.signal-text p { margin: 4px 0 0 23px; color: var(--soft-text); font-size: 10px; }
.spark { width: 115px; max-width: 31%; flex-shrink: 0; height: 40px; fill: none; stroke: #a36b00; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.spark .spark-baseline { stroke: #c5c1b5; stroke-width: .7; stroke-dasharray: 3 4; }
.signal-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 9px; padding-top: 18px; color: #555248; }
.signal-foot > span:last-child { font-size: 8px; width: 100%; padding-left: 13px; color: #666258; }

.response-section { background: #242421; color: #fff; }
.response-section .section-index { color: #b4b4a9; }
.response-section .index-line { background: #ffffff24; }
.response-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 112px; align-items: start; }
.response-layout h2 { margin-block: 23px; font-size: clamp(37px, 3.6vw, 49px); }
.response-layout h2 em { color: var(--orange); }
.response-layout p { color: #c3c3b8; font-size: 14px; line-height: 1.85; }
.response-layout .response-control { font-size: 12px; color: #b7b7ab; margin-top: 24px; }
.default-mode { display: inline-flex; align-items: center; gap: 9px; padding: 5px 11px; border: 1px solid #ffa30048; border-radius: 20px; color: #edce95; font-size: 10px; }
.gate-list { list-style: none; margin: 0; padding: 0; }
.gate-list li { display: flex; align-items: flex-start; gap: 25px; padding-block: 23px; border-bottom: 1px solid #ffffff1f; }
.gate-list li:first-child { padding-top: 0; }
.gate-list li > span { font: 500 12px var(--heading-font); color: var(--orange); padding-top: 4px; }
.gate-list h3 { font-size: 15px; font-weight: 500; margin-bottom: 5px; }
.gate-list p { font-size: 12px; line-height: 1.8; color: #bdbdb2; }
.response-note { display: flex; gap: 38px; padding: 22px 26px; border: 1px solid #ffffff1c; border-left: 2px solid var(--orange); background: #ffffff03; margin-top: 44px; font-size: 11px; }
.response-note strong { font-weight: 600; white-space: nowrap; color: #eee9dc; }
.response-note p { color: #bdbdb2; line-height: 1.8; }
.response-section details { border-color: #ffffff26; }
.response-section summary { color: #e4e4d9; }
.response-section summary:hover { color: var(--orange); }
.response-section .detail-body { color: #bdbdb2; }
.response-section .detail-body strong { color: #fff; }
.response-section a:focus-visible, .response-section summary:focus-visible { outline-color: var(--orange); }

.demo-section .section-heading h2 { font-size: clamp(30px, 3.2vw, 42px); }
.demo-figure { border: 1px solid #d5d3cc; border-radius: 11px; overflow: hidden; background: #121d26; box-shadow: 0 25px 55px -35px #24201575; }
.demo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #c5c6c4; font-size: 10px; background: #252b2d; padding: 13px 19px; border-bottom: 1px solid #ffffff18; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #666c6d; }
.demo-tag { color: #f1cb86; border: 1px solid #ffa30045; background: #ffa3000a; padding: 3px 7px; border-radius: 3px; font-size: 9px; }
video { display: block; width: 100%; aspect-ratio: 8/5; object-fit: contain; max-height: 650px; background: #101a23; }
.demo-figure figcaption { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 17px 22px; font-size: 10px; line-height: 1.8; background: #fff; color: var(--soft-text); }
.demo-figure figcaption strong { color: #2e2e28; font-weight: 600; }
.demo-figure figcaption > span:last-child { white-space: nowrap; }
.demo-chapters { list-style: none; display: grid; grid-template-columns: repeat(3,1fr); padding: 0; margin: 31px 0 0; gap: 30px; }
.demo-chapters li { display: flex; gap: 15px; align-items: flex-start; }
.demo-chapters li > span { color: #826000; background: var(--pale); border: 1px solid #f1dfbc; border-radius: 50%; width: 27px; height: 27px; flex-shrink: 0; display: grid; place-items: center; font: 600 9px var(--body-font); }
.demo-chapters strong { display: block; font-size: 12px; font-weight: 600; }
.demo-chapters p { font-size: 11px; line-height: 1.8; color: var(--soft-text); margin-top: 5px; }

.status-section { background: var(--paper); border-block: 1px solid #eeede8; }
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.status-card { padding: 31px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.status-label { display: flex; align-items: center; gap: 8px; font-size: 8px; color: #4d622b; }
.status-label .icon { width: 17px; height: 17px; }
.status-card h3 { font-size: 21px; margin-top: 20px; }
.status-card ul { list-style: none; padding: 0; margin: 23px 0 0; }
.status-card li { font-size: 12px; color: var(--soft-text); margin-top: 11px; padding-left: 16px; position: relative; }
.status-card li::before { content: ''; position: absolute; left: 0; top: .8em; width: 4px; height: 4px; border: 1px solid #8b9181; border-radius: 50%; }
.status-card.next { background: transparent; border-style: dashed; }
.status-card.next .status-label { color: #755300; }
.status-foot { margin-top: 23px; color: var(--soft-text); font-size: 11px; line-height: 1.9; }
.status-foot a { margin-left: 5px; white-space: nowrap; }
.status-foot .icon { width: 13px; height: 13px; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 23px; }
.resource-card { overflow: hidden; border: 1px solid var(--border); border-radius: 9px; background: #fff; transition: transform .25s, box-shadow .25s; }
.resource-card:hover { transform: translateY(-5px); box-shadow: 0 17px 30px -22px #00000060; }
.resource-art { height: 230px; position: relative; overflow: hidden; padding: 25px; background: var(--paper); border-bottom: 1px solid var(--border); }
.resource-type { position: relative; z-index: 1; font-size: 8px; color: #5a574d; }
.deck-art img { width: 93%; height: auto; margin: 29px auto 0; transform: rotate(-4deg); border-radius: 3px; border: 1px solid #dedcd2; box-shadow: 8px 10px 0 #ded9ce, 0 13px 25px #00000016; }
.sheet-art { background: #f0efea; }
.sheet-art img { width: 58%; height: auto; margin: 23px auto 0; transform: rotate(6deg); box-shadow: 0 0 0 1px #dedcd2, 0 14px 24px #0000001c; }
.resource-body { padding: 25px; }
.resource-body h3 { font-size: 18px; }
.resource-body p { font-size: 12px; color: var(--soft-text); line-height: 1.85; margin-top: 12px; min-height: 46px; }
.resource-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 25px; padding-top: 19px; border-top: 1px solid var(--border); }
.resource-actions a { color: var(--ink); text-decoration: none; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.resource-actions a:hover { color: #835700; }
.resource-actions .icon { width: 15px; height: 15px; }
.code-art { background: #292925; color: #fff; }
.code-art .resource-type { color: #ccc8bb; }
.code-tree { margin-top: 24px; font: 12px/1.8 'DejaVu Sans Mono', monospace; color: #a5a59a; }
.code-tree > span { color: var(--orange); }
.code-tree p { margin: 8px 0 0; }
.code-tree b { font-weight: 400; color: #eeede5; }
.code-tree small { display: block; margin-left: 30px; font-size: 9px; color: #aaa99b; line-height: 1; }
.notes-link { text-align: center; margin-top: 28px; font-size: 11px; color: var(--soft-text); }
.notes-link a { color: var(--ink); margin-left: 4px; }
.notes-link .icon { width: 14px; height: 14px; }
.site-footer { background: var(--dark); color: #fff; padding-block: 59px 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 45px; }
.footer-top .eyebrow { font-size: 8px; color: #bcbaad; }
.footer-top p { font: 500 clamp(26px, 3vw, 36px)/1.35 var(--heading-font); letter-spacing: -.04em; margin-top: 20px; }
.back-top { display: inline-flex; align-items: center; gap: 14px; color: #d5d4c8; text-decoration: none; font-size: 11px; }
.back-top .icon { transform: rotate(-90deg); border: 1px solid #ffffff30; border-radius: 50%; padding: 9px; width: 37px; height: 37px; color: var(--orange); }
.footer-bottom { display: flex; align-items: center; gap: 24px; padding-top: 27px; border-top: 1px solid #ffffff20; }
.footer-bottom .wordmark { font-size: 19px; gap: 1px; }
.footer-dot { color: var(--orange); }
.footer-bottom > span { font-size: 10px; color: #aeada0; }
.footer-bottom > div { margin-left: auto; display: flex; gap: 27px; }
.footer-bottom > div a { display: flex; gap: 6px; align-items: center; font-size: 10px; color: #d5d4c8; text-decoration: none; }
.footer-bottom .icon { width: 13px; height: 13px; }
.site-footer a:focus-visible { outline-color: var(--orange); }

/* Optional reveal motion never hides content when scripts fail or motion is reduced. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: enter-section .65s cubic-bezier(.2,.7,.3,1) both; }
  @keyframes enter-section { from { opacity: .3; transform: translateY(15px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .hero-grid { gap: 36px; padding-block: 65px 55px; }
  h1 { font-size: clamp(40px, 4.6vw, 52px); }
  .hero-lead { font-size: 15px; }
  .network-panel { padding: 16px; }
  .panel-top { font-size: 9px; }
  .scenario-switch > span { display: none; }
  .scenario-switch { justify-content: flex-end; }
  .idea-layout, .detection-layout { gap: 50px; }
  .response-layout { gap: 60px; }
  .pipeline li { padding: 24px 18px; }
  .pipeline p { min-height: 110px; }
  .resource-art { height: 205px; padding: 20px; }
  .resource-body { padding: 22px; }
}
@media (max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { max-width: 600px; }
  h1 { font-size: clamp(43px, 7.5vw, 64px); }
  .hero-lead { font-size: 17px; max-width: 510px; }
  .hero-grid .network-panel { max-width: 580px; width: 100%; justify-self: center; }
  .network-map { max-height: 310px; }
  .hero-bottom { gap: 20px; }
  .hero-bottom > span { display: none; }
  .hero-bottom ul { gap: 10px 18px; font-size: 10px; }
  .hero-bottom li:not(:last-child)::after { margin-left: 18px; }
  .section { padding-block: 72px; }
  .idea-layout, .detection-layout, .response-layout { grid-template-columns: 1fr; gap: 38px; }
  .idea-layout h2 br { display: none; }
  .idea-copy { max-width: 620px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 21px; }
  .section-heading > p { max-width: 580px; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipeline li:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
  .pipeline li:nth-child(4) { border-top: 1px solid var(--border); }
  .pipeline li:nth-child(2)::after { content: none; }
  .pipeline p { min-height: 65px; }
  .detection-copy { max-width: 600px; }
  .signal-board { max-width: 650px; }
  .response-layout > div { max-width: 620px; }
  .response-note { gap: 20px; }
  .resource-grid { gap: 14px; }
  .resource-art { height: 185px; padding: 18px; }
  .resource-body { padding: 19px; }
  .resource-body h3 { font-size: 16px; }
  .resource-actions { flex-direction: column; align-items: flex-start; gap: 13px; }
  .code-tree { font-size: 10px; }
  .code-tree small { font-size: 8px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 40px); }
  .nav-inner { min-height: 68px; flex-wrap: wrap; gap: 0; padding-block: 15px; }
  .wordmark { font-size: 19px; }
  nav { width: 100%; flex-wrap: wrap; gap: 5px 20px; padding-top: 16px; }
  nav a { font-size: 11px; }
  nav .nav-demo { padding: 8px 10px; }
  .js .nav-toggle:not([hidden]) { display: flex; }
  .js nav { display: none; }
  .js nav[data-open='true'] { display: flex; }
  .hero-grid { padding-block: 45px 42px; gap: 35px; }
  .hero-copy > .eyebrow { font-size: 8px; margin-bottom: 23px; }
  h1 { font-size: clamp(37px, 9.8vw, 57px); }
  .hero-lead { font-size: 15px; margin-top: 24px; }
  .hero-actions { gap: 20px; margin-top: 27px; }
  .button { min-height: 47px; padding: 12px 15px; }
  .text-link { font-size: 11px; }
  .hero-note { font-size: 10px; }
  .network-panel { padding: 15px 12px; border-radius: 11px; }
  .panel-top { font-size: 8px; gap: 7px; }
  .panel-tag { font-size: 8px; }
  .incident-mini { padding: 12px 9px; gap: 9px; }
  .incident-mini p { font-size: 10px; }
  .incident-mini strong { font-size: 11px; }
  .mode-tag { display: none; }
  .scenario-switch { justify-content: center; }
  .scenario-switch button { min-height: 36px; font-size: 10px; padding-inline: 14px; }
  .hero-bottom ul { gap: 8px 12px; font-size: 9px; }
  .hero-bottom li:not(:last-child)::after { margin-left: 12px; }
  .scroll-cue { display: none; }
  .chapter-inner { flex-wrap: wrap; gap: 23px; padding-block: 28px; }
  .chapter-inner .society-logo { width: 145px; }
  .chapter-inner .branch-logo { width: 120px; }
  .chapter-inner p { order: 3; width: 100%; text-align: left; border-top: 1px solid var(--border); padding-top: 19px; }
  .section { padding-block: 57px; }
  .section-index { margin-bottom: 28px; font-size: 8px; gap: 12px; }
  .section-aside { display: none; }
  h2 { font-size: clamp(29px, 7.5vw, 38px); }
  .idea-layout h2 { font-size: 31px; }
  .idea-copy .large-copy { font-size: 17px; }
  .idea-copy p, .section-heading > p { font-size: 13px; }
  .section-heading { margin-bottom: 31px; }
  .pipeline { margin-top: 32px; }
  .pipeline li { padding: 23px 15px; }
  .pipeline-head { margin-bottom: 22px; }
  .step-icon { width: 39px; height: 39px; border-radius: 9px; }
  .step-number { font-size: 10px; }
  .pipeline h3 { font-size: 17px; }
  .pipeline p { font-size: 11px; min-height: 100px; }
  .tech-label { font-size: 7px; line-height: 1.7; }
  .transport-note { font-size: 10px; }
  summary { font-size: 11px; line-height: 1.8; }
  .detail-body { font-size: 12px; }
  .baseline-stat { gap: 24px; }
  .baseline-stat > strong { font-size: 55px; }
  .baseline-stat p { font-size: 11px; }
  .signal-board { padding: 20px 18px; }
  .signal-text h3 { font-size: 11px; }
  .signal-list > li { padding-block: 23px; }
  .board-caption { font-size: 8px; }
  .signal-foot { font-size: 8px; }
  .response-layout h2 { font-size: 39px; }
  .gate-list li { gap: 20px; }
  .response-note { flex-direction: column; gap: 7px; padding: 20px; margin-top: 30px; }
  .demo-section .section-heading h2 { font-size: 30px; }
  .demo-toolbar { padding: 11px 12px; font-size: 8px; gap: 8px; }
  .demo-tag { font-size: 7px; }
  .window-dots { display: none; }
  .demo-figure figcaption { flex-direction: column; align-items: flex-start; gap: 8px; padding: 15px; font-size: 9px; }
  .demo-chapters { grid-template-columns: 1fr; gap: 20px; }
  .status-grid { grid-template-columns: 1fr; gap: 18px; }
  .status-card { padding: 25px; }
  .status-card h3 { font-size: 20px; }
  .status-foot { font-size: 10px; }
  .status-foot a { white-space: normal; }
  .resource-grid { grid-template-columns: 1fr; gap: 25px; }
  .resource-art { height: 245px; padding: 25px; }
  .deck-art img { max-width: 350px; }
  .sheet-art img { width: 49%; max-width: 210px; }
  .resource-body { padding: 25px; }
  .resource-body h3 { font-size: 20px; }
  .resource-body p { min-height: 0; }
  .resource-actions { flex-direction: row; align-items: center; }
  .code-tree { font-size: 13px; margin-top: 30px; }
  .code-tree small { font-size: 10px; }
  .notes-link { font-size: 10px; }
  .site-footer { padding-block: 44px 28px; }
  .footer-top { gap: 27px; align-items: flex-start; flex-direction: column; padding-bottom: 30px; }
  .footer-top .eyebrow { font-size: 7px; }
  .footer-top p { font-size: 26px; }
  .footer-bottom { flex-wrap: wrap; gap: 17px; }
  .footer-bottom > div { margin-left: 0; width: 100%; }
  .footer-bottom > span { font-size: 9px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .chapter-inner { gap: 16px; }
  .chapter-inner .society-logo { width: 131px; }
  .chapter-inner .branch-logo { width: 108px; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline li+li { border-left: 0; border-top: 1px solid var(--border); }
  .pipeline li::after { display: none; }
  .pipeline p { min-height: 0; }
  .tech-label { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  :root { color-scheme: light; }
  body { font-size: 10pt; color: #000; }
  .wrap { width: 100%; }
  .site-header, .hero-actions, .scroll-cue, .scenario-switch, .site-footer, video, .demo-toolbar { display: none; }
  .hero, .response-section, .code-art { background: #fff; color: #000; }
  .hero::before { display: none; }
  .hero *, .response-section * { color: #000 !important; }
  .hero-grid, .idea-layout, .detection-layout, .response-layout { display: block; padding: 20px 0; }
  .hero-copy { max-width: none; }
  h1 { font-size: 30pt; }
  h2, .response-layout h2 { font-size: 23pt; }
  h2, h3 { break-after: avoid; }
  .section { padding-block: 20px; }
  .network-panel { display: none; }
  .resource-grid { display: block; }
  .resource-art { display: none; }
  .resource-card { margin-bottom: 15px; break-inside: avoid; }
  .resource-actions { margin-top: 12px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 14px; }
  .response-note { display: block; }
  .status-card, .signal-board, .demo-figure { box-shadow: none; }
}
