/* PantryFlow legal pages: one local stylesheet, no web fonts, no external resources. */
:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --text: #1f2a22;
  --muted: #55625a;
  --brand: #5b8c6a;
  --brand-deep: #416b4e;
  --line: #dfe5de;
  --note: #fff7e6;
  --note-line: #c48b2a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141a16;
    --surface: #1c241f;
    --text: #e8ede9;
    --muted: #a9b6ad;
    --brand: #8dbb99;
    --brand-deep: #a8cf92;
    --line: #2e3a32;
    --note: #2b2416;
    --note-line: #c48b2a;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

.site-header, main, .site-footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--brand);
}

.brand {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--brand-deep);
  text-decoration: none;
}

.lang-switch a { color: var(--brand-deep); }

main { padding-top: 1.5rem; padding-bottom: 2.5rem; }

h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 0.5rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; color: var(--brand-deep); }

p, ul { margin: 0 0 1rem; }
li { margin-bottom: 0.35rem; }

a { color: var(--brand-deep); text-underline-offset: 0.15em; }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.meta { color: var(--muted); font-size: 0.95rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 0 0 1rem;
}

/* Draft markers: visible so a reviewer cannot miss an open item. Remove before publication. */
.draft {
  background: var(--note);
  border-left: 4px solid var(--note-line);
  padding: 0.75rem 1rem;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.placeholder {
  background: var(--note);
  border-bottom: 2px dotted var(--note-line);
  padding: 0 0.2em;
}

address { font-style: normal; }

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  padding-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-footer a { margin-right: 1rem; }
