:root {
  --ocean: #0a416b;
  --ocean-deep: #0a354a;
  --leaf: #8fb04b;
  --aqua: #4fb19d;
  --saffron: #edce7a;
  --white: #fff;
  --light-blue: #e5f0f7;
}

body {
  font-family: Roboto, system-ui, sans-serif;
}

h1, h2, h3 {
  text-wrap: balance;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 4px;
  box-shadow: 0 0 0 2px #182a2b;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.55rem 1rem;
  border-radius: 0.4rem;
  color: var(--white);
  background: var(--ocean-deep);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  padding-block: 0.45rem;
  border-bottom: 1px solid #ffffff20;
}

.site-nav .navbar-brand img {
  display: block;
  width: clamp(9.4rem, 20vw, 11.75rem);
  height: auto;
}

.site-nav .nav-link {
  color: var(--white);
  font-weight: 700;
}

.site-nav .nav-link.active,
.site-nav .nav-link:hover {
  color: var(--aqua);
}

.site-nav .dropdown-menu {
  border-radius: 0.65rem;
}

.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(34rem, 76svh, 47rem);
  background: #087e76;
}

.home-hero-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-inner {
  padding-block: 2.75rem;
}

.hero-panel {
  width: min(31.5vw, 23.5rem);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid #fff8e2;
  border-radius: 1.15rem;
  background: linear-gradient(145deg, #fff7e8f5, #fff1d9e8);
  box-shadow: 0 0.8rem 2rem #24372c3a;
  color: #182c2b;
  text-align: center;
}

.hero-panel h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4.6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-tagline {
  margin: 0.6rem 0 1.3rem;
  font-size: clamp(1.04rem, 1.7vw, 1.5rem);
  font-weight: 500;
}

.download-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid #526f23;
  border-radius: 0.65rem;
  color: #101a0b;
  background: var(--leaf);
  box-shadow: 0 0.35rem 0.75rem #04172138;
  font-size: 1.05rem;
  font-weight: 800;
}

.download-app:hover {
  color: #101a0b;
  background: #a4c365;
}

.band-blue {
  background-color: var(--ocean);
  color: var(--white);
}

.band-deep {
  background-color: var(--ocean-deep);
  color: var(--white);
}

.home-section {
  padding-block: clamp(2.8rem, 6vw, 5.15rem);
  scroll-margin-top: 1rem;
}

.section-title {
  margin: 0 0 clamp(1.65rem, 3.3vw, 2.6rem);
  text-align: center;
  font-size: clamp(1.85rem, 4.3vw, 3rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.section-title::after {
  content: "";
  display: block;
  width: 2.7rem;
  height: 3px;
  margin: 0.78rem auto 0;
  border-radius: 1rem;
  background: var(--saffron);
}

.library-copy {
  width: min(100%, 72ch);
  margin-inline: auto;
  color: var(--light-blue);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.65;
}

.library-copy p:last-child {
  margin-bottom: 0;
}

.library-screens {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.6rem, 3vw, 1.6rem);
  width: min(100%, 36rem);
  margin: clamp(1.5rem, 3.2vw, 2.65rem) auto 0;
  padding: clamp(0.85rem, 2.7vw, 1.9rem) clamp(0.6rem, 2.7vw, 1.6rem);
  border: 1px solid #ffffff25;
  border-radius: 1.35rem;
  background: #092f511f;
}

.library-screens img {
  display: block;
  width: min(44%, 13.25rem);
  height: auto;
  border: 3px solid #092b45;
  border-radius: clamp(0.65rem, 1.8vw, 0.95rem);
  box-shadow: 0 0.55rem 1.2rem #061e40a0;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 2.5vw, 1.5rem);
  max-width: 65rem;
}

.practice-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.35rem);
  padding: clamp(1rem, 3vw, 1.8rem);
  border: 1px solid #ffffff48;
  border-radius: 1rem;
  box-shadow: 0 0.55rem 1.1rem #04233565;
  color: #142d30;
}

.card-asanas { background-color: #ec7063; }
.card-pranayama { background-color: #4fb9c2; }
.card-mudra { background-color: #8fb04b; }
.card-meditation { background-color: #ffdb6d; }

.practice-icon {
  display: grid;
  place-items: center;
  width: clamp(3.1rem, 6.7vw, 5.2rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #102e2721;
}

.practice-icon img {
  width: 64%;
  height: auto;
}

.practice-card h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.12rem, 2.2vw, 1.35rem);
  font-weight: 800;
}

.practice-card p {
  margin-bottom: 0;
  line-height: 1.55;
}

.illustrated-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  max-width: 66rem;
  margin-inline: auto;
}

.feature-copy {
  color: var(--light-blue);
  line-height: 1.65;
}

.feature-copy a:not(.download-app) {
  color: var(--saffron);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.feature-copy .download-app {
  margin-top: 0.35rem;
}

.feature-note {
  max-width: 58ch;
}

.feature-art {
  display: block;
  width: min(100%, 27rem);
  height: auto;
  margin-inline: auto;
}

.plan-list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.plan-list > div {
  padding: 0.75rem 1rem;
  border: 1px solid #ffffff29;
  border-radius: 0.7rem;
  background: #ffffff0d;
}

.plan-list dt {
  color: var(--saffron);
  font-size: 1.06rem;
  font-weight: 800;
}

.plan-list dd {
  margin: 0.15rem 0 0;
}

.plans-copy p {
  margin-bottom: 0;
}

.get-app {
  text-align: center;
}

.site-footer {
  padding-block: 1.2rem;
  border-top: 1px solid #ffffff26;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p a {
  color: var(--saffron);
  text-underline-offset: 0.18em;
}

.facebook-link {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  color: var(--white);
  font-size: 1.8rem;
  text-decoration: none;
}

.facebook-link:hover {
  color: var(--saffron);
}

@media (max-width: 991.98px) {
  .site-nav .navbar-brand img {
    width: clamp(8.6rem, 23vw, 11.2rem);
  }

  .site-nav .navbar-toggler {
    min-height: 2.65rem;
  }

  .home-hero {
    display: block;
    min-height: 0;
    background: linear-gradient(#098779, #0a6870);
  }

  .home-hero-art {
    position: static;
    height: clamp(15rem, 51vw, 25rem);
  }

  .hero-inner {
    position: relative;
    margin-top: -0.6rem;
    padding-block: 0 1.8rem;
  }

  .hero-panel {
    width: min(100%, 31rem);
    margin-inline: auto;
  }

  .hero-panel h1 {
    font-size: clamp(2.6rem, 8vw, 4rem);
  }
}

@media (max-width: 767.98px) {
  .practice-grid,
  .illustrated-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-art {
    width: min(100%, 19rem);
  }

  .plans-copy {
    grid-row: 1;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
