:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --fg: #1c1917;
  --muted: #57534e;
  --border: #e7e5e4;
  --accent: #2563eb;
  --accent-fg: #ffffff;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 8px 24px rgb(0 0 0 / 0.08);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1917;
    --surface: #292524;
    --fg: #f5f5f4;
    --muted: #a8a29e;
    --border: #44403c;
    --accent: #60a5fa;
    --accent-fg: #0c0a09;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.4);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.wrap {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
}

.site-header nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--fg);
}

/* Hero */

.hero {
  padding: 4rem 0 2.5rem;
  text-align: center;
}

.hero .icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.25rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero .lede {
  max-width: 40rem;
  margin: 1rem auto 0;
  font-size: 1.2rem;
  color: var(--muted);
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.pill {
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
  color: var(--muted);
}

.shot {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero .shot {
  margin-top: 2.5rem;
}

/* Sections */

section {
  padding: 3rem 0;
}

section + section {
  border-top: 1px solid var(--border);
}

h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.02em;
}

.section-intro {
  max-width: 44rem;
  margin: 0 0 2rem;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.feature {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.themes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem;
}

.themes .shot {
  border-radius: 8px;
}

ul.ticks {
  margin: 0;
  padding-left: 1.25rem;
}

ul.ticks li + li {
  margin-top: 0.4rem;
}

/* Privacy page */

.prose {
  max-width: 44rem;
  padding: 3rem 0 4rem;
}

.prose h1 {
  margin: 0 0 0.25rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.prose .updated {
  margin: 0 0 2rem;
  color: var(--muted);
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.3rem;
}

.prose code {
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.callout {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  background: var(--surface);
}

.callout p {
  margin: 0;
}

/* Footer */

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

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