:root {
  color-scheme: light;
  font: 100%/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222a31;
  background: #faf8f3;
  --blue: #1b4f77;
  --muted: #526070;
  --line: #dedbd3;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible { outline: 3px solid #457fcc; outline-offset: 4px; }
img { max-width: 100%; height: auto; display: block; }
figure, p { margin: 0; }
.wrap { width: min(1050px, calc(100% - 3.5rem)); margin-inline: auto; }
.skip { position: absolute; top: .75rem; left: .75rem; padding: .6rem .85rem; background: white; border-radius: .4rem; z-index: 1; }
.skip:not(:focus) { transform: translateY(-200%); }
.masthead, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.masthead { min-height: 76px; border-bottom: 1px solid var(--line); }
.masthead-brand { display: flex; align-items: center; gap: .6rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: inherit; font-weight: 750; text-decoration: none; }
.masthead-credit { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.masthead nav, .footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }
.masthead nav a { color: inherit; font-size: .9rem; text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; }
.nav-donate { border: 1px solid var(--line); border-radius: .55rem; padding: .4rem .75rem; }
.nav-donate span { color: #ba2546; }
.hero { padding-top: clamp(2.5rem, 6vw, 5.25rem); }
.hero h1 { font-size: clamp(2.65rem, 8vw, 5.45rem); max-width: 16ch; }
.hero .lede { max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.2rem; }
.guide-link { font-size: .92rem; }
.hero-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .32fr);
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.65rem);
  margin-top: clamp(1.65rem, 4vw, 3.25rem);
  padding: clamp(.65rem, 3.1vw, 2.35rem);
  border: 1px solid #c5d0d8;
  border-radius: .95rem;
  background: radial-gradient(ellipse at 7% 8%, #e9edf5, transparent 65%), linear-gradient(152deg, #a0bccc 10%, #d3dfdf 60%, #f0dac5 95%);
}
.hero-image { display: block; overflow: hidden; border-radius: .6rem; box-shadow: 0 14px 36px #182d443b, 0 0 0 1px #182d4430; }
.hero-image img { width: 100%; }
.hero-image--phone { border-radius: .85rem; }
h1, .setup h2 { font: 500 clamp(2.25rem, 4.6vw, 4rem)/1.03 Georgia, "Times New Roman", serif; letter-spacing: -.045em; margin: 0; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.22rem); margin-block: 1.25rem 1.65rem; max-width: 39ch; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; border: 0; border-radius: .55rem; padding: .68rem 1rem; background: var(--blue); color: #fff; font-family: inherit; font-size: .91rem; font-weight: 670; line-height: 1.45; text-decoration: none; text-align: center; cursor: pointer; }
.button:hover { background: #143c5a; }
.download-desktop-only { display: inline-block; border: 1px solid var(--line); border-radius: .55rem; padding: .65rem 1rem; color: var(--muted); font-size: .91rem; font-weight: 650; }
.status { color: var(--muted); margin-top: .85rem; font-size: .85rem; }
.setup { padding-block: clamp(2.2rem, 5vw, 4rem) 2rem; }
.setup h2 { font-size: clamp(1.85rem, 3.8vw, 2.65rem); margin-bottom: 1.1rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 1.8rem; margin: 0; padding: 0; list-style: none; counter-reset: setup-step; }
.steps li { padding-block: .95rem .4rem; border-top: 1px solid var(--line); counter-increment: setup-step; }
.steps li::before { display: inline-block; content: counter(setup-step); margin-bottom: .45rem; color: var(--blue); font-size: .85rem; font-weight: 730; }
.steps h3, .payment h2, .privacy h2 { font-size: 1.13rem; margin: 0 0 .24rem; }
.steps p, .payment p, .privacy p { color: var(--muted); }
.sharing-note { margin-top: 1rem; color: var(--muted); font-size: .94rem; }
.footer { border-top: 1px solid var(--line); padding-block: 1rem; color: var(--muted); font-size: .88rem; margin-top: 1rem; }
.reading { max-width: 820px; padding-block: clamp(2.5rem, 6vw, 5rem); }
.reading .lede { max-width: 58ch; }
.payment-options { display: grid; gap: .8rem; }
.payment { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .9rem 1.25rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: .8rem; padding: 1.3rem; }
.qr { width: min(250px, 100%); background: white; border-radius: .4rem; }
.support-reassurance { margin-top: -.6rem; }
.support-author {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 3vw, 1.4rem);
  padding: clamp(.8rem, 3vw, 1.3rem);
  background: #f0eee7;
  border: 1px solid var(--line);
  border-radius: .8rem;
}
.support-author img {
  flex: none;
  width: clamp(76px, 16vw, 112px);
  height: clamp(96px, 21vw, 144px);
  object-fit: cover;
  border-radius: .55rem;
}
.support-author h2, .support-share h2 { font-size: 1.22rem; margin: 0 0 .3rem; }
.support-author p, .support-share p, .support-note { color: var(--muted); }
.support-page .support-author { margin-block: 1.4rem 1.15rem; }
.support-note { margin-top: 1.1rem; font-size: .92rem; }
.support-share { margin-top: 1.6rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.support-share p + p { margin-top: .7rem; }
.privacy section { margin-top: 2rem; max-width: 67ch; }
.privacy p + p { margin-top: .8rem; }
.documentation { max-width: 75ch; }
.documentation h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin: 0 0 .55rem; }
.documentation section, .documentation article { border-top: 1px solid var(--line); padding-block: 1.2rem; }
.documentation section + section, .documentation article + article { margin-top: .4rem; }
.documentation h3 { font-size: 1rem; margin: 1.05rem 0 .3rem; }
.documentation ol, .documentation ul { padding-inline-start: 1.35rem; margin-block: .6rem; }
.documentation li + li { margin-top: .5rem; }
.documentation p + p { margin-top: .75rem; }
.documentation time { color: var(--muted); font-size: .9rem; }
.release-archive { border-top: 1px solid var(--line); }
.release-archive summary { padding-block: 1rem; color: var(--blue); font-weight: 650; cursor: pointer; }
.release-archive summary:focus-visible { outline: 3px solid #457fcc; outline-offset: 4px; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2rem); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 635px) {
  .masthead { flex-wrap: wrap; justify-content: flex-start; gap: .5rem 1rem; padding-block: .7rem; }
  .hero-preview { grid-template-columns: minmax(0, 1fr); }
  .hero-image--phone { width: min(100%, 14rem); justify-self: center; }
}
@media (max-width: 455px) {
  .masthead nav, .footer nav { gap: .65rem; }
  .brand { font-size: .94rem; gap: .25rem; }
  .brand img { width: 30px; }
  .masthead nav a { font-size: .82rem; }
  .payment { grid-template-columns: 1fr; }
  .payment .button { justify-self: start; }
}
