:root {
  color-scheme: dark;
  --background: #17241f;
  --background-deep: #0c1714;
  --surface: #213129;
  --surface-raised: #293b34;
  --selected-surface: #314437;
  --primary-text: #f4ead6;
  --secondary-text: #c6c2b5;
  --interactive-text: #f2e4c8;
  --accent: #b8a66f;
  --sage: #8fa07d;
  --border: #465d51;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--background);
  color: var(--primary-text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 1080px;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(23, 36, 31, 0.98) 0%,
      rgba(23, 36, 31, 0.88) 48%,
      rgba(23, 36, 31, 0.58) 100%
    ),
    linear-gradient(to bottom, rgba(23, 36, 31, 0.12) 42%, var(--background) 98%),
    url("assets/assets/images/dawn-path-dark.png") center 30% / cover no-repeat;
}

main,
footer {
  position: relative;
  z-index: 1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2 {
  color: var(--primary-text);
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

h1 {
  max-width: 650px;
  margin-bottom: 26px;
  font-size: clamp(58px, 6vw, 84px);
  line-height: 0.99;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(42px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.026em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

#how-it-works,
#inside-wwjs,
#download {
  scroll-margin-top: 104px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--interactive-text);
  color: var(--background-deep);
  font-weight: 700;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 96px;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(70, 93, 81, 0.44);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(12, 23, 20, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  border: 1px solid rgba(242, 228, 200, 0.46);
  border-radius: 50%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-copy strong {
  color: var(--interactive-text);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-copy span {
  margin-top: 4px;
  color: var(--secondary-text);
  font-size: 13px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: var(--secondary-text);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease;
}

nav a:hover {
  color: var(--primary-text);
}

nav .nav-download {
  padding-inline: 22px;
  border: 1px solid var(--accent);
  border-radius: 15px;
  background: rgba(184, 166, 111, 0.1);
  color: var(--interactive-text);
}

.hero,
.section,
.inside-inner,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  min-height: 890px;
  padding: 72px 0 104px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 410px);
  justify-content: space-between;
  align-items: center;
  gap: clamp(56px, 8vw, 110px);
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--secondary-text);
  font-size: clamp(18px, 1.7vw, 21px);
}

.hero-intro strong {
  color: var(--primary-text);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.secondary-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--interactive-text);
  font-weight: 650;
  text-decoration: none;
}

.secondary-label {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(242, 228, 200, 0.44);
}

.secondary-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--selected-surface);
  color: var(--interactive-text);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: background 180ms ease, transform 180ms ease;
}

.secondary-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.secondary-action:hover .secondary-icon {
  background: var(--surface-raised);
  transform: translateY(2px);
}

.privacy-note {
  margin: 22px 0 0;
  color: var(--secondary-text);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 13% -16% 9%;
  border-radius: 50%;
  background: rgba(184, 166, 111, 0.17);
  filter: blur(54px);
}

.hero-image-frame {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 900 / 1840;
  overflow: hidden;
  border: 1px solid rgba(184, 166, 111, 0.58);
  border-radius: 38px;
  background: var(--background-deep);
  box-shadow: var(--shadow);
}

.hero-image-frame::after,
.player-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(242, 228, 200, 0.12);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.intro-strip {
  position: relative;
  z-index: 1;
  padding: 30px 24px;
  border-block: 1px solid rgba(70, 93, 81, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 5vw, 70px);
  background: var(--background-deep);
  color: var(--primary-text);
}

.intro-strip p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
}

.intro-strip span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.section {
  padding-block: 124px;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--secondary-text);
  font-size: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  display: grid;
  align-content: start;
  gap: 10px;
  background:
    linear-gradient(145deg, rgba(49, 68, 55, 0.9), rgba(33, 49, 41, 0.97));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.15);
}

.step-card-listening {
  border-color: rgba(184, 166, 111, 0.86);
  background:
    linear-gradient(145deg, rgba(57, 71, 54, 0.98), rgba(38, 54, 45, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(184, 166, 111, 0.12),
    0 18px 48px rgba(0, 0, 0, 0.2);
}

.step-top {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.step-number {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(184, 166, 111, 0.72);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-raised);
  color: var(--interactive-text);
}

.step-icon-listening {
  border-color: rgba(184, 166, 111, 0.72);
  background: rgba(184, 166, 111, 0.16);
  color: var(--accent);
}

.step-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-card h3 {
  margin: 0;
  color: var(--primary-text);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.step-card p {
  margin: 0;
  color: var(--secondary-text);
  font-size: 15px;
}

.inside-section {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(70, 93, 81, 0.62);
  background: var(--background-deep);
}

.inside-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 23, 20, 0.52), rgba(12, 23, 20, 0.9) 66%),
    linear-gradient(to bottom, rgba(12, 23, 20, 0.08), var(--background-deep)),
    url("assets/assets/images/prayer-header-dark.png") center top / cover no-repeat;
  opacity: 0.76;
}

.inside-inner {
  position: relative;
  padding-block: 124px;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(70px, 9vw, 130px);
}

.player-showcase {
  width: 100%;
  margin: 0;
}

.player-image-frame {
  position: relative;
  width: min(350px, 100%);
  margin-inline: auto;
  overflow: hidden;
  border: 7px solid #080e0c;
  border-radius: 44px;
  background: var(--background);
  box-shadow: var(--shadow);
}

.player-image-frame img {
  width: 100%;
  height: auto;
}

.player-showcase figcaption {
  max-width: 340px;
  margin: 20px auto 0;
  color: var(--secondary-text);
  font-size: 14px;
  text-align: center;
}

.feature-copy h2 {
  max-width: 620px;
}

.feature-intro {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--secondary-text);
  font-size: 18px;
}

.feature-list {
  max-width: 650px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 20px 0 20px 38px;
  border-top: 1px solid rgba(70, 93, 81, 0.64);
}

.feature-list li:last-child {
  border-bottom: 1px solid rgba(70, 93, 81, 0.64);
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 29px;
  left: 4px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: rgba(184, 166, 111, 0.18);
  box-shadow: 0 0 0 6px rgba(184, 166, 111, 0.05);
}

.feature-list h3 {
  margin: 0 0 6px;
  color: var(--primary-text);
  font-size: 19px;
  font-weight: 700;
}

.feature-list p {
  margin: 0;
  color: var(--secondary-text);
  font-size: 15px;
}

.download-section {
  position: relative;
  overflow: hidden;
  padding: 112px 24px;
  background:
    linear-gradient(rgba(23, 36, 31, 0.76), rgba(12, 23, 20, 0.94)),
    url("assets/assets/images/prayer-header-dark.png") center 42% / cover no-repeat;
  text-align: center;
}

.download-section::before {
  content: "";
  position: absolute;
  top: -140px;
  left: 50%;
  width: 520px;
  height: 420px;
  border-radius: 50%;
  background: rgba(184, 166, 111, 0.11);
  filter: blur(78px);
  transform: translateX(-50%);
}

.download-content {
  position: relative;
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-content > img {
  margin-bottom: 24px;
  border: 2px solid rgba(242, 228, 200, 0.72);
  border-radius: 50%;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.download-content h2 {
  max-width: 780px;
}

.download-intro {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--secondary-text);
  font-size: 18px;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-store-actions {
  justify-content: flex-start;
}

.store-button {
  min-width: 196px;
  min-height: 64px;
  padding: 10px 18px;
  border: 1px solid rgba(242, 228, 200, 0.7);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  background: var(--interactive-text);
  color: var(--background-deep);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.store-button:hover {
  background: #fff8e9;
  transform: translateY(-2px);
}

.store-button svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.store-button span {
  display: flex;
  flex-direction: column;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.08;
  text-align: left;
}

.store-button small {
  margin-bottom: 3px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.begin-note {
  margin: 22px 0 0;
  color: var(--primary-text);
  font-weight: 700;
}

footer {
  min-height: 158px;
  padding-block: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--background);
}

footer p {
  margin: 0;
  color: var(--secondary-text);
  font-size: 13px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.legal-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--interactive-text);
  font-size: 14px;
  font-weight: 650;
  text-underline-offset: 5px;
}

.footer-brand .brand-copy strong {
  font-size: 21px;
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding-top: 64px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-image-frame {
    width: min(390px, calc(100% - 48px));
  }

  .inside-inner {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .feature-copy {
    max-width: 760px;
    margin-inline: auto;
  }

  .player-image-frame {
    width: min(350px, calc(100% - 48px));
  }
}

@media (max-width: 800px) {
  nav a:not(.nav-download) {
    display: none;
  }

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

  .step-card {
    min-height: 0;
  }

  footer {
    padding-block: 38px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    align-items: flex-start;
  }

  .legal-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  body::before {
    height: 980px;
    background:
      linear-gradient(rgba(23, 36, 31, 0.86), rgba(23, 36, 31, 0.76)),
      linear-gradient(to bottom, transparent 34%, var(--background) 96%),
      url("assets/assets/images/dawn-path-dark.png") center top / cover no-repeat;
  }

  .site-header {
    min-height: 84px;
    padding-inline: 16px;
  }

  .brand-copy strong {
    font-size: 23px;
  }

  .brand-copy span {
    font-size: 11px;
  }

  .brand > img {
    width: 48px;
    height: 48px;
  }

  .nav-download {
    min-height: 46px;
    padding-inline: 15px;
  }

  .hero,
  .section,
  .inside-inner,
  footer {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    gap: 52px;
    padding: 60px 0 78px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 64px);
  }

  h2 {
    font-size: clamp(38px, 11vw, 46px);
  }

  .hero-intro,
  .section-heading > p:last-child,
  .feature-intro,
  .download-intro {
    font-size: 17px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-image-frame {
    width: min(330px, calc(100% - 20px));
    border-radius: 32px;
  }

  .intro-strip {
    gap: 12px;
    padding-inline: 14px;
  }

  .intro-strip p {
    font-size: 15px;
  }

  .section,
  .inside-inner {
    padding-block: 88px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .step-card {
    padding: 26px;
  }

  .inside-inner {
    gap: 58px;
  }

  .feature-list li {
    padding-left: 32px;
  }

  .player-image-frame {
    width: min(310px, calc(100% - 24px));
    border-width: 6px;
    border-radius: 38px;
  }

  .download-section {
    padding: 84px 16px;
  }

  .store-actions {
    width: 100%;
    display: grid;
  }

  .store-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
