/* Firmly legal pages. Static, no framework, no fonts loaded, no scripts,
   no cookies, no tracking. Palette follows the app ("Morgenlicht"). */

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

:root {
  --bg: #F1EADB;
  --card: #FFFDF6;
  --inset: #E6DCC6;
  --hairline: #C2AF85;
  --ink: #2B2620;
  --ink-2: #675E52;
  --ink-3: #6E6355;
  --accent: #B0532F;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  padding: 48px 20px 96px;
  -webkit-text-size-adjust: 100%;
}

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

.wordmark {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 28px;
}

.wordmark a { color: inherit; text-decoration: none; }
.wordmark a:hover { color: var(--accent); }

h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}

.meta {
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 40px;
}

h2 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  margin: 48px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--inset);
}

h2:first-of-type { border-top: 0; padding-top: 0; }

h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 8px;
}

p { margin-bottom: 16px; color: var(--ink); }

.lead { font-size: 19px; color: var(--ink-2); margin-bottom: 32px; }

ul, ol { margin: 0 0 16px 22px; }
li { margin-bottom: 8px; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration: none; }

strong { font-weight: 600; }

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

.card p:last-child, .card ul:last-child, .card li:last-child { margin-bottom: 0; }

.card h3:first-child { margin-top: 0; }

/* Retention rows: reads as a table on desktop, stacks on a phone. */
.rows { margin-bottom: 24px; }

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--inset);
}

.row:first-child { border-top: 1px solid var(--inset); }
.row .what { font-weight: 600; }
.row .how { color: var(--ink-2); }

@media (max-width: 560px) {
  body { font-size: 16px; padding: 32px 18px 72px; }
  h1 { font-size: 28px; }
  h2 { font-size: 21px; }
  .row { grid-template-columns: 1fr; gap: 2px; }
}

/* Index page link cards */
.links { display: flex; flex-direction: column; gap: 14px; margin: 32px 0 0; }

.link-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 20px 24px;
  color: var(--ink);
  text-decoration: none;
  font-size: 19px;
  font-weight: 600;
}

.link-card span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-2);
}

.link-card:hover { border-color: var(--accent); }

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--inset);
  font-size: 15px;
  color: var(--ink-3);
}

footer p { color: var(--ink-3); margin-bottom: 6px; }
