:root {
  --bg: #080a0f;
  --bg-soft: #10131b;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --ink: #fbf7f0;
  --muted: rgba(251, 247, 240, 0.68);
  --soft: rgba(251, 247, 240, 0.46);
  --line: rgba(251, 247, 240, 0.14);
  --accent: #8dc8f3;
  --accent-warm: #f3a84d;
  --deep: #030407;
  --max: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, #0c1018 0%, #080a0f 38%, #040508 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--deep);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  transition: top 160ms ease;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(8, 10, 15, 0.62);
  border-bottom: 1px solid rgba(251, 247, 240, 0.08);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.nav-links a,
.footer a,
.text-link {
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer a:hover,
.footer a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
  opacity: 1;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(141, 200, 243, 0.42);
  outline-offset: 3px;
}

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(440px, 1.18fr);
  align-items: center;
  gap: 2.5rem;
  padding: 7.5rem max(24px, calc((100vw - var(--max)) / 2)) 5rem;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 10, 15, 0.98) 0%, rgba(8, 10, 15, 0.86) 42%, rgba(8, 10, 15, 0.38) 100%),
    linear-gradient(180deg, rgba(8, 10, 15, 0.18) 0%, rgba(8, 10, 15, 0.94) 100%),
    url("devotional-background.jpg") center / cover no-repeat;
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 10, 15, 0) 0%, var(--bg) 78%);
}

.hero-copyblock {
  max-width: 560px;
  animation: rise-in 720ms ease both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.statement-section h2,
.feature-row h2,
.trust-section h2,
.review-links h2,
.final-cta h2,
.doc-main h1 {
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  line-height: 0.95;
  font-weight: 800;
}

.hero h1 {
  max-width: 650px;
  font-size: 6.9rem;
}

.hero-copy {
  margin: 1.4rem 0 0;
  max-width: 550px;
  color: var(--muted);
  font-size: 1.24rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2rem;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.store-badge-link img {
  width: 180px;
  height: auto;
}

.text-link {
  color: var(--muted);
  font-weight: 800;
}

.hero-stage {
  min-height: 720px;
  position: relative;
  animation: stage-in 900ms ease 120ms both;
}

.phone-shot,
.media-phone img {
  display: block;
  border-radius: 30px;
  border: 1px solid rgba(251, 247, 240, 0.16);
  background: #0a0c12;
  box-shadow: 0 36px 96px rgba(0, 0, 0, 0.58);
}

.phone-shot {
  position: absolute;
  width: 34%;
  min-width: 260px;
  max-width: 390px;
}

.shot-main {
  right: 23%;
  top: 3%;
  z-index: 3;
}

.shot-library {
  right: 0;
  top: 18%;
  z-index: 2;
  opacity: 0.74;
  transform: translateY(22px) rotate(3deg) scale(0.9);
}

.shot-badges {
  left: 3%;
  top: 28%;
  z-index: 1;
  opacity: 0.62;
  transform: translateY(46px) rotate(-4deg) scale(0.82);
}

main {
  position: relative;
  z-index: 2;
}

.statement-section,
.feature-rhythm,
.trust-section,
.review-links,
.final-cta,
.doc-main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.statement-section {
  padding: 6rem 0 5rem;
  border-top: 1px solid var(--line);
}

.statement-section h2 {
  max-width: 900px;
  font-size: 4.8rem;
}

.statement-section p:not(.section-kicker) {
  max-width: 720px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.feature-rhythm {
  display: grid;
  gap: 4rem;
  padding: 2rem 0 6rem;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.feature-row.reverse {
  grid-template-columns: minmax(280px, 1.1fr) minmax(280px, 0.9fr);
}

.feature-row.reverse > div {
  order: 2;
}

.feature-row.reverse > figure {
  order: 1;
}

.feature-row h2,
.trust-section h2,
.review-links h2,
.final-cta h2 {
  max-width: 760px;
  font-size: 4rem;
}

.feature-row p:not(.section-kicker),
.trust-list p,
.review-links small,
.doc-main .lede,
.doc-section p,
.doc-section li {
  color: var(--muted);
}

.feature-row p:not(.section-kicker) {
  max-width: 560px;
  margin: 1rem 0 0;
  font-size: 1.1rem;
}

.media-phone {
  margin: 0;
  justify-self: center;
}

.media-phone img {
  width: min(414px, 100%);
}

.dual-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.small-phone img {
  width: min(310px, 100%);
}

.small-phone:first-child {
  transform: translateY(2rem);
}

.small-phone:last-child {
  transform: translateY(-1rem);
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 4rem;
  align-items: start;
  padding: 6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-list {
  display: grid;
  gap: 1.2rem;
}

.trust-list p {
  margin: 0;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.04rem;
}

.trust-list strong {
  color: var(--ink);
}

.review-links {
  padding: 6rem 0;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 2rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.link-grid a {
  min-height: 178px;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.link-grid a:hover,
.link-grid a:focus-visible {
  background: rgba(141, 200, 243, 0.12);
}

.link-grid span {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
}

.link-grid small {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

.final-cta {
  min-height: 50svh;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 6rem 0;
}

.final-cta .store-badge-link {
  margin-top: 1.8rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: #050609;
  color: var(--muted);
  padding: 3rem 0;
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer strong {
  color: var(--ink);
}

.footer p {
  margin: 0.35rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-content: start;
}

.footer a {
  color: var(--muted);
  font-weight: 800;
}

.legal-copy {
  max-width: 640px;
  color: var(--soft);
  font-size: 0.86rem;
}

.doc-main {
  max-width: 900px;
  padding: 9rem 0 5rem;
}

.doc-main h1 {
  font-size: 4.7rem;
}

.doc-main .lede {
  margin: 1.1rem 0 3rem;
  font-size: 1.15rem;
}

.doc-section {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.doc-section h2 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: 1.35rem;
}

.doc-section p,
.doc-section ul {
  margin: 0.85rem 0 0;
}

.doc-section ul {
  padding-left: 1.2rem;
}

.doc-section a {
  color: var(--accent);
  font-weight: 800;
}

.plain-list {
  list-style: none;
  padding-left: 0;
}

.support-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: inherit;
  padding: 0.9rem 0.95rem;
}

select {
  color-scheme: dark;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(141, 200, 243, 0.7);
}

.button,
button.button {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.3rem;
  background: var(--accent);
  color: #03111d;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: #b9def8;
  transform: translateY(-1px);
}

.button.secondary.dark {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.not-found-main {
  min-height: 62vh;
}

.hide-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.response-box {
  margin-top: 2rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.success {
  color: #8bd79d;
}

.error {
  color: #ff9c8d;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stage-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 7rem;
  }

  .hero h1 {
    font-size: 5.4rem;
  }

  .hero-stage {
    min-height: 650px;
  }

  .shot-main {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .shot-library {
    right: 6%;
  }

  .shot-badges {
    left: 6%;
  }

  .feature-row,
  .feature-row.reverse,
  .trust-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feature-row.reverse > div,
  .feature-row.reverse > figure {
    order: initial;
  }

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

@media (max-width: 720px) {
  .site-header {
    position: absolute;
  }

  .nav {
    width: min(100% - 28px, var(--max));
    min-height: 68px;
  }

  .brand span {
    max-width: 8.5rem;
    line-height: 1.08;
  }

  .nav-links {
    gap: 0.72rem;
    font-size: 0.86rem;
  }

  .nav-links a:nth-child(1),
  .nav-links a:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 7rem 20px 3.5rem;
    gap: 2rem;
  }

  .hero h1 {
    font-size: 4.1rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .hero-stage {
    min-height: 560px;
  }

  .phone-shot {
    min-width: 215px;
  }

  .shot-main {
    width: 58%;
  }

  .shot-library {
    width: 46%;
    right: 0;
    opacity: 0.58;
  }

  .shot-badges {
    width: 42%;
    left: 0;
    opacity: 0.5;
  }

  .statement-section,
  .feature-rhythm,
  .trust-section,
  .review-links,
  .final-cta,
  .doc-main,
  .footer-inner {
    width: min(100% - 32px, var(--max));
  }

  .statement-section h2,
  .feature-row h2,
  .trust-section h2,
  .review-links h2,
  .final-cta h2,
  .doc-main h1 {
    font-size: 3rem;
  }

  .statement-section,
  .review-links,
  .trust-section,
  .final-cta {
    padding: 4.5rem 0;
  }

  .feature-rhythm {
    gap: 1.2rem;
    padding-bottom: 4.5rem;
  }

  .feature-row {
    padding: 3rem 0;
  }

  .dual-media {
    align-items: flex-start;
  }

  .small-phone img {
    width: 48vw;
  }

  .link-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .doc-main {
    padding-top: 8rem;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 3.35rem;
  }

  .hero-stage {
    min-height: 500px;
  }

  .statement-section h2,
  .feature-row h2,
  .trust-section h2,
  .review-links h2,
  .final-cta h2,
  .doc-main h1 {
    font-size: 2.55rem;
  }

  .store-badge-link img {
    width: 164px;
  }
}
