:root {
  --deep: #0d0d0f;
  --bg: #151416;
  --surface: #1f1d1f;
  --surface-soft: #252225;
  --primary: #f5f0e8;
  --secondary: #d8d0c4;
  --muted: #9f968a;
  --shadow: #5d554d;
  --accent: #c9a84c;
  --glow: #efd88a;
  --border: rgba(245, 240, 232, 0.11);
  --border-strong: rgba(201, 168, 76, 0.28);
  --max: 980px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--deep);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: var(--primary);
  background:
    radial-gradient(circle at 50% 8%, rgba(239, 216, 138, 0.08), transparent 28rem),
    linear-gradient(180deg, #151416 0%, var(--deep) 38rem, #09090a 100%);
}

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

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(245, 240, 232, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 240, 232, 0.012) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 62%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(13, 13, 15, 0.74);
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(245, 240, 232, 0.92) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(239, 216, 138, 0.22), rgba(201, 168, 76, 0.06) 58%, transparent 62%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 24px rgba(239, 216, 138, 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
}

.brand-note {
  font-size: 11px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(245, 240, 232, 0.07);
  border-radius: 999px;
  background: rgba(31, 29, 31, 0.58);
}

.nav-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 560;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--deep);
  background: var(--primary);
}

.hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 56px;
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: rgba(201, 168, 76, 0.82);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(42px, 8vw, 80px);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 720;
}

.lead {
  margin: 20px 0 0;
  max-width: 620px;
  color: var(--secondary);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.62;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--secondary);
  background: rgba(31, 29, 31, 0.82);
  font-size: 13px;
  font-weight: 650;
}

.button.primary {
  color: var(--deep);
  background: var(--primary);
  border-color: var(--primary);
}

.visual {
  min-height: 330px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 54%, rgba(245, 240, 232, 0.14), transparent 7rem),
    radial-gradient(circle at 50% 56%, rgba(201, 168, 76, 0.12), transparent 11rem),
    linear-gradient(180deg, rgba(31, 29, 31, 0.94), rgba(13, 13, 15, 0.68));
  border: 1px solid var(--border);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
}

.visual::before,
.visual::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.visual::before {
  width: 260px;
  height: 260px;
  border: 1px solid rgba(201, 168, 76, 0.18);
  box-shadow:
    inset 0 0 48px rgba(239, 216, 138, 0.04),
    0 0 70px rgba(239, 216, 138, 0.04);
}

.visual::after {
  width: 8px;
  height: 8px;
  background: var(--primary);
  box-shadow:
    0 0 18px rgba(245, 240, 232, 0.58),
    -42px 32px 0 -2px rgba(201, 168, 76, 0.72),
    44px 35px 0 -2px rgba(201, 168, 76, 0.55),
    -78px 78px 0 -3px rgba(201, 168, 76, 0.42),
    82px 79px 0 -3px rgba(201, 168, 76, 0.36);
}

.horizon {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 55%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 240, 232, 0.45), transparent);
}

.prayer-lines {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 9px;
}

.prayer-line {
  height: 9px;
  border-radius: 999px;
  background: rgba(245, 240, 232, 0.08);
}

.prayer-line:nth-child(1) {
  width: 72%;
}

.prayer-line:nth-child(2) {
  width: 92%;
}

.prayer-line:nth-child(3) {
  width: 54%;
}

.content {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 86px;
}

.page-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(31, 29, 31, 0.58);
}

.toc span {
  padding: 0 4px 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.toc a {
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
}

.toc a:hover {
  color: var(--primary);
  background: rgba(245, 240, 232, 0.06);
}

.legal-card,
.support-card,
.home-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(245, 240, 232, 0.045), transparent 32%),
    rgba(31, 29, 31, 0.68);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.legal-card {
  padding: clamp(22px, 4vw, 42px);
}

.legal-section + .legal-section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid rgba(245, 240, 232, 0.07);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 24px 0 8px;
  color: var(--secondary);
  font-size: 16px;
}

p,
li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

li + li {
  margin-top: 7px;
}

.small-note {
  color: var(--shadow);
  font-size: 12px;
}

.callout {
  margin: 22px 0;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(201, 168, 76, 0.07);
}

.callout p {
  margin: 0;
  color: var(--secondary);
}

.home-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.home-card,
.support-card {
  padding: 18px;
  min-height: 168px;
}

.home-card h2,
.support-card h2 {
  font-size: 20px;
}

.home-card p,
.support-card p {
  font-size: 14px;
}

.card-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 18px;
  border-radius: 16px;
  background: rgba(31, 29, 31, 0.64);
  border: 1px solid var(--border);
}

.faq-item h2 {
  font-size: 19px;
}

.footer {
  border-top: 1px solid rgba(245, 240, 232, 0.07);
  background: rgba(9, 9, 10, 0.72);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--shadow);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 14px;
}

@media (max-width: 820px) {
  .nav {
    min-height: 64px;
  }

  .brand-note {
    display: none;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }

  .hero {
    padding: 42px 0 28px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .visual {
    min-height: 250px;
  }

  .page-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .toc {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toc span {
    grid-column: 1 / -1;
  }

  .home-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .nav {
    width: min(100% - 24px, var(--max));
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    font-size: 14px;
  }

  .nav-links a {
    padding: 0 8px;
  }

  .hero,
  .content,
  .footer-inner {
    width: min(100% - 24px, var(--max));
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .legal-card {
    border-radius: 16px;
  }
}
