/*
 * bruma.lol, laid out after walknyc.app (T-241): one narrow column, the name,
 * a one-line promise, the store button, a strip of screens, highlights, FAQ.
 * Colours are the app's own (app/src/ui/theme.ts): near-black text, the muted
 * grey that passes 5:1, and the blue the trace is drawn in.
 */

:root {
  --bg: #ffffff;
  --text: #1c1c1e;
  --muted: #5c5c63;
  --tint: #0a5aae;
  --line: #e5e5ea;
  --card: #f2f2f7;
  --shot-a: #dbe7f5;
  --shot-b: #f2f2f7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1c1e;
    --text: #f2f2f7;
    --muted: #aeaeb2;
    --tint: #5aa9ff;
    --line: #38383a;
    --card: #2c2c2e;
    --shot-a: #1f3147;
    --shot-b: #2c2c2e;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

main, footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

header { padding: 72px 0 8px; }

h1 {
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.tagline {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 20px;
}

.intro { margin: 0 0 24px; max-width: 34em; }

.stores { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
}

.store[aria-disabled="true"] { cursor: default; }
.store small { font-weight: 400; color: var(--muted); }
.store svg { width: 18px; height: 18px; flex: none; }

/* The strip of screens: scrolls sideways on its own, never the page. */
.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 40px 0 8px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}

.shot {
  flex: none;
  width: 220px;
  aspect-ratio: 9 / 19.5;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--shot-a), var(--shot-b));
  scroll-snap-align: start;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: var(--muted);
  font-size: 14px;
  overflow: hidden;
}

.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot:has(img) { padding: 0; }

section { padding-top: 56px; }

h2 {
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 32px;
}

.highlights h3 {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tint);
  margin: 0 0 6px;
}

.highlights p { margin: 0; }

details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

details:last-of-type { border-bottom: 1px solid var(--line); }

summary {
  cursor: pointer;
  font-weight: 600;
  list-style-position: outside;
}

details p { margin: 10px 0 0; color: var(--muted); }

a { color: var(--tint); }

footer {
  padding-top: 56px;
  padding-bottom: 48px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

footer a { color: var(--muted); }

/* The privacy page: plain reading width. */
.policy h2 { font-size: 20px; margin-top: 36px; }
.policy p { max-width: 38em; }
.back { display: inline-block; margin-top: 40px; font-size: 15px; }

@media (max-width: 480px) {
  header { padding-top: 48px; }
  h1 { font-size: 36px; }
  .tagline { font-size: 18px; }
  .shot { width: 180px; }
}
