@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; }

:root {
  --ink: #ece6d6; --soft: #b9b4c9; --faint: #7f7d99; --accent: #e9cf98; --seaglass: #8fc1b5;
  --gold: #f8c545; --coral: #e8614d; --dark: #1a1730; --lift: rgba(24, 43, 77, 0.72);
  --serif: "Marcellus", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { background: #151538; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); font: 400 17px/1.62 var(--sans);
  background-color: #182c4c;
  background-image: url("/a/bg/stars.75eae69f0e.webp"), url("/a/bg/tooth.23df98d294.webp"), url("/a/bg/ground.b80ed6745b.webp"),
    linear-gradient(180deg, #151538 0, #182c4c 46%, #0f3b45 100%);
  background-size: 512px 512px, 150px 150px, 380px auto, 100% 100%;
  background-blend-mode: normal, normal, multiply, normal;
}
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: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: 0.01em; line-height: 1.18; }
h1 { font-size: 46px; margin: 0 0 10px; }
h2 { font-size: 32px; 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); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 2; background: var(--dark); padding: 8px 12px; }

/* the bar along the top */
.top { width: 100%; max-width: 1040px; margin: 0 auto; padding: 18px 20px 0; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font: 24px/1 var(--serif); letter-spacing: 0.02em; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.top nav { display: flex; gap: 4px; }
.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%; max-width: 1040px; margin: 0 auto; padding: 28px 20px 24px; }
.narrow { max-width: 760px; }

/* 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: 13px 48px 15px 26px; color: var(--dark); text-decoration: none;
  font: 600 18px/1.2 var(--sans); background: url("/a/ui/pull-gold.273ad44ea1.webp") 0 0 / 100% 100% no-repeat; }
.btn:hover { color: var(--dark); filter: brightness(1.07); }
.btn.sea { color: var(--ink); background-image: url("/a/ui/pull-teal.ce8c5b421a.webp"); }
hr { border: 0; height: 9px; max-width: 420px; margin: 42px 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; }
.lede { font-size: 20px; color: var(--ink); max-width: 46em; }
.note { color: var(--soft); font-size: 15px; }

/* home */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 0 46px; }
.appicon { width: 168px; height: 168px; border-radius: 38px; box-shadow: 0 16px 44px rgba(5, 8, 28, 0.55); margin-bottom: 22px; }
.hero h1 { font-size: 64px; margin: 0 0 6px; }
.tag { font-size: 22px; color: var(--accent); max-width: 30em; margin: 0 0 28px; }
.soon { margin: 0 0 12px; }
.platforms { color: var(--soft); font-size: 15px; margin: 0; }
.how { max-width: 820px; margin-left: auto; margin-right: auto; }
.shots h2, .more h2 { text-align: center; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 4px 2px 12px; margin: 0 0 8px; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img, .shotgrid img { display: block; width: 100%; border-radius: 16px; box-shadow: 0 12px 30px rgba(4, 7, 26, 0.5); }
.strip figcaption { font-size: 15px; color: var(--accent); margin-top: 10px; text-align: center; }
.shots .note { text-align: center; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 0 0 40px; }
.card { display: block; text-decoration: none; color: var(--ink); background: var(--lift); border-radius: 18px;
  padding: 18px 18px 16px; text-align: center; }
.card:hover { color: var(--ink); background: rgba(40, 119, 117, 0.42); }
.card img { width: 132px; height: 132px; object-fit: cover; border-radius: 14px; margin: 2px auto 10px; display: block; }
.card h3 { font-size: 22px; margin: 0 0 4px; }
.card p { color: var(--soft); font-size: 15px; margin: 0; }
.free { max-width: 820px; margin-left: auto; margin-right: auto; }

/* features */
.toc { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 34px; font-weight: 500; }
.toc a { text-decoration: none; }
.chart { columns: 2 230px; column-gap: 28px; padding: 0; margin: 0 0 22px; list-style: none; }
.chart li { break-inside: avoid; padding: 3px 0; }
.chart .caps { display: inline-block; min-width: 76px; }
.sector { margin: 30px 0 12px; }
.sector .caps { margin-right: 6px; vertical-align: 3px; }
.plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.plate { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: start; background: var(--lift);
  border-radius: 16px; padding: 14px; scroll-margin-top: 16px; }
.plate img { width: 112px; height: 112px; border-radius: 12px; }
.plate h4 { font: 400 20px/1.2 var(--serif); margin: 2px 0 6px; }
.plate p { font-size: 15px; margin: 0 0 8px; }
.plate .tip { color: var(--accent); margin: 0; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px 28px; }
.ways h3 { margin-top: 6px; }
.ships { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 14px; margin: 10px 0 0; }
.ship { text-align: center; margin: 0; }
.ship img { width: 96px; height: 96px; display: block; margin: 0 auto 4px; }
.ship h3 { font-size: 20px; margin: 0 0 2px; }
.ship p { font-size: 14px; color: var(--soft); margin: 0 0 6px; line-height: 1.45; }
.ship .how { color: var(--accent); }
.looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 20px; max-width: 860px; }
.look { margin: 0; }
.look img { display: block; width: 100%; border-radius: 14px; box-shadow: 0 10px 26px rgba(4, 7, 26, 0.45); margin-bottom: 10px; }
.look h3 { font-size: 22px; margin: 0 0 2px; }
.look p { font-size: 15px; color: var(--soft); margin: 0 0 4px; }
.look .how { color: var(--accent); }
.mods { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 24px; }
.mods li { background: var(--lift); border-radius: 14px; padding: 12px 16px; }
.mods strong { font-family: var(--serif); font-weight: 400; font-size: 19px; display: block; }
.give { color: var(--seaglass); display: block; font-size: 15px; }
.take { color: var(--coral); display: block; font-size: 15px; }
.names { color: var(--soft); }

/* 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; }
.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: 14px;
  background: var(--lift); padding: 14px; margin-bottom: 8px; }
.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 figcaption { font-size: 14px; margin-top: 8px; }

/* 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%; max-width: 1040px; margin: 0 auto; padding: 8px 20px 40px; text-align: center; color: var(--soft); font-size: 15px; }
footer p { margin: 0 0 6px; }
footer a { color: var(--accent); }
footer .fine { color: var(--faint); font-size: 14px; }

@media (min-width: 760px) {
  .strip { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .cards { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .ships { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; background-size: 512px 512px, 130px 130px, 300px auto, 100% 100%; }
  .top { padding: 14px 16px 0; }
  .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; }
  main { padding: 20px 16px 16px; }
  h1 { font-size: 36px; }
  h2 { font-size: 27px; }
  .hero h1 { font-size: 46px; }
  .tag { font-size: 19px; }
  .appicon { width: 136px; height: 136px; border-radius: 31px; }
  .panel { padding: 26px 22px 28px; border-image-width: 60px 34px 151px 34px; }
  .ground { padding: 6px 36px 9px 16px; margin-left: -6px; }
  .plate { grid-template-columns: 88px 1fr; }
  .plate img { width: 88px; height: 88px; }
  .ships { grid-template-columns: repeat(2, 1fr); }
  .looks { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .cards { gap: 12px; }
  .card { padding: 14px 10px 14px; }
  .card img { width: 96px; height: 96px; }
  .card h3 { font-size: 19px; }
  .card p { font-size: 14px; }
  .look h3 { font-size: 19px; }
  .look p { font-size: 14px; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: 10px; }
  .shotgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 370px) {
  .brand span { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .card { transition: filter 0.15s, background-color 0.15s; }
}
