/*
 * One stylesheet for the whole site.
 *
 * Black and gold, the same as the app's icon: #0D0D0D and #E8B923. The app's screens are
 * a dark blue-grey (#0B1220) because that is what NativeWind's palette gave them, and the
 * two are deliberately not reconciled here - a website is seen next to the icon, not next
 * to the screens, and the icon is what people recognise.
 *
 * No framework and no build step. The whole site is a handful of files a static host can
 * serve, which is also why it costs nothing to host.
 */

:root {
  --black: #0d0d0d;
  --raised: #171717;
  --line: #2a2a2a;
  --gold: #e8b923;
  --gold-dim: #a8861a;
  --text: #f5f5f4;
  --muted: #a3a3a0;
  --faint: #6f6f6c;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

/* The mark: BG in a serif, with the star the icon has. */
.mark {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
}
.mark sup { font-size: 0.5em; line-height: 1; }

header {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
header .inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 1.25rem;
}
header nav a:hover, header nav a:focus { color: var(--gold); }

.inner { width: 100%; max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }

main { padding: 3rem 0 4rem; }

h1 { font-size: clamp(1.9rem, 6vw, 2.75rem); line-height: 1.15; margin: 0 0 0.75rem; text-wrap: balance; }
h2 { font-size: 1.15rem; margin: 2.25rem 0 0.5rem; color: var(--text); }
h3 { font-size: 1rem; margin: 1.5rem 0 0.35rem; color: var(--text); }
p { margin: 0 0 1rem; color: var(--muted); }
a { color: var(--gold); }

.lead { font-size: 1.1rem; color: var(--text); }

.card {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
  margin: 0 0 1.25rem;
}

.pill {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  margin-bottom: 0.75rem;
}

.rows { display: grid; gap: 0.6rem; }
.row { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.75rem; align-items: baseline; }
.row dt { color: var(--faint); font-size: 0.85rem; }
.row dd { margin: 0; color: var(--text); }
@media (max-width: 30rem) { .row { grid-template-columns: 1fr; gap: 0.1rem; } }

.button {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  margin: 0.25rem 0.5rem 0.25rem 0;
}
.button.quiet { background: transparent; color: var(--gold); border: 1px solid var(--gold-dim); }

.badge { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--line); }

.notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
}
.notice.warn { border-left-color: #e0703a; }

footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--faint);
  font-size: 0.85rem;
}
footer a { color: var(--muted); }

.muted { color: var(--faint); font-size: 0.85rem; }
