:root {
  --radius: 20px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dark .site-header {
  background: rgba(11, 18, 32, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.nav-link {
  position: relative;
  opacity: 0.82;
  transition: opacity 180ms ease;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 200ms ease;
  opacity: 0.55;
}

.nav-link:hover::after {
  width: 100%;
}

.mark {
  display: inline-flex;
  height: 36px;
  width: 36px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 120% at 15% 15%, rgba(124, 58, 237, 0.98), rgba(249, 115, 22, 0.90));
  box-shadow: 0 18px 50px rgba(124, 58, 237, 0.22);
}

.mark-inner {
  font-weight: 850;
  color: white;
  letter-spacing: -0.02em;
}

.section {
  padding: 76px 0;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(950px 540px at 12% 18%, rgba(124, 58, 237, 0.12), transparent 62%),
    radial-gradient(820px 560px at 78% 38%, rgba(249, 115, 22, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,0.86));
}

.dark .hero-bg {
  background:
    radial-gradient(950px 540px at 12% 18%, rgba(124, 58, 237, 0.16), transparent 62%),
    radial-gradient(820px 560px at 78% 38%, rgba(249, 115, 22, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(11,18,32,1), rgba(11,18,32,0.92));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  opacity: 0.92;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
}

.dark .badge {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #f97316);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 850;
  opacity: 0.60;
}

.h2 {
  margin-top: 10px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.75;
  opacity: 0.78;
}

@media (min-width: 768px) {
  .h2 { font-size: 40px; }
  .p { font-size: 17px; }
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

.dark .card {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.45);
}

.card-dark {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
}

.bg-ink {
  background: #0b1220;
  color: #fff;
}

.stat {
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 14px 14px;
  background: rgba(255,255,255,0.76);
}

.dark .stat {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.stat-top {
  font-weight: 850;
  letter-spacing: -0.02em;
}

.stat-sub {
  margin-top: 2px;
  font-size: 12px;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.pill {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  opacity: 0.75;
}

.dark .pill {
  border: 1px solid rgba(255,255,255,0.18);
}

.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 850;
  letter-spacing: -0.01em;
  transition: transform 120ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease, opacity 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  user-select: none;
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #f97316);
  color: #fff;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.18);
}

.btn-primary:hover {
  filter: saturate(1.06);
  box-shadow: 0 20px 52px rgba(249, 115, 22, 0.14);
}

.btn-secondary {
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.86);
  color: #0f172a;
}

.dark .btn-secondary {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.btn-secondary:hover {
  border-color: rgba(0,0,0,0.18);
  background: rgba(255,255,255,1);
}

.dark .btn-secondary:hover {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.09);
}

.btn-ghost {
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.72);
}

.dark .btn-ghost {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
}

.btn-ghost:hover {
  border-color: rgba(0,0,0,0.18);
  background: rgba(255,255,255,1);
}

.dark .btn-ghost:hover {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.09);
}

.btn-primary:active,
.btn-secondary:active,
.btn-ghost:active,
.btn-primary-dark:active {
  transform: translateY(1px);
}

.btn-primary-dark {
  background: linear-gradient(135deg, #7c3aed, #f97316);
  color: #fff;
}

.check {
  margin-top: 6px;
  height: 12px;
  width: 12px;
  border-radius: 4px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.28);
  position: relative;
  flex: 0 0 auto;
}

.check::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 4px;
  height: 7px;
  border-right: 2px solid rgba(124, 58, 237, 0.95);
  border-bottom: 2px solid rgba(124, 58, 237, 0.95);
  transform: rotate(35deg);
}

.dot, .dot-dark {
  margin-top: 7px;
  height: 7px;
  width: 7px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.dot { background: linear-gradient(135deg, #7c3aed, #f97316); }
.dot-dark { background: rgba(255, 255, 255, 0.65); }

.step {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 850;
  opacity: 0.70;
}

.mini {
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.70);
  padding: 12px 12px;
}

.dark .mini {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.mini-top {
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10px;
  opacity: 0.55;
}

.mini-sub {
  margin-top: 3px;
  font-weight: 750;
  font-size: 12px;
  opacity: 0.82;
}

.outcome {
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.70);
  padding: 12px 12px;
  font-weight: 650;
}

.dark .outcome {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.icon { width: 40px; height: 40px; }
.icon-xl { width: 64px; height: 64px; }

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

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

.faq-q {
  font-weight: 850;
  letter-spacing: -0.01em;
}

.faq-a {
  margin-top: 10px;
  opacity: 0.72;
  line-height: 1.6;
}

.label {
  display: block;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}

.field {
  width: 100%;
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  outline: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.field:focus {
  border-color: rgba(139, 92, 246, 0.52);
  background: rgba(255,255,255,0.10);
}

.note-ok {
  border-color: rgba(34, 197, 94, 0.35) !important;
  background: rgba(34, 197, 94, 0.10) !important;
}

.note-err {
  border-color: rgba(239, 68, 68, 0.35) !important;
  background: rgba(239, 68, 68, 0.10) !important;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: min(420px, calc(100vw - 36px));
}

.toast-inner {
  border-radius: 18px;
  background: rgba(11, 18, 32, 0.92);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
  padding: 14px 14px;
  color: #fff;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  backdrop-filter: blur(10px);
}

.toast-badge {
  height: 36px;
  width: 36px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.16);
  border: 1px solid rgba(249, 115, 22, 0.18);
  font-weight: 900;
}

.toast-title {
  font-weight: 850;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.toast-msg {
  margin-top: 3px;
  font-size: 13px;
  opacity: 0.82;
  line-height: 1.35;
}

.toast-close {
  margin-left: auto;
  height: 34px;
  width: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  font-size: 18px;
  line-height: 0;
  color: #fff;
  opacity: 0.85;
  transition: opacity 160ms ease, background-color 160ms ease;
}

.toast-close:hover {
  opacity: 1;
  background: rgba(255,255,255,0.10);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.hover-lift {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
}

.hover-lift-dark {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hover-lift-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.section-pattern {
  position: absolute;
  left: 50%;
  top: -120px;
  transform: translateX(-50%);
  width: min(1200px, 92vw);
  opacity: 0.65;
  pointer-events: none;
}

.section-pattern--bottom {
  top: auto;
  bottom: -160px;
  opacity: 0.50;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hover-lift,
  .hover-lift-dark,
  .btn-primary,
  .btn-secondary,
  .btn-ghost,
  .btn-primary-dark {
    transition: none !important;
    animation: none !important;
  }
}