/* Shared styles for the long-form pages: privacy, terms and imprint. */

:root {
  color-scheme: light dark;
  --paper: #f5ede0;
  --card: #fbf6ec;
  --card-border: #c4a982;
  --card-shadow: #3d28171a;
  --ink: #3d2817;
  --muted: #7a5a3e;
  --tomato: #c8553d;
  --mustard-bg: #f3e2b8;
  --line: #e2d2b5;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

:root[data-theme="dark"] {
  --paper: #1b1613;
  --card: #27201a;
  --card-border: #45372d;
  --card-shadow: #00000040;
  --ink: #f6ece1;
  --muted: #baaa9c;
  --tomato: #eb624c;
  --mustard-bg: #3d3121;
  --line: #3d3027;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: clamp(1rem, 4vw, 3rem) 1rem;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 6vw, 3.5rem);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 14px 42px var(--card-shadow);
}

.mark {
  display: inline-block;
  color: var(--tomato);
  font: 700 0.875rem 'DM Sans', system-ui, -apple-system, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}

h1 {
  margin: 1.25rem 0 0.5rem;
  font-size: clamp(2rem, 7vw, 2.75rem);
  font-weight: 500;
  line-height: 1.05;
  text-wrap: balance;
}

h2 {
  margin: 2.25rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 1.375rem;
  font-weight: 500;
}

h3 {
  margin: 1.5rem 0 0.25rem;
  font: 700 1rem 'DM Sans', system-ui, -apple-system, sans-serif;
}

p, li, dd, dt, td, th {
  font: 1rem/1.6 'DM Sans', system-ui, -apple-system, sans-serif;
}

p, ul, dl, table { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

.updated, .lede { color: var(--muted); }

a { color: var(--tomato); text-underline-offset: 3px; }
a:focus-visible {
  outline: 3px solid var(--tomato);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Visible until the legal review is done; delete together with the note. */
.draft-notice {
  margin: 1.25rem 0;
  padding: 0.875rem 1rem;
  border-radius: 14px;
  background: var(--mustard-bg);
}

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td {
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th { font-weight: 700; }

dt { font-weight: 700; }
dd { margin: 0 0 0.75rem; }

.site-footer {
  width: min(760px, 100%);
  margin: 1.5rem auto 0;
  border-top: 0;
}
