:root {
  --radius: 18px;
}

.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(15, 23, 42, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.nav-link {
  position: relative;
  opacity: 0.78;
  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.65;
}

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

.section {
  padding: 72px 0;
}

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

.h2 {
  margin-top: 10px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  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; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 18% 12%, rgba(37, 99, 235, 0.14), transparent 60%),
    radial-gradient(700px 450px at 75% 35%, rgba(15, 23, 42, 0.08), transparent 55%);
}

.dark .hero-bg {
  background:
    radial-gradient(900px 500px at 18% 12%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(700px 450px at 75% 35%, rgba(255, 255, 255, 0.06), transparent 55%);
}

.hero-orbit {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(0.2px);
  opacity: 0.7;
  animation: floaty 9s ease-in-out infinite;
  mix-blend-mode: multiply;
}

.dark .hero-orbit {
  mix-blend-mode: screen;
  opacity: 0.55;
}

.hero-orbit--a {
  width: 520px;
  height: 520px;
  left: -140px;
  top: 80px;
  background: radial-gradient(circle at 30% 30%, rgba(37,99,235,0.22), transparent 62%);
}

.hero-orbit--b {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 140px;
  background: radial-gradient(circle at 50% 40%, rgba(15,23,42,0.12), transparent 65%);
}

.dark .hero-orbit--b {
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.10), transparent 65%);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.84);
  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: #0f172a;
  color: #fff;
}

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

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

.kpi-top {
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.pill {
  font-size: 11px;
  font-weight: 700;
  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: 800;
  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;
  user-select: none;
  will-change: transform;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.26);
}

.btn-secondary {
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.85);
  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.70);
}

.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: #2563eb;
  color: #fff;
}

.btn-primary-dark:hover {
  background: #1d4ed8;
}

.check {
  margin-top: 6px;
  height: 12px;
  width: 12px;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.35);
  position: relative;
  flex: 0 0 auto;
}

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

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

.dot { background: rgba(37, 99, 235, 0.9); }
.dot-dark { background: rgba(255, 255, 255, 0.65); }

.step {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 800;
  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: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10px;
  opacity: 0.55;
}

.mini-sub {
  margin-top: 3px;
  font-weight: 700;
  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: 600;
}

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

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

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

.label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  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(59, 130, 246, 0.55);
  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(15, 23, 42, 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(37, 99, 235, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.32);
  font-weight: 900;
}

.toast-title {
  font-weight: 800;
  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.55;
  pointer-events: none;
}

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

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