/* Colours follow the app's "navigator" map scheme: navy by night, near-white by day. */
:root {
  --bg: #fafaf6;
  --surface: #ffffff;
  --text: #17191d;
  --muted: #5b6068;
  --line: #e3e5df;
  --accent: #0a7aff;
  --hero: #363e53;
  --hero-text: #ffffff;
  --hero-muted: #c3cada;
  --road: #ffd04d;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #262d3e;
    --surface: #2f374a;
    --text: #eef2f7;
    --muted: #a9b5c7;
    --line: #3d455a;
    --accent: #5aa9ff;
    --hero: #1d2333;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

.bar { background: var(--hero); color: var(--hero-text); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--hero-text); text-decoration: none; font-weight: 700; font-size: 19px; }
.brand img { border-radius: 8px; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--hero-muted); text-decoration: none; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--hero-text); }

.hero { background: var(--hero); color: var(--hero-text); padding: 40px 0 120px; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; margin: 0 0 16px; max-width: 14em; }
.lead { font-size: clamp(18px, 2.4vw, 22px); color: var(--hero-muted); max-width: 34em; margin: 0 0 20px; }
.status {
  display: inline-block; margin: 0; padding: 8px 14px; border-radius: 10px;
  background: rgba(255, 208, 77, 0.14); border-left: 4px solid var(--road); color: var(--hero-text); font-size: 15px;
}

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -90px; }
.shots figure { margin: 0; }
.shots img {
  width: 100%; height: auto; display: block; border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); border: 6px solid #0d0f14; background: #0d0f14;
}

.columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
section h2 { font-size: 21px; margin: 0 0 10px; }
section ul { margin: 0; padding-left: 20px; }
section li { margin: 0 0 8px; }
.columns section:last-child { grid-column: 1 / -1; }
.columns section:last-child p { margin: 0; }

.credits { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.credits h2 { font-size: 15px; margin: 0 0 6px; color: var(--text); }

.doc { max-width: 760px; padding-top: 36px; }
.doc h1 { font-size: clamp(28px, 5vw, 40px); margin: 0 0 8px; }
.doc section { margin-top: 28px; }
.muted { color: var(--muted); margin-top: 0; }
details { border-top: 1px solid var(--line); padding: 12px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; color: var(--muted); }

footer { margin-top: 56px; padding: 24px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 760px) {
  .hero { padding-bottom: 40px; }
  .shots { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; margin-top: 24px; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .shots figure { scroll-snap-align: start; }
  .columns { grid-template-columns: 1fr; gap: 20px; }
}
