:root {
  color-scheme: dark;
  --bg: #06070a;
  --bg-elevated: #0b0d12;
  --surface: rgba(18, 22, 31, 0.84);
  --surface-strong: rgba(24, 29, 40, 0.96);
  --surface-soft: rgba(40, 47, 66, 0.48);
  --border: rgba(134, 151, 187, 0.18);
  --border-strong: rgba(134, 151, 187, 0.28);
  --text: #f3f6fb;
  --muted: #c6cfdf;
  --muted-soft: #93a0b7;
  --accent: #8ea5ff;
  --accent-strong: #5d75dd;
  --accent-faint: rgba(111, 133, 225, 0.2);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top, rgba(86, 107, 191, 0.2), transparent 32%),
    radial-gradient(circle at 85% 18%, rgba(55, 68, 110, 0.22), transparent 18%),
    linear-gradient(180deg, #08090d 0%, #06070a 100%);
  color: var(--text);
  font-family: "Manrope", "Inter", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -1;
  pointer-events: none;
  filter: blur(90px);
}

.site-shell::before {
  top: -7rem;
  left: 50%;
  width: 34rem;
  height: 34rem;
  transform: translateX(-50%);
  background: rgba(78, 99, 191, 0.18);
}

.site-shell::after {
  right: -8rem;
  top: 18rem;
  width: 20rem;
  height: 20rem;
  background: rgba(55, 69, 116, 0.2);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 1rem 0 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(8, 10, 15, 0.82);
  backdrop-filter: blur(22px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(162, 175, 211, 0.22);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(118, 139, 222, 0.32), rgba(23, 28, 43, 0.88));
  color: #f7f9ff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.brand-text strong,
.hero__title,
.section-heading,
.faq__question,
.legal-title,
.pill {
  font-family: "Instrument Serif", Georgia, serif;
}

.brand-text strong {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
}

.brand-text span {
  color: var(--muted-soft);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.nav-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(19, 23, 33, 0.75);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-link:hover,
.button:hover,
.nav-link:focus-visible,
.button:focus-visible {
  border-color: var(--border-strong);
  background: rgba(28, 34, 48, 0.9);
  color: var(--text);
  transform: translateY(-1px);
}

.button--primary {
  border-color: rgba(111, 133, 225, 0.42);
  background: linear-gradient(135deg, rgba(100, 122, 214, 0.9), rgba(64, 81, 150, 0.96));
  color: white;
}

.button--primary:hover,
.button--primary:focus-visible {
  border-color: rgba(154, 171, 240, 0.46);
  background: linear-gradient(135deg, rgba(118, 139, 222, 0.96), rgba(75, 94, 170, 0.98));
}

.hero {
  padding: 4rem 0 1.5rem;
}

.hero__grid {
  display: grid;
  gap: 1.35rem;
}

.card,
.hero-card,
.legal-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(29, 35, 48, 0.58), rgba(12, 15, 21, 0.92)),
    rgba(12, 15, 21, 0.9);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 2.25rem 1.35rem 1.4rem;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto auto -6rem 45%;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 147, 232, 0.22), transparent 66%);
  pointer-events: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(154, 171, 240, 0.22);
  border-radius: 999px;
  background: rgba(84, 101, 171, 0.12);
  color: #dfe7ff;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
}

.hero__title {
  margin: 1.1rem 0 0;
  font-size: clamp(3.3rem, 14vw, 6.4rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  margin: 0.75rem 0 0;
  max-width: 14ch;
  color: var(--muted);
  font-size: clamp(1.3rem, 4.9vw, 2.25rem);
  line-height: 1.08;
}

.hero__lede {
  margin: 1.3rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1rem;
}

.hero__actions,
.footer__actions,
.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-meta__item {
  padding: 1rem;
  border: 1px solid rgba(154, 171, 240, 0.14);
  border-radius: var(--radius-md);
  background: rgba(13, 16, 24, 0.62);
}

.eyebrow {
  color: var(--muted-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-meta__item strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--text);
  font-size: 0.97rem;
  font-weight: 600;
}

.section {
  padding: 1rem 0;
}

.section-card {
  padding: 1.35rem;
}

.section-heading {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.section-intro {
  max-width: 42rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.grid--3 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

.info-block,
.step,
.notice,
.faq__item,
.disclaimer,
.legal-section {
  padding: 1.1rem;
  border: 1px solid rgba(154, 171, 240, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(16, 20, 29, 0.72);
}

.info-block h3,
.step h3,
.notice h3,
.disclaimer h3,
.legal-section h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.info-block p,
.step p,
.notice p,
.disclaimer p,
.legal-section p,
.legal-section li {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.step-list {
  counter-reset: protocol;
}

.step {
  counter-increment: protocol;
}

.step::before {
  content: "0" counter(protocol);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(84, 101, 171, 0.16);
  color: #dfe7ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.notice h3 {
  font-size: 1.02rem;
}

.notice__label {
  color: var(--muted-soft);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.premium-panel {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.disclaimer-list {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.disclaimer-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-top: 0.5rem;
  color: var(--muted);
}

.disclaimer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: rgba(154, 171, 240, 0.7);
}

.faq {
  margin-top: 1.5rem;
}

.faq__item {
  padding: 0;
  overflow: hidden;
}

.faq__question {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.1;
  cursor: pointer;
}

.faq__question span:last-child {
  float: right;
  color: var(--muted-soft);
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq__answer-inner {
  overflow: hidden;
}

.faq__answer p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}

.footer {
  padding: 1.5rem 0 3rem;
}

.footer__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.2rem;
}

.footer__copy {
  color: var(--muted-soft);
  font-size: 0.94rem;
}

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

.legal-card {
  padding: 1.4rem;
}

.legal-header {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.legal-title {
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 4.7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.legal-meta {
  color: var(--muted-soft);
  font-size: 0.9rem;
}

.legal-intro {
  max-width: 48rem;
  color: var(--muted);
}

.legal-sections {
  display: grid;
  gap: 1rem;
}

.legal-section ul {
  padding-left: 1.2rem;
  margin: 0.75rem 0 0;
}

.legal-section li + li {
  margin-top: 0.45rem;
}

.callout {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(154, 171, 240, 0.16);
  border-radius: var(--radius-md);
  background: rgba(74, 90, 156, 0.12);
  color: var(--muted);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js-enhanced [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.js-enhanced [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid rgba(170, 185, 255, 0.95);
  outline-offset: 2px;
}

@media (min-width: 700px) {
  .hero-card,
  .section-card,
  .legal-card {
    padding: 2rem;
  }

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

  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .premium-panel {
    grid-template-columns: 1.4fr 1fr;
  }

  .footer__card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.8fr);
    align-items: stretch;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
}

@media (max-width: 739px) {
  .nav-links {
    display: none;
  }

  .topbar__inner {
    padding-right: 0.85rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js-enhanced [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
