:root {
  --bg:        #f7f5f0;
  --surface:   #ffffff;
  --border:    rgba(0,0,0,0.08);
  --fg:        #1a1714;
  --muted:     #6b6560;
  --dim:       #9e9890;
  --accent:    #c8522a;
  --accent-bg: rgba(200,82,42,0.08);
  --green:     #2e7d4f;
  --green-bg:  rgba(46,125,79,0.08);
  --display:   'Playfair Display', Georgia, serif;
  --body:      'DM Sans', system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #12100e;
    --surface:   #1c1a17;
    --border:    rgba(255,255,255,0.07);
    --fg:        #f0ede6;
    --muted:     #9e9890;
    --dim:       #6b6560;
    --accent:    #e06b3a;
    --accent-bg: rgba(224,107,58,0.12);
    --green:     #4caf78;
    --green-bg:  rgba(76,175,120,0.12);
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  line-height: 1.7;
}

/* NAV */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px max(20px, env(safe-area-inset-left, 0px));
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.btn-ghost {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 6px;
  transition: color .15s;
}

/* CONTENT */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px max(20px, env(safe-area-inset-left, 0px)) 80px;
}
h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
h1 span { color: var(--accent); }
.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 600px;
}
h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
}
p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 20px;
}
p strong { color: var(--fg); font-weight: 600; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul {
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--muted);
}
li { margin-bottom: 8px; }
li strong { color: var(--fg); font-weight: 600; }

/* CALLOUT BOX */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 32px 0;
}
.callout h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--fg);
}
.callout p {
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.callout p:last-child { margin-bottom: 0; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 24px max(20px, env(safe-area-inset-left, 0px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links a { color: var(--accent); text-decoration: none; margin: 0 4px; }
.footer-links a:hover { text-decoration: underline; }
