:root {
  --brand: #4338ca;
  --brand-2: #6d4ce0;
  --accent: #8b5cf6;
  --amber: #f2a93b;
  --ink: #16142a;
  --muted: #5b5870;
  --line: #e7e5f4;
  --paper: #ffffff;
  --wash: #f5f4ff;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 18px 40px -24px rgba(31, 22, 90, 0.45);
  --shadow-sm: 0 8px 22px -16px rgba(31, 22, 90, 0.5);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0;
}

a {
  color: inherit;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 12px 0;
  z-index: 50;
}
.skip:focus {
  left: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(31, 22, 90, 0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
}
.brand-mark svg {
  width: 100%;
  height: 100%;
}

.main-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s ease;
}
.main-nav a:hover {
  color: var(--brand);
}
.site-header .btn-sm {
  margin-left: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 14px 30px -14px rgba(67, 56, 202, 0.65);
}
.btn-primary:hover {
  box-shadow: 0 18px 36px -14px rgba(67, 56, 202, 0.75);
}
.btn-ghost {
  color: var(--brand);
  background: #fff;
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--wash);
}
.btn-invert {
  color: var(--brand);
  background: #fff;
}
.btn-invert:hover {
  background: #f4f1ff;
}
.btn-sm {
  padding: 10px 18px;
  font-size: 15px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 84px) 0 clamp(48px, 8vw, 96px);
  background: radial-gradient(120% 90% at 80% 0%, #efeaff 0%, #ffffff 52%),
    linear-gradient(180deg, #fbfaff 0%, #ffffff 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: #eeeaff;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 62px);
  font-weight: 700;
}
.hl {
  color: var(--brand);
  white-space: nowrap;
  background-image: linear-gradient(90deg, rgba(242, 169, 59, 0.6), rgba(139, 92, 246, 0.42));
  background-repeat: no-repeat;
  background-size: 100% 0.34em;
  background-position: 0 90%;
  border-radius: 6px;
}
.lead {
  margin-top: 20px;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 30ch;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
}
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

/* Hero art */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}
.brand-mark--xl {
  width: clamp(230px, 26vw, 330px);
  height: clamp(230px, 26vw, 330px);
  filter: drop-shadow(0 30px 45px rgba(67, 56, 202, 0.28));
  animation: float 6s ease-in-out infinite;
}
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 14px;
  padding: 11px 15px;
  font-size: 14px;
  font-weight: 500;
  max-width: 250px;
}
.chip em {
  font-style: normal;
  color: #c0392b;
  text-decoration: line-through;
}
.chip strong {
  color: var(--brand);
}
.dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  color: #fff;
  flex: none;
}
.dot-bad {
  background: #e0534b;
}
.dot-good {
  background: #1faa6f;
}
.chip-a {
  top: 6%;
  left: 2%;
  animation: float 7s ease-in-out infinite;
}
.chip-b {
  bottom: 8%;
  right: 0;
  animation: float 7s ease-in-out 1.2s infinite;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(56px, 8vw, 96px) 0;
}
.section-wash {
  background: var(--wash);
}
.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
}
.section-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  max-width: 58ch;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #d9d3f6;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 24px;
  border-radius: 15px;
  background: linear-gradient(135deg, #efeaff, #e2dbff);
  margin-bottom: 18px;
}
.card h3 {
  font-size: 20px;
  font-weight: 600;
}
.card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15.5px;
}

/* How */
.how {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  gap: 22px;
}
.steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-n {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}
.steps h3 {
  font-size: 18px;
  font-weight: 600;
}
.steps p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 3px;
}
.how-art {
  display: grid;
  place-items: center;
}
.mini-screen {
  width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 16px;
}
.mini-head {
  display: flex;
  gap: 6px;
  padding-bottom: 14px;
}
.mini-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5e2f3;
}
.mini-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 8px 4px 18px;
}
.node {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  border: 3px solid var(--line);
  color: #b4afcc;
}
.node-done {
  background: #e7f7ee;
  border-color: #bfe8d3;
  color: #1faa6f;
}
.node-now {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 0 8px rgba(109, 76, 224, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}
.mini-bar {
  height: 10px;
  border-radius: 999px;
  background: #eeeaff;
  overflow: hidden;
}
.mini-bar span {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

/* B2B */
.b2b {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 26px 0 30px;
  display: grid;
  gap: 13px;
}
.ticks li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-size: 16px;
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7f7ee;
  color: #1faa6f;
  font-size: 13px;
  font-weight: 700;
}
.b2b-art {
  display: grid;
  place-items: center;
}
.panel-card {
  width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  gap: 16px;
}
.panel-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.panel-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ddd6ff, #c7bdf7);
  flex: none;
}
.panel-line {
  height: 10px;
  border-radius: 999px;
  background: #ece9f7;
  flex: 1;
}
.panel-line--short {
  flex: 0 0 55%;
}
.panel-swatches {
  display: flex;
  gap: 10px;
  padding-top: 6px;
}
.panel-swatches span {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* Band */
.band {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 60%, var(--accent) 130%);
  color: #fff;
}
.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding-block: clamp(40px, 6vw, 64px);
}
.band h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
}
.band p {
  color: rgba(255, 255, 255, 0.86);
  margin-top: 8px;
}

/* Footer */
.site-footer {
  background: #100f1e;
  color: #b9b6cf;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-block: 26px;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
}
.footer-sep {
  opacity: 0.5;
}
.footer-spacer {
  flex: 1;
}
.site-footer a {
  color: #cfcbe6;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Motion ---------- */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(109, 76, 224, 0.16);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(109, 76, 224, 0.05);
  }
}
.eye {
  transform-origin: center;
  animation: blink 5.5s infinite;
}
@keyframes blink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.1);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .brand-mark--xl,
  .chip,
  .node-now,
  .eye {
    animation: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner,
  .how,
  .b2b {
    grid-template-columns: 1fr;
  }
  .hero-art {
    order: -1;
    min-height: 300px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
  }
  .lead {
    max-width: none;
  }
}
@media (max-width: 560px) {
  .wrap {
    padding-inline: 18px;
  }
  .chip {
    font-size: 12.5px;
    padding: 9px 12px;
    max-width: 200px;
  }
  .chip-a {
    left: -6px;
  }
  .band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .brand-name {
    font-size: 18px;
  }
}
