@font-face { font-family: "Marcellus"; src: url("/a/fonts/marcellus.1cf0cd10b1.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Jost"; src: url("/a/fonts/jost.7e8c992b56.woff") format("woff"); font-weight: 100 900; font-display: swap; }

/* Classic's paints (scripts/ui.gd) and the Harbor's sky (scripts/palette.gd) */
:root {
  --ink: #ece6d6; --soft: #b9b4c9; --faint: #7f7d99; --accent: #e9cf98; --seaglass: #8fc1b5;
  --gold: #f8c545; --coral: #e8614d; --dark: #1a1730; --navy: #101e3a; --lift: rgba(24, 43, 77, 0.72);
  --tile: rgba(15, 27, 54, 0.66); --tile-hi: rgba(22, 40, 72, 0.8); --line: rgba(236, 230, 214, 0.1);
  --r: 22px; --shadow: 0 18px 50px rgba(3, 6, 24, 0.42);
  --serif: "Marcellus", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px; --gut: 20px;
}
* { box-sizing: border-box; }
html { background: #151538; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  position: relative; z-index: 0; margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip;
  color: var(--ink); font: 400 17px/1.62 var(--sans);
  background-color: #182c4c;
  background-image: url("/a/bg/tooth.23df98d294.webp"), url("/a/bg/ground.b80ed6745b.webp"), linear-gradient(180deg, #151538 0, #182c4c 46%, #0f3b45 100%);
  background-size: 150px 150px, 380px auto, 100% 100%;
  background-blend-mode: normal, multiply, normal;
}
/* the stars: a layer of their own, drifting slower than the page (site.js) */
.sky { position: fixed; top: 0; left: 0; right: 0; bottom: -512px; z-index: -1; pointer-events: none;
  background: url("/a/bg/stars.75eae69f0e.webp") 0 0 / 512px 512px; will-change: transform; }
img { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: 0.005em; line-height: 1.14; }
h1 { font-size: clamp(40px, 6vw, 60px); margin: 0 0 12px; }
h2 { font-size: clamp(31px, 4.4vw, 46px); margin: 0 0 14px; }
h3 { font-size: 23px; margin: 0 0 6px; }
p { margin: 0 0 14px; }
strong { font-weight: 600; }
.caps { font: 500 13px/1.4 var(--sans); text-transform: uppercase; letter-spacing: 0.16em; color: var(--soft); }
.eyebrow { display: inline-block; margin: 0 0 16px; padding-bottom: 11px; font: 500 13px/1.3 var(--sans);
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--gold);
  background: url("/a/ui/rule-gold.e2e2510bd7.webp") left bottom / 70px 6px no-repeat; }
.center .eyebrow, .eyebrow.center { background-position: center bottom; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink); max-width: 40em; }
.note { color: var(--soft); font-size: 15px; }
p.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 30; background: var(--dark); padding: 8px 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* the bar along the top: clear over the hero, frosted glass once the page moves */
.top { position: sticky; top: 0; z-index: 20; transition: background-color 0.25s, box-shadow 0.25s; }
.top .bar { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gut); display: flex; align-items: center;
  justify-content: space-between; gap: 12px; }
.top.scrolled { background: rgba(14, 20, 50, 0.9); box-shadow: 0 1px 0 var(--line), 0 12px 30px rgba(3, 6, 24, 0.28); }
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .top.scrolled { background: rgba(14, 20, 50, 0.66); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font: 24px/1 var(--serif); letter-spacing: 0.02em; }
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top nav { display: flex; gap: 2px; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; padding: 8px 12px 12px; }
.top nav a:hover { color: var(--gold); }
.top nav a[aria-current="page"] { background: url("/a/ui/rule-gold.e2e2510bd7.webp") center bottom 4px / calc(100% - 16px) 7px no-repeat; }

main { display: block; flex: 1 0 auto; width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 800px; margin: 0 auto; padding: 28px var(--gut) 24px; }
.section { max-width: var(--wrap); margin: 0 auto; padding: 60px var(--gut); }
.section-head { max-width: 740px; margin: 0 0 30px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--soft); font-size: 18px; }

/* Classic's paint: a panel is a stack of brush pulls; headings, buttons and rules are pulls */
.panel { border: 0 solid transparent; padding: 34px 38px 38px;
  border-image: url("/a/ui/panel.d89003a00b.webp") 135 75 336 75 fill / 78px 43px 194px 43px round; margin: 0 0 34px; }
.ground { display: inline-block; padding: 8px 46px 12px 22px; margin-left: -10px;
  background: url("/a/ui/ground.d471dfc6bc.webp") 0 0 / 100% 100% no-repeat; }
.btn { display: inline-block; padding: 14px 50px 16px 26px; color: var(--dark); text-decoration: none; cursor: pointer;
  font: 600 18px/1.2 var(--sans); background: url("/a/ui/pull-gold.273ad44ea1.webp") 0 0 / 100% 100% no-repeat; border: 0; }
.btn:hover { color: var(--dark); filter: brightness(1.08); }
.btn.sea { color: var(--ink); background-image: url("/a/ui/pull-teal.ce8c5b421a.webp"); cursor: default; }
.btn.sea:hover { filter: none; }
hr { border: 0; height: 9px; max-width: 420px; margin: 20px auto; background: url("/a/ui/rule.e02f54662f.webp") center / 100% 100% no-repeat; }
ul.coins { list-style: none; padding: 0; margin: 0 0 14px; }
ul.coins li { position: relative; padding-left: 30px; margin: 0 0 10px; }
ul.coins li::before { content: ""; position: absolute; left: 0; top: 0.36em; width: 18px; height: 18px;
  background: url("/a/ui/coin.a8a0291be5.webp") 0 0 / 100% 100% no-repeat; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--gold); }
.more::after { content: "\2192"; transition: transform 0.2s; }
.more:hover::after, .tile:hover .more::after { transform: translateX(4px); }

/* tiles: the glassy cards that hold most things */
.tile { position: relative; isolation: isolate; overflow: hidden; display: block; color: var(--ink); text-decoration: none;
  background: var(--tile); border: 1px solid var(--line); border-radius: var(--r); padding: 24px;
  transition: transform 0.25s, border-color 0.25s, background-color 0.25s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(248, 197, 69, 0.11), transparent 62%); }
.tile:hover::before { opacity: 1; }
a.tile:hover { color: var(--ink); transform: translateY(-3px); border-color: rgba(248, 197, 69, 0.3); }
.tile h3 { margin: 0 0 8px; }
.tile p { color: var(--soft); font-size: 16px; }
.tile .eyebrow { margin-bottom: 12px; }

/* home: the hero, with the game to try beside it */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gut) 30px; display: grid; gap: 30px; align-items: center; }
.hero-copy { text-align: center; }
.hero-copy .eyebrow { background-position: center bottom; }
html:not(.js) .try { display: none; }
.hero-copy .appicon { display: block; width: 88px; height: 88px; border-radius: 21px; box-shadow: 0 14px 34px rgba(5, 8, 28, 0.55); margin: 0 auto 18px; }
.hero h1 { font-size: clamp(54px, 10vw, 108px); line-height: 0.98; margin: 0 0 16px; letter-spacing: 0; }
.tag { font-size: clamp(19px, 2.3vw, 24px); color: var(--accent); max-width: 25em; margin: 0 auto 26px; line-height: 1.45; }
.soon { margin: 0 0 12px; }
.platforms { color: var(--soft); font-size: 15px; margin: 0; }
.stats { display: flex; justify-content: center; gap: 30px; margin: 30px 0 0; padding: 0; list-style: none; }
.stats li { display: flex; flex-direction: column; align-items: center; }
.stats b { font: 400 38px/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.stats span { font: 500 12px/1.4 var(--sans); text-transform: uppercase; letter-spacing: 0.18em; color: var(--soft); margin-top: 6px; }
.try { display: flex; flex-direction: column; align-items: center; }
.device { position: relative; width: min(380px, 100%, calc(70svh * 9 / 16)); aspect-ratio: 9 / 16; border-radius: 36px; padding: 9px;
  background: linear-gradient(160deg, #2a3557, #0c1130 70%); box-shadow: 0 30px 80px rgba(2, 4, 20, 0.6), inset 0 0 0 1px rgba(236, 230, 214, 0.14); }
.screen { position: relative; height: 100%; overflow: hidden; border-radius: 28px; outline: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; -webkit-user-select: none;
  background-color: #182c4c;
  background-image: url("/a/bg/tooth.23df98d294.webp"), url("/a/bg/ground.b80ed6745b.webp"), linear-gradient(180deg, #151538 0, #182c4c 52%, #0f3b45 100%);
  background-size: 150px 150px, 300px auto, 100% 100%; background-position: 0 var(--sky-y, 0), 0 var(--sky-y, 0), 0 0;
  background-blend-mode: normal, multiply, normal; }
.screen:focus-visible { box-shadow: 0 0 0 3px var(--gold); }
.screen canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.toy-hint { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); pointer-events: none; text-align: center;
  padding: 10px 42px 13px 24px; background: url("/a/ui/ground.d471dfc6bc.webp") 0 0 / 100% 100% no-repeat; white-space: nowrap;
  color: var(--gold); font: 600 18px/1.25 var(--sans); opacity: 0; transition: opacity 0.35s; }
.toy-hint small { display: block; color: var(--soft); font-weight: 500; font-size: 13px; }
.toy-hint .key { display: none; }
.screen.is-fresh .toy-hint { opacity: 1; }
.toy-card { position: absolute; inset: 0; display: grid; place-items: center; padding: 18px; pointer-events: none;
  background: rgba(8, 12, 32, 0.5); opacity: 0; transition: opacity 0.35s; }
.toy-card div { max-width: 300px; text-align: center; padding: 22px 22px 18px; border-radius: 20px;
  background: rgba(12, 20, 44, 0.9); border: 1px solid var(--line); transform: translateY(10px); transition: transform 0.35s; }
.toy-card p { margin: 0; }
.toy-title { font: 30px/1.15 var(--serif); color: var(--accent); margin-bottom: 8px !important; }
.toy-line { color: var(--soft); font-size: 15px; line-height: 1.5; }
.screen.is-over .toy-card { opacity: 1; }
.screen.is-over .toy-card div { transform: none; }
.try-note { color: var(--soft); font-size: 14px; text-align: center; max-width: 30em; margin: 16px auto 0; }

/* home: how it plays */
.steps { display: grid; gap: 18px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
.step img { width: 96px; height: 96px; border-radius: 16px; display: block; object-fit: cover; }
.step h3 { font-size: 22px; display: flex; align-items: baseline; gap: 10px; }
.step h3::before { counter-increment: step; content: counter(step); font: 600 13px/1 var(--sans); color: var(--dark);
  background: var(--gold); border-radius: 50%; min-width: 22px; height: 22px; display: inline-grid; place-items: center; transform: translateY(-3px); }
.step p { margin: 0; font-size: 15.5px; }

/* home: the screenshots */
.carousel { position: relative; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 4px 22px;
  scrollbar-width: none; overscroll-behavior-x: contain; outline: none; }
.track::-webkit-scrollbar { display: none; }
.js .track { padding-left: calc(50% - 130px); padding-right: calc(50% - 130px); }
.track > figure { flex: 0 0 260px; margin: 0; scroll-snap-align: center; transition: transform 0.4s, opacity 0.4s; }
.js .carousel.ready .track > figure:not(.on) { transform: scale(0.88); opacity: 0.5; cursor: pointer; }
.track.dragging { scroll-snap-type: none; cursor: grabbing; }
.track.dragging > figure { transition: none; }
.phone { border-radius: 30px; padding: 7px; background: linear-gradient(160deg, #2a3557, #0c1130 70%);
  box-shadow: 0 22px 50px rgba(2, 4, 20, 0.55), inset 0 0 0 1px rgba(236, 230, 214, 0.12); }
.phone img { display: block; width: 100%; border-radius: 24px; -webkit-user-drag: none; user-select: none; }
.track figcaption { font-size: 15px; color: var(--accent); margin-top: 12px; text-align: center; }
.car-ui { display: none; align-items: center; justify-content: center; gap: 14px; }
.js .car-ui { display: flex; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--tile);
  color: var(--ink); cursor: pointer; display: grid; place-items: center; font-size: 20px; transition: background-color 0.2s, opacity 0.2s; }
.arrow:hover:not(:disabled) { background: var(--tile-hi); color: var(--gold); }
.arrow:disabled { opacity: 0.35; cursor: default; }
.dots { display: flex; }
.dots button { width: 22px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::after { content: ""; width: 8px; height: 8px; border-radius: 4px; background: rgba(236, 230, 214, 0.3); transition: width 0.25s, background-color 0.25s; }
.dots button[aria-current="true"]::after { width: 20px; background: var(--gold); }

/* home: there's more out there */
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
.bento .tile { display: flex; flex-direction: column; }
.bento .tile .more { margin-top: auto; padding-top: 8px; }
.tile.deep::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 48%; z-index: -1; pointer-events: none;
  background: url("/a/img/deep.c95e9219df.webp") 70% 50% / cover no-repeat; opacity: 0.5;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 75%); mask-image: linear-gradient(90deg, transparent, #000 75%); }
.depth { display: flex; align-items: center; gap: 0; margin: 6px 0 18px; padding: 0; list-style: none; }
.depth li { flex: 1; display: flex; align-items: center; }
.depth li::before { content: ""; width: 12px; height: 12px; flex: none; border-radius: 50%; border: 2px solid rgba(236, 230, 214, 0.35); }
.depth li::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, rgba(236, 230, 214, 0.28) 0 4px, transparent 4px 8px); }
.depth li:last-child { flex: none; }
.depth li:last-child::after { display: none; }
.depth li.known::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 12px rgba(248, 197, 69, 0.5); }
.depth li.known::after { background: var(--gold); }
.depth li.end::before { border-style: dashed; }
.depth-key { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--soft); margin: -8px 0 14px; }
.depth-key b { color: var(--accent); font-weight: 500; }
.crew { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 14px; }
.crew img { width: 60px; height: 60px; }
.crew .hid { position: relative; }
.crew .hid::after { content: "?"; position: absolute; inset: 0; display: grid; place-items: center; font: 22px var(--serif); color: rgba(236, 230, 214, 0.6); }
.code-chip { display: inline-flex; align-items: center; gap: 12px; margin: 6px 0 16px; padding: 10px 16px; border-radius: 14px;
  background: rgba(8, 12, 32, 0.55); border: 1px dashed rgba(248, 197, 69, 0.4); }
.code-chip span { font: 600 26px/1 var(--sans); letter-spacing: 0.1em; color: var(--accent); font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; padding: 0; list-style: none; }
.chips li, .chips a { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 15px; font-weight: 500;
  background: rgba(236, 230, 214, 0.07); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.chips a:hover { border-color: rgba(248, 197, 69, 0.4); color: var(--gold); }
.free-cta { display: grid; gap: 22px; align-items: center; }
.free-cta .panel { margin: 0; }
.cta { text-align: center; padding: 40px 24px 36px; }
.cta img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 14px 34px rgba(5, 8, 28, 0.55); margin: 0 auto 14px; display: block; }
.cta h2 { margin-bottom: 10px; }

/* the looks: one at a time on a stage, with a row of swatches */
.switch-stage { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.switch-item { margin: 0; }
.switch-item img { display: block; width: 100%; border-radius: 16px; box-shadow: 0 12px 30px rgba(4, 7, 26, 0.45); }
.switch-item figcaption { margin-top: 10px; }
.switch-picks { display: none; }
.js [data-looks].ready .switch-stage { display: grid; grid-template-columns: 1fr; }
.js [data-looks].ready .switch-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0s 0.5s; }
.js [data-looks].ready .switch-item.on { opacity: 1; visibility: visible; transition: opacity 0.5s; }
.js [data-looks].ready .switch-picks { display: flex; }
.switch-picks { flex-wrap: wrap; gap: 10px; }
.switch-picks button { display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; cursor: pointer;
  background: rgba(236, 230, 214, 0.06); border: 1px solid var(--line); font-size: 15px; font-weight: 500; transition: border-color 0.2s, background-color 0.2s; }
.switch-picks button img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.switch-picks button:hover { border-color: rgba(248, 197, 69, 0.35); }
.switch-picks button[aria-selected="true"] { background: rgba(248, 197, 69, 0.14); border-color: var(--gold); color: var(--gold); }
.looks-tile .switch-stage { cursor: pointer; }
.looks-tile .switch-item img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 42%; }
.looks-tile .switch-item figcaption { position: absolute; left: 12px; bottom: 12px; margin: 0; padding: 4px 12px; border-radius: 999px;
  background: rgba(8, 12, 32, 0.72); font: 18px var(--serif); }
.looks-tile .switch-item { position: relative; }
.looks-tile .switch-picks.dots { gap: 0; margin: 8px 0 4px; }
.looks-tile .switch-picks.dots button { width: 20px; height: 26px; padding: 0; border: 0; background: none; border-radius: 0; }
.looks-tile .switch-picks.dots button::after { content: ""; width: 7px; height: 7px; border-radius: 4px; background: rgba(236, 230, 214, 0.3); transition: width 0.25s, background-color 0.25s; }
.looks-tile .switch-picks.dots button[aria-selected="true"]::after { width: 18px; background: var(--gold); }
.look-show { display: grid; gap: 24px; align-items: center; }
.look-show > div:last-child { order: -1; }
.look-show .switch-stage { max-width: 380px; width: 100%; margin: 0 auto; }
.look-show .switch-item figcaption h3 { font-size: 28px; margin: 4px 0 4px; }
.look-show .switch-item figcaption p { color: var(--soft); margin: 0 0 4px; }

/* features: the chart, the plates, the ships */
.page-head { max-width: var(--wrap); margin: 0 auto; padding: 34px var(--gut) 10px; }
.page-head .lede { color: var(--soft); }
.chart { display: grid; grid-template-columns: 1fr; gap: 6px 28px; padding: 0; margin: 0 0 30px; list-style: none; }
.chart li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.chart .caps { min-width: 86px; }
.chart .name { font: 20px var(--serif); }
.fog { display: inline-block; height: 14px; border-radius: 7px; width: 7em;
  background: linear-gradient(90deg, rgba(236, 230, 214, 0.08), rgba(236, 230, 214, 0.2), rgba(236, 230, 214, 0.08)); background-size: 200% 100%; }
.fog.w1 { width: 5em; } .fog.w2 { width: 7em; } .fog.w3 { width: 9em; } .fog.w4 { width: 11em; }
.plates { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 0 0 18px; }
.plate { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; padding: 14px; text-align: left; }
.plate img { width: 96px; height: 96px; border-radius: 12px; display: block; }
.plate h4 { font: 400 20px/1.2 var(--serif); margin: 2px 0 6px; }
.plate p { font-size: 15px; margin: 0 0 8px; color: var(--soft); }
.plate .tip { color: var(--accent); margin: 0; }
.uncharted { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); margin: 0 0 8px; }
.locked { position: relative; cursor: pointer; text-align: center; border: 1px solid var(--line); border-radius: 18px;
  background: var(--tile); padding: 12px 10px 12px; transition: border-color 0.2s, background-color 0.2s; }
.locked:hover { border-color: rgba(248, 197, 69, 0.3); }
.locked img { display: block; width: 68px; height: 68px; margin: 0 auto 8px; border-radius: 12px; }
.locked .say, .locked .hint { display: block; font-size: 13.5px; line-height: 1.35; transition: opacity 0.2s; }
.locked .say { color: var(--soft); }
.locked b { display: block; font: 500 12px/1.5 var(--sans); text-transform: uppercase; letter-spacing: 0.16em; color: var(--faint); }
.locked .hint { position: absolute; left: 6px; right: 6px; bottom: 12px; color: var(--accent); opacity: 0; }
.locked .hint b { color: var(--gold); }
.locked.told { border-color: rgba(248, 197, 69, 0.45); background: var(--tile-hi); }
.locked.told .say { opacity: 0; }
.locked.told .hint { opacity: 1; }
.locked.nudge { animation: nudge 0.4s; }
@keyframes nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-3px) rotate(-1deg); } 75% { transform: translateX(3px) rotate(1deg); } }
.ways { display: grid; gap: 16px; grid-template-columns: 1fr; }
.ways .tile h3 { font-size: 22px; }
.ships { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin: 0 0 18px; }
.ship { text-align: center; padding: 18px 14px 16px; margin: 0; }
.ship img { width: 104px; height: 104px; display: block; margin: 0 auto 4px; transition: transform 0.35s; }
.ship:hover img { transform: translateY(-5px) rotate(-4deg); }
.ship h3 { font-size: 21px; margin: 0 0 4px; }
.ship p { font-size: 14.5px; margin: 0 0 6px; line-height: 1.45; }
.ship .how { color: var(--accent); margin: 0; }
.hidden-ships { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); }
.hidden-ships .locked { padding: 8px 6px 34px; border-radius: 16px; }
.hidden-ships .locked img { width: 72px; height: 72px; margin-bottom: 0; }
.hidden-ships .locked .say { position: absolute; left: 4px; right: 4px; bottom: 9px; font: 20px/1 var(--serif); color: rgba(236, 230, 214, 0.55); }
.hidden-ships .locked .hint { bottom: 8px; font-size: 13px; }
.long { display: grid; gap: 16px; grid-template-columns: 1fr; }
.long .tile h3 { font-size: 22px; }
.long .big { font: 400 44px/1 var(--serif); color: var(--accent); margin: 2px 0 10px; font-variant-numeric: tabular-nums; }
.tokens { display: flex; gap: 6px; margin: 2px 0 12px; }
.tokens img { width: 46px; height: 46px; }
.stars-row { display: flex; gap: 4px; margin: 4px 0 12px; }
.stars-row img { width: 22px; height: 22px; }
.stars-row img.dim { opacity: 0.3; }

/* press */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 26px; margin: 0; }
.facts dt { color: var(--soft); font: 500 13px/2 var(--sans); text-transform: uppercase; letter-spacing: 0.14em; }
.facts dd { margin: 0; }
.press-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin: 0 0 18px; }
.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; margin: 0 0 22px; }
.downloads.one { grid-template-columns: minmax(0, 560px); }
.dl { margin: 0; }
.dl .thumb { display: flex; align-items: center; justify-content: center; min-height: 150px; border-radius: 16px;
  background: var(--lift); padding: 14px; margin-bottom: 8px; border: 1px solid var(--line); transition: border-color 0.2s; }
.dl .thumb:hover { border-color: rgba(248, 197, 69, 0.35); }
.dl .thumb.navy { background: #151538; }
.dl .thumb img { display: block; max-height: 220px; width: auto; }
.dl figcaption { font-size: 15px; }
.spec { display: block; color: var(--soft); font-size: 13px; letter-spacing: 0.03em; }
.dl .thumb.icon img { max-height: 168px; }
.shotgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 14px; }
.shotgrid figure { margin: 0; }
.shotgrid img { display: block; width: 100%; border-radius: 16px; box-shadow: 0 12px 30px rgba(4, 7, 26, 0.5); }
.shotgrid figcaption { font-size: 14px; margin-top: 8px; }

/* a shared run's page, /r/<id> (rendered by the API, server/pages.go, in r/shell.html) */
.run-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 16px 0 18px; }
.run-stats div { background: var(--lift); border-radius: 12px; padding: 10px 12px; text-align: center; }
.run-stats dt { font: 500 12px/1.4 var(--sans); text-transform: uppercase; letter-spacing: 0.16em; color: var(--soft); }
.run-stats dd { margin: 0; font: 400 30px/1.2 var(--serif); color: var(--ink); }
.run-rank { color: var(--gold); font-size: 19px; font-weight: 600; }
.run-note { color: var(--soft); }
.run-map { margin: 0 0 18px; }
.run-map svg { display: block; width: 100%; height: auto; background: rgba(9, 12, 36, 0.45); border-radius: 14px; }
.run-map figcaption { color: var(--soft); font-size: 14px; margin-top: 6px; }
.run-who { display: flex; align-items: center; gap: 12px; }
.run-who img { width: 64px; height: 64px; }
.run-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 14px; }
.run-fine { color: var(--faint); font-size: 14px; margin: 18px 0 6px; }
.run-code { white-space: pre-wrap; word-break: break-all; background: rgba(9, 12, 36, 0.55); color: var(--accent);
  padding: 10px 12px; border-radius: 10px; font: 14px/1.5 ui-monospace, Menlo, Consolas, monospace; margin: 0; user-select: all; }
/* the boards, /boards and /boards/<path> (rendered by the API, server/boardpages.go, in r/shell.html) */
.board-what { color: var(--soft); max-width: 40em; }
.board-nav { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0 14px; font-size: 15px; }
.board-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-variant-numeric: tabular-nums; }
.board-table th { font: 500 12px/1.4 var(--sans); text-transform: uppercase; letter-spacing: 0.16em; color: var(--soft);
  text-align: left; padding: 0 10px 2px; }
.board-table td { background: var(--lift); padding: 9px 10px; vertical-align: middle; }
.board-table td:first-child { border-radius: 12px 0 0 12px; }
.board-table td:last-child { border-radius: 0 12px 12px 0; }
.board-table .place { color: var(--soft); width: 2.5em; }
.board-table .who { width: 100%; max-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-table .who img { width: 32px; height: 32px; vertical-align: middle; margin-right: 8px; }
.board-table .value { font: 400 21px/1.2 var(--serif); color: var(--accent); white-space: nowrap; }
.board-table .value a { color: inherit; text-decoration: none; }
.board-table .value a:hover { color: var(--gold); }
.board-empty, .board-note { color: var(--soft); }
@media (max-width: 480px) { .board-table .second { display: none; } .board-table .value { border-radius: 0 12px 12px 0; } }
.board-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.board-list li { display: flex; justify-content: space-between; gap: 12px; background: var(--lift); border-radius: 12px; padding: 10px 14px; }
.board-list span { color: var(--soft); font-size: 15px; }
.board-trials { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 8px; }
.board-trials a { display: block; text-align: center; background: var(--lift); border-radius: 10px; padding: 8px 0; text-decoration: none; }
/* privacy and 404 */
.policy p, .policy li { color: var(--ink); }
.policy ul { padding-left: 22px; }
.policy .updated { color: var(--soft); }
.policy h1 { font-size: 40px; }
.lost { text-align: center; padding: 50px 0 30px; }
.lost .code { font: 400 96px/1 var(--serif); color: var(--coral); margin: 0 0 4px; }
.lost p { color: var(--soft); max-width: 30em; margin: 0 auto 26px; }

footer { width: 100%; border-top: 1px solid var(--line); margin-top: 30px; background: rgba(8, 12, 32, 0.3); }
footer .wrap { padding-top: 28px; padding-bottom: 40px; display: grid; gap: 14px; justify-items: center; text-align: center; color: var(--soft); font-size: 15px; }
footer p { margin: 0; }
footer a { color: var(--accent); }
footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
footer .fine { color: var(--faint); font-size: 14px; }
footer .brand { font-size: 20px; }
footer .brand img { width: 30px; height: 30px; border-radius: 8px; }

/* rising into view (site.js marks the page "js" first, so without it everything just shows) */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 70ms); }
.js .rise.in { opacity: 1; transform: none; }

@media (min-width: 600px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plates { grid-template-columns: repeat(2, 1fr); }
  .ways { grid-template-columns: repeat(2, 1fr); }
  .ships { grid-template-columns: repeat(4, 1fr); }
  .long { grid-template-columns: repeat(2, 1fr); }
  .chart { grid-template-columns: repeat(2, 1fr); }
  .press-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .span-2 { grid-column: span 2; }
  .js .track { padding-left: calc(50% - 140px); padding-right: calc(50% - 140px); }
  .track > figure { flex-basis: 280px; }
  .free-cta { grid-template-columns: 1.4fr 1fr; }
}
@media (min-width: 940px) {
  .hero { grid-template-columns: 1.08fr 0.92fr; gap: 56px; padding-top: 30px; padding-bottom: 50px; min-height: min(880px, calc(100svh - 64px)); }
  .hero-copy { text-align: left; }
  .hero-copy .eyebrow { background-position: left bottom; }
  .hero-copy .appicon { margin-left: 0; }
  html:not(.js) .hero { grid-template-columns: 1fr; }
  .tag { margin-left: 0; }
  .stats { justify-content: flex-start; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { grid-template-columns: 1fr; }
  .step img { width: 100%; height: auto; aspect-ratio: 1; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .crew img { width: 50px; height: 50px; }
  .ways { grid-template-columns: repeat(3, 1fr); }
  .ways .wide { grid-column: span 2; }
  .ships { grid-template-columns: repeat(4, 1fr); }
  .long { grid-template-columns: repeat(3, 1fr); }
  .look-show { grid-template-columns: minmax(0, 420px) 1fr; gap: 40px; }
  .look-show > div:last-child { order: 0; }
  .look-show .switch-stage { max-width: none; }
  .plates { grid-template-columns: repeat(3, 1fr); }
  .uncharted { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
  footer .wrap { grid-template-columns: 1fr auto; justify-items: start; text-align: left; }
  footer .links { justify-content: flex-end; }
  footer .fine { grid-column: 1 / -1; }
}
@media (hover: hover) and (pointer: fine) {
  .toy-hint .key { display: block; }
}
@media (max-width: 560px) {
  :root { --gut: 16px; }
  body { font-size: 16.5px; background-size: 130px 130px, 300px auto, 100% 100%; }
  .top .bar { padding-top: 12px; padding-bottom: 12px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 32px; height: 32px; border-radius: 8px; }
  .top nav a { padding: 8px 8px 12px; font-size: 15px; }
  .section { padding-top: 44px; padding-bottom: 44px; }
  .hero-copy .appicon { display: none; }
  .hero { padding-top: 10px; gap: 26px; }
  .stats { margin-top: 24px; }
  .device { aspect-ratio: 9 / 13; width: min(100%, calc(76svh * 9 / 13)); }
  .stats { gap: 22px; }
  .stats b { font-size: 32px; }
  .panel { padding: 26px 22px 28px; border-image-width: 60px 34px 151px 34px; }
  .ground { padding: 6px 36px 9px 16px; margin-left: -6px; }
  .tile { padding: 20px 18px; }
  .plate { grid-template-columns: 80px 1fr; }
  .plate img { width: 80px; height: 80px; }
  .ship img { width: 88px; height: 88px; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: 10px; }
  .shotgrid { grid-template-columns: repeat(2, 1fr); }
  .downloads { grid-template-columns: 1fr; }
}
@media (max-width: 370px) {
  .top .brand span { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn { transition: filter 0.15s; }
  .screen.is-fresh .toy-hint { animation: breathe 2.6s ease-in-out infinite; }
  .fog { animation: shimmer 3.2s linear infinite; }
}
@media (prefers-reduced-motion: no-preference) {
  .intro { animation: intro 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .intro + .intro { animation-delay: 0.12s; }
}
@keyframes intro { from { opacity: 0; transform: translateY(14px); } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.62; } }
@keyframes shimmer { to { background-position: -200% 0; } }
