:root {
  --bg: #0f1113;
  --bg-soft: #14181d;
  --panel: #171d25;
  --panel-strong: #1b2430;
  --line: rgba(145, 160, 180, 0.16);
  --text: #f3efe6;
  --muted: #a7afba;
  --soft: #7d8793;
  --accent: #d2a35a;
  --accent-soft: rgba(210, 163, 90, 0.14);
  --accent-pink: #eadff0;
  --accent-blue: #4f658e;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(210, 163, 90, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(113, 143, 201, 0.08), transparent 24%),
    linear-gradient(180deg, #111315 0%, #0f1113 42%, #101317 100%);
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

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

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 10px 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.brand-name {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-tag {
  margin: 4px 0 0;
  color: var(--soft);
  font-size: 0.92rem;
}

.topnav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 38px 0 44px;
}

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

.hero h1,
.section-heading h2,
.story-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  max-width: 12ch;
}

.hero-text {
  max-width: 56ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

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

.hero-download-note {
  max-width: 52ch;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #141518;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-points span,
.story-points li {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.92rem;
}

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

.device {
  width: min(100%, 470px);
  background: linear-gradient(180deg, rgba(23, 29, 37, 0.95), rgba(16, 20, 25, 0.94));
  border: 1px solid rgba(135, 150, 171, 0.2);
  border-radius: 30px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.device-header,
.device-grid {
  display: flex;
  align-items: center;
}

.device-header {
  justify-content: space-between;
  color: var(--soft);
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.device-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(210, 163, 90, 0.12);
}

.device-title {
  font-weight: 800;
  color: var(--text);
}

.device-status {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.device-panel,
.device-card {
  background: linear-gradient(180deg, rgba(31, 39, 51, 0.96), rgba(21, 26, 34, 0.95));
  border: 1px solid rgba(135, 150, 171, 0.16);
  border-radius: 22px;
}

.device-panel {
  padding: 18px;
}

.panel-prayer h3 {
  margin: 10px 0 8px;
  color: var(--accent);
  font-size: 2.4rem;
  font-family: Georgia, "Times New Roman", serif;
}

.panel-prayer p:last-child,
.device-card span,
.panel-verse span {
  color: var(--muted);
  line-height: 1.6;
}

.panel-label {
  margin: 0;
  color: var(--soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.device-grid {
  gap: 12px;
  margin: 12px 0;
}

.device-card {
  flex: 1;
  min-height: 146px;
  padding: 16px;
}

.device-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1.2rem;
}

.panel-verse blockquote {
  margin: 12px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.6;
}

.section {
  padding: 34px 0;
}

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

.stat {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  color: var(--accent);
  font-size: 2.2rem;
  font-family: Georgia, "Times New Roman", serif;
  margin-bottom: 10px;
}

.stat span {
  color: var(--muted);
  line-height: 1.6;
}

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

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

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

.feature {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.feature h3,
.update-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.feature p,
.update-card p,
.story-copy p,
.footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.updates {
  position: relative;
}

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

.update-card {
  min-height: 176px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(24, 30, 39, 0.92), rgba(17, 21, 27, 0.88));
  border: 1px solid rgba(135, 150, 171, 0.14);
}

.story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: start;
}

.story-panel {
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(24, 29, 37, 0.94), rgba(17, 20, 25, 0.94));
  border: 1px solid rgba(135, 150, 171, 0.14);
}

.quote-box {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(234, 223, 240, 0.95), rgba(220, 208, 230, 0.92));
  color: var(--accent-blue);
}

.quote-box p {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}

.quote-box span {
  font-size: 0.94rem;
  font-weight: 700;
}

.story-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
}

.download-section {
  padding-top: 18px;
}

.download-box {
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(24, 29, 37, 0.94), rgba(17, 20, 25, 0.94));
  border: 1px solid rgba(135, 150, 171, 0.14);
}

.download-box p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 60ch;
}

.download-button {
  min-width: 180px;
}

.download-help {
  display: block;
  margin-top: 14px;
  color: var(--soft);
  font-size: 0.92rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--soft);
}

@media (max-width: 980px) {
  .hero,
  .story,
  .update-grid,
  .stats,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .device-grid {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, 100%);
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero h1 {
    max-width: none;
  }
}
