/* tryreadaro.com: one stylesheet for every page. Colours follow the app icon (deep green, cream pages). */
:root {
  --bg: #fbf8f2;
  --surface: #ffffff;
  --ink: #1d2a26;
  --muted: #5b6b66;
  --line: #e6e0d4;
  --brand: #0f5a46;
  --brand-ink: #ffffff;
  --accent: #2fb47c;
  --soft: #eef6f1;
  --warn: #fff6e0;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1614;
    --surface: #16201d;
    --ink: #e8efec;
    --muted: #9fb0aa;
    --line: #26332f;
    --brand: #3cc48b;
    --brand-ink: #062a1f;
    --accent: #3cc48b;
    --soft: #15302a;
    --warn: #2c2614;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--brand); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top nav { display: flex; gap: 18px; align-items: center; font-size: 0.95rem; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 560px) { .top nav .hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand); color: var(--brand-ink);
  padding: 14px 22px; border-radius: 12px; font-weight: 600; text-decoration: none;
  border: 0; cursor: pointer; font-size: 1rem;
}
.btn:hover { filter: brightness(1.08); }
.btn.small { padding: 8px 14px; font-size: 0.9rem; border-radius: 10px; }
.btn.ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.fine { color: var(--muted); font-size: 0.9rem; }

/* Hero */
.hero { padding: 64px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0 10px; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* The "page with a quiz" picture in the hero */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 18px 50px rgba(15, 60, 45, 0.12); }
.mock .page { font-family: Georgia, serif; font-size: 0.95rem; color: var(--muted); border-bottom: 1px dashed var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.mock .page b { color: var(--ink); font-weight: 600; }
.mock .q { font-weight: 600; margin-bottom: 10px; }
.mock .opt { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 6px 0; font-size: 0.95rem; }
.mock .opt.right { border-color: var(--accent); background: var(--soft); }
.mock .meta { display: flex; justify-content: space-between; margin-top: 14px; font-size: 0.85rem; color: var(--muted); }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
section.alt .card { background: var(--bg); }
.card .icon { font-size: 1.6rem; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin: 28px auto 0; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.plan.pro { border: 2px solid var(--brand); }
.plan .price { font-size: 2rem; font-weight: 700; margin: 6px 0 2px; }
.plan .price small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; }
.plan li { padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.badge { display: inline-block; background: var(--soft); color: var(--brand); font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }

/* Download steps */
.steps { counter-reset: step; display: grid; gap: 14px; max-width: 760px; margin: 24px auto 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 62px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; }
.note { background: var(--warn); border-radius: 12px; padding: 14px 16px; }
kbd { font: 0.85em ui-monospace, Consolas, monospace; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; background: var(--surface); }

/* Legal pages */
.doc { padding: 40px 0 64px; }
.doc h2 { font-size: 1.35rem; margin-top: 1.6em; }
.doc li { margin-bottom: 0.4em; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--muted); }
.top nav a.btn, .top nav a.btn:hover { color: var(--brand-ink); }
