:root {
  --maroon: #7a1f1f;
  --maroon-dark: #541515;
  --saffron: #d9822b;
  --gold: #c9a227;
  --warm: #fff8ef;
  --paper: #fffdf8;
  --text: #2e2520;
  --muted: #6b5e55;
  --line: rgba(122, 31, 31, 0.16);
  --shadow: 0 18px 55px rgba(84, 21, 21, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm);
  color: var(--text);
  font-family: "Nirmala UI", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 239, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff8ef;
  font-size: 13px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--saffron);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.language-label {
  color: var(--muted);
  font-size: 13px;
}

select,
input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 9px 12px;
}

.header-actions select {
  width: auto;
  min-width: 112px;
}

.login-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--maroon);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 96px 7vw;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 248, 239, 0.96) 0%, rgba(255, 248, 239, 0.84) 35%, rgba(255, 248, 239, 0.2) 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--saffron);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--maroon-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1;
}

h2 {
  margin: 0 0 14px;
  color: var(--maroon-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

h3 {
  margin: 0 0 8px;
  color: var(--maroon-dark);
  font-size: 20px;
  line-height: 1.25;
}

.hero-tagline {
  margin: 14px 0 12px;
  color: var(--maroon);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
}

.hero-copy {
  max-width: 580px;
  margin: 0 0 28px;
  color: #3b302b;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 12px 18px;
}

.button.primary,
button {
  background: var(--maroon);
  color: #fff8ef;
}

.button.secondary {
  border: 1px solid var(--maroon);
  color: var(--maroon);
  background: rgba(255, 248, 239, 0.75);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--maroon);
  font-weight: 800;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.quick-grid article {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.quick-grid article:last-child {
  border-right: 0;
}

.quick-grid span {
  color: var(--gold);
  font-weight: 900;
}

.section {
  padding: 84px 7vw;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 30px;
}

.section-heading p,
.split-section p {
  color: var(--muted);
  font-size: 18px;
}

.muted {
  background: #fff1df;
}

.media-panel,
.auth-card,
.contact-form,
.price-card,
.content-card,
.cards > article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.player-placeholder {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 28px;
  text-align: center;
}

.play-symbol {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--saffron);
  color: white;
  font-size: 30px;
}

.player-placeholder small {
  display: block;
  color: var(--muted);
}

.cards,
.pricing {
  display: grid;
  gap: 18px;
}

.cards.three,
.pricing {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cards > article,
.content-card,
.price-card {
  min-height: 150px;
  padding: 22px;
}

.badge {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.badge.free {
  background: #eaf7ef;
  color: #166534;
}

.badge.member {
  background: #fff3d8;
  color: #9a5b00;
}

.badge.premium {
  background: #f7e8e8;
  color: var(--maroon);
}

.membership-section {
  background: var(--paper);
}

.price-card.featured {
  border: 2px solid var(--saffron);
}

.price {
  color: var(--maroon);
  font-size: 26px;
  font-weight: 900;
}

ul {
  margin: 0;
  padding-left: 20px;
}

.login-section {
  background: #fff1df;
}

.auth-card,
.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.auth-card label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.auth-card a {
  color: var(--maroon);
  font-weight: 800;
  text-align: center;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 44px;
  align-items: start;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 7vw;
  border-top: 1px solid var(--line);
  background: var(--maroon-dark);
  color: #fff8ef;
}

.site-footer nav {
  color: #fff8ef;
}

.page-main {
  min-height: 72vh;
}

.page-hero {
  padding: 92px 7vw 70px;
  background:
    linear-gradient(90deg, rgba(255, 248, 239, 0.98), rgba(255, 248, 239, 0.82)),
    url("assets/hero-deepa-scripture.png") center right / cover;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(40px, 6vw, 68px);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.two-column article {
  border-left: 4px solid var(--saffron);
  padding-left: 22px;
}

.policy-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 24px;
}

.policy-page p {
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .quick-grid,
  .cards.five {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards.three,
  .pricing,
  .split-section,
  .contact-section,
  .two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .language-label {
    display: none;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .hero {
    min-height: 620px;
    padding: 72px 22px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(255, 248, 239, 0.98) 0%, rgba(255, 248, 239, 0.88) 52%, rgba(255, 248, 239, 0.3) 100%);
  }

  .quick-grid,
  .cards.five {
    grid-template-columns: 1fr;
  }

  .quick-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 64px 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
