:root {
  --accent: #8f54e4;
  --navy: #004b87;
  --ink: #0d0f1a;
  --ink-2: #151829;
  --fg: #1d2433;
  --muted: #5d6779;
  --line: rgba(20, 35, 60, 0.1);
  --bg: #ffffff;
  --bg-2: #f6f5fb;
  --radius: 20px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --glow: color-mix(in srgb, var(--accent) 55%, transparent);
  --accent-text: color-mix(in srgb, var(--accent) 80%, #000);
  --gutter: clamp(16px, 4vw, 48px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

code,
kbd {
  font-family: var(--mono);
  font-size: 0.86em;
}

code {
  padding: 1px 6px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: color-mix(in srgb, var(--accent) 80%, #000);
}

kbd {
  display: inline-block;
  padding: 0 6px;
  border-radius: 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  background: #fff;
  color: var(--fg);
  line-height: 1.5;
}

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

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.15s ease, background 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-small {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 35%, transparent);
}

.btn-primary:hover {
  box-shadow: 0 0 8px var(--glow), 0 0 16px var(--glow), 0 0 28px var(--glow);
}

.btn-glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ------------------------------------------------------------------ nav */

.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1120px, calc(100% - 2 * 16px));
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
  background: rgba(13, 15, 26, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo.small {
  font-size: 15px;
}

.mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 22%, transparent 23%), linear-gradient(135deg, #b48cff, #8f54e4 55%, #5a2fc0);
  box-shadow: 0 0 0 3px rgba(143, 84, 228, 0.28), 0 0 14px rgba(143, 84, 228, 0.6);
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #fff;
}

.label-short {
  display: none;
}

.nav-toggle {
  display: none;
}

@media (max-width: 920px) {
  .nav {
    gap: 8px;
  }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    border-radius: 20px;
    /* no backdrop-filter: it can't blur through the nav's own, so go nearly opaque */
    background: rgba(13, 15, 26, 0.96);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 16px 40px rgba(0, 0, 0, 0.35);
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.16s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.2s;
  }
  .nav.open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.16s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .nav-links a {
    padding: 12px 14px;
    border-radius: 12px;
  }
  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.15s ease;
  }
  .nav.open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav.open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav.open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .label-long {
    display: none;
  }
  .label-short {
    display: inline;
  }
  .nav .btn {
    margin-left: auto;
  }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: 150px var(--gutter) 110px;
  max-width: 1280px;
  margin: 0 auto;
  color: #fff;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -2;
  background:
    radial-gradient(1000px 520px at 85% 10%, rgba(143, 84, 228, 0.35), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(0, 75, 135, 0.45), transparent 60%),
    var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b48cff;
  animation: beacon 1.8s ease-out infinite;
}

@keyframes beacon {
  0% {
    box-shadow: 0 0 0 0 rgba(180, 140, 255, 0.7);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(180, 140, 255, 0);
  }
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
}

.grad {
  background: linear-gradient(100deg, #d6c2ff, #a879ff 40%, #6fb7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede-strong {
  max-width: 520px;
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #fff;
}

.lede {
  max-width: 520px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-top: 32px;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cta-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

.hero-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.hero-promises li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.tick {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(143, 84, 228, 0.25);
  box-shadow: inset 0 0 0 1px rgba(180, 140, 255, 0.5);
}

.tick::after {
  content: "";
  width: 8px;
  height: 4px;
  margin-top: -2px;
  border-left: 2px solid #d6c2ff;
  border-bottom: 2px solid #d6c2ff;
  transform: rotate(-45deg);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }
}

/* ------------------------------------------------------------------ demo app */

.app {
  margin-top: 36px;
  border-radius: 18px;
  background: #fff;
  color: var(--fg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 120px rgba(143, 84, 228, 0.25);
  overflow: visible;
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.app:hover,
html.anm-touring .app {
  transform: none;
}

@media (max-width: 960px) {
  .app {
    transform: none;
  }
}

.app-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.app-chrome > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5e2ee;
}

.app-url {
  margin-left: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--bg-2);
  font-size: 12px;
  color: var(--muted);
}

.app-body {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  min-height: 410px;
}

.app-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 10px;
  border-right: 1px solid var(--line);
  background: #fbfaff;
  border-bottom-left-radius: 18px;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 14px;
  font-weight: 800;
}

.app-logo {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2f7cf6, #8f54e4);
}

.app-nav {
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.app-nav.on {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}

.app-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  min-width: 0;
}

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

.app-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--muted);
}

.app-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  outline: none;
  color: var(--fg);
}

.app-search kbd {
  font-size: 11px;
}

.app-menu-wrap {
  position: relative;
}

.app-avatar {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0563a, #e2408f);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.app-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-width: 190px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 16px 40px rgba(0, 0, 0, 0.18);
  animation: menu-in 0.18s ease;
}

.app-menu[hidden] {
  display: none;
}

.app-menu a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
}

.app-menu a:hover {
  background: var(--bg-2);
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.app-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.kpi {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.kpi span {
  font-size: 11.5px;
  color: var(--muted);
}

.kpi strong {
  font-size: 20px;
  font-weight: 800;
}

.kpi em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
}

.up {
  color: #12a37f;
}

.down {
  color: #f0563a;
}

.app-chart {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.app-export {
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--fg);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.app-export.done {
  background: #12a37f;
}

.chart-svg {
  width: 100%;
  height: 130px;
  margin-top: 8px;
}

@media (max-width: 560px) {
  .app-body {
    grid-template-columns: 1fr;
  }
  .app-side {
    display: none;
  }
}

/* ------------------------------------------------------------------ sections */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 90px var(--gutter) 0;
}

.section h2 {
  max-width: 720px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin: 10px 0 18px;
}

.kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
}

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

.step-card,
.feature {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.step-card:hover,
.feature:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent), 0 20px 40px rgba(0, 75, 135, 0.1);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 40%, transparent);
}

.step-card h3,
.feature h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step-card p,
.feature p {
  color: var(--muted);
  font-size: 16px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.playground {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg-2);
}

.swatches {
  display: flex;
  gap: 8px;
}

.swatch {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--c);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.swatch:hover {
  transform: scale(1.1);
}

.swatch.on {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c);
}

.seg {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.seg button {
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.seg button.on {
  background: var(--accent);
  color: #fff;
}

.code {
  margin: 0;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #e3e6f0;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  overflow-x: auto;
  box-shadow: 0 30px 60px rgba(13, 15, 26, 0.18);
}

.code code {
  padding: 0;
  background: none;
  color: inherit;
}

.t-k {
  color: #b48cff;
}

.t-c {
  color: #6b7290;
}

.t-s {
  color: #8fe3b8;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.install {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
  margin-top: 36px;
}

.install-list {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--muted);
}

.install-list li::marker {
  color: var(--accent);
  font-weight: 800;
}

.code-wrap {
  position: relative;
  border-radius: var(--radius);
}

.copy {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.copy:hover {
  background: rgba(255, 255, 255, 0.18);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: 1120px;
  margin: 100px auto 0;
  padding: 28px var(--gutter) 48px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* ------------------------------------------------------------------ shared section bits */

.section-lede {
  max-width: 680px;
  margin-bottom: 8px;
  font-size: 17px;
  color: var(--muted);
}

.btn-ghost {
  color: var(--fg);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent);
}

/* ------------------------------------------------------------------ create → experience */

/* breaks out of the 1120px text column: these screenshots are the page's centerpiece */
.create-experience {
  width: min(1360px, calc(100vw - 2 * var(--gutter)));
  margin-left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 40px;
}

.shot-card {
  position: relative;
  margin: 0;
  padding: 10px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(13, 15, 26, 0.12), 0 0 80px color-mix(in srgb, var(--accent) 12%, transparent);
}

.shot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.shot-card figcaption {
  padding: 12px 6px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.shot-tag {
  position: absolute;
  top: -12px;
  left: 22px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shot-tag.tag-live {
  background: var(--accent);
}

.flow-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 40%, transparent);
}

/* ------------------------------------------------------------------ guidance where it matters */

.context-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 44px 48px;
  border-radius: 28px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(143, 84, 228, 0.35), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(0, 75, 135, 0.4), transparent 60%),
    var(--ink);
  color: #fff;
}

.context-band h2 {
  margin-bottom: 0;
}

.context-band .muted {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
}

/* ------------------------------------------------------------------ how it works (with images) */

.step-shot.focus-left {
  object-position: left top;
}

.step-shot.focus-right {
  object-position: right bottom;
}

.step-shot {
  display: block;
  width: 100%;
  height: 190px;
  margin-bottom: 20px;
  border-radius: 14px;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line);
}

/* ------------------------------------------------------------------ use cases */

.uses,
.promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.use-card,
.promise {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.use-card:hover,
.promise:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent), 0 20px 40px rgba(0, 75, 135, 0.1);
}

.use-who {
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.use-card h3,
.promise h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.use-card p,
.promise p {
  color: var(--muted);
  font-size: 16px;
}

.use-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.use-tags li {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--bg-2);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg);
}

/* ------------------------------------------------------------------ ownership */

.promise-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}

.compare {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 15px;
}

.compare-row span {
  padding: 13px 22px;
  border-top: 1px solid var(--line);
}

.compare-row span:first-child {
  color: var(--muted);
}

.compare-row span:last-child {
  font-weight: 600;
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}

.compare-head span {
  border-top: 0;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-head span:last-child {
  color: var(--accent-text);
}

.compare-details .compare {
  margin: 0 20px 20px;
  background: #fff;
}

/* ------------------------------------------------------------------ customization preview */

.preview-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 48px 24px;
  border-radius: 28px;
  background: var(--bg-2);
}

.preview-target {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--fg);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--accent), 0 0 24px var(--glow);
}

.preview-pop {
  --pop-bg: #fff;
  --pop-fg: #333f48;
  --pop-muted: #6b7785;
  --pop-line: rgba(20, 35, 60, 0.09);
  position: relative;
  width: min(320px, 100%);
  padding: 18px 20px 16px;
  border-radius: 20px;
  background: var(--pop-bg);
  color: var(--pop-fg);
  font-size: 14px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.12), 0 0 25px rgba(0, 75, 135, 0.22), 0 0 50px rgba(0, 75, 135, 0.15);
  transition: background 0.3s ease, color 0.3s ease;
}

.preview-pop[data-mode="dark"] {
  --pop-bg: #161a26;
  --pop-fg: #e8ebf3;
  --pop-muted: #9aa3b5;
  --pop-line: rgba(255, 255, 255, 0.09);
}

.preview-arrow {
  position: absolute;
  top: -7px;
  left: calc(50% - 8px);
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: var(--pop-bg);
  transform: rotate(45deg);
  transition: background 0.3s ease;
}

.preview-bar {
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  overflow: hidden;
  border-radius: 0 0 3px 3px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.preview-bar span {
  display: block;
  width: 66%;
  height: 100%;
  background: var(--accent);
}

.preview-count {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.preview-title {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
}

.preview-body {
  opacity: 0.88;
}

.preview-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
}

.preview-skip {
  margin-right: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--pop-muted);
}

.preview-back,
.preview-next {
  padding: 8px 15px;
  border-radius: 999px;
}

.preview-back {
  box-shadow: inset 0 0 0 1px var(--pop-line);
}

.preview-next {
  background: var(--accent);
  color: #fff;
}

/* ------------------------------------------------------------------ technical details */

.tech {
  margin-top: 24px;
  border-radius: var(--radius);
  background: var(--bg-2);
}

.tech summary {
  padding: 18px 24px;
  font-weight: 700;
  cursor: pointer;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
  margin: 0;
  padding: 4px 24px 26px;
}

.tech-grid dt {
  margin-bottom: 4px;
  font-weight: 700;
}

.tech-grid dd {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ install */

.install-list li strong {
  color: var(--fg);
}

.install-list li > div {
  margin-top: 12px;
}

.install-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.save-shot {
  display: block;
  width: min(300px, 100%);
  height: auto;
  align-self: center;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(13, 15, 26, 0.14);
}

/* ------------------------------------------------------------------ final CTA */

.final-cta {
  padding: 64px 32px;
  border-radius: 28px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(143, 84, 228, 0.45), transparent 65%),
    radial-gradient(500px 260px at 0% 100%, rgba(0, 75, 135, 0.45), transparent 60%),
    var(--ink);
}

.final-cta h2 {
  max-width: none;
  margin: 0 0 10px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.final-cta .hero-ctas {
  justify-content: center;
}

@media (max-width: 860px) {
  .steps,
  .features,
  .split,
  .install,
  .uses,
  .promises,
  .context-band,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .create-experience {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .context-band {
    padding: 32px 24px;
  }
}

/* ------------------------------------------------------------------ use-case art (tiny, CSS-only) */

.use-art {
  position: relative;
  height: 128px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--bg-2);
  overflow: hidden;
}

.art-frame {
  display: flex;
  flex-direction: column;
  gap: 9px;
  height: 100%;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(13, 15, 26, 0.08);
}

.art-line {
  height: 8px;
  border-radius: 99px;
  background: #e6e3f0;
}

.art-line.w40 { width: 40%; }
.art-line.w50 { width: 50%; }
.art-line.w60 { width: 60%; }
.art-line.w70 { width: 70%; }

.art-block {
  flex: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, #efeaff, #e4f0ff);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent);
}

.art-note {
  position: absolute;
  right: 22px;
  bottom: 18px;
  padding: 7px 11px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 40%, transparent);
}

.art-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.art-chip {
  width: 34%;
  height: 22px;
  border-radius: 99px;
  background: #efedf6;
}

.art-btn {
  position: relative;
  padding: 7px 16px;
  border-radius: 99px;
  background: var(--fg);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--accent), 0 0 18px var(--glow);
}

.art-new {
  position: absolute;
  top: -11px;
  right: -14px;
  padding: 2px 7px;
  border-radius: 99px;
  background: #ff5c8a;
  font-size: 10px;
  font-weight: 800;
}

.art-step {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.art-step::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #d9d4e8;
}

.art-step.done::before {
  background: var(--accent);
  box-shadow: none;
}

.art-step.now {
  color: var(--fg);
}

.art-step.now::before {
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

/* ------------------------------------------------------------------ customization: preview inside a mini app */

.preview-stage {
  gap: 0;
  padding: 28px;
}

.mini-app {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 16px 36px rgba(13, 15, 26, 0.08);
}

.mini-bar {
  display: flex;
  gap: 5px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}

.mini-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5e2ee;
}

.mini-body {
  display: grid;
  grid-template-columns: 70px 1fr;
}

.mini-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 10px;
  border-right: 1px solid var(--line);
  background: #fbfaff;
}

.mini-side span {
  height: 8px;
  border-radius: 99px;
  background: #e6e3f0;
}

.mini-side span.on {
  background: color-mix(in srgb, var(--accent) 35%, #fff);
}

.mini-main {
  padding: 14px 16px 8px;
}

.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-title {
  font-size: 13px;
  font-weight: 700;
}

.mini-chart {
  display: block;
  width: 100%;
  height: 70px;
  margin-top: 8px;
}

.preview-stage .preview-target {
  padding: 7px 16px;
  font-size: 12px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--accent), 0 0 22px var(--glow);
}

.preview-stage .preview-pop {
  margin-top: -36px;
  margin-left: auto;
  margin-right: 4px;
}

.preview-stage .preview-arrow {
  left: auto;
  right: 40px;
}

/* ------------------------------------------------------------------ install: two jobs */

.install-jobs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.job {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line);
}

.job h3 {
  font-size: 22px;
}

.job .install-list {
  gap: 10px;
  font-size: 15.5px;
}

.job .btn {
  align-self: flex-start;
}

.job-step {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.job .save-shot {
  width: min(240px, 70%);
}

@media (max-width: 860px) {
  .install-jobs {
    /* minmax(0, …), not 1fr: the snippet's <pre> must scroll, not widen the card past the screen */
    grid-template-columns: minmax(0, 1fr);
  }
}

/* store buttons: the visitor's browser up front, the rest under "Also for" */
.install-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}

.install-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  padding: 12px 22px 12px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 35%, transparent);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.install-primary:hover {
  box-shadow: 0 0 8px var(--glow), 0 0 16px var(--glow), 0 0 28px var(--glow);
}

.install-primary:active {
  transform: translateY(1px);
}

.install-primary img {
  flex: none;
  padding: 4px;
  border-radius: 50%;
  background: #fff;
}

.install-primary-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.install-primary-text strong {
  font-size: 16px;
}

.install-primary-text small {
  font-size: 12.5px;
  opacity: 0.85;
}

.install-primary-arrow {
  margin-left: 4px;
  font-size: 18px;
}

.install-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.install-alt-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
}

.install-alt-link:hover {
  color: var(--accent-text);
}

.install-alt-link[hidden] {
  display: none;
}

/* the Publish card is narrower: give the snippet its own row below the Copy button */
.job .code {
  padding-top: 52px;
  font-size: 12.5px;
}

/* ------------------------------------------------------------------ FAQ */

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 860px;
  margin-top: 32px;
}

.faq details {
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.2s ease;
}

.faq details[open] {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

/* the plus is two drawn bars, not a "+" glyph: font metrics put the glyph off center */
.faq summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    linear-gradient(var(--accent-text), var(--accent-text)) center / 12px 2px no-repeat,
    linear-gradient(var(--accent-text), var(--accent-text)) center / 2px 12px no-repeat,
    color-mix(in srgb, var(--accent) 12%, transparent);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 22px 20px;
  font-size: 16px;
  color: var(--muted);
}
