:root {
  color-scheme: dark;
  --bg: #0c0818;
  --bg-elevated: rgba(21, 16, 38, 0.88);
  --surface: rgba(33, 24, 58, 0.72);
  --surface-strong: rgba(43, 31, 72, 0.88);
  --border: rgba(210, 187, 255, 0.18);
  --text: #f7f1ff;
  --muted: #c8badf;
  --accent: #ffd479;
  --accent-strong: #ffb84d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --max-width: 1120px;
  --header-offset: 7rem;
  font-family: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#content,
#how-it-works,
#benefits,
#faq {
  scroll-margin-top: calc(var(--header-offset) + 2rem);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(115, 74, 176, 0.22), transparent 32%),
    radial-gradient(circle at 20% 20%, rgba(255, 212, 121, 0.1), transparent 20%),
    linear-gradient(180deg, #130d24 0%, #090611 55%, #05030a 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.4) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 212, 121, 0.3) 0 1px, transparent 1px);
  background-position: 0 0, 32px 48px;
  background-size: 72px 72px, 96px 96px;
  opacity: 0.15;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #1a112c;
  background: var(--accent);
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
.section,
.site-footer {
  position: relative;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  background: rgba(8, 6, 16, 0.78);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand,
.site-nav a,
.cta {
  text-decoration: none;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
  color: #20132f;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(255, 184, 77, 0.24);
}

.cta-small {
  padding: 0.75rem 1.1rem;
}

.section {
  padding: 4.5rem 0 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 2rem;
  padding-top: 4rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1,
.section-heading h2,
.site-footer h2 {
  margin: 0;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 5.6rem);
  max-width: 11ch;
}

.lede,
.hero-note,
.panel p,
.faq-list p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.lede {
  max-width: 60ch;
  margin: 1.5rem 0 0;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 2rem;
}

.hero-note {
  margin: 0;
  max-width: 28ch;
}

.hero-card {
  justify-self: end;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(35, 25, 62, 0.9) 0%, rgba(18, 13, 33, 0.92) 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card img {
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
}

.section-heading {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

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

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

.panel {
  padding: 1.5rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-strong) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.panel h3,
.panel summary {
  margin-top: 0;
  font-size: 1.35rem;
}

.step-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  letter-spacing: 0.16em;
}

.trust-section,
.faq-section {
  padding-bottom: 0.5rem;
}

.trust-panel,
.faq-list {
  max-width: 56rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details[open] summary {
  margin-bottom: 0.75rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.site-footer {
  display: grid;
  gap: 1.5rem;
  padding: 4.5rem 0 3rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
  }

  .hero,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: stretch;
  }
}

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

@media (max-width: 640px) {
  .site-header,
  .section,
  .site-footer {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero h1 {
    max-width: none;
  }

  .footer-meta,
  .footer-links {
    flex-direction: column;
  }
}
