:root {
  --bg: #f7f7f5;
  --text: #1d2125;
  --muted: #5f6670;
  --accent: #2f4a63;
  --line: #dcdfe3;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15181c;
    --text: #e6e8eb;
    --muted: #9aa3ad;
    --accent: #8db4d8;
    --line: #2c3238;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}
main { max-width: 44rem; margin: 0 auto; padding: 2rem 1rem 3rem; }
h1 { line-height: 1.2; }
h2 { margin-top: 2rem; font-size: 1.2rem; }
a { color: var(--accent); }
code { font-size: 0.9em; overflow-wrap: anywhere; }
.muted, .back { color: var(--muted); }
.hero { text-align: center; padding: 1rem 0; }
.hero img { border-radius: 20px; }
.hero h1 { margin: 0.5rem 0 0; font: 400 2.6rem/1.15 Georgia, "Times New Roman", serif; }
.motto { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; }
.tagline { color: var(--muted); font-size: 1.1rem; }
.button {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
}
/* screenshots: sized by the column, height from the width/height
   attributes, so nothing jumps while they load */
.shot { margin: 1.5rem 0; }
.shot img, .phones img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.shot figcaption { margin-top: 0.5rem; color: var(--muted); font-size: 0.9rem; text-align: center; }
.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
@media (max-width: 560px) {
  .phones { grid-template-columns: repeat(2, 1fr); }
}
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
