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

:root {
  --ink: #2B2124;        /* warm espresso — text */
  --red: #E8272D;        /* brand accent + links */
  --paper: #EDCEF3;      /* light tint of the homepage lilac (#E7BCEF), keeps chroma */
  --sub: #5A464E;        /* secondary */
  --body: #6B5F63;
  --line: #DBB6E8;       /* mid lilac hairline */
  --surface: #F5E7FA;    /* lighter lilac card (callout / code) */
  --max-w: 680px;
}

html { scroll-behavior: smooth; background: var(--paper); }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: transparent;
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
/* soft lilac with a lit top-left, fixed behind the scrolling content for depth */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 22% 2%, rgba(255,255,255,0.5), transparent 50%),
    linear-gradient(158deg, #F1D7F4 0%, #EDCEF3 46%, #E2BDEE 100%);
}

/* ── Pill nav (identical to the landing) ─────────────────── */
nav { position: fixed; inset: 0 0 auto 0; z-index: 100; }
nav .inner {
  max-width: 1160px; margin: 14px 18px 0; padding: 11px 20px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 2px solid var(--ink); border-radius: 100px; box-shadow: 4px 4px 0 var(--ink);
}
@media (min-width: 1196px){ nav .inner { margin-left: auto; margin-right: auto; } }
nav .logo { font-family: 'Caprasimo', serif; font-size: 24px; color: var(--red); text-decoration: none; letter-spacing: -.01em; }
nav .links { display: flex; gap: 22px; align-items: center; }
nav .links a { font-size: 14.5px; font-weight: 600; color: var(--body); text-decoration: none; transition: color 0.15s; }
nav .links a:hover, nav .links a.active { color: var(--ink); }
nav .nav-cta { background: var(--red); color: #fff !important; padding: 9px 18px; border-radius: 100px; font-weight: 700; font-size: 14px; white-space: nowrap; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
nav .nav-cta:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }

/* ── Main content ────────────────────────────────────────── */
main { padding: 118px 24px 64px; }
main .inner { max-width: var(--max-w); margin: 0 auto; }

main h1 { font-family: 'Caprasimo', serif; font-weight: 400; font-size: clamp(34px, 6vw, 46px); letter-spacing: -.02em; line-height: 1.02; margin-bottom: 6px; }
.updated { font-size: 14px; color: var(--sub); margin-bottom: 30px; }

main h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-top: 40px; margin-bottom: 12px; padding-top: 24px; border-top: 2px solid var(--line); }
main h3 { font-size: 15.5px; font-weight: 700; margin-top: 22px; margin-bottom: 8px; color: var(--sub); }

main p { margin-bottom: 12px; font-size: 15.5px; }
main ul, main ol { margin-bottom: 12px; padding-left: 22px; }
main li { font-size: 15.5px; margin-bottom: 6px; }

main a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
main a:hover { text-decoration: none; }
main strong { font-weight: 700; }

main code {
  font-family: 'SF Mono', 'Fira Code', ui-monospace, monospace; font-size: 13px;
  background: var(--surface); padding: 2px 7px; border-radius: 6px;
}

.callout {
  background: var(--surface); border: 2px solid var(--line); border-radius: 16px;
  padding: 18px 22px; margin-bottom: 26px; font-size: 15px; line-height: 1.62;
}
.closing { margin-top: 34px; font-size: 14px; color: var(--sub); font-style: italic; }

/* ── Footer ──────────────────────────────────────────────── */
footer { padding: 42px 24px; text-align: center; background: transparent; border-top: 2px solid var(--line); }
footer .inner { max-width: var(--max-w); margin: 0 auto; }
footer .foot-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; }
footer .foot-links a { font-size: 14px; color: var(--body); text-decoration: none; }
footer .foot-links a:hover { color: var(--ink); }
footer .copy { font-size: 13px; color: #9C9094; }

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 860px) { nav .inner { box-shadow: 3px 3px 0 var(--ink); } }
@media (max-width: 640px) {
  /* hide the terms/privacy text links so the pill doesn't overflow;
     wordmark + get-muse only (cross-links stay in the footer) */
  nav .links a:not(.nav-cta) { display: none; }
}
@media (max-width: 480px) { main { padding: 100px 18px 48px; } }
