/* Coffee Snobs — the "Organic" design system, ported from the app.
   Fonts are self-hosted deliberately: a privacy policy page should not be
   making requests to a third-party font CDN. */

@font-face {
  font-family: "Caprasimo";
  src: url("fonts/caprasimo_regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree_variable.ttf") format("truetype-variations");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree_italic_variable.ttf") format("truetype-variations");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #f5ead8;
  --text: #201e1d;
  --accent: #c67139;
  --accent-700: #8a4a1f;
  --accent-900: #5c3011;
  --accent-100: #f7e3d2;
  --accent-200: #eecdb2;
  --sage: #7a8a5e;
  --sage-700: #4f5c39;
  --sage-800: #3f4a2c;
  --sage-tint: #e7ead9;
  --card: #fbf5ea;
  --border: #d8cdbd;
  --muted: #6f665a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 20px 72px;
  background: var(--bg);
  color: var(--text);
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Masthead ─────────────────────────────────────────────────────────── */

header.masthead { text-align: center; padding: 56px 0 8px; }

.mark {
  width: 84px; height: 84px;
  border-radius: 20px;
  display: block;
  margin: 0 auto 20px;
  box-shadow: 0 6px 18px rgba(92, 48, 17, 0.22);
}

h1 {
  font-family: "Caprasimo", Georgia, serif;
  font-weight: 400;
  font-size: clamp(38px, 9vw, 60px);
  color: var(--accent);
  margin: 0;
  line-height: 1.05;
}

.kicker {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--sage-700);
  text-transform: uppercase;
  margin: 10px 0 0;
}

.tagline {
  font-style: italic;
  color: var(--accent-700);
  font-size: 17px;
  margin: 8px 0 0;
}

/* ── Rules & structure ────────────────────────────────────────────────── */

.double-rule { margin: 30px 0; }
.double-rule::before,
.double-rule::after {
  content: "";
  display: block;
  background: var(--accent);
}
.double-rule::before { height: 2px; }
.double-rule::after { height: 1px; margin-top: 3px; }

h2 {
  font-family: "Caprasimo", Georgia, serif;
  font-weight: 400;
  font-size: 25px;
  color: var(--text);
  margin: 40px 0 12px;
  line-height: 1.25;
}

h3 {
  font-weight: 800;
  font-size: 16px;
  color: var(--accent-700);
  margin: 26px 0 6px;
}

p { margin: 0 0 14px; }
a { color: var(--accent-700); text-underline-offset: 2px; }
a:hover { color: var(--accent-900); }

ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 7px; }
li::marker { color: var(--accent); }

strong { font-weight: 700; }

/* ── Cards ────────────────────────────────────────────────────────────── */

.card {
  background: var(--card);
  border-radius: 20px;
  padding: 22px 24px;
  margin: 20px 0;
}

.card-dashed {
  border: 1.5px dashed var(--accent);
  background: var(--accent-100);
  border-radius: 20px;
  padding: 22px 24px;
  margin: 24px 0;
}

.card-sage {
  border: 1.5px dashed var(--sage);
  background: var(--sage-tint);
  border-radius: 20px;
  padding: 22px 24px;
  margin: 24px 0;
  text-align: center;
}

.card-sage .kicker { color: var(--sage-700); letter-spacing: 0.16em; }

.wisdom {
  font-style: italic;
  color: var(--sage-800);
  font-size: 17px;
  margin: 8px 0 0;
}

.lede { font-size: 18px; }

.summary {
  font-size: 17px;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 0 0 24px;
}

/* ── Pills ────────────────────────────────────────────────────────────── */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 26px 0 0;
}

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}

.pill-solid { background: var(--accent); color: #fff; }
.pill-solid:hover { background: var(--accent-700); color: #fff; }
.pill-outline { border: 1.5px solid var(--accent); color: var(--accent-700); }
.pill-outline:hover { background: var(--accent-100); }

.status {
  display: inline-block;
  border: 1.5px dashed var(--sage);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--sage-800);
  text-transform: uppercase;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

footer .sep { margin: 0 8px; opacity: 0.5; }

.meta { font-size: 14px; color: var(--muted); }

.notice {
  background: var(--accent-100);
  border: 1.5px dashed var(--accent);
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 14.5px;
  margin: 0 0 26px;
}

@media (max-width: 480px) {
  body { padding: 0 16px 56px; }
  header.masthead { padding-top: 40px; }
  .card, .card-dashed, .card-sage { padding: 18px 18px; }
}
