:root {
  color-scheme: dark;
  --bg: #080e19;
  --panel: #101b2c;
  --surface: #142238;
  --line: #2b3d54;
  --text: #e9f1fb;
  --copy: #bdccdc;
  --muted: #a3b5ca;
  --blue: #79d5f2;
  --mono: "IBM Plex Mono", Consolas, ui-monospace, monospace;
  --sans: "Barlow", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.25rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #92e6ff; outline-offset: 3px; }
::selection { background: #27577c; color: white; }
.skip { position: fixed; top: -5rem; left: .5rem; color: var(--bg); background: white; padding: .8rem; z-index: 5; }
.skip:focus { top: .5rem; }
.frame { width: min(95%, 88rem); margin-inline: auto; }
header { background: #101b2b; border-bottom: 1px solid var(--line); box-shadow: inset 0 3px 0 #2e6589; }
.bar { display: flex; gap: clamp(1.25rem,4vw,4rem); align-items: center; min-height: 4.5rem; }
.brand { display: flex; gap: .65rem; align-items: center; }
.brand img { border-radius: 7px; }
.brand span { font-weight: 800; letter-spacing: .085em; font-size: 1.07rem; }
.brand b { margin-left: .36em; color: #88cbe6; font-weight: 500; }
.shortcuts { display: flex; gap: 1.5rem; font-size: 1rem; color: var(--copy); }
.shortcuts a:hover, footer a:hover, .motion button:hover { color: var(--blue); }
.host { margin-left: auto; color: var(--muted); font: .82rem var(--mono); }
.shell { display: grid; grid-template-columns: clamp(12.25rem,16vw,15.5rem) minmax(0,1fr); align-items: start; gap: clamp(1rem,1.7vw,1.6rem); margin-top: 1.4rem; }
aside { position: sticky; top: 1.1rem; }
.side, .profile, .panel { border: 1px solid var(--line); background: var(--panel); border-radius: 7px; }
.side { overflow: hidden; }
.side-heading { display: flex; align-items: center; gap: .6rem; padding: 1rem; background: var(--surface); border-bottom: 1px solid var(--line); color: #daebf9; font-weight: 650; }
.index { display: grid; padding: .55rem; gap: .17rem; }
.index a { display: flex; align-items: center; gap: .7rem; padding: .67rem .55rem; color: var(--copy); font-size: .95rem; border-left: 2px solid transparent; border-radius: 2px; }
.index svg { width: 1rem; height: 1rem; color: #8faac3; }
.index a[aria-current] { border-color: #67d3ff; background: #1a354b; color: #c4eeff; }
.index a[aria-current] svg { color: var(--blue); }
.index a:hover { background: #1a2a40; color: white; }
.motion { margin: .5rem .8rem .75rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.motion img { width: 100%; height: auto; border-radius: 3px; }
.motion figcaption { display: flex; align-items: center; justify-content: space-between; margin-top: .35rem; font: .78rem var(--mono); color: var(--muted); }
.motion button, .dialog-bar button { background: #17283c; color: var(--text); border: 1px solid var(--line); border-radius: 3px; padding: .35rem .55rem; }
.story { min-width: 0; }
.profile { overflow: hidden; }
.art { background: #090e18; position: relative; border-bottom: 1px solid var(--line); }
.art > img { width: 100%; height: auto; }
.enlarge { position: absolute; right: .7rem; bottom: .7rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; background: #101a28df; border: 1px solid #7b8e9f; border-radius: 4px; }
.enlarge:hover { color: var(--blue); }
.intro { padding: 1.35rem clamp(1rem,2.4vw,2.15rem) 1.4rem; background: linear-gradient(110deg,#14263a,var(--panel) 68%); }
.eyebrow, .stats dt, caption { color: var(--blue); font: 600 .78rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.eyebrow { margin: 0 0 .35rem; }
h1 { margin: 0; font-size: clamp(2.05rem,3.2vw,3rem); line-height: 1.12; letter-spacing: -.045em; }
.intro > p:last-child { max-width: 82ch; color: #d2deeb; line-height: 1.57; font-size: 1.06rem; margin: .6rem 0 0; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); background: #0e192a; margin: 0; }
.stats div { padding: 1rem clamp(.85rem,2.3vw,2rem); }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { display: flex; align-items: center; gap: .45rem; color: #b3c8dc; }
.stats svg { width: 1rem; height: 1rem; color: var(--blue); }
.stats dd { margin: .45rem 0 .2rem; font: 650 clamp(1.55rem,2.1vw,2rem)/1.1 var(--mono); letter-spacing: -.06em; }
.stats small { color: var(--muted); font-size: .82rem; }
.panel { margin-top: 1rem; padding: 0 clamp(1rem,2.3vw,2rem) 1.25rem; }
.panel-head { display: flex; align-items: center; gap: .65rem; border-bottom: 1px solid var(--line); padding: 1.05rem 0 .85rem; }
.panel-head svg { color: var(--blue); width: 1.25rem; height: 1.25rem; }
h2 { margin: 0; font-weight: 650; font-size: clamp(1.17rem,1.7vw,1.47rem); letter-spacing: -.025em; }
h3 { margin: 0; color: #e4eff9; font-size: 1.08rem; }
.panel p { color: var(--copy); font-size: 1.01rem; line-height: 1.64; max-width: 91ch; margin: .9rem 0 0; }
.timeline { margin: 1rem 0 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.timeline div { border-top: 2px solid #315677; padding-top: .7rem; }
.timeline dt { color: var(--blue); font: 600 .88rem var(--mono); }
.timeline dd { margin: .45rem 0 0; color: var(--copy); line-height: 1.55; }
.catalog-table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; margin-top: 1rem; font-size: 1rem; }
caption { text-align: left; padding-bottom: .6rem; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
thead th { background: var(--surface); color: #bdcfe0; font-weight: 600; }
tbody th { font-weight: 400; }
td, thead th:last-child { text-align: right; }
td { font: .95rem var(--mono); }
.panel .note { font-size: .86rem; color: var(--muted); }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; }
.columns > div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.columns p, .reviews p { margin-top: .45rem; }
.compare h3 { color: #7edbd5; }
.compare > div + div h3 { color: #f1bf80; }
.reviews { display: grid; gap: .7rem; margin-top: 1rem; }
.reviews > div { background: #142237; border-left: 3px solid #487998; padding: .85rem 1rem; }
.reviews h3 span { font: .8rem var(--mono); margin-left: .6rem; color: var(--muted); }
details { border-bottom: 1px solid var(--line); }
details:last-child { border-bottom: 0; }
summary { cursor: pointer; padding: 1rem 2rem 1rem 0; position: relative; list-style: none; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .25rem; color: var(--blue); font-family: var(--mono); }
details[open] summary::after { content: "−"; }
details[open] summary { padding-bottom: .35rem; }
.panel details p { margin: 0 0 1rem; }
footer { display: flex; align-items: center; gap: 1rem; color: var(--muted); font: .83rem var(--mono); padding: 1.4rem 0 2rem; }
footer img { height: auto; }
footer a { margin-left: auto; }
dialog { width: min(94vw,100rem); padding: 0; border: 1px solid var(--line); color: var(--text); background: var(--surface); }
dialog img { width: 100%; height: auto; }
dialog::backdrop { background: #030810ec; }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; padding: .7rem 1rem; gap: 1rem; }
@media (max-width: 790px) {
  .frame { width: 94%; }
  .shell { display: flex; flex-direction: column; margin-top: .9rem; gap: .8rem; }
  aside { position: static; width: 100%; }
  .side { display: grid; grid-template-columns: 1fr auto; }
  .side-heading { border-bottom: 0; background: none; padding: .65rem .8rem; }
  .index { grid-row: 2; grid-column: 1/-1; display: flex; flex-wrap: wrap; padding: .4rem .5rem .55rem; border-top: 1px solid var(--line); }
  .index a { padding: .4rem .5rem; font-size: .9rem; }
  .index a svg { display: none; }
  .motion { margin: .2rem .6rem; padding: 0; border: 0; align-self: center; display: flex; align-items: center; gap: .4rem; }
  .motion img { width: 5.2rem; }
  .motion figcaption { margin: 0; }
  .motion figcaption span { display: none; }
  .story { width: 100%; }
}
@media (max-width: 550px) {
  .bar { min-height: 3.65rem; justify-content: space-between; gap: .8rem; }
  .brand { gap: .35rem; }
  .brand img { width: 1.9rem; height: 1.9rem; }
  .brand span { font-size: .9rem; letter-spacing: .035em; }
  .host { display: none; }
  .shortcuts { gap: .7rem; font-size: .86rem; }
  .art > img { height: 8.75rem; object-fit: cover; object-position: 57% center; }
  .enlarge { width: 2rem; height: 2rem; bottom: .5rem; right: .5rem; }
  .stats div { padding: .75rem .55rem; }
  .stats dt { font-size: .73rem; letter-spacing: 0; gap: .23rem; }
  .stats svg { width: .82rem; height: .82rem; }
  .stats small { font-size: .78rem; }
  .intro { padding-block: 1rem; }
  .timeline, .columns { grid-template-columns: 1fr; gap: .85rem; }
  .timeline div { border: 0; border-left: 2px solid #315677; padding: 0 0 0 .7rem; }
  .columns > div + div { border: 0; border-top: 1px solid var(--line); padding: .8rem 0 0; }
  footer { gap: .5rem; }
  footer img { width: 3.8rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
