/* starshipconsoles.com — the download page, in the style of the screens it offers.
   Headings, buttons and captions in Swiss 911, the screens' own font (Brandon's choice, 2026-10-12;
   the file is copied in by tools/lcars-site.sh and never committed). Running text in Apple's
   system font: ultra-compressed type is hard to read at length. */
@font-face { font-family: "Swiss911"; src: url("fonts/Swiss911UCm.otf") format("opentype"); font-display: swap; }
:root {
  --orange: #ff9c1a; --peach: #ffb070; --butter: #ffcc66; --sky: #5c9dff; --ice: #8fd3ff;
  --blue: #3a6fff; --slate: #4e5d6c; --panel: #081022; --text: #e8eefc; --muted: #9fb3d9;
  --gap: 12px;
}
* { box-sizing: border-box; }
html { background: #000; }
body {
  margin: 0; background: #000; color: var(--text);
  font: 400 17px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ice); }
code { font-family: ui-monospace, Menlo, monospace; font-size: 0.82em; color: var(--butter); }
/* file paths: one to a line, broken only where a phone is too narrow for one, and then after a slash */
ul.paths { list-style: none; padding: 0; }
ul.paths li { margin: 0 0 6px; }
ul.paths code { white-space: nowrap; }

/* the frame: an elbow and a row of bars, as on every screen */
/* the title bar, as every screen has it: a cap, the title, bars to an end cap */
header.frame { max-width: 1280px; margin: 0 auto; padding: 28px 24px 0; }
.bar { display: flex; align-items: center; gap: var(--gap); height: 64px; }
.bar .cap { width: 40px; height: 100%; background: var(--sky); border-radius: 32px 0 0 32px; flex: none; }
.bar .fill { height: 100%; flex: 1; }
.bar .fill.a { background: var(--ice); flex: 0.6; }
.bar .fill.b { background: var(--sky); }
.bar .end { width: 40px; height: 100%; background: var(--sky); border-radius: 0 32px 32px 0; flex: none; }
h1, h2, .button, figcaption { font-family: "Swiss911", "Arial Narrow", sans-serif; font-weight: 400; letter-spacing: 0.02em; }
h1 { margin: 0; font-size: 76px; line-height: 1; text-transform: uppercase; color: var(--butter); white-space: nowrap; padding-top: 6px; }
h1 span { color: var(--ice); }

main { max-width: 1280px; margin: 0 auto; padding: 8px 24px 24px; }
section { margin: 56px 0; }
h2 { display: flex; align-items: center; gap: var(--gap); margin: 0 0 20px; font-size: 30px; text-transform: uppercase; }
h2 span { background: var(--orange); color: #000; padding: 10px 18px 8px 28px; border-radius: 24px 0 0 24px; line-height: 1; }
h2::after { content: ""; flex: 1; height: 44px; background: var(--peach); }

.intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; margin-top: 32px; }
.lede { font-size: 23px; line-height: 1.45; margin: 0; color: var(--text); }
.download { background: var(--panel); border-left: 12px solid var(--orange); padding: 28px 28px 22px; border-radius: 0 24px 24px 0; }
.button {
  display: inline-block; background: var(--orange); color: #000; text-decoration: none; text-transform: uppercase;
  font-size: 36px; padding: 13px 38px 9px; border-radius: 40px; transition: background .2s;
  white-space: nowrap;
}
.button:hover, .button:focus-visible { background: var(--butter); }
.meta { margin: 16px 0 0; color: var(--muted); font-size: 15px; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
figure { margin: 0; }
figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 6px; background: #050a16; }
figure a:focus-visible img, figure a:hover img { outline: 3px solid var(--orange); outline-offset: 3px; }
figcaption { margin-top: 10px; text-transform: uppercase; font-size: 26px; color: var(--butter); }
figcaption span { margin-left: 12px; color: var(--sky); font-size: 21px; }
.note { color: var(--muted); font-size: 16px; margin: 18px 0 0; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cols > div > :last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.2em; margin: 0; }
li { margin: 0 0 10px; }
li::marker { color: var(--orange); }
p { margin: 0 0 14px; }

footer { max-width: 1280px; margin: 40px auto 0; padding: 0 24px 48px; color: var(--muted); font-size: 16px; }
footer .bar.small { height: 28px; margin-bottom: 24px; }
footer .bar.small .fill.a { background: var(--orange); }
footer strong { color: var(--text); font-weight: 400; }
footer .by { margin-top: 18px; }

@media (max-width: 900px) {
  header.frame { padding: 16px 16px 0; }
  .bar { height: 44px; }
  .bar .fill.a, .bar .fill.b { display: none; }
  h1 { font-size: 48px; }
  main, footer { padding-left: 16px; padding-right: 16px; }
  .intro, .cols, .gallery { grid-template-columns: 1fr; gap: 28px; }
  .lede { font-size: 19px; }
  ul.paths code { white-space: normal; overflow-wrap: anywhere; }
  .button { font-size: 30px; padding: 12px 28px 8px; }
}
