:root {
  --canvas: #F1EDE4;
  --ink: #151517;
  --grey: #626266;
  --line: #D8D3C6;
  --accent: #F6BCD3;
  --paper2: #EAE5D9;
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
}

[data-theme="dark"] {
  --canvas: #101012;
  --ink: #EFEDE6;
  --grey: #9A9AA0;
  --line: #333338;
  --paper2: #1B1B1E;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.7; }

button { font: inherit; color: inherit; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--grey);
  text-transform: uppercase;
}

.page-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: 10px;
}

.page-lede {
  font-size: 16px;
  color: var(--grey);
  max-width: 52ch;
  margin-top: 12px;
}

.updated {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--grey);
  margin-top: 16px;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: rgba(241, 237, 228, 0.92);
  border-bottom: 1.5px solid var(--ink);
  backdrop-filter: blur(8px);
}

[data-theme="dark"] .site-nav { background: rgba(16, 16, 18, 0.92); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.28em;
}

.brand .mark { width: 28px; height: 28px; flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.theme-btn {
  background: none;
  border: 1.5px solid var(--ink);
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 14px;
}

@media (max-width: 620px) {
  .nav-links span { display: none; }
}

/* Main content */
.legal-main { padding: 56px 0 80px; }

.content-block {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1.5px solid var(--ink);
}

.content-block:first-of-type {
  margin-top: 32px;
  padding-top: 0;
  border-top: none;
}

.content-block h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.content-block h3 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 18px;
  color: var(--ink);
}

.content-block h3:first-child {
  margin-top: 0;
}

.content-block p,
.content-block li {
  font-size: 15px;
  color: var(--grey);
  margin-top: 10px;
}

.content-block ul,
.content-block ol {
  margin-top: 10px;
  padding-left: 1.25rem;
}

.content-block li { margin-top: 6px; }

.content-block li strong,
.content-block p strong {
  color: var(--ink);
  font-weight: 700;
}

.contact-card {
  border: 1.5px solid var(--ink);
  padding: 20px 18px;
  background: var(--paper2);
  margin-top: 16px;
}

.contact-card a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FAQ */
.faq-list { margin-top: 32px; }

.faq-item {
  border: 1.5px solid var(--ink);
  margin-top: 12px;
}

.faq-item:first-child { margin-top: 0; }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 14px;
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item .answer {
  padding: 0 18px 16px;
  font-size: 15px;
  color: var(--grey);
  line-height: 1.55;
}

.faq-item .answer p + p { margin-top: 10px; }

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px;
  border-top: 1.5px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--grey);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
