:root {
  --paper: #fcfdff;
  --paper-2: #f3f7fc;
  --paper-3: #e9f1fa;
  --ink: #0d2643;
  --ink-2: #33475f;
  --muted: #6a7c91;
  --line: #d3e1ef;
  --line-2: #b9cfe5;
  --its: #0067ac;
  --its-2: #1b86cf;
  --its-soft: #e3f0fa;
  --issue: #e8833a;
  --issue-soft: #fdf0e6;
  --ok: #2e9e6b;
  --ok-soft: #e6f5ee;
  --plan: #7fa6c9;
  --radius: 10px;
  --rail: 64px;
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5;
  background-image:
    linear-gradient(var(--paper-3) 1px, transparent 1px),
    linear-gradient(90deg, var(--paper-3) 1px, transparent 1px);
  background-size: 32px 32px; background-attachment: fixed;
}
img { max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: var(--its); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* decorative circuit traces */
.traces { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .9; }
.traces path { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.traces circle { fill: var(--paper); stroke: var(--line-2); stroke-width: 1.2; }
.traces rect { fill: var(--line); }

/* rail */
.rail {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail); z-index: 30;
  background: var(--paper-2); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0;
}
.rail .mark { width: 38px; height: 38px; margin-bottom: 14px; }
.rail a, .rail button.icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-2);
  border: 1px solid transparent; background: none; cursor: pointer; position: relative; text-decoration: none;
}
.rail a:hover, .rail button.icon:hover { background: #fff; border-color: var(--line); color: var(--its); }
.rail a.is-active { background: #fff; border-color: var(--line-2); color: var(--its); box-shadow: inset 3px 0 0 var(--its); }
.rail a .tip {
  position: absolute; left: 52px; white-space: nowrap; background: var(--ink); color: #fff; font: 500 12px var(--body);
  padding: 4px 8px; border-radius: 6px; opacity: 0; pointer-events: none; transform: translateX(-4px); transition: .15s;
}
.rail a:hover .tip { opacity: 1; transform: none; }
.rail svg { width: 22px; height: 22px; }
.rail .spacer { flex: 1; }
#nav { display: flex; flex-direction: column; gap: 6px; }
.lang { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: 10px; padding: 4px; background: #fff; }
.lang button { width: 36px; height: 28px; border: 0; border-radius: 7px; background: none; cursor: pointer; font: 600 12px var(--mono); color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--its); color: #fff; }

main { margin-left: var(--rail); position: relative; z-index: 1; }

/* hero */
.hero { height: 100vh; min-height: 720px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); padding: 18px 22px 16px; gap: 12px; }
.topbar { display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.brand img { height: 54px; width: auto; }
.brand .rule { width: 1px; height: 46px; background: var(--line-2); }
.brand h1 { margin: 0; font: 700 clamp(26px, 3.2vw, 40px)/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.brand p { margin: 6px 0 0; font: 500 13px var(--head); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.topbar .right { margin-left: auto; display: flex; gap: 12px; align-items: stretch; }
.card-mini { border: 1px solid var(--line-2); background: #fff; border-radius: var(--radius); padding: 10px 14px; display: flex; gap: 12px; align-items: center; }
.card-mini svg { width: 28px; height: 28px; color: var(--its); }
.card-mini .k { font: 700 13px var(--head); letter-spacing: .1em; text-transform: uppercase; }
.bar { width: 120px; height: 6px; background: var(--paper-3); border-radius: 6px; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: var(--its); width: 0; transition: width .6s; }
.card-mini .v { font: 700 16px var(--mono); color: var(--its); }
.clock { font: 500 13px/1.5 var(--mono); color: var(--ink-2); letter-spacing: .08em; text-transform: uppercase; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 14px; min-height: 0; }
.hero-grid > * { min-height: 0; }
.map-frame {
  position: relative; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; min-height: 380px;
  background: radial-gradient(120% 90% at 40% 30%, #ffffff 0%, #f4f8fd 70%, #eaf2fb 100%);
}
.map-frame canvas { display: block; outline: none; max-width: 100%; }
.label-layer { position: absolute; inset: 0; pointer-events: none; }
.map-label {
  pointer-events: auto; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font: 600 11.5px var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px 4px 7px;
  box-shadow: 0 2px 8px rgba(13, 38, 67, .08); transition: transform .15s, border-color .15s;
}
.map-label:hover, .map-label.is-selected { border-color: var(--its); transform: translateY(-2px); }
.map-label.is-selected { background: var(--its); color: #fff; }
.map-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--its); flex: none; }
.map-label[data-status="issue"] .dot { background: var(--issue); box-shadow: 0 0 0 3px rgba(232, 131, 58, .25); animation: pulse 1.6s infinite; }
.map-label[data-status="mature"] .dot { background: var(--ok); }
.map-label[data-status="plan"] { border-style: dashed; color: var(--muted); }
.map-label[data-status="plan"] .dot { background: transparent; border: 1.5px dashed var(--plan); }
.map-label.is-selected .dot { box-shadow: 0 0 0 2px #fff; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(232, 131, 58, 0); } }
.zone-caption { font: 600 10px var(--mono); letter-spacing: .28em; text-transform: uppercase; color: var(--its); opacity: .75; pointer-events: none; white-space: nowrap; }

.map-ui { position: absolute; z-index: 5; display: flex; gap: 8px; }
.map-ui.tl { top: 14px; left: 14px; }
.map-ui.tr { top: 14px; right: 14px; }
.map-ui.bl { bottom: 14px; left: 14px; flex-wrap: wrap; }
.map-ui.br { bottom: 14px; right: 14px; }
.seg { display: flex; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 3px; box-shadow: 0 2px 10px rgba(13, 38, 67, .06); }
.seg button { border: 0; background: none; padding: 7px 14px; border-radius: 7px; cursor: pointer; font: 700 13px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--its); color: #fff; }
.btn { border: 1px solid var(--line-2); background: #fff; border-radius: 10px; padding: 8px 12px; cursor: pointer; font: 600 12px var(--head); letter-spacing: .1em; text-transform: uppercase; display: inline-flex; gap: 6px; align-items: center; }
.btn:hover { border-color: var(--its); color: var(--its); }
.btn svg { width: 16px; height: 16px; }
.legend { display: flex; gap: 10px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font: 500 12px var(--body); color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.hint { font: 500 11px var(--mono); color: var(--muted); background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; }
.fallback { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; padding: 54px 16px 50px; }
.fallback p { margin: 0 0 8px; text-align: center; font: 500 12px var(--mono); color: var(--muted); }
.fallback svg { width: 100%; height: 100%; }
.fallback .site { cursor: pointer; }

/* info panel */
.info-panel { border: 1px solid var(--line-2); background: #fff; border-radius: 14px; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.tabs { display: flex; gap: 2px; padding: 10px 12px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 8px 10px 10px; cursor: pointer; font: 700 13px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.panel-body { padding: 16px 18px 18px; overflow: auto; }
.panel-body .kind { font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--its); }
.panel-body h2 { margin: 4px 0 10px; font: 700 24px/1.1 var(--head); letter-spacing: .04em; text-transform: uppercase; }
.panel-body p { margin: 0 0 12px; color: var(--ink-2); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; border-radius: 999px; padding: 4px 10px; margin-bottom: 10px; }
.status-pill[data-s="issue"] { background: var(--issue-soft); color: #b25a1a; }
.status-pill[data-s="active"] { background: var(--its-soft); color: var(--its); }
.status-pill[data-s="mature"] { background: var(--ok-soft); color: #1f7a51; }
.status-pill[data-s="plan"], .status-pill[data-s="hidden"] { background: var(--paper-2); color: var(--muted); }
.facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.facts li::before { content: ''; flex: none; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230067ac' stroke-width='2'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/16px no-repeat; }
.site-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.site-pick button { border: 1px solid var(--line); background: var(--paper-2); border-radius: 999px; padding: 3px 10px; font: 500 12px var(--body); cursor: pointer; color: var(--ink-2); }
.site-pick button:hover { border-color: var(--its); color: var(--its); }
.linked { margin-top: 6px; font-size: 13px; color: var(--muted); }
.linked b { color: var(--its); }

/* priority strip */
.strip-head { display: flex; align-items: center; gap: 12px; }
.strip-head h3, .sec-head h2 { margin: 0; font: 700 18px var(--head); letter-spacing: .18em; text-transform: uppercase; }
.strip-head .line, .sec-head .line { flex: 1; height: 1px; background: var(--line-2); }
.strip { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: 10px; overflow-x: auto; padding: 8px 2px 4px; scroll-snap-type: x mandatory; }
.pcard {
  scroll-snap-align: start; text-align: left; border: 1px solid var(--line-2); background: #fff; border-radius: var(--radius); padding: 12px 14px;
  cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; transition: .15s; min-height: 72px;
}
.pcard:hover { border-color: var(--its); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 103, 172, .1); }
.pcard.is-active { border: 2px solid var(--its); padding: 11px 13px; }
.pcard .n { font: 700 22px var(--mono); color: var(--its); }
.pcard .t { font: 700 14px/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.pcard .s { display: block; margin-top: 3px; font: 500 11px var(--mono); color: var(--muted); letter-spacing: .04em; text-transform: none; }
.pcard svg { width: 16px; height: 16px; color: var(--its); }

/* sections */
.sec { padding: 64px 22px 20px; max-width: 1320px; margin: 0 auto; scroll-margin-top: 0; }
.sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.sec-head .no { font: 600 12px var(--mono); color: var(--its); letter-spacing: .1em; }
.sec-lead { max-width: 820px; color: var(--ink-2); font-size: 17px; margin: 6px 0 24px; }
.grid { display: grid; gap: 12px; }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border: 1px solid var(--line-2); background: #fff; border-radius: var(--radius); padding: 16px; position: relative; }
.card h3 { margin: 0 0 6px; font: 700 17px/1.15 var(--head); letter-spacing: .05em; text-transform: uppercase; }
.card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.card .tag { font: 600 11px var(--mono); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.issue-card { border-top: 3px solid var(--issue); }
.issue-card .num { position: absolute; top: 12px; right: 14px; font: 700 13px var(--mono); color: var(--issue); }
.issue-card .row { margin-top: 10px; font-size: 13.5px; }
.issue-card .row b { display: block; font: 600 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.issue-card .to { margin-top: 10px; font: 600 11px var(--mono); color: var(--its); }
.quote { margin: 22px 0 0; padding: 18px 22px; border-left: 4px solid var(--its); background: var(--its-soft); border-radius: 0 var(--radius) var(--radius) 0; font: 600 20px/1.35 var(--head); letter-spacing: .02em; color: var(--ink); }

/* org chart */
.org { margin-top: 26px; border: 1px solid var(--line-2); background: #fff; border-radius: 14px; padding: 18px; }
.org .node { border: 1px solid var(--line-2); border-left: 4px solid var(--its); border-radius: 8px; padding: 8px 12px; background: #fff; font: 600 14px/1.25 var(--body); text-align: center; }
.org .top { display: grid; justify-items: center; gap: 8px; }
.org .top .node { min-width: 260px; }
.org .v { width: 2px; height: 14px; background: var(--its); }
.org .cols { display: grid; grid-template-columns: 1fr 1.5fr 1fr 1fr; gap: 10px; border-top: 2px solid var(--its); padding-top: 14px; margin-top: 0; }
.org .col .node.dim { opacity: .55; }
.org .col.focus > .node { background: var(--its-soft); border-color: var(--its); }
.org ul { list-style: none; margin: 8px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--its); display: grid; gap: 6px; }
.org li { font-size: 13px; border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; background: #fff; display: flex; gap: 8px; align-items: center; }
.org li i { width: 8px; height: 8px; border-radius: 2px; flex: none; background: #cfd8e3; }
.org li.lect i { background: var(--its); }
.org li.staff i { background: #9aa7b6; }
.org li.missing { border: 1.5px dashed var(--issue); color: #b25a1a; background: var(--issue-soft); font-weight: 600; }
.org li.missing i { background: var(--issue); }
.org .note { margin-top: 14px; font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.org .note span { display: inline-flex; gap: 6px; align-items: center; font: 500 12px var(--mono); color: var(--muted); }
.org .note span i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

/* roadmap */
.road { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding-top: 38px; }
.road::before { content: ''; position: absolute; left: 0; right: 0; top: 52px; height: 4px; background: linear-gradient(90deg, var(--its) 0 42%, var(--line-2) 42%); border-radius: 4px; }
.road .stop { position: relative; text-align: center; }
.road .ring { width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 12px; background: #fff; border: 6px solid var(--its); position: relative; z-index: 1; }
.road .stop.future .ring { border-color: var(--line-2); }
.road .stop.here .ring { border-color: var(--issue); box-shadow: 0 0 0 6px rgba(232, 131, 58, .18); }
.road .y { font: 700 22px var(--mono); color: var(--ink); }
.road .s { font: 700 12px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--its); margin: 2px 0 6px; }
.road .stop.here .s { color: var(--issue); }
.road .d { font-size: 13px; color: var(--ink-2); }

/* gantt */
.gantt { border: 1px solid var(--line-2); background: #fff; border-radius: 14px; padding: 16px 18px 12px; overflow-x: auto; }
.gantt .g-row { display: grid; grid-template-columns: 230px 1fr; align-items: center; min-width: 760px; }
.gantt .g-row + .g-row { border-top: 1px dashed var(--line); }
.gantt .g-name { font: 700 13px/1.2 var(--head); letter-spacing: .05em; text-transform: uppercase; padding: 10px 10px 10px 0; cursor: pointer; }
.gantt .g-name b { font-family: var(--mono); color: var(--its); margin-right: 6px; }
.gantt .track { position: relative; height: 46px; }
.gantt .seg-bar { position: absolute; top: 12px; height: 22px; border-radius: 5px; font: 600 10.5px/22px var(--mono); padding: 0 8px; color: #fff; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gantt .s1 { background: #7fb3dc; } .gantt .s2 { background: #3d8fcd; } .gantt .s3 { background: var(--its); }
.gantt .axis { position: relative; height: 26px; margin-bottom: 36px; margin-left: 230px; min-width: 530px; }
.gantt .axis span { position: absolute; transform: translateX(-50%); font: 500 11px var(--mono); color: var(--muted); }
.gantt .grid-lines { position: absolute; inset: 0 0 0 230px; pointer-events: none; }
.gantt .grid-lines i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.gantt .mile { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px dashed var(--issue); }
.gantt .mile em { position: absolute; top: -24px; right: 4px; font: 600 10.5px var(--mono); font-style: normal; color: #b25a1a; white-space: nowrap; background: #fff; padding: 0 3px; }
.gantt-wrap { position: relative; }
.pdetail { margin-top: 14px; display: grid; grid-template-columns: 1.1fr 2fr; gap: 12px; }
.pdetail .meta h3 { margin: 0 0 4px; font: 700 26px/1.05 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.pdetail .meta .n { font: 700 14px var(--mono); color: var(--its); }
.pdetail .meta dl { margin: 12px 0 0; display: grid; gap: 8px; font-size: 14px; }
.pdetail dt { font: 600 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pdetail dd { margin: 0; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; font: 500 12px var(--body); color: var(--muted); background: var(--paper-2); }
.chip.on { border-color: var(--its); color: var(--its); background: var(--its-soft); font-weight: 600; }
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.days .card .tag { color: var(--its); }
.days .card .big { font: 700 34px/1 var(--mono); color: var(--its); margin: 4px 0 8px; }

/* framework tabs */
.ftabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.ftabs button { border: 1px solid var(--line-2); background: #fff; border-radius: 10px; padding: 8px 14px; cursor: pointer; font: 700 13px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.ftabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.table-wrap { border: 1px solid var(--line-2); border-radius: 14px; overflow: auto; background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th { text-align: left; font: 700 12.5px var(--head); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--ink); padding: 10px 12px; position: sticky; top: 0; }
td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
td:first-child { color: var(--ink); font-weight: 600; }
tr:nth-child(even) td { background: #fafcff; }
.qw td { text-align: center; } .qw td:first-child { text-align: left; }
.qw .yes { color: var(--its); font: 700 16px var(--mono); }
.mode-tag { font: 700 12px var(--mono); padding: 2px 8px; border-radius: 6px; background: var(--its-soft); color: var(--its); white-space: nowrap; }
.mode-tag.PARTNER { background: #f0eafb; color: #6741b5; }
.mode-tag.BUILD { background: var(--ok-soft); color: #1f7a51; }
.policy { counter-reset: p; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.policy li { counter-increment: p; display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 14px; }
.policy li::before { content: counter(p, decimal-leading-zero); font: 700 14px var(--mono); color: var(--its); }

/* showcase */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.flow .card { border-top: 3px solid var(--its); }
.flow .card .step { font: 700 30px var(--mono); color: var(--its-soft); -webkit-text-stroke: 1px var(--its); }
.pathway { display: flex; gap: 0; margin: 16px 0; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #fff; }
.pathway span { flex: 1; text-align: center; padding: 12px 6px; font: 700 14px var(--head); letter-spacing: .14em; text-transform: uppercase; position: relative; }
.pathway span + span { border-left: 1px solid var(--line); }
.pathway span:nth-child(1) { background: #f1f7fd; } .pathway span:nth-child(2) { background: #e3f0fa; } .pathway span:nth-child(3) { background: #cfe5f6; } .pathway span:nth-child(4) { background: var(--its); color: #fff; }
.kpi .v { font: 700 34px var(--mono); color: var(--its); line-height: 1.1; }
.layers .card { border-left: 4px solid var(--its); }

/* future */
.future-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: start; }
.eco { border: 1px solid var(--line-2); border-radius: 14px; background: #fff; padding: 12px; }
.eco svg { width: 100%; height: auto; display: block; }
.parts { display: grid; gap: 10px; }
.parts .card { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.parts .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--its-soft); display: grid; place-items: center; color: var(--its); }
.parts .ic svg { width: 22px; height: 22px; }
.gates { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.gates li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; background: #fff; border: 1px dashed var(--its); border-radius: 10px; padding: 9px 12px; }
.gates li b { font: 700 12px var(--mono); color: #fff; background: var(--its); border-radius: 6px; padding: 2px 7px; }
.digital { margin-top: 16px; }

footer { margin: 60px 0 0; border-top: 1px solid var(--line-2); padding: 26px 22px 40px; background: var(--paper-2); }
footer .in { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
footer img { height: 46px; }
footer p { margin: 0 0 6px; font-size: 14px; color: var(--ink-2); }
footer small { color: var(--muted); }
footer ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 1180px) {
  .hero { height: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .info-panel { max-height: none; }
  .map-frame { min-height: 520px; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org .cols { grid-template-columns: 1fr 1fr; }
  .future-grid, .pdetail { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --rail: 0px; }
  .rail { top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 60px; flex-direction: row; justify-content: space-around; padding: 6px 8px; border-right: 0; border-top: 1px solid var(--line); }
  .rail .mark, .rail .spacer, .rail a .tip { display: none; }
  #nav { flex-direction: row; gap: 2px; }
  .rail a, .rail button.icon { width: 40px; height: 40px; }
  .lang { flex-direction: row; }
  .lang button { width: 30px; }
  main { padding-bottom: 64px; }
  .hero { padding: 14px 16px; min-height: auto; }
  .topbar { flex-wrap: wrap; gap: 12px; }
  .brand img { height: 40px; }
  .brand .rule { display: none; }
  .topbar .right { margin-left: 0; width: 100%; }
  .clock { display: none; }
  .map-frame { min-height: 420px; }
  .hint { display: none; }
  .map-ui.tr { top: 60px; }
  .strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; }
  .sec { padding: 48px 16px 10px; }
  .g4, .g3, .g2, .flow, .days { grid-template-columns: 1fr; }
  .org .cols { grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr; padding-top: 0; }
  .road::before { left: 16px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; background: var(--its); }
  .road .stop { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; text-align: left; }
  .road .ring { margin: 0; grid-row: span 3; }
  .pathway { flex-direction: column; }
  .pathway span + span { border-left: 0; border-top: 1px solid var(--line); }
  footer .in { grid-template-columns: 1fr; }
}

/* floating access card – always on top */
.access-card {
  position: fixed; right: 16px; bottom: 16px; z-index: 2147483000;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 7px;
  background: #fff; color: var(--ink); text-decoration: none;
  border: 1px solid var(--line-2); border-left: 3px solid var(--its); border-radius: 12px;
  box-shadow: 0 8px 24px rgba(13, 38, 67, .14), 0 1px 3px rgba(13, 38, 67, .08);
  font: 500 12.5px/1.2 var(--body); transition: transform .15s, box-shadow .15s;
}
.access-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 103, 172, .2); }
.access-card svg { width: 14px; height: 14px; color: #fff; background: var(--its); border-radius: 8px; padding: 5px; box-sizing: content-box; flex: none; }
.access-card span { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.access-card small { font: 600 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.access-card b { font: 700 13px var(--mono); color: var(--its); }
@media (max-width: 760px) { .access-card { bottom: 72px; right: 10px; padding: 6px 10px 6px 8px; } }
@media print { .access-card { display: none; } }
