/* Little Reader website. Colors come from the app: the orange icon tile (#ffb347), the
   ink outline of the art (#2b2b2b) and the blue lines of the open book (#7fb7f0). */
:root {
  --bg: #fff8ec;
  --card: #ffffff;
  --ink: #2b2b2b;
  --muted: #5f5a52;
  --accent: #ffb347;
  --accent-ink: #8a4b00;
  --line: #f1e3cc;
  --blue: #7fb7f0;
  --bezel: #1d1d1f;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f1b16;
    --card: #2a251f;
    --ink: #f6efe4;
    --muted: #c9bfb0;
    --accent: #ffb347;
    --accent-ink: #ffc677;
    --line: #3b342b;
    --blue: #7fb7f0;
    --bezel: #55524d;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main, footer { max-width: 720px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.hero { text-align: center; padding: 56px 0 24px; }
.hero img { width: 120px; height: 120px; }
.wordmark, h1 {
  font-family: Futura, "Trebuchet MS", -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero h1 { font-size: 48px; line-height: 1.1; margin: 16px 0 8px; }
.tagline { font-size: 22px; color: var(--muted); margin: 0 0 24px; }
.pitch { font-size: 19px; max-width: 34em; margin: 0 auto; }
.support { margin: 20px 0 0; color: var(--muted); }
.plans { margin: 16px 0 0; font-size: 19px; }

/* Screenshots: the iPad and the iPhone side by side, bottoms aligned, nothing covered. */
.shots { display: flex; align-items: flex-end; justify-content: center; gap: 3%; max-width: 640px; margin: 36px auto 40px; }
.shots img { display: block; height: auto; border: 0 solid var(--bezel); background: var(--bezel); }
.shots .ipad { width: 74%; border-width: 9px; border-radius: 24px; }
.shots .iphone { width: 22%; border-width: 5px; border-radius: 20px; }

/* Plans and pricing */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 16px 0 8px; }
.plan { background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 18px 18px 14px; }
.plan.best { border-color: var(--accent); }
.plan h3 { margin: 0 0 4px; font-size: 18px; }
.plan .price { font-size: 28px; font-weight: 700; margin: 0; font-family: Futura, "Trebuchet MS", -apple-system, sans-serif; }
.plan .note { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
.tag { display: inline-block; background: var(--accent); color: #2b2b2b; font-size: 13px; font-weight: 700;
       border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }
.fine { color: var(--muted); font-size: 15px; }
ul.perks { padding-left: 1.2em; margin: 8px 0 0; }
.soon {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #2b2b2b;
  font-weight: 600;
}


section { margin: 40px 0; }
h2 { font-size: 26px; margin: 0 0 8px; font-family: Futura, "Trebuchet MS", -apple-system, sans-serif; }

.page { padding-top: 40px; padding-bottom: 8px; }
.page header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.page header img { width: 48px; height: 48px; }
.page header a { color: var(--ink); text-decoration: none; font-size: 22px; }
.page h1 { font-size: 36px; line-height: 1.2; margin: 0 0 4px; }
.updated { color: var(--muted); margin: 0 0 24px; }

footer { margin-top: 48px; padding-bottom: 40px; color: var(--muted); font-size: 15px; }
footer p { margin: 0; padding-top: 20px; border-top: 2px solid var(--line); }
footer a { color: var(--muted); }

@media (max-width: 480px) {
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 38px; }
  .tagline { font-size: 19px; }
}
