:root {
  --bg: #F5F0EB;
  --text: #2C2C2C;
  --accent: #C17C5E;
  --muted: rgba(44, 44, 44, 0.55);
  --divider: rgba(44, 44, 44, 0.1);
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.hero {
  max-width: 540px;
  text-align: center;
}

.mark {
  display: block;
  margin: 0 auto 40px;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 9vw, 80px);
  line-height: 1;
  margin: 0 0 24px;
  letter-spacing: 0;
}

.tagline {
  font-family: var(--mono);
  font-weight: 300;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.footer {
  padding: 24px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--divider);
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 2px;
  transition: color 0.15s ease;
}

.footer a:hover {
  color: var(--text);
}

.footer .dot {
  padding: 0 8px;
  opacity: 0.5;
}

/* Legal pages */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.legal .crumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: inline-block;
  text-decoration: none;
}

.legal .crumb:hover {
  color: var(--text);
}

.legal h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.1;
  margin: 0 0 6px;
}

.legal .updated {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 40px;
}

.legal hr {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 0 0 32px;
}

.legal h2 {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.7;
  margin: 32px 0 14px;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p {
  font-family: var(--mono);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(44, 44, 44, 0.85);
  margin: 0 0 14px;
}

.legal p strong,
.legal p b {
  font-weight: 400;
  color: var(--text);
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 18px;
  font-family: var(--mono);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(44, 44, 44, 0.85);
}

.legal li {
  margin-bottom: 4px;
}

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

.legal a:hover {
  text-decoration: none;
}

.legal .contact {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 480px) {
  .page {
    padding: 48px 20px;
  }
  .footer {
    padding: 20px;
    font-size: 10px;
  }
  .footer .dot {
    padding: 0 6px;
  }
}
