/* Beat Coach website. Colours follow the app icon: navy background, orange pick. */
:root {
  --navy: #14172e;
  --navy-2: #2a2f5e;
  --panel: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f5fb;
  --muted: rgba(244, 245, 251, 0.72);
  --orange: #ff8a3d;
  --gold: #ffb25c;
  --max: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--navy) linear-gradient(180deg, var(--navy-2) 0, var(--navy) 720px) no-repeat;
}

a { color: var(--gold); }
a:hover { color: #fff; }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header and footer */
header.site { padding: 18px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 19px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav.site { display: flex; gap: 20px; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current] { color: var(--text); }

footer.site { border-top: 1px solid var(--line); margin-top: 80px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer.site nav { display: flex; gap: 18px; }
footer.site a { color: var(--muted); }

/* Home page */
.hero { text-align: center; padding: 48px 0 24px; }
.hero .icon { width: 128px; height: 128px; border-radius: 28px; margin: 0 auto 24px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }
.hero h1 { font-size: clamp(36px, 7vw, 64px); line-height: 1.05; margin: 0 0 12px; font-weight: 900; letter-spacing: -0.02em; }
.hero .tagline { font-size: clamp(20px, 3.2vw, 28px); color: var(--gold); font-weight: 700; margin: 0 0 12px; }
.hero .lede { max-width: 640px; margin: 0 auto 28px; color: var(--muted); font-size: 19px; }

.button {
  display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none;
  color: #1b1200; background: linear-gradient(180deg, var(--gold), var(--orange));
  box-shadow: 0 8px 24px rgba(255, 138, 61, 0.3);
}
.button:hover { color: #1b1200; filter: brightness(1.06); }
.platforms { color: var(--muted); font-size: 15px; margin-top: 14px; }

.mac-shot { margin: 48px auto 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }

section.block { padding: 64px 0 0; }
section.block > h2, .page h1 { font-size: clamp(28px, 4.5vw, 40px); line-height: 1.15; margin: 0 0 12px; font-weight: 800; letter-spacing: -0.01em; }
section.block > p.intro { color: var(--muted); max-width: 680px; margin: 0 0 32px; font-size: 19px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.phones figure { margin: 0; }
.phones img { border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.phones figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 10px; }
@media (max-width: 760px) {
  .phones { grid-template-columns: repeat(2, 1fr); }
}

.pro { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .pro { grid-template-columns: 1fr; } }
.tier { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.tier.gold { border-color: rgba(255, 178, 92, 0.55); background: rgba(255, 178, 92, 0.07); }
.tier h3 { margin: 0 0 4px; font-size: 22px; }
.tier .price { color: var(--gold); font-weight: 700; margin: 0 0 12px; }
.tier ul { margin: 0; padding-left: 20px; color: var(--muted); }
.tier li { margin: 4px 0; }

/* Text pages: support, privacy */
.page { max-width: 760px; padding-top: 32px; }
.page .updated { color: var(--muted); margin-top: 0; }
.page h2 { font-size: 24px; margin: 40px 0 8px; }
.page h3 { font-size: 18px; margin: 28px 0 6px; }
.page p, .page li { color: var(--muted); }
.page strong { color: var(--text); }
.contact { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin: 24px 0; }
.contact p { margin: 0; }
.contact p + p { margin-top: 8px; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 700; color: var(--text); }
details p, details ul, details ol { margin: 10px 0 0; }
