/* SafeSleep website — shared styles. Kraft Noir adapted for web. */

@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-italic-400.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #1F1611;
  --surface: #2A1F18;
  --border: #3A2D24;
  --text: #ECE0CA;
  --text-secondary: #A8987C;
  --text-muted: #786853;
  --accent: #C9A878;
  --accent-hover: #D9B98A;
}

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

html {
  background: var(--bg);
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

body.column {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 24px 120px;
}

body.center {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
}

h1, h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  color: var(--text);
}

h1 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

h2 {
  font-size: 1.125rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 20px;
}

li + li {
  margin-top: 4px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.back {
  font-size: 0.875rem;
  display: inline-block;
  margin-bottom: 32px;
}

.effective {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 40px;
}
