:root {
  color-scheme: dark;
  --background: #0d1012;
  --panel: #14191c;
  --raised: #1a2024;
  --border: #2a3338;
  --text: #f1eee6;
  --muted: #aeb6b8;
  --gold: #c9a96b;
  --gold-light: #ead7ad;
  --blue: #70a8bd;
  --blue-light: #a9d4e4;
  --ink: #17120a;
  --success: #8dc7ad;
  --danger: #e6a6a6;
  --shadow: 0 24px 80px rgb(0 0 0 / 28%);
  --radius: 18px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 78% 4%, rgb(112 168 189 / 10%), transparent 28rem),
    radial-gradient(circle at 16% 35%, rgb(201 169 107 / 8%), transparent 30rem),
    var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue-light);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--gold-light);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 4px;
  border-radius: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(42 51 56 / 80%);
  background: rgb(13 16 18 / 92%);
}

.header-inner,
.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

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

.site-nav a {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--raised);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
  min-height: 760px;
  padding-block: 88px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-light);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.35rem;
}

.lede {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--gold);
  border-radius: 13px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: var(--gold-light);
  color: var(--ink);
}

.button.secondary {
  border-color: var(--border);
  background: var(--panel);
  color: var(--text);
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.78;
}

.button-note {
  width: 100%;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.hero-mark {
  width: min(480px, 100%);
  margin-bottom: 26px;
}

.app-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(155deg, var(--panel), #101416 75%);
  box-shadow: var(--shadow);
}

.app-window::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgb(201 169 107 / 6%));
  content: "";
  pointer-events: none;
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.app-bar strong {
  font-family: Georgia, "Times New Roman", serif;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.app-content {
  padding: 22px;
}

.reference-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.verse-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--raised);
}

.verse-card p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.14rem;
  line-height: 1.75;
}

.verse-number {
  margin-right: 8px;
  color: var(--gold);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.75em;
  font-weight: 800;
  vertical-align: super;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 14px;
}

.feature-chip {
  padding: 11px 8px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.trust-strip {
  border-block: 1px solid var(--border);
  background: rgb(20 25 28 / 62%);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 26px 24px;
  border-right: 1px solid var(--border);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.trust-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  padding-block: clamp(78px, 10vw, 132px);
}

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

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--panel), rgb(20 25 28 / 68%));
}

.card-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid rgb(201 169 107 / 42%);
  border-radius: 12px;
  background: rgb(201 169 107 / 10%);
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: clamp(36px, 7vw, 90px);
}

.privacy-panel {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 31px;
}

.check-list li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid rgb(141 199 173 / 55%);
  border-radius: 50%;
  color: var(--success);
  content: "✓";
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid rgb(201 169 107 / 48%);
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 20%, rgb(112 168 189 / 13%), transparent 16rem),
    var(--panel);
}

.cta h2 {
  margin-bottom: 12px;
}

.cta p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.page-hero {
  max-width: 850px;
  padding-block: 84px 48px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.page-hero .meta {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.prose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: 60px;
  padding-bottom: 100px;
}

.prose {
  max-width: 800px;
}

.prose section {
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--border);
}

.prose section:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.prose h2 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.prose h3 {
  margin-top: 28px;
  margin-bottom: 8px;
}

.prose p,
.prose li {
  color: #d4d3cd;
}

.prose strong {
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 8px;
}

.notice {
  padding: 18px 20px;
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: rgb(112 168 189 / 9%);
}

.notice.gold {
  border-left-color: var(--gold);
  background: rgb(201 169 107 / 9%);
}

.page-nav {
  position: sticky;
  top: 98px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
}

.page-nav strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-nav a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.page-nav a:hover {
  color: var(--text);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 34px 0 48px;
}

.support-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.support-card h2 {
  font-size: 1.55rem;
}

.support-card p:last-child {
  margin-bottom: 0;
}

.faq details {
  border-top: 1px solid var(--border);
}

.faq details:last-child {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  padding: 20px 0;
  color: var(--text);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.faq details p,
.faq details ul {
  margin-top: 0;
  color: var(--muted);
}

.site-footer {
  padding-block: 46px;
  border-top: 1px solid var(--border);
  background: #0a0c0e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 30px;
}

.footer-brand {
  max-width: 480px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 24px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-legal {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
}

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

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 620px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .page-nav {
    display: none;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .header-inner {
    min-height: 64px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .site-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .site-nav a {
    flex: 0 0 auto;
    padding-inline: 8px;
    font-size: 0.78rem;
  }

  .hero {
    gap: 54px;
    padding-block: 58px 72px;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

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

  .hero-actions .button {
    text-align: center;
  }

  .app-content {
    padding: 16px;
  }

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

  .trust-grid,
  .card-grid,
  .support-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

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

  .cta .button {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: #fff;
    color: #111;
  }

  .site-header,
  .site-footer,
  .page-nav,
  .skip-link {
    display: none;
  }

  .prose p,
  .prose li,
  a {
    color: #222;
  }
}
