/* King.Prostor · home page — "one place, two windows"
   The split viewer is the one bold element. The sections below it speak its language:
   the dark CAD window and the light browser window carry the page down to the closing. */

.home {
  --cad: #212830;            /* AutoCAD model space */
  --cad-line: #536173;
  --cad-parcel: #E6C14A;
  --cad-contour: #8C7A5B;
  --cad-pipe: #45D4E4;
  --cad-text: #DDE5EC;
  --cad-body: #C9D1DA;       /* body text on the dark window, 10:1 */
  --web-ground: #E4E8DE;
  --web-parcel: #DB6A12;
  --web-contour: rgba(96, 72, 38, .5);
  --web-pipe: #1E8A4C;
  --op-line: #1F4FB8;        /* the network an operator documents */
}

.sr-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pt { color: var(--orange); }

/* ---------- stage ---------- */
.stage { padding-block: clamp(28px, 3.4vw, 52px) clamp(44px, 5vw, 80px); }
.display { font-size: clamp(2.1rem, .6rem + 4.3vw, 4.5rem); font-weight: 760; font-stretch: 108%; line-height: .98; letter-spacing: -.04em; }
.display .under, .display .over { display: block; }
.display .under { color: #7F8B86; }
.stage-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap; margin-block: clamp(16px, 1.8vw, 26px) clamp(20px, 2.2vw, 32px); }
.stage-intro .lead { max-inline-size: 38em; }
.stage-intro .cta { padding: 0; }

/* ---------- the viewer ---------- */
@property --pos { syntax: '<percentage>'; inherits: true; initial-value: 50%; }

.viewer { position: relative; block-size: clamp(340px, 47vh, 560px); border-radius: 10px; overflow: clip; isolation: isolate; background: var(--cad); touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; box-shadow: 0 1px 0 rgba(33, 40, 48, .08), 0 30px 60px -30px rgba(33, 40, 48, .45); }
.pane { position: absolute; inset: 0; }
.pane-cad { background: var(--cad); clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.pane-web { background: var(--web-ground); clip-path: inset(0 0 0 var(--pos)); }

.l { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; --sw: 1.15px; stroke-width: var(--sw); font-family: var(--mono); }
img.l { object-fit: cover; }

.pane-cad .l-ortho { filter: grayscale(1) brightness(.42) contrast(1.15); opacity: .5; }
.pane-cad .l-base { color: var(--cad-line); }
.pane-cad .l-terrain { color: var(--cad-contour); }
.pane .l-terrain { opacity: .62; --sw: .95px; }
.pane-cad .l-cadastre { color: var(--cad-parcel); }
.pane-cad .l-buildings { color: #A9B4BF; }
.pane-cad .l-flood { color: #4A9BE8; }
.pane-cad .l-network { color: var(--cad-pipe); --mh: var(--cad); }
.pane-cad .l-network > use:first-child { stroke-width: 2.6px; }
.pane-cad .l-network .tiny { color: var(--cad-text); }

.pane-web .l-base { color: #B4BDB3; }
.pane-web .l-terrain { color: var(--web-contour); }
.pane-web .l-cadastre { color: var(--web-parcel); }
.pane-web .l-buildings { color: rgba(33, 40, 48, .55); }
.pane-web .l-flood { color: #2F78C4; }
.pane-web .l-network { color: var(--web-pipe); --mh: #FFFFFF; stroke-width: 3.2px; }
.pane-web .l-network .halo { color: rgba(255, 255, 255, .85); stroke-width: 8px; }

/* the top of each pane is calmed so its sentence reads */
.pane::after { content: ""; position: absolute; inset: 0 0 auto; block-size: 46%; pointer-events: none; }
.pane-cad::after { background: linear-gradient(180deg, var(--cad) 8%, rgba(33, 40, 48, .82) 42%, rgba(33, 40, 48, 0)); }
.pane-web::after { background: linear-gradient(180deg, #F2F4EF 8%, rgba(242, 244, 239, .8) 42%, rgba(242, 244, 239, 0)); }

.pane-title { position: absolute; z-index: 2; inset-block-start: clamp(18px, 2.6vw, 38px); margin: 0; font-size: clamp(1.45rem, .5rem + 3.1vw, 3.6rem); font-weight: 720; font-stretch: 108%; line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.pane-cad .pane-title { inset-inline-start: clamp(16px, 2.8vw, 40px); color: #FFFFFF; }
.pane-web .pane-title { inset-inline-end: clamp(16px, 2.8vw, 40px); color: var(--ink); }

.chip { position: absolute; z-index: 2; inset-block-end: clamp(12px, 1.6vw, 22px); margin: 0; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 5px; font-family: var(--mono); font-size: .75rem; line-height: 1.2; white-space: pre; }
.console { margin: 0; padding: 9px 12px; border-radius: 5px; background: rgba(16, 21, 27, .86); border: 1px solid rgba(255, 255, 255, .12); color: var(--cad-text); font-family: var(--mono); font-size: .75rem; line-height: 1.55; font-variant-numeric: tabular-nums; }
.viewer .console { position: absolute; z-index: 2; inset-block-end: clamp(12px, 1.6vw, 22px); inset-inline-start: clamp(12px, 1.6vw, 22px); min-inline-size: 23em; }
.console p { margin: 0; white-space: pre; }
.console .k { color: #8FA0B3; }
.console .crs { color: var(--cad-parcel); }
.console-out { color: #7BE0A2; }
.console-xy { color: #8FA0B3; }
.viewer .typed { display: inline-block; vertical-align: bottom; overflow: hidden; max-inline-size: 0; }
.viewer .console-out { visibility: hidden; }
.viewer.is-typing .typed, .viewer.is-published .typed { max-inline-size: 10ch; }
.viewer.is-published .console-out { visibility: visible; }

/* the published project arrives in the web map from the divider outwards */
.pane-web .l-network { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.viewer.is-published .pane-web .l-network { clip-path: inset(0 0 0 0); }
.chip-web { opacity: 0; translate: 0 6px; }
.viewer.is-published .chip-web { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .viewer.is-typing .typed { transition: max-inline-size .65s steps(10, end); }
  .viewer.is-published .pane-web .l-network { transition: clip-path 1.15s cubic-bezier(.3, .7, .2, 1); }
  .viewer.is-published .chip-web { transition: opacity .4s ease 1s, translate .4s ease 1s; }
}
.chip-web { inset-inline-end: clamp(12px, 1.6vw, 22px); background: rgba(255, 255, 255, .92); color: var(--soft); border: 1px solid rgba(33, 40, 48, .14); }
.live { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--green); flex: none; }

/* CAD crosshair follows the pointer, only inside the CAD pane */
.crosshair { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; }
.crosshair::before, .crosshair::after { content: ""; position: absolute; background: rgba(255, 255, 255, .7); }
.crosshair::before { inset-block: 0; inset-inline-start: var(--cx, 50%); inline-size: 1px; }
.crosshair::after { inset-inline: 0; inset-block-start: var(--cy, 50%); block-size: 1px; }
@media (hover: hover) and (pointer: fine) { .viewer.has-pointer .crosshair { opacity: 1; } }

.divider { position: absolute; z-index: 3; inset-block: 0; inset-inline-start: var(--pos); inline-size: 2px; translate: -1px 0; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(33, 40, 48, .18); pointer-events: none; }
.grip { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; translate: -50% -50%; inline-size: 46px; block-size: 46px; border-radius: 50%; display: grid; place-items: center; background: #FFFFFF; color: var(--ink); box-shadow: 0 0 0 1px rgba(33, 40, 48, .16), 0 8px 22px rgba(0, 0, 0, .28); }
.swipe { position: absolute; z-index: 4; inset-block-end: 0; inset-inline-start: 0; inline-size: 100%; block-size: 1px; margin: 0; opacity: 0; pointer-events: none; }
.viewer:has(.swipe:focus-visible) .grip { outline: 3px solid var(--orange); outline-offset: 3px; }

/* one orchestrated moment: the divider sweeps in on load */
@media (prefers-reduced-motion: no-preference) {
  .viewer:not(.is-live) { animation: sweep 1.5s cubic-bezier(.2, .75, .15, 1) .35s both; }
  @keyframes sweep { from { --pos: 97%; } to { --pos: 50%; } }
}

/* layer switches work without script; a layer fades in when its switch ticks on */
.l { transition: opacity .55s ease; }
.stage:has(#ly-ortho:not(:checked)) .l-ortho,
.stage:has(#ly-terrain:not(:checked)) .l-terrain,
.stage:has(#ly-cadastre:not(:checked)) .l-cadastre,
.stage:has(#ly-buildings:not(:checked)) .l-buildings,
.stage:has(#ly-flood:not(:checked)) .l-flood,
.stage:has(#ly-network:not(:checked)) .l-network { opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s .55s; }
@media (prefers-reduced-motion: reduce) { .l { transition: none !important; } }

@media (max-width: 700px) {
  .l .tiny, .l > .tiny { display: none; }
  .l { --sw: 1.5px; }
  .chip { font-size: .6875rem; padding: 6px 9px; }
  .chip-web, .viewer .console-xy, .viewer .console-out { display: none; }
  .viewer .console { min-inline-size: 0; padding: 6px 9px; font-size: .6875rem; }
  .pane-title { font-size: 1.15rem; }
}

/* ---------- viewer toolbar ---------- */
.viewer-bar { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; margin-block-start: 16px; font-size: .9375rem; color: var(--soft); }
.legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.legend-title { font-size: .8125rem; font-weight: 600; color: var(--ink); }
.legend label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.legend input { inline-size: 16px; block-size: 16px; margin: 0; accent-color: var(--ink); }
.sym { inline-size: 22px; block-size: 12px; border-radius: 2px; flex: none; }
.sym-ortho { background: linear-gradient(135deg, #C8D2BE 0 40%, #DDE3D3 40% 70%, #B7CBD7 70%); }
.sym-cadastre { border: 1.5px solid var(--web-parcel); }
.sym-terrain { border: 1.5px solid #8C7A5B; border-radius: 50%; }
.sym-buildings { border: 1.5px solid #6B7682; background: #FFFFFF; inline-size: 16px; }
.sym-flood { background: rgba(47, 120, 196, .35); border: 1px solid rgba(47, 120, 196, .6); }
.sym-network { block-size: 0; border-block-start: 3px solid var(--web-pipe); border-radius: 0; }
.hint { margin-block-start: 12px; font-size: .8125rem; color: var(--muted); }
.pub { margin-inline-start: auto; font: inherit; font-weight: 600; padding: 9px 16px; border-radius: 6px; border: 1px solid var(--ink); background: var(--ink); color: #FFFFFF; cursor: pointer; }
.pub:hover { background: #343E4A; }
.pub[aria-pressed="true"] { background: transparent; color: var(--ink); border-color: var(--btn-line); font-weight: 500; }
.pub[aria-pressed="true"]:hover { border-color: var(--ink); background: rgba(255, 255, 255, .6); }
.pub-on, .pub[aria-pressed="true"] .pub-off { display: none; }
.pub[aria-pressed="true"] .pub-on { display: inline; }
html:not(.js) .pub { visibility: hidden; }

/* ---------- national data underneath: the layers, exploded, and the two ways in ---------- */
.national { background: #FFFFFF; }
.national-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin: 0; }
.stack-scene { position: relative; block-size: clamp(300px, 30vw, 440px); }
.layer { position: absolute; inset: 0; margin: auto; block-size: 62%; border-radius: 6px; overflow: hidden; --sw: 1.2px; stroke-width: 1.2px; font-family: var(--mono); transform: translateY(calc(var(--i) * -46px)) rotateX(56deg) rotateZ(-34deg) scale(.8); border: 1px solid rgba(33, 40, 48, .16); box-shadow: 0 1px 0 rgba(33, 40, 48, .1), 0 22px 44px -24px rgba(33, 40, 48, .5); }
.layer-ortho { --i: 0; }
.layer-terrain { --i: 1; background: rgba(255, 255, 255, .66); color: var(--cad-contour); }
.layer-cadastre { --i: 2; background: rgba(255, 255, 255, .56); color: var(--web-parcel); }
.layer-buildings { --i: 3; background: rgba(255, 255, 255, .46); color: #4A5360; }
.layer .tiny { opacity: .9; }
.layer .faint { opacity: .4; }
.stack-labels { list-style: none; margin: 0; padding: 0; position: relative; block-size: 100%; inline-size: 7.5em; font-size: .875rem; font-weight: 600; color: var(--ink); }
.stack-labels li { position: absolute; inset-inline-start: 0; inset-block-start: calc(50% - var(--i) * 46px); translate: 0 -50%; padding-inline-start: 34px; white-space: nowrap; }
.stack-labels li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 50%; inline-size: 24px; block-size: 1px; background: var(--line-3); }
.stack-labels li::after { content: ""; position: absolute; inset-inline-start: -3px; inset-block-start: 50%; translate: 0 -50%; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--ink); }
.ways { display: flex; flex-direction: column; gap: 0; }
.way { display: flex; flex-direction: column; gap: 10px; padding-block: 22px; border-block-start: 1px solid var(--line-3); }
.way:last-child { border-block-end: 1px solid var(--line-3); }
.way h3 { font-size: 1.25rem; letter-spacing: -.015em; }
.way .text { max-inline-size: 34em; }

/* the typical first step: a search, then the map — one link that looks like the real thing */
.search { display: flex; align-items: stretch; gap: 10px; color: var(--ink); margin-block-end: 22px; }
.search:hover { color: var(--ink); }
.search-box { flex: 1 1 auto; min-inline-size: 0; display: flex; align-items: center; gap: 12px; padding: 0 16px; border: 1px solid var(--btn-line); border-radius: 4px; background: #FFFFFF; color: var(--muted); font-size: 1rem; box-shadow: inset 0 1px 2px rgba(33, 40, 48, .06); }
.search-box svg { flex: none; color: var(--ink); }
.search-ph { min-inline-size: 0; flex: 1 1 auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.search:hover .search-box { border-color: var(--ink); }
.search .btn { flex: none; }
.search:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 4px; }
@media (max-width: 480px) {
  .search { flex-direction: column; }
  .search-box { padding-block: 13px; }
}

.stats { display: flex; gap: clamp(20px, 3vw, 44px); margin: 0 0 8px; padding: 0; }
.stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.stats dt { font-size: .8125rem; color: var(--muted); }
.stats dd { margin: 0; font-size: clamp(1.75rem, 1rem + 1.6vw, 2.5rem); font-weight: 720; font-stretch: 106%; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }

/* the wall: the catalogue by theme, dense, each theme with its publisher */
.wall { margin-block-start: clamp(44px, 5vw, 72px); }
.wall-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px clamp(32px, 5vw, 80px); align-items: end; margin-block-end: clamp(20px, 2.6vw, 32px); }
.wall-head h3 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.wall-head .text { max-inline-size: 34em; }
.wall-head p:last-child { grid-column: 2; }
.themes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 0 clamp(20px, 2.6vw, 36px); border-block-start: 1px solid var(--line-3); }
.themes li { padding-block: 18px 20px; border-block-end: 1px solid var(--line-3); display: flex; flex-direction: column; gap: 4px; }
.themes h4 { margin: 0; font-size: 1.0625rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
.themes .src { margin: 0; font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text); }
.themes .names { margin: 4px 0 0; font-size: .9375rem; line-height: 1.5; color: var(--body); text-wrap: pretty; }
.pubs { margin-block-start: 18px; font-size: .8125rem; line-height: 1.6; color: var(--muted); max-inline-size: 72em; text-wrap: pretty; }
@media (max-width: 800px) { .wall-head { grid-template-columns: 1fr; } .wall-head p:last-child { grid-column: 1; } }
@media (max-width: 900px) {
  .national-grid { grid-template-columns: 1fr; }
  .stack { grid-template-columns: 1fr; gap: 12px; }
  .stack-scene { block-size: clamp(250px, 60vw, 340px); margin-block-start: 28px; }
  .layer { transform: translateY(calc(44px - var(--i) * 34px)) rotateX(56deg) rotateZ(-34deg) scale(.84); }
  .stack-labels { block-size: auto; inline-size: auto; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
  .stack-labels li { position: relative; inset: auto; translate: none; padding-inline-start: 14px; }
  .stack-labels li::before { display: none; }
  .stack-labels li::after { inset-inline-start: 0; }
}

/* ---------- your data on top: the console, the link, and the line between them ----------
   One network line, cyan in the drawing and green on the map; the project crosses it. */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(72px, .5fr) minmax(0, 1fr); grid-template-rows: auto auto; row-gap: 22px; align-items: center; }
.flow .console { grid-area: 1 / 1; justify-self: start; position: relative; z-index: 1; box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .55); }
.link { display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 10px 14px; border-radius: 5px; background: #FFFFFF; color: var(--soft); border: 1px solid rgba(33, 40, 48, .14); font-family: var(--mono); font-size: .8125rem; line-height: 1.2; white-space: nowrap; box-shadow: 0 10px 30px -14px rgba(33, 40, 48, .4); }
.flow .link { grid-area: 1 / 3; justify-self: end; position: relative; z-index: 1; }
.flow-line { grid-area: 1 / 1 / 2 / 4; position: relative; block-size: 3px; margin-inline: 24px; background: linear-gradient(90deg, var(--cad-pipe) 0 50%, var(--web-pipe) 50%); }
.flow-line::before, .flow-line::after, .flow-seam { content: ""; position: absolute; inset-block-start: 50%; translate: -50% -50%; border-radius: 50%; box-sizing: border-box; }
.flow-line::before { inset-inline-start: 36%; inline-size: 13px; block-size: 13px; background: var(--cad); border: 3px solid var(--cad-pipe); }
.flow-line::after { inset-inline-start: 64%; inline-size: 13px; block-size: 13px; background: #FFFFFF; border: 3px solid var(--web-pipe); box-shadow: 0 0 0 2px #FFFFFF; }
.flow-seam { inset-inline-start: 50%; inline-size: 16px; block-size: 16px; background: #FFFFFF; box-shadow: 0 0 0 2px rgba(33, 40, 48, .18), 0 4px 12px rgba(33, 40, 48, .2); }
.flow-cap { grid-row: 2; display: flex; flex-direction: column; gap: 8px; }
.flow-cap-cad { grid-column: 1; }
.flow-cap-web { grid-column: 3; }
.flow-cap h3 { font-size: 1.375rem; letter-spacing: -.015em; }
@media (max-width: 760px) {
  .flow { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
  .flow .console { min-inline-size: 0; font-size: .75rem; }
  .flow .link { font-size: .75rem; }
  .flow-line { inline-size: 3px; block-size: 56px; margin: 0 0 0 28px; background: linear-gradient(180deg, var(--cad-pipe) 0 50%, var(--web-pipe) 50%); order: 2; }
  .flow-line::before, .flow-line::after { display: none; }
  .flow-seam { inset-inline-start: 50%; inset-block-start: 50%; }
  .flow-cap-cad { order: 1; }
  .flow .link { order: 3; }
  .flow-cap-web { order: 4; }
}

/* ---------- shared section head ---------- */
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 80px); align-items: start; margin-block-end: clamp(28px, 3.4vw, 48px); }
.split-head h2 { font-stretch: 106%; font-weight: 700; letter-spacing: -.03em; font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3rem); line-height: 1.04; }
.split-head .text { max-inline-size: 34em; font-size: 1.0625rem; }
@media (max-width: 800px) { .split-head { grid-template-columns: 1fr; } }
.go { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--orange); color: var(--ink); }
.go:hover { color: var(--orange-text); }

/* ---------- what goes on top: the same place, three kinds of your data ---------- */
.kinds-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px clamp(28px, 4vw, 56px); }
.kinds-grid li { display: flex; flex-direction: column; gap: 8px; }
.kinds-grid h3 { font-size: 1.25rem; letter-spacing: -.015em; margin-block-start: 6px; }
.kinds-grid .text { font-size: .9375rem; }
.ontop .flow { margin-block-start: clamp(44px, 5vw, 72px); padding-block-start: clamp(36px, 4vw, 56px); border-block-start: 1px solid var(--line-3); }

.mini { display: block; inline-size: 100%; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; --sw: 1.1px; stroke-width: 1.1px; font-family: var(--mono); background: var(--web-ground); border: 1px solid var(--line-2); }
.mini .c-parcel { color: var(--web-parcel); }
.mini .c-halo { color: rgba(255, 255, 255, .85); stroke-width: 8px; }
.mini .c-pipe { color: var(--web-pipe); --mh: #FFFFFF; stroke-width: 3.2px; }
.mini .faint { opacity: .6; }
.op-line { stroke: var(--op-line); stroke-width: 6.5px; }
.op-dash { stroke: #FFFFFF; stroke-width: 1.5px; stroke-dasharray: 9 9; }
.op-node { fill: #FFFFFF; stroke: var(--op-line); stroke-width: 3px; }
.doc-sheet { fill: rgba(255, 255, 255, .62); stroke: var(--web-parcel); stroke-width: 1.6px; }
.doc-plan { fill: none; stroke: var(--web-parcel); stroke-width: 3px; stroke-linejoin: round; }
.doc-thin { fill: none; stroke: var(--web-parcel); stroke-width: 1.4px; stroke-dasharray: 6 6; opacity: .8; }
.doc-pin { fill: var(--web-parcel); }
.doc-pin circle { fill: #FFFFFF; }

/* ---------- Sewer+ sheet ---------- */
.sheet { border: 1px solid var(--line-2); border-radius: 8px; background: #FFFFFF; padding: clamp(14px, 2vw, 28px); overflow-x: auto; }
.sheet img { inline-size: 100%; min-inline-size: 880px; max-inline-size: none; }

/* ---------- closing: the call, and the map of where the platform runs ---------- */
.closing { background: var(--cad); color: #FFFFFF; padding-block: clamp(64px, 8vw, 120px); }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.closing h2 { font-size: clamp(2rem, 1rem + 3.4vw, 3.9rem); font-weight: 720; font-stretch: 108%; letter-spacing: -.035em; line-height: 1; max-inline-size: 12em; }
.closing .cta { padding-block-start: 28px; }
.closing .btn-ghost { color: #FFFFFF; border-color: rgba(255, 255, 255, .4); }
.closing .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #FFFFFF; color: #FFFFFF; }
.closing-copy { position: sticky; top: 96px; }
.where h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; color: var(--cad-body); margin-block-end: 16px; }
.region { aspect-ratio: 5 / 4; border-radius: 8px; overflow: clip; background: #1B2128; border: 1px solid rgba(255, 255, 255, .1); }
.region svg { inline-size: 100%; block-size: 100%; }
.region-tight { display: none; }
.r-land { color: rgba(255, 255, 255, .2); stroke-width: 1.3px; }
.r-lit { color: var(--cad-parcel); fill: rgba(230, 193, 74, .13); stroke-width: 1.9px; }
.r-label text { font-family: var(--mono); font-size: 23px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; fill: #FFFFFF; text-anchor: middle; }
.countries { list-style: none; margin: 10px 0 0; padding: 0; }
.countries li + li { border-block-start: 1px solid rgba(255, 255, 255, .12); }
.countries a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding-block: 18px; color: #FFFFFF; }
.countries a:hover { color: #FFFFFF; }
.countries .flag { grid-area: 1 / 1; align-self: center; }
.countries .cn { grid-area: 1 / 2; font-size: 1.25rem; font-weight: 650; letter-spacing: -.01em; }
.countries .cl { grid-area: 2 / 2; color: var(--cad-body); font-size: .9375rem; line-height: 1.5; }
.countries .arr { grid-area: 1 / 3 / span 2; font-size: 1.375rem; color: var(--cad-parcel); transition: translate .15s; }
.countries a:hover .arr { translate: 4px 0; }
/* the row you point at lights its country, no script */
.where:has(.c-si:hover, .c-si:focus-visible) .r-si, .where:has(.c-cz:hover, .c-cz:focus-visible) .r-cz { fill: rgba(230, 193, 74, .32); }
@media (max-width: 900px) {
  .closing-grid { grid-template-columns: 1fr; }
  .closing-copy { position: static; }
}
@media (max-width: 640px) {
  .region { aspect-ratio: 1; }
  .region-wide { display: none; }
  .region-tight { display: block; }
}
.home .site-footer { border-block-start: 0; }
.foot-h { font-weight: 600; color: var(--ink); }
