/* Shared styling for the standalone pages (privacy, terms, contact, 404).
   Deliberately small and dependency-free: these pages do not need Tailwind. */

:root {
  --baywa-green: #00723b;
  --baywa-green-dark: #005a2e;
  --baywa-green-light: #82bc41;
  --baywa-yellow: #ffdd00;
  --ink: #0b1f17;
  --muted: #4a5550;
  --line: #e5e7eb;
}

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

body {
  margin: 0;
  font-family: 'BayWa Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }

a { color: var(--baywa-green-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--baywa-green);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 60;
  background: var(--baywa-green); color: #fff; font-weight: 600; font-size: 14px;
  padding: 10px 16px; border-radius: 0 0 6px 6px; text-decoration: none; transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .inner {
  max-width: 880px; margin: 0 auto; padding: 0 24px; height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brandmark { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brandmark img { height: 34px; width: auto; display: block; }
.brandmark .divider { width: 1px; height: 26px; background: var(--line); }
.brandmark .name { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brandmark .dot {
  width: 6px; height: 6px; background: var(--baywa-green); border-radius: 99px;
  display: inline-block; margin: 0 2px 2px 0;
}
.header-cta {
  background: var(--baywa-green); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 6px; white-space: nowrap;
}
.header-cta:hover { background: var(--baywa-green-dark); color: #fff; }

/* ---------- Page body ---------- */
main { max-width: 880px; margin: 0 auto; padding: 56px 24px 80px; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #5b7066;
}
h1 { font-size: clamp(32px, 5vw, 46px); margin: 12px 0 0; }
.updated { margin-top: 14px; font-size: 14px; color: var(--muted); }
.lede { margin-top: 24px; font-size: 18px; color: var(--muted); max-width: 62ch; }

h2 { font-size: 22px; margin: 48px 0 0; scroll-margin-top: 24px; }
h3 { font-size: 17px; margin: 28px 0 0; }
p, ul, ol, dl { margin: 14px 0 0; max-width: 72ch; }
ul, ol { padding-left: 22px; }
li { margin-top: 8px; }
dt { font-weight: 600; margin-top: 16px; }
dd { margin: 4px 0 0; color: var(--muted); }
strong { font-weight: 600; }

hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0 0; }

table { border-collapse: collapse; width: 100%; margin-top: 18px; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
  background: #f3f6f2; border-bottom: 1px solid #dfe5dc; color: #41544c;
}
.table-wrap { overflow-x: auto; }

.callout {
  margin-top: 28px; padding: 18px 20px; border-radius: 12px;
  background: #f6f9f4; border: 1px solid #dfe8d9; font-size: 15px;
}
.callout.todo { background: #fffbe6; border-color: #efd97a; }
.callout p:first-child { margin-top: 0; }

.card {
  margin-top: 20px; padding: 22px 24px; border: 1px solid var(--line);
  border-radius: 14px; background: #fff;
}
.card h2, .card h3 { margin-top: 0; }

.cards { display: grid; gap: 16px; }
@media (min-width: 720px) { .cards.two { grid-template-columns: 1fr 1fr; } }

.back-link { display: inline-block; margin-top: 48px; font-weight: 600; font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .inner {
  max-width: 880px; margin: 0 auto; padding: 28px 24px 40px;
  font-size: 13px; color: var(--muted);
}
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 10px; }
.site-footer .entity { margin-top: 16px; font-size: 12px; color: #6b7571; max-width: 72ch; }
