:root {
  --pine-950: #061b17;
  --pine-900: #0a2922;
  --pine-800: #0d3b31;
  --pine-700: #145244;
  --pine-600: #1c6a57;
  --pine-500: #2a816b;
  --moss: #8ba67d;
  --amber: #d6a449;
  --amber-soft: #f0d99e;
  --paper: #f4f3ed;
  --paper-2: #ebeae1;
  --ink: #14211d;
  --muted: #66736e;
  --line: rgba(20, 58, 49, .14);
  --white: #fff;
  --danger: #b95546;
  --shadow: 0 24px 70px rgba(6, 27, 23, .13);
  --radius: 28px;
  --container: 1320px;
  --topbar-height: 86px;
  --scene-surface: rgba(4, 25, 17, .84);
  --scene-surface-dense: rgba(3, 19, 13, .92);
  --scene-surface-border: rgba(177, 224, 194, .18);
  --scene-surface-blur: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.drawer-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; padding: 12px 16px; background: white; border-radius: 12px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.topbar {
  position: fixed;
  z-index: 100;
  top: max(14px, env(safe-area-inset-top));
  left: 50%;
  width: min(calc(100% - 32px), var(--container));
  height: var(--topbar-height);
  padding: 12px 14px 12px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: white;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background: rgba(6, 27, 23, .84);
  box-shadow: 0 18px 40px rgba(4, 17, 14, .22);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transform: translate(-50%, 0);
  transition: transform .42s cubic-bezier(.2,.8,.2,1), background .25s;
}
.topbar.is-hidden { transform: translate(-50%, calc(-100% - 28px)); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; color: white; text-decoration: none; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--amber); color: var(--pine-950); }
.brand-mark svg { width: 29px; height: 29px; fill: currentColor; }
.brand-mark.logo-mark { padding: 4px; overflow: hidden; background: #fff; }
.brand-mark.logo-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.brand-mark.mini { width: 34px; height: 34px; border-radius: 11px; }
.brand-mark.mini svg { width: 20px; }
.brand-copy { display: grid; gap: 4px; }
.brand-copy b { font-size: 16px; letter-spacing: .06em; }
.brand-copy small { color: rgba(255,255,255,.62); font-size: 11px; }
.nav { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 16px; background: rgba(255,255,255,.075); }
.nav a { position: relative; padding: 11px 14px; color: rgba(255,255,255,.68); border-radius: 12px; font-size: 13px; font-weight: 650; text-decoration: none; transition: .2s; }
.nav a:hover { color: white; }
.nav a.active { color: var(--pine-950); background: var(--amber-soft); }
.nav-editor { display: none; padding: 12px 18px; color: white; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.07); cursor: pointer; font-weight: 700; }
.editor-open { justify-self: end; display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; color: white; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.07); cursor: pointer; }
.editor-open:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.12); }
.editor-open svg { width: 18px; fill: currentColor; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.07); }
.menu-toggle span { position: absolute; width: 19px; height: 2px; background: white; transition: .2s; }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

main { min-height: 100vh; }
.page { animation: page-in .5s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(12px); } }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 110px 0; overflow: clip; }
.section.compact { padding: 76px 0; }
.section.dark { color: white; background: var(--pine-950); }
.section.ink { color: white; background: var(--pine-900); }
.section.paper-2 { background: var(--paper-2); }
.eyebrow { display: block; margin-bottom: 16px; color: var(--pine-600); font-size: 11px; line-height: 1.2; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dark .eyebrow, .ink .eyebrow { color: var(--amber-soft); }
.display { margin: 0; max-width: 980px; font-size: clamp(46px, 7.4vw, 104px); line-height: .94; font-weight: 620; letter-spacing: -.055em; overflow-wrap: anywhere; hyphens: auto; }
.section-title { margin: 0; max-width: 880px; font-size: clamp(34px, 5vw, 68px); line-height: 1.02; font-weight: 590; letter-spacing: -.045em; overflow-wrap: anywhere; hyphens: auto; }
.section-lead { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 22px); line-height: 1.55; }
.dark .section-lead, .ink .section-lead { color: rgba(255,255,255,.64); }
.gold { color: var(--amber-soft); }
.muted { color: var(--muted); }
.text-link { color: var(--pine-700); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: white;
  background: var(--pine-950) url("assets/forest-hero.png") center/cover no-repeat;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,18,15,.93) 0%, rgba(3,18,15,.72) 42%, rgba(3,18,15,.16) 75%), linear-gradient(0deg, rgba(3,18,15,.92), transparent 48%); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .16; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.4) 0 1px, transparent 1px); background-size: 9px 9px; mask-image: linear-gradient(90deg, black, transparent 55%); }
.hero .container { position: relative; z-index: 1; padding-top: calc(var(--topbar-height) + 90px); padding-bottom: max(70px, env(safe-area-inset-bottom)); }
.hero-copy { max-width: 850px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--amber-soft); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-kicker::before { content: ""; width: 42px; height: 1px; background: currentColor; }
.hero h1 { margin: 0; max-width: 840px; font-size: clamp(50px, 7.6vw, 112px); line-height: .88; font-weight: 590; letter-spacing: -.06em; }
.hero p { max-width: 690px; margin: 34px 0 0; color: rgba(255,255,255,.72); font-size: clamp(17px, 2vw, 23px); line-height: 1.5; }
.hero-meta { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 12px; }
.meta-pill { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(6,27,23,.28); backdrop-filter: blur(8px); color: rgba(255,255,255,.82); font-size: 13px; }
.meta-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(214,164,73,.12); }
.scroll-cue { position: absolute; z-index: 2; right: max(24px, calc((100vw - var(--container))/2)); bottom: 72px; writing-mode: vertical-rl; color: rgba(255,255,255,.46); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.scroll-cue::after { content: ""; display: inline-block; margin-top: 12px; width: 1px; height: 44px; background: linear-gradient(white, transparent); }

.statement-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .55fr); gap: 8vw; align-items: end; }
.statement { margin: 0; font-size: clamp(32px, 4.9vw, 68px); line-height: 1.06; letter-spacing: -.045em; }
.side-note { padding-left: 22px; border-left: 2px solid var(--amber); color: var(--muted); font-size: 16px; line-height: 1.65; }
.number-strip { margin-top: 72px; padding-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.number-item { padding: 0 30px; border-right: 1px solid var(--line); }
.number-item:first-child { padding-left: 0; }
.number-item:last-child { border: 0; }
.number-item b { display: block; color: var(--pine-800); font-size: clamp(42px, 5vw, 72px); line-height: 1; letter-spacing: -.055em; }
.number-item span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }

.capabilities { margin-top: 58px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap-card { min-height: 310px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.55); transition: transform .25s, box-shadow .25s, background .25s; }
.cap-card:hover { transform: translateY(-5px); background: white; box-shadow: var(--shadow); }
.cap-index { color: var(--amber); font-weight: 800; }
.cap-card h3 { margin: auto 0 14px; max-width: 250px; font-size: 27px; line-height: 1.08; letter-spacing: -.025em; }
.cap-card p { margin: 0; color: var(--muted); line-height: 1.55; }

.timeline { margin-top: 72px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 150px 1fr 1.1fr; gap: 38px; padding: 32px 0; border-top: 1px solid rgba(255,255,255,.15); }
.timeline-item:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.timeline-year { color: var(--amber-soft); font-size: 18px; font-weight: 750; }
.timeline-item h3 { margin: 0; font-size: 26px; letter-spacing: -.02em; }
.timeline-item p { margin: 0; color: rgba(255,255,255,.6); line-height: 1.6; }

.architecture { margin-top: 64px; display: grid; grid-template-columns: 1fr 80px 1fr 80px 1fr; align-items: stretch; }
.arch-column { display: flex; flex-direction: column; gap: 12px; }
.arch-label { margin-bottom: 8px; color: var(--amber-soft); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.arch-node { padding: 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.055); }
.arch-node b { display: block; font-size: 16px; }
.arch-node small { display: block; margin-top: 7px; color: rgba(255,255,255,.48); line-height: 1.4; }
.arch-flow { display: grid; place-items: center; color: var(--amber); font-size: 30px; }
.arch-flow::before { content: "⟶"; }

.integration-cloud { margin-top: 54px; display: flex; flex-wrap: wrap; gap: 10px; }
.integration-pill { padding: 14px 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.55); color: var(--pine-800); font-weight: 700; }
.roadmap { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; border-radius: var(--radius); overflow: hidden; }
.roadmap-card { min-height: 300px; padding: 28px; display: flex; flex-direction: column; background: white; }
.roadmap-card.current { color: white; background: var(--pine-700); }
.roadmap-card span { color: var(--amber); font-size: 13px; font-weight: 800; }
.roadmap-card h3 { margin: auto 0 12px; font-size: 24px; line-height: 1.1; }
.roadmap-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.roadmap-card.current p { color: rgba(255,255,255,.68); }

.page-hero { padding: calc(var(--topbar-height) + 110px) 0 76px; color: white; background: var(--pine-950); }
.page-hero .container { display: block; }
.page-hero-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.page-hero .container > *, .page-hero-head > *, .dashboard-grid > *, .user-intro > *, .kpi-grid > * { min-width: 0; }
.page-hero p { max-width: 700px; margin: 28px 0 0; color: rgba(255,255,255,.65); font-size: 19px; line-height: 1.55; }
.snapshot { align-self: end; padding: 16px 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; color: rgba(255,255,255,.72); font-size: 13px; white-space: nowrap; }
.snapshot b { color: white; }

.dashboard-shell { position: relative; margin-top: -42px; z-index: 2; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi-card { min-height: 186px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 18px 50px rgba(6,27,23,.08); }
.kpi-card.accent { color: white; background: var(--pine-700); }
.kpi-card small { color: var(--muted); font-size: 13px; line-height: 1.3; }
.kpi-card.accent small { color: rgba(255,255,255,.62); }
.kpi-card strong { margin-top: auto; font-size: clamp(38px, 4vw, 60px); line-height: 1; letter-spacing: -.055em; }
.kpi-card em { margin-top: 10px; color: var(--pine-600); font-size: 12px; font-style: normal; font-weight: 750; }
.kpi-card.accent em { color: var(--amber-soft); }

.dashboard-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.panel { grid-column: span 6; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.7); }
.panel.wide { grid-column: 1 / -1; }
.panel.third { grid-column: span 4; }
.panel-head { margin-bottom: 26px; display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.panel-head h3 { margin: 0; font-size: 23px; letter-spacing: -.025em; }
.panel-head p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.tag { display: inline-flex; padding: 7px 9px; border-radius: 9px; background: var(--paper-2); color: var(--pine-700); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

.donut-layout { display: grid; grid-template-columns: 190px 1fr; gap: 32px; align-items: center; }
.donut { position: relative; width: 180px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--pine-700) 0 42%, var(--amber) 42% 64%, var(--moss) 64% 82%, #9ab8b0 82% 94%, #c9cdc4 94% 100%); }
.donut::after { content: ""; position: absolute; inset: 23px; border-radius: 50%; background: var(--paper); }
.donut-center { position: absolute; z-index: 1; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-center b { font-size: 29px; letter-spacing: -.04em; }
.donut-center small { color: var(--muted); }
.legend { display: grid; gap: 13px; }
.legend-row { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; }
.legend-row i { width: 8px; height: 8px; border-radius: 50%; background: var(--color); }
.legend-row span { color: var(--muted); font-size: 13px; }
.legend-row b { font-size: 14px; }

.bar-chart { display: grid; gap: 18px; }
.bar-row { display: grid; grid-template-columns: minmax(110px, .75fr) 2fr auto; gap: 12px; align-items: center; }
.bar-label { color: var(--muted); font-size: 13px; }
.bar-track { height: 9px; border-radius: 99px; background: rgba(13,59,49,.09); overflow: hidden; }
.bar-fill { width: var(--value); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pine-700), var(--pine-500)); transform-origin: left; animation: grow .8s ease both; }
@keyframes grow { from { transform: scaleX(0); } }
.bar-value { min-width: 56px; text-align: right; font-weight: 750; }

.status-stack { display: grid; gap: 12px; }
.status-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; }
.status-row span { font-size: 14px; }
.status-row b { font-size: 15px; }
.status-line { grid-column: 1/-1; height: 6px; border-radius: 99px; background: rgba(13,59,49,.09); overflow: hidden; }
.status-line i { display: block; height: 100%; width: var(--value); border-radius: inherit; background: var(--color, var(--pine-700)); }

.progress-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.progress-card { padding: 18px; border-radius: 18px; background: var(--paper-2); }
.progress-card strong { display: block; font-size: 27px; letter-spacing: -.04em; }
.progress-card span { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.progress-card .micro { height: 4px; margin-top: 17px; border-radius: 9px; background: rgba(13,59,49,.1); }
.progress-card .micro i { display: block; height: 100%; width: var(--value); border-radius: inherit; background: var(--amber); }

.table-tools { margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.search { min-width: min(100%, 280px); flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; outline: none; background: white; }
.search:focus { border-color: var(--pine-500); box-shadow: 0 0 0 3px rgba(42,129,107,.12); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { padding: 11px 13px; border: 0; border-radius: 11px; color: var(--muted); background: var(--paper-2); cursor: pointer; }
.tab.active { color: white; background: var(--pine-700); }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 18px; background: white; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13px; }
th { position: sticky; top: 0; z-index: 1; color: var(--muted); background: #f8f7f2; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
th.sortable { cursor: pointer; user-select: none; padding-right: 34px; }
th.sortable::after { content: "↕"; position: absolute; right: 14px; color: #9ba69f; font-size: 12px; }
th.sortable[data-direction="asc"]::after { content: "↑"; color: var(--pine-700); }
th.sortable[data-direction="desc"]::after { content: "↓"; color: var(--pine-700); }
tr:last-child td { border-bottom: 0; }
.cell-progress { display: flex; align-items: center; gap: 10px; }
.cell-progress i { width: 80px; height: 5px; border-radius: 9px; background: var(--paper-2); overflow: hidden; }
.cell-progress i::after { content: ""; display: block; width: var(--value); height: 100%; background: var(--pine-500); }
.status-chip { display: inline-flex; padding: 6px 9px; border-radius: 9px; color: var(--pine-700); background: rgba(42,129,107,.1); font-size: 11px; font-weight: 750; }
.status-chip.warn { color: #815e18; background: rgba(214,164,73,.18); }
.status-chip.danger { color: #8e3d33; background: rgba(185,85,70,.13); }

.update-list { display: grid; gap: 2px; border-radius: var(--radius); overflow: hidden; }
.update-item { padding: 24px 26px; display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; align-items: start; background: white; }
.update-item time { color: var(--muted); font-size: 12px; }
.update-item h4 { margin: 0 0 8px; font-size: 18px; }
.update-item p { margin: 0; color: var(--muted); line-height: 1.5; }

.protocol-list { display: grid; gap: 10px; }
.protocol-item { padding: 23px; display: grid; grid-template-columns: 42px 1fr auto; gap: 18px; align-items: start; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.045); }
.protocol-num { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; color: var(--amber-soft); font-weight: 800; }
.protocol-item h4 { margin: 0 0 8px; font-size: 17px; }
.protocol-item p { margin: 0; color: rgba(255,255,255,.58); line-height: 1.5; }
.protocol-meta { display: grid; gap: 8px; justify-items: end; }

.user-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.user-spotlight { min-height: 540px; padding: 42px; display: flex; flex-direction: column; color: white; border-radius: 36px; background: linear-gradient(155deg, var(--pine-700), var(--pine-950)); overflow: hidden; }
.user-spotlight::after { content: ""; position: absolute; width: 420px; height: 420px; right: -130px; bottom: -170px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.035), 0 0 0 96px rgba(255,255,255,.025); }
.user-spotlight { position: relative; }
.user-spotlight h2 { position: relative; z-index: 1; margin: auto 0 20px; max-width: 620px; font-size: clamp(38px, 5vw, 68px); line-height: 1; letter-spacing: -.045em; }
.user-spotlight p { position: relative; z-index: 1; margin: 0; max-width: 580px; color: rgba(255,255,255,.64); font-size: 18px; line-height: 1.55; }
.service-rail { display: grid; gap: 12px; }
.service-card { padding: 26px; display: flex; align-items: flex-end; gap: 20px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.service-card b { min-width: 90px; color: var(--pine-700); font-size: 34px; letter-spacing: -.04em; }
.service-card span { color: var(--muted); line-height: 1.4; }

.ai-banner { position: relative; padding: 48px; display: grid; grid-template-columns: 1fr .72fr; gap: 60px; border-radius: 36px; color: white; background: var(--pine-900); overflow: hidden; }
.ai-banner::after { content: "AI"; position: absolute; right: 16px; bottom: -72px; color: rgba(255,255,255,.035); font-size: 280px; line-height: 1; font-weight: 900; letter-spacing: -.12em; }
.ai-banner h3 { margin: 0; max-width: 700px; font-size: clamp(34px, 4vw, 56px); line-height: 1.02; letter-spacing: -.04em; }
.ai-banner p { margin: 20px 0 0; color: rgba(255,255,255,.62); line-height: 1.6; }
.steps { position: relative; z-index: 1; display: grid; gap: 14px; }
.step { display: flex; gap: 13px; align-items: flex-start; color: rgba(255,255,255,.72); line-height: 1.45; }
.step i { flex: 0 0 27px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--pine-950); background: var(--amber); font-style: normal; font-size: 12px; font-weight: 800; }

.contact-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; border-radius: 26px; overflow: hidden; }
.contact-card { min-height: 180px; padding: 24px; display: flex; flex-direction: column; background: white; text-decoration: none; }
.contact-card:hover { background: var(--amber-soft); }
.contact-card small { color: var(--muted); }
.contact-card strong { margin-top: auto; font-size: 18px; overflow-wrap: anywhere; }

.footer { padding: 34px max(24px, calc((100vw - var(--container))/2)); display: flex; align-items: center; gap: 30px; color: rgba(255,255,255,.65); background: #04120f; font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: white; }
.footer p { margin: 0; flex: 1; }
.footer a { text-underline-offset: 4px; }

.drawer-backdrop { position: fixed; z-index: 140; inset: 0; background: rgba(3,18,15,.58); backdrop-filter: blur(5px); }
.editor-drawer { position: fixed; z-index: 150; top: 0; right: 0; width: min(650px, 100%); height: 100dvh; padding: max(28px, env(safe-area-inset-top)) 28px max(28px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; background: #f8f7f2; box-shadow: -30px 0 80px rgba(4,18,15,.25); transform: translateX(104%); transition: transform .34s cubic-bezier(.2,.8,.2,1); }
.editor-drawer.open { transform: none; }
.editor-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.editor-head h2 { margin: 0; font-size: 36px; letter-spacing: -.04em; }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 13px; background: white; cursor: pointer; font-size: 27px; }
.editor-help { color: var(--muted); font-size: 13px; line-height: 1.55; }
.editor-help code { color: var(--pine-700); }
.field-label { margin: 8px 0 7px; color: var(--muted); font-size: 12px; font-weight: 750; }
#editor-source { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.editor-status { margin: 12px 0 8px; color: var(--pine-600); font-size: 12px; }
.editor-status.error { color: var(--danger); }
#editor-text { flex: 1; min-height: 240px; padding: 16px; resize: none; border: 1px solid var(--line); border-radius: 16px; outline: none; color: #18342d; background: #fff; font: 12px/1.55 "SFMono-Regular", Consolas, monospace; tab-size: 2; }
#editor-text:focus { border-color: var(--pine-500); box-shadow: 0 0 0 3px rgba(42,129,107,.12); }
.editor-actions { padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.button { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); cursor: pointer; font-weight: 700; }
.button.primary { color: white; border-color: var(--pine-700); background: var(--pine-700); }
.button.ghost { color: var(--muted); background: transparent; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); padding: 13px 18px; color: white; border-radius: 12px; background: var(--pine-950); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 15px); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

html.presentation-scroll { scroll-snap-type: y mandatory; scroll-padding-top: 0; }
.snap-slide { min-height: 100svh; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; }
.snap-slide.hero { align-items: flex-end; }
.snap-slide.page-hero { align-items: center; }
.slide-rail { position: fixed; z-index: 90; right: 18px; top: 50%; display: grid; gap: 7px; transform: translateY(-50%); }
.slide-rail button { position: relative; width: 9px; height: 9px; padding: 0; border: 1px solid rgba(214,164,73,.7); border-radius: 50%; background: rgba(6,27,23,.28); cursor: pointer; transition: .25s; }
.slide-rail button.active { height: 30px; border-radius: 9px; background: var(--amber); }
.slide-rail button span { position: absolute; right: 16px; top: 50%; color: var(--amber-soft); opacity: 0; transform: translateY(-50%); font-size: 9px; font-weight: 800; transition: .2s; }
.slide-rail button:hover span, .slide-rail button:focus-visible span { opacity: 1; }
.reveal-item { opacity: 0; transform: translateY(22px); transition: opacity .65s ease var(--reveal-delay, 0ms), transform .65s cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms); }
.reveal-item.is-visible { opacity: 1; transform: none; }
.table-wrap.reveal-item tbody tr { opacity: 0; transform: translateY(8px); transition: .38s ease; }
.table-wrap.reveal-item.is-visible tbody tr { opacity: 1; transform: none; }
.table-wrap.reveal-item.is-visible tbody tr:nth-child(2) { transition-delay: 40ms; }
.table-wrap.reveal-item.is-visible tbody tr:nth-child(3) { transition-delay: 80ms; }
.table-wrap.reveal-item.is-visible tbody tr:nth-child(4) { transition-delay: 120ms; }
.table-wrap.reveal-item.is-visible tbody tr:nth-child(5) { transition-delay: 160ms; }
.table-wrap.reveal-item.is-visible tbody tr:nth-child(n+6) { transition-delay: 200ms; }
.switching { opacity: .15 !important; transform: translateY(8px); transition: .16s; }
.sort-hint { align-self: center; color: var(--muted); font-size: 11px; }
.hero-kpis { margin-top: 54px; color: var(--ink); }
.dashboard-top { margin-top: 54px; }

.concept-tabs { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px; }
.concept-tab { padding: 12px 16px; color: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.13); border-radius: 13px; background: rgba(255,255,255,.05); cursor: pointer; }
.concept-tab.active { color: var(--pine-950); border-color: var(--amber-soft); background: var(--amber-soft); }
.concept-stage { margin-top: 24px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 46px; min-height: 390px; padding: 34px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: rgba(255,255,255,.045); transition: .18s; }
.concept-view-copy h3 { margin: 0; font-size: clamp(31px, 4vw, 52px); line-height: 1.02; letter-spacing: -.04em; }
.concept-view-copy p { color: rgba(255,255,255,.58); line-height: 1.6; }
.concept-view-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.concept-view-grid article { padding: 20px; border-radius: 18px; background: rgba(255,255,255,.065); }
.concept-view-grid article > span { color: var(--amber); font-size: 11px; font-weight: 800; }
.concept-view-grid h4 { margin: 24px 0 8px; font-size: 17px; }
.concept-view-grid p { margin: 0; color: rgba(255,255,255,.52); font-size: 13px; line-height: 1.45; }

.task-orbit { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.task-card { min-height: 245px; padding: 26px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.65); }
.task-card > span { color: var(--amber); font-weight: 850; }
.task-card h3 { margin: auto 0 12px; font-size: 22px; line-height: 1.12; }
.task-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.domain-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.domain-card { min-height: 230px; padding: 26px; color: white; border-radius: 24px; background: linear-gradient(145deg, var(--pine-700), var(--pine-900)); }
.domain-card h3 { margin: 0 0 28px; font-size: 24px; }
.domain-card ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,.64); line-height: 1.65; }

.creation-track { position: relative; margin-top: 62px; display: grid; grid-template-columns: repeat(8, minmax(150px, 1fr)); gap: 0; overflow-x: auto; padding: 24px 0 18px; scrollbar-width: thin; }
.creation-track::before { content: ""; position: absolute; left: 18px; right: 18px; top: 34px; height: 1px; background: linear-gradient(90deg, var(--amber), rgba(214,164,73,.18)); }
.creation-stop { position: relative; min-width: 165px; min-height: 330px; padding: 46px 18px 20px; border-right: 1px solid rgba(255,255,255,.1); }
.creation-dot { position: absolute; z-index: 1; top: 4px; left: 17px; width: 13px; height: 13px; border: 3px solid var(--pine-950); border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(214,164,73,.15); }
.creation-stop time { color: var(--amber-soft); font-size: 13px; font-weight: 800; }
.creation-stop h3 { margin: 36px 0 12px; font-size: 20px; line-height: 1.15; }
.creation-stop p { margin: 0; color: rgba(255,255,255,.52); font-size: 13px; line-height: 1.5; }
.creation-stop small { position: absolute; right: 12px; bottom: 4px; color: rgba(255,255,255,.1); font-size: 40px; font-weight: 800; }

.architecture-section { align-items: flex-start; padding-top: 110px; }
.arch-map { position: relative; margin-top: 44px; display: grid; grid-template-columns: 1.15fr .42fr .9fr; grid-template-areas: "top top top" "left hub right" "bottom bottom bottom" "note note note"; gap: 14px; }
.arch-zone { position: relative; padding: 28px 14px 14px; border: 1px dashed rgba(255,255,255,.19); border-radius: 20px; background: rgba(255,255,255,.025); }
.arch-zone-label { position: absolute; top: 9px; left: 14px; color: rgba(255,255,255,.38); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.top-zone { grid-area: top; }
.left-zone { grid-area: left; }
.right-zone { grid-area: right; }
.bottom-zone { grid-area: bottom; }
.arch-zone-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.arch-zone-grid.two { grid-template-columns: 1fr 1fr; }
.arch-zone-grid.three { grid-template-columns: repeat(3, 1fr); }
.right-zone .arch-zone-grid { grid-template-columns: 1fr 1fr; }
.arch-system, .arch-hub { position: relative; z-index: 2; min-height: 70px; padding: 14px; color: white; text-align: left; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(32,116,91,.38); cursor: pointer; transition: .24s; }
.arch-system b, .arch-hub b { display: block; font-size: 12px; line-height: 1.25; }
.arch-system small, .arch-hub small { display: block; margin-top: 7px; color: var(--amber-soft); font-size: 9px; }
.arch-system.future { color: rgba(255,255,255,.48); background: rgba(255,255,255,.04); }
.arch-system:hover, .arch-system.active, .arch-hub:hover, .arch-hub.active { border-color: var(--amber); background: var(--pine-600); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.arch-hub { grid-area: hub; align-self: center; min-height: 160px; text-align: center; border-color: rgba(214,164,73,.6); background: rgba(214,164,73,.12); }
.arch-hub span { display: block; margin-bottom: 24px; color: var(--amber-soft); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.arch-hub b { font-size: 15px; }
.arch-note { grid-area: note; min-height: 45px; padding: 13px 18px; color: rgba(255,255,255,.58); text-align: center; border-radius: 13px; background: rgba(255,255,255,.045); font-size: 12px; }
.arch-connectors { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.arch-connectors .line { position: absolute; display: block; background: rgba(214,164,73,.26); overflow: hidden; }
.arch-connectors .vertical { top: 110px; bottom: 110px; left: 57.5%; width: 1px; }
.arch-connectors .horizontal { top: 50%; left: 25%; right: 22%; height: 1px; }
.arch-connectors .pulse { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 16px var(--amber); animation: data-pulse 4s linear infinite; }
.arch-connectors .p1 { top: 105px; left: calc(57.5% - 3px); }
.arch-connectors .p2 { top: 50%; left: 25%; animation-delay: -1s; }
.arch-connectors .p3 { top: 50%; right: 22%; animation-delay: -2s; }
.arch-connectors .p4 { bottom: 108px; left: calc(57.5% - 3px); animation-delay: -3s; }
@keyframes data-pulse { 0% { opacity: 0; transform: scale(.6); } 20%,75% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.6); } }

.channel-tabs { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.channel-tab { padding: 18px; text-align: left; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.55); cursor: pointer; }
.channel-tab b, .channel-tab small { display: block; }
.channel-tab b { color: var(--pine-800); font-size: 18px; }
.channel-tab small { margin-top: 5px; color: var(--muted); }
.channel-tab.active { color: white; border-color: var(--pine-700); background: var(--pine-700); }
.channel-tab.active b, .channel-tab.active small { color: inherit; }
.integration-stage { margin-top: 12px; min-height: 380px; padding: 32px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.integration-stage-copy h3 { margin: 0; font-size: 44px; letter-spacing: -.04em; }
.integration-stage-copy > p { color: var(--muted); line-height: 1.55; }
.system-buttons { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 7px; }
.system-button { padding: 10px 12px; color: var(--pine-700); border: 1px solid var(--line); border-radius: 11px; background: var(--paper); cursor: pointer; }
.system-button.active { color: white; border-color: var(--pine-700); background: var(--pine-700); }
.system-detail { padding: 28px; align-self: stretch; border-radius: 22px; color: white; background: linear-gradient(145deg, var(--pine-700), var(--pine-950)); transition: .16s; }
.system-detail > span { color: var(--amber-soft); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.system-detail h4 { margin: 100px 0 18px; font-size: 28px; line-height: 1.05; }
.system-detail p { color: rgba(255,255,255,.62); line-height: 1.55; }

.smev-compare { margin-top: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.smev-card { min-height: 470px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.smev-card-head { display: grid; grid-template-columns: 1fr auto; align-items: end; }
.smev-card-head > span { color: var(--pine-700); font-size: 28px; font-weight: 800; }
.smev-card-head strong { grid-row: span 2; font-size: 82px; line-height: .9; letter-spacing: -.06em; }
.smev-card-head small { color: var(--muted); }
.smev-card > p { margin: 34px 0; color: var(--muted); line-height: 1.5; }
.smev-card ul { margin: 0; padding: 0; list-style: none; }
.smev-card li { padding: 13px 0 13px 22px; border-top: 1px solid var(--line); line-height: 1.4; }
.smev-card li::before { content: ""; float: left; width: 7px; height: 7px; margin: 7px 0 0 -20px; border-radius: 50%; background: var(--amber); }

.trend-board { margin-top: 50px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.trend-card { min-height: 300px; padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 23px; background: rgba(255,255,255,.045); }
.trend-card.wide { grid-column: 1/-1; min-height: 200px; }
.trend-card > span { color: var(--amber-soft); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.trend-card h3 { margin: 48px 0 18px; font-size: 26px; }
.trend-card ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,.58); line-height: 1.6; }
.source-note { margin: 30px 0 0; color: rgba(255,255,255,.45); font-size: 12px; }
.source-note a { color: var(--amber-soft); text-underline-offset: 3px; }

.material-summary { margin-top: 58px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.material-summary div { padding: 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(255,255,255,.045); }
.material-summary strong, .material-summary span { display: block; }
.material-summary strong { color: var(--amber-soft); font-size: 30px; }
.material-summary span { margin-top: 5px; color: rgba(255,255,255,.55); font-size: 12px; }
.materials-layout { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.materials-sidebar { position: sticky; top: 130px; display: grid; gap: 7px; }
.material-nav { padding: 15px; display: grid; grid-template-columns: 32px 1fr; align-items: center; text-align: left; color: var(--muted); border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.5); cursor: pointer; }
.material-nav span { color: var(--amber); font-size: 10px; font-weight: 800; }
.material-nav.active { color: white; border-color: var(--pine-700); background: var(--pine-700); }
.materials-stage { min-height: 600px; transition: .16s; }
.material-category-head h2 { margin: 0; max-width: 700px; font-size: clamp(35px, 5vw, 62px); line-height: 1; letter-spacing: -.045em; }
.material-category-head p { max-width: 680px; color: var(--muted); line-height: 1.55; }
.material-category-head .button { display: inline-flex; margin-top: 12px; text-decoration: none; }
.material-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.material-card { min-height: 260px; padding: 24px; display: flex; flex-direction: column; color: inherit; border: 1px solid var(--line); border-radius: 22px; background: white; text-decoration: none; transition: .24s; }
.material-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.material-type { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 10px; }
.material-type b { color: var(--pine-700); }
.material-card h3 { margin: 44px 0 12px; font-size: 22px; line-height: 1.12; }
.material-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.material-open { margin-top: auto; padding-top: 18px; color: var(--pine-700); font-weight: 750; }

@media (max-width: 1100px) {
  .topbar { grid-template-columns: 1fr auto; }
  .nav { position: absolute; top: calc(100% + 10px); left: 0; right: 0; padding: 10px; display: none; flex-direction: column; align-items: stretch; border: 1px solid rgba(255,255,255,.14); background: rgba(6,27,23,.96); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { text-align: center; }
  .nav-editor { display: block; }
  .menu-toggle { display: grid; justify-self: end; }
  .editor-open { position: fixed; right: 88px; }
  .editor-open span { display: none; }
  .architecture { grid-template-columns: 1fr; gap: 16px; }
  .arch-flow { min-height: 30px; transform: rotate(90deg); }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .panel.third { grid-column: span 6; }
  .progress-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-strip { grid-template-columns: repeat(2, 1fr); }
  .concept-stage { grid-template-columns: 1fr; }
  .task-orbit, .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .arch-map { grid-template-columns: 1fr .5fr 1fr; }
  .arch-zone-grid { grid-template-columns: repeat(3, 1fr); }
  .materials-layout { grid-template-columns: 235px 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  :root { --topbar-height: 70px; --radius: 22px; }
  .topbar { top: max(8px, env(safe-area-inset-top)); width: calc(100% - 16px); padding: 9px 10px; border-radius: 19px; }
  .brand-mark { width: 43px; height: 43px; border-radius: 13px; }
  .brand-copy small { display: none; }
  .editor-open { right: 68px; padding: 11px; }
  .menu-toggle { width: 43px; height: 43px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 76px 0; }
  .hero { min-height: 820px; background-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, rgba(3,18,15,.91), rgba(3,18,15,.43)), linear-gradient(0deg, rgba(3,18,15,.94), transparent 60%); }
  .hero .container { padding-top: 150px; padding-bottom: 54px; }
  .hero h1 { font-size: clamp(48px, 15vw, 76px); }
  .hero p { margin-top: 25px; font-size: 17px; }
  .hero-meta { margin-top: 32px; }
  .scroll-cue { display: none; }
  .statement-grid, .page-hero-head, .user-intro, .ai-banner { grid-template-columns: 1fr; }
  .side-note { margin-top: 22px; }
  .number-strip { grid-template-columns: 1fr; }
  .number-item { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .capabilities { grid-template-columns: 1fr; }
  .cap-card { min-height: 245px; }
  .timeline-item { grid-template-columns: 1fr; gap: 12px; }
  .roadmap { grid-template-columns: 1fr; }
  .roadmap-card { min-height: 230px; }
  .page-hero { padding: 150px 0 78px; }
  .page-hero-head, .user-intro, .ai-banner { grid-template-columns: minmax(0, 1fr); }
  .page-hero .display { max-width: 100%; font-size: clamp(34px, 9.2vw, 44px); line-height: .98; letter-spacing: -.045em; overflow-wrap: anywhere; word-break: break-word; }
  .page-hero p { font-size: 17px; }
  .snapshot { justify-self: start; }
  .dashboard-shell { margin-top: -28px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kpi-card { min-height: 154px; padding: 18px; }
  .kpi-card strong { font-size: 36px; }
  .panel, .panel.third { grid-column: 1/-1; padding: 22px; }
  .donut-layout { grid-template-columns: 1fr; }
  .donut { margin-inline: auto; }
  .bar-row { grid-template-columns: 95px 1fr auto; }
  .progress-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .update-item { grid-template-columns: 1fr; gap: 8px; }
  .protocol-item { grid-template-columns: 36px 1fr; }
  .protocol-meta { grid-column: 2; justify-items: start; }
  .user-spotlight { min-height: 480px; padding: 28px; }
  .user-spotlight h2 { font-size: clamp(34px, 10.5vw, 52px); overflow-wrap: anywhere; hyphens: auto; }
  .ai-banner { padding: 28px; }
  .contact-strip { grid-template-columns: 1fr; }
  .contact-card { min-height: 135px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 14px; }
  .editor-drawer { padding-inline: 18px; }
  .editor-open { display: none; }
  .slide-rail { display: none; }
  .snap-slide { min-height: 100svh; }
  .hero-kpis, .dashboard-top { margin-top: 34px; }
  .material-summary { margin-top: 36px; grid-template-columns: 1fr 1fr; }
  .concept-tabs { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; }
  .concept-tab { padding: 11px; font-size: 12px; }
  .concept-stage { min-height: 0; padding: 22px; gap: 28px; }
  .concept-view-grid { grid-template-columns: 1fr; }
  .task-orbit, .domain-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .task-card, .domain-card { min-height: 215px; }
  .creation-track { margin-top: 34px; }
  .architecture-section { padding-top: 82px; }
  .arch-map { grid-template-columns: 1fr; grid-template-areas: "top" "left" "hub" "right" "bottom" "note"; }
  .arch-zone-grid, .arch-zone-grid.three { grid-template-columns: 1fr 1fr; }
  .arch-zone-grid.two { grid-template-columns: 1fr; }
  .arch-hub { min-height: 110px; }
  .arch-connectors { display: none; }
  .channel-tabs { margin-top: 34px; grid-template-columns: 1fr 1fr; }
  .channel-tab { padding: 14px; }
  .integration-stage { grid-template-columns: 1fr; padding: 22px; }
  .integration-stage-copy h3 { font-size: 36px; }
  .system-detail h4 { margin-top: 50px; }
  .smev-compare, .trend-board { grid-template-columns: 1fr; margin-top: 34px; }
  .smev-card { min-height: 0; padding: 24px; }
  .smev-card-head strong { font-size: 64px; }
  .trend-card, .trend-card.wide { grid-column: auto; min-height: 250px; }
  .materials-layout { grid-template-columns: 1fr; gap: 30px; }
  .materials-sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .materials-sidebar .eyebrow { grid-column: 1/-1; }
  .material-grid { grid-template-columns: 1fr; }
  .materials-stage { min-height: 0; }
}

@media (max-width: 560px) {
  .brand-copy b { font-size: 14px; }
  .kpi-grid { grid-template-columns: 1fr; }
  .progress-grid { grid-template-columns: 1fr; }
  .editor-actions .button { flex: 1; }
  .material-summary, .concept-tabs, .channel-tabs, .materials-sidebar { grid-template-columns: 1fr; }
  .arch-zone-grid, .arch-zone-grid.three { grid-template-columns: 1fr; }
  .smev-card-head { grid-template-columns: 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Brandbook-led immersive presentation layer */
@font-face {
  font-family: "Golos";
  src: url("assets/fonts/GolosText-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --pine-950: #061c13;
  --pine-900: #0b321f;
  --pine-800: #126a3a;
  --pine-700: #126a3a;
  --pine-600: #1d855b;
  --pine-500: #2dc974;
  --moss: #65a068;
  --amber: #f8e534;
  --amber-soft: #f4e06d;
  --paper: #f7f7f2;
  --paper-2: #edf2eb;
  --ink: #262424;
  --muted: #65716a;
  --line: rgba(18, 106, 58, .17);
  --shadow: 0 22px 66px rgba(6, 28, 19, .15);
  --radius: 22px;
  --motion-micro: 240ms;
  --motion-ui: 420ms;
  --motion-section: 820ms;
  --ease-system: cubic-bezier(.2, .78, .2, 1);
}

html.presentation-scroll { scroll-snap-type: y proximity; }
body { font-family: "Golos", Arial, sans-serif; }
main, .footer { position: relative; z-index: 2; }
.topbar { position: fixed; z-index: 100; }
.page { animation-duration: var(--motion-ui); }
.snap-slide { scroll-snap-stop: normal; }

.world-layer {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #061c13;
  pointer-events: none;
  opacity: .18;
  transition: opacity var(--motion-section) var(--ease-system);
}
body[data-route="general"] .world-layer { opacity: 1; }
.section-preview .general-page > section[hidden] { display: none !important; }
#world-canvas, .world-fallback, .world-contours, .world-vignette { position: absolute; inset: 0; width: 100%; height: 100%; }
#world-canvas { opacity: 0; transition: opacity 1.1s ease; }
.webgl-ready #world-canvas { opacity: 1; }
.world-fallback {
  background: #0b321f url("assets/forest-hero.png") center/cover no-repeat;
  transition: opacity 1.2s ease;
}
.world-fallback::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,28,19,.08), rgba(6,28,19,.68)); }
.webgl-ready .world-fallback { opacity: 0; }
.webgl-fallback #world-canvas { display: none; }
.world-contours {
  opacity: .2;
  background:
    repeating-radial-gradient(circle at -7% 8%, transparent 0 34px, rgba(255,255,255,.24) 35px 36px, transparent 37px 52px),
    repeating-radial-gradient(circle at 108% 91%, transparent 0 28px, rgba(45,201,116,.32) 29px 30px, transparent 31px 48px);
  mask-image: linear-gradient(135deg, #000, transparent 36%, transparent 67%, #000);
}
.world-vignette { background: radial-gradient(circle at 50% 42%, transparent 28%, rgba(4,17,12,.18) 72%, rgba(3,14,10,.58) 100%); }
.world-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 170px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px 12px;
  align-items: center;
  color: white;
  transform: translate(-50%, -50%);
  transition: opacity .5s ease, transform .5s ease;
}
.world-loader img { width: 38px; filter: brightness(0) invert(1); }
.world-loader span { font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.world-loader i { grid-column: 1/-1; height: 1px; background: rgba(255,255,255,.22); overflow: hidden; }
.world-loader i::after { content: ""; display: block; width: 42%; height: 100%; background: #2dc974; animation: loader-line 1.1s var(--ease-system) infinite alternate; }
.webgl-ready .world-loader { opacity: 0; transform: translate(-50%, calc(-50% - 8px)); }
@keyframes loader-line { from { transform: translateX(-100%); } to { transform: translateX(238%); } }

.topbar {
  height: 72px;
  padding: 9px 11px 9px 14px;
  border-radius: 18px;
  border-color: rgba(255,255,255,.16);
  background: rgba(6,28,19,.72);
  box-shadow: 0 14px 45px rgba(0,0,0,.2);
}
.brand-mark { border-radius: 12px; }
.brand-mark.logo-mark { padding: 8px; }
.brand-mark.logo-mark img { border-radius: 0; }
.brand-copy b { letter-spacing: .03em; }
.nav { background: rgba(255,255,255,.055); }
.nav a { font-weight: 600; }
.nav a.active { color: #126a3a; background: white; }
.editor-open { border-radius: 12px; }

.general-page { position: relative; z-index: 1; color: white; background: transparent; }
.general-page .story-section,
.general-page .hero {
  --section-opacity: 1;
  --section-shift: 0px;
  min-height: max(100svh, 760px);
  padding: 128px 0 96px;
  color: white;
  background: transparent !important;
  overflow: clip;
}
.general-page .story-section::before {
  display: none;
}
.general-page .hero::before { background: linear-gradient(90deg, rgba(4,18,12,.78), rgba(4,18,12,.22) 58%, transparent 82%); }
.general-page .hero::after { opacity: .08; }
.story-layout { min-height: calc(100svh - 224px); display: flex; align-items: flex-end; }
.story-frame {
  width: 100%;
  display: grid;
  grid-template-columns: 72px minmax(0, 680px) 1fr;
  align-items: start;
  opacity: var(--section-opacity);
  transform: translate3d(0, var(--section-shift), 0);
  will-change: opacity, transform;
}
.story-frame > :not(.story-index):not(.story-heading) { grid-column: 2/-1; }
.align-right .story-frame { grid-template-columns: 1fr 72px minmax(0, 720px); }
.align-right .story-index { grid-column: 2; }
.align-right .story-heading { grid-column: 3; }
.align-right .story-frame > :not(.story-index):not(.story-heading) { grid-column: 2/4; }
.story-index { grid-column: 1; grid-row: 1; display: grid; justify-items: start; gap: 11px; padding-top: 3px; color: rgba(255,255,255,.42); }
.story-index span { color: #2dc974; font-size: 12px; font-weight: 700; }
.story-index i { width: 1px; height: 62px; background: linear-gradient(#2dc974, transparent); }
.story-index small { writing-mode: vertical-rl; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.story-heading {
  grid-column: 2;
  grid-row: 1;
  max-width: 720px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--scene-surface-border);
  border-radius: 24px;
  background: var(--scene-surface);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .2);
}
.general-page .eyebrow { color: #2dc974; }
.general-page .section-title { max-width: 760px; font-size: clamp(38px, 5.4vw, 72px); font-weight: 560; text-wrap: balance; text-shadow: 0 2px 26px rgba(0,0,0,.22); }
.general-page .section-lead { color: rgba(255,255,255,.7); font-size: clamp(16px, 1.8vw, 20px); }
.general-page .reveal-item { opacity: 1; transform: none; }

.story-hero { align-items: stretch; }
.story-hero .hero-copy { max-width: 760px; }
.story-hero h1 { max-width: 720px; font-size: clamp(58px, 7vw, 96px); font-weight: 570; line-height: .92; text-wrap: balance; }
.story-hero p { max-width: 620px; color: rgba(255,255,255,.74); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.story-action { min-height: 48px; padding: 13px 16px; display: inline-flex; align-items: center; gap: 28px; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; color: white; text-decoration: none; transition: transform var(--motion-micro), background var(--motion-micro), color var(--motion-micro); }
.story-action.primary { color: #061c13; border-color: #2dc974; background: #2dc974; }
.story-action:hover { transform: translateY(-2px); }
.story-action.secondary:hover { background: rgba(255,255,255,.1); }
.story-hero .hero-meta { margin-top: 28px; }
.story-hero .meta-pill { border-radius: 10px; background: rgba(6,28,19,.32); }
.scene-coordinates { position: absolute; z-index: 2; left: max(20px, calc((100vw - var(--container))/2)); top: 132px; display: grid; grid-template-columns: auto auto 88px; gap: 12px; align-items: center; color: rgba(255,255,255,.48); font-size: 9px; letter-spacing: .12em; }
.scene-coordinates b { color: #2dc974; font-weight: 600; }
.scene-coordinates i { height: 1px; background: linear-gradient(90deg, #2dc974, transparent); }

.story-metrics { margin-top: 64px; border-color: rgba(255,255,255,.2); }
.story-metrics .number-item { border-color: rgba(255,255,255,.18); }
.story-metrics .number-item b { color: white; }
.story-metrics .number-item span { color: rgba(255,255,255,.57); }

.general-page .concept-tabs { gap: 0; margin-top: 46px; border-bottom: 1px solid rgba(255,255,255,.18); }
.general-page .concept-tab { padding: 14px 18px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: rgba(255,255,255,.52); background: transparent; }
.general-page .concept-tab.active { color: white; border-color: #2dc974; background: transparent; text-shadow: 0 0 22px rgba(45,201,116,.46); }
.general-page .concept-stage { min-height: 370px; margin-top: 0; padding: 34px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.18); border-radius: 0; background: transparent; }
.general-page .concept-view-grid article { padding: 18px 20px; border-left: 1px solid rgba(255,255,255,.16); border-radius: 0; background: transparent; }
.general-page .concept-view-grid article > span { color: #2dc974; }

.general-page .task-orbit {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--scene-surface-border);
  border-radius: 28px;
  background: var(--scene-surface-dense);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  overflow: hidden;
}
.general-page .task-card { min-height: 0; padding: 24px 26px; display: grid; grid-template-columns: 44px 1fr; gap: 18px; border: 0; border-right: 1px solid var(--scene-surface-border); border-bottom: 1px solid var(--scene-surface-border); border-radius: 0; background: transparent; }
.general-page .task-card:nth-child(2n) { border-right: 0; }
.general-page .task-card:nth-last-child(-n+2) { border-bottom: 0; }
.general-page .task-card > span { color: #2dc974; font-size: 11px; }
.general-page .task-card h3 { margin: 0 0 8px; font-size: 21px; }
.general-page .task-card p { color: rgba(255,255,255,.58); }

.general-page .domain-grid { grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border: 1px solid var(--scene-surface-border); border-radius: 28px; background: var(--scene-surface-dense); box-shadow: 0 24px 70px rgba(0,0,0,.24); overflow: hidden; }
.general-page .domain-card { min-height: 250px; padding: 26px; border: 0; border-right: 1px solid var(--scene-surface-border); border-bottom: 1px solid var(--scene-surface-border); border-radius: 0; background: transparent; }
.general-page .domain-card:nth-child(3n) { border-right: 0; }
.general-page .domain-card:nth-last-child(-n+2) { border-bottom: 0; }
.general-page .domain-card:last-child:nth-child(3n+2) { grid-column: span 2; border-right: 0; }
.general-page .domain-card > span { color: #2dc974; font-size: 10px; }
.general-page .domain-card h3 { margin: 38px 0 22px; }
.general-page .domain-card ul { color: rgba(255,255,255,.58); }

.general-page .creation-track { scrollbar-color: #2dc974 transparent; }
.general-page .creation-track::before { background: linear-gradient(90deg, #2dc974, rgba(45,201,116,.12)); }
.general-page .creation-dot { border-color: #061c13; background: #2dc974; box-shadow: 0 0 0 5px rgba(45,201,116,.16), 0 0 24px rgba(45,201,116,.38); }
.general-page .creation-stop { border-color: rgba(255,255,255,.14); }
.general-page .creation-stop time { color: #f8e534; }

.general-page .arch-map { --node-bg: rgba(6,28,19,.56); }
.general-page .arch-zone { border-color: rgba(45,201,116,.28); background: rgba(6,28,19,.14); }
.general-page .arch-system, .general-page .arch-hub { border-color: rgba(255,255,255,.16); background: var(--node-bg); backdrop-filter: blur(5px); }
.general-page .arch-system.future { background: rgba(255,255,255,.035); }
.general-page .arch-system:hover, .general-page .arch-system.active, .general-page .arch-hub:hover, .general-page .arch-hub.active { border-color: #2dc974; background: #126a3a; box-shadow: 0 0 30px rgba(45,201,116,.2); }
.general-page .arch-connectors .line { background: rgba(45,201,116,.5); }
.general-page .arch-connectors .pulse { background: #f8e534; box-shadow: 0 0 18px #2dc974; }

.general-page .channel-tabs { gap: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.general-page .channel-tab { padding: 17px 18px; border: 0; border-radius: 0; background: transparent; }
.general-page .channel-tab b { color: white; }
.general-page .channel-tab small { color: rgba(255,255,255,.44); }
.general-page .channel-tab.active { color: white; border-bottom: 2px solid #2dc974; background: rgba(18,106,58,.2); }
.general-page .integration-stage { min-height: 400px; margin-top: 0; padding: 32px 0; border: 0; border-radius: 0; background: transparent; }
.general-page .integration-stage-copy > p { color: rgba(255,255,255,.58); }
.general-page .system-button { color: white; border-color: rgba(255,255,255,.18); background: rgba(6,28,19,.42); }
.general-page .system-button.active { border-color: #2dc974; background: #126a3a; }
.general-page .system-detail { border: 1px solid rgba(45,201,116,.3); border-radius: 2px 38px 2px 2px; background: rgba(6,28,19,.68); box-shadow: 0 0 42px rgba(45,201,116,.08); }
.general-page .system-detail > span { color: #2dc974; }

.general-page .smev-compare { gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.general-page .smev-card { min-height: 490px; padding: 34px; border: 0; border-right: 1px solid rgba(255,255,255,.18); border-radius: 0; background: rgba(6,28,19,.25); }
.general-page .smev-card-head > span { color: #2dc974; }
.general-page .smev-card-head small, .general-page .smev-card > p { color: rgba(255,255,255,.58); }
.general-page .smev-card li { border-color: rgba(255,255,255,.15); }
.general-page .smev-card li::before { background: #f8e534; }

.general-page .trend-board { grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.general-page .trend-card, .general-page .trend-card.wide { grid-column: auto; min-height: 270px; padding: 28px; border: 0; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); border-radius: 0; background: transparent; }
.general-page .trend-card > span { color: #2dc974; }
.general-page .trend-card h3 { margin-top: 36px; }
.general-page .source-note { color: rgba(255,255,255,.46); }
.general-page .source-note a { color: #f8e534; }

.story-final { min-height: 100svh; text-align: center; }
.story-final::before { background: radial-gradient(circle at center, rgba(18,106,58,.38), rgba(4,18,12,.68) 55%, rgba(4,18,12,.86)); }
.final-frame { max-width: 900px; display: grid; justify-items: center; opacity: var(--section-opacity); transform: translateY(var(--section-shift)); }
.final-mark { width: 86px; padding: 18px; border-radius: 22px; background: white; box-shadow: 0 0 48px rgba(45,201,116,.52); }
.final-frame .eyebrow { margin-top: 30px; }
.final-frame h2 { margin: 0; font-size: clamp(43px, 6.5vw, 88px); line-height: .96; font-weight: 560; letter-spacing: -.045em; text-wrap: balance; }
.final-frame p { max-width: 650px; color: rgba(255,255,255,.68); font-size: 19px; line-height: 1.55; }
.final-links { margin-top: 25px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.final-links a { padding: 13px 16px; display: inline-flex; gap: 24px; border: 1px solid rgba(255,255,255,.22); border-radius: 11px; color: white; text-decoration: none; }

.slide-rail { right: 20px; gap: 0; padding-left: 20px; }
.rail-track { position: absolute; left: 3px; top: 5px; bottom: 5px; width: 1px; background: rgba(255,255,255,.18); }
.rail-track b { display: block; width: 100%; height: 100%; background: #2dc974; transform: scaleY(var(--rail-progress, 0)); transform-origin: top; transition: transform .12s linear; }
.slide-rail button { width: auto; height: 28px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.36); border: 0; border-radius: 0; background: transparent; }
.slide-rail button::before { content: ""; position: absolute; left: -20px; width: 7px; height: 7px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: #061c13; transition: .25s; }
.slide-rail button.active { height: 32px; color: white; background: transparent; }
.slide-rail button.active::before { border-color: #2dc974; background: #2dc974; box-shadow: 0 0 14px rgba(45,201,116,.8); }
.slide-rail button em { min-width: 18px; color: #2dc974; font-size: 8px; font-style: normal; }
.slide-rail button span { position: static; opacity: 0; transform: translateX(5px); color: inherit; white-space: nowrap; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.slide-rail button:hover span, .slide-rail button:focus-visible span { opacity: 1; transform: none; }

.scene-debug { position: fixed; z-index: 500; left: 12px; bottom: 12px; width: min(620px, calc(100vw - 24px)); padding: 10px 12px; color: #bdfbd4; border: 1px solid rgba(45,201,116,.35); background: rgba(3,14,10,.92); font: 11px/1.45 Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; pointer-events: none; }

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .story-heading,
  .general-page .task-orbit,
  .general-page .domain-grid {
    -webkit-backdrop-filter: blur(var(--scene-surface-blur)) saturate(115%);
    backdrop-filter: blur(var(--scene-surface-blur)) saturate(115%);
  }
}
.layout-audit { position: fixed; z-index: 1000; left: 8px; bottom: 8px; padding: 7px 9px; color: white; border-radius: 6px; background: #9b2f2f; font: 11px/1.2 Consolas, monospace; }
.layout-audit[data-status="ok"] { background: #126a3a; }

@media (max-width: 1100px) {
  .story-frame { grid-template-columns: 52px minmax(0, 620px) 1fr; }
  .align-right .story-frame { grid-template-columns: 1fr 52px minmax(0, 650px); }
  .general-page .domain-grid, .general-page .trend-board { grid-template-columns: 1fr 1fr; }
  .general-page .trend-card:last-child { grid-column: 1/-1; }
}

@media (max-width: 760px) {
  .world-layer { opacity: .3; }
  body[data-route="general"] .world-layer { opacity: 1; }
  .world-contours { opacity: .12; }
  .topbar { height: 62px; }
  .general-page .story-section, .general-page .hero { min-height: 110svh; padding: 110px 0 72px; }
  .general-page .story-section::before, .general-page .align-right::before { background: linear-gradient(180deg, rgba(4,18,12,.24), rgba(4,18,12,.73) 42%, rgba(4,18,12,.78)); }
  .story-layout { min-height: calc(110svh - 182px); }
  .story-frame, .align-right .story-frame { display: block; }
  .story-index, .align-right .story-index { margin-bottom: 26px; display: flex; align-items: center; gap: 10px; }
  .story-index i { width: 54px; height: 1px; }
  .story-index small { writing-mode: horizontal-tb; }
  .general-page .section-title { font-size: clamp(36px, 11vw, 52px); }
  .story-hero h1 { font-size: clamp(50px, 15vw, 72px); }
  .scene-coordinates { top: 105px; left: 15px; }
  .scene-coordinates span { display: none; }
  .hero-actions { display: grid; }
  .story-action { justify-content: space-between; }
  .story-metrics { margin-top: 42px; }
  .general-page .concept-tabs { grid-template-columns: 1fr 1fr; }
  .general-page .concept-stage { padding: 26px 0; }
  .general-page .task-orbit, .general-page .domain-grid, .general-page .trend-board { grid-template-columns: 1fr; }
  .general-page .task-card, .general-page .task-card:nth-child(2n),
  .general-page .domain-card, .general-page .domain-card:nth-child(3n) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--scene-surface-border); }
  .general-page .task-card:last-child, .general-page .domain-card:last-child { border-bottom: 0; }
  .general-page .domain-card:last-child:nth-child(3n+2) { grid-column: auto; }
  .general-page .trend-card, .general-page .trend-card.wide { min-height: 0; border-right: 0; }
  .story-heading { background: rgba(3, 19, 13, .94); }
  .general-page .integration-stage { grid-template-columns: 1fr; }
  .general-page .smev-compare { grid-template-columns: 1fr; }
  .general-page .smev-card { min-height: 0; padding: 26px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); background: transparent; }
  .final-frame h2 { font-size: clamp(40px, 12vw, 58px); }
}

/* Production layout hardening and the presentation-safe rail area. */
:root { --rail-safe: clamp(168px, 13vw, 210px); }
html, body, main, .page { max-width: 100%; }
svg, canvas, video { max-width: 100%; }
.page *, .story-frame > *, .dashboard-grid > *, .materials-layout > *, .integration-stage > * { min-width: 0; }
.table-wrap, .creation-track { max-width: 100%; overscroll-behavior-inline: contain; }
.editor-open, .nav-editor { text-decoration: none; }

@media (min-width: 1101px) {
  .page > section > .container,
  .page > .dashboard-shell.container {
    width: auto;
    max-width: var(--container);
    margin-left: max(20px, calc((100% - var(--container)) / 2));
    margin-right: var(--rail-safe);
  }
  .slide-rail { max-width: calc(var(--rail-safe) - 24px); }
}

@media (max-width: 1100px) {
  .slide-rail { display: none; }
}

/* The 3D world is the background: no full-screen tint or gradient veil. */
.world-vignette,
.general-page .story-section::before,
.general-page .hero::before,
.story-final::before { display: none; }
.world-fallback::after { background: rgba(4, 18, 12, .18); }
.general-page .section-title,
.general-page .section-lead,
.story-hero h1,
.story-hero p { text-shadow: 0 2px 22px rgba(0, 0, 0, .52), 0 1px 2px rgba(0, 0, 0, .72); }

.reading-surface {
  position: relative;
  isolation: isolate;
  padding: clamp(20px, 2.4vw, 34px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-left-color: rgba(45, 201, 116, .74);
  border-radius: 2px 22px 22px 2px;
  background: rgba(4, 23, 15, .72);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .17), inset 0 1px rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
  backdrop-filter: blur(12px) saturate(115%);
}
.story-heading.reading-surface { margin-left: clamp(-18px, -1.3vw, -8px); }
.hero-copy.reading-surface { margin-left: clamp(-18px, -1.3vw, -8px); }
.view-surface {
  margin-top: 42px;
  padding: clamp(18px, 2.5vw, 34px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px 3px 22px 3px;
  background: rgba(4, 23, 15, .61);
  box-shadow: 0 28px 76px rgba(0, 0, 0, .13), inset 0 1px rgba(255, 255, 255, .045);
  -webkit-backdrop-filter: blur(10px) saturate(112%);
  backdrop-filter: blur(10px) saturate(112%);
}
.view-surface .concept-tabs,
.view-surface .integration-stage,
.view-surface .smev-compare,
.view-surface .trend-board {  margin-top: 0;}
.general-page .view-surface .smev-compare,
.general-page .view-surface .trend-board {border-top: 0;}
.general-page .task-card,
.general-page .domain-card,
.general-page .trend-card { background: rgba(5, 28, 19, .48); }
.general-page .creation-stop { background: rgba(5, 28, 19, .52); }

body.world-static .world-layer { opacity: 1; }
body.world-static #world-canvas,
body.world-static .world-contours,
body.world-static .world-vignette,
body.world-static .world-loader { display: none; }
body.world-static .world-fallback {
  opacity: 1;
  filter: saturate(.82) contrast(1.04);
  transform: scale(1.02);
}
body.world-static .world-fallback::after { background: rgba(5, 29, 20, .48); }
body.world-static .page-hero {
  background: linear-gradient(105deg, rgba(4, 28, 18, .91), rgba(4, 28, 18, .68));
}

.wide-story .story-heading { max-width: 920px; }
.wide-story .story-frame > :not(.story-index):not(.story-heading) { grid-column: 2 / -1; }
.prerequisite-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .18);
}
.prerequisite-item {
  min-height: 250px;
  padding: 28px;
  color: white;
  background: rgba(6, 28, 19, .8);
  backdrop-filter: blur(7px);
}
.prerequisite-item > span,
.gostech-note > span { color: #2dc974; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.prerequisite-item div { margin-top: 48px; display: grid; gap: 7px; }
.prerequisite-item b { font-size: clamp(24px, 3vw, 42px); font-weight: 580; letter-spacing: -.035em; }
.prerequisite-item small { color: #f8e534; font-size: 12px; }
.prerequisite-item p { max-width: 620px; margin: 24px 0 0; color: rgba(255, 255, 255, .68); line-height: 1.55; }
.concept-note { max-width: 980px; margin: 28px 0 0; padding-left: 18px; color: rgba(255, 255, 255, .72); border-left: 2px solid #2dc974; line-height: 1.6; }

.arch-map {
  isolation: isolate;
  grid-template-areas: "top top top" "left hub right" "bottom bottom bottom" "gostech gostech gostech" "note note note";
}
.arch-network { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.arch-link {
  fill: none;
  stroke: rgba(45, 201, 116, .36);
  stroke-width: 1.15;
  stroke-dasharray: .045 .045;
  vector-effect: non-scaling-stroke;
  animation: architecture-flow 4.8s linear infinite;
  transition: stroke .2s, stroke-width .2s, opacity .2s;
}
.arch-link.active { stroke: #f8e534; stroke-width: 2.25; opacity: 1; filter: drop-shadow(0 0 5px rgba(45, 201, 116, .9)); }
.arch-packet { fill: #f8e534; filter: drop-shadow(0 0 5px #2dc974); }
@keyframes architecture-flow { to { stroke-dashoffset: -.9; } }
.arch-zone, .arch-hub, .arch-note, .gostech-note { z-index: 1; }
.gostech-note {
  grid-area: gostech;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: minmax(170px, .42fr) minmax(220px, .72fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: center;
  color: white;
  border: 1px solid rgba(45, 201, 116, .34);
  border-radius: 14px;
  background: rgba(6, 28, 19, .76);
  backdrop-filter: blur(7px);
}
.gostech-note b { font-size: 15px; }
.gostech-note p { margin: 0; color: rgba(255, 255, 255, .6); font-size: 12px; line-height: 1.5; }
.arch-tooltip {
  position: absolute;
  z-index: 10;
  left: 10px;
  right: 10px;
  bottom: calc(100% + 9px);
  padding: 10px 12px;
  color: white;
  border: 1px solid rgba(45, 201, 116, .42);
  border-radius: 10px;
  background: #061c13;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  transition: opacity .18s, transform .18s;
}
.arch-system:hover .arch-tooltip,
.arch-system:focus-visible .arch-tooltip { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .reading-surface { margin-left: 0 !important; padding: 20px 18px; border-radius: 2px 16px 16px 2px; }
  .story-hero .story-layout { padding-top: 72px; }
  .prerequisite-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .prerequisite-item { min-height: 0; padding: 22px; }
  .prerequisite-item div { margin-top: 30px; }
  .arch-map { grid-template-areas: "top" "left" "hub" "right" "bottom" "gostech" "note"; }
  .arch-network { display: none; }
  .gostech-note { grid-template-columns: 1fr; }
  .arch-tooltip { display: none; }
  .general-page .channel-tabs { grid-template-columns: 1fr 1fr; }
  .general-page .smev-card-head { grid-template-columns: minmax(0, 1fr) auto; }
  .general-page .smev-card-head strong { font-size: clamp(52px, 18vw, 68px); }
  .general-page .section-title, .story-hero h1 { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  .world-contours { display: none; }
  .arch-link { animation-duration: 18s; }
  .story-frame, .final-frame { opacity: 1; transform: none; }
}
