/* smoothbible.com: the app's page, ink and red (ios/Colors), light and dark. */
:root {
  --paper: #FBF8F2;
  --ink: #1E1C19;
  --heading: #4F4943;
  --faint: #8A8378;
  --accent: #9C3A2C;
  --rule: rgba(30, 28, 25, 0.12);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1B1A18;
    --ink: #E6E1D7;
    --heading: #BDB6AA;
    --faint: #8C857A;
    --accent: #DC8873;
    --rule: rgba(255, 255, 255, 0.12);
  }
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 18px/1.6 "New York", ui-serif, Charter, "Iowan Old Style", Georgia, serif;
}
.sans, nav, footer, h2 {
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
main, nav, footer { max-width: 38rem; margin: 0 auto; padding: 0 1.5rem; }
nav {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.25rem; font-size: 15px;
}
nav a { color: var(--heading); }
nav .home { color: var(--ink); font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
nav .home img { width: 26px; height: 26px; border-radius: 22%; }
h1 { font-size: 2rem; font-weight: 600; line-height: 1.2; margin: 2.5rem 0 1rem; }
h2 {
  font-size: 15px; font-weight: 600; color: var(--heading);
  margin: 2.5rem 0 0.5rem;
}
p { margin: 0 0 1rem; }
.date { font-size: 14px; color: var(--faint); margin-top: -0.5rem; }

/* the home page */
.intro { display: flex; align-items: center; gap: 1.25rem; margin-top: 3rem; }
.intro .icon { width: 84px; height: 84px; border-radius: 22.5%; flex: none; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.intro h1 { margin: 0; }
.sub { font-size: 16px; color: var(--heading); margin: 0.25rem 0 0; }
.shots {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 2.5rem 1.5rem 2.5rem; margin: 0 auto; max-width: 72rem; justify-content: safe center;
}
.shots img {
  width: 210px; height: auto; flex: none; scroll-snap-align: center; border-radius: 26px;
  border: 1px solid var(--rule);
}
.features { margin: 0; padding-left: 1.1rem; }
.features li { margin: 0.4rem 0; }

footer {
  margin-top: 3.5rem; padding-top: 1.25rem; padding-bottom: 2.5rem;
  border-top: 1px solid var(--rule); font-size: 14px;
}
footer a { color: var(--faint); margin-right: 1.25rem; }
