/* Snooker Maestros: the app's broadcast palette (navy and baize green) and its font.
   No web-font services: headlines in Avenir Next Bold (Apple devices, as in the game),
   Nunito Sans Bold served from this site elsewhere; body text in the system font. */
@font-face { font-family: "Nunito Sans"; src: url("fonts/NunitoSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
:root {
  --surface: #0b111f;
  --raised: #1b2537;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-dim: #b8c1d1;
  --text-faint: #808b9d;
  --accent: #219e66;
  --accent-soft: rgba(33, 158, 102, 0.14);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Header: the logo as in the app (SNOOKER small, MAESTROS large) and the pages. */
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.logo { text-decoration: none; color: var(--text); line-height: 1; }
.logo .kicker { display: block; font-size: 12px; letter-spacing: 4px; color: var(--accent); font-weight: 700; }
.logo .word { display: block; font-family: "Avenir Next", "Nunito Sans", sans-serif; font-weight: 700; font-size: 34px; letter-spacing: 1px; }
nav a { color: var(--text-dim); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a.on { color: var(--text); }

main { padding: 40px 0 60px; }
h1, h2 { font-family: "Avenir Next", "Nunito Sans", sans-serif; font-weight: 700; letter-spacing: 0.5px; line-height: 1.1; }
h1 { font-size: 46px; margin: 0 0 12px; }
h2 { font-size: 28px; margin: 40px 0 10px; }
p, li { color: var(--text-dim); }
.lead { font-size: 20px; color: var(--text); }
.rule { width: 64px; height: 4px; background: var(--accent); border-radius: 2px; margin: 18px 0 26px; }
.store { display: inline-block; margin-top: 10px; padding: 12px 22px; border-radius: 12px; background: var(--raised); color: var(--text-dim); font-weight: 600; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; padding: 0; list-style: none; }
.features li { background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.features strong { display: block; color: var(--text); margin-bottom: 4px; }

.note { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 8px; }
.updated { color: var(--text-faint); font-size: 14px; }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--text-faint); font-size: 14px; }
footer a { color: var(--text-faint); margin-right: 16px; }

@media (max-width: 520px) {
  h1 { font-size: 36px; }
  nav a { margin-left: 12px; }
}
