/* Enshrine — palette pulled from the burgundy + rose-gold app icon. */
:root {
  --bg-deep: #4A0E27;
  --bg-mid: #5B1230;
  --bg-soft: #6E1740;
  --rose-gold: #E8A98E;
  --rose-gold-dim: #B98775;
  --heart-pink: #E5A29A;
  --cream: #F5E6E0;
  --cream-dim: #C5A89E;
  --line: rgba(232, 169, 142, 0.18);
  --line-strong: rgba(232, 169, 142, 0.35);
  --max-content: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-deep);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body {
  background-image: radial-gradient(ellipse at top, var(--bg-soft) 0%, var(--bg-mid) 35%, var(--bg-deep) 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

a {
  color: var(--rose-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 120ms ease, color 120ms ease;
}
a:hover {
  color: var(--cream);
  border-bottom-color: var(--rose-gold);
}

/* ---------- Landing page ---------- */
.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  text-align: center;
}

.landing-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-bottom: 56px;
}

.landing-icon {
  width: 144px;
  height: 144px;
  border-radius: 32px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.3);
  display: block;
}

.wordmark {
  font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0;
  color: var(--cream);
  line-height: 1;
}

.tagline {
  font-size: 19px;
  color: var(--cream-dim);
  margin: 0;
  max-width: 30ch;
  font-style: italic;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
}

.cta-note {
  font-size: 14px;
  color: var(--cream-dim);
  margin: 0;
}

.play-badge-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--cream);
  font-size: 15px;
  font-weight: 600;
}
.play-badge-placeholder em {
  color: var(--cream-dim);
  font-style: normal;
  font-weight: 400;
}

.landing-footer {
  margin-top: auto;
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--cream-dim);
}
.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}
.landing-footer-links a {
  border-bottom: none;
}
.landing-footer-links a:hover {
  color: var(--rose-gold);
}
.landing-footer-meta {
  font-size: 13px;
  color: var(--rose-gold-dim);
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.legal-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rose-gold);
  font-size: 14px;
  border-bottom: none;
  margin-bottom: 28px;
}
.legal-back:hover {
  color: var(--cream);
}
.legal-back::before {
  content: "←";
  font-size: 16px;
}

.legal-title {
  font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 6px;
  color: var(--cream);
}

.legal-meta {
  font-size: 14px;
  color: var(--cream-dim);
  margin: 0;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
  font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  color: var(--cream);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin: 36px 0 12px;
}
.legal-content h1 { font-size: 32px; }
.legal-content h2 { font-size: 26px; margin-top: 44px; }
.legal-content h3 { font-size: 21px; }

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 18px;
  padding-left: 24px;
}
.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--cream);
  font-weight: 700;
}

.legal-content em {
  color: var(--rose-gold);
  font-style: normal;
}

.legal-content code {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--rose-gold);
}

.legal-content blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--rose-gold-dim);
  background: rgba(0, 0, 0, 0.18);
  color: var(--cream-dim);
  font-style: italic;
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}

.legal-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--cream-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: space-between;
}
.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.legal-footer-links a {
  border-bottom: none;
  color: var(--cream-dim);
}
.legal-footer-links a:hover {
  color: var(--rose-gold);
}

/* ---------- Mobile ---------- */
@media (max-width: 540px) {
  body { font-size: 16px; }
  .landing { padding: 48px 20px; }
  .landing-icon { width: 112px; height: 112px; border-radius: 26px; }
  .wordmark { font-size: 48px; }
  .tagline { font-size: 17px; }
  .legal { padding: 36px 20px 64px; }
  .legal-title { font-size: 32px; }
  .legal-content h1 { font-size: 26px; }
  .legal-content h2 { font-size: 22px; margin-top: 36px; }
  .legal-content h3 { font-size: 19px; }
}
