/* Rappel's palette, matching src/design/tokens.ts so the hosted pages read as the same product
   as the in-app screens. Kept as one shared file so privacy.html and terms.html cannot drift. */
:root {
  --navy: #1b2c45;
  --coral: #f0533d;
  --cream: #f6f0e4;
  --surface: #fffdf8;
  --text: #1b2c45;
  --text-secondary: #5b6270;
  --text-tertiary: #8d8879;
  --border: #e7dfcf;
}

@media (prefers-color-scheme: dark) {
  :root {
    --navy: #9b4340;
    --cream: #0e0c0a;
    --surface: #1a1815;
    --text: #f6f0e6;
    --text-secondary: #b3a99a;
    --text-tertiary: #847a6c;
    --border: #332e27;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: none;
}

.brand {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.updated {
  color: var(--text-tertiary);
  font-size: 14px;
  margin: 0 0 32px;
}

h2 {
  font-size: 17px;
  margin: 36px 0 8px;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-secondary);
  margin: 0 0 14px;
}

.lede {
  font-size: 17px;
}

a {
  color: var(--coral);
}

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--coral);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 24px 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 14px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
