/* The app's welcome look: dark ground, cards a step up, New York titles, teal for what is on, gold for a good view. */
:root {
  --ground: #060D0E; --card: #0F1D1E; --raised: #1A2D2E;
  --text: #EDF5F3; --soft: rgba(237, 245, 243, .66); --faint: rgba(237, 245, 243, .55); --hair: rgba(237, 245, 243, .12);
  --accent: #5FD3C3; --on-accent: #032019; --gold: #F2C46B; --dim: #9BB5B0;
  --serif: "New York", ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --side: clamp(16px, 4.5vw, 64px); --max: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 76px; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 3vw, 40px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: calc(var(--max) + 2 * var(--side)); margin: 0 auto; padding: 0 var(--side); }
.thin { font-weight: 200; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
.q-spectacular, .q-good { color: var(--gold); }
.q-faint { color: var(--dim); }
.soft { color: var(--soft); }
.card { background: var(--card); border-radius: 22px; }
.link { color: var(--accent); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Top bar. */
.top { position: sticky; top: 0; z-index: 20; background: rgba(6, 13, 14, .8); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.top nav { display: flex; gap: 22px; }
.top nav a { text-decoration: none; font-size: 15px; color: var(--soft); }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }
.top .get { padding: 9px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
@media (max-width: 760px) {
  .top .wrap { flex-wrap: wrap; height: auto; padding-block: 10px; row-gap: 6px; }
  .top nav { order: 3; width: 100%; gap: 18px; overflow-x: auto; scrollbar-width: none; }
}

section { padding-top: clamp(56px, 7vw, 96px); }
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sub { margin-top: 10px; color: var(--soft); font-size: clamp(17px, 1.4vw, 20px); max-width: 40em; }

/* A launch as a row, like the app's lists. */
.rows { margin-top: 24px; overflow: hidden; }
.day { padding: 16px 22px 6px; font: 600 13px/1.3 var(--sans); color: var(--faint); }
.rows > .day:not(:first-child) { box-shadow: inset 0 .5px 0 0 var(--hair); }
.lr { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 22px; text-decoration: none; }
.lr + .lr { box-shadow: inset 0 .5px 0 0 var(--hair); }
.lr:hover { background: rgba(237, 245, 243, .03); }
.lr img, .lr .ph { width: 62px; height: 62px; border-radius: 14px; object-fit: cover; background: var(--raised); display: block; }
.lr b { display: block; font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.2; }
.lr .m span { display: block; color: var(--soft); font-size: 14.5px; margin-top: 2px; }
.lr .m .t { color: var(--text); font-variant-numeric: tabular-nums; }
.lr .m .t span { display: inline; margin: 0; color: inherit; }
.lr .s { text-align: right; min-width: 6.5em; }
.lr .s strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1; }
.lr .s span { display: block; margin-top: 4px; font-size: 13px; color: var(--soft); }
.lr .s .none { color: var(--faint); }
@media (max-width: 560px) {
  .lr { grid-template-columns: 52px minmax(0, 1fr); padding-inline: 16px; }
  .lr img, .lr .ph { width: 52px; height: 52px; border-radius: 12px; }
  .lr .s { grid-column: 2; text-align: left; display: flex; gap: 8px; align-items: baseline; }
  .lr .s strong { font-size: 18px; }
  .lr .s span { margin: 0; }
}

/* Small things that link somewhere: sites and rockets. */
.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; margin-top: 24px; }
.tile { display: grid; gap: 4px; padding: 18px 20px; border-radius: 22px; background: var(--card); text-decoration: none; }
.tile:hover { background: #132426; }
.tile b { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; }
.tile span { color: var(--soft); font-size: 14.5px; }
.tile .n { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Maps. */
.map { position: relative; border-radius: 22px; overflow: hidden; background: #071214; }
.map canvas, .globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.globe { position: relative; aspect-ratio: 1; width: 100%; }

/* Store badges. */
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; align-items: center; }
.badges a { display: block; line-height: 0; }
.badges a[aria-disabled] { cursor: default; }
.badges img { height: 44px; width: auto; }

footer { margin-top: clamp(72px, 9vw, 120px); padding-block: 32px 48px; color: var(--faint); font-size: 13px; box-shadow: inset 0 .5px 0 0 var(--hair); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 16px; font-size: 15px; color: var(--soft); }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--text); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
