:root {
  --iep-navy-950: #081a2f;
  --iep-navy-900: #0b2340;
  --iep-navy-800: #12365f;
  --iep-blue-700: #155aa3;
  --iep-blue-600: #1c6fbe;
  --iep-blue-100: #e9f3ff;
  --iep-gold-500: #f3b72f;
  --iep-gold-100: #fff6dc;
  --iep-ink: #152335;
  --iep-muted: #607086;
  --iep-border: #dce5ef;
  --iep-surface: #ffffff;
  --iep-surface-soft: #f4f7fb;
  --iep-success: #207a54;
  --iep-danger: #b42318;
  --iep-warning: #9a6700;
  --iep-radius-sm: 0.75rem;
  --iep-radius: 1.15rem;
  --iep-radius-lg: 1.6rem;
  --iep-shadow-sm: 0 10px 30px rgba(8, 35, 64, 0.07);
  --iep-shadow: 0 22px 60px rgba(8, 35, 64, 0.12);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--iep-ink);
  background: var(--iep-surface-soft);
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--iep-blue-700);
}

a:hover {
  color: var(--iep-navy-800);
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #fff;
  color: var(--iep-navy-950);
  box-shadow: var(--iep-shadow-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-nav {
  min-height: 72px;
  background: rgba(8, 26, 47, 0.96);
  box-shadow: 0 8px 30px rgba(3, 15, 28, 0.18);
  backdrop-filter: blur(14px);
}

.site-nav .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 0.8rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.site-nav .nav-link {
  margin-inline: 0.08rem;
  padding: 0.58rem 0.82rem !important;
  border-radius: 0.7rem;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.94rem;
  font-weight: 600;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible,
.site-nav .nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
}

.site-nav .dropdown-menu {
  padding: 0.55rem;
  border: 1px solid rgba(220, 229, 239, 0.8);
  border-radius: 1rem;
  box-shadow: var(--iep-shadow);
}

.site-nav .dropdown-item {
  padding: 0.65rem 0.8rem;
  border-radius: 0.65rem;
  color: var(--iep-ink);
  font-weight: 600;
}

.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus {
  background: var(--iep-blue-100);
  color: var(--iep-blue-700);
}

.site-main {
  min-height: calc(100vh - 240px);
}

.hero-home,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(47, 137, 226, 0.28), transparent 32%),
    radial-gradient(circle at 15% 90%, rgba(243, 183, 47, 0.17), transparent 30%),
    linear-gradient(135deg, var(--iep-navy-950), var(--iep-navy-800));
}

.hero-home::after,
.page-hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.025), 0 0 0 8rem rgba(255, 255, 255, 0.018);
  pointer-events: none;
}

.hero-home {
  padding: 6.4rem 0 5.7rem;
}

.page-hero {
  padding: 4.7rem 0 4.2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.44rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.page-hero .hero-title {
  font-size: clamp(2.1rem, 5vw, 3.65rem);
}

.hero-copy {
  max-width: 680px;
  margin-top: 1.3rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.btn-brand,
.btn-soft-light,
.btn-outline-brand {
  min-height: 46px;
  padding: 0.7rem 1.05rem;
  border-radius: 0.8rem;
  font-weight: 750;
}

.btn-brand {
  border: 1px solid var(--iep-blue-600);
  background: var(--iep-blue-600);
  color: #fff;
  box-shadow: 0 10px 22px rgba(28, 111, 190, 0.24);
}

.btn-brand:hover,
.btn-brand:focus-visible {
  border-color: var(--iep-blue-700);
  background: var(--iep-blue-700);
  color: #fff;
  transform: translateY(-1px);
}

.btn-soft-light {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-soft-light:hover,
.btn-soft-light:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-outline-brand {
  border: 1px solid var(--iep-blue-600);
  color: var(--iep-blue-700);
  background: transparent;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus-visible {
  border-color: var(--iep-blue-700);
  background: var(--iep-blue-700);
  color: #fff;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.72rem;
}

.app-badges img {
  display: block;
  height: 52px;
  width: auto;
}

.hero-device {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin-inline: auto;
}

.hero-app-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(18px);
}

.hero-app-icon {
  width: 136px;
  height: 136px;
  border-radius: 2rem;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-stat {
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.07);
}

.hero-stat strong {
  display: block;
  color: #fff;
  font-size: 1.12rem;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.82rem;
}

.content-section {
  padding: 5rem 0;
}

.content-section.alt {
  background: #fff;
}

.section-kicker {
  margin-bottom: 0.65rem;
  color: var(--iep-blue-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title {
  max-width: 760px;
  margin-bottom: 0.95rem;
  color: var(--iep-navy-950);
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  font-weight: 830;
  line-height: 1.14;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-copy {
  max-width: 700px;
  color: var(--iep-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.feature-card,
.info-card,
.testimonial-card,
.form-card,
.legal-card,
.hymn-card {
  height: 100%;
  border: 1px solid var(--iep-border);
  border-radius: var(--iep-radius);
  background: var(--iep-surface);
  box-shadow: var(--iep-shadow-sm);
}

.feature-card,
.info-card,
.testimonial-card {
  padding: 1.55rem;
}

.feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #c6d6e7;
  box-shadow: var(--iep-shadow);
}

.icon-box {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 0.9rem;
  background: var(--iep-blue-100);
  color: var(--iep-blue-700);
  font-size: 1.35rem;
}

.feature-card h3,
.info-card h3 {
  margin-bottom: 0.55rem;
  color: var(--iep-navy-950);
  font-size: 1.08rem;
  font-weight: 800;
}

.feature-card p,
.info-card p,
.testimonial-card p {
  margin-bottom: 0;
  color: var(--iep-muted);
  line-height: 1.68;
}

.about-panel {
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid var(--iep-border);
  border-radius: var(--iep-radius-lg);
  background: linear-gradient(145deg, #fff, #f5f9fd);
  box-shadow: var(--iep-shadow-sm);
}

.about-logo-wrap {
  display: grid;
  min-height: 300px;
  place-items: center;
  border-radius: var(--iep-radius-lg);
  background:
    radial-gradient(circle at 50% 45%, rgba(28, 111, 190, 0.15), transparent 42%),
    var(--iep-navy-950);
}

.about-logo-wrap img {
  width: min(56%, 220px);
  border-radius: 2rem;
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.24);
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--iep-muted);
}

.check-list li::before {
  content: "✓";
  display: inline-grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #e8f7ef;
  color: var(--iep-success);
  font-size: 0.78rem;
  font-weight: 900;
}

.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 0.8rem;
  right: 1.2rem;
  color: var(--iep-blue-100);
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
}

.testimonial-author {
  display: block;
  margin-top: 1rem;
  color: var(--iep-navy-900);
  font-size: 0.88rem;
  font-weight: 800;
}

.accordion.faq-accordion {
  --bs-accordion-border-color: var(--iep-border);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(28, 111, 190, 0.12);
  --bs-accordion-active-bg: var(--iep-blue-100);
  --bs-accordion-active-color: var(--iep-navy-900);
  overflow: hidden;
  border: 1px solid var(--iep-border);
  border-radius: var(--iep-radius);
  box-shadow: var(--iep-shadow-sm);
}

.faq-accordion .accordion-button {
  padding: 1.05rem 1.2rem;
  font-weight: 760;
}

.download-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.4rem);
  border-radius: var(--iep-radius-lg);
  color: #fff;
  background: linear-gradient(135deg, var(--iep-navy-950), var(--iep-blue-700));
  box-shadow: var(--iep-shadow);
}

.download-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.form-card {
  padding: clamp(1.35rem, 4vw, 2rem);
}

.form-label {
  margin-bottom: 0.45rem;
  color: var(--iep-navy-900);
  font-size: 0.9rem;
  font-weight: 750;
}

.form-control,
.form-select {
  min-height: 48px;
  border-color: #cfdbe8;
  border-radius: 0.8rem;
  color: var(--iep-ink);
  background-color: #fff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--iep-blue-600);
  box-shadow: 0 0 0 0.23rem rgba(28, 111, 190, 0.12);
}

.form-check-input:checked {
  border-color: var(--iep-blue-600);
  background-color: var(--iep-blue-600);
}

.auth-shell {
  padding: 4.5rem 0 5rem;
}

.auth-aside {
  min-height: 100%;
  padding: clamp(1.7rem, 4vw, 2.5rem);
  border-radius: var(--iep-radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(243, 183, 47, 0.2), transparent 30%),
    linear-gradient(145deg, var(--iep-navy-950), var(--iep-navy-800));
  box-shadow: var(--iep-shadow);
}

.auth-aside p,
.auth-aside li {
  color: rgba(255, 255, 255, 0.76);
}

.legal-wrap {
  padding: 4rem 0 5rem;
}

.legal-card {
  padding: clamp(1.4rem, 4vw, 3rem);
}

.legal-wrap > .container.legal-card {
  max-width: 920px;
}

.legal-card h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.8rem;
  color: var(--iep-navy-950);
  font-size: 1.32rem;
  font-weight: 820;
  letter-spacing: -0.015em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #526278;
  line-height: 1.78;
}

.legal-card li + li {
  margin-top: 0.45rem;
}

.notice-box {
  padding: 1.2rem 1.3rem;
  border: 1px solid #f0d38c;
  border-radius: var(--iep-radius);
  background: var(--iep-gold-100);
  color: #634d18;
}

.ads-intro-section {
  padding-bottom: 2.5rem;
}

.ads-intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid var(--iep-border);
  border-radius: var(--iep-radius-lg);
  background: linear-gradient(145deg, #fff, #f6f9fc);
  box-shadow: var(--iep-shadow-sm);
}

.ads-free-badge {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  min-width: min(100%, 290px);
  padding: 1rem 1.1rem;
  border: 1px solid #cfe8d9;
  border-radius: var(--iep-radius);
  background: #edf9f2;
}

.ads-free-badge strong,
.ads-free-badge span {
  display: block;
}

.ads-free-badge strong {
  color: #155d3f;
}

.ads-free-badge span:not(.ads-free-icon) {
  margin-top: 0.18rem;
  color: #527063;
  font-size: 0.84rem;
}

.ads-free-icon {
  display: grid !important;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #d7f0e2;
  color: var(--iep-success);
  font-weight: 900;
}

.ads-info-card {
  position: relative;
  overflow: hidden;
}

.ads-info-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -38px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--iep-blue-100);
  opacity: 0.65;
  pointer-events: none;
}

.ads-resource-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.ads-resource-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--iep-border);
  border-radius: var(--iep-radius-sm);
  background: #fff;
}

.ads-resource-item > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--iep-blue-100);
  color: var(--iep-blue-700);
  font-size: 0.78rem;
  font-weight: 850;
}

.ads-resource-item strong {
  color: var(--iep-navy-950);
}

.ads-resource-item p {
  margin: 0.25rem 0 0;
  color: var(--iep-muted);
  line-height: 1.62;
}

.ads-side-card {
  position: sticky;
  top: 100px;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--iep-radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(243, 183, 47, 0.2), transparent 30%),
    linear-gradient(145deg, var(--iep-navy-950), var(--iep-navy-800));
  box-shadow: var(--iep-shadow);
}

.ads-side-card .section-kicker {
  color: rgba(255, 255, 255, 0.65);
}

.ads-side-card p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.72;
}

.ads-divider {
  margin: 1.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ads-thanks-panel {
  background:
    radial-gradient(circle at 85% 20%, rgba(243, 183, 47, 0.16), transparent 30%),
    linear-gradient(135deg, var(--iep-navy-950), var(--iep-blue-700));
}

.danger-box {
  padding: 1.25rem 1.35rem;
  border: 1px solid #f5c2c0;
  border-radius: var(--iep-radius);
  background: #fff2f1;
}

.danger-box h3 {
  color: #912018;
  font-size: 1rem;
  font-weight: 850;
}

.search-panel {
  position: sticky;
  top: 84px;
  z-index: 1010;
  margin-top: -2.1rem;
  padding: 1rem;
  border: 1px solid var(--iep-border);
  border-radius: var(--iep-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--iep-shadow);
}

.search-input-wrap {
  position: relative;
}

.search-input-wrap .search-icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--iep-muted);
  pointer-events: none;
}

.search-input-wrap .form-control {
  padding-left: 2.75rem;
  padding-right: 3rem;
}

.search-clear {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: #eaf0f6;
  color: var(--iep-muted);
  font-size: 1.25rem;
  line-height: 1;
}

.search-clear:hover,
.search-clear:focus-visible {
  background: #dce7f1;
  color: var(--iep-navy-900);
}

.search-help {
  margin-top: 0.5rem;
  color: var(--iep-muted);
  font-size: 0.78rem;
}

.search-help kbd {
  padding: 0.08rem 0.38rem;
  border: 1px solid #cbd7e3;
  border-bottom-width: 2px;
  border-radius: 0.35rem;
  background: #fff;
  color: var(--iep-navy-900);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
}

.source-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.58rem;
  border-radius: 999px;
  background: #e8f7ef;
  color: var(--iep-success);
  font-size: 0.72rem;
  font-weight: 800;
}

.source-badge.is-cached {
  background: var(--iep-gold-100);
  color: var(--iep-warning);
}

.hymn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hymn-card {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
}

.hymn-number {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 28px;
  margin-bottom: 0.85rem;
  padding: 0.25rem 0.58rem;
  border-radius: 999px;
  background: var(--iep-blue-100);
  color: var(--iep-blue-700);
  font-size: 0.74rem;
  font-weight: 850;
}

.hymn-card h3 {
  margin-bottom: 0.55rem;
  color: var(--iep-navy-950);
  font-size: 1.02rem;
  font-weight: 800;
}

.hymn-preview {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 1rem;
  color: var(--iep-muted);
  line-height: 1.65;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.hymn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.empty-state,
.loading-state {
  padding: 3rem 1.4rem;
  border: 1px dashed #cbd9e7;
  border-radius: var(--iep-radius);
  background: #fff;
  text-align: center;
}

.empty-state .state-icon,
.loading-state .state-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: var(--iep-blue-100);
  color: var(--iep-blue-700);
  font-size: 1.5rem;
}

.site-footer {
  padding: 2.8rem 0 2rem;
  color: rgba(255, 255, 255, 0.72);
  background: var(--iep-navy-950);
}

.site-footer .footer-brand {
  color: #fff;
  font-weight: 820;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-meta {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
}

.alert {
  border-radius: 0.85rem;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1030;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: var(--iep-navy-900);
  color: #fff;
  box-shadow: 0 12px 30px rgba(8, 26, 47, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--iep-blue-700);
  color: #fff;
}

.input-group > .btn {
  min-width: 88px;
  border-color: #cfdbe8;
  font-weight: 700;
}

.focus-ring:focus-visible,
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(75, 156, 235, 0.45);
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .ads-intro-panel {
    grid-template-columns: 1fr;
  }

  .ads-side-card {
    position: static;
  }

  .site-nav .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
  }

  .hero-home {
    padding: 4.5rem 0;
  }

  .hero-device {
    margin-top: 2.5rem;
  }

  .hymn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .content-section {
    padding: 3.8rem 0;
  }

  .page-hero {
    padding: 3.6rem 0 3.25rem;
  }

  .app-badges img {
    height: 48px;
  }

  .hymn-grid {
    grid-template-columns: 1fr;
  }

  .search-panel {
    top: 78px;
  }

  .legal-wrap,
  .auth-shell {
    padding: 3rem 0 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
