/* SoulHeal landing site - brand palette from brand/brand-guide.md */
:root {
  --soul-indigo: #1A1040;
  --heal-gold: #D4A843;
  --spirit-white: #F8F5F0;
  --aura-violet: #6B3FA0;
  --light-violet: #9B7FCC;
  --deep-teal: #1A6B6A;
  --warm-sand: #E8DCC8;
  --text-primary: #1A1A2E;
  --text-secondary: #6B6B80;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Josefin Sans", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--spirit-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

a { color: var(--aura-violet); text-decoration: none; }
a:hover { color: var(--light-violet); }

/* --- Header ------------------------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}
.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--soul-indigo);
}
.brand .glow { color: var(--heal-gold); }
.lang-switch a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--warm-sand);
  border-radius: 999px;
  margin-left: 0.35rem;
}
.lang-switch a.active {
  background: var(--soul-indigo);
  color: var(--spirit-white);
  border-color: var(--soul-indigo);
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, #1A1040 0%, #6B3FA0 100%);
  color: var(--spirit-white);
  text-align: center;
  padding: 5.5rem 1.5rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(212,168,67,0.18), transparent 60%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin-bottom: 0.6rem;
}
.hero .tagline {
  color: var(--heal-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  margin-bottom: 1.6rem;
}
.hero .lead {
  max-width: 620px;
  margin: 0 auto;
  font-weight: 300;
  font-size: 1.1rem;
  opacity: 0.92;
}
.pill {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--heal-gold);
  border-radius: 999px;
  color: var(--heal-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* --- Content sections --------------------------------------------------- */
.section {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1.75rem;
}
.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--soul-indigo);
  margin-bottom: 1rem;
}
.section p { margin-bottom: 1rem; color: var(--text-primary); }
.section p.muted { color: var(--text-secondary); }

.lines {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.line {
  background: var(--warm-sand);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
}
.line strong { color: var(--soul-indigo); }

/* --- Playlists + socials ---------------------------------------------- */
.section.wide { max-width: 1000px; }
.playlists {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.playlist {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--warm-sand);
  border-radius: 12px;
  overflow: hidden;
  color: var(--text-primary);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.playlist:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26, 16, 64, 0.12);
}
/* hqdefault is 4:3 with letterbox bars; crop it to 16:9 */
.playlist .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--soul-indigo); }
.playlist .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.playlist .kind {
  margin: 0.8rem 1rem 0.2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--deep-teal);
}
.playlist .title {
  margin: 0 1rem 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--soul-indigo);
}

.follow { text-align: center; }
.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
}
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--soul-indigo);
  color: var(--heal-gold);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.social:hover {
  background: var(--heal-gold);
  color: var(--soul-indigo);
  transform: translateY(-2px);
}
.social svg { width: 24px; height: 24px; }

.footer-socials { display: flex; justify-content: center; gap: 1.1rem; margin-bottom: 0.9rem; }
.footer-socials a { color: var(--spirit-white); opacity: 0.75; display: inline-flex; }
.footer-socials a:hover { color: var(--heal-gold); opacity: 1; }
.footer-socials svg { width: 20px; height: 20px; }

/* --- Privacy / legal prose --------------------------------------------- */
.legal { max-width: 760px; margin: 0 auto; padding: 3rem 1.75rem 4rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); color: var(--soul-indigo); margin-bottom: 0.4rem; }
.legal .effective { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.5rem; color: var(--aura-violet); margin: 2rem 0 0.6rem; }
.legal p, .legal li { margin-bottom: 0.7rem; }
.legal ul { padding-left: 1.4rem; }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--soul-indigo);
  color: var(--spirit-white);
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.9rem;
}
.site-footer a { color: var(--heal-gold); }
.site-footer .links { margin-bottom: 0.8rem; }
.site-footer .links a { margin: 0 0.6rem; }
.site-footer .copyright { opacity: 0.65; font-size: 0.8rem; }
