:root {
  --bg: #f6f5f2;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #5f5f66;
  --accent: #e8743b;
  --rule: #e4e2dd;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141416;
    --card: #1e1e21;
    --text: #f2f2f4;
    --muted: #a3a3ab;
    --accent: #f08a52;
    --rule: #2e2e33;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
main { max-width: 720px; margin: 0 auto; padding: 48px 20px 64px; }
header { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
header img { width: 64px; height: 64px; border-radius: 15px; }
header a { color: inherit; text-decoration: none; }
header .name { font-size: 22px; font-weight: 700; line-height: 1.2; }
header .by { color: var(--muted); font-size: 15px; }
h1 { font-size: 34px; line-height: 1.15; margin: 0 0 8px; }
h2 { font-size: 21px; margin: 36px 0 8px; }
p, li { color: var(--text); }
.muted { color: var(--muted); }
a { color: var(--accent); }
ul { padding-left: 22px; }
li { margin: 6px 0; }
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 20px 0;
}
.card h2 { margin-top: 0; }
nav { display: flex; gap: 20px; margin-top: 8px; flex-wrap: wrap; }
footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; }

/* Landing page */
main.wide { max-width: 1000px; }
.hero { max-width: 680px; }
.hero h1 { font-size: clamp(34px, 6vw, 52px); letter-spacing: -0.02em; }
.lede { font-size: 19px; color: var(--muted); margin: 12px 0 24px; }
.small { font-size: 14px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: var(--bg);
  padding: 10px 20px 10px 16px; border-radius: 12px; text-decoration: none;
}
.store svg { width: 28px; height: 28px; }
.store span { display: flex; flex-direction: column; font-size: 20px; font-weight: 600; line-height: 1.1; }
.store small { font-size: 11px; font-weight: 500; }
.shots {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 48px 0;
}
.shots figure { margin: 0; text-align: center; }
.shots img {
  width: 100%; height: auto; border-radius: 28px;
  border: 1px solid var(--rule); box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.shots figcaption { color: var(--muted); font-size: 15px; margin-top: 10px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 20px 22px; }
.feature .emoji { font-size: 30px; line-height: 1; }
.feature h2 { font-size: 18px; margin: 10px 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.how { margin-top: 32px; }
.how ol { padding-left: 22px; margin: 0; }
@media (max-width: 640px) {
  main { padding-top: 32px; }
  .shots {
    grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 32px -20px; padding: 0 20px 8px;
  }
  .shots figure { scroll-snap-align: center; }
}
