:root {
  color-scheme: dark;
  --ink: #f1f4fa;
  --muted: #b1bdcf;
  --ice: #a3f3de;
  --panel: #0d1421;
  --line: #293446;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --spectrum: linear-gradient(to bottom, #5de6ff 0%, #77e4bf 16%, #ebdb6b 29%, #ffb04a 39%, #ff5d92 57%, #b685ff 75%, #58cfee 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; color: var(--ink); background: #090e18; font: 16px/1.55 var(--sans); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 3px solid var(--ice); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, figure, p, dl, dd { margin: 0; }
.skip { position: absolute; top: -8rem; left: 1rem; z-index: 10; padding: .6em 1em; background: var(--ice); color: #0a101b; }
.skip:focus { top: 1rem; }
.mast, .foot, nav, .text-link { display: flex; align-items: center; }
.mast, .foot { justify-content: space-between; }
.mast, .foot { padding-inline: clamp(30px,5.15vw,78px); background: #0a101b; }
.mast { min-height: 86px; border-bottom: 1px solid var(--line); }
.foot { border-top: 1px solid var(--line); }
.brand { display: block; width: 150px; }
.brand img { width: 100%; }
nav { gap: clamp(15px, 2.3vw, 34px); font-size: 14px; font-weight: 600; }
nav a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; }
nav a:hover, .text-link:hover { color: var(--ice); }
.tutorial-nav { border: 1px solid #4d5a70; padding: 0 17px; min-height: 38px; border-radius: 30px; }
.tutorial-nav:hover { border-color: var(--ice); }
.flight-frame { position: relative; background: var(--panel); border-block: 1px solid var(--line); isolation: isolate; }
.flight-frame::before, .flight-frame::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; z-index: 2; pointer-events: none; background: var(--spectrum); }
.flight-frame::before { left: 0; }
.flight-frame::after { right: 0; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: center; column-gap: clamp(24px, 4vw, 70px); min-height: 490px; padding: clamp(32px, 3vw, 52px) clamp(32px, 5.15vw, 78px); isolation: isolate; overflow: clip; background: #04070c; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0a111ff5 0%,#0a111fc2 34%,#09101c38 68%,#09101c29); }
.hero-copy { position: relative; z-index: 1; padding-block: 24px; }
.platform { display: flex; align-items: center; gap: .7em; color: var(--ice); font: 600 12px/1.35 var(--mono); text-transform: uppercase; letter-spacing: .13em; }
.platform::before { content: ""; width: 25px; height: 2px; background: currentColor; margin-right: .2em; }
.platform span { color: #839caa; }
h1 { width: min(100%, 360px); margin: 14px 0 18px; }
h1 img { width: 100%; }
.intro { max-width: 440px; color: #c8d0df; font-size: clamp(17px, 1.43vw, 20px); line-height: 1.55; text-wrap: pretty; }
.mac-badge { display: block; width: fit-content; max-width: 100%; margin-top: clamp(19px, 2vw, 28px); }
.fleet { --wormhole-x: 50%; --wormhole-y: 48%; position: relative; width: min(100%, 720px); aspect-ratio: 1.14; margin: 0 auto; }
/* Pin the convergence point in the supplied photograph to the wormhole artwork. */
.fleet::before {
  content: "";
  position: absolute;
  z-index: -2;
  pointer-events: none;
  left: var(--wormhole-x);
  top: var(--wormhole-y);
  width: max(235%, 780px);
  aspect-ratio: 4 / 3;
  background: url("art/starfield7.jpg") center / 100% 100% no-repeat;
  transform: translate(-49.76%, -52.92%);
}
.fleet img { position: absolute; transform: translate(-50%,-50%); filter: drop-shadow(0 9px 9px #01030b9c); }
.fleet .station { width: 42%; top: var(--wormhole-y); left: var(--wormhole-x); transform: translate(-49.7%, -50.5%); }
.ship.violet { width: 22%; top: 20%; left: 20%; }
.ship.gold { width: 18%; top: 17%; left: 79%; }
.ship.silver { width: 22%; top: 57%; left: 10%; }
.ship.ring { width: 18.5%; top: 54%; left: 91%; }
.ship.crimson { width: 23%; top: 83%; left: 29%; }
.ship.cyan { width: 19%; top: 82%; left: 75%; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); padding: 23px clamp(22px, 5.15vw, 78px); background: #141d2b; border-block: 1px solid var(--line); }
.stats div { display: flex; flex-direction: row-reverse; align-items: baseline; justify-content: center; gap: 14px; }
.stats div+div { border-left: 1px solid #35404e; }
.stats dt { color: #b8c7d9; font: 600 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.stats dd { font-size: 32px; font-weight: 550; letter-spacing: -.06em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.panel { --gutter: clamp(30px, 5.15vw, 78px); --accent: var(--ice); position: relative; padding: clamp(36px, 4vw, 64px) var(--gutter); }
.screens { --accent: #8adcf5; }
.tutorial { --accent: #f3ca80; }
.reviews { --accent: #ceafff; }
.panel+.panel { border-top: 1px solid var(--line); }
.panel > h2 {
  display: flex; align-items: center; gap: clamp(10px, 1.2vw, 16px);
  margin-bottom: clamp(16px, 1.8vw, 24px);
  font-size: clamp(28px, 3.4vw, 50px); line-height: 1.1; letter-spacing: -.042em; font-weight: 700;
}
.panel > h2 svg {
  flex: none; width: .84em; height: .84em; color: var(--accent);
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.text-link { width: fit-content; gap: 10px; min-height: 44px; color: var(--ice); font-size: 15px; font-weight: 650; }
.text-link span { font-size: 1.24em; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.shots { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: clamp(14px,2vw,28px); }
.shots a { min-width: 0; }
.shots img { width: 100%; aspect-ratio: 3/4; object-fit: contain; background: #050811; border: 1px solid #394355; border-radius: 6px; transition: border-color .15s; }
.shots a:hover img { border-color: var(--ice); }
.shots span { display: block; margin-top: 10px; color: #c3ccda; font-size: 14px; }
.game { background: #101725; }
.game-body { display: grid; grid-template-columns: minmax(220px, 330px) minmax(0, 36em); gap: clamp(30px, 5vw, 80px); align-items: center; }
.game-copy > p { color: var(--muted); max-width: 36em; font-size: 17px; line-height: 1.65; }
.game-copy p + p { margin-top: 17px; }
.game-copy .text-link { margin-top: 17px; }
.clip { width: min(100%,330px); margin: 0 auto; }
.clip video { display: block; width: 100%; height: auto; background: black; border: 1px solid #465368; border-radius: 7px; }
.clip figcaption { margin-top: 10px; color: var(--muted); text-align: center; font: 11px/1.65 var(--mono); }
.clip figcaption span { margin-inline: 3px; }
.foot { padding-block: 34px; }
@media (min-width: 68rem) {
  .stats, .panel, .foot { padding-inline: max(5.15vw, calc((100% - 68rem) / 2)); }
}
@media (min-width: 1400px) { .hero { min-height: 536px; } }
@media (max-width: 900px) {
  .hero { min-height: 410px; }
  .shots { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .hero-copy .intro { font-size: 16px; }
}
@media (max-width: 680px) {
  .mast, .foot { padding-inline: clamp(12px,4vw,23px); }
  .mast { min-height: 68px; }
  .mast .brand, .foot .brand { width: 113px; }
  nav { font-size: 12px; gap: 12px; }
  .nav-shots { display: none; }
  .tutorial-nav { min-height: 35px; padding: 0 10px; }
  nav a { gap: 5px; }
  .hero { grid-template-columns: 1fr; row-gap: 28px; padding: 28px 25px 32px; min-height: 0; }
  .hero-copy { padding: 0; }
  .hero::before { background: linear-gradient(180deg,#0a111fee 1%,#0a111fd9 33%,#0a111f33 78%); }
  h1 { width: min(100%, 350px); margin-block: 11px 16px; }
  .fleet::before { width: max(180%, 480px); }
  .platform { font-size: 10px; }
  .hero-copy .intro { max-width: 38ch; }
  .fleet { width: min(calc(100% - 16px), 400px); aspect-ratio: 1.5; }
  .fleet .station { width: 33%; }
  .ship.violet, .ship.silver, .ship.crimson { width: 18%; }
  .ship.gold, .ship.ring, .ship.cyan { width: 15.5%; }
  .stats { padding: 14px 5px; }
  .stats div { flex-direction: column-reverse; align-items: center; gap: 4px; }
  .stats dd { font-size: 25px; }
  .stats dt { font-size: 9px; letter-spacing: .04em; }
  .panel { --gutter: 22px; padding-block: 32px; }
  .shots { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 12px; }
  .shots span { margin-top: 5px; font-size: 12px; }
  .game-body { grid-template-columns: 1fr; gap: 24px; }
  .clip { width: min(100%,300px); }
  .game-copy > p { font-size: 16px; }
  .foot { padding-block: 24px; }
}
@media (max-width: 360px) {
  .mast .brand, .foot .brand { width: 84px; }
  .mast nav, .foot nav { gap: 8px; }
  .hero { padding-inline: 18px; }
  .panel { --gutter: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.viewer-bar, .viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.viewer-count { color: var(--muted); font: 12px/1.4 var(--mono); }
.viewer button { min-height: 40px; padding: 7px 14px; font: 600 14px/1.35 var(--sans); color: var(--ink); background: #1a283c; border: 1px solid #43536a; border-radius: 6px; cursor: pointer; }
.viewer button:hover:enabled { border-color: var(--ice); color: var(--ice); }
.viewer button:disabled { opacity: .42; cursor: default; }
.guide-steps { margin: 0; padding: 0; list-style: none; }
.guide-steps li {
  display: grid;
  grid-template-columns: clamp(155px,17vw,240px) minmax(0,66ch);
  grid-template-areas: "image title" "image copy";
  grid-template-rows: auto 1fr;
  gap: 12px clamp(26px,4.5vw,72px);
  align-items: start;
  padding-block: clamp(24px,3vw,45px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 16px;
}
.guide-steps li:last-child { padding-bottom: 0; }
.guide-steps li:first-child { padding-top: 0; border-top: 0; }
.guide-steps img { grid-area: image; width: 100%; border: 1px solid #485469; border-radius: 4px; }
.guide-steps h3 { grid-area: title; margin: 0; font-size: clamp(22px,2.3vw,32px); line-height: 1.18; letter-spacing: -.035em; }
.step-number { color: var(--ice); font-variant-numeric: tabular-nums; }
.step-copy { grid-area: copy; }
.step-copy p { color: #c2ccdb; line-height: 1.55; }
.step-copy p + p { margin-top: 10px; }
.step-copy strong, .step-copy b { color: var(--ink); }
.readers { display: grid; gap: 18px; max-width: 90ch; }
.readers blockquote { margin: 0; padding-left: 18px; border-left: 2px solid #8accca; color: #c2ccdb; }
.readers cite { display: block; margin-top: 4px; color: var(--ink); font-size: 14px; }
.viewer { width: min(490px,calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 16px; color: var(--ink); background: #101927; border: 1px solid #4b5d74; border-radius: 12px; }
.viewer::backdrop { background: rgb(3 6 11 / .88); }
.viewer-image { margin: 12px auto; max-height: calc(100dvh - 210px); object-fit: contain; width: auto; }
.viewer figure { text-align: center; }
.viewer-controls { margin-top: 16px; }
@media (max-width: 680px) {
  .guide-steps li { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; grid-template-areas: "title" "image" "copy"; gap: 16px; }
  .guide-steps img { width: min(100%,200px); }
}
