/* Same palette and type as the app, which took them from the printed book:
   accent #4FA6DD is the disc the page number sits in. */
:root {
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --rule: #d8d4ce;
  --accent: #4fa6dd;
  --accent-dark: #2e7fb0;
  --paper: #fff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "EB Garamond", Garamond, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 34rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}

.cover {
  width: 100%;
  max-width: 22rem;
  height: auto;
  border: 1px solid var(--rule);
  margin-bottom: 2rem;
}

h1 {
  font-size: 2.1rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
}

.sub {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

.rule {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1.6rem auto;
  max-width: 14rem;
  color: var(--ink-soft);
}
.rule::before, .rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.blurb {
  font-style: italic;
  margin: 0 0 2rem;
}

.cta {
  display: block;
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 1.5rem;
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 600;
}
.cta:hover { background: #24678f; }

.secondary {
  color: var(--accent-dark);
  font-weight: 600;
}

.note {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0.8rem 0 0;
}

.back {
  display: inline-block;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}
.back:hover { color: var(--ink); }

.install { text-align: center; }

.steps {
  text-align: left;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.steps h2 {
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 0.8rem;
}

.steps ol { padding-left: 1.2rem; margin: 0; }
.steps li { margin-bottom: 0.9rem; }
.steps p { margin: 0 0 0.8rem; }

.version { margin-top: 2.5rem; font-size: 0.85rem; }

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2efea;
    --ink-soft: #b4b0aa;
    --rule: #3a3f44;
    --paper: #16181a;
    --accent-dark: #4fa6dd;
  }
  .cta { color: #10171c; }
  .cta:hover { background: #6fb8e4; }
}
