:root {
  color-scheme: dark;
  --text: #e4eaec;
  --muted: #a4b0b7;
  --line: #333c42;
  --gold: #e5b985;
  --mono: Consolas, "SFMono-Regular", monospace;
  font: 16px/1.65 "Segoe UI", "Microsoft YaHei UI", sans-serif;
  background: #0b0e11;
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; isolation: isolate; }
#sky { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
button, a { font: inherit; color: inherit; }
button { cursor: pointer; }
a { text-decoration: none; }
button:focus-visible, a:focus-visible, canvas:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1440px, 90%); margin-inline: auto; }
.skip { position: absolute; top: 0; left: 1em; z-index: 5; padding: .6em 1em; background: #151a1f; transform: translateY(-110%); }
.skip:focus { transform: none; }
header { border-bottom: 1px solid #66727a38; background: #0b0e11db; }
.mast, .mast div, .brand, .actions, .keys, .kicker, .instrument-head, .instrument-head h2, figcaption, footer { display: flex; align-items: center; }
.mast { min-height: 67px; justify-content: space-between; }
.mast div { gap: clamp(14px, 3vw, 48px); color: #bcc4ca; font-size: 13px; }
.brand { font-size: 14px; font-weight: 650; letter-spacing: .22em; gap: 11px; }
.brand-mark { font: 300 28px/1 "Segoe UI", sans-serif; color: #c9d9df; }
.mast a:hover, footer a:hover, figcaption a:hover { color: var(--gold); }
.hero { display: grid; grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr); gap: clamp(28px, 4vw, 72px); align-items: center; padding-block: clamp(36px, 3.1vw, 64px); }
.kicker, .mono { font: 11px/1.5 var(--mono); letter-spacing: .13em; color: #b4c2ca; }
.kicker { gap: 10px; margin: 0; }
.kicker span { color: #677782; }
.kicker i, .instrument-head i, .hud i, .keys i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px #e5b98555; flex: none; }
h1, h2, p, dl, dd, figure { margin: 0; }
h1 { margin: 20px 0; font-weight: 450; }
h1 span { display: block; font-size: clamp(72px, 7.7vw, 130px); font-weight: 500; letter-spacing: -.065em; line-height: 1.07; }
h1 small { display: block; margin-top: 8px; font-size: clamp(23px, 2.2vw, 36px); line-height: 1.45; letter-spacing: .08em; }
.lead, .gallery-copy > p:not(.kicker), .roadmap p:not(.kicker) { color: var(--muted); line-height: 1.95; }
.actions { flex-wrap: wrap; gap: 23px; margin-top: 30px; }
.key {
  display: inline-flex; justify-content: center; align-items: center; gap: 11px;
  min-height: 41px; padding: 7px 17px 10px; border-radius: 5px;
  font-size: 13px; font-weight: 600; border: 1px solid #070a0c;
  background: linear-gradient(#4c5257 0, #292c2f 8%, #24292c 66%, #1c2023 86%, #080b0d 88%, #292e32 100%);
  box-shadow: inset 0 0 0 1px #74818a36, 0 2px 3px #0009; color: #e5eaed;
}
.key:hover { filter: brightness(1.2); }
.key:disabled { cursor: default; filter: none; opacity: .65; }
.key:active, .key[aria-pressed="true"] { background: linear-gradient(#111619, #303438); box-shadow: inset 0 2px 4px #000a; }
.key.download { min-height: 49px; padding-inline: 20px; background: linear-gradient(#edf0ef, #cfd7da 14%, #b7c2c7 85%, #738086 87%, #909da3); color: #152027; gap: 22px; }
.download b { font: 20px/1 var(--mono); }
.sub-link { border-bottom: 1px solid #64737c; font-size: 14px; padding-block: 6px; }
.sub-link span { margin-left: 7px; color: var(--gold); }
.meta { margin-top: 12px; font: 12px/1.6 var(--mono); color: #a8b4bc; }
.instrument { position: relative; min-width: 0; padding: 0 10px; background: linear-gradient(145deg, #292e32, #161b1e 40%, #1f2326); border: 1px solid #546069; border-bottom-color: #131a1f; border-radius: 9px; box-shadow: 0 22px 50px #0007, inset 0 1px #ffffff13, 0 3px #050708; }
.instrument-head { justify-content: space-between; padding: 11px 6px; }
.instrument-head h2 { gap: 10px; font-size: 13px; font-weight: 550; letter-spacing: .05em; }
.instrument-head .mono { font-size: 10px; color: #a2adb4; }
.surface { position: relative; border: 1px solid #070a0d; border-radius: 3px; background: #171d21; overflow: hidden; }
.surface img { width: 100%; height: auto; display: block; }
#ink { position: absolute; inset: 0; width: 100%; height: 100%; }
#ink:focus-visible { outline-offset: -3px; }
[data-mode="laser"] #ink { cursor: crosshair; touch-action: none; }
[data-mode="remote"] #ink { touch-action: none; }
[data-mode="remote"] .surface { outline: 1px solid var(--gold); }
.hud { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 6px; background: #15191df5; border: 1px solid var(--gold); border-radius: 4px; box-shadow: 0 3px 14px #0009; padding: 5px 7px; white-space: nowrap; font-size: 12px; }
.hud button { background: #23272a; color: var(--gold); border: 1px solid #ae8c68; border-radius: 3px; font-size: 12px; padding: 3px 7px; }
.deck { padding: 13px 5px 12px; }
.keys { gap: 8px; }
.keys i { background: #819098; box-shadow: none; }
[aria-pressed="true"] i { background: var(--gold); box-shadow: 0 0 10px #e5b98555; }
#status { font-size: 12px; line-height: 1.65; margin-top: 7px; color: #b4bec4; }
[data-mode="reclaimed"] #status { color: var(--gold); }
.spec-band { border-block: 1px solid var(--line); background: #12171bea; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 27px; }
.specs > div { padding: 0 18px 0 28px; border-left: 1px solid var(--line); }
.specs > div:first-child { padding-left: 0; border: 0; }
.specs dt { font-size: 12px; color: #c1cbd0; }
.specs dd { font: 400 clamp(30px, 3vw, 48px)/1.3 var(--mono); letter-spacing: -.055em; }
.specs dd small { color: #acb8c0; font-size: 15px; letter-spacing: 0; }
.specs .detail { font-family: inherit; font-size: 12px; line-height: 1.6; letter-spacing: 0; color: var(--muted); }
.gallery { display: grid; grid-template-columns: minmax(0, .73fr) minmax(0, 1.27fr); gap: 7%; padding-block: clamp(64px, 7vw, 104px); align-items: center; }
.gallery h2, .roadmap h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 500; line-height: 1.35; letter-spacing: -.035em; margin: 10px 0 15px; }
.gallery-copy > p:not(.kicker), .roadmap p:not(.kicker) { font-size: 15px; }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 14px; margin-top: 22px; }
.shots a { padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.shots a::before { content: ''; display: inline-block; margin: 0 9px 2px 0; width: 6px; height: 6px; border: 1px solid #65727b; border-radius: 50%; }
.shots a[aria-current="true"] { color: var(--text); border-color: var(--gold); }
.shots a[aria-current="true"]::before { background: var(--gold); border-color: var(--gold); }
.plate { display: grid; place-items: center; aspect-ratio: 2400 / 1480; background: radial-gradient(ellipse at center, #252c32, #101418 68%); border: 1px solid #3c464c; border-radius: 5px; overflow: hidden; }
.plate img { display: block; width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.plate img.hud-capture { width: 80%; }
figcaption { justify-content: space-between; align-items: start; gap: 15px; margin-top: 10px; font-size: 12px; color: var(--muted); }
figcaption a { white-space: nowrap; color: #c9d4dc; }
.roadmap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 36px; border-top: 1px solid var(--line); padding-block: 56px; }
.roadmap .sub-link { display: inline-flex; margin-top: 12px; }
footer { border-top: 1px solid var(--line); padding-block: 24px; gap: 15px; font-size: 12px; color: var(--muted); }
footer .brand { font-size: 12px; }
footer a:last-child { margin-left: auto; }
@media (max-width: 850px) {
  .hero, .gallery { grid-template-columns: 1fr; }
  .hero { padding-block: 39px; gap: 28px; }
  .gallery { gap: 24px; }
  h1 { margin: 14px 0; }
  h1 span { font-size: clamp(62px, 12vw, 90px); }
  .actions { margin-top: 18px; }
  .specs { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .specs > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .roadmap { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 36px); }
  .mast { min-height: 55px; }
  .mast div { gap: 12px; font-size: 12px; }
  .mast div a:first-child { display: none; }
  .brand { font-size: 12px; gap: 6px; }
  .hero { padding-block: 28px; gap: 23px; }
  .kicker { font-size: 10px; }
  h1 { margin: 10px 0; }
  h1 small { font-size: 22px; margin-top: 3px; }
  .lead { font-size: 14px; line-height: 1.7; }
  .meta { font-size: 11px; margin-top: 9px; }
  .instrument { padding-inline: 6px; }
  .instrument-head, .deck { padding-inline: 3px; }
  .hud { gap: 4px; font-size: 10px; padding: 3px 4px; }
  .hud strong { font-weight: 550; }
  .hud button { font-size: 11px; }
  .specs > div { padding-left: 18px; padding-right: 4px; }
  .roadmap { padding-block: 35px; }
}
@media (prefers-reduced-motion: no-preference) {
  .plate img.switching { animation: develop .28s ease-out; }
  @keyframes develop { from { opacity: .55; } to { opacity: 1; } }
}
