/* ──────────────────────────────────────────────────────────────────────
   pages.css — shared styles for DropDone's conventional (normal-scroll)
   pages: Imprint, Privacy, Terms, Contact, and the Features list.
   Design tokens mirror index.html so the look stays consistent. If you
   ever retune a token (paper, ink, teal), update it here too — or, later,
   we can extract a single shared token file that index.html links as well.
   ────────────────────────────────────────────────────────────────────── */

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

:root {
  --paper:      #e7e9e7;
  --paper-deep: #f4ede0;
  --ink:        #1f1a14;
  --ink-soft:   #6b6155;
  --ink-quiet:  #9a8f80;
  --hairline:   rgba(40, 30, 15, 0.08);
  --drop-dark:  #0D9C97;
}

html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── header ── */
.page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 2rem;
}
.brand {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 36, "SOFT" 50;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand strong { font-weight: 800; }
.brand .dot { color: var(--ink-quiet); font-weight: 400; margin: 0 0.05em; }
.brand .product { color: var(--ink-soft); font-weight: 500; font-style: italic; }
.back-home {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms ease;
}
.back-home:hover { color: var(--ink); }

/* ── reading column ── */
main.doc {
  flex: 1 0 auto;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.doc-title {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 72, "SOFT" 50;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.doc-lead {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 28, "SOFT" 50;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 2.75rem;
  line-height: 1.5;
}
.doc section { margin-bottom: 2.25rem; }
.doc h2 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 36, "SOFT" 50;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.doc p { color: var(--ink-soft); margin-bottom: 0.9rem; }
.doc p:last-child { margin-bottom: 0; }
.doc a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.doc strong { color: var(--ink); font-weight: 600; }

/* quiet label / value list (e.g. the imprint particulars) */
.facts { margin-top: 0.5rem; border-top: 1px solid var(--hairline); }
.facts > div {
  display: flex;
  gap: 1.25rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hairline);
}
.facts dt { flex: 0 0 11rem; color: var(--ink-quiet); font-size: 0.9375rem; }
.facts dd { color: var(--ink); }
@media (max-width: 560px) {
  .facts > div { flex-direction: column; gap: 0.15rem; }
  .facts dt { flex: none; }
}

/* marker for anything you still need to fill in or have reviewed */
.todo {
  background: rgba(13, 156, 151, 0.12);
  border-bottom: 1px dashed var(--drop-dark);
  color: var(--ink);
  padding: 0 0.18em;
  border-radius: 2px;
}

/* ── footer (mirrors index.html) ── */
.site-footer {
  flex-shrink: 0;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink-quiet);
}
.footer-links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
}
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 150ms ease;
}
.footer-links a:hover { color: var(--ink); }
.footer-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.footer-copy { font-size: 0.75rem; letter-spacing: 0.02em; }

@media (max-width: 720px) {
  .page-nav { padding: 1rem 1.25rem; }
}
