:root {
  --maroon: #74171d;
  --maroon-deep: #3c1014;
  --maroon-soft: #9b373b;
  --gold: #d4a446;
  --gold-light: #f0d89a;
  --cream: #fbf6ea;
  --paper: #fffdf8;
  --ink: #271c19;
  --muted: #725f57;
  --line: rgba(116, 23, 29, 0.14);
  --shadow: 0 24px 70px rgba(69, 22, 20, 0.14);
}

* { box-sizing: border-box; }
html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 6%, rgba(212, 164, 70, 0.2), transparent 24rem),
    linear-gradient(180deg, #fffdf8 0%, var(--cream) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.34;
  background-image: repeating-linear-gradient(8deg, transparent 0 92px, rgba(116, 23, 29, 0.035) 93px 95px);
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 16px 12px 20px;
  border: 1px solid rgba(116, 23, 29, 0.1);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 12px 36px rgba(72, 28, 21, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--maroon);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand img,
.footer-brand img {
  width: 34px;
  height: 42px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #55433d;
  font-size: 0.92rem;
  font-weight: 650;
}

nav a:hover { color: var(--maroon); }

.nav-download {
  padding: 10px 18px;
  border-radius: 12px;
  color: white;
  background: var(--maroon);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(38px, 6vw, 90px);
  width: min(1140px, calc(100% - 44px));
  min-height: 690px;
  margin: 0 auto;
  padding: 72px 0 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--maroon-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.04;
}

h1 {
  max-width: 680px;
  font-size: clamp(3.4rem, 7vw, 6.5rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.35rem, 4vw, 4.3rem);
  letter-spacing: -0.03em;
}

.hero-text {
  max-width: 650px;
  margin: 26px 0 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.hero-copy,
.section-heading,
.gurudev-copy,
.about-copy {
  min-width: 0;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 15px;
  color: white;
  background: var(--maroon-deep);
  box-shadow: 0 12px 26px rgba(60, 16, 20, 0.16);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(60, 16, 20, 0.22);
}

.store-button small {
  display: block;
  margin-bottom: 3px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.store-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 32px;
  flex: 0 0 auto;
}

.play-icon {
  width: 0;
  height: 0;
  margin: 0 6px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 23px solid var(--gold-light);
}

.apple-icon {
  position: relative;
  color: var(--gold-light);
  font-size: 2.2rem;
  line-height: 1;
}

.apple-icon::before {
  position: absolute;
  top: -2px;
  left: 14px;
  width: 8px;
  height: 12px;
  border-radius: 8px 2px;
  background: var(--gold-light);
  content: "";
  transform: rotate(35deg);
}

.guru-portrait-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 570px;
}

.portrait-halo {
  position: absolute;
  width: 480px;
  max-width: 95%;
  aspect-ratio: 1;
  border: 1px solid rgba(212, 164, 70, 0.25);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 216, 154, 0.52), rgba(240, 216, 154, 0.04) 64%, transparent 65%);
}

.portrait-halo::before,
.portrait-halo::after {
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(116, 23, 29, 0.12);
  border-radius: 50%;
  content: "";
}

.portrait-halo::after { inset: 78px; }

.guru-portrait {
  position: relative;
  width: min(380px, 86%);
  margin: 0;
  overflow: hidden;
  border: 7px solid rgba(255, 253, 248, 0.9);
  border-radius: 190px 190px 34px 34px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.guru-portrait > img {
  display: block;
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: center 18%;
}

.guru-portrait figcaption {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
  color: var(--cream);
  background: var(--maroon);
  text-align: center;
}

.guru-portrait figcaption span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.guru-portrait figcaption small {
  margin-top: 3px;
  color: var(--gold-light);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gurudev-section,
.about-app {
  width: min(1140px, calc(100% - 44px));
  margin: 0 auto 96px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
}

.gurudev-section {
  display: grid;
  grid-template-columns: 110px 0.8fr 1.4fr;
  gap: 32px;
  padding: clamp(34px, 6vw, 74px);
}

.section-mark {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 26px;
  color: var(--gold-light);
  background: var(--maroon);
  box-shadow: 0 12px 30px rgba(116, 23, 29, 0.18);
  font-family: Georgia, serif;
  font-size: 2rem;
}

.gurudev-copy {
  color: var(--muted);
  font-size: 1.04rem;
}

.gurudev-copy p { margin: 0 0 18px; }

.about-app {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  overflow: hidden;
  background: var(--maroon-deep);
}

.app-symbol {
  display: grid;
  place-items: center;
  min-height: 540px;
  background:
    radial-gradient(circle, rgba(212, 164, 70, 0.34), transparent 56%),
    linear-gradient(145deg, #68171c, #310d10);
}

.app-symbol img {
  width: min(260px, 65%);
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.25));
}

.about-copy {
  padding: clamp(38px, 6vw, 78px);
  color: #f8efe2;
}

.about-copy .eyebrow { color: var(--gold-light); }

.about-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 28px;
  color: #d7c7bf;
  font-size: 1.08rem;
}

.practice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.practice-list span {
  padding: 9px 14px;
  border: 1px solid rgba(240, 216, 154, 0.3);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
}

.download-section {
  width: min(920px, calc(100% - 44px));
  margin: 0 auto;
  padding: 20px 0 112px;
  text-align: center;
}

.download-section > img {
  width: 74px;
  height: 96px;
  margin-bottom: 18px;
  object-fit: contain;
}

.download-section > p:not(.eyebrow) {
  margin: 16px 0 28px;
  color: var(--muted);
}

.centered { justify-content: center; }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 26px max(28px, calc((100% - 1140px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 253, 248, 0.72);
  font-size: 0.85rem;
}

.footer-links { display: flex; gap: 22px; }
footer > p { justify-self: end; }

@media (max-width: 900px) {
  nav a:not(.nav-download) { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 76px;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .guru-portrait-wrap { min-height: 540px; }
  .gurudev-section { grid-template-columns: 90px 1fr; }
  .gurudev-copy { grid-column: 1 / -1; }
  .about-app { grid-template-columns: 1fr; }
  .app-symbol { min-height: 400px; }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  footer > p { justify-self: center; }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 10px;
    border-radius: 18px;
  }

  .brand { font-size: 1.1rem; }

  .brand img {
    width: 28px;
    height: 34px;
  }

  .nav-download {
    padding: 8px 13px;
    font-size: 0.78rem;
  }

  .hero,
  .gurudev-section,
  .about-app,
  .download-section { width: calc(100% - 28px); }

  .hero {
    min-height: 0;
    padding: 64px 0 72px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 10vw, 2.8rem);
    overflow-wrap: break-word;
  }

  .hero .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }
  .store-actions { width: 100%; }

  .store-button {
    justify-content: center;
    width: 100%;
  }

  .guru-portrait-wrap { min-height: 490px; }
  .guru-portrait > img { height: 390px; }

  .gurudev-section {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .section-mark {
    width: 66px;
    height: 66px;
    border-radius: 20px;
  }

  .app-symbol { min-height: 330px; }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
