/* Pictureshow site. Same dark palette as the app's window (#10131c).
   Accent lavender is kept for things you can act on: links, the one button, focus. */
:root {
  color-scheme: dark;
  --bg: #10131c;
  --raised: #171b27;
  --ink: #e6e9f2;
  --muted: #a3abc0;
  --accent: #b8c4ff;
  --line: #2a3042;
  --measure: 38rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: calc(var(--measure) + 40px); }

h1, h2 { letter-spacing: -0.015em; }
h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem); line-height: 1.05; margin: 0 0 16px; }
h2 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 12px; }

/* Home: hero */
.hero { display: grid; gap: 40px; padding: 48px 0 56px; align-items: center; }
.mark { display: block; width: 64px; height: 64px; border-radius: 15px; margin-bottom: 24px; }
.lede { font-size: 1.3rem; line-height: 1.4; margin: 0 0 16px; max-width: 26ch; }
.intro { color: var(--muted); margin: 0 0 28px; max-width: var(--measure); }
.button {
  display: inline-block; padding: 12px 20px; border-radius: 10px;
  background: var(--accent); color: var(--bg); font-weight: 600; text-decoration: none;
}
.button:hover { background: #cdd5ff; }
.screen { margin: 0; }
.screen img {
  display: block; width: 100%; height: auto;
  border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}
.screen figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 12px; }

/* Home: features */
.features { border-top: 1px solid var(--line); padding: 40px 0 8px; }
.features ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; }
.features li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.features li:last-child { border-bottom: 0; }
.note { color: var(--muted); font-size: 0.95rem; margin: 24px 0 0; }

@media (min-width: 720px) {
  .features ul { grid-template-columns: 1fr 1fr; }
  .features li:nth-last-child(2) { border-bottom: 0; }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: 72px 0 80px; }
  .features ul { grid-template-columns: repeat(3, 1fr); }
  .features li:nth-last-child(3) { border-bottom: 0; }
}

/* Legal pages */
.bar { padding: 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.doc { max-width: var(--measure); padding: 32px 0 16px; }
.doc h1 { font-size: clamp(2rem, 1.7rem + 1.4vw, 2.5rem); margin-bottom: 20px; }
.doc h2 { margin-top: 40px; }
.doc p { margin: 0 0 16px; }
.doc ul { padding-left: 1.2rem; margin: 0 0 16px; }
.doc li { margin: 8px 0; }
.doc li::marker { color: var(--muted); }

/* Footer, every page */
.foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 24px 0 40px; color: var(--muted); font-size: 0.9rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 8px; }
.foot nav a { color: var(--ink); text-decoration: none; }
.foot nav a:hover, .foot nav a[aria-current="page"] { color: var(--accent); }
.foot p { margin: 0; }
@media (min-width: 720px) {
  .foot .wrap:not(.narrow) { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
  .foot .wrap:not(.narrow) nav { margin: 0; order: 2; }
}
