/* Fast, minimal CSS - no external fonts */
:root {
  --bg: #0b0b16;
  --card: #ffffff;
  --ink: #111427;
  --muted: #5b617a;
  --purple: #64176E;
  --orange: #D27E57;
  --ring: rgba(100, 23, 110, 0.22);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

/* Hero background - fixed full-screen */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: url('./bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: blur(8px) brightness(0.4);
  transform: scale(1.05);
}

/* Topbar - sticky */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 11, 22, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.brand__logo {
  height: 36px;
  width: auto;
  display: block;
}

.brand__meta {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem;
}

.brand__tag {
  font-size: 0.75rem;
  color: var(--muted);
}

.topbar__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* Buttons - purple/orange */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--purple), var(--orange));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--primary:hover,
.btn--primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 25px 70px rgba(100, 23, 110, 0.3);
  outline: none;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover,
.btn--ghost:focus {
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Main wrap - max-width ~980px */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Cards - white on dark */
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.card--hero {
  text-align: center;
  padding: 3rem 2rem;
}

.card__badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(100, 23, 110, 0.1);
  color: var(--purple);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.card h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 1rem;
  color: var(--ink);
  line-height: 1.2;
}

.card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1rem;
  color: var(--ink);
}

.card h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--ink);
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.ctaRow {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0 1.5rem;
}

.micro {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
}

.micro--dim {
  opacity: 0.7;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.bullets li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--ink);
}

.bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: bold;
}

.footer {
  text-align: center;
  padding: 2rem 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* FAQ */
.faq {
  margin-top: 1.5rem;
}

.faq__item {
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__item summary {
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  transition: background 0.2s ease;
}

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

.faq__item summary::after {
  content: '+';
  float: right;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--purple);
}

.faq__item[open] summary::after {
  content: '−';
}

.faq__item summary:hover {
  background: rgba(100, 23, 110, 0.05);
}

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

/* Modal - scroll lock only when open */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.modal__pill {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--purple), var(--orange));
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.modal__panel h2 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1.75rem;
}

.modal__panel p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.modal__row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0 1rem;
  flex-wrap: wrap;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  max-width: 400px;
  width: calc(100% - 3rem);
}

.toast[hidden] {
  display: none;
}

.toast__inner {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(100, 23, 110, 0.2);
}

.toast__inner strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.toast__inner p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.toast__row {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* Mobile responsive - fix horizontal overflow */
@media (max-width: 768px) {
  .topbar__inner {
    flex-direction: column;
    padding: 1rem;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .topbar__actions {
    width: 100%;
    justify-content: center;
  }

  .wrap {
    padding: 1.5rem 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .card--hero {
    padding: 2rem 1.5rem;
  }

  .ctaRow {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .modal {
    padding: 1rem;
  }

  .modal__panel {
    padding: 2rem 1.5rem;
  }

  .modal__row {
    flex-direction: column;
  }

  .toast {
    right: 1rem;
    left: 1rem;
    width: auto;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 1rem 0.75rem;
  }

  .card {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .card--hero {
    padding: 1.5rem 1.25rem;
  }

  .hero {
    filter: blur(6px) brightness(0.3);
  }
}

/* Accessibility */
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
