:root {
  --paper: #f5f0e8;
  --surface: #fbf7f0;
  --ink: #2a2520;
  --ink-soft: #5a5147;
  --muted: #8b8275;
  --line: #e2dacb;
  --accent: #c66e4e;
  --accent-soft: #e9c5b6;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

header.site {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 24px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

header.site a.brand {
  color: var(--ink);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

header.site nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13.5px;
  margin-left: 18px;
}

header.site nav a:hover { color: var(--accent); }

h1 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 600;
}

h2 {
  font-size: 18px;
  margin: 32px 0 8px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

p { margin: 0 0 14px; color: var(--ink-soft); }
p.lede { color: var(--ink); font-size: 18px; line-height: 1.55; margin-bottom: 28px; }

a { color: var(--accent); }
a:hover { text-decoration: underline; }

ul { padding-left: 20px; color: var(--ink-soft); }
li { margin-bottom: 6px; }

.maker-quote {
  font-family: Georgia, serif;
  font-style: italic;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin: 28px 0;
}

.maker-quote .signoff {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 11.5px;
  letter-spacing: 1.4px;
  color: var(--muted);
}

.muted { color: var(--muted); font-size: 13px; }

.appstore {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.appstore:hover { background: var(--accent); }
.appstore.disabled {
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  pointer-events: none;
}

footer.site {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px 56px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer.site a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-right: 16px;
}
footer.site a:hover { color: var(--accent); }

.legal { font-size: 14.5px; }
.legal h2 { font-size: 16px; margin-top: 28px; }
.legal p, .legal li { font-size: 14.5px; line-height: 1.65; }

hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
