:root { color-scheme: dark; --bg: #101518; --panel: #182126; --line: #35454b; --text: #f0f6f3; --muted: #afc1c1; --mint: #b4f2d3; font-family: system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: var(--mint); text-underline-offset: .24em; }
button, a { touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 3rem, 71rem); margin-inline: auto; }
.site-header { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.site-header a { text-decoration: none; }
.brand { display: flex; align-items: center; gap: .55rem; font-size: 1.25rem; font-weight: 700; color: var(--text); }
.brand-mark { color: var(--mint); }
.hero { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); padding: clamp(2.25rem, 6vw, 5rem) 0 3rem; }
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: clamp(2.85rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.07em; }
.intro p { color: var(--muted); font-size: 1.15rem; line-height: 1.55; max-width: 24rem; margin: 1.5rem 0; }
.action, .download, button { border-radius: .45rem; border: 1px solid var(--line); padding: .65rem .9rem; background: transparent; color: var(--text); text-decoration: none; display: inline-block; }
.action { background: var(--mint); color: #12261e; border-color: var(--mint); font-weight: 750; padding: .82rem 1.13rem; }
.action:hover { background: #d2fbe7; }
.download:hover, button:hover { border-color: var(--mint); }
.viewer { overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; background: var(--panel); }
.viewport { position: relative; height: clamp(15rem, 34vw, 23rem); background: radial-gradient(ellipse at center, #2a423e, transparent 78%), repeating-linear-gradient(0deg, transparent 0 27px, #ffffff0c 27px 28px), repeating-linear-gradient(90deg, transparent 0 27px, #ffffff0c 27px 28px), #1b272b; }
canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
canvas:active { cursor: grabbing; }
.viewer-message { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; text-align: center; pointer-events: none; }
.view-actions { position: absolute; right: .75rem; bottom: .75rem; left: .75rem; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; }
.view-actions button { background: #182126; font-size: .875rem; }
.view-actions [aria-pressed="true"] { color: var(--mint); border-color: var(--mint); }
figcaption { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1rem .6rem; }
figcaption span { display: block; margin-top: .25rem; color: var(--muted); }
.download { flex: none; }
.controls { color: var(--muted); font-size: .875rem; padding: 0 1rem 1rem; }
.connection { padding: 1.8rem 0 4rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.connection-title { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.2rem; }
h2 { font-size: clamp(1.6rem, 4vw, 2.35rem); letter-spacing: -.035em; }
.status { color: #f9d99b; background: #372f24; border-radius: .3rem; padding: .3rem .55rem; font-size: .875rem; }
.clients { display: flex; gap: .45rem; flex-wrap: wrap; margin: 1rem 0; }
.clients a { padding: .55rem .75rem; border: 1px solid var(--line); border-radius: .45rem; text-decoration: none; color: var(--text); }
.clients a[aria-selected="true"] { color: var(--mint); border-color: var(--mint); background: #223932; }
.availability { color: var(--muted); line-height: 1.5; }
.instructions article { margin-top: 1rem; padding: 1.15rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--panel); scroll-margin-top: 1rem; }
.instructions p { margin-top: .45rem; color: var(--muted); }
.instructions ol { margin-block: .65rem; padding-left: 1.4rem; line-height: 1.6; }
.prompt { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; flex-wrap: wrap; margin-top: 1.25rem; }
.prompt p { margin-top: .35rem; color: var(--muted); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2rem); }
  main.wrap { display: flex; flex-direction: column; }
  .hero { display: contents; }
  .intro { padding: 2.5rem 0 2rem; }
  .connection { order: 1; padding-block: 1.25rem 1.75rem; }
  .viewer { order: 2; margin-bottom: 2rem; }
}
@media (max-width: 375px) { figcaption { align-items: flex-start; flex-direction: column; } }
