:root {
  --cream: #FBF6F0;
  --paper: #FFFCF9;
  --ink: #1A1716;
  --ink-soft: #4A4543;
  --muted: #8A8380;
  --hairline: rgba(26, 23, 22, 0.08);
  --rose: #E8B4BC;
  --rose-deep: #B05E6B;
  --lilac: #C8BFE5;
  --sage: #B8C9B0;
  --sage-deep: #7A9A6E;
  --coral: #D4826A;
  --amber: #D9A86C;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  z-index: 0;
}

/* The only serif accent — logo + dot */
.serif-accent {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.container-wide {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ============================================================ */
/*  Nav                                                          */
/* ============================================================ */
.nav {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav .logo {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.nav .logo .dot { color: var(--rose-deep); font-style: normal; }

.nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .15s ease;
}

.nav a:hover { color: var(--ink); }

/* ============================================================ */
/*  Buttons                                                      */
/* ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { transform: translateY(-1px); }

.btn-ghost {
  color: var(--ink-soft);
  border: 1px solid var(--hairline);
}
.btn-ghost:hover { color: var(--ink); }

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: rgba(176, 94, 107, 0.08);
  color: var(--rose-deep);
}

/* ============================================================ */
/*  Footer                                                       */
/* ============================================================ */
.footer {
  padding: 56px 0 64px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 13px;
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-right: 24px;
  transition: color .15s ease;
  font-weight: 500;
}

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

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

/* ============================================================ */
/*  Legal pages                                                  */
/* ============================================================ */
.legal {
  padding: 40px 0 96px;
  max-width: 680px;
}

.legal .pill { margin-bottom: 16px; }

.legal h1 {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: var(--ink);
}

.legal h1 .dot {
  font-family: 'Instrument Serif', Georgia, serif;
  color: var(--rose-deep);
  font-style: italic;
  font-weight: 400;
}

.legal .intro {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 10px;
  line-height: 1.55;
}

.legal .updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 48px;
}

.legal h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 44px;
  margin-bottom: 12px;
  color: var(--ink);
}

.legal p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.legal strong { color: var(--ink); font-weight: 600; }

.legal a {
  color: var(--rose-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 94, 107, 0.3);
  font-weight: 500;
}

.legal a:hover { border-bottom-color: var(--rose-deep); }

.legal .contact-block {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}

.legal .contact-block p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.legal .contact-block a {
  font-size: 18px;
  border: none;
  font-weight: 500;
}

/* ============================================================ */
/*  Responsive                                                   */
/* ============================================================ */
@media (max-width: 600px) {
  .nav { padding: 20px 0; }
  .nav .logo { font-size: 24px; }
  .nav ul { gap: 20px; font-size: 13px; }
}
