:root {
  --bg: #faf6f0;
  --ink: #1c1917;
  --muted: #6f6a63;
  --accent: #b4690e;
  --hairline: #e5ded4;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--hairline);
  text-underline-offset: 3px;
  transition: text-decoration-color .15s ease;
}
a:hover { text-decoration-color: var(--accent); }

/* Header */
header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 36px 0 0;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: -.01em;
}
nav { display: flex; gap: 22px; }
nav a {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}
nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 88px 0 24px; }
h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 6vw, 48px);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 20px;
}
h1 em {
  font-style: italic;
  color: var(--accent);
}
.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 34em;
  margin: 0;
}

/* Sections */
.section-label {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 72px 0 8px;
}

/* Apps */
.app {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
}
.app:first-of-type { border-top: none; padding-top: 20px; }
.app img {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  flex: 0 0 auto;
  border: 1px solid var(--hairline);
}
.app h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 23px;
  margin: 0 0 6px;
  letter-spacing: -.01em;
}
.app p { margin: 0 0 10px; color: var(--muted); }
.store-link {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--accent);
}
.store-link:hover { text-decoration: underline; text-decoration-color: var(--accent); }

/* Principles */
.principles {
  border-top: 1px solid var(--hairline);
  padding: 32px 0 0;
  font-size: 17px;
  color: var(--muted);
  max-width: 36em;
}
.principles strong { color: var(--ink); font-weight: 600; }

/* Prose pages (privacy, terms, contact) */
.prose { padding: 56px 0 0; }
.prose h1 { font-size: clamp(30px, 5vw, 40px); margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: 15px; margin: 0 0 40px; }
.prose h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  margin: 40px 0 10px;
  letter-spacing: -.01em;
}
.prose p, .prose li { color: #3d3a35; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }

/* Footer */
footer {
  margin-top: 96px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--muted);
}
.foot-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-links { display: flex; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }
.disclaimer { margin: 14px 0 0; font-size: 13px; max-width: 40em; }

@media (max-width: 520px) {
  .hero { padding-top: 64px; }
  .app { gap: 16px; }
  .app img { width: 56px; height: 56px; border-radius: 13px; }
}
