:root {
  --ink: #17212b;
  --muted: #5c6873;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #dfe5e8;
  --teal: #0f766e;
  --teal-dark: #0b5955;
  --sage: #dfeadf;
  --gold: #c8942d;
  --coral: #c75d4b;
  --navy: #18324a;
  --shadow: 0 18px 45px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--teal-dark);
  text-decoration-color: rgba(15, 118, 110, 0.3);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(223, 229, 232, 0.9);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(23, 33, 43, 0.14);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.main-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--sage);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(42px, 7vw, 96px) clamp(20px, 5vw, 72px) clamp(34px, 6vw, 70px);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 11vw, 8.4rem);
  letter-spacing: 0;
}

.hero-title {
  max-width: 100%;
  font-size: clamp(3rem, 8.2vw, 6.8rem);
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 8vw, 5.6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.hero-text {
  max-width: 600px;
  margin: 0 0 28px;
  color: #32414d;
  font-size: clamp(1.12rem, 2vw, 1.34rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--teal);
  color: #fff;
}

.button.primary:hover {
  background: var(--teal-dark);
  color: #fff;
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.hero-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1774 / 887;
  object-fit: cover;
}

.phone-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  justify-items: center;
}

.phone-frame {
  display: grid;
  gap: 12px;
  margin: 0;
  width: min(282px, 100%);
}

.phone-frame img {
  width: 100%;
  height: auto;
  border: 10px solid #101827;
  border-radius: 34px;
  background: #101827;
  box-shadow: var(--shadow);
}

.phone-frame figcaption {
  justify-self: center;
  min-width: 112px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
}

.phone-main {
  margin-top: 0;
}

.phone-offset {
  margin-top: 72px;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.intro-band {
  background: #eef5f1;
  border-block: 1px solid var(--line);
}

.soft-band {
  background: #f4f0e8;
  border-block: 1px solid #e4dbca;
}

.screen-band {
  background: #eef4f7;
  border-block: 1px solid var(--line);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 5vw, 72px);
}

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

.prose {
  color: #33424e;
  font-size: 1.05rem;
}

.prose p {
  margin-top: 0;
}

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

.feature-card,
.article-link,
.devotional-card,
.contact-panel,
.faq-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-card {
  min-height: 240px;
  padding: 22px;
}

.feature-icon {
  display: inline-grid;
  width: 42px;
  height: 32px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #f3e3bc;
  color: #6d4a07;
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-card p,
.article-link p,
.devotional-card p,
.contact-panel p,
.faq-list p,
.longform p,
.policy li {
  color: var(--muted);
}

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

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.screen-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 33, 43, 0.08);
  overflow: hidden;
}

.screen-image {
  padding: 18px 18px 14px;
  background: #f6fafb;
}

.screen-image img {
  width: 100%;
  height: auto;
  border: 8px solid #101827;
  border-radius: 28px;
  aspect-ratio: 828 / 1792;
  object-fit: cover;
  object-position: top center;
  background: #f7f9fb;
  box-shadow: 0 12px 26px rgba(23, 33, 43, 0.1);
}

.screen-card figcaption {
  display: grid;
  gap: 4px;
  min-height: 116px;
  padding: 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.screen-card strong {
  font-size: 1.05rem;
}

.screen-card span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.article-link {
  display: block;
  min-height: 220px;
  padding: 24px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.article-link:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(23, 33, 43, 0.1);
}

.article-link span,
.reference {
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.article-link strong {
  display: block;
  margin: 14px 0 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.contact-list div {
  display: grid;
  gap: 4px;
}

.contact-list dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  font-weight: 700;
}

.page-hero {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px) clamp(38px, 6vw, 70px);
  background:
    linear-gradient(135deg, rgba(223, 234, 223, 0.95), rgba(251, 250, 247, 0.86)),
    linear-gradient(90deg, rgba(200, 148, 45, 0.18), rgba(15, 118, 110, 0.12));
  border-bottom: 1px solid var(--line);
}

.page-hero > * {
  width: min(920px, 100%);
  margin-inline: auto;
}

.page-hero p:last-child {
  margin-bottom: 0;
  color: #33424e;
  font-size: 1.18rem;
}

.content-page {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 88px) 0;
}

.longform {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.longform:first-child {
  padding-top: 0;
}

.longform:last-child {
  border-bottom: 0;
}

.longform h2 {
  max-width: 820px;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
}

.longform p,
.policy li {
  max-width: 760px;
  font-size: 1.05rem;
}

.policy ul {
  padding-left: 22px;
}

.notice {
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid #d8c08a;
  border-radius: 8px;
  background: #fff7e3;
  color: #473714;
}

.devotional-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.devotional-card {
  min-height: 300px;
  padding: 24px;
}

.devotional-card h2 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: start;
}

.contact-panel,
.faq-list {
  padding: 26px;
}

.faq-list h3 {
  margin-top: 26px;
}

.faq-list h3:first-of-type {
  margin-top: 10px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #16232f;
  color: #fff;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-footer a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.34);
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero,
  .two-column,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .article-list,
  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone-showcase {
    gap: 18px;
  }
}

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

  .main-nav {
    justify-content: flex-start;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .feature-grid,
  .article-list,
  .screen-grid,
  .devotional-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .phone-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .phone-frame {
    width: min(300px, 78vw);
  }

  .phone-offset {
    margin-top: 0;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
