:root {
  --bg: #070a12;
  --bg2: #0b1020;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.65);
  --muted2: rgba(255, 255, 255, 0.55);
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-sm: 12px;
  --accent: #8b5cf6;
  --accent2: #22c55e;
  --accent3: #06b6d4;
  --danger: #f97316;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(1000px 600px at 20% -10%, rgba(139, 92, 246, 0.35), transparent 55%),
    radial-gradient(900px 600px at 110% 10%, rgba(6, 182, 212, 0.22), transparent 55%),
    radial-gradient(700px 500px at 60% 95%, rgba(34, 197, 94, 0.14), transparent 60%), var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  line-height: 1.45;
}

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.muted {
  color: var(--muted);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.skip-link:focus {
  left: 12px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(7, 10, 18, 0.88), rgba(7, 10, 18, 0.55));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand__mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.16);
}

.brand--small {
  letter-spacing: 0.06em;
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav__link {
  font-size: 14px;
  color: var(--muted);
  padding: 10px 8px;
  border-radius: 10px;
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.header__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 650;
  font-size: 14px;
  border: 1px solid transparent;
  box-shadow: none;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
}

.button--primary {
  background: linear-gradient(135deg, rgba(139, 92, 246, 1), rgba(6, 182, 212, 1));
  border-color: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(139, 92, 246, 0.22);
}

.button--primary:hover {
  filter: brightness(1.03);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
}

.button--secondary:hover,
.button--ghost:hover {
  background: rgba(255, 255, 255, 0.11);
}

.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.button--block {
  width: 100%;
}

.hero {
  padding: 64px 0 28px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 38px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-size: clamp(32px, 3.3vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 56ch;
}

.hero__bullets {
  margin: 18px 0 0;
  padding: 0 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
}

.hero__bullets li {
  margin: 8px 0;
}

.hero__cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.note {
  margin: 14px 0 0;
  color: var(--muted2);
  font-size: 13px;
}

.hero__visual {
  position: relative;
}

.panel {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel__header {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.panel__title {
  font-weight: 750;
}

.panel__meta {
  color: var(--muted2);
  font-size: 12px;
}

.panel__body {
  padding: 10px 12px 12px;
}

.row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr 0.6fr;
  gap: 10px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 12px;
}

.row + .row {
  margin-top: 8px;
}

.row--head {
  padding: 8px 10px;
  color: var(--muted2);
  font-size: 12px;
}

.row--foot {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.14);
}

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  white-space: nowrap;
}

.pill--good {
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.11);
}

.pill--mid {
  border-color: rgba(6, 182, 212, 0.26);
  background: rgba(6, 182, 212, 0.10);
}

.pill--warn {
  border-color: rgba(249, 115, 22, 0.26);
  background: rgba(249, 115, 22, 0.10);
}

.risk {
  font-size: 12px;
  font-weight: 700;
}

.risk--low {
  color: rgba(34, 197, 94, 0.95);
}

.risk--med {
  color: rgba(6, 182, 212, 0.95);
}

.risk--high {
  color: rgba(249, 115, 22, 0.95);
}

.conf {
  font-variant-numeric: tabular-nums;
}

.spark {
  position: absolute;
  inset: -18px -14px auto auto;
  width: 110px;
  height: 110px;
  filter: drop-shadow(0 18px 35px rgba(139, 92, 246, 0.18));
  pointer-events: none;
  opacity: 0.95;
}

.spark__dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
}

.spark__dot:nth-child(1) {
  left: 18px;
  top: 64px;
}
.spark__dot:nth-child(2) {
  left: 62px;
  top: 18px;
}
.spark__dot:nth-child(3) {
  left: 84px;
  top: 78px;
}

.section {
  padding: 58px 0;
}

.section--alt {
  background: radial-gradient(700px 500px at 20% 20%, rgba(139, 92, 246, 0.14), transparent 55%),
    radial-gradient(600px 450px at 90% 40%, rgba(6, 182, 212, 0.10), transparent 55%), rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section--cta {
  background: radial-gradient(800px 600px at 20% 10%, rgba(34, 197, 94, 0.12), transparent 60%),
    radial-gradient(800px 600px at 90% 40%, rgba(139, 92, 246, 0.18), transparent 60%), rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.section__head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.015em;
}

.section__sub {
  margin: 0;
  color: var(--muted);
}

.roles {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.roles__track {
  display: flex;
  gap: 0;
  width: max-content;
  padding: 16px 18px;
  animation: roles-scroll 18s linear infinite;
}

.roles:hover .roles__track {
  animation-play-state: paused;
}

.roles__list {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0 12px 0 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  white-space: nowrap;
}

.roles__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.roles__fade--left {
  left: 0;
  background: linear-gradient(to right, rgba(7, 10, 18, 1), rgba(7, 10, 18, 0));
}

.roles__fade--right {
  right: 0;
  background: linear-gradient(to left, rgba(7, 10, 18, 1), rgba(7, 10, 18, 0));
}

@keyframes roles-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 18px 18px;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.24);
}

.card h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.step {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.035);
  padding: 18px 18px;
}

.step__kicker {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.22);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 700;
}

.step h3 {
  margin: 12px 0 0;
  font-size: 16px;
}

.step p {
  margin: 10px 0 0;
  color: var(--muted);
}

.cta {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.cta__copy h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.cta__copy p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta__bullets {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.cta__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta__bullets li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent2), var(--accent3));
}

.form {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  padding: 18px;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.field__label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 650;
}

input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

input:focus {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.16);
}

.form__note {
  margin: 12px 0 0;
  color: var(--muted2);
  font-size: 12.5px;
}

.form__status {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.footer {
  padding: 28px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer__link {
  color: var(--muted);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
}

.footer__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .cta {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .roles__track {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  .roles__list--dup {
    display: none;
  }
  .roles {
    overflow: visible;
  }
}
