:root {
  --primary: #1b7a5c;
  --primary-dark: #124f3b;
  --primary-light: #e8f3ef;
  --secondary: #0f5741;
  --accent: #f4a93b;
  --bg: #faf8f3;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #8e8e93;
  --border: #e5e7eb;
  --shadow: 0 12px 40px rgba(15, 87, 65, 0.08);
  --radius: 16px;
  --max-width: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(250, 248, 243, 0.88);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand span {
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-decoration: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(27, 122, 92, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--border);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 169, 59, 0.12), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(27, 122, 92, 0.18), transparent 40%),
    linear-gradient(180deg, var(--primary-light), var(--bg));
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--secondary);
}

.hero p.lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0 0 1.75rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
}

.store-badge small {
  display: block;
  opacity: 0.75;
  font-size: 0.7rem;
}

.store-badge strong {
  display: block;
  font-size: 0.95rem;
}

.store-badge.disabled {
  opacity: 0.55;
  pointer-events: none;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hero-card-top strong {
  color: var(--secondary);
}

.hero-card-top span {
  color: var(--accent);
  font-weight: 700;
}

.prayer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.prayer-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.prayer-list li:last-child {
  border-bottom: none;
}

.prayer-list .active {
  color: var(--primary);
  font-weight: 700;
}

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.75rem;
  color: var(--secondary);
}

.section-header p {
  margin: 0;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.cta {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
}

.cta h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta p {
  margin: 0 0 1.25rem;
  opacity: 0.92;
}

.cta .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-grid h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  color: var(--secondary);
}

.legal-meta {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.legal-content h2 {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.65rem;
  color: var(--secondary);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
}

.legal-content ul {
  padding-left: 1.25rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-links .hide-mobile {
    display: none;
  }
}
