/* POLLEN — landing + privacy. Botanical Press: cartridge paper, pressed ink, one copper accent.
   Flat by design — no glow, no gradients, no shadows. Palette mirrors the app's OKLCH tokens
   (app/Pollen/Sources/Palette.swift) verbatim via CSS oklch(). Fonts self-hosted (no third-party
   requests), matching the bundled Fraunces (display) + Poppins (body). */

@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --paper:      oklch(0.945 0.012 85);
  --paper-field:oklch(0.905 0.013 85);
  --cell:       oklch(0.968 0.009 85);
  --ink:        oklch(0.255 0.012 70);
  --ink-soft:   oklch(0.45 0.012 70);
  --ink-faint:  oklch(0.62 0.010 75);
  --copper:     oklch(0.50 0.075 55);
  --measure: 34rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background: #f1ece1;             /* fallback for very old engines */
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 500;
  line-height: 1.6;
  font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
}

.wrap {
  flex: 1;
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(3rem, 12vh, 7rem) 1.5rem 2rem;
}

.eyebrow {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--copper);
  border: 1px solid var(--ink-faint);
  border-radius: 2px;
  padding: 0.6rem 0.8rem;
  margin: 0 0 2rem;
}

.wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(3rem, 12vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
}

.tagline {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  color: var(--ink-soft);
  margin: 0.75rem 0 0;
}

.lede {
  font-size: 1.05rem;
  margin: 1.75rem 0 0;
  max-width: 30rem;
}

.cta {
  display: inline-block;
  margin: 2.25rem 0 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  padding: 0.85rem 1.4rem;
  border-radius: 3px;
}
.cta:hover { background: var(--copper); }

.meta {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin: 1.25rem 0 0;
}

/* Privacy / prose pages */
.prose h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 7vw, 2.75rem);
  line-height: 1.1;
  margin: 0 0 0.25rem;
}
.prose .updated { color: var(--ink-faint); font-size: 0.85rem; margin: 0 0 2.25rem; }
.prose h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.3rem;
  margin: 2.25rem 0 0.5rem;
}
.prose p, .prose li { font-size: 1rem; color: var(--ink); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }
.prose strong { font-weight: 600; }

a { color: var(--copper); }

.foot {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
  border-top: 1px solid var(--ink-faint);
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.foot a { color: var(--ink-soft); text-decoration: none; }
.foot a:hover { color: var(--copper); }
