/* BestBooks website: dark canvas with the app's blue glow and the app's font (SF Pro through the
   system font), nothing loaded from other domains (no cookies, no analytics). */

:root {
  --bg: #06070a;
  --ink: #f4f6fb;
  --muted: rgba(244, 246, 251, 0.66);
  --faint: rgba(244, 246, 251, 0.42);
  --line: rgba(255, 255, 255, 0.1);
  --blue: #3a7cff;
  --sky: #8fbcff;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  background:
    radial-gradient(1100px 620px at 50% -12%, rgba(58, 124, 255, 0.34), transparent 62%),
    radial-gradient(760px 520px at 88% 8%, rgba(36, 71, 240, 0.22), transparent 64%),
    radial-gradient(700px 520px at 6% 30%, rgba(79, 178, 255, 0.10), transparent 64%),
    var(--bg);
  background-attachment: fixed;
}

a { color: inherit; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.032em;
}

.brand img { width: 30px; height: 30px; border-radius: 8px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
}

.pill:hover { background: rgba(255, 255, 255, 0.09); }

/* Hero */

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 48px 0 72px;
}

.app-icon {
  width: 92px;
  height: 92px;
  border-radius: 21px;
  box-shadow: 0 18px 60px rgba(58, 124, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.eyebrow {
  margin: 26px 0 0;
  color: var(--sky);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

h1 {
  margin: 14px auto 0;
  max-width: 820px;
  font-weight: 700;
  font-size: clamp(46px, 8vw, 86px);
  line-height: 1.04;
  letter-spacing: -0.028em;
}

/* The key words in the app's blue gradient, as in the App Store images. */
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #3a7cff, #4fb2ff 55%, #8fbcff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 22px auto 0;
  max-width: 600px;
  color: var(--muted);
  font-size: 19px;
}

.cta-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  color: #0b0d14;
  background: #f4f6fb;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(143, 188, 255, 0.28);
}

.cta:hover { background: #ffffff; }

.note { color: var(--faint); font-size: 14px; }

/* Footer */

.site-footer { border-top: 1px solid var(--line); }

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  padding-bottom: 26px;
  color: var(--faint);
  font-size: 13px;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.site-footer nav a { color: var(--muted); text-underline-offset: 3px; }

.site-footer nav a:hover { color: var(--ink); }

/* Legal and support pages */

.page { flex: 1; padding: 30px 0 80px; }

article { max-width: 700px; }

article h1 {
  margin: 0 0 8px;
  text-align: left;
  font-size: clamp(38px, 6vw, 56px);
  letter-spacing: -0.028em;
}

article .meta { color: var(--faint); font-size: 14px; margin: 0 0 34px; }

article h2 {
  margin: 38px 0 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

article h3 { margin: 24px 0 6px; font-size: 17px; font-weight: 600; }

article p, article li { color: var(--muted); }

article strong { color: var(--ink); font-weight: 600; }

article ul { padding-left: 20px; }

article li { margin: 6px 0; }

article address { font-style: normal; color: var(--muted); }

article a { color: var(--sky); text-underline-offset: 3px; }

.mail {
  display: inline-block;
  margin: 4px 0 6px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
  text-decoration: none;
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .pill.get { display: none; }
  .eyebrow { font-size: 12px; letter-spacing: 1.2px; }
  .hero { padding-top: 24px; }
  .lead { font-size: 17px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
