/* The public site: privacy policy, account deletion, and a one-screen landing
   page. Deliberately plain — it exists so the store listings have stable URLs,
   not to sell anything. */

:root {
  --paper: #f7f2e8;
  --panel: #fffdf8;
  --ink: #1d1a16;
  --muted: #5c564c;
  --rule: #e0d7c7;
  --accent: #8a5524;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

header {
  border-bottom: 1px solid var(--rule);
  background: var(--panel);
}

.bar {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wordmark {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
}

nav {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
}

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

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
}

main {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  flex: 1;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin: 2.25rem 0 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 1.75rem 0 0.25rem;
}

p {
  margin: 0.75rem 0;
}

ul {
  margin: 0.75rem 0;
  padding-left: 1.1rem;
}

li {
  margin: 0.35rem 0;
}

li::marker {
  color: var(--muted);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  background: #efe7d8;
  border-radius: 4px;
  padding: 0.1em 0.35em;
}

strong {
  color: var(--ink);
}

footer {
  border-top: 1px solid var(--rule);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.8125rem;
}

footer .bar {
  padding: 1.1rem 1.25rem;
  display: block;
}

footer p {
  margin: 0.25rem 0;
}

@media (max-width: 30rem) {
  main {
    padding-top: 1.75rem;
  }

  h2 {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
  }
}
