:root {
  color-scheme: light;
  --ink: #15211d;
  --muted: #60716a;
  --line: #d9e4dc;
  --paper: #f7faf5;
  --soft: #eef5ec;
  --mint: #247b60;
  --mint-dark: #125340;
  --gold: #c89f49;
  --rose: #9f5d62;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(21, 33, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 228, 220, 0.8);
  background: rgba(247, 250, 245, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
nav,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(21, 33, 29, 0.18);
}

nav {
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

nav a:hover,
footer a:hover {
  color: var(--mint-dark);
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  padding: clamp(42px, 8vw, 92px) clamp(20px, 6vw, 88px);
  background:
    linear-gradient(90deg, rgba(247, 250, 245, 0.96), rgba(247, 250, 245, 0.78) 48%, rgba(247, 250, 245, 0.92)),
    url("background.png") center / cover;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4.6rem, 13vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: #40534c;
  font-size: clamp(1.2rem, 2.2vw, 1.62rem);
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--mint-dark);
}

.button.secondary {
  color: var(--mint-dark);
  border-color: rgba(18, 83, 64, 0.22);
  background: rgba(255, 255, 255, 0.68);
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(100%, 350px);
  aspect-ratio: 0.51;
  padding: 14px;
  border: 1px solid rgba(21, 33, 29, 0.18);
  border-radius: 42px;
  background: #101815;
  box-shadow: var(--shadow);
}

.phone-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  border-radius: 31px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(18, 83, 64, 0.92), rgba(21, 33, 29, 0.96)),
    url("background.png") center / cover;
  overflow: hidden;
}

.app-icon-large {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.screen-kicker {
  margin: auto 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.phone-screen h2 {
  margin: 0;
  font-size: 3.4rem;
  line-height: 1;
}

.screen-time {
  margin: 6px 0 24px;
  color: var(--gold);
  font-size: 2.6rem;
  font-weight: 850;
}

.prayer-list {
  display: grid;
  gap: 10px;
}

.prayer-list span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 76px clamp(20px, 6vw, 88px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.disclaimer h2,
.legal-page h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
}

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

article,
.support-box {
  min-height: 168px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

article h3,
.support-box h2 {
  margin: 0 0 12px;
  font-size: 1.12rem;
}

article p,
.support-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.disclaimer {
  padding: 58px clamp(20px, 6vw, 88px);
  background: #e9f2ed;
}

.disclaimer p {
  max-width: 920px;
  color: #40534c;
  font-size: 1.08rem;
  line-height: 1.7;
}

.legal-page {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 92px;
}

.legal-page h1 {
  margin-bottom: 26px;
}

.legal-page h2 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
}

.legal-page p {
  color: #40534c;
  font-size: 1.06rem;
  line-height: 1.75;
}

.legal-page a {
  color: var(--mint-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

footer {
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  padding: 28px 20px 38px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--white);
}

footer span {
  font-weight: 750;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(4.3rem, 18vw, 7.8rem);
  }

  .phone-wrap {
    justify-content: flex-start;
  }

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

@media (max-width: 480px) {
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.86rem;
  }

  .button {
    width: 100%;
  }

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