:root {
  --bg: #1A1220;
  --surface: #2B1E33;
  --surface-sunken: #231829;
  --border: #3D2C47;
  --border-strong: #5A4766;
  --text: #F6EDE6;
  --text-secondary: #E4D7DF;
  --text-muted: #B9A8B8;
  --accent: #FF8E72;
  --on-accent: #1A1220;
  --tension: #C9A7FF;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.motif {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  margin: 0 0 12px;
  line-height: 1.15;
}

h1 {
  font-size: clamp(34px, 6vw, 48px);
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

h2 {
  font-size: 24px;
  margin-top: 28px;
}

p, li {
  color: var(--text-secondary);
  font-size: 16px;
}

.lead {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 0 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

footer a, a.inline {
  color: var(--text-muted);
  text-decoration: underline;
}
