/* Photo Share — one stylesheet for every page.
   Hand-written: the site is five static pages, a build step would be
   ceremony. Keep the page widths and the header/footer in step. */

:root {
  --ink: #1b1f23;
  --muted: #5b6672;
  --line: #e3e7eb;
  --accent: #2f6f8f;
  --accent-dark: #245a74;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e7ecf0;
    --muted: #a3afba;
    --line: #2a313a;
    --accent: #6fb6d6;
    --accent-dark: #8ecbe6;
    --bg: #14181c;
    --bg-soft: #1b2127;
  }
}

* { box-sizing: border-box; }

body {
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  margin: 0;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }
.wrap-wide { max-width: 940px; margin: 0 auto; padding: 0 16px; }

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

/* Header ------------------------------------------------------------- */
.site-head {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  background: var(--bg);
}
.site-head .wrap-wide {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; display: block; }
.site-head nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-head nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.site-head nav a:hover { color: var(--accent); }

/* Hero --------------------------------------------------------------- */
.hero { padding: 56px 0 8px; text-align: center; }
.hero h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 12px; }
.hero p { font-size: 1.1rem; color: var(--muted); margin: 0 auto; max-width: 30em; }

/* Screenshot strip ---------------------------------------------------- */
.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 36px 16px 8px;
  scroll-snap-type: x mandatory;
  justify-content: flex-start;
}
@media (min-width: 940px) { .shots { justify-content: center; } }
.shots img {
  width: 200px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-snap-align: center;
  background: var(--bg-soft);
}

/* Feature list -------------------------------------------------------- */
.features { padding: 24px 0 8px; }
.features h2 { font-size: 1.25rem; margin: 0 0 12px; }
.features dl { margin: 0; }
.features dt { font-weight: 600; margin-top: 18px; }
.features dd { margin: 4px 0 0; color: var(--muted); }

/* Generic page content ------------------------------------------------ */
main { padding: 32px 0 8px; }
main h1 { font-size: 1.8rem; margin: 0 0 8px; }
main h2 { font-size: 1.15rem; margin: 28px 0 6px; }
main .updated { color: var(--muted); font-size: 0.95rem; margin-top: 0; }
main ul, main ol { padding-left: 22px; }
main li { margin: 6px 0; }

.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 20px 0;
}

/* Footer -------------------------------------------------------------- */
.site-foot {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 15px;
}
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--accent); }
.site-foot .links { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
