:root {
  --ink: #303030;
  --muted: #616161;
  --line: #d8d0e3;
  --paper: #f4f1f8;
  --panel: #ffffff;
  --brand: #6b24d6;
  --brand-dark: #3b1b78;
  --brand-light: #a33df2;
  --brand-soft: #f4ecff;
  --green: #008060;
  --red: #b42318;
  --blue: #005bd3;
  --gold: #8a6116;
  --lime: #95bf47;
  --topbar: #171020;
  --sidebar: #eee9f4;
  --shadow: 0 1px 0 rgba(34, 16, 58, 0.08), 0 2px 8px rgba(34, 16, 58, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.setup-mode {
  min-height: 100vh;
  display: block;
  position: relative;
  overflow-x: hidden;
  background:
    linear-gradient(34deg, rgba(15, 5, 30, 0.98) 0%, rgba(49, 16, 94, 0.96) 34%, rgba(104, 31, 190, 0.82) 62%, rgba(214, 181, 255, 0.42) 100%),
    linear-gradient(145deg, #0e051c 0%, #2a0d56 38%, #6b24d6 78%, #b779ff 100%);
}

body.setup-mode::before,
body.setup-mode::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body.setup-mode::before {
  opacity: 0.48;
  background:
    repeating-linear-gradient(34deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 24px),
    linear-gradient(34deg, rgba(255, 255, 255, 0.18), transparent 44%);
  clip-path: polygon(0 100%, 0 70%, 26% 57%, 45% 62%, 64% 38%, 100% 12%, 100% 35%, 66% 56%, 48% 82%, 28% 78%);
  animation: growthPlane 14s ease-in-out infinite alternate;
}

body.setup-mode::after {
  background-image:
    radial-gradient(circle at 12% 72%, rgba(255, 255, 255, 0.26) 0 3px, transparent 6px),
    radial-gradient(circle at 32% 18%, rgba(190, 125, 255, 0.34) 0 4px, transparent 8px),
    radial-gradient(circle at 76% 28%, rgba(255, 255, 255, 0.24) 0 3px, transparent 6px),
    radial-gradient(circle at 84% 76%, rgba(190, 125, 255, 0.32) 0 5px, transparent 10px),
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 64px 64px, 64px 64px;
  mask-image: linear-gradient(35deg, rgba(0, 0, 0, 0.96), transparent 86%);
  animation: roadLift 16s ease-in-out infinite alternate;
}

body.landing-mode {
  min-height: 100vh;
  background: #120621;
}

body.landing-mode .admin-topbar,
body.landing-mode .app-shell {
  display: none;
}

body:not(.landing-mode) .landing-page {
  display: none;
}

.landing-page {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(34deg, rgba(15, 5, 30, 0.98) 0%, rgba(49, 16, 94, 0.96) 34%, rgba(104, 31, 190, 0.82) 62%, rgba(214, 181, 255, 0.42) 100%),
    linear-gradient(145deg, #0e051c 0%, #2a0d56 38%, #6b24d6 78%, #b779ff 100%);
}

.landing-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    repeating-linear-gradient(34deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 24px),
    linear-gradient(34deg, rgba(255, 255, 255, 0.18), transparent 44%);
  clip-path: polygon(0 100%, 0 70%, 26% 57%, 45% 62%, 64% 38%, 100% 12%, 100% 35%, 66% 56%, 48% 82%, 28% 78%);
  transform: translate3d(-3%, 3%, 0);
  animation: growthPlane 14s ease-in-out infinite alternate;
}

.landing-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(35deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

.landing-dust {
  position: absolute;
  inset: -80px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  filter: blur(0.5px);
}

.landing-dust span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(190, 125, 255, 0.38);
  box-shadow: 0 0 22px rgba(190, 125, 255, 0.55);
  opacity: 0.68;
  animation: dustDrift 18s linear infinite, dustPulse 6s ease-in-out infinite;
}

.landing-dust span:nth-child(3n) {
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.48);
}

.landing-dust span:nth-child(4n) {
  background: rgba(190, 125, 255, 0.34);
  box-shadow: 0 0 24px rgba(163, 61, 242, 0.52);
}

.landing-dust span:nth-child(1) { left: 8%; top: 72%; animation-duration: 22s; animation-delay: -2s; }
.landing-dust span:nth-child(2) { left: 16%; top: 26%; width: 5px; height: 5px; animation-duration: 19s; animation-delay: -7s; }
.landing-dust span:nth-child(3) { left: 27%; top: 84%; width: 11px; height: 11px; animation-duration: 28s; animation-delay: -11s; }
.landing-dust span:nth-child(4) { left: 41%; top: 18%; width: 6px; height: 6px; animation-duration: 21s; animation-delay: -5s; }
.landing-dust span:nth-child(5) { left: 53%; top: 66%; width: 10px; height: 10px; animation-duration: 26s; animation-delay: -13s; }
.landing-dust span:nth-child(6) { left: 67%; top: 32%; width: 7px; height: 7px; animation-duration: 24s; animation-delay: -4s; }
.landing-dust span:nth-child(7) { left: 76%; top: 78%; width: 12px; height: 12px; animation-duration: 30s; animation-delay: -17s; }
.landing-dust span:nth-child(8) { left: 88%; top: 22%; width: 5px; height: 5px; animation-duration: 18s; animation-delay: -9s; }
.landing-dust span:nth-child(9) { left: 94%; top: 58%; width: 9px; height: 9px; animation-duration: 27s; animation-delay: -15s; }
.landing-dust span:nth-child(10) { left: 35%; top: 47%; width: 4px; height: 4px; animation-duration: 20s; animation-delay: -3s; }
.landing-dust span:nth-child(11) { left: 61%; top: 6%; width: 6px; height: 6px; animation-duration: 23s; animation-delay: -12s; }
.landing-dust span:nth-child(12) { left: 4%; top: 44%; width: 7px; height: 7px; animation-duration: 25s; animation-delay: -6s; }
.landing-dust span:nth-child(13) { left: 12%; top: 92%; width: 5px; height: 5px; animation-duration: 18s; animation-delay: -10s; }
.landing-dust span:nth-child(14) { left: 22%; top: 64%; width: 9px; height: 9px; animation-duration: 29s; animation-delay: -18s; }
.landing-dust span:nth-child(15) { left: 31%; top: 12%; width: 4px; height: 4px; animation-duration: 17s; animation-delay: -8s; }
.landing-dust span:nth-child(16) { left: 45%; top: 88%; width: 6px; height: 6px; animation-duration: 24s; animation-delay: -20s; }
.landing-dust span:nth-child(17) { left: 56%; top: 42%; width: 12px; height: 12px; animation-duration: 31s; animation-delay: -14s; }
.landing-dust span:nth-child(18) { left: 70%; top: 8%; width: 5px; height: 5px; animation-duration: 19s; animation-delay: -16s; }
.landing-dust span:nth-child(19) { left: 82%; top: 48%; width: 7px; height: 7px; animation-duration: 22s; animation-delay: -5s; }
.landing-dust span:nth-child(20) { left: 91%; top: 86%; width: 10px; height: 10px; animation-duration: 28s; animation-delay: -22s; }
.landing-dust span:nth-child(21) { left: 6%; top: 16%; width: 4px; height: 4px; animation-duration: 21s; animation-delay: -1s; }
.landing-dust span:nth-child(22) { left: 38%; top: 72%; width: 8px; height: 8px; animation-duration: 27s; animation-delay: -19s; }
.landing-dust span:nth-child(23) { left: 73%; top: 68%; width: 4px; height: 4px; animation-duration: 20s; animation-delay: -12s; }
.landing-dust span:nth-child(24) { left: 98%; top: 34%; width: 6px; height: 6px; animation-duration: 25s; animation-delay: -7s; }

.landing-growth-road {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
  filter: drop-shadow(0 0 20px rgba(180, 109, 255, 0.28));
  animation: roadLift 16s ease-in-out infinite alternate;
}

.landing-growth-road::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(180, 109, 255, 0.34), rgba(255, 255, 255, 0.12)),
    repeating-linear-gradient(90deg, transparent 0 52px, rgba(255, 255, 255, 0.16) 52px 58px, transparent 58px 104px);
  clip-path: polygon(0 88%, 0 74%, 24% 55%, 42% 61%, 61% 36%, 100% 4%, 100% 22%, 63% 52%, 44% 78%, 26% 72%);
  opacity: 0.42;
}

.road-segment {
  position: absolute;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(179, 104, 255, 0.9), rgba(255, 255, 255, 0.72));
  box-shadow: 0 0 28px rgba(179, 104, 255, 0.42);
  transform-origin: left center;
}

.road-segment::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 4px solid rgba(255, 255, 255, 0.86);
  border-right: 4px solid rgba(255, 255, 255, 0.86);
  transform: translateY(-50%) rotate(45deg);
}

.road-one {
  left: -3%;
  bottom: 17%;
  width: 30%;
  transform: rotate(-35deg);
}

.road-two {
  left: 23%;
  bottom: 36%;
  width: 20%;
  transform: rotate(13deg);
  opacity: 0.82;
}

.road-three {
  left: 40%;
  bottom: 32%;
  width: 28%;
  transform: rotate(-44deg);
}

.road-four {
  left: 62%;
  bottom: 58%;
  width: 34%;
  transform: rotate(-32deg);
}

.road-arrow {
  position: absolute;
  right: 4%;
  top: 9%;
  width: 34px;
  height: 34px;
  border-top: 9px solid rgba(255, 255, 255, 0.9);
  border-right: 9px solid rgba(255, 255, 255, 0.9);
  transform: rotate(18deg);
  filter: drop-shadow(0 0 18px rgba(190, 125, 255, 0.65));
}

@keyframes dustDrift {
  from {
    transform: translate3d(-20px, 52px, 0) scale(0.85);
  }
  to {
    transform: translate3d(128px, -164px, 0) scale(1.15);
  }
}

@keyframes growthPlane {
  from {
    transform: translate3d(-5%, 4%, 0);
    opacity: 0.46;
  }
  to {
    transform: translate3d(3%, -3%, 0);
    opacity: 0.72;
  }
}

@keyframes roadLift {
  from {
    transform: translate3d(-2%, 3%, 0);
  }
  to {
    transform: translate3d(2%, -2%, 0);
  }
}

@keyframes dustPulse {
  0%,
  100% {
    opacity: 0.24;
  }
  50% {
    opacity: 0.62;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page::before,
  .landing-growth-road,
  .landing-dust span,
  .pulse-score-card,
  .pulse-score-card::before,
  .pulse-score-card::after {
    animation: none;
  }
}

.landing-header {
  position: relative;
  z-index: 1;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
}

.landing-page .topbar-brand strong,
.landing-copy .eyebrow,
.landing-main h1 {
  color: #ffffff;
}

.landing-page .topbar-brand strong {
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.28);
}

.landing-copy .eyebrow {
  color: #e8d5ff;
}

.landing-header button,
.landing-actions button:last-child {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(12px);
}

.landing-main {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 34px 0 70px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 36px;
  align-items: center;
}

.landing-main h1 {
  max-width: 720px;
  margin: 0;
  font-size: 56px;
  line-height: 1.03;
}

.landing-main > p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.landing-copy > p:not(.eyebrow) {
  max-width: 640px;
  color: #e7dcf5;
  font-size: 18px;
  line-height: 1.55;
}

.landing-actions {
  display: flex;
  gap: 10px;
  margin: 12px 0 28px;
}

.landing-loop {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 10px;
  max-width: 640px;
}

.landing-loop span {
  position: relative;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(222, 194, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  font-weight: 760;
  text-align: center;
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

.landing-loop span:not(:last-child)::after {
  content: none;
}

.landing-actions button:first-child {
  background: linear-gradient(135deg, #7c2df2, #a33df2);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
  box-shadow: 0 12px 28px rgba(83, 24, 168, 0.32);
}

.landing-points {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.landing-points article {
  min-height: 128px;
  padding: 16px;
  background: rgba(73, 29, 130, 0.42);
  border: 1px solid rgba(222, 194, 255, 0.26);
  border-radius: 12px;
  color: white;
  box-shadow: 0 18px 42px rgba(8, 2, 18, 0.24), var(--shadow);
  backdrop-filter: blur(12px);
}

.landing-points strong,
.landing-points span {
  display: block;
}

.landing-points span {
  margin-top: 8px;
  color: #d8c9ea;
  line-height: 1.45;
}

.landing-preview {
  padding: 16px;
  border: 1px solid rgba(222, 194, 255, 0.28);
  border-radius: 12px;
  background: rgba(73, 29, 130, 0.44);
  color: white;
  box-shadow: 0 22px 58px rgba(8, 2, 18, 0.34), var(--shadow);
  backdrop-filter: blur(14px);
}

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

.preview-head span,
.preview-grid span,
.preview-action span {
  color: #cdbce3;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.preview-head strong {
  display: block;
  margin-top: 5px;
  font-size: 22px;
}

.preview-head b {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 7px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 22px;
}

.preview-bars {
  height: 150px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  align-items: end;
  margin: 18px 0 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.16)),
    rgba(246, 240, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.preview-bars span {
  display: block;
  min-height: 18px;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, #d19cff 0%, #a33df2 42%, #6b24d6 100%);
  box-shadow: 0 0 18px rgba(209, 156, 255, 0.28);
}

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

.preview-grid article,
.preview-action {
  padding: 12px;
  border: 1px solid rgba(222, 194, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.preview-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.preview-action {
  margin-top: 8px;
}

.preview-action strong {
  display: block;
  margin-top: 6px;
  line-height: 1.35;
}

.pulse-loop-copy {
  display: block;
  max-width: 560px;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

body.setup-mode .admin-topbar,
body.setup-mode .sidebar,
body.setup-mode main > .topbar,
body.setup-mode main > .workspace {
  display: none;
}

body.setup-mode .app-shell {
  min-height: 100vh;
  display: block;
  position: relative;
  z-index: 1;
}

body.setup-mode main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  z-index: 1;
}

button,
select,
textarea {
  font: inherit;
}

button,
.file-button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  min-height: 40px;
  border-radius: 8px;
  padding: 0 14px;
  cursor: pointer;
}

button:hover,
.file-button:hover {
  border-color: var(--brand-light);
}

body:not(.landing-mode) button:focus-visible,
body:not(.landing-mode) select:focus-visible,
body:not(.landing-mode) input:focus-visible,
body:not(.landing-mode) textarea:focus-visible {
  outline: 2px solid rgba(107, 36, 214, 0.28);
  outline-offset: 2px;
}

body:not(.landing-mode):not(.setup-mode) button:not(.nav-item):not(.settings-button):not(.notification-button):not(.settings-backdrop):not(.assistant-toggle):not(.danger-button) {
  border-color: rgba(107, 36, 214, 0.72);
  background: linear-gradient(135deg, #6b24d6, #9637f0);
  color: #ffffff;
  font-weight: 800;
}

body:not(.landing-mode):not(.setup-mode) button:not(.nav-item):not(.settings-button):not(.notification-button):not(.settings-backdrop):not(.assistant-toggle):not(.danger-button):hover {
  border-color: #b779ff;
  background: linear-gradient(135deg, #5a1fb8, #872fe0);
}

.app-shell {
  height: calc(100vh - 56px);
  min-height: 0;
  display: grid;
  grid-template-columns: 240px 1fr;
}

.admin-topbar {
  height: 56px;
  display: grid;
  grid-template-columns: 240px minmax(260px, 640px) 1fr;
  gap: 16px;
  align-items: center;
  padding: 0 20px;
  background: linear-gradient(90deg, #171020, #251139 58%, #33165a);
  color: white;
}

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

.topbar-brand .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.search-shell {
  height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #f3f3f3;
}

.search-shell small {
  color: #c8c8c8;
}

.topbar-store {
  color: #f1f1f1;
  font-size: 13px;
}

.topbar-account {
  justify-self: end;
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.settings-button {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  border-color: rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
}

.settings-button:hover {
  border-color: rgba(209, 156, 255, 0.7);
  background: rgba(255, 255, 255, 0.18);
}

.notification-button {
  min-height: 34px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-color: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.notification-button strong {
  min-width: 22px;
  min-height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #a33df2;
  color: #ffffff;
  font-size: 12px;
}

.notification-center {
  position: fixed;
  top: 68px;
  right: 18px;
  z-index: 45;
  width: min(420px, calc(100vw - 28px));
  max-height: calc(100vh - 90px);
  display: none;
  padding: 14px;
  overflow-y: auto;
  border: 1px solid rgba(107, 36, 214, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 8%, rgba(183, 121, 255, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 56px rgba(34, 16, 58, 0.22);
  backdrop-filter: blur(18px);
}

.notification-center.open {
  display: grid;
  gap: 12px;
}

.notification-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.notification-head h3 {
  margin: 0;
}

.notification-list {
  display: grid;
  gap: 10px;
}

.notification-card,
.notification-empty {
  display: grid;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.notification-card.purple {
  border-color: rgba(107, 36, 214, 0.24);
  background: linear-gradient(145deg, #ffffff, #f5edff);
}

.notification-card.gold {
  border-color: rgba(180, 121, 22, 0.24);
  background: linear-gradient(145deg, #ffffff, #fff8e8);
}

.notification-card.green {
  border-color: rgba(0, 128, 96, 0.2);
  background: linear-gradient(145deg, #ffffff, #eefaf6);
}

.notification-card strong,
.notification-empty strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
}

.notification-card p,
.notification-empty p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.notification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.channel-panel {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.channel-list {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.channel-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}

.channel-item.active {
  border: 1px solid rgba(107, 36, 214, 0.28);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.channel-item.is-muted {
  background: #eceaf0;
  color: #7f778b;
  cursor: default;
}

.channel-item span {
  max-width: 118px;
  color: var(--muted);
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#add-channel {
  width: 100%;
  min-height: 34px;
  border-color: rgba(107, 36, 214, 0.72);
  background: linear-gradient(135deg, #6b24d6, #9637f0);
  color: #ffffff;
  font-weight: 800;
}

#add-channel:hover {
  border-color: #b779ff;
  background: linear-gradient(135deg, #5a1fb8, #872fe0);
}

.channel-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.channel-metrics article,
.channel-products-table {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.channel-metrics article {
  min-height: 112px;
  padding: 16px;
}

.channel-metrics strong {
  display: block;
  margin-top: 10px;
  font-size: 28px;
}

.sidebar {
  border-right: 1px solid var(--line);
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    var(--sidebar);
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 4px 8px 18px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: block;
  object-fit: cover;
  box-shadow: 0 5px 12px rgba(76, 29, 149, 0.2);
}

.eyebrow,
.panel-label,
.detail-kicker {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.is-hidden {
  display: none;
}

#page-title.is-hidden {
  display: none;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 18px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 22px;
}

.channel-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.channel-filter label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.nav-list {
  display: grid;
  gap: 2px;
}

.nav-section-label {
  margin: 0 10px 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.nav-item {
  width: 100%;
  text-align: left;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0 10px;
}

.nav-item.active {
  background: white;
  color: var(--brand-dark);
  box-shadow: inset 3px 0 0 var(--brand);
}

input[type="file"] {
  display: none;
}

input[type="text"],
input[type="password"] {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 0 10px;
}

.file-button {
  display: grid;
  place-items: center;
}

body:not(.landing-mode) #ai-pulse,
body:not(.landing-mode) #ai-growth,
body:not(.landing-mode) #ai-rewrite,
body:not(.landing-mode) #generate-promo,
body:not(.landing-mode) #copy-promo,
body:not(.landing-mode) #generate-leads,
body:not(.landing-mode) #sync-billing,
body:not(.landing-mode) #save-ai-settings,
body:not(.landing-mode) #send-followups,
body:not(.landing-mode) #resolve-support,
body:not(.landing-mode) #connect-store,
body:not(.landing-mode) #onboarding-find-store,
body:not(.landing-mode) #start-free-trial,
body:not(.landing-mode) #payment-back,
body:not(.landing-mode) #complete-payment {
  border-color: rgba(107, 36, 214, 0.28);
  background: linear-gradient(180deg, #ffffff, var(--brand-soft));
  color: var(--brand-dark);
  font-weight: 650;
}

body:not(.landing-mode) #ai-pulse:hover,
body:not(.landing-mode) #ai-growth:hover,
body:not(.landing-mode) #ai-rewrite:hover,
body:not(.landing-mode) #generate-promo:hover,
body:not(.landing-mode) #copy-promo:hover,
body:not(.landing-mode) #generate-leads:hover,
body:not(.landing-mode) #sync-billing:hover,
body:not(.landing-mode) #save-ai-settings:hover,
body:not(.landing-mode) #send-followups:hover,
body:not(.landing-mode) #resolve-support:hover,
body:not(.landing-mode) #connect-store:hover,
body:not(.landing-mode) #onboarding-find-store:hover,
body:not(.landing-mode) #start-free-trial:hover,
body:not(.landing-mode) #payment-back:hover,
body:not(.landing-mode) #complete-payment:hover {
  border-color: var(--brand);
  box-shadow: 0 2px 10px rgba(107, 36, 214, 0.14);
}

body:not(.landing-mode) #ai-pulse {
  min-width: 134px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(184, 138, 255, 0.88);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.34), transparent 24%),
    radial-gradient(circle at 88% 24%, rgba(74, 229, 255, 0.48), transparent 26%),
    linear-gradient(135deg, #32105f 0%, #5d1fc4 48%, #8731ec 78%, #2cd7ff 135%);
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(31, 6, 72, 0.34);
  box-shadow:
    0 0 0 1px rgba(218, 198, 255, 0.22),
    0 12px 26px rgba(72, 20, 137, 0.3),
    0 0 24px rgba(126, 58, 232, 0.36),
    0 0 18px rgba(44, 215, 255, 0.18);
  font-weight: 900;
  animation: aiReviewLiveGlow 2.8s ease-in-out infinite;
}

body:not(.landing-mode) #ai-pulse::before {
  content: "";
  position: absolute;
  inset: -30% -60%;
  z-index: 0;
  background: linear-gradient(110deg, transparent 34%, rgba(255, 255, 255, 0.36) 44%, rgba(93, 235, 255, 0.5) 50%, transparent 62%);
  transform: translateX(-45%) rotate(8deg);
  animation: aiReviewSheen 2.9s ease-in-out infinite;
  pointer-events: none;
}

body:not(.landing-mode) #ai-pulse::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 50%;
  right: 12px;
  z-index: 0;
  border-radius: 999px;
  background: #9df7ff;
  box-shadow:
    0 0 8px rgba(157, 247, 255, 0.95),
    0 0 18px rgba(44, 215, 255, 0.58);
  opacity: 0.9;
  transform: translateY(-50%);
  animation: aiReviewSignal 1.45s ease-in-out infinite;
  pointer-events: none;
}

body:not(.landing-mode) #ai-pulse:hover {
  border-color: rgba(220, 200, 255, 0.98);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.4), transparent 24%),
    radial-gradient(circle at 88% 24%, rgba(92, 236, 255, 0.58), transparent 26%),
    linear-gradient(135deg, #2b0c55 0%, #531bae 48%, #792ad8 78%, #22caef 135%);
  box-shadow:
    0 0 0 1px rgba(235, 224, 255, 0.34),
    0 16px 32px rgba(72, 20, 137, 0.34),
    0 0 34px rgba(126, 58, 232, 0.48),
    0 0 26px rgba(44, 215, 255, 0.24);
  transform: translateY(-1px);
}

@keyframes aiReviewLiveGlow {
  0%,
  100% {
    filter: saturate(1);
    box-shadow:
      0 0 0 1px rgba(218, 198, 255, 0.22),
      0 12px 26px rgba(72, 20, 137, 0.3),
      0 0 22px rgba(126, 58, 232, 0.32),
      0 0 16px rgba(44, 215, 255, 0.14);
  }

  50% {
    filter: saturate(1.16);
    box-shadow:
      0 0 0 1px rgba(218, 198, 255, 0.38),
      0 14px 30px rgba(72, 20, 137, 0.34),
      0 0 32px rgba(126, 58, 232, 0.5),
      0 0 24px rgba(44, 215, 255, 0.24);
  }
}

@keyframes aiReviewSheen {
  0%,
  38% {
    transform: translateX(-48%) rotate(8deg);
    opacity: 0;
  }

  52% {
    opacity: 0.82;
  }

  74%,
  100% {
    transform: translateX(48%) rotate(8deg);
    opacity: 0;
  }
}

@keyframes aiReviewSignal {
  0%,
  100% {
    opacity: 0.72;
    transform: translateY(-50%) scale(0.84);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.landing-mode) #ai-pulse,
  body:not(.landing-mode) #ai-pulse::before,
  body:not(.landing-mode) #ai-pulse::after,
  .pulse-live-tag i {
    animation: none;
  }
}

main {
  padding: 18px 28px 34px;
  overflow-x: hidden;
  overflow-y: auto;
}

.topbar,
.workspace {
  max-width: 980px;
  margin: 0 auto;
}

.topbar {
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 10px;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(126px, 1fr));
  gap: 10px;
}

.summary-strip div,
.detail-panel,
.rewrite-grid article,
.opportunity-card,
.table-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

body:not(.landing-mode) .summary-strip div,
body:not(.landing-mode) .detail-panel,
body:not(.landing-mode) .rewrite-grid article,
body:not(.landing-mode) .opportunity-card,
body:not(.landing-mode) .table-wrap,
body:not(.landing-mode) .forecast-hero,
body:not(.landing-mode) .forecast-card,
body:not(.landing-mode) .pulse-hero,
body:not(.landing-mode) .watchtower,
body:not(.landing-mode) .review-panel,
body:not(.landing-mode) .admin-users,
body:not(.landing-mode) .admin-panels section,
body:not(.landing-mode) .ai-engine-card {
  border-color: rgba(83, 36, 130, 0.18);
}

.summary-strip div {
  min-height: 72px;
  padding: 12px 16px;
}

.summary-strip span {
  display: block;
  font-size: 24px;
  font-weight: 800;
}

.summary-strip small {
  color: var(--muted);
}

.summary-strip.is-hidden {
  display: none;
}

.onboarding-flow {
  max-width: 980px;
  margin: 0 auto 18px;
}

body.setup-mode .onboarding-flow {
  width: min(980px, 100%);
  margin: 0;
}

.onboarding-flow.is-complete {
  display: none;
}

.onboarding-card {
  padding: 22px;
  background: rgba(73, 29, 130, 0.46);
  border: 1px solid rgba(222, 194, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(8, 2, 18, 0.36), var(--shadow);
  color: #ffffff;
  backdrop-filter: blur(16px);
}

body.setup-mode .onboarding-card .eyebrow {
  color: #e8d5ff;
}

body.setup-mode .panel-label {
  color: #e8d5ff;
}

.onboarding-copy {
  max-width: 720px;
  color: #e7dcf5;
  line-height: 1.45;
}

.setup-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.setup-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(222, 194, 255, 0.26);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.setup-step span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  grid-row: 1 / span 2;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 850;
}

.setup-step strong,
.setup-step small {
  display: block;
}

.setup-step small {
  grid-column: 2;
  color: #d8c9ea;
  line-height: 1.25;
}

.setup-step.active {
  border-color: rgba(209, 156, 255, 0.8);
  background: rgba(163, 61, 242, 0.28);
  box-shadow: 0 10px 24px rgba(83, 24, 168, 0.24);
}

.setup-step.active span {
  background: linear-gradient(135deg, #7c2df2, #a33df2);
  color: white;
}

.onboarding-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.92fr) minmax(390px, 1.08fr);
  gap: 14px;
  align-items: stretch;
}

.onboarding-grid section {
  min-height: 330px;
  padding: 16px;
  border: 1px solid rgba(222, 194, 255, 0.26);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.onboarding-grid section:last-child {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 430px;
}

.setup-label {
  display: grid;
  gap: 6px;
  color: #e7dcf5;
  font-size: 13px;
  font-weight: 750;
}

.channel-detect-note {
  margin: 8px 0 10px;
  color: #d8c9ea;
  font-size: 12px;
  line-height: 1.35;
}

.setup-result {
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed rgba(222, 194, 255, 0.36);
  border-radius: 8px;
  color: #e7dcf5;
  background: rgba(255, 255, 255, 0.08);
}

.setup-divider {
  margin: 16px 0;
  border: 0;
  border-top: 1px solid rgba(222, 194, 255, 0.22);
}

.setup-result.connected {
  border-style: solid;
  border-color: rgba(209, 156, 255, 0.7);
  background: rgba(163, 61, 242, 0.24);
  color: #ffffff;
}

.mini-category-grid,
.plan-picker {
  display: grid;
  gap: 10px;
}

.mini-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  min-height: 0;
  max-height: none;
  overflow: auto;
  padding-right: 4px;
}

.mini-category {
  padding: 9px 10px;
  border: 1px solid rgba(222, 194, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
}

.mini-category input {
  margin-right: 8px;
  accent-color: var(--brand);
}

.plan-picker {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.plan-option {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(222, 194, 255, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.plan-option > input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-option.active {
  border-color: rgba(209, 156, 255, 0.9);
  background: rgba(127, 45, 242, 0.28);
  box-shadow: 0 14px 34px rgba(83, 24, 168, 0.32);
}

.plan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
}

.plan-selected {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(100, 229, 255, 0.7);
  border-radius: 999px;
  background: rgba(20, 160, 220, 0.16);
  color: #baf4ff;
  font-size: 11px;
  font-weight: 800;
  opacity: 0;
}

.plan-option.active .plan-selected {
  opacity: 1;
}

.plan-option strong {
  font-size: 20px;
}

.plan-option em {
  color: #e7dafa;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.plan-option b {
  font-size: 24px;
}

.plan-option span {
  color: #d8c9ea;
}

.plan-usage {
  display: grid;
  gap: 6px;
  margin-top: 2px;
  padding: 10px;
  border: 1px solid rgba(222, 194, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.plan-usage span {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  color: #efe7fb;
  font-size: 13px;
  line-height: 1.25;
}

.plan-usage strong {
  color: #ffffff;
  font-size: 14px;
}

.plan-option small {
  color: #d8c9ea;
  line-height: 1.35;
}

.plan-access {
  display: grid;
  gap: 4px;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(222, 194, 255, 0.2);
}

.plan-access span {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.plan-access small {
  color: #d8c9ea;
  font-size: 12px;
}

.plan-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-features li {
  padding: 6px 8px;
  border: 1px solid rgba(222, 194, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.plan-option .plan-trial {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.trial-note {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(222, 194, 255, 0.26);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #e7dcf5;
  line-height: 1.4;
  backdrop-filter: blur(12px);
}

.trial-note strong {
  flex: 0 0 auto;
  color: #ffffff;
}

.payment-card {
  max-width: 960px;
  margin: 0 auto;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 14px;
  align-items: stretch;
}

.payment-form-card,
.payment-summary {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(222, 194, 255, 0.26);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.payment-form-card {
  overflow: hidden;
}

.payment-form-card input,
.payment-row input {
  width: 100%;
  min-width: 0;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.payment-method {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(222, 194, 255, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.payment-method input {
  width: auto;
  min-height: auto;
  margin: 0;
  accent-color: var(--brand-light);
}

.payment-method strong {
  color: #ffffff;
}

.payment-method span {
  color: #d8c9ea;
  font-size: 12px;
  line-height: 1.25;
}

.payment-method.active,
.payment-method:has(input:checked) {
  border-color: rgba(209, 156, 255, 0.82);
  background: rgba(163, 61, 242, 0.24);
}

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

.payment-summary {
  display: grid;
  align-content: start;
  gap: 12px;
}

.payment-plan-line,
.payment-free-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(222, 194, 255, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

.payment-plan-line span,
.payment-free-line span {
  color: #e7dcf5;
  font-weight: 750;
}

.payment-plan-line strong,
.payment-free-line strong {
  color: #ffffff;
  font-size: 22px;
}

.payment-free-line {
  border-color: rgba(145, 255, 222, 0.28);
  background: rgba(0, 128, 96, 0.18);
}

.payment-summary ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #f3eaff;
}

.payment-summary p {
  margin: 0;
  color: #d8c9ea;
  line-height: 1.4;
}

.onboarding-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

body.setup-mode #start-free-trial,
body.setup-mode #complete-payment {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #7c2df2, #a33df2);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(83, 24, 168, 0.32);
}

body.setup-mode #onboarding-find-store,
body.setup-mode #payment-back {
  border-color: rgba(222, 194, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

body.setup-mode #onboarding-find-store:hover,
body.setup-mode #payment-back:hover {
  border-color: rgba(209, 156, 255, 0.8);
  box-shadow: 0 8px 24px rgba(83, 24, 168, 0.26);
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.topbar.is-hidden {
  display: none;
}

.connect-card,
.sync-timeline article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.connect-card {
  min-height: 240px;
  padding: 18px;
}

.connect-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
  margin-top: 18px;
}

.platform-toggle {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 4px;
  margin: 12px 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f1f1f1;
  width: 100%;
}

.platform-toggle label {
  min-height: 34px;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 8px;
  background: white;
  font-weight: 750;
}

.platform-toggle input {
  accent-color: var(--brand);
}

body.setup-mode .platform-toggle {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-color: rgba(222, 194, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

body.setup-mode .platform-toggle label {
  min-height: 32px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  line-height: 1.05;
  text-align: center;
  white-space: normal;
}

body.setup-mode .platform-toggle input {
  flex: 0 0 auto;
  margin: 0;
}

body.setup-mode input[type="text"],
body.setup-mode input[type="password"] {
  border-color: rgba(222, 194, 255, 0.34);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

body.setup-mode input::placeholder {
  color: #7a6c8f;
}

.channel-library-wrap {
  margin-top: 14px;
}

.section-head.compact {
  align-items: center;
  margin-top: 8px;
}

.channel-library {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.channel-library-card {
  display: grid;
  gap: 12px;
  min-height: 214px;
  padding: 16px;
  border: 1px solid rgba(107, 36, 214, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 236, 255, 0.82)),
    var(--panel);
  box-shadow: var(--shadow);
}

.channel-library-card.is-muted {
  border-color: #d8d5de;
  background: linear-gradient(145deg, #f3f1f6, #ebe8f0);
  box-shadow: none;
}

.channel-library-card.is-muted strong,
.channel-library-card.is-muted small,
.channel-library-card.is-muted p {
  color: #776f82;
}

.channel-library-card div {
  display: grid;
  gap: 6px;
}

.channel-library-card strong {
  font-size: 18px;
}

.channel-library-card small,
.channel-library-card p {
  color: var(--muted);
}

.channel-library-card p {
  margin: 0;
  line-height: 1.45;
}

.channel-library-card button {
  align-self: end;
  border-color: rgba(107, 36, 214, 0.72);
  background: linear-gradient(135deg, #6b24d6, #9637f0);
  color: #ffffff;
  font-weight: 800;
}

.channel-library-card button:hover {
  border-color: #b779ff;
  background: linear-gradient(135deg, #5a1fb8, #872fe0);
}

.connect-form label,
.permission-list label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.connect-note {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.permission-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.permission-list label {
  grid-template-columns: 22px 1fr;
  align-items: center;
}

.permission-list input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

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

.sync-timeline article {
  min-height: 170px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
}

.sync-timeline strong {
  font-size: 18px;
}

.sync-timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 12px;
}

.controls {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 0 10px;
}

.audit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 16px;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

tbody tr {
  cursor: pointer;
}

tbody tr:hover,
tbody tr.selected {
  background: #f1f7f5;
}

.product-name {
  font-weight: 760;
}

.product-url {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf1f5;
  color: #384150;
  font-size: 13px;
  font-weight: 700;
}

.pill.red {
  background: #fef3f2;
  color: var(--red);
}

.pill.gold {
  background: #fff4d8;
  color: #8a5713;
}

.pill.green {
  background: #e3f1df;
  color: var(--green);
}

.pill.purple {
  background: var(--brand-soft);
  color: var(--brand);
}

.pill.muted {
  background: #e9e6ee;
  color: #746d7f;
}

.detail-panel {
  padding: 20px;
  min-height: 520px;
}

.score-ring {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin: 18px 0;
  border-radius: 50%;
  border: 12px solid #dbe6e1;
  font-size: 32px;
  font-weight: 850;
  color: var(--green);
}

.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #f7f7f7;
}

.metric strong {
  display: block;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
}

.issue-list {
  display: grid;
  gap: 10px;
}

.issue {
  border-left: 4px solid var(--gold);
  padding: 10px 12px;
  background: #fff8e5;
}

.issue strong {
  display: block;
  margin-bottom: 3px;
}

.issue p {
  margin: 0;
  color: #555c66;
  line-height: 1.4;
}

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

.opportunity-card {
  min-height: 220px;
  padding: 18px;
}

.opportunity-card h4 {
  margin: 0 0 10px;
  font-size: 18px;
}

.opportunity-card p {
  color: var(--muted);
  line-height: 1.5;
}

.rewrite-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rewrite-product-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid rgba(124, 45, 242, 0.22);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 45, 242, 0.08), rgba(255, 255, 255, 0.94));
  box-shadow: var(--shadow-soft);
}

.rewrite-product-card h3 {
  margin: 0 0 6px;
}

.rewrite-product-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.rewrite-version-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.forecast-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, minmax(180px, 0.8fr));
  gap: 14px;
  margin-bottom: 14px;
}

.forecast-hero,
.forecast-card,
.forecast-chart {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.forecast-hero,
.forecast-card {
  min-height: 132px;
  padding: 18px;
}

.forecast-hero strong {
  display: block;
  margin: 6px 0;
  color: var(--green);
  font-size: 42px;
  line-height: 1;
}

.forecast-hero span {
  color: var(--muted);
}

.forecast-card strong {
  display: block;
  margin-top: 12px;
  font-size: 28px;
}

.store-forecast {
  margin-bottom: 14px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.store-forecast-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.margin-badge {
  min-width: 132px;
  padding: 12px 14px;
  border: 1px solid #b7d4c8;
  border-radius: 8px;
  background: #e9f3ee;
  text-align: right;
}

.margin-badge span {
  display: block;
  color: var(--green);
  font-size: 26px;
  font-weight: 850;
}

.margin-badge small {
  color: var(--muted);
}

.year-chart {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  min-height: 280px;
  padding: 8px 0 18px;
}

.year-column {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-items: end;
  height: 250px;
}

.year-stack {
  min-height: 34px;
  display: grid;
  align-content: end;
  border-radius: 8px 8px 3px 3px;
  overflow: hidden;
  background: #e7eaee;
}

.year-profit {
  background: linear-gradient(180deg, #0c8d71, #087c65);
}

.year-cost {
  background: linear-gradient(180deg, #7fa6ca, #275f9f);
}

.year-value {
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.year-label {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

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

.year-grid article {
  min-height: 106px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfb;
}

.year-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 28px;
}

.pulse-hero {
  margin-bottom: 12px;
  padding: 14px 16px;
  background:
    radial-gradient(circle at 82% 18%, rgba(183, 121, 255, 0.16), transparent 32%),
    radial-gradient(circle at 8% 0%, rgba(107, 36, 214, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fdfbff 100%);
  border: 1px solid rgba(107, 36, 214, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(46, 16, 101, 0.13), 0 2px 8px rgba(46, 16, 101, 0.08);
}

.workspace[data-panel="pulse"] {
  padding-bottom: 42px;
}

.workspace[data-panel="pulse"] .pulse-hero {
  min-height: auto;
  padding: 18px 28px;
}

.workspace[data-panel="pulse"] .pulse-hero[open] {
  min-height: auto;
  padding: 26px 28px 28px;
}

.pulse-hero summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

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

.pulse-hero[open] summary {
  margin-bottom: 18px;
}

.pulse-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: stretch;
}

.pulse-story {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
}

.pulse-hero-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.pulse-shop-switcher {
  min-width: 0;
  width: 100%;
  display: grid;
  gap: 8px;
}

.pulse-shop-switcher label {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pulse-shop-switcher select {
  width: 100%;
  min-height: 46px;
  border-color: rgba(107, 36, 214, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 240, 255, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 8px 20px rgba(65, 24, 112, 0.08);
  color: #291244;
  font-weight: 750;
}

.pulse-context-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  padding: 13px;
  border: 1px solid rgba(107, 36, 214, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(126, 58, 232, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(249, 245, 255, 0.9));
  box-shadow: 0 12px 30px rgba(65, 24, 112, 0.07);
}

.pulse-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.pulse-controls label {
  color: var(--muted);
  font-weight: 700;
}

.pulse-controls input {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 0 10px;
}

.pulse-controls.in-card {
  justify-content: start;
  margin-top: 0;
  padding-top: 4px;
}

.recommended-move {
  padding: 18px;
  border: 1px solid rgba(107, 36, 214, 0.24);
  border-radius: 12px;
  background:
    radial-gradient(circle at 86% 18%, rgba(183, 121, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 246, 255, 0.96));
  box-shadow: 0 16px 34px rgba(53, 16, 95, 0.12);
}

.recommended-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.recommended-head h4 {
  margin: 0;
  font-size: 22px;
  line-height: 1.22;
}

.confidence-pill {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(107, 36, 214, 0.22);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 850;
}

#pulse-reco-copy {
  margin: 12px 0 0;
  color: var(--ink);
  line-height: 1.48;
}

.reco-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.reco-impact-grid article {
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(107, 36, 214, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.reco-impact-grid span,
.reco-evidence strong {
  color: var(--muted);
  font-size: 12px;
}

.reco-impact-grid strong {
  display: block;
  margin-top: 7px;
  font-size: 17px;
  line-height: 1.25;
}

.reco-evidence {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.reco-evidence p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.reco-evidence span {
  color: var(--ink);
}

.reco-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.reco-actions button:first-child {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}

#pulse-reco-status {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.pulse-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}

.pulse-kpis article {
  position: relative;
  overflow: hidden;
  min-height: 104px;
  padding: 14px;
  border: 1px solid rgba(107, 36, 214, 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 12%, rgba(163, 61, 242, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 255, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 10px 26px rgba(46, 16, 101, 0.07);
}

.pulse-kpis article::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  opacity: 0.9;
}

.pulse-kpis span,
.pulse-chart-head span,
.pulse-score-notes span {
  color: var(--muted);
  font-size: 12px;
}

.pulse-kpis span {
  font-weight: 850;
  text-transform: uppercase;
}

.pulse-kpis strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 27px;
  letter-spacing: 0;
}

.pulse-kpis small {
  display: block;
  margin-top: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.pulse-kpis small.up {
  background: transparent;
  color: var(--brand);
}

.pulse-kpis small.down {
  color: #b42318;
}

.pulse-chart-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 18px 22px 14px;
  border: 1px solid rgba(107, 36, 214, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 12%, rgba(163, 61, 242, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
  box-shadow: 0 12px 30px rgba(53, 16, 95, 0.08);
}

.pulse-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.pulse-chart-head strong {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.pulse-chart-head small {
  max-width: none;
  margin-right: 0;
  border: 1px solid rgba(107, 36, 214, 0.12);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(107, 36, 214, 0.07);
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}

.pulse-chart {
  height: 116px;
  display: block;
}

.pulse-line-graph {
  position: relative;
  height: 116px;
  overflow: hidden;
}

.pulse-line-graph svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pulse-grid-line {
  stroke: rgba(107, 36, 214, 0.08);
  stroke-width: 1;
}

.pulse-revenue-area {
  fill: url("#pulseRevenueFill");
}

.pulse-revenue-line {
  fill: none;
  stroke: #8d35f1;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pulse-revenue-previous {
  fill: none;
  stroke: rgba(107, 36, 214, 0.26);
  stroke-width: 2;
  stroke-dasharray: 9 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pulse-revenue-point {
  fill: #ffffff;
  stroke: var(--brand-light);
  stroke-width: 3;
}

.pulse-chart-labels {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  display: grid;
  grid-template-columns: repeat(var(--chart-label-count, 7), minmax(0, 1fr));
  gap: 8px;
  color: #a4a0ad;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.pulse-chart-bar {
  min-width: 0;
  display: grid;
  gap: 6px;
  align-items: end;
}

.pulse-chart-bar span {
  display: block;
  min-height: 18px;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-light) 100%);
}

.pulse-chart-bar.best span {
  background: linear-gradient(180deg, #ffffff 0%, #d9b6ff 14%, var(--brand-light) 100%);
  box-shadow: 0 0 18px rgba(183, 121, 255, 0.34);
}

.pulse-chart-bar small {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.pulse-chart-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pulse-chart-notes span {
  padding: 7px 9px;
  border: 1px solid rgba(107, 36, 214, 0.14);
  border-radius: 999px;
  background: rgba(107, 36, 214, 0.06);
  color: var(--muted);
  font-size: 12px;
}

.pulse-score-card {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(211, 177, 255, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 68% 28%, rgba(198, 142, 255, 0.56) 0 3px, transparent 7px),
    radial-gradient(circle at 52% 72%, rgba(255, 255, 255, 0.42) 0 2px, transparent 5px),
    radial-gradient(circle at 28% 18%, rgba(214, 181, 255, 0.34) 0 2px, transparent 5px),
    linear-gradient(180deg, rgba(126, 68, 179, 0.94) 0%, rgba(97, 20, 176, 0.98) 38%, rgba(46, 15, 88, 0.99) 78%, rgba(25, 8, 48, 1) 100%),
    linear-gradient(145deg, #743eb1 0%, #6a18bd 42%, #2e0f58 78%, #16092f 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  box-shadow: 0 22px 48px rgba(36, 12, 72, 0.34), var(--shadow);
  animation: panelDust 10s ease-in-out infinite alternate;
  isolation: isolate;
}

@keyframes panelDust {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  to {
    background-position: 28px -42px, -24px 34px, 18px -28px, 0 0, 0 0;
  }
}

.pulse-score-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background:
    repeating-linear-gradient(34deg, rgba(255, 255, 255, 0.14) 0 2px, transparent 2px 24px),
    linear-gradient(34deg, rgba(255, 255, 255, 0.14), transparent 44%);
  clip-path: polygon(0 100%, 0 72%, 34% 55%, 50% 63%, 68% 38%, 100% 12%, 100% 38%, 72% 56%, 52% 84%, 35% 77%);
  animation: panelRoadLift 9s ease-in-out infinite alternate;
}

.pulse-score-card::after {
  content: "";
  position: absolute;
  left: 10%;
  bottom: 20%;
  width: 92%;
  height: 13px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.82;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(123, 51, 221, 0.78), rgba(200, 143, 255, 0.95));
  transform: rotate(-32deg);
  box-shadow: 0 0 24px rgba(179, 104, 255, 0.42);
  animation: panelRoadGlow 6s ease-in-out infinite alternate;
}

@keyframes panelRoadLift {
  from {
    transform: translate3d(-8px, 10px, 0);
    opacity: 0.42;
  }
  to {
    transform: translate3d(8px, -14px, 0);
    opacity: 0.68;
  }
}

@keyframes panelRoadGlow {
  from {
    transform: translate3d(-8px, 10px, 0) rotate(-32deg);
    opacity: 0.52;
  }
  to {
    transform: translate3d(10px, -12px, 0) rotate(-32deg);
    opacity: 0.96;
  }
}

.pulse-score {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  border: 0;
  background: transparent;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(18, 5, 43, 0.16);
}

.pulse-score::before {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.15), transparent 58%),
    rgba(93, 36, 156, 0.86);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.07), 0 8px 24px rgba(18, 5, 43, 0.18);
}

.pulse-score-ring {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 14px rgba(192, 132, 252, 0.2));
}

.pulse-score-track,
.pulse-score-progress {
  fill: none;
  stroke-width: 12;
}

.pulse-score-track {
  stroke: rgba(255, 255, 255, 0.17);
}

.pulse-score-progress {
  stroke: #d7a7ff;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.45s ease;
}

.pulse-score-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.pulse-score-card .panel-label {
  margin: 0;
  color: #eadfff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
}

.pulse-live-tag {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.12);
  color: #f4ebff;
  font-size: 11px;
  font-weight: 850;
}

.pulse-live-tag i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  animation: livePulseDot 2.6s ease-in-out infinite;
}

@keyframes livePulseDot {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14), 0 0 0 rgba(34, 197, 94, 0);
    opacity: 0.76;
    transform: scale(0.92);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.2), 0 0 16px rgba(34, 197, 94, 0.5);
    opacity: 1;
    transform: scale(1.12);
  }
}

.pulse-score span {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.pulse-score small {
  position: relative;
  z-index: 2;
  color: #f2e9ff;
  font-weight: 800;
}

.pulse-health-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
  margin-top: -6px;
  text-align: center;
}

.pulse-health-copy strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
}

.pulse-health-copy span {
  color: #d8c3ef;
  font-size: 12px;
  font-weight: 750;
}

.pulse-score-notes {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: 10px;
}

.pulse-score-notes span {
  min-height: 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
  border: 1px solid rgba(232, 210, 255, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.1));
  color: #ffffff;
  backdrop-filter: blur(10px);
  padding: 10px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-shadow: 0 1px 10px rgba(20, 6, 46, 0.2);
  text-align: left;
}

.pulse-score-notes b,
.pulse-score-notes strong,
.pulse-score-notes small {
  position: relative;
  z-index: 1;
}

.pulse-score-notes b {
  color: #e9d9ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pulse-score-notes strong {
  justify-self: end;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.pulse-score-notes small {
  grid-column: 1 / -1;
  color: #f4ebff;
  font-size: 12px;
  font-weight: 850;
}

.pulse-score-card #ai-pulse {
  z-index: 1;
  width: 100%;
  min-height: 44px;
  margin-top: 0;
  padding-right: 28px;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 34px rgba(124, 58, 237, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.watchtower,
.review-panel {
  margin-bottom: 14px;
  padding: 14px;
  background:
    radial-gradient(circle at 92% 0%, rgba(183, 121, 255, 0.12), transparent 28%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(46, 16, 101, 0.1), var(--shadow);
}

.watchtower summary,
.review-panel summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.watchtower summary::-webkit-details-marker,
.review-panel summary::-webkit-details-marker {
  display: none;
}

.watchtower[open] summary,
.review-panel[open] summary {
  margin-bottom: 12px;
}

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

.watchtower-grid article {
  position: relative;
  overflow: hidden;
  min-height: 124px;
  padding: 14px;
  border: 1px solid rgba(107, 36, 214, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 250, 255, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.watchtower-grid article::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  opacity: 0.56;
}

.watchtower-grid strong,
.watchtower-grid span {
  display: block;
}

.watchtower-grid strong {
  margin: 8px 0 6px;
  font-size: 17px;
  line-height: 1.25;
}

.watchtower-grid span {
  color: var(--muted);
  line-height: 1.4;
}

.review-panel .pulse-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.pulse-list {
  display: grid;
  gap: 10px;
}

.pulse-item {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfb;
}

.pulse-item strong {
  display: block;
  margin-bottom: 5px;
}

.pulse-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.pulse-item button {
  margin-top: 10px;
}

.action-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.action-summary article,
.action-focus-card,
.action-proof-card,
.action-log-shell,
.action-log-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.action-summary article {
  min-height: 126px;
  padding: 16px;
}

.action-summary strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
}

.action-summary span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.35;
}

.action-focus {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 14px;
  margin-bottom: 14px;
}

.action-focus-card,
.action-proof-card,
.action-log-shell {
  padding: 16px;
}

.action-focus-card {
  display: grid;
  gap: 14px;
  align-content: space-between;
  min-height: 260px;
}

.action-focus-card h3 {
  margin: 8px 0 0;
}

.action-focus-card p:not(.panel-label),
.action-log-card p {
  color: var(--muted);
  line-height: 1.45;
}

.action-focus-meta,
.action-log-meta,
.action-mini-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.action-lifecycle {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.action-lifecycle article {
  min-height: 78px;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfbfb;
}

.action-lifecycle article.active {
  border-color: rgba(107, 36, 214, 0.22);
  background: var(--brand-soft);
}

.action-lifecycle article > strong {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e7e2ee;
  color: var(--muted);
  font-size: 12px;
}

.action-lifecycle article.active > strong {
  background: var(--brand);
  color: #ffffff;
}

.action-lifecycle span,
.action-lifecycle small {
  display: block;
  line-height: 1.25;
}

.action-lifecycle span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.action-lifecycle small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.action-log-meta span,
.action-mini-proof span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfbfb;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.action-proof-grid {
  display: grid;
  gap: 10px;
}

.action-proof-grid article {
  min-height: 66px;
  padding: 10px 12px;
  border: 1px solid rgba(107, 36, 214, 0.16);
  border-radius: 10px;
  background: var(--brand-soft);
}

.action-proof-grid span,
.action-proof-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.action-proof-grid strong {
  display: block;
  margin: 5px 0;
  font-size: 17px;
}

.action-proof-grid small {
  color: var(--green);
}

.action-proof-grid small.down {
  color: var(--red);
}

.action-log {
  display: grid;
  gap: 12px;
}

.action-log-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.action-log-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.action-log-head h4 {
  margin: 4px 0 0;
  font-size: 18px;
}

.plan-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.plan-summary article,
.plan-board section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.plan-summary article {
  min-height: 112px;
  padding: 16px;
}

.plan-summary strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
}

.plan-board {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}

.trend-radar {
  margin-bottom: 14px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.category-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.category-picker.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0;
}

.category-setup {
  margin-bottom: 14px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.category-setup-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}

.category-option {
  min-height: 116px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.category-option.active {
  border-color: rgba(107, 36, 214, 0.32);
  background: var(--brand-soft);
}

.category-option input {
  width: 22px;
  height: 22px;
  accent-color: var(--brand);
}

.category-option strong {
  display: block;
}

.category-option span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.trend-radar-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}

.trend-alerts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trend-alert {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(107, 36, 214, 0.2);
  border-radius: 8px;
  background: var(--brand-soft);
}

.trend-alert.urgent {
  border-color: #e1c17d;
  background: #fff8e8;
}

.trend-alert h4 {
  margin: 0;
  font-size: 17px;
}

.trend-alert p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.trend-alert a {
  color: var(--blue);
  font-weight: 750;
  text-decoration: none;
}

.trend-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-board section {
  min-height: 410px;
  padding: 16px;
}

.plan-list {
  display: grid;
  gap: 10px;
}

.plan-task {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfb;
}

.plan-task-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.plan-task h4 {
  margin: 0;
  font-size: 16px;
}

.plan-task p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.task-check {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  accent-color: var(--brand);
}

.plan-task.done {
  background: #eef7f3;
  border-color: #b7d4c8;
}

.plan-task.done h4,
.plan-task.done p {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.promo-builder {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 14px;
  margin-bottom: 14px;
}

.promo-builder article,
.promo-output article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.promo-builder article {
  min-height: 128px;
  padding: 16px;
}

.promo-builder select {
  width: 100%;
}

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

.promo-channels label {
  min-height: 38px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfb;
}

.promo-channels input {
  accent-color: var(--brand);
}

.promo-output {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.promo-output article {
  padding: 14px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.owner-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.admin-grid article,
.owner-metrics article,
.admin-users,
.admin-panels section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.admin-grid article {
  min-height: 126px;
  padding: 16px;
}

.owner-metrics article {
  min-height: 104px;
  padding: 14px;
}

.admin-grid strong,
.owner-metrics strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
}

.admin-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.admin-panels {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-panels section {
  min-height: 420px;
  padding: 16px;
}

.admin-panel-head {
  margin-bottom: 12px;
}

.admin-table {
  box-shadow: none;
}

.payment-list {
  display: grid;
  gap: 10px;
}

.payment-item {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfb;
}

.item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.item-actions button,
.row-action {
  min-height: 32px;
  padding: 0 10px;
  font-size: 13px;
}

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

.payment-item strong {
  display: block;
}

.payment-item span {
  color: var(--muted);
}

.admin-users {
  padding: 16px;
}

#admin-user-table tr {
  cursor: pointer;
}

#admin-user-table tr.selected {
  background: var(--brand-soft);
}

.admin-action-status {
  margin-bottom: 14px;
  padding: 11px 14px;
  border: 1px solid rgba(107, 36, 214, 0.26);
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
}

.admin-user-detail {
  margin-bottom: 12px;
}

.admin-user-detail article {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(107, 36, 214, 0.22);
  border-radius: 10px;
  background: var(--brand-soft);
}

.admin-user-detail h3 {
  margin: 3px 0;
}

.cancel-survey {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(180, 35, 24, 0.22);
  border-radius: 12px;
  background: #fff7f6;
}

.cancel-survey h3,
.cancel-survey p {
  margin: 0;
}

.cancel-survey p {
  color: var(--muted);
  line-height: 1.4;
}

.cancel-fields {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(260px, 1fr);
  gap: 12px;
}

.cancel-fields label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

.cancel-fields select,
.cancel-fields textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 10px;
}

.cancel-fields select {
  min-height: 40px;
}

.cancel-fields textarea {
  min-height: 92px;
}

.support-inbox {
  display: grid;
  gap: 10px;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 16px;
}

.support-contact-card textarea {
  min-height: 150px;
}

.support-contact-card .setup-result {
  margin-top: 12px;
}

.support-ticket {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfbfb;
}

.support-ticket-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.support-ticket strong,
.support-ticket span {
  display: block;
}

.support-ticket span,
.support-ticket p {
  color: var(--muted);
}

.support-ticket p {
  margin: 0;
  line-height: 1.45;
}

.ai-engine-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.ai-engine-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.ai-settings {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr auto;
  gap: 10px;
  align-items: end;
}

.ai-settings label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.ai-settings input {
  width: 100%;
}

.lead-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.lead-rules article,
.lead-table-shell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.lead-rules article {
  min-height: 126px;
  padding: 16px;
}

.lead-rules strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 20px;
}

.lead-rules span {
  color: var(--muted);
  line-height: 1.4;
}

.lead-table-shell {
  padding: 16px;
}

.forecast-chart {
  height: 300px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  align-items: end;
  padding: 18px;
  margin-bottom: 14px;
}

.bar-wrap {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-items: end;
  height: 100%;
}

.bar {
  min-height: 18px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--brand), #275f9f);
}

.bar-label {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.forecast-table {
  box-shadow: none;
}

.rewrite-grid article {
  padding: 14px;
}

textarea {
  width: 100%;
  min-height: 170px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #fbfbfb;
  line-height: 1.45;
}

.settings-shell {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
}

body.landing-mode .settings-shell,
body.setup-mode .settings-shell {
  display: none;
}

.settings-shell.open {
  display: block;
}

.settings-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(18, 6, 33, 0.36);
  cursor: default;
}

.settings-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(560px, 100vw);
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow-y: auto;
  background: #f8f4ff;
  border-left: 1px solid rgba(107, 36, 214, 0.18);
  box-shadow: -24px 0 70px rgba(35, 16, 64, 0.24);
}

.settings-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(135deg, #24113a, #6b24d6);
  color: #ffffff;
}

.settings-panel > header div {
  display: grid;
  gap: 3px;
}

.settings-panel > header span {
  color: #decaff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.settings-panel > header strong {
  font-size: 22px;
}

.settings-panel > header button {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.settings-status {
  margin: 14px 18px 0;
  padding: 11px 12px;
  border: 1px solid rgba(107, 36, 214, 0.18);
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 750;
}

.settings-grid {
  display: grid;
  gap: 14px;
  padding: 14px 18px 18px;
}

.settings-section,
.settings-cancel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(107, 36, 214, 0.14);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.settings-section label,
.settings-cancel label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

.settings-section input,
.settings-section select,
.settings-cancel select,
.settings-cancel textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 0 10px;
}

.settings-section select,
.settings-cancel select {
  min-height: 40px;
}

.settings-cancel textarea {
  min-height: 96px;
  padding: 10px;
}

.settings-check {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.settings-check input {
  width: auto;
  min-height: auto;
  accent-color: var(--brand);
}

.settings-plan-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(107, 36, 214, 0.14);
  border-radius: 10px;
  background: var(--brand-soft);
}

.settings-plan-summary span {
  color: var(--brand-dark);
  font-weight: 850;
}

.settings-plan-summary strong {
  color: var(--ink);
  font-size: 20px;
}

.settings-plan-summary small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.settings-actions button,
.settings-section > button {
  border-color: rgba(107, 36, 214, 0.22);
  background: linear-gradient(180deg, #ffffff, var(--brand-soft));
  color: var(--brand-dark);
  font-weight: 750;
}

.danger-button {
  border-color: rgba(180, 35, 24, 0.22) !important;
  background: #fff7f6 !important;
  color: var(--red) !important;
}

.settings-cancel {
  margin: 0 18px 18px;
  border-color: rgba(180, 35, 24, 0.22);
  background: #fffafa;
}

.settings-cancel h3,
.settings-cancel p {
  margin: 0;
}

.settings-cancel p {
  color: var(--muted);
  line-height: 1.4;
}

.ai-assistant {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

body.landing-mode .ai-assistant,
body.setup-mode .ai-assistant {
  display: none;
}

.assistant-toggle,
.assistant-panel {
  pointer-events: auto;
}

.assistant-toggle {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-color: rgba(209, 156, 255, 0.44);
  background:
    linear-gradient(135deg, rgba(107, 36, 214, 0.95), rgba(163, 61, 242, 0.92)),
    var(--brand);
  color: #ffffff;
  box-shadow: 0 16px 38px rgba(64, 19, 120, 0.28);
}

.assistant-toggle span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.assistant-toggle strong {
  font-size: 14px;
}

.assistant-panel {
  width: min(420px, calc(100vw - 32px));
  max-height: min(640px, calc(100vh - 96px));
  display: none;
  grid-template-rows: auto minmax(220px, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(222, 194, 255, 0.42);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 242, 255, 0.96)),
    var(--panel);
  box-shadow: 0 24px 70px rgba(35, 16, 64, 0.28);
}

.ai-assistant.open .assistant-panel {
  display: grid;
}

.ai-assistant.open .assistant-toggle {
  display: none;
}

.assistant-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid rgba(107, 36, 214, 0.14);
  background:
    linear-gradient(135deg, rgba(59, 27, 120, 0.98), rgba(107, 36, 214, 0.92)),
    var(--brand-dark);
  color: #ffffff;
}

.assistant-panel header div {
  display: grid;
  gap: 3px;
}

.assistant-panel header span {
  color: #decaff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.assistant-panel header strong {
  font-size: 18px;
}

.assistant-panel header button {
  min-height: 32px;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.assistant-messages {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
  overflow-y: auto;
}

.assistant-message {
  display: grid;
  gap: 8px;
  width: min(100%, 340px);
  padding: 11px 12px;
  border-radius: 14px;
  line-height: 1.4;
  font-size: 14px;
}

.assistant-message.assistant {
  justify-self: start;
  border: 1px solid rgba(107, 36, 214, 0.14);
  background: #ffffff;
}

.assistant-message.user {
  justify-self: end;
  background: var(--brand);
  color: #ffffff;
}

.assistant-message strong {
  font-size: 13px;
}

.assistant-message p {
  margin: 0;
  color: inherit;
}

.assistant-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.assistant-message-actions button {
  min-height: 32px;
  border-color: rgba(107, 36, 214, 0.16);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
}

.assistant-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(107, 36, 214, 0.12);
}

.assistant-form input {
  min-width: 0;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
}

.assistant-form button {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.hidden {
  display: none;
}

@media (max-width: 960px) {
  .app-shell {
    height: auto;
    min-height: calc(100vh - 56px);
    display: block;
    grid-template-columns: 1fr;
  }

  main {
    overflow: visible;
  }

  .sidebar {
    position: static;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-list,
  .summary-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audit-grid,
  .rewrite-grid,
  .rewrite-product-card,
  .opportunity-list,
  .forecast-grid,
  .year-grid,
  .pulse-hero-content,
  .pulse-kpis,
  .watchtower-grid,
  .connect-grid,
  .channel-library,
  .sync-timeline,
  .onboarding-grid,
  .setup-steps,
  .payment-layout,
  .payment-row,
  .plan-picker,
  .channel-metrics,
  .promo-builder,
  .promo-output,
  .plan-summary,
  .action-summary,
  .action-focus,
  .action-lifecycle,
  .admin-grid,
  .owner-metrics,
  .admin-panels,
  .ai-engine-card,
  .lead-rules,
  .cancel-fields,
  .category-picker,
  .category-picker.compact,
  .trend-alerts,
  .landing-hero,
  .plan-board {
    grid-template-columns: 1fr;
  }

  .forecast-chart {
    overflow-x: auto;
    grid-template-columns: repeat(12, minmax(46px, 1fr));
  }

  .year-chart {
    overflow-x: auto;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
  }

  .landing-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pulse-kpis,
  .reco-impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    min-width: 0;
  }

  .admin-topbar {
    min-height: 56px;
    height: auto;
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 10px 12px;
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .admin-topbar .topbar-brand strong {
    font-size: 14px;
  }

  .search-shell {
    display: none;
  }

  .topbar-store {
    max-width: 150px;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar-account {
    justify-self: end;
    gap: 8px;
  }

  .settings-button {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .notification-button span {
    display: none;
  }

  .notification-center {
    top: 64px;
    right: 10px;
    width: calc(100vw - 20px);
  }

  .settings-panel {
    width: 100%;
  }

  .settings-grid {
    padding: 12px;
  }

  .settings-status,
  .settings-cancel {
    margin-left: 12px;
    margin-right: 12px;
  }

  .app-shell {
    min-height: 0;
  }

  main,
  .sidebar {
    padding: 12px;
  }

  .sidebar {
    position: sticky;
    top: 56px;
    z-index: 12;
    max-height: 48vh;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 16px rgba(34, 16, 58, 0.1);
  }

  .sidebar .brand {
    display: none;
  }

  .nav-section-label {
    margin: 0;
  }

  .nav-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
  }

  .nav-list::-webkit-scrollbar,
  .channel-list::-webkit-scrollbar {
    display: none;
  }

  .nav-item {
    width: auto;
    min-width: max-content;
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    scroll-snap-align: start;
  }

  .nav-item.active {
    background: var(--brand);
    border-color: var(--brand);
    color: white;
    box-shadow: none;
  }

  .channel-panel {
    margin-top: 8px;
    padding-top: 8px;
  }

  .channel-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
  }

  .channel-item {
    min-width: 174px;
    flex: 0 0 auto;
  }

  .channel-item span {
    max-width: 82px;
  }

  #add-channel {
    min-height: 36px;
  }

  .topbar,
  .section-head,
  .pulse-hero-top,
  .store-forecast-head,
  .trend-radar-head,
  .category-setup-head,
  .watchtower-head,
  .ai-settings {
    align-items: stretch;
    flex-direction: column;
  }

  .pulse-hero-top {
    display: grid;
  }

  .pulse-shop-switcher {
    min-width: 0;
  }

  .pulse-context-row,
  .recommended-head,
  .reco-impact-grid,
  .pulse-kpis,
  .pulse-chart-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pulse-chart-head small {
    justify-items: start;
    max-width: none;
    margin-right: 0;
    text-align: left;
  }

  .recommended-head {
    display: grid;
  }

  .workspace[data-panel="pulse"] .pulse-hero {
    min-height: auto;
    padding: 14px;
  }

  .workspace[data-panel="pulse"] .pulse-hero[open] {
    min-height: auto;
    padding: 14px;
  }

  .pulse-hero summary {
    align-items: start;
  }

  .pulse-hero summary > strong {
    justify-self: start;
  }

  .pulse-controls.in-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pulse-controls.in-card > * {
    width: 100%;
  }

  .pulse-chart {
    height: 108px;
  }

  .pulse-line-graph {
    height: 108px;
  }

  .pulse-score-card {
    min-height: 280px;
  }

  .watchtower summary,
  .review-panel summary {
    align-items: stretch;
    flex-direction: column;
  }

  .watchtower summary button {
    width: 100%;
  }

  .margin-badge {
    text-align: left;
  }

  .nav-list,
  .summary-strip,
  .landing-points,
  .preview-grid,
  .mini-category-grid,
  .promo-channels {
    grid-template-columns: 1fr;
  }

  .landing-main h1 {
    font-size: 38px;
  }

  .onboarding-actions {
    flex-direction: column;
  }

  .trial-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-actions,
  .landing-header {
    align-items: stretch;
  }

  .landing-header {
    min-height: 64px;
    height: auto;
    padding: 12px;
  }

  .landing-main {
    width: min(100% - 24px, 1080px);
    padding: 18px 0 34px;
  }

  .landing-actions {
    flex-direction: column;
  }

  .landing-loop {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .landing-points {
    grid-template-columns: 1fr;
  }

  .landing-preview {
    padding: 12px;
  }

  .preview-bars {
    height: 112px;
  }

  .section-head button,
  .controls button,
  .controls select,
  .section-head select,
  .section-head input,
  .admin-panel-head button,
  .item-actions button,
  .row-action {
    width: 100%;
  }

  .support-ticket-head,
  .support-grid,
  .rewrite-product-card,
  .admin-user-detail article,
  .item-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  th,
  td {
    padding: 12px;
  }

  .ai-assistant {
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-items: stretch;
  }

  .assistant-toggle {
    justify-content: center;
  }

  .assistant-panel {
    width: 100%;
    max-height: min(620px, calc(100vh - 28px));
    border-radius: 16px;
  }

  .assistant-message {
    width: 100%;
  }

  .assistant-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .landing-main h1 {
    font-size: 34px;
  }

  .topbar-brand .brand-mark {
    width: 28px;
    height: 28px;
  }

  .pulse-kpis article {
    min-height: 96px;
  }

  .admin-grid strong,
  .owner-metrics strong {
    font-size: 25px;
  }
}

/* Revenue Reactor public landing page */
body.landing-mode {
  color: #171321;
  background: #fbfaff;
}

.landing-page.landing-v2 {
  min-height: 100vh;
  display: block;
  overflow: visible;
  background: #fbfaff;
  color: #171321;
}

.landing-page.landing-v2::before,
.landing-page.landing-v2::after {
  content: none;
}

.landing-page.landing-v2 .landing-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(120px, 1fr);
  gap: 20px;
  align-items: center;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(56, 45, 78, 0.1);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
}

.landing-page.landing-v2 .landing-brand {
  min-width: 0;
  color: #171321;
  text-decoration: none;
}

.landing-page.landing-v2 .topbar-brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(80, 28, 173, 0.2);
}

.landing-page.landing-v2 .topbar-brand strong {
  color: #171321;
  text-shadow: none;
}

.landing-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.landing-nav a,
.landing-scroll-cue,
.launch-panel a {
  color: #3b1b78;
  font-weight: 800;
  text-decoration: none;
}

.landing-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
}

.landing-nav a:hover {
  background: #f0e7ff;
}

.landing-page.landing-v2 .landing-header button {
  justify-self: end;
  border-color: rgba(107, 36, 214, 0.18);
  background: #ffffff;
  color: #3b1b78;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(45, 24, 84, 0.08);
}

.landing-page.landing-v2 .landing-main {
  width: 100%;
  max-width: none;
  display: block;
  padding: 0;
}

.landing-page.landing-v2 .landing-hero {
  position: relative;
  min-height: 590px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  padding: 56px max(24px, calc((100vw - 1180px) / 2)) 68px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(17, 12, 44, 0.98) 0%, rgba(24, 14, 52, 0.94) 34%, rgba(44, 21, 86, 0.46) 54%, rgba(255, 255, 255, 0.12) 78%);
}

.landing-page.landing-v2 .landing-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(251, 250, 255, 0), #fbfaff);
}

.landing-page.landing-v2 .landing-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.landing-page.landing-v2 .landing-copy .eyebrow,
.landing-page.landing-v2 .landing-section-copy .eyebrow,
.landing-page.landing-v2 .landing-launch .eyebrow {
  margin: 0 0 14px;
  color: #bfe8d4;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-page.landing-v2 .landing-main h1 {
  max-width: none;
  margin: 0;
  color: #ffffff;
  font-size: 96px;
  line-height: 0.95;
  letter-spacing: 0;
}

.landing-page.landing-v2 .landing-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 22px 0 0;
  color: #f3ecff;
  font-size: 20px;
  line-height: 1.5;
}

.landing-page.landing-v2 .landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 18px;
}

.landing-page.landing-v2 .landing-actions button {
  min-height: 48px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
}

.landing-page.landing-v2 .landing-actions button:first-child {
  border-color: #5f22db;
  background: linear-gradient(135deg, #5f22db, #8b35ee);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(45, 18, 106, 0.26);
}

.landing-page.landing-v2 .landing-actions button:last-child {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.landing-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-trust-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
}

.landing-scroll-cue {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  z-index: 2;
  color: #ffffff;
}

.landing-proof-band,
.landing-points,
.landing-launch {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.landing-proof-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: center;
  padding: 82px 0 58px;
}

.landing-section-copy h2,
.landing-launch h2 {
  margin: 0;
  color: #171321;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

.landing-section-copy p:not(.eyebrow),
.landing-launch p:not(.eyebrow) {
  margin: 18px 0 0;
  color: #5d566c;
  font-size: 17px;
  line-height: 1.58;
}

.landing-page.landing-v2 .landing-section-copy .eyebrow,
.landing-page.landing-v2 .landing-launch .eyebrow {
  color: #5f22db;
}

.landing-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.landing-mini-stats article {
  min-height: 104px;
  padding: 14px;
  border: 1px solid rgba(107, 36, 214, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(54, 34, 88, 0.08);
}

.landing-mini-stats strong,
.landing-mini-stats span {
  display: block;
}

.landing-mini-stats strong {
  color: #2f1670;
  font-size: 26px;
}

.landing-mini-stats span {
  margin-top: 8px;
  color: #655d72;
  line-height: 1.35;
}

.dashboard-showcase {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(107, 36, 214, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(46, 28, 92, 0.14);
}

.dashboard-showcase::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b6b;
  box-shadow: 15px 0 #f7c948, 30px 0 #23b26d;
}

.dashboard-showcase img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

.landing-page.landing-v2 .landing-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 28px 0 84px;
}

.landing-page.landing-v2 .landing-points article {
  min-height: 238px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(98, 38, 210, 0.34), rgba(12, 18, 35, 0.96)),
    #111423;
  color: #ffffff;
  box-shadow: 0 22px 50px rgba(22, 15, 42, 0.18);
  backdrop-filter: none;
}

.landing-page.landing-v2 .landing-points article span {
  width: 42px;
  height: 34px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(191, 232, 212, 0.32);
  border-radius: 8px;
  color: #bfe8d4;
  font-weight: 900;
  line-height: 1;
}

.landing-page.landing-v2 .landing-points article strong {
  display: block;
  font-size: 19px;
}

.landing-page.landing-v2 .landing-points article p {
  margin: 0;
  color: #ded8ea;
  line-height: 1.5;
}

.landing-launch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: center;
  margin-bottom: 78px;
  padding: 32px;
  border: 1px solid rgba(107, 36, 214, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246, 240, 255, 0.96), rgba(235, 250, 242, 0.78)),
    #ffffff;
  box-shadow: 0 20px 50px rgba(54, 34, 88, 0.1);
}

.launch-panel {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 18px;
  border: 1px solid rgba(107, 36, 214, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.launch-panel img {
  width: 62px;
  height: 62px;
  border-radius: 8px;
}

.launch-panel strong,
.launch-panel span {
  display: block;
}

.launch-panel strong {
  color: #171321;
  font-size: 18px;
}

.launch-panel span {
  color: #655d72;
}

@media (max-width: 980px) {
  .landing-page.landing-v2 .landing-header {
    grid-template-columns: 1fr auto;
  }

  .landing-nav {
    display: none;
  }

  .landing-page.landing-v2 .landing-hero {
    min-height: 560px;
    background: linear-gradient(90deg, rgba(17, 12, 44, 0.98) 0%, rgba(24, 14, 52, 0.9) 58%, rgba(65, 30, 116, 0.42) 100%);
    background-position: 58% center;
  }

  .landing-page.landing-v2 .landing-main h1 {
    font-size: 68px;
  }

  .landing-proof-band,
  .landing-launch {
    grid-template-columns: 1fr;
  }

  .landing-page.landing-v2 .landing-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .landing-page.landing-v2 .landing-header {
    height: auto;
    min-height: 64px;
    padding: 10px 14px;
  }

  .landing-page.landing-v2 .landing-header button {
    min-height: 36px;
    padding: 0 10px;
  }

  .landing-page.landing-v2 .topbar-brand .brand-mark {
    width: 34px;
    height: 34px;
  }

  .landing-page.landing-v2 .landing-hero {
    min-height: 520px;
    padding: 54px 18px 72px;
    background: linear-gradient(90deg, rgba(17, 12, 44, 0.99) 0%, rgba(24, 14, 52, 0.92) 70%, rgba(65, 30, 116, 0.38) 100%);
  }

  .landing-page.landing-v2 .landing-main h1 {
    font-size: 50px;
  }

  .landing-page.landing-v2 .landing-copy > p:not(.eyebrow) {
    font-size: 17px;
  }

  .landing-page.landing-v2 .landing-actions {
    flex-direction: column;
  }

  .landing-page.landing-v2 .landing-actions button {
    width: 100%;
  }

  .landing-scroll-cue {
    left: 18px;
  }

  .landing-proof-band,
  .landing-points,
  .landing-launch {
    width: min(100% - 28px, 1180px);
  }

  .landing-proof-band {
    padding: 58px 0 34px;
  }

  .landing-section-copy h2,
  .landing-launch h2 {
    font-size: 32px;
  }

  .landing-mini-stats,
  .landing-page.landing-v2 .landing-points {
    grid-template-columns: 1fr;
  }

  .landing-page.landing-v2 .landing-points {
    padding-bottom: 54px;
  }

  .landing-launch {
    margin-bottom: 42px;
    padding: 18px;
  }
}

/* Landing refresh: Shopify SEO amplifier hero */
.landing-page.landing-v2 .landing-hero {
  min-height: 520px;
  isolation: isolate;
  background: linear-gradient(90deg, rgba(5, 12, 36, 0.99) 0%, rgba(8, 13, 43, 0.97) 42%, rgba(74, 32, 150, 0.64) 68%, rgba(182, 125, 255, 0.28) 100%);
}

.landing-page.landing-v2 .landing-copy {
  max-width: 720px;
}

.landing-page.landing-v2 .landing-copy .eyebrow {
  color: #a46cff;
}

.landing-page.landing-v2 .landing-main h1 {
  max-width: 760px;
  font-size: 60px;
  line-height: 1.08;
}

.landing-page.landing-v2 .landing-main h1 span {
  color: #9c67ff;
}

.landing-page.landing-v2 .landing-copy > p:not(.eyebrow):not(.landing-trial-note) {
  max-width: 560px;
  font-size: 20px;
}

.landing-page.landing-v2 .landing-actions button:first-child {
  min-width: 310px;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.landing-trial-note {
  position: relative;
  margin: 0 0 16px;
  padding-left: 25px;
  color: #ffffff;
  font-weight: 750;
}

.landing-trial-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
}

.landing-trial-note::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.cosmic-dust,
.hero-clouds {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.cosmic-dust span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 18px rgba(176, 125, 255, 0.8);
  filter: blur(0.4px);
  opacity: 0.5;
  animation: cosmicDrift 16s linear infinite, cosmicBlink 4s ease-in-out infinite;
}

.cosmic-dust span:nth-child(1) { left: 9%; top: 24%; animation-delay: -3s; }
.cosmic-dust span:nth-child(2) { left: 18%; top: 71%; width: 8px; height: 8px; animation-delay: -9s; }
.cosmic-dust span:nth-child(3) { left: 31%; top: 16%; animation-delay: -12s; }
.cosmic-dust span:nth-child(4) { left: 42%; top: 33%; width: 7px; height: 7px; animation-delay: -6s; }
.cosmic-dust span:nth-child(5) { left: 49%; top: 11%; width: 4px; height: 4px; animation-delay: -2s; }
.cosmic-dust span:nth-child(6) { left: 54%; top: 55%; animation-delay: -11s; }
.cosmic-dust span:nth-child(7) { left: 62%; top: 23%; width: 6px; height: 6px; animation-delay: -4s; }
.cosmic-dust span:nth-child(8) { left: 70%; top: 64%; animation-delay: -15s; }
.cosmic-dust span:nth-child(9) { left: 75%; top: 18%; width: 9px; height: 9px; animation-delay: -7s; }
.cosmic-dust span:nth-child(10) { left: 83%; top: 41%; animation-delay: -13s; }
.cosmic-dust span:nth-child(11) { left: 91%; top: 20%; width: 4px; height: 4px; animation-delay: -5s; }
.cosmic-dust span:nth-child(12) { left: 94%; top: 78%; width: 8px; height: 8px; animation-delay: -10s; }
.cosmic-dust span:nth-child(13) { left: 14%; top: 44%; animation-delay: -14s; }
.cosmic-dust span:nth-child(14) { left: 37%; top: 82%; width: 6px; height: 6px; animation-delay: -8s; }
.cosmic-dust span:nth-child(15) { left: 68%; top: 9%; animation-delay: -1s; }
.cosmic-dust span:nth-child(16) { left: 88%; top: 58%; width: 5px; height: 5px; animation-delay: -16s; }

.hero-clouds span {
  position: absolute;
  left: 32%;
  bottom: -74px;
  width: 760px;
  height: 210px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 18% 55%, rgba(255, 255, 255, 0.9), transparent 34%),
    radial-gradient(circle at 42% 30%, rgba(244, 235, 255, 0.92), transparent 30%),
    radial-gradient(circle at 64% 58%, rgba(255, 255, 255, 0.74), transparent 36%),
    radial-gradient(circle at 82% 42%, rgba(220, 193, 255, 0.78), transparent 34%);
  filter: blur(16px);
  opacity: 0.78;
  transform: translate3d(0, 0, 0);
  animation: cloudFloat 24s ease-in-out infinite alternate;
}

.hero-clouds span:nth-child(2) {
  left: 58%;
  bottom: -46px;
  width: 620px;
  height: 170px;
  opacity: 0.6;
  animation-duration: 30s;
  animation-delay: -12s;
}

.landing-hero-card {
  position: absolute;
  z-index: 1;
  width: 170px;
  min-height: 104px;
  display: grid;
  gap: 6px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(8, 5, 28, 0.2);
  backdrop-filter: blur(18px);
  animation: cardFloat 7s ease-in-out infinite alternate;
}

.landing-hero-card span,
.landing-hero-card small {
  color: #e8dcff;
  font-weight: 800;
}

.landing-hero-card strong {
  font-size: 28px;
}

.landing-hero-card small {
  color: #87eba9;
}

.seo-card { left: 53%; top: 86px; }
.sync-card { right: 40px; top: 126px; background: rgba(255, 255, 255, 0.78); color: #171321; }
.sync-card span,
.sync-card small { color: #1a7f45; }
.draft-card { left: 52%; top: 248px; animation-delay: -2s; }
.approval-card { right: 72px; bottom: 86px; animation-delay: -4s; }

.dashboard-zone {
  position: relative;
}

.dashboard-callout {
  position: absolute;
  width: 168px;
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(107, 36, 214, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(54, 34, 88, 0.12);
}

.dashboard-callout strong,
.dashboard-callout span {
  display: block;
}

.dashboard-callout strong {
  color: #5f22db;
}

.dashboard-callout span {
  color: #655d72;
  line-height: 1.4;
}

.callout-left {
  left: -24px;
  bottom: 30px;
}

.callout-right {
  right: -24px;
}

.callout-right.top {
  top: 68px;
}

.callout-right.bottom {
  bottom: 44px;
}

.landing-difference {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 24px;
  padding: 30px;
  border: 1px solid rgba(107, 36, 214, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(54, 34, 88, 0.08);
}

.landing-difference > .eyebrow {
  margin: 0 0 8px;
  color: #5f22db;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.landing-difference h2 {
  max-width: 720px;
  margin: 0 auto 24px;
  color: #171321;
  font-size: 36px;
  line-height: 1.12;
  text-align: center;
}

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

.difference-panel {
  min-height: 260px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  background: #ffffff;
}

.difference-panel p {
  grid-column: 1 / -1;
  margin: 0;
  font-weight: 900;
}

.before-panel {
  border: 1px solid rgba(232, 72, 72, 0.28);
  background: linear-gradient(145deg, #fffefe, #fff6f5);
}

.after-panel {
  border: 1px solid rgba(35, 178, 109, 0.26);
  background: linear-gradient(145deg, #ffffff, #f4fff9);
}

.product-pill-pair {
  width: 104px;
  height: 152px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(107, 36, 214, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.product-pill-pair span {
  width: 32px;
  height: 116px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d6c1ff, #7140e8);
}

.product-pill-pair span:nth-child(2) {
  background: linear-gradient(180deg, #d9fff4, #4dd4be);
}

.difference-panel ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.difference-panel li {
  position: relative;
  padding-left: 25px;
  color: #171321;
  font-weight: 850;
}

.difference-panel li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.before-panel li::before {
  content: "x";
  background: #e84848;
}

.after-panel li::before {
  content: "";
  background: #19a463;
}

.after-panel li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.difference-arrow {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #5f22db, #8b35ee);
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
}

.landing-page.landing-v2 .landing-points article {
  min-height: 190px;
  border-color: rgba(107, 36, 214, 0.12);
  background: #ffffff;
  color: #171321;
  box-shadow: 0 16px 36px rgba(54, 34, 88, 0.08);
}

.landing-page.landing-v2 .landing-points article span {
  border-color: rgba(107, 36, 214, 0.16);
  background: #f4edff;
  color: #5f22db;
}

.landing-page.landing-v2 .landing-points article p {
  color: #655d72;
}

.landing-launch {
  margin-top: 0;
  background:
    radial-gradient(circle at 88% 30%, rgba(255, 255, 255, 0.22), transparent 16%),
    linear-gradient(135deg, #3511c8, #7a28f4);
  color: #ffffff;
}

.landing-launch h2,
.landing-launch p:not(.eyebrow),
.landing-page.landing-v2 .landing-launch .eyebrow {
  color: #ffffff;
}

.launch-panel {
  justify-items: stretch;
  align-content: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.launch-panel button {
  min-height: 58px;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #4d1bd4;
  font-weight: 950;
  box-shadow: 0 18px 36px rgba(17, 10, 70, 0.16);
}

.launch-panel span {
  color: #f2eaff;
  font-weight: 750;
}

@keyframes cosmicDrift {
  from {
    transform: translate3d(-42px, 34px, 0) scale(0.82);
  }
  to {
    transform: translate3d(96px, -96px, 0) scale(1.18);
  }
}

@keyframes cosmicBlink {
  0%,
  100% {
    opacity: 0.18;
  }
  50% {
    opacity: 0.72;
  }
}

@keyframes cloudFloat {
  from {
    transform: translate3d(-34px, 4px, 0) scale(1);
  }
  to {
    transform: translate3d(42px, -10px, 0) scale(1.04);
  }
}

@keyframes cardFloat {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -10px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cosmic-dust span,
  .hero-clouds span,
  .landing-hero-card {
    animation: none;
  }
}

@media (max-width: 980px) {
  .landing-page.landing-v2 .landing-main h1 {
    font-size: 56px;
  }

  .landing-hero-card {
    display: none;
  }

  .landing-proof-band {
    align-items: start;
  }

  .dashboard-callout {
    position: static;
    width: auto;
    margin-top: 10px;
  }

  .difference-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .landing-page.landing-v2 .landing-hero {
    min-height: 620px;
    background: linear-gradient(90deg, rgba(5, 12, 36, 0.99) 0%, rgba(8, 13, 43, 0.97) 78%, rgba(74, 32, 150, 0.54) 100%);
  }

  .landing-page.landing-v2 .landing-main h1 {
    font-size: 42px;
  }

  .landing-page.landing-v2 .landing-actions button:first-child {
    min-width: 0;
  }

  .hero-clouds span {
    left: 4%;
    width: 420px;
  }

  .landing-difference {
    width: min(100% - 28px, 1180px);
    padding: 18px;
  }

  .landing-difference h2 {
    font-size: 28px;
  }

  .difference-panel {
    grid-template-columns: 1fr;
  }

  .product-pill-pair {
    width: 100%;
  }
}

/* Landing repair: clean hero without baked-in background text */
body.landing-mode {
  background: #f8f7ff;
}

.landing-page.landing-v2 {
  background: #f8f7ff;
}

.landing-page.landing-v2 .landing-header {
  height: 66px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.88);
}

.landing-page.landing-v2 .landing-hero {
  min-height: 536px;
  display: block;
  padding: 54px 0 58px;
  background:
    radial-gradient(circle at 70% 12%, rgba(168, 104, 255, 0.42), transparent 30%),
    radial-gradient(circle at 86% 55%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(105deg, #06102f 0%, #081237 44%, #4322a2 72%, #b284ff 100%);
}

.landing-page.landing-v2 .landing-hero::after {
  height: 76px;
  background: linear-gradient(180deg, rgba(248, 247, 255, 0), #f8f7ff);
}

.landing-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(480px, 1.08fr);
  gap: 44px;
  align-items: center;
}

.landing-page.landing-v2 .landing-copy {
  max-width: 610px;
}

.landing-page.landing-v2 .landing-copy .eyebrow {
  margin-bottom: 14px;
  color: #a46cff;
  font-size: 13px;
}

.landing-page.landing-v2 .landing-main h1 {
  max-width: 620px;
  color: #ffffff;
  font-size: 58px;
  line-height: 1.1;
}

.landing-page.landing-v2 .landing-main h1 span {
  color: #9c67ff;
}

.landing-page.landing-v2 .landing-copy > p:not(.eyebrow):not(.landing-trial-note) {
  max-width: 520px;
  margin-top: 18px;
  color: #f5efff;
  font-size: 20px;
  line-height: 1.55;
}

.landing-page.landing-v2 .landing-actions {
  margin: 26px 0 14px;
}

.landing-page.landing-v2 .landing-actions button {
  min-height: 50px;
  border-radius: 8px;
}

.landing-page.landing-v2 .landing-actions button:first-child {
  min-width: 220px;
}

.landing-page.landing-v2 .landing-actions button:last-child {
  background: rgba(255, 255, 255, 0.1);
}

.landing-trial-note {
  margin: 0 0 14px;
  color: #f6efff;
  font-size: 14px;
}

.landing-page.landing-v2 .landing-copy > .landing-trial-note {
  max-width: none;
  margin: 0 0 14px;
  color: #f6efff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 750;
}

body.landing-mode .landing-page.landing-v2 .landing-copy > p.landing-trial-note {
  max-width: none;
  margin: 0 0 14px;
  color: #f6efff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 750;
}

.landing-trust-row {
  gap: 8px;
}

.landing-trust-row span {
  min-height: 32px;
  border-radius: 8px;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 14px;
  width: 540px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 20% 60%, rgba(255, 255, 255, 0.62), transparent 31%),
    radial-gradient(circle at 48% 42%, rgba(230, 212, 255, 0.62), transparent 34%),
    radial-gradient(circle at 75% 62%, rgba(255, 255, 255, 0.44), transparent 36%);
  filter: blur(14px);
  opacity: 0.58;
  animation: cloudFloat 26s ease-in-out infinite alternate;
}

.growth-curve {
  position: absolute;
  right: 18px;
  bottom: 42px;
  width: 500px;
  height: 250px;
  border-bottom: 6px solid rgba(104, 54, 230, 0.92);
  border-radius: 0 0 90% 0;
  transform: rotate(-19deg);
  transform-origin: right bottom;
}

.growth-curve::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -15px;
  width: 28px;
  height: 28px;
  border-top: 8px solid #6836e6;
  border-right: 8px solid #6836e6;
  transform: rotate(45deg);
}

.growth-curve span {
  position: absolute;
  bottom: -17px;
  width: 24px;
  height: 24px;
  border: 6px solid #7d4cff;
  border-radius: 50%;
  background: #f8f3ff;
}

.growth-curve span:nth-child(1) { left: 110px; }
.growth-curve span:nth-child(2) { left: 260px; bottom: -3px; }
.growth-curve span:nth-child(3) { left: 382px; bottom: 18px; }

.growth-curve i {
  position: absolute;
  left: 160px;
  bottom: -88px;
  height: 96px;
  border-left: 2px dashed rgba(255, 255, 255, 0.52);
  box-shadow: 150px -15px 0 rgba(255, 255, 255, 0.42), 270px -38px 0 rgba(255, 255, 255, 0.32);
}

.css-rocket {
  position: absolute;
  top: 74px;
  right: 210px;
  width: 86px;
  height: 150px;
  border-radius: 46px 46px 22px 22px;
  background: linear-gradient(145deg, #b08aff 0%, #6e31e8 48%, #35108d 100%);
  box-shadow: 0 26px 62px rgba(38, 8, 119, 0.4);
  transform: rotate(34deg);
  animation: cardFloat 5s ease-in-out infinite alternate;
}

.css-rocket::before,
.css-rocket::after {
  content: "";
  position: absolute;
  bottom: 18px;
  width: 30px;
  height: 48px;
  border-radius: 22px 22px 8px 8px;
  background: #4d19bf;
}

.css-rocket::before {
  left: -18px;
  transform: rotate(-18deg);
}

.css-rocket::after {
  right: -18px;
  transform: rotate(18deg);
}

.css-rocket img {
  position: absolute;
  top: 34px;
  left: 50%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transform: translateX(-50%) rotate(-34deg);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.34);
}

.css-rocket span {
  position: absolute;
  left: 50%;
  bottom: -90px;
  width: 56px;
  height: 116px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.9), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(172, 112, 255, 0.4), transparent);
  filter: blur(7px);
  transform: translateX(-50%);
}

.landing-hero-card {
  width: 162px;
  min-height: 96px;
  border-radius: 8px;
}

.landing-hero-card strong {
  font-size: 25px;
}

.seo-card {
  left: 38px;
  top: 34px;
}

.draft-card {
  left: 20px;
  top: 194px;
}

.sync-card {
  right: 6px;
  top: 72px;
}

.approval-card {
  right: 44px;
  bottom: 42px;
}

.hero-clouds span {
  left: 40%;
  bottom: -104px;
  opacity: 0.34;
}

.landing-proof-band {
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: 52px;
  align-items: start;
  padding: 58px 0 56px;
}

.landing-section-copy h2 {
  font-size: 38px;
}

.dashboard-zone {
  min-width: 0;
}

.dashboard-showcase {
  padding: 10px;
  box-shadow: 0 24px 70px rgba(46, 28, 92, 0.12);
}

.dashboard-callout {
  width: 154px;
  padding: 13px;
}

.callout-left {
  left: -34px;
  bottom: 28px;
}

.callout-right {
  right: -34px;
}

.callout-right.top {
  top: 62px;
}

.callout-right.bottom {
  bottom: 34px;
}

.landing-difference {
  margin-bottom: 28px;
}

.landing-page.landing-v2 .landing-points {
  padding: 22px 0 68px;
}

.landing-launch {
  margin-bottom: 68px;
}

@media (max-width: 1120px) {
  .landing-hero-inner,
  .landing-proof-band {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 380px;
  }

  .dashboard-callout {
    position: static;
    width: auto;
    margin-top: 10px;
  }
}

@media (max-width: 640px) {
  .landing-page.landing-v2 .landing-header {
    grid-template-columns: 1fr auto;
  }

  .landing-page.landing-v2 .landing-hero {
    min-height: auto;
    padding: 44px 0 46px;
  }

  .landing-hero-inner {
    width: min(100% - 28px, 1180px);
    display: block;
  }

  .landing-page.landing-v2 .landing-main h1 {
    font-size: 40px;
  }

  .landing-page.landing-v2 .landing-copy > p:not(.eyebrow):not(.landing-trial-note) {
    font-size: 17px;
  }

  .landing-page.landing-v2 .landing-actions button,
  .landing-page.landing-v2 .landing-actions button:first-child {
    width: 100%;
    min-width: 0;
  }

  .landing-trust-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 260px;
    margin-top: 28px;
  }

  .landing-hero-card {
    display: none;
  }

  .css-rocket {
    right: 92px;
    top: 34px;
    transform: rotate(32deg) scale(0.78);
  }

  .growth-curve {
    right: -22px;
    bottom: 38px;
    width: 330px;
    height: 150px;
  }

  .landing-proof-band,
  .landing-difference,
  .landing-points,
  .landing-launch {
    width: min(100% - 28px, 1180px);
  }

  .landing-proof-band {
    padding: 44px 0 38px;
  }

  .landing-section-copy h2,
  .landing-difference h2,
  .landing-launch h2 {
    font-size: 28px;
  }

  .difference-grid {
    grid-template-columns: 1fr;
  }

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

  .landing-launch {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

/* Reference landing image: keep the public page identical to the supplied PNG. */
body.landing-mode {
  min-height: 100vh;
  color: #171321;
  background: #f8f7ff;
  overflow-x: hidden;
}

body.landing-mode .landing-page.landing-reference {
  position: relative;
  display: block;
  width: min(100%, 1024px);
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  isolation: auto;
  line-height: 0;
  background: transparent;
}

body.landing-mode .landing-page.landing-reference::before,
body.landing-mode .landing-page.landing-reference::after {
  content: none;
}

body.landing-mode .landing-page.landing-reference .reference-landing-art {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  border: 0;
}

body.landing-mode .landing-page.landing-reference .reference-hotspot {
  position: absolute;
  z-index: 2;
  display: block;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  appearance: none;
  color: transparent;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

body.landing-mode .landing-page.landing-reference .reference-hotspot:hover,
body.landing-mode .landing-page.landing-reference .reference-hotspot:active {
  color: transparent;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

body.landing-mode .landing-page.landing-reference .reference-hotspot:focus-visible {
  outline: 2px solid rgba(107, 36, 214, 0.42);
  outline-offset: 2px;
}

body.landing-mode .landing-page.landing-reference .hotspot-login {
  left: 88.3%;
  top: 0.5%;
  width: 8.8%;
  height: 2.1%;
}

body.landing-mode .landing-page.landing-reference .hotspot-hero-start {
  left: 5.2%;
  top: 24.6%;
  width: 26.5%;
  height: 3.5%;
}

body.landing-mode .landing-page.landing-reference .hotspot-demo {
  left: 32.5%;
  top: 24.6%;
  width: 20.3%;
  height: 3.5%;
}

body.landing-mode .landing-page.landing-reference .hotspot-bottom-start {
  left: 53.5%;
  top: 91.6%;
  width: 25.6%;
  height: 3.2%;
}

/* Live landing page: real text, real controls, reference-inspired visuals. */
body.landing-mode {
  background: #f7f5ff;
  color: #080721;
}

body.landing-mode .landing-page.landing-live {
  display: block;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: #f7f5ff;
}

body.landing-mode .landing-page.landing-live::before,
body.landing-mode .landing-page.landing-live::after {
  content: none;
}

.landing-live button,
.landing-live a {
  font: inherit;
}

.landing-live button {
  cursor: pointer;
}

.landing-live-main {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  scroll-behavior: smooth;
}

.landing-live-inner {
  width: min(100% - 64px, 1560px);
  margin: 0 auto;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  height: 66px;
  width: 100%;
  padding: 0 max(32px, calc((100vw - 1560px) / 2));
  border-bottom: 1px solid rgba(82, 46, 128, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(57, 38, 92, 0.06);
}

.landing-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  min-width: 0;
  color: #0b0824;
  text-decoration: none;
}

.landing-brand-link .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 6px 18px rgba(74, 25, 194, 0.28);
}

.landing-brand-link strong {
  font-size: 20px;
  font-weight: 900;
}

.landing-nav nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
}

.landing-nav nav a {
  color: #211048;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.landing-nav nav a:hover {
  color: #6425dd;
}

.landing-login-button {
  justify-self: end;
  min-height: 38px;
  padding: 0 20px;
  border: 1px solid rgba(95, 34, 219, 0.22);
  border-radius: 8px;
  color: #2b115b;
  background: #ffffff;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(62, 32, 112, 0.08);
}

.landing-login-button:hover {
  border-color: rgba(95, 34, 219, 0.44);
  color: #5f22db;
}

.landing-live-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 8%, rgba(230, 205, 255, 0.82), transparent 34%),
    linear-gradient(100deg, #050c29 0%, #071135 34%, #342074 60%, #a46cff 100%);
}

.landing-hero-bg,
.cosmic-dust,
.cloud-bank {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.landing-hero-bg {
  z-index: 0;
  opacity: 0.76;
}

.landing-hero-bg span {
  position: absolute;
  right: -10%;
  bottom: -24%;
  width: 78%;
  height: 48%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.5), rgba(208, 176, 255, 0.32) 42%, transparent 70%);
  filter: blur(18px);
  animation: cloudDrift 18s ease-in-out infinite alternate;
}

.landing-hero-bg span:nth-child(2) {
  right: 12%;
  bottom: -28%;
  width: 58%;
  height: 36%;
  opacity: 0.7;
  animation-duration: 24s;
}

.landing-hero-bg span:nth-child(3) {
  left: 43%;
  bottom: -30%;
  width: 34%;
  height: 30%;
  opacity: 0.55;
  animation-duration: 28s;
}

.cosmic-dust {
  z-index: 1;
}

.cosmic-dust i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.8);
  animation: dustFloat 9s ease-in-out infinite alternate;
}

.cosmic-dust i:nth-child(1) { left: 14%; top: 26%; animation-delay: -1s; }
.cosmic-dust i:nth-child(2) { left: 31%; top: 64%; width: 7px; height: 7px; animation-delay: -5s; }
.cosmic-dust i:nth-child(3) { left: 52%; top: 9%; width: 4px; height: 4px; animation-delay: -3s; }
.cosmic-dust i:nth-child(4) { left: 64%; top: 37%; width: 3px; height: 3px; animation-delay: -7s; }
.cosmic-dust i:nth-child(5) { left: 78%; top: 22%; animation-delay: -4s; }
.cosmic-dust i:nth-child(6) { left: 92%; top: 56%; width: 7px; height: 7px; animation-delay: -2s; }
.cosmic-dust i:nth-child(7) { left: 47%; top: 72%; width: 4px; height: 4px; animation-delay: -6s; }
.cosmic-dust i:nth-child(8) { left: 86%; top: 8%; width: 3px; height: 3px; animation-delay: -8s; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(620px, 1.18fr);
  gap: 48px;
  align-items: center;
  min-height: 560px;
  padding: 56px 0 50px;
}

.hero-copy {
  max-width: 650px;
}

.landing-eyebrow {
  margin: 0 0 16px;
  color: #7635ff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.landing-live-hero .landing-eyebrow,
.landing-final-cta .landing-eyebrow {
  color: #b184ff;
}

.hero-copy h1,
.product-copy h2,
.landing-difference-live h2,
.landing-how-live h2,
.landing-final-cta h2 {
  margin: 0;
  color: inherit;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 680px;
  font-size: clamp(52px, 5.2vw, 86px);
  font-weight: 950;
  line-height: 0.96;
}

.hero-copy h1 span {
  display: block;
  color: #9c67ff;
}

.hero-copy > p:not(.landing-eyebrow):not(.trial-note-line) {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 22px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 16px;
}

.hero-actions button,
.final-cta-actions button {
  min-height: 56px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 950;
}

.hero-actions button:first-child {
  min-width: 290px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(90deg, #6020e4, #a43cff);
  box-shadow: 0 18px 40px rgba(88, 33, 214, 0.32);
}

.hero-actions button:last-child {
  min-width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.hero-actions button:hover,
.final-cta-actions button:hover {
  transform: translateY(-1px);
}

.trial-note-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 850;
}

.trial-note-line span,
.final-cta-actions p span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
}

.hero-visual-live {
  position: relative;
  min-height: 430px;
}

.metric-card {
  position: absolute;
  z-index: 4;
  width: 176px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 55px rgba(7, 9, 40, 0.16);
  backdrop-filter: blur(14px);
}

.metric-card span,
.metric-card small {
  display: block;
  font-weight: 850;
}

.metric-card span {
  font-size: 14px;
  line-height: 1.25;
}

.metric-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 32px;
  line-height: 1;
}

.metric-card small {
  color: #72f0a7;
  font-size: 13px;
}

.score-card {
  left: 11%;
  top: 8%;
}

.draft-card-live {
  left: 7%;
  top: 43%;
}

.sync-card-live {
  right: 7%;
  top: 16%;
  color: #110d27;
  background: rgba(255, 255, 255, 0.9);
}

.sync-card-live small {
  color: #008060;
}

.approval-card-live {
  right: 9%;
  bottom: 13%;
}

.rocket-live {
  position: absolute;
  z-index: 3;
  left: 45%;
  top: 7%;
  width: 74px;
  height: 178px;
  border-radius: 44px 44px 24px 24px;
  background: linear-gradient(160deg, #b58aff 0%, #6d30ee 42%, #31118f 100%);
  box-shadow: 0 28px 70px rgba(70, 24, 194, 0.42);
  transform: rotate(34deg);
  animation: rocketHover 4.8s ease-in-out infinite alternate;
}

.rocket-live::before,
.rocket-live::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.rocket-live::before {
  bottom: -128px;
  width: 76px;
  height: 160px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 4%, rgba(255, 255, 255, 0.92), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(168, 104, 255, 0.42), transparent);
  filter: blur(8px);
}

.rocket-live::after {
  top: 60px;
  width: 112px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4b1fda, #2f117f);
  z-index: -1;
}

.rocket-live img {
  position: absolute;
  left: 50%;
  top: 42px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transform: translateX(-50%) rotate(-34deg);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.45);
}

.growth-line-live {
  position: absolute;
  right: -3%;
  bottom: 0;
  z-index: 2;
  width: min(74%, 680px);
  height: 330px;
  overflow: visible;
}

.growth-line-live path {
  fill: none;
  stroke-linecap: round;
}

.growth-shadow {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 22;
  filter: blur(10px);
}

.growth-stroke {
  stroke: #5d28e8;
  stroke-width: 6;
}

.growth-line-live circle {
  fill: #d8c4ff;
  stroke: #5d28e8;
  stroke-width: 6;
}

.cloud-bank {
  z-index: 1;
  top: auto;
  height: 36%;
  background:
    radial-gradient(circle at 16% 76%, rgba(255, 255, 255, 0.72), transparent 16%),
    radial-gradient(circle at 32% 60%, rgba(255, 255, 255, 0.62), transparent 18%),
    radial-gradient(circle at 52% 74%, rgba(255, 255, 255, 0.7), transparent 18%),
    radial-gradient(circle at 74% 70%, rgba(255, 255, 255, 0.72), transparent 20%),
    radial-gradient(circle at 92% 82%, rgba(255, 255, 255, 0.68), transparent 16%);
  filter: blur(8px);
  opacity: 0.82;
  animation: cloudDrift 16s ease-in-out infinite alternate;
}

.landing-product-section {
  scroll-margin-top: 82px;
  padding: 58px 0 74px;
  background:
    radial-gradient(circle at 67% 14%, rgba(120, 76, 255, 0.14), transparent 26%),
    #fbfaff;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.55fr) minmax(620px, 1fr);
  gap: 62px;
  align-items: center;
}

.product-copy h2,
.landing-difference-live h2,
.landing-how-live h2 {
  color: #090724;
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 950;
  line-height: 1.08;
}

.product-copy p:not(.landing-eyebrow) {
  max-width: 530px;
  margin: 20px 0 0;
  color: #463d63;
  font-size: 18px;
  line-height: 1.55;
}

.dashboard-stage {
  position: relative;
  padding: 38px 70px 44px;
}

.dashboard-stage img {
  display: block;
  width: 100%;
  border: 1px solid rgba(93, 40, 232, 0.16);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 28px 80px rgba(47, 26, 90, 0.14);
}

.browser-window {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px 8px 0 0;
  background: #071134;
}

.browser-window span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.browser-window span:nth-child(1) { background: #ff6b5e; }
.browser-window span:nth-child(2) { background: #ffca4f; }
.browser-window span:nth-child(3) { background: #3fcf7f; }

.dashboard-note {
  position: absolute;
  z-index: 3;
  width: 170px;
  padding: 17px;
  border: 1px solid rgba(93, 40, 232, 0.18);
  border-radius: 8px;
  color: #2b2146;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(57, 31, 108, 0.12);
}

.dashboard-note strong,
.dashboard-note span {
  display: block;
}

.dashboard-note strong {
  margin-bottom: 8px;
  color: #5f22db;
  font-size: 17px;
}

.dashboard-note span {
  color: #4d4467;
  font-size: 14px;
  line-height: 1.45;
}

.note-left {
  left: 0;
  bottom: 82px;
}

.note-top {
  right: 0;
  top: 96px;
}

.note-bottom {
  right: 0;
  bottom: 76px;
}

.landing-difference-live {
  padding: 0 0 58px;
  background: #fbfaff;
}

.landing-difference-live .landing-live-inner {
  padding: 34px;
  border: 1px solid rgba(93, 40, 232, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(56, 33, 100, 0.08);
}

.landing-difference-live .landing-eyebrow,
.landing-difference-live h2,
.landing-how-live .landing-eyebrow,
.landing-how-live h2 {
  text-align: center;
}

.landing-difference-live h2,
.landing-how-live h2 {
  max-width: 820px;
  margin: 0 auto;
}

.difference-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  margin-top: 30px;
}

.difference-live-grid article {
  min-height: 220px;
  padding: 28px;
  border-radius: 8px;
}

.before-card {
  border: 1px solid rgba(239, 68, 68, 0.28);
  background: linear-gradient(135deg, rgba(255, 245, 245, 0.95), rgba(255, 255, 255, 0.86));
}

.after-card {
  border: 1px solid rgba(0, 128, 96, 0.24);
  background: linear-gradient(135deg, rgba(243, 255, 249, 0.96), rgba(255, 255, 255, 0.88));
}

.difference-live-grid h3 {
  margin: 0 0 20px;
  color: #090724;
  font-size: 18px;
}

.difference-live-grid ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.difference-live-grid li {
  position: relative;
  padding-left: 28px;
  color: #15102d;
  font-size: 17px;
  font-weight: 900;
}

.difference-live-grid li::before {
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
}

.before-card li::before {
  content: "×";
  background: #ef4444;
}

.after-card li::before {
  content: "✓";
  background: #18a66a;
}

.difference-live-arrow {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #4d19d8, #9b43ff);
  font-size: 24px;
  font-weight: 950;
}

.landing-how-live {
  scroll-margin-top: 82px;
  padding: 0 0 68px;
  background: #fbfaff;
}

.how-grid-live {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.how-grid-live article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(93, 40, 232, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 52px rgba(57, 31, 108, 0.06);
}

.how-grid-live span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 30px;
  margin-bottom: 18px;
  border: 1px solid rgba(95, 34, 219, 0.18);
  border-radius: 6px;
  color: #5f22db;
  background: #f2eaff;
  font-weight: 950;
}

.how-grid-live strong {
  display: block;
  margin-bottom: 12px;
  color: #090724;
  font-size: 18px;
}

.how-grid-live p {
  margin: 0;
  color: #524966;
  font-size: 15px;
  line-height: 1.55;
}

.landing-final-cta {
  padding: 0 0 36px;
  background: #fbfaff;
}

.final-cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  min-height: 172px;
  padding: 34px 58px;
  border-radius: 8px;
  color: #ffffff;
  background:
    radial-gradient(circle at 92% 24%, rgba(255, 255, 255, 0.16), transparent 12%),
    linear-gradient(115deg, #3c13d3 0%, #5c20e6 48%, #8f36ff 100%);
  box-shadow: 0 26px 80px rgba(76, 25, 202, 0.18);
}

.final-cta-box h2 {
  max-width: 650px;
  font-size: clamp(30px, 2.7vw, 46px);
  font-weight: 950;
  line-height: 1.08;
}

.final-cta-box p:not(.landing-eyebrow) {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}

.final-cta-actions {
  display: grid;
  justify-items: start;
  gap: 12px;
  width: min(100vw - 96px, 370px);
}

.final-cta-actions button {
  width: 100%;
  min-height: 64px;
  border: 0;
  color: #5f22db;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(33, 8, 96, 0.18);
}

.final-cta-actions p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 850;
}

@keyframes dustFloat {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 0.35;
  }
  to {
    transform: translate3d(16px, -22px, 0);
    opacity: 0.95;
  }
}

@keyframes cloudDrift {
  from {
    transform: translate3d(-18px, 0, 0) scale(1);
  }
  to {
    transform: translate3d(26px, -8px, 0) scale(1.04);
  }
}

@keyframes rocketHover {
  from {
    transform: rotate(34deg) translate3d(0, 0, 0);
  }
  to {
    transform: rotate(34deg) translate3d(8px, -16px, 0);
  }
}

@media (max-width: 1180px) {
  .hero-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual-live {
    min-height: 420px;
  }

  .score-card {
    left: 4%;
  }

  .draft-card-live {
    left: 2%;
  }

  .dashboard-stage {
    padding: 28px 0 120px;
  }

  .dashboard-note {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .how-grid-live {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .landing-live-inner {
    width: min(100% - 28px, 1560px);
  }

  .landing-nav {
    grid-template-columns: 1fr auto;
    gap: 14px;
    height: auto;
    min-height: 64px;
    padding: 10px 14px;
  }

  .landing-brand-link strong {
    font-size: 16px;
  }

  .landing-nav nav {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
    gap: 22px;
    padding-top: 4px;
  }

  .landing-login-button {
    min-height: 34px;
    padding: 0 14px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 44px 0 34px;
  }

  .hero-copy h1 {
    font-size: 43px;
  }

  .hero-copy > p:not(.landing-eyebrow):not(.trial-note-line) {
    font-size: 17px;
  }

  .hero-actions button,
  .hero-actions button:first-child,
  .hero-actions button:last-child {
    width: 100%;
    min-width: 0;
  }

  .hero-visual-live {
    min-height: 330px;
  }

  .metric-card {
    width: 148px;
    padding: 13px;
  }

  .metric-card strong {
    font-size: 25px;
  }

  .sync-card-live {
    right: 0;
  }

  .approval-card-live {
    right: 3%;
  }

  .rocket-live {
    left: 47%;
    top: 8%;
    transform: rotate(34deg) scale(0.78);
  }

  .growth-line-live {
    right: -22%;
    width: 94%;
  }

  .product-grid {
    gap: 24px;
  }

  .dashboard-stage {
    padding-bottom: 20px;
  }

  .landing-difference-live .landing-live-inner {
    padding: 22px;
  }

  .difference-live-grid,
  .final-cta-box {
    grid-template-columns: 1fr;
  }

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

  .how-grid-live {
    grid-template-columns: 1fr;
  }

  .final-cta-box {
    padding: 26px 22px;
  }

  .final-cta-actions {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cosmic-dust i,
  .landing-hero-bg span,
  .cloud-bank,
  .rocket-live {
    animation: none;
  }
}

/* SaaS hero rebuild */
body.landing-mode .landing-page.landing-live {
  background: #f6f7fb;
}

.landing-live-hero {
  min-height: 700px;
  background:
    radial-gradient(circle at 72% 24%, rgba(124, 90, 255, 0.34), transparent 28%),
    radial-gradient(circle at 92% 72%, rgba(24, 166, 106, 0.14), transparent 20%),
    linear-gradient(115deg, #071022 0%, #0b1230 45%, #24165c 72%, #6e35df 100%);
}

.landing-live-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.75), transparent 82%);
}

.landing-hero-bg {
  opacity: 0.34;
}

.landing-hero-bg span {
  right: -18%;
  bottom: -32%;
  width: 68%;
  height: 48%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.38), rgba(130, 94, 255, 0.2) 42%, transparent 72%);
}

.hero-grid {
  grid-template-columns: minmax(520px, 0.86fr) minmax(680px, 1.14fr);
  gap: 76px;
  min-height: 700px;
  padding: 70px 0 72px;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(56px, 4.4vw, 78px);
  line-height: 1.02;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: inline;
  color: #a878ff;
}

.hero-copy > p:not(.landing-eyebrow):not(.trial-note-line) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.hero-actions {
  margin-top: 32px;
}

.hero-actions button,
.final-cta-actions button {
  letter-spacing: 0;
}

.hero-actions button:first-child {
  min-width: 250px;
  background: linear-gradient(90deg, #5d2df2, #9348ff);
  box-shadow: 0 18px 46px rgba(103, 54, 242, 0.32);
}

.hero-actions button:last-child {
  min-width: 230px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-proof-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.075);
  font-size: 13px;
  font-weight: 850;
}

.hero-visual-live {
  display: grid;
  align-items: center;
  min-height: 540px;
}

.hero-app-window {
  position: relative;
  z-index: 2;
  width: min(100%, 860px);
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(247, 249, 255, 0.96);
  box-shadow:
    0 36px 120px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.hero-app-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 18px;
  color: #ffffff;
  background: #070d26;
}

.browser-window-dots {
  display: flex;
  gap: 7px;
}

.browser-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.browser-window-dots span:nth-child(1) { background: #ff6b5e; }
.browser-window-dots span:nth-child(2) { background: #ffca4f; }
.browser-window-dots span:nth-child(3) { background: #3fcf7f; }

.hero-app-top strong {
  font-size: 14px;
  font-weight: 900;
}

.hero-app-top em {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.hero-app-body {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  min-height: 410px;
  background:
    radial-gradient(circle at 80% 0%, rgba(105, 69, 255, 0.08), transparent 28%),
    #f8f9ff;
}

.hero-app-nav {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px 14px;
  border-right: 1px solid rgba(25, 31, 58, 0.08);
  background: #ffffff;
}

.hero-app-nav span {
  min-height: 34px;
  padding: 9px 11px;
  border-radius: 6px;
  color: #625b78;
  font-size: 13px;
  font-weight: 850;
}

.hero-app-nav span.active {
  color: #4e21cf;
  background: #f0ebff;
}

.hero-command-panel {
  padding: 22px;
}

.hero-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.hero-panel-head span,
.hero-stat-strip span,
.hero-table-head span,
.hero-insight-card span {
  color: #6b6478;
  font-size: 12px;
  font-weight: 850;
}

.hero-panel-head strong {
  display: block;
  margin-top: 4px;
  color: #0b1024;
  font-size: 22px;
  line-height: 1.16;
}

.hero-panel-head small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #008060;
  background: #e7f8ef;
  font-size: 12px;
  font-weight: 900;
}

.hero-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.hero-stat-strip article {
  min-height: 104px;
  padding: 15px;
  border: 1px solid rgba(29, 35, 68, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(33, 22, 70, 0.04);
}

.hero-stat-strip strong {
  display: block;
  margin: 8px 0 6px;
  color: #0b1024;
  font-size: 25px;
  line-height: 1;
}

.hero-stat-strip small {
  color: #008060;
  font-size: 12px;
  font-weight: 850;
}

.hero-product-table {
  overflow: hidden;
  border: 1px solid rgba(29, 35, 68, 0.08);
  border-radius: 8px;
  background: #ffffff;
}

.hero-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px 112px;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(29, 35, 68, 0.07);
  color: #171326;
  font-size: 13px;
  font-weight: 800;
}

.hero-table-row:last-child {
  border-bottom: 0;
}

.hero-table-head {
  min-height: 38px;
  background: #fbfbfe;
}

.hero-table-row span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.hero-table-row i {
  width: 20px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(180deg, #c7a8ff, #5f2de6);
}

.hero-table-row strong {
  font-size: 13px;
}

.hero-table-row strong.danger { color: #d92d20; }
.hero-table-row strong.warning { color: #b54708; }
.hero-table-row strong.good { color: #008060; }

.hero-table-row em {
  justify-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  color: #5f22db;
  background: #f1ebff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.hero-visual-live .metric-card {
  width: 190px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(11, 16, 36, 0.72);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.hero-visual-live .score-card {
  left: -34px;
  top: -12px;
}

.hero-visual-live .approval-card-live {
  right: -22px;
  bottom: 64px;
}

.hero-insight-card {
  position: absolute;
  z-index: 4;
  left: 72px;
  bottom: -6px;
  width: 330px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(11, 16, 36, 0.76);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.hero-insight-card strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.35;
}

.hero-insight-card span {
  color: rgba(255, 255, 255, 0.64);
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual-live {
    min-height: 560px;
  }

  .hero-app-window {
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .landing-live-hero {
    min-height: 0;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-visual-live {
    min-height: auto;
  }

  .hero-app-body {
    grid-template-columns: 1fr;
  }

  .hero-app-nav {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(25, 31, 58, 0.08);
  }

  .hero-stat-strip {
    grid-template-columns: 1fr;
  }

  .hero-table-row {
    grid-template-columns: minmax(0, 1fr) 70px;
  }

  .hero-table-row em,
  .hero-table-head span:last-child {
    display: none;
  }

  .hero-visual-live .metric-card,
  .hero-insight-card {
    display: none;
  }

  .hero-visual-live .metric-card {
    display: none;
  }

  .hero-app-top {
    grid-template-columns: auto 1fr;
  }

  .hero-app-top em {
    display: none;
  }

  .hero-app-body {
    display: block;
    min-height: 0;
  }

  .hero-app-nav {
    display: none;
  }

  .hero-command-panel {
    padding: 16px;
  }

  .hero-panel-head strong {
    font-size: 18px;
  }

  .hero-stat-strip {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
  }

  .hero-stat-strip article {
    flex: 0 0 142px;
    min-height: 94px;
    padding: 12px;
  }

  .hero-stat-strip strong {
    font-size: 21px;
  }

  .hero-product-table {
    margin-top: 4px;
  }

  .hero-table-row {
    min-height: 46px;
    padding: 0 12px;
    font-size: 12px;
  }
}

.trial-note-line span {
  font-size: 0;
}

.trial-note-line span::before {
  content: "\2713";
  font-size: 14px;
}

.before-card li::before {
  content: "\00d7";
}

.after-card li::before {
  content: "\2713";
}

/* Revenue Reactor polished SaaS landing reset */
body.landing-mode {
  background: #f5f6fb;
}

body.landing-mode .landing-page.landing-live {
  background: #f5f6fb;
}

body.landing-mode .landing-page.landing-live > .landing-legacy-main {
  display: none !important;
}

body.landing-mode .rr-site {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: #f5f6fb;
  color: #090b1f;
}

body.landing-mode .landing-nav {
  height: 68px;
  border-bottom: 1px solid rgba(19, 24, 44, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 32px rgba(16, 20, 45, 0.06);
}

.rr-site button,
.rr-site a {
  font: inherit;
}

.rr-site button {
  cursor: pointer;
}

.rr-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(112deg, rgba(8, 13, 31, 0.98) 0%, rgba(8, 13, 31, 0.96) 44%, rgba(34, 28, 88, 0.96) 68%, rgba(94, 49, 218, 0.94) 100%),
    linear-gradient(180deg, #080d1f, #101431);
}

.rr-hero::before,
.rr-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rr-hero::before {
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.065) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

.rr-hero::after {
  inset: auto -8% -42% 52%;
  height: 78%;
  transform: rotate(-8deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  filter: blur(2px);
}

.rr-hero-shell,
.rr-outcomes,
.rr-showcase,
.rr-loop,
.rr-final {
  width: min(100% - 64px, 1500px);
  margin: 0 auto;
}

.rr-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(620px, 0.95fr) minmax(560px, 1.05fr);
  gap: 58px;
  align-items: center;
  min-height: 660px;
  padding: 76px 0 82px;
}

.rr-kicker {
  margin: 0 0 14px;
  color: #9cf0bd;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.rr-hero-copy h1,
.rr-showcase h2,
.rr-loop h2,
.rr-final h2 {
  margin: 0;
  letter-spacing: 0;
}

.rr-hero-copy h1 {
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(52px, 4.6vw, 82px);
  font-weight: 950;
  line-height: 1;
  text-wrap: balance;
}

.rr-hero-copy > p {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
  line-height: 1.58;
}

.rr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.rr-hero-actions button,
.rr-final button {
  min-height: 56px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 0;
}

.rr-hero-actions button:first-child,
.rr-final button {
  min-width: 228px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(90deg, #5c2df2, #8750ff);
  box-shadow: 0 20px 48px rgba(94, 48, 242, 0.34);
}

.rr-hero-actions button:last-child {
  min-width: 160px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.rr-hero-actions button:hover,
.rr-final button:hover {
  transform: translateY(-1px);
}

.rr-product-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: min(100%, 800px);
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.rr-window-bar {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  color: #ffffff;
  background: #070d26;
}

.rr-window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.rr-window-bar span:nth-child(1) { background: #ff6b5e; }
.rr-window-bar span:nth-child(2) { background: #ffca4f; }
.rr-window-bar span:nth-child(3) { background: #3fcf7f; }

.rr-window-bar strong {
  justify-self: end;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.rr-workspace-preview {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 430px;
  color: #101426;
  background:
    linear-gradient(135deg, #ffffff 0%, #f7f8ff 58%, #f0efff 100%);
}

.rr-preview-nav {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px 14px;
  border-right: 1px solid rgba(21, 27, 52, 0.08);
  background: #ffffff;
}

.rr-preview-nav b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #4b22d7, #8a42ff);
  font-size: 14px;
}

.rr-preview-nav span {
  min-height: 36px;
  padding: 10px 11px;
  border-radius: 6px;
  color: #645f75;
  font-size: 13px;
  font-weight: 850;
}

.rr-preview-nav span.active {
  color: #4f21d4;
  background: #f1ecff;
}

.rr-preview-main {
  padding: 26px;
}

.rr-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.rr-preview-head small {
  display: block;
  margin-bottom: 7px;
  color: #6f6881;
  font-size: 12px;
  font-weight: 850;
}

.rr-preview-head strong {
  display: block;
  max-width: 440px;
  color: #0b1024;
  font-size: 28px;
  line-height: 1.08;
}

.rr-preview-head em {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  color: #008060;
  background: #e6f8ef;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.rr-action-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(21, 27, 52, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 48px rgba(34, 28, 82, 0.08);
}

.rr-action-card strong {
  display: block;
  color: #12152a;
  font-size: 18px;
}

.rr-action-card p {
  margin: 7px 0 0;
  color: #5e5870;
  font-size: 14px;
  line-height: 1.45;
}

.rr-priority-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.rr-preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  color: #ffffff;
  background: #5f22db;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.rr-preview-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.rr-preview-list span {
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(21, 27, 52, 0.08);
  border-radius: 8px;
  color: #443d5b;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.rr-outcomes {
  scroll-margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 28px 0 88px;
}

.rr-outcomes article,
.rr-loop-grid article {
  border: 1px solid rgba(42, 35, 82, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 54px rgba(28, 22, 70, 0.06);
}

.rr-outcomes article {
  min-height: 210px;
  padding: 28px;
}

.rr-outcomes span,
.rr-loop-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  color: #5f22db;
  background: #f0ebff;
  font-size: 13px;
  font-weight: 950;
}

.rr-outcomes h2 {
  margin: 22px 0 10px;
  color: #0a0b1f;
  font-size: 24px;
  line-height: 1.12;
}

.rr-outcomes p,
.rr-showcase p,
.rr-showcase li,
.rr-loop-grid p,
.rr-final p {
  color: #5d586c;
  line-height: 1.55;
}

.rr-outcomes p,
.rr-loop-grid p {
  margin: 0;
  font-size: 15px;
}

.rr-showcase {
  display: grid;
  grid-template-columns: minmax(360px, 0.64fr) minmax(620px, 1fr);
  gap: 52px;
  align-items: center;
  padding: 0 0 92px;
}

.rr-showcase h2,
.rr-loop h2,
.rr-final h2 {
  color: #090b1f;
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 950;
  line-height: 1.08;
}

.rr-showcase p {
  max-width: 570px;
  margin: 18px 0 0;
  font-size: 18px;
}

.rr-showcase ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.rr-showcase li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
}

.rr-showcase li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #ffffff;
  background: #18a66a;
  font-size: 12px;
  font-weight: 900;
}

.rr-dashboard-card {
  overflow: hidden;
  border: 1px solid rgba(42, 35, 82, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(28, 22, 70, 0.1);
}

.rr-dashboard-card img {
  display: block;
  width: 100%;
  height: auto;
}

.rr-loop {
  scroll-margin-top: 88px;
  padding: 0 0 88px;
}

.rr-loop > .rr-kicker,
.rr-loop h2 {
  text-align: center;
}

.rr-loop h2 {
  max-width: 780px;
  margin: 0 auto;
}

.rr-loop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.rr-loop-grid article {
  min-height: 168px;
  padding: 24px;
}

.rr-loop-grid p {
  margin-top: 18px;
}

.rr-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  margin-bottom: 42px;
  padding: 36px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(8, 13, 31, 0.98), rgba(46, 28, 126, 0.96) 58%, rgba(95, 34, 219, 0.96)),
    #12162c;
  box-shadow: 0 26px 80px rgba(48, 26, 126, 0.16);
}

.rr-final h2 {
  color: #ffffff;
}

.rr-final p {
  max-width: 520px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1120px) {
  .rr-hero-shell,
  .rr-showcase {
    grid-template-columns: 1fr;
  }

  .rr-product-frame {
    max-width: 860px;
  }

  .rr-outcomes,
  .rr-loop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .rr-hero-shell,
  .rr-outcomes,
  .rr-showcase,
  .rr-loop,
  .rr-final {
    width: min(100% - 28px, 1500px);
  }

  .rr-hero-shell {
    gap: 34px;
    min-height: 0;
    padding: 48px 0 54px;
  }

  .rr-hero-copy h1 {
    font-size: 42px;
  }

  .rr-hero-copy > p {
    font-size: 17px;
  }

  .rr-hero-actions button {
    width: 100%;
  }

  .rr-workspace-preview {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .rr-preview-nav {
    display: none;
  }

  .rr-preview-main {
    padding: 18px;
  }

  .rr-preview-head,
  .rr-action-card,
  .rr-final {
    grid-template-columns: 1fr;
  }

  .rr-preview-head {
    display: grid;
  }

  .rr-preview-head strong {
    font-size: 22px;
  }

  .rr-preview-list {
    display: none;
  }

  .rr-outcomes,
  .rr-loop-grid {
    grid-template-columns: 1fr;
  }

  .rr-outcomes {
    padding-bottom: 58px;
  }

  .rr-showcase,
  .rr-loop {
    padding-bottom: 58px;
  }

  .rr-final button {
    width: 100%;
  }
}

/* Reference landing page */
body.landing-mode {
  background: #fbfcff;
}

body.landing-mode .landing-page.rr-reference {
  display: block;
  min-height: 100vh;
  overflow: visible;
  color: #080927;
  background: #fbfcff;
  isolation: isolate;
}

body.landing-mode .landing-page.rr-reference::before,
body.landing-mode .landing-page.rr-reference::after {
  display: none;
}

body.landing-mode .landing-page.rr-reference > .rr-site,
body.landing-mode .landing-page.rr-reference > .landing-legacy-main {
  display: none !important;
}

body.landing-mode .landing-page.rr-reference .landing-nav {
  position: relative;
  top: auto;
  z-index: 20;
  height: 62px;
  padding: 0 31px;
  border-bottom: 1px solid rgba(11, 15, 42, 0.08);
  background: #ffffff;
  box-shadow: none;
}

body.landing-mode .landing-page.rr-reference .landing-brand-link {
  gap: 13px;
  color: #070724;
}

body.landing-mode .landing-page.rr-reference .landing-brand-link .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(85, 39, 224, 0.2);
}

body.landing-mode .landing-page.rr-reference .landing-brand-link strong {
  color: #070724;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
}

body.landing-mode .landing-page.rr-reference .landing-nav nav {
  gap: 43px;
}

body.landing-mode .landing-page.rr-reference .landing-nav nav a {
  min-height: 62px;
  padding: 0;
  border-radius: 0;
  color: #080927;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

body.landing-mode .landing-page.rr-reference .landing-nav nav a:hover {
  color: #5f22db;
  background: transparent;
}

body.landing-mode .landing-page.rr-reference .landing-login-button {
  display: none;
}

.rr-reference-main {
  position: relative;
  z-index: 1;
  padding: 0;
  overflow: visible;
  background: #fbfcff;
}

.rr-reference-hero {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(252, 216, 255, 0.88) 0%, rgba(170, 119, 255, 0.6) 26%, transparent 48%),
    linear-gradient(100deg, #020831 0%, #06113f 34%, #34207d 58%, #8c63f7 80%, #f4d7ff 100%);
}

.rr-reference-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 7, 42, 0.94) 0%, rgba(0, 8, 47, 0.9) 37%, rgba(71, 39, 163, 0.16) 72%, rgba(255, 255, 255, 0.1) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 84px);
  pointer-events: none;
}

.rr-reference-hero::after {
  content: "";
  position: absolute;
  right: -9%;
  bottom: -34%;
  width: 78%;
  height: 94%;
  border-radius: 50%;
  border: 34px solid rgba(255, 255, 255, 0.11);
  border-left-color: transparent;
  border-top-color: rgba(255, 255, 255, 0.04);
  transform: rotate(-18deg);
  pointer-events: none;
}

.rr-reference-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1160px);
  min-height: 450px;
  margin: 0 auto;
  padding: 57px 52px 32px;
}

.rr-reference-copy {
  position: relative;
  z-index: 4;
  width: min(52vw, 540px);
}

.rr-reference-kicker {
  margin: 0 0 16px;
  color: #6126f4;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rr-reference-hero .rr-reference-kicker {
  color: #9f67ff;
}

.rr-reference-copy h1 {
  max-width: 560px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(44px, 5vw, 58px);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0;
}

.rr-reference-copy h1 span {
  color: #8d62ff;
}

.rr-reference-copy > p:not(.rr-reference-kicker):not(.rr-trial-note) {
  max-width: 450px;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 20px;
  line-height: 1.48;
}

.rr-primary-cta,
.rr-bottom-cta button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 950;
  letter-spacing: 0;
}

.rr-primary-cta {
  gap: 17px;
  min-width: 272px;
  margin-top: 21px;
  padding: 0 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #651af0 0%, #a337ff 100%);
  box-shadow: 0 18px 36px rgba(76, 27, 210, 0.34);
  font-size: 17px;
}

.rr-primary-cta:hover,
.rr-bottom-cta button:hover {
  transform: translateY(-1px);
}

.rr-trial-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 17px 0 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 780;
}

.rr-trial-note span,
.rr-bottom-cta p span {
  position: relative;
  display: inline-flex;
  width: 16px;
  height: 18px;
  flex: 0 0 auto;
  border: 1.8px solid currentColor;
  border-radius: 8px 8px 10px 10px;
}

.rr-trial-note span::after,
.rr-bottom-cta p span::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 6px;
  height: 3px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.rr-hero-scene {
  position: absolute;
  inset: 0 0 0 52%;
  z-index: 2;
}

.rr-hero-stars i {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
  transform: rotate(45deg);
}

.rr-hero-stars i:nth-child(1) { left: 10%; top: 8%; }
.rr-hero-stars i:nth-child(2) { left: 39%; top: 24%; width: 3px; height: 3px; }
.rr-hero-stars i:nth-child(3) { left: 4%; top: 70%; width: 3px; height: 3px; }
.rr-hero-stars i:nth-child(4) { left: 65%; top: 36%; }
.rr-hero-stars i:nth-child(5) { left: 82%; top: 62%; width: 3px; height: 3px; }
.rr-hero-stars i:nth-child(6) { left: 31%; top: 74%; width: 2px; height: 2px; }

.rr-growth-chart {
  position: absolute;
  right: 0;
  bottom: -10px;
  width: min(56vw, 580px);
  height: 315px;
  overflow: visible;
}

.rr-chart-fill {
  fill: rgba(116, 62, 237, 0.14);
}

.rr-chart-line {
  fill: none;
  stroke: #6130e9;
  stroke-width: 5;
  stroke-linecap: round;
}

.rr-chart-points line {
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 2;
  stroke-dasharray: 8 8;
}

.rr-chart-points circle {
  fill: #d7c1ff;
  stroke: #5a2de0;
  stroke-width: 6;
}

.rr-clouds {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -30px;
  height: 118px;
  opacity: 0.96;
  background:
    radial-gradient(circle at 4% 72%, rgba(149, 119, 240, 0.82) 0 34px, transparent 35px),
    radial-gradient(circle at 12% 56%, rgba(169, 139, 247, 0.92) 0 42px, transparent 43px),
    radial-gradient(circle at 24% 74%, rgba(198, 172, 255, 0.95) 0 48px, transparent 49px),
    radial-gradient(circle at 38% 64%, rgba(219, 199, 255, 0.98) 0 52px, transparent 53px),
    radial-gradient(circle at 55% 74%, rgba(226, 207, 255, 0.98) 0 50px, transparent 51px),
    radial-gradient(circle at 73% 58%, rgba(232, 211, 255, 0.98) 0 58px, transparent 59px),
    radial-gradient(circle at 88% 70%, rgba(238, 219, 255, 0.98) 0 50px, transparent 51px),
    linear-gradient(180deg, transparent 0%, rgba(219, 196, 255, 0.92) 44%, rgba(202, 173, 255, 0.98) 100%);
  filter: blur(0.2px);
}

.rr-rocket {
  position: absolute;
  right: 242px;
  top: 58px;
  width: 94px;
  height: 190px;
  transform: rotate(32deg);
  filter: drop-shadow(0 20px 28px rgba(42, 12, 130, 0.35));
}

.rr-rocket-body {
  position: absolute;
  left: 24px;
  top: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 126px;
  border-radius: 48% 48% 44% 44%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.54), transparent 32%),
    linear-gradient(180deg, #3811ad 0%, #8958ff 47%, #3f11c6 100%);
  clip-path: polygon(50% 0, 87% 15%, 100% 78%, 74% 100%, 26% 100%, 0 78%, 13% 15%);
}

.rr-rocket-body img {
  width: 25px;
  height: 25px;
  transform: rotate(-32deg);
  border-radius: 7px;
  box-shadow: 0 5px 16px rgba(16, 0, 68, 0.28);
}

.rr-rocket-body::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 15px;
  width: 11px;
  height: 27px;
  border-radius: 999px;
  background: #d5c2ff;
  transform: translateX(-50%);
}

.rr-rocket-fin {
  position: absolute;
  z-index: 1;
  width: 34px;
  height: 56px;
  background: linear-gradient(180deg, #6730ed, #2d0b9c);
  border-radius: 24px 4px 24px 8px;
}

.rr-rocket-fin-left {
  left: 2px;
  top: 78px;
  transform: rotate(-19deg);
}

.rr-rocket-fin-right {
  right: 0;
  top: 78px;
  transform: scaleX(-1) rotate(-19deg);
}

.rr-rocket-flame {
  position: absolute;
  left: 40px;
  top: 115px;
  z-index: 0;
  width: 24px;
  height: 178px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(188, 133, 255, 0.48) 52%, transparent 100%);
  filter: blur(3px);
  transform-origin: top center;
}

.rr-rocket-flame::before,
.rr-rocket-flame::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 14px;
  height: 166px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(168, 98, 255, 0.2), transparent);
}

.rr-rocket-flame::before {
  left: -19px;
  transform: rotate(11deg);
}

.rr-rocket-flame::after {
  right: -19px;
  transform: rotate(-11deg);
}

.rr-hero-card {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 7px;
  min-width: 120px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 52px rgba(16, 0, 66, 0.18);
  backdrop-filter: blur(12px);
}

.rr-hero-card span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 760;
}

.rr-hero-card strong {
  color: #ffffff;
  font-size: 27px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.rr-hero-card strong em {
  color: rgba(255, 255, 255, 0.55);
  font-style: normal;
}

.rr-hero-card small {
  color: #64dc87;
  font-size: 12px;
  font-weight: 860;
}

.rr-hero-card > i {
  position: absolute;
  right: 14px;
  bottom: 18px;
  width: 41px;
  height: 22px;
  border-bottom: 2px solid #73e38a;
  border-right: 2px solid #73e38a;
  transform: skew(-26deg) rotate(-18deg);
  opacity: 0.78;
}

.rr-score-card {
  left: 30px;
  top: 60px;
  width: 136px;
}

.rr-draft-card {
  left: 28px;
  top: 203px;
  width: 120px;
}

.rr-draft-card::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 15px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #7844ff;
}

.rr-draft-card span {
  padding-left: 28px;
}

.rr-draft-card small {
  color: rgba(255, 255, 255, 0.9);
}

.rr-sync-card {
  right: 24px;
  top: 93px;
  grid-template-columns: 34px 1fr;
  width: 150px;
  min-height: 92px;
  color: #0b0d2c;
  background: rgba(255, 255, 255, 0.86);
}

.rr-sync-card b {
  grid-row: 1 / 4;
  display: grid;
  place-items: center;
  width: 28px;
  height: 31px;
  margin-top: 7px;
  color: #ffffff;
  border-radius: 5px 5px 8px 8px;
  background: #6fba44;
  font-size: 20px;
  font-weight: 950;
}

.rr-sync-card span,
.rr-sync-card strong {
  color: #0b0d2c;
}

.rr-sync-card strong {
  font-size: 20px;
}

.rr-sync-card small {
  color: #0aa058;
}

.rr-approved-card {
  right: 36px;
  bottom: 70px;
  grid-template-columns: 38px 1fr;
  width: 155px;
  min-height: 102px;
}

.rr-approved-card b {
  position: relative;
  grid-row: 1 / 4;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  margin-top: 18px;
  border-radius: 50%;
  background: #82ef9f;
}

.rr-approved-card b::after {
  content: "";
  width: 14px;
  height: 8px;
  border-left: 4px solid #126849;
  border-bottom: 4px solid #126849;
  transform: rotate(-45deg);
}

.rr-approved-card strong {
  font-size: 20px;
}

.rr-approved-card small {
  color: #ffffff;
  line-height: 1.35;
}

.rr-dashboard-section {
  position: relative;
  scroll-margin-top: 74px;
  min-height: 418px;
  padding: 0 36px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.rr-dashboard-inner {
  position: relative;
  width: min(100%, 1120px);
  min-height: 418px;
  margin: 0 auto;
}

.rr-dashboard-copy {
  position: absolute;
  left: 0;
  top: 108px;
  z-index: 3;
  width: 270px;
}

.rr-dashboard-copy h2,
.rr-difference h2,
.rr-bottom-cta h2 {
  margin: 0;
  color: #080927;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.rr-dashboard-copy h2 {
  font-size: 28px;
}

.rr-dashboard-copy p:not(.rr-reference-kicker) {
  margin: 14px 0 0;
  color: #272849;
  font-size: 14px;
  line-height: 1.62;
}

.rr-dashboard-stage {
  position: relative;
  min-height: 418px;
}

.rr-dashboard-window {
  position: absolute;
  left: clamp(280px, 30vw, 333px);
  top: 14px;
  z-index: 2;
  width: min(56vw, 563px);
  min-width: 520px;
  overflow: hidden;
  border: 1px solid #d8d9ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 26px 76px rgba(33, 28, 87, 0.13);
}

.rr-window-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 29px;
  padding: 0 13px;
  background: linear-gradient(180deg, #061137, #020b2d);
}

.rr-window-top i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.rr-window-top i:nth-child(1) { background: #ff605c; }
.rr-window-top i:nth-child(2) { background: #ffbd44; }
.rr-window-top i:nth-child(3) { background: #00ca4e; }

.rr-dashboard-app {
  display: grid;
  grid-template-columns: 126px 1fr;
  min-height: 358px;
}

.rr-dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 14px 12px;
  border-right: 1px solid #ecebfb;
  background: #fbfaff;
}

.rr-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: #080927;
}

.rr-sidebar-brand img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

.rr-sidebar-brand strong {
  font-size: 10px;
  font-weight: 950;
}

.rr-dashboard-sidebar span {
  min-height: 24px;
  padding: 7px 8px;
  border-radius: 6px;
  color: #22234b;
  font-size: 9px;
  font-weight: 850;
}

.rr-dashboard-sidebar span.active {
  color: #4318c9;
  background: #eee8ff;
}

.rr-dashboard-content {
  padding: 18px 12px 14px;
}

.rr-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.rr-dashboard-stats article {
  min-height: 78px;
  padding: 12px 10px;
  border: 1px solid #e3e4f4;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(29, 24, 73, 0.04);
}

.rr-dashboard-stats span,
.rr-dashboard-toolbar,
.rr-table-head,
.rr-table-row small,
.rr-table-row em,
.rr-table-row b {
  font-size: 8px;
  font-weight: 820;
}

.rr-dashboard-stats span {
  display: block;
  color: #333654;
}

.rr-dashboard-stats strong {
  display: block;
  margin-top: 9px;
  color: #080927;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.rr-dashboard-stats small {
  display: block;
  margin-top: 8px;
  color: #0aa058;
  font-size: 8px;
  font-weight: 900;
}

.rr-dashboard-toolbar {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  gap: 8px;
  margin-top: 14px;
  color: #202342;
}

.rr-dashboard-toolbar span,
.rr-dashboard-toolbar em,
.rr-dashboard-toolbar b {
  min-height: 27px;
  padding: 9px 11px;
  border: 1px solid #dedff1;
  border-radius: 7px;
  background: #ffffff;
  font-style: normal;
}

.rr-dashboard-table {
  margin-top: 11px;
}

.rr-table-head,
.rr-table-row {
  display: grid;
  grid-template-columns: 1.5fr 70px repeat(3, auto) 72px;
  align-items: center;
  column-gap: 7px;
  min-height: 39px;
  border-bottom: 1px solid #eeeefa;
}

.rr-table-head {
  min-height: 24px;
  color: #60627c;
}

.rr-table-head span:nth-child(3) {
  grid-column: 3 / 6;
}

.rr-table-row > span {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  color: #171936;
  font-size: 9px;
  font-weight: 950;
}

.rr-table-row > span small {
  grid-column: 2;
  margin-top: 2px;
  color: #555874;
  font-weight: 720;
}

.rr-table-row > span i {
  grid-row: 1 / 3;
  width: 12px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #efe6ff, #6431e8);
}

.rr-table-row:nth-child(3) > span i,
.rr-table-row:nth-child(6) > span i {
  background: linear-gradient(180deg, #c4fbf2, #2dcfba);
}

.rr-table-row strong {
  color: #dd2b2b;
  font-size: 10px;
  font-weight: 950;
}

.rr-table-row.warning strong {
  color: #de2f2f;
}

.rr-table-row.good strong {
  color: #10935e;
}

.rr-table-row strong small {
  display: block;
  color: currentColor;
}

.rr-table-row em {
  padding: 4px 6px;
  border-radius: 6px;
  color: #545872;
  background: #f2f3fa;
  font-style: normal;
  white-space: nowrap;
}

.rr-table-row b {
  justify-self: start;
  padding: 5px 7px;
  border-radius: 6px;
  color: #692ce3;
  background: #eee7ff;
}

.rr-table-row.warning b {
  color: #98651c;
  background: #fff1d9;
}

.rr-table-row.good b {
  color: #11885b;
  background: #dff8eb;
}

.rr-dashboard-note {
  position: absolute;
  z-index: 4;
  width: 118px;
  padding: 13px;
  border: 1px solid #dcd8ff;
  border-radius: 8px;
  color: #202048;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(35, 28, 92, 0.08);
}

.rr-dashboard-note::before {
  content: "";
  position: absolute;
  height: 1px;
  border-top: 2px dashed #672cff;
}

.rr-dashboard-note::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #672cff;
}

.rr-dashboard-note strong {
  display: block;
  color: #5520e4;
  font-size: 12px;
  font-weight: 950;
}

.rr-dashboard-note span {
  display: block;
  margin-top: 7px;
  color: #454862;
  font-size: 10px;
  line-height: 1.45;
}

.rr-note-left {
  left: clamp(266px, 29vw, 322px);
  top: 278px;
}

.rr-note-left::before {
  right: -35px;
  top: -24px;
  width: 46px;
  transform: rotate(-42deg);
}

.rr-note-left::after {
  right: -34px;
  top: -34px;
}

.rr-note-top {
  right: 0;
  top: 108px;
}

.rr-note-top::before {
  left: -48px;
  top: 63px;
  width: 52px;
  transform: rotate(-41deg);
}

.rr-note-top::after {
  left: -50px;
  top: 58px;
}

.rr-note-bottom {
  right: 0;
  top: 275px;
}

.rr-note-bottom::before {
  left: -48px;
  top: 58px;
  width: 52px;
  transform: rotate(-40deg);
}

.rr-note-bottom::after {
  left: -50px;
  top: 53px;
}

.rr-lower-card {
  padding: 0 14px 8px;
  background: #fbfcff;
}

.rr-lower-inner {
  width: min(100%, 996px);
  margin: 0 auto;
  padding: 12px 36px 8px;
  border: 1px solid #e1e2f1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 58px rgba(26, 28, 70, 0.06);
}

.rr-difference {
  padding-top: 0;
  text-align: center;
}

.rr-difference .rr-reference-kicker,
.rr-how .rr-reference-kicker {
  margin-bottom: 8px;
}

.rr-difference h2 {
  font-size: 25px;
}

.rr-compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  width: min(100%, 802px);
  margin: 16px auto 10px;
}

.rr-compare-card {
  min-height: 210px;
  padding: 15px;
  border-radius: 8px;
  text-align: left;
}

.rr-before-card {
  border: 1px solid rgba(250, 86, 86, 0.42);
  background: linear-gradient(135deg, #fffdfc 0%, #fff3f1 100%);
}

.rr-after-card {
  border: 1px solid rgba(96, 74, 230, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #faf8ff 100%);
}

.rr-compare-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 13px;
  color: #131535;
  font-size: 12px;
  font-weight: 950;
}

.rr-compare-card h3 span,
.rr-compare-card li span {
  position: relative;
  display: inline-flex;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.rr-before-card h3 span,
.rr-before-card li span {
  background: #ef4444;
}

.rr-after-card h3 span,
.rr-after-card li span {
  background: #0ca160;
}

.rr-before-card h3 span::before,
.rr-before-card h3 span::after,
.rr-before-card li span::before,
.rr-before-card li span::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 7px;
  height: 2px;
  background: #ffffff;
  transform: rotate(45deg);
}

.rr-before-card h3 span::after,
.rr-before-card li span::after {
  transform: rotate(-45deg);
}

.rr-after-card h3 span::after,
.rr-after-card li span::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.rr-compare-body {
  display: grid;
  grid-template-columns: 103px 1fr;
  gap: 18px;
  align-items: center;
}

.rr-board-frame {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 5px;
  min-height: 144px;
  padding: 15px 13px;
  border: 1px solid #dedcf0;
  border-radius: 8px;
  background: #fffefe;
  box-shadow: inset 0 -18px 28px rgba(72, 48, 128, 0.04);
}

.rr-board-frame i {
  width: 28px;
  height: 112px;
  border-radius: 18px;
  box-shadow: inset 7px 0 14px rgba(255, 255, 255, 0.34);
}

.rr-board-frame.before i:first-child {
  background: linear-gradient(180deg, #dcc5ff, #a374dd 62%, #8b6bce);
}

.rr-board-frame.before i:last-child {
  background:
    radial-gradient(circle at 47% 24%, #ff8ecc 0 4px, transparent 5px),
    radial-gradient(circle at 62% 50%, #60e7d6 0 4px, transparent 5px),
    linear-gradient(180deg, #f7e9ff, #b8e7ef 64%, #c7d4ff);
}

.rr-board-frame.after i:first-child {
  background:
    linear-gradient(90deg, transparent 43%, #101535 45% 54%, transparent 56%),
    linear-gradient(180deg, #d4ccff, #9b88df 62%, #7066be);
}

.rr-board-frame.after i:last-child {
  background: linear-gradient(180deg, #c4fff3, #7dded3 68%, #52b9cd);
}

.rr-compare-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rr-compare-card li {
  display: grid;
  grid-template-columns: 17px 1fr;
  column-gap: 10px;
  align-items: start;
}

.rr-compare-card li strong {
  color: #141637;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
}

.rr-compare-card li small {
  grid-column: 2;
  margin-top: 2px;
  color: #5c607b;
  font-size: 8px;
  font-weight: 760;
  line-height: 1.25;
}

.rr-compare-arrow {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  justify-self: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #6a24f2, #4b20d4);
  box-shadow: 0 16px 32px rgba(90, 35, 223, 0.25);
  font-size: 23px;
  font-weight: 700;
}

.rr-how {
  scroll-margin-top: 74px;
  text-align: center;
}

.rr-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.rr-how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  margin-top: 6px;
}

.rr-how-grid article {
  position: relative;
  height: 128px;
  min-height: 128px;
  overflow: hidden;
  padding: 17px 13px 12px 69px;
  border: 1px solid #dfe0f3;
  border-radius: 8px;
  text-align: left;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(28, 31, 79, 0.05);
}

.rr-how-grid article:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% + 2px);
  top: 62px;
  width: 36px;
  border-top: 2px dashed #c9b9ff;
}

.rr-how-icon {
  position: absolute;
  left: 15px;
  top: 17px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #5a25e7;
  background: #f0eaff;
}

.rr-how-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rr-how-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 18px;
  margin-bottom: 10px;
  border-radius: 999px;
  color: #ffffff;
  background: #5726df;
  font-size: 9px;
  font-weight: 950;
}

.rr-how-grid strong {
  display: block;
  color: #101334;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
}

.rr-how-grid p {
  margin: 8px 0 0;
  color: #444862;
  font-size: 9px;
  line-height: 1.42;
}

.rr-bottom-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 408px;
  align-items: center;
  gap: 34px;
  min-height: 132px;
  margin: 17px 0 0;
  overflow: hidden;
  padding: 22px 48px 18px 134px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, #3310ce 0%, #5923e2 49%, #7134ec 100%);
}

.rr-bottom-cta::before {
  content: "";
  position: absolute;
  left: -4%;
  bottom: -48%;
  width: 220px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: rotate(-25deg);
}

.rr-bottom-cta::after {
  content: "";
  position: absolute;
  right: 38px;
  top: 28px;
  width: 64px;
  height: 58px;
  background:
    linear-gradient(45deg, transparent 43%, rgba(255, 255, 255, 0.6) 44% 56%, transparent 57%),
    linear-gradient(-45deg, transparent 43%, rgba(255, 255, 255, 0.6) 44% 56%, transparent 57%);
  opacity: 0.28;
}

.rr-bottom-cta h2 {
  max-width: 370px;
  color: #ffffff;
  font-size: 25px;
}

.rr-bottom-cta div,
.rr-bottom-cta button,
.rr-bottom-cta p {
  position: relative;
  z-index: 1;
}

.rr-bottom-cta p {
  max-width: 360px;
  margin: 7px 0 0;
  color: #ffffff;
  font-size: 11px;
  line-height: 1.35;
}

.rr-bottom-cta button {
  gap: 21px;
  width: 262px;
  color: #5420db;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(17, 5, 84, 0.12);
  font-size: 17px;
}

.rr-bottom-cta div:last-child p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  font-size: 11px;
}

@media (max-width: 1120px) {
  .rr-rocket {
    right: 215px;
  }

  .rr-score-card {
    left: 34px;
  }

  .rr-sync-card {
    right: 16px;
  }

  .rr-dashboard-window {
    left: 280px;
    width: 560px;
  }
}

@media (max-width: 980px) {
  body.landing-mode .landing-page.rr-reference .landing-nav {
    height: auto;
    min-height: 64px;
    padding: 10px 18px;
  }

  body.landing-mode .landing-page.rr-reference .landing-nav nav {
    justify-self: end;
  }

  .rr-reference-hero-inner {
    padding: 48px 28px 250px;
  }

  .rr-reference-copy {
    width: min(100%, 540px);
  }

  .rr-hero-scene {
    inset: auto 0 0 0;
    height: 310px;
  }

  .rr-growth-chart {
    width: 100%;
  }

  .rr-score-card {
    left: 28px;
    top: 20px;
  }

  .rr-draft-card {
    left: 26px;
    top: 142px;
  }

  .rr-sync-card {
    top: 52px;
  }

  .rr-approved-card {
    bottom: 34px;
  }

  .rr-rocket {
    right: 230px;
    top: 20px;
    transform: scale(0.85) rotate(32deg);
  }

  .rr-dashboard-section {
    min-height: 0;
    padding: 36px 20px 22px;
  }

  .rr-dashboard-inner,
  .rr-dashboard-stage {
    min-height: 0;
  }

  .rr-dashboard-copy,
  .rr-dashboard-window,
  .rr-dashboard-note {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
  }

  .rr-dashboard-copy {
    width: min(100%, 540px);
    margin-bottom: 22px;
  }

  .rr-dashboard-window {
    width: min(100%, 680px);
    min-width: 0;
    margin: 0 auto;
  }

  .rr-dashboard-stage {
    display: grid;
    gap: 14px;
  }

  .rr-dashboard-note {
    display: none;
  }

  .rr-lower-inner {
    padding: 24px;
  }

  .rr-compare-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .rr-compare-arrow {
    transform: rotate(90deg);
  }

  .rr-how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .rr-how-grid article:not(:last-child)::after {
    display: none;
  }

  .rr-bottom-cta {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

@media (max-width: 680px) {
  body.landing-mode .landing-page.rr-reference .landing-nav {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.landing-mode .landing-page.rr-reference .landing-nav nav {
    justify-self: start;
    gap: 24px;
  }

  body.landing-mode .landing-page.rr-reference .landing-nav nav a {
    min-height: 30px;
  }

  .rr-reference-copy h1 {
    font-size: 42px;
  }

  .rr-reference-copy > p:not(.rr-reference-kicker):not(.rr-trial-note) {
    font-size: 17px;
  }

  .rr-primary-cta,
  .rr-bottom-cta button {
    width: 100%;
  }

  .rr-hero-card {
    transform: scale(0.86);
    transform-origin: top left;
  }

  .rr-score-card {
    left: 12px;
  }

  .rr-draft-card {
    left: 10px;
  }

  .rr-sync-card {
    right: -10px;
  }

  .rr-approved-card {
    right: -10px;
  }

  .rr-rocket {
    right: 120px;
    top: 42px;
    transform: scale(0.72) rotate(32deg);
  }

  .rr-dashboard-app {
    grid-template-columns: 1fr;
  }

  .rr-dashboard-sidebar {
    display: none;
  }

  .rr-dashboard-content {
    padding: 14px;
  }

  .rr-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rr-table-head,
  .rr-table-row {
    grid-template-columns: 1fr 64px;
  }

  .rr-table-head span:nth-child(n+3),
  .rr-table-row em,
  .rr-table-row b {
    display: none;
  }

  .rr-lower-card {
    padding: 0 10px 24px;
  }

  .rr-lower-inner {
    padding: 18px;
  }

  .rr-difference h2 {
    font-size: 24px;
  }

  .rr-compare-body {
    grid-template-columns: 1fr;
  }

  .rr-board-frame {
    width: 128px;
    justify-self: center;
  }

  .rr-how-grid {
    grid-template-columns: 1fr;
  }

  .rr-bottom-cta h2 {
    font-size: 24px;
  }
}

/* Literal reference landing: the supplied image is the visual source of truth. */
body.landing-mode .landing-page.rr-reference {
  background: #ffffff;
}

body.landing-mode .landing-page.rr-reference > .landing-nav {
  display: none !important;
}

body.landing-mode .landing-page.rr-reference .rr-reference-main {
  display: block;
  width: 100%;
  padding: 0;
  overflow: visible;
  background: #ffffff;
}

body.landing-mode .landing-page.rr-reference .rr-reference-main > :not(.rr-literal-canvas) {
  display: none !important;
}

.rr-literal-canvas {
  position: relative;
  width: min(100%, 1024px);
  margin: 0 auto;
  background: #ffffff;
  line-height: 0;
}

.rr-literal-canvas img {
  display: block;
  width: 100%;
  height: auto;
}

.rr-literal-hotspot,
.rr-literal-anchor {
  position: absolute;
}

.rr-literal-hotspot {
  display: block;
  z-index: 2;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: transparent;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
}

.rr-literal-hotspot:focus-visible {
  outline: 3px solid rgba(99, 47, 241, 0.72);
  outline-offset: 2px;
}

.rr-literal-nav-product {
  left: 43.8%;
  top: 1.25%;
  width: 6.5%;
  height: 2.1%;
}

.rr-literal-nav-how {
  left: 52.8%;
  top: 1.25%;
  width: 8.9%;
  height: 2.1%;
}

.rr-literal-hero-cta {
  left: 5.15%;
  top: 24.6%;
  width: 26.6%;
  height: 3.55%;
}

.rr-literal-bottom-cta {
  left: 53.4%;
  top: 91.6%;
  width: 25.7%;
  height: 3.5%;
}

.rr-literal-anchor {
  left: 0;
  width: 1px;
  height: 1px;
}

.rr-literal-product-anchor {
  top: 33.4%;
}

.rr-literal-how-anchor {
  top: 79.4%;
}

/* Scratch landing built around the live Shopify app visual. */
body.landing-mode {
  background: #f6f7fb;
}

body.landing-mode .landing-page.rr-reference {
  min-height: 100vh;
  overflow: visible;
  background: #f6f7fb;
}

body.landing-mode .landing-page.rr-reference > .landing-nav {
  display: none !important;
}

body.landing-mode .landing-page.rr-reference .rr-reference-main {
  width: 100%;
  padding: 0;
  overflow: visible;
  background: #f6f7fb;
}

body.landing-mode .landing-page.rr-reference .rr-reference-main > :not(.rr-product-landing) {
  display: none !important;
}

body.landing-mode .landing-page.rr-reference .rr-product-landing {
  display: block !important;
}

body.landing-mode .landing-page.rr-reference .rr-reference-main > .rr-product-landing {
  display: block !important;
}

.rr-product-landing {
  --rr-ink: #080a21;
  --rr-muted: #5a5e70;
  --rr-line: #dde1eb;
  --rr-purple: #6526df;
  --rr-purple-2: #8f43ff;
  --rr-green: #0a9f61;
  --rr-orange: #b96f14;
  --rr-blue: #1868db;
  color: var(--rr-ink);
  background: #f6f7fb;
  overflow-x: clip;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rr-product-landing button,
.rr-product-landing a {
  font: inherit;
}

.rr-marketing-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(15, 18, 37, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.rr-marketing-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  color: var(--rr-ink);
  font-size: 19px;
  font-weight: 950;
  letter-spacing: 0;
  text-decoration: none;
}

.rr-marketing-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(71, 32, 186, 0.2);
}

.rr-marketing-nav div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.rr-marketing-nav a:not(.rr-marketing-brand) {
  color: #25283a;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.rr-marketing-nav a:not(.rr-marketing-brand):hover {
  color: var(--rr-purple);
}

.rr-marketing-nav button,
.rr-build-actions button,
.rr-final-landing-cta button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 950;
  letter-spacing: 0;
}

.rr-marketing-nav button {
  justify-self: end;
  min-height: 40px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--rr-ink);
}

.rr-build-hero {
  position: relative;
  min-height: clamp(580px, 43vw, 720px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(36px, 5vw, 70px) clamp(20px, 5vw, 72px);
  color: var(--rr-ink);
  background: #f7f2ff;
}

.rr-build-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% top;
  filter: saturate(1.04) contrast(1.03);
}

.rr-build-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 20%, rgba(255, 255, 255, 0.34) 43%, rgba(255, 255, 255, 0) 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 54%, rgba(255, 255, 255, 0.72) 100%);
}

.rr-build-hero-content {
  position: relative;
  z-index: 4;
  width: min(100%, 570px);
  margin-left: clamp(26px, 4.2vw, 82px);
}

.rr-build-kicker {
  margin: 0 0 14px;
  color: var(--rr-purple);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rr-build-hero .rr-build-kicker,
.rr-approval-section .rr-build-kicker {
  color: var(--rr-purple);
}

.rr-final-landing-cta .rr-build-kicker {
  color: #bda2ff;
}

.rr-build-hero h1 {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
  margin: 0;
  color: #080a28;
  font-size: clamp(46px, 4.2vw, 70px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
}

.rr-build-hero-content > p:not(.rr-build-kicker) {
  max-width: 470px;
  margin: 20px 0 0;
  color: #171a35;
  font-size: clamp(18px, 1.48vw, 21px);
  font-weight: 720;
  line-height: 1.36;
}

.rr-build-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}

.rr-build-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 26px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rr-purple), var(--rr-purple-2));
  box-shadow: 0 18px 48px rgba(100, 38, 223, 0.38);
  font-size: 16px;
}

.rr-build-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  color: #241146;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.rr-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  filter: blur(0.2px);
}

.rr-hero-particles span {
  position: absolute;
  width: var(--rr-dot-size, 12px);
  height: var(--rr-dot-size, 12px);
  border-radius: 50%;
  background: rgba(113, 52, 236, var(--rr-dot-alpha, 0.42));
  box-shadow:
    0 0 12px rgba(113, 52, 236, 0.32),
    0 0 28px rgba(143, 67, 255, 0.18);
  opacity: 0;
  filter: blur(var(--rr-dot-blur, 0.35px));
  animation: rrParticleDrift var(--rr-dot-speed, 16s) ease-in-out infinite;
  animation-delay: var(--rr-dot-delay, 0s);
}

.rr-hero-particles span:nth-child(1) { left: 8%; top: 22%; --rr-dot-size: 10px; --rr-dot-speed: 15s; --rr-dot-delay: -2s; --rr-dot-x: 54px; --rr-dot-y: -32px; }
.rr-hero-particles span:nth-child(2) { left: 18%; top: 68%; --rr-dot-size: 8px; --rr-dot-alpha: 0.24; --rr-dot-speed: 18s; --rr-dot-delay: -9s; --rr-dot-x: 82px; --rr-dot-y: -54px; filter: blur(0.8px); }
.rr-hero-particles span:nth-child(3) { left: 33%; top: 18%; --rr-dot-size: 7px; --rr-dot-speed: 13s; --rr-dot-delay: -5s; --rr-dot-x: 46px; --rr-dot-y: 38px; }
.rr-hero-particles span:nth-child(4) { left: 44%; top: 72%; --rr-dot-size: 12px; --rr-dot-alpha: 0.18; --rr-dot-speed: 22s; --rr-dot-delay: -12s; --rr-dot-x: 92px; --rr-dot-y: -74px; filter: blur(1px); }
.rr-hero-particles span:nth-child(5) { left: 57%; top: 24%; --rr-dot-size: 13px; --rr-dot-speed: 17s; --rr-dot-delay: -4s; --rr-dot-x: -58px; --rr-dot-y: 44px; }
.rr-hero-particles span:nth-child(6) { left: 69%; top: 15%; --rr-dot-size: 8px; --rr-dot-alpha: 0.22; --rr-dot-speed: 19s; --rr-dot-delay: -7s; --rr-dot-x: 70px; --rr-dot-y: 58px; filter: blur(0.8px); }
.rr-hero-particles span:nth-child(7) { left: 78%; top: 55%; --rr-dot-size: 9px; --rr-dot-speed: 14s; --rr-dot-delay: -3s; --rr-dot-x: -64px; --rr-dot-y: -46px; }
.rr-hero-particles span:nth-child(8) { left: 91%; top: 28%; --rr-dot-size: 8px; --rr-dot-alpha: 0.2; --rr-dot-speed: 21s; --rr-dot-delay: -14s; --rr-dot-x: -92px; --rr-dot-y: 64px; filter: blur(0.8px); }
.rr-hero-particles span:nth-child(9) { left: 26%; top: 42%; --rr-dot-size: 6px; --rr-dot-speed: 12s; --rr-dot-delay: -6s; --rr-dot-x: 36px; --rr-dot-y: -40px; }
.rr-hero-particles span:nth-child(10) { left: 51%; top: 48%; --rr-dot-size: 6px; --rr-dot-alpha: 0.2; --rr-dot-speed: 18s; --rr-dot-delay: -1s; --rr-dot-x: -50px; --rr-dot-y: -62px; filter: blur(0.7px); }
.rr-hero-particles span:nth-child(11) { left: 83%; top: 76%; --rr-dot-size: 7px; --rr-dot-speed: 13s; --rr-dot-delay: -10s; --rr-dot-x: -38px; --rr-dot-y: -52px; }
.rr-hero-particles span:nth-child(12) { left: 6%; top: 82%; --rr-dot-size: 14px; --rr-dot-alpha: 0.16; --rr-dot-speed: 24s; --rr-dot-delay: -16s; --rr-dot-x: 110px; --rr-dot-y: -80px; filter: blur(1.6px); }
.rr-hero-particles span:nth-child(13) { left: 13%; top: 47%; --rr-dot-size: 12px; --rr-dot-alpha: 0.16; --rr-dot-speed: 26s; --rr-dot-delay: -19s; --rr-dot-x: 130px; --rr-dot-y: -18px; filter: blur(1.3px); }
.rr-hero-particles span:nth-child(14) { left: 21%; top: 28%; --rr-dot-size: 5px; --rr-dot-alpha: 0.46; --rr-dot-speed: 11s; --rr-dot-delay: -8s; --rr-dot-x: 48px; --rr-dot-y: 46px; }
.rr-hero-particles span:nth-child(15) { left: 36%; top: 58%; --rr-dot-size: 12px; --rr-dot-alpha: 0.18; --rr-dot-speed: 23s; --rr-dot-delay: -11s; --rr-dot-x: 82px; --rr-dot-y: -96px; filter: blur(1.1px); }
.rr-hero-particles span:nth-child(16) { left: 41%; top: 31%; --rr-dot-size: 9px; --rr-dot-alpha: 0.36; --rr-dot-speed: 15s; --rr-dot-delay: -13s; --rr-dot-x: -42px; --rr-dot-y: 54px; }
.rr-hero-particles span:nth-child(17) { left: 61%; top: 66%; --rr-dot-size: 13px; --rr-dot-alpha: 0.13; --rr-dot-speed: 28s; --rr-dot-delay: -21s; --rr-dot-x: -118px; --rr-dot-y: -72px; filter: blur(1.4px); }
.rr-hero-particles span:nth-child(18) { left: 65%; top: 38%; --rr-dot-size: 6px; --rr-dot-alpha: 0.5; --rr-dot-speed: 12s; --rr-dot-delay: -4s; --rr-dot-x: 44px; --rr-dot-y: -42px; }
.rr-hero-particles span:nth-child(19) { left: 73%; top: 83%; --rr-dot-size: 13px; --rr-dot-alpha: 0.18; --rr-dot-speed: 20s; --rr-dot-delay: -15s; --rr-dot-x: -88px; --rr-dot-y: -94px; filter: blur(1.2px); }
.rr-hero-particles span:nth-child(20) { left: 88%; top: 46%; --rr-dot-size: 7px; --rr-dot-alpha: 0.24; --rr-dot-speed: 16s; --rr-dot-delay: -7s; --rr-dot-x: -70px; --rr-dot-y: 52px; filter: blur(0.7px); }
.rr-hero-particles span:nth-child(21) { left: 94%; top: 72%; --rr-dot-size: 14px; --rr-dot-alpha: 0.13; --rr-dot-speed: 25s; --rr-dot-delay: -18s; --rr-dot-x: -128px; --rr-dot-y: -58px; filter: blur(1.5px); }
.rr-hero-particles span:nth-child(22) { left: 49%; top: 12%; --rr-dot-size: 5px; --rr-dot-alpha: 0.42; --rr-dot-speed: 14s; --rr-dot-delay: -6s; --rr-dot-x: 54px; --rr-dot-y: 34px; }
.rr-hero-particles span:nth-child(23) { left: 31%; top: 80%; --rr-dot-size: 11px; --rr-dot-alpha: 0.18; --rr-dot-speed: 18s; --rr-dot-delay: -2s; --rr-dot-x: 64px; --rr-dot-y: -86px; filter: blur(1px); }
.rr-hero-particles span:nth-child(24) { left: 76%; top: 10%; --rr-dot-size: 16px; --rr-dot-alpha: 0.12; --rr-dot-speed: 30s; --rr-dot-delay: -24s; --rr-dot-x: -132px; --rr-dot-y: 84px; filter: blur(1.6px); }
.rr-hero-particles span:nth-child(25) { left: 4%; top: 36%; --rr-dot-size: 15px; --rr-dot-alpha: 0.18; --rr-dot-speed: 22s; --rr-dot-delay: -5s; --rr-dot-x: 96px; --rr-dot-y: 42px; filter: blur(1.3px); }
.rr-hero-particles span:nth-child(26) { left: 12%; top: 12%; --rr-dot-size: 13px; --rr-dot-alpha: 0.26; --rr-dot-speed: 16s; --rr-dot-delay: -10s; --rr-dot-x: 74px; --rr-dot-y: 64px; filter: blur(0.9px); }
.rr-hero-particles span:nth-child(27) { left: 24%; top: 18%; --rr-dot-size: 18px; --rr-dot-alpha: 0.12; --rr-dot-speed: 27s; --rr-dot-delay: -22s; --rr-dot-x: 112px; --rr-dot-y: -58px; filter: blur(1.8px); }
.rr-hero-particles span:nth-child(28) { left: 29%; top: 64%; --rr-dot-size: 14px; --rr-dot-alpha: 0.2; --rr-dot-speed: 19s; --rr-dot-delay: -13s; --rr-dot-x: 78px; --rr-dot-y: -104px; filter: blur(1.2px); }
.rr-hero-particles span:nth-child(29) { left: 39%; top: 9%; --rr-dot-size: 16px; --rr-dot-alpha: 0.14; --rr-dot-speed: 24s; --rr-dot-delay: -17s; --rr-dot-x: -72px; --rr-dot-y: 86px; filter: blur(1.6px); }
.rr-hero-particles span:nth-child(30) { left: 45%; top: 41%; --rr-dot-size: 10px; --rr-dot-alpha: 0.36; --rr-dot-speed: 14s; --rr-dot-delay: -9s; --rr-dot-x: 56px; --rr-dot-y: -48px; filter: blur(0.7px); }
.rr-hero-particles span:nth-child(31) { left: 53%; top: 15%; --rr-dot-size: 18px; --rr-dot-alpha: 0.13; --rr-dot-speed: 25s; --rr-dot-delay: -20s; --rr-dot-x: -84px; --rr-dot-y: 78px; filter: blur(1.8px); }
.rr-hero-particles span:nth-child(32) { left: 58%; top: 55%; --rr-dot-size: 13px; --rr-dot-alpha: 0.2; --rr-dot-speed: 18s; --rr-dot-delay: -11s; --rr-dot-x: -96px; --rr-dot-y: -62px; filter: blur(1.1px); }
.rr-hero-particles span:nth-child(33) { left: 67%; top: 8%; --rr-dot-size: 20px; --rr-dot-alpha: 0.1; --rr-dot-speed: 29s; --rr-dot-delay: -25s; --rr-dot-x: 82px; --rr-dot-y: 102px; filter: blur(2px); }
.rr-hero-particles span:nth-child(34) { left: 66%; top: 28%; --rr-dot-size: 15px; --rr-dot-alpha: 0.2; --rr-dot-speed: 20s; --rr-dot-delay: -14s; --rr-dot-x: -76px; --rr-dot-y: -74px; filter: blur(1.2px); }
.rr-hero-particles span:nth-child(35) { left: 81%; top: 22%; --rr-dot-size: 17px; --rr-dot-alpha: 0.13; --rr-dot-speed: 26s; --rr-dot-delay: -7s; --rr-dot-x: -112px; --rr-dot-y: 68px; filter: blur(1.7px); }
.rr-hero-particles span:nth-child(36) { left: 85%; top: 62%; --rr-dot-size: 12px; --rr-dot-alpha: 0.24; --rr-dot-speed: 15s; --rr-dot-delay: -4s; --rr-dot-x: -54px; --rr-dot-y: -46px; filter: blur(0.9px); }
.rr-hero-particles span:nth-child(37) { left: 96%; top: 15%; --rr-dot-size: 19px; --rr-dot-alpha: 0.11; --rr-dot-speed: 31s; --rr-dot-delay: -18s; --rr-dot-x: -146px; --rr-dot-y: 82px; filter: blur(2px); }
.rr-hero-particles span:nth-child(38) { left: 93%; top: 87%; --rr-dot-size: 15px; --rr-dot-alpha: 0.15; --rr-dot-speed: 23s; --rr-dot-delay: -16s; --rr-dot-x: -118px; --rr-dot-y: -116px; filter: blur(1.5px); }
.rr-hero-particles span:nth-child(39) { left: 17%; top: 88%; --rr-dot-size: 17px; --rr-dot-alpha: 0.12; --rr-dot-speed: 28s; --rr-dot-delay: -23s; --rr-dot-x: 128px; --rr-dot-y: -126px; filter: blur(1.8px); }
.rr-hero-particles span:nth-child(40) { left: 78%; top: 30%; --rr-dot-size: 11px; --rr-dot-alpha: 0.3; --rr-dot-speed: 13s; --rr-dot-delay: -2s; --rr-dot-x: -44px; --rr-dot-y: 56px; filter: blur(0.6px); }

@keyframes rrParticleDrift {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.78);
  }
  20% {
    opacity: 0.72;
  }
  58% {
    opacity: 0.46;
    transform: translate3d(calc(var(--rr-dot-x) * 0.56), calc(var(--rr-dot-y) * 0.56), 0) scale(1.08);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--rr-dot-x), var(--rr-dot-y), 0) scale(0.86);
  }
}

@keyframes rrHeroTextIntro {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    filter: blur(7px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .rr-build-hero-content .rr-build-kicker,
  .rr-build-hero-content h1,
  .rr-build-hero-content > p:not(.rr-build-kicker),
  .rr-build-actions {
    opacity: 0;
    animation: rrHeroTextIntro 760ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .rr-build-hero-content .rr-build-kicker {
    animation-delay: 120ms;
  }

  .rr-build-hero-content h1 {
    animation-delay: 230ms;
  }

  .rr-build-hero-content > p:not(.rr-build-kicker) {
    animation-delay: 360ms;
  }

  .rr-build-actions {
    animation-delay: 500ms;
  }

  body.rr-reveal-ready .rr-scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.985);
    filter: blur(8px);
    transition:
      opacity 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--rr-reveal-delay, 0ms),
      transform 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--rr-reveal-delay, 0ms),
      filter 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--rr-reveal-delay, 0ms);
    will-change: opacity, transform, filter;
  }

  body.rr-reveal-ready .rr-scroll-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }

  body.rr-reveal-ready .rr-live-app-frame.rr-scroll-reveal,
  body.rr-reveal-ready .rr-approval-panel.rr-scroll-reveal,
  body.rr-reveal-ready .rr-final-action.rr-scroll-reveal {
    transform: translate3d(18px, 28px, 0) scale(0.985);
  }

  body.rr-reveal-ready .rr-live-app-frame.rr-scroll-reveal.is-visible,
  body.rr-reveal-ready .rr-approval-panel.rr-scroll-reveal.is-visible,
  body.rr-reveal-ready .rr-final-action.rr-scroll-reveal.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rr-hero-particles span,
  .rr-final-stars span {
    animation: none;
    opacity: 0.22;
  }
}

.rr-metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(100% - 40px, 1180px);
  margin: -54px auto 0;
  position: relative;
  z-index: 5;
}

.rr-metric-band article,
.rr-feature-grid article,
.rr-workflow-steps article {
  border: 1px solid var(--rr-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(25, 29, 58, 0.08);
}

.rr-metric-band article {
  min-height: 150px;
  padding: 22px;
}

.rr-metric-band span {
  color: #687084;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.rr-metric-band strong {
  display: block;
  margin-top: 12px;
  color: var(--rr-ink);
  font-size: 36px;
  font-weight: 950;
  line-height: 1;
}

.rr-metric-band article:nth-child(1) strong { color: var(--rr-purple); }
.rr-metric-band article:nth-child(2) strong { color: var(--rr-orange); }
.rr-metric-band article:nth-child(3) strong { color: var(--rr-blue); }
.rr-metric-band article:nth-child(4) strong { color: var(--rr-green); }

.rr-metric-band p {
  margin: 14px 0 0;
  color: var(--rr-muted);
  font-size: 14px;
  line-height: 1.45;
}

.rr-product-walkthrough {
  display: grid;
  grid-template-columns: minmax(430px, 0.48fr) minmax(760px, 1fr);
  gap: clamp(36px, 4vw, 64px);
  align-items: start;
  width: min(100% - 64px, 1560px);
  margin: 0 auto;
  scroll-margin-top: 96px;
}

.rr-section-copy h2,
.rr-risk-copy h2,
.rr-marketing-how h2,
.rr-score-monitor-section h2,
.rr-approval-section h2,
.rr-final-landing-cta h2 {
  margin: 0;
  color: var(--rr-ink);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: 0;
}

.rr-section-copy p:not(.rr-build-kicker),
.rr-risk-copy p:not(.rr-build-kicker),
.rr-score-monitor-copy p:not(.rr-build-kicker),
.rr-approval-section p,
.rr-workflow-steps p,
.rr-feature-grid p {
  color: var(--rr-muted);
  line-height: 1.62;
}

.rr-section-copy p:not(.rr-build-kicker) {
  margin: 20px 0 0;
  font-size: 18px;
}

.rr-live-app-frame {
  overflow: hidden;
  border: 1px solid #d8ddeb;
  border-radius: 8px;
  background: #eef0f6;
  box-shadow: 0 28px 90px rgba(22, 25, 55, 0.15);
  aspect-ratio: 1650 / 819;
}

.rr-live-app-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.rr-risk-signal-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 3.6vw, 52px);
  align-items: center;
  width: min(100% - 48px, 1460px);
  margin: 58px auto 0;
  padding: clamp(24px, 3.8vw, 46px);
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid rgba(101, 38, 223, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.98)),
    #ffffff;
  box-shadow: 0 24px 70px rgba(22, 25, 55, 0.08);
  scroll-margin-top: 96px;
}

.rr-risk-copy,
.rr-risk-screenshot-frame {
  position: relative;
  z-index: 1;
}

.rr-risk-copy h2 {
  max-width: 540px;
}

.rr-risk-copy p:not(.rr-build-kicker) {
  margin: 20px 0 0;
  color: #465168;
  font-size: 18px;
  line-height: 1.62;
}

.rr-risk-screenshot-frame {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}

.rr-risk-screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d8ddeb;
  border-radius: 14px;
  background: #f4f6fa;
  box-shadow: 0 22px 54px rgba(22, 25, 55, 0.12);
}

.rr-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(100% - 48px, 1060px);
  margin: 48px auto 0;
}

.rr-feature-grid article {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 342px;
  padding: 22px;
  flex-direction: column;
  border-color: rgba(101, 38, 223, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(143, 67, 255, 0.14), transparent 42%),
    #ffffff;
  box-shadow:
    0 18px 46px rgba(58, 39, 120, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.rr-feature-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid rgba(101, 38, 223, 0.52);
  opacity: 0.8;
  pointer-events: none;
}

.rr-feature-topline {
  display: block;
  min-height: 0;
  margin-bottom: 14px;
}

.rr-feature-topline span {
  color: #687084;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.rr-feature-icon,
.rr-step-icon {
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--rr-purple);
  background: linear-gradient(135deg, rgba(101, 38, 223, 0.1), rgba(143, 67, 255, 0.055));
}

.rr-feature-icon {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
}

.rr-feature-icon svg,
.rr-step-icon svg,
.rr-feature-pill svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rr-feature-pill svg {
  width: 22px;
  height: 22px;
}

.rr-workflow-steps > article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rr-purple), #4a18d3);
  box-shadow: 0 10px 22px rgba(101, 38, 223, 0.26);
  font-size: 16px;
  font-weight: 950;
}

.rr-feature-grid h3 {
  margin: 18px 0 10px;
  min-height: 60px;
  color: var(--rr-ink);
  font-size: clamp(23px, 1.6vw, 27px);
  line-height: 1.12;
  letter-spacing: 0;
}

.rr-feature-grid p {
  min-height: 74px;
  margin: 0;
  color: #4c536c;
  font-size: 16px;
  line-height: 1.52;
}

.rr-feature-preview {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 62px;
  margin-top: 0;
  padding: 12px;
  box-sizing: border-box;
  border: 1px solid rgba(15, 18, 37, 0.07);
  border-radius: 8px;
  background: rgba(246, 247, 251, 0.72);
}

.rr-feature-preview span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #30364e;
  font-size: 12px;
  font-weight: 760;
}

.rr-feature-preview b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5656;
  box-shadow: 0 0 0 4px rgba(255, 86, 86, 0.1);
}

.rr-feature-grid article:nth-child(3) .rr-feature-preview b {
  background: #13b66b;
  box-shadow: 0 0 0 4px rgba(19, 182, 107, 0.1);
}

.rr-score-lift-preview {
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: center;
}

.rr-score-lift-preview span {
  display: block;
  color: #687084;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.rr-score-lift-preview strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: var(--rr-purple);
  font-size: 24px;
  line-height: 1;
}

.rr-score-lift-preview strong b {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font: inherit;
}

.rr-score-lift-preview strong b:first-child {
  color: #6d7286;
  font-size: 17px;
}

.rr-score-lift-preview strong i {
  color: #a18acb;
  font-size: 18px;
  font-style: normal;
}

.rr-score-lift-preview em {
  color: #30364e;
  font-size: 12px;
  font-style: normal;
  font-weight: 780;
}

.rr-feature-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  padding: 0 14px;
  box-sizing: border-box;
  border-radius: 8px;
  color: var(--rr-purple);
  background: linear-gradient(135deg, rgba(101, 38, 223, 0.1), rgba(143, 67, 255, 0.06));
  font-size: 14px;
  font-weight: 850;
  text-align: center;
  white-space: nowrap;
}

.rr-feature-pill svg {
  flex: 0 0 auto;
}

.rr-marketing-how {
  width: min(100% - 48px, 1060px);
  margin: 74px auto 0;
  scroll-margin-top: 96px;
  text-align: center;
}

.rr-marketing-how h2 {
  max-width: 760px;
  margin: 0 auto;
}

.rr-workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 62px;
  margin-top: 34px;
  text-align: center;
}

.rr-workflow-steps article {
  position: relative;
  display: flex;
  min-height: 214px;
  padding: 22px 22px 24px;
  flex-direction: column;
  align-items: center;
  border-color: rgba(101, 38, 223, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), #ffffff),
    radial-gradient(circle at 50% 0%, rgba(101, 38, 223, 0.08), transparent 48%);
  box-shadow:
    0 16px 42px rgba(58, 39, 120, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.rr-workflow-steps article:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% + 1px);
  top: 50%;
  width: 62px;
  border-top: 2px dashed rgba(101, 38, 223, 0.58);
  transform: translateY(-50%);
}

.rr-workflow-steps article:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(100% + 57px);
  top: 50%;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rr-purple);
  box-shadow: -62px 0 0 var(--rr-purple);
  transform: translateY(-50%);
}

.rr-step-icon {
  width: 68px;
  height: 68px;
  margin: -8px auto 18px;
}

.rr-workflow-steps strong {
  display: block;
  margin-top: 0;
  color: var(--rr-ink);
  font-size: 19px;
  line-height: 1.24;
}

.rr-workflow-steps p {
  margin: 10px auto 0;
  max-width: 180px;
  color: #596078;
  font-size: 14px;
  line-height: 1.45;
}

.rr-score-monitor-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 28px;
  align-items: center;
  width: min(100% - 64px, 1380px);
  margin: 82px auto 0;
  padding: clamp(38px, 5vw, 68px);
  box-sizing: border-box;
  border: 1px solid rgba(101, 38, 223, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 18%, rgba(143, 67, 255, 0.2), transparent 31%),
    radial-gradient(circle at 18% 88%, rgba(101, 38, 223, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(250, 248, 255, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
  box-shadow: 0 30px 90px rgba(58, 39, 120, 0.1);
}

.rr-score-monitor-section::before {
  content: "";
  position: absolute;
  right: 28%;
  top: -40%;
  z-index: 0;
  width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 67, 255, 0.18), transparent 68%);
  filter: blur(8px);
}

.rr-score-monitor-section::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 0;
  border: 1px solid rgba(101, 38, 223, 0.1);
  border-radius: 16px;
  pointer-events: none;
}

.rr-engine-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  text-align: center;
}

.rr-engine-copy h2 {
  max-width: 1040px;
  margin: 0 auto;
  color: var(--rr-ink);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.08;
}

.rr-engine-copy h2 strong {
  display: block;
  margin: 12px auto;
  color: var(--rr-purple);
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: 0;
}

.rr-engine-copy p:not(.rr-build-kicker) {
  max-width: 900px;
  margin: 22px auto 0;
  color: #344054;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.58;
}

.rr-engine-statement {
  display: inline-flex;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(101, 38, 223, 0.18);
  border-radius: 999px;
  color: var(--rr-purple) !important;
  background: rgba(101, 38, 223, 0.08);
  font-size: clamp(18px, 1.7vw, 24px) !important;
  font-weight: 950;
}

.rr-engine-close {
  max-width: 780px !important;
  color: #0c102f !important;
  font-weight: 860;
}

.rr-aeo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 32px auto 0;
  text-align: left;
}

.rr-aeo-grid article,
.rr-aeo-faq article {
  min-width: 0;
  border: 1px solid rgba(101, 38, 223, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(143, 67, 255, 0.1), transparent 48%);
  box-shadow: 0 16px 38px rgba(58, 39, 120, 0.07);
}

.rr-aeo-grid article {
  padding: 18px;
}

.rr-aeo-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--rr-purple);
  background: rgba(101, 38, 223, 0.09);
  font-size: 12px;
  font-weight: 950;
}

.rr-aeo-grid strong {
  display: block;
  color: var(--rr-ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.25;
}

.rr-aeo-grid p {
  margin: 9px 0 0 !important;
  color: #59657a !important;
  font-size: 14px !important;
  line-height: 1.48 !important;
}

.rr-aeo-faq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px auto 0;
  text-align: left;
}

.rr-aeo-faq article {
  padding: 18px;
}

.rr-aeo-faq h3 {
  margin: 0;
  color: var(--rr-ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.28;
}

.rr-aeo-faq p {
  margin: 9px 0 0 !important;
  color: #59657a !important;
  font-size: 13.5px !important;
  line-height: 1.48 !important;
}

.rr-why-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  width: min(100% - 64px, 1380px);
  margin: 76px auto 0;
  padding: clamp(34px, 4.4vw, 58px);
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid rgba(101, 38, 223, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 18%, rgba(101, 38, 223, 0.12), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(143, 67, 255, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 255, 0.98));
  box-shadow: 0 28px 84px rgba(58, 39, 120, 0.1);
  scroll-margin-top: 96px;
}

.rr-why-section::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -22%;
  z-index: 0;
  width: 40%;
  aspect-ratio: 1;
  border: 1px solid rgba(101, 38, 223, 0.14);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.rr-why-copy,
.rr-why-grid,
.rr-why-close {
  position: relative;
  z-index: 1;
}

.rr-why-copy h2 {
  margin: 0;
  color: var(--rr-ink);
  font-size: clamp(36px, 4.2vw, 62px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0;
}

.rr-why-copy p:not(.rr-build-kicker) {
  max-width: 520px;
  margin: 22px 0 0;
  color: #465168;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.62;
}

.rr-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rr-why-grid article {
  min-width: 0;
  min-height: 196px;
  padding: 18px;
  border: 1px solid rgba(101, 38, 223, 0.14);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(101, 38, 223, 0.08), transparent 42%);
  box-shadow: 0 16px 42px rgba(58, 39, 120, 0.065);
}

.rr-why-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--rr-purple);
  background: rgba(101, 38, 223, 0.09);
  font-size: 12px;
  font-weight: 950;
}

.rr-why-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--rr-ink);
  font-size: 20px;
  line-height: 1.18;
}

.rr-why-grid p {
  margin: 10px 0 0;
  color: #596078;
  font-size: 14px;
  line-height: 1.5;
}

.rr-why-close {
  grid-column: 1 / -1;
  width: min(100%, 920px);
  margin: 4px auto 0;
  padding: 18px 22px;
  border: 1px solid rgba(101, 38, 223, 0.16);
  border-radius: 10px;
  color: #171a35;
  background: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 820;
  line-height: 1.5;
  text-align: center;
}

.rr-score-monitor-copy,
.rr-score-monitor-panel {
  position: relative;
  z-index: 1;
}

.rr-score-monitor-copy {
  width: min(100%, 920px);
  max-width: 920px;
  text-align: center;
}

.rr-score-monitor-copy h2 {
  max-width: 900px;
  margin-inline: auto;
}

.rr-score-monitor-copy p:not(.rr-build-kicker) {
  margin: 18px auto 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  color: #47576a;
  font-size: 18px;
  line-height: 1.62;
}

.rr-score-monitor-lead {
  color: #26354a !important;
  font-size: clamp(19px, 1.8vw, 22px) !important;
  line-height: 1.5 !important;
}

.rr-score-monitor-close {
  padding: 16px 20px;
  border: 1px solid rgba(101, 38, 223, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 760;
}

.rr-score-monitor-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
  text-align: left;
}

.rr-score-monitor-points article {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(101, 38, 223, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(143, 67, 255, 0.09), transparent 50%);
  box-shadow: 0 16px 38px rgba(58, 39, 120, 0.065);
}

.rr-score-monitor-points span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 8px;
  color: var(--rr-purple);
  background: rgba(101, 38, 223, 0.08);
}

.rr-score-monitor-points svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rr-score-monitor-points strong {
  display: block;
  color: var(--rr-ink);
  font-size: 14px;
  line-height: 1.25;
}

.rr-score-monitor-points small {
  display: block;
  margin-top: 7px;
  color: #647086;
  font-size: 12.5px;
  line-height: 1.42;
}

.rr-score-monitor-panel {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(101, 38, 223, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 249, 255, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(143, 67, 255, 0.1), transparent 44%);
  box-shadow: 0 24px 64px rgba(58, 39, 120, 0.13);
}

.rr-score-monitor-head {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.rr-score-monitor-head span {
  color: #667284;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.rr-score-monitor-head strong {
  color: var(--rr-purple);
  font-size: 14px;
  font-weight: 900;
  text-align: right;
}

.rr-score-metric-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(101, 38, 223, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(143, 67, 255, 0.08), transparent 48%);
}

.rr-score-metric-card > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--rr-purple);
  background: rgba(101, 38, 223, 0.09);
}

.rr-score-metric-card svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rr-score-metric-card small {
  display: block;
  color: #687084;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.rr-score-metric-card strong {
  display: block;
  margin-top: 4px;
  color: var(--rr-ink);
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.rr-score-metric-card em {
  display: block;
  margin-top: 6px;
  color: #647086;
  font-size: 12px;
  font-style: normal;
}

.rr-score-change-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(101, 38, 223, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 250, 0.95), rgba(252, 249, 255, 0.96));
}

.rr-score-change-card span {
  color: #1d2636;
  font-size: 16px;
  font-weight: 900;
}

.rr-score-change-card strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #d94343;
  font-size: 28px;
  line-height: 1;
  white-space: nowrap;
}

.rr-score-change-card strong b:last-child {
  color: #d94343;
}

.rr-score-change-card strong b:first-child {
  color: #16a06f;
}

.rr-score-change-card strong i {
  color: #8892a5;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.rr-score-change-card em {
  color: #697386;
  font-size: 13px;
  font-style: normal;
  font-weight: 760;
}

.rr-score-monitor-panel ul {
  display: grid;
  gap: 10px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.rr-score-monitor-panel li {
  position: relative;
  padding-left: 24px;
  color: #344054;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 760;
}

.rr-score-monitor-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rr-purple);
  box-shadow: 0 0 0 4px rgba(101, 38, 223, 0.1);
}

.rr-approval-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(560px, 0.86fr);
  gap: clamp(34px, 4.4vw, 58px);
  align-items: center;
  width: min(100% - 64px, 1460px);
  margin: 92px auto 0;
  padding: clamp(34px, 3.2vw, 42px) clamp(48px, 5.2vw, 64px);
  overflow: hidden;
  border-radius: 20px;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 50%, rgba(105, 37, 226, 0.78), transparent 25%),
    radial-gradient(circle at 92% 42%, rgba(147, 73, 255, 0.38), transparent 30%),
    radial-gradient(circle at 20% 18%, rgba(70, 38, 176, 0.28), transparent 31%),
    linear-gradient(135deg, #061025 0%, #080b22 48%, #101536 100%);
  scroll-margin-top: 96px;
  box-shadow: 0 30px 90px rgba(8, 10, 33, 0.24);
}

.rr-approval-section::before,
.rr-approval-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.rr-approval-section::before {
  right: -7%;
  top: 18%;
  width: 44%;
  aspect-ratio: 1;
  border: 1px solid rgba(161, 111, 255, 0.28);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.rr-approval-section::after {
  right: -12%;
  top: 8%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(161, 111, 255, 0.16);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-13deg);
}

.rr-approval-copy,
.rr-approval-panel,
.rr-final-copy,
.rr-final-action,
.rr-final-divider {
  position: relative;
  z-index: 2;
}

.rr-approval-section .rr-build-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #a779ff;
  font-size: 17px;
}

.rr-approval-section .rr-build-kicker svg,
.rr-final-action svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rr-approval-section h2 {
  max-width: 730px;
  color: #ffffff;
  font-size: clamp(40px, 3.5vw, 58px);
  line-height: 1.12;
}

.rr-approval-copy > p:not(.rr-build-kicker) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.52;
}

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

.rr-approval-points article {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 10px;
  align-items: start;
  min-height: 78px;
  padding: 16px;
  border: 1px solid rgba(161, 111, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rr-approval-points span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #d9c7ff;
  background: linear-gradient(135deg, rgba(101, 38, 223, 0.84), rgba(75, 25, 160, 0.84));
}

.rr-approval-points svg,
.rr-approval-panel .rr-preview-action svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rr-approval-points strong {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.2;
}

.rr-approval-points small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.3;
}

.rr-approval-star {
  position: absolute;
  z-index: 1;
  width: 5px;
  height: 5px;
  background: #d6bcff;
  box-shadow: 0 0 20px rgba(168, 105, 255, 0.86);
  transform: rotate(45deg);
}

.rr-star-one {
  right: 7%;
  top: 16%;
}

.rr-star-two {
  right: 5.5%;
  top: 22%;
}

.rr-approval-panel {
  padding: 22px;
  border: 1px solid rgba(161, 111, 255, 0.48);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(18, 25, 50, 0.98), rgba(8, 13, 31, 0.98)),
    #0b1125;
  box-shadow:
    0 0 58px rgba(111, 47, 255, 0.58),
    0 26px 70px rgba(0, 0, 0, 0.42);
}

.rr-approval-panel > span,
.rr-approval-field > span,
.rr-approval-issues > span {
  color: #b995ff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.rr-approval-panel > strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 27px;
  line-height: 1.1;
}

.rr-approval-product-card,
.rr-approval-field {
  border: 1px solid rgba(170, 183, 222, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.035));
}

.rr-approval-product-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 12px;
}

.rr-product-thumb {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  color: #166b3a;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.96), transparent 25%),
    linear-gradient(180deg, #eef7ef 0%, #a9efc5 100%);
  font-size: 12px;
  font-weight: 850;
}

.rr-approval-product-card b {
  display: block;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.2;
}

.rr-approval-product-card small {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.rr-approval-product-card em {
  min-width: 92px;
  color: #d8ddeb;
  font-size: 18px;
  font-style: normal;
  font-weight: 850;
}

.rr-approval-product-card em strong {
  color: #ff4040;
}

.rr-approval-product-card em::after {
  content: "";
  display: block;
  width: 78px;
  height: 6px;
  margin-top: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4040 0 26%, rgba(148, 160, 190, 0.34) 26% 100%);
}

.rr-approval-product-card em small {
  color: #ff4040;
  font-size: 12px;
  font-weight: 900;
}

.rr-approval-field {
  position: relative;
  margin-top: 10px;
  padding: 12px 14px;
}

.rr-approval-field p {
  max-width: none;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  line-height: 1.38;
}

.rr-approval-field b {
  position: absolute;
  right: 16px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid #ff4040;
  border-radius: 50%;
  color: #ff4040;
  font-size: 13px;
  transform: translateY(-50%);
}

.rr-approval-issues {
  margin-top: 12px;
}

.rr-approval-issues div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.rr-approval-issues i {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid rgba(170, 183, 222, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.055);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 760;
}

.rr-approval-panel .rr-preview-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  margin-top: 16px;
  padding: 0 26px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #7b31ff, #6827df);
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(101, 38, 223, 0.28);
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.rr-final-landing-cta {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 1px minmax(320px, 0.7fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  width: min(100% - 64px, 1460px);
  min-height: 292px;
  margin: 24px auto 44px;
  padding: 38px clamp(52px, 7vw, 110px);
  overflow: hidden;
  border-radius: 20px;
  color: #ffffff;
  background:
    radial-gradient(circle at 76% 12%, rgba(181, 93, 255, 0.58), transparent 26%),
    linear-gradient(135deg, #2b0fb0 0%, #5420df 52%, #7e35f6 100%);
  box-shadow: 0 26px 70px rgba(101, 38, 223, 0.24);
}

.rr-final-stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.rr-final-stars span {
  position: absolute;
  left: var(--rr-star-left);
  top: var(--rr-star-top);
  width: var(--rr-star-size, 7px);
  height: var(--rr-star-size, 7px);
  color: rgba(255, 255, 255, var(--rr-star-alpha, 0.86));
  background: currentColor;
  clip-path: polygon(50% 0%, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0% 50%, 39% 38%);
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.75)) drop-shadow(0 0 16px rgba(205, 185, 255, 0.48));
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.42) rotate(45deg);
  animation: rrFinalStarTwinkle var(--rr-star-speed, 4.8s) ease-in-out infinite;
  animation-delay: var(--rr-star-delay, 0s);
}

.rr-final-stars span:nth-child(1) { --rr-star-left: 8%; --rr-star-top: 24%; --rr-star-size: 5px; --rr-star-speed: 5.4s; --rr-star-delay: -1.4s; }
.rr-final-stars span:nth-child(2) { --rr-star-left: 22%; --rr-star-top: 14%; --rr-star-size: 8px; --rr-star-speed: 6.2s; --rr-star-delay: -3.7s; --rr-star-alpha: 0.7; }
.rr-final-stars span:nth-child(3) { --rr-star-left: 36%; --rr-star-top: 78%; --rr-star-size: 4px; --rr-star-speed: 4.6s; --rr-star-delay: -2.2s; }
.rr-final-stars span:nth-child(4) { --rr-star-left: 48%; --rr-star-top: 21%; --rr-star-size: 6px; --rr-star-speed: 5.8s; --rr-star-delay: -4.1s; --rr-star-alpha: 0.65; }
.rr-final-stars span:nth-child(5) { --rr-star-left: 58%; --rr-star-top: 67%; --rr-star-size: 5px; --rr-star-speed: 4.9s; --rr-star-delay: -0.8s; }
.rr-final-stars span:nth-child(6) { --rr-star-left: 68%; --rr-star-top: 27%; --rr-star-size: 9px; --rr-star-speed: 6.6s; --rr-star-delay: -5.1s; --rr-star-alpha: 0.75; }
.rr-final-stars span:nth-child(7) { --rr-star-left: 76%; --rr-star-top: 52%; --rr-star-size: 4px; --rr-star-speed: 4.4s; --rr-star-delay: -2.9s; }
.rr-final-stars span:nth-child(8) { --rr-star-left: 88%; --rr-star-top: 30%; --rr-star-size: 10px; --rr-star-speed: 7s; --rr-star-delay: -6.1s; --rr-star-alpha: 0.8; }
.rr-final-stars span:nth-child(9) { --rr-star-left: 93%; --rr-star-top: 78%; --rr-star-size: 6px; --rr-star-speed: 5.1s; --rr-star-delay: -3.2s; }
.rr-final-stars span:nth-child(10) { --rr-star-left: 82%; --rr-star-top: 86%; --rr-star-size: 4px; --rr-star-speed: 4.2s; --rr-star-delay: -1.7s; --rr-star-alpha: 0.7; }
.rr-final-stars span:nth-child(11) { --rr-star-left: 71%; --rr-star-top: 74%; --rr-star-size: 7px; --rr-star-speed: 5.6s; --rr-star-delay: -4.6s; }
.rr-final-stars span:nth-child(12) { --rr-star-left: 62%; --rr-star-top: 12%; --rr-star-size: 4px; --rr-star-speed: 4.8s; --rr-star-delay: -2.4s; --rr-star-alpha: 0.68; }
.rr-final-stars span:nth-child(13) { --rr-star-left: 13%; --rr-star-top: 82%; --rr-star-size: 4px; --rr-star-speed: 5.2s; --rr-star-delay: -4.9s; --rr-star-alpha: 0.62; }
.rr-final-stars span:nth-child(14) { --rr-star-left: 31%; --rr-star-top: 40%; --rr-star-size: 5px; --rr-star-speed: 4.5s; --rr-star-delay: -0.3s; }
.rr-final-stars span:nth-child(15) { --rr-star-left: 91%; --rr-star-top: 17%; --rr-star-size: 5px; --rr-star-speed: 5.9s; --rr-star-delay: -5.4s; }
.rr-final-stars span:nth-child(16) { --rr-star-left: 53%; --rr-star-top: 88%; --rr-star-size: 8px; --rr-star-speed: 6.9s; --rr-star-delay: -3.9s; --rr-star-alpha: 0.58; }

@keyframes rrFinalStarTwinkle {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.35) rotate(45deg);
  }
  16% {
    opacity: 0.95;
    transform: translate3d(0, -2px, 0) scale(1) rotate(45deg);
  }
  38% {
    opacity: 0.28;
    transform: translate3d(1px, 1px, 0) scale(0.62) rotate(45deg);
  }
  58% {
    opacity: 0.82;
    transform: translate3d(-1px, -1px, 0) scale(1.16) rotate(45deg);
  }
  78% {
    opacity: 0.12;
    transform: translate3d(0, 2px, 0) scale(0.5) rotate(45deg);
  }
}

.rr-final-landing-cta .rr-build-kicker {
  color: #cdb9ff;
}

.rr-final-landing-cta h2 {
  max-width: 600px;
  color: #ffffff;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.08;
}

.rr-final-copy > p:not(.rr-build-kicker) {
  max-width: 600px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.45;
}

.rr-final-divider {
  width: 1px;
  min-height: 190px;
  background: rgba(255, 255, 255, 0.32);
}

.rr-final-action {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.rr-final-landing-cta button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: min(100%, 360px);
  min-height: 76px;
  padding: 0 34px;
  border-radius: 8px;
  color: #5420df;
  background: #ffffff;
  font-size: 23px;
  box-shadow: 0 20px 44px rgba(26, 14, 86, 0.18);
}

.rr-final-action p {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.rr-final-action p span {
  display: inline-flex;
  color: #ffffff;
}

.rr-marketing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 64px, 1460px);
  margin: 18px auto 56px;
  padding: 18px 22px;
  border: 1px solid rgba(101, 38, 223, 0.14);
  border-radius: 14px;
  color: #25283a;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 46px rgba(39, 20, 77, 0.08);
}

.rr-marketing-footer > div:first-child,
.rr-marketing-footer address {
  display: grid;
  gap: 5px;
}

.rr-marketing-footer strong,
.rr-marketing-footer address span {
  color: var(--rr-ink);
  font-size: 14px;
  font-weight: 950;
}

.rr-marketing-footer > div:first-child span,
.rr-marketing-footer address a {
  color: var(--rr-muted);
  font-size: 14px;
  line-height: 1.4;
}

.rr-marketing-footer address {
  margin: 0;
  font-style: normal;
}

.rr-marketing-footer address a {
  text-decoration: none;
}

.rr-marketing-footer address a:hover {
  color: var(--rr-purple);
}

.rr-footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.rr-legal-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rr-legal-links a {
  color: var(--rr-muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.rr-legal-links a:hover {
  color: var(--rr-purple);
}

.rr-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(101, 38, 223, 0.16);
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #6526df, #8f43ff);
  box-shadow: 0 12px 24px rgba(101, 38, 223, 0.18);
  text-decoration: none;
}

.rr-footer-social:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(101, 38, 223, 0.24);
}

.rr-footer-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 1060px) {
  .rr-marketing-nav {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 12px 20px;
  }

  .rr-marketing-nav div {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .rr-metric-band,
  .rr-workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rr-workflow-steps {
    gap: 18px;
  }

  .rr-workflow-steps article::before,
  .rr-workflow-steps article::after {
    display: none;
  }

  .rr-product-walkthrough,
  .rr-risk-signal-section,
  .rr-why-section,
  .rr-score-monitor-section,
  .rr-approval-section {
    grid-template-columns: 1fr;
  }

  .rr-product-walkthrough {
    gap: 28px;
  }

  .rr-risk-copy {
    max-width: 760px;
  }

  .rr-approval-section {
    align-items: start;
  }

  .rr-score-monitor-section {
    width: min(100% - 48px, 1180px);
  }

  .rr-why-copy p:not(.rr-build-kicker) {
    max-width: 760px;
  }

  .rr-score-monitor-points {
    grid-template-columns: 1fr;
  }

  .rr-aeo-grid,
  .rr-aeo-faq {
    grid-template-columns: 1fr;
  }

  .rr-approval-points {
    max-width: 760px;
  }

  .rr-final-landing-cta {
    grid-template-columns: 1fr;
  }

  .rr-final-divider {
    width: 100%;
    min-height: 1px;
    height: 1px;
  }

  .rr-final-action {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .rr-marketing-nav {
    position: relative;
  }

  .rr-marketing-nav button {
    display: none;
  }

  .rr-marketing-nav div {
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .rr-build-hero {
    min-height: 680px;
    align-items: end;
    padding: 220px 20px 28px;
  }

  .rr-build-hero-image {
    bottom: auto;
    height: 230px;
    object-fit: cover;
    object-position: 56% top;
  }

  .rr-build-hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 0 172px, rgba(255, 255, 255, 0.96) 246px, rgba(255, 255, 255, 0.98) 100%);
  }

  .rr-build-hero-content {
    width: min(100%, 350px);
    margin-left: 0;
  }

  .rr-build-hero h1 {
    font-size: 36px;
    line-height: 1;
  }

  .rr-build-hero-content > p:not(.rr-build-kicker) {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.42;
  }

  .rr-build-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .rr-build-actions button,
  .rr-build-actions a,
  .rr-final-landing-cta button {
    width: 100%;
  }

  .rr-build-actions a {
    display: none;
  }

  .rr-metric-band,
  .rr-feature-grid,
  .rr-workflow-steps {
    grid-template-columns: 1fr;
  }

  .rr-metric-band {
    margin-top: 16px;
  }

  .rr-product-walkthrough,
  .rr-risk-signal-section,
  .rr-feature-grid,
  .rr-marketing-how,
  .rr-why-section,
  .rr-score-monitor-section,
  .rr-approval-section,
  .rr-final-landing-cta,
  .rr-marketing-footer {
    width: min(100% - 28px, 1180px);
  }

  .rr-product-walkthrough,
  .rr-risk-signal-section,
  .rr-marketing-how,
  .rr-why-section,
  .rr-score-monitor-section,
  .rr-approval-section,
  .rr-final-landing-cta {
    margin-top: 58px;
  }

  .rr-product-walkthrough {
    margin-top: 28px;
  }

  .rr-section-copy h2,
  .rr-risk-copy h2,
  .rr-marketing-how h2,
  .rr-why-copy h2,
  .rr-score-monitor-section h2,
  .rr-approval-section h2,
  .rr-final-landing-cta h2 {
    font-size: 34px;
  }

  .rr-live-app-frame {
    aspect-ratio: 1650 / 819;
  }

  .rr-risk-signal-section {
    padding: 18px;
    gap: 22px;
    border-radius: 16px;
  }

  .rr-risk-screenshot-frame {
    border-radius: 12px;
  }

  .rr-risk-screenshot-frame img {
    border-radius: 12px;
  }

  .rr-feature-grid article,
  .rr-workflow-steps article {
    min-height: 0;
  }

  .rr-feature-grid article {
    padding: 24px;
  }

  .rr-feature-topline {
    margin-bottom: 12px;
  }

  .rr-feature-icon,
  .rr-step-icon {
    width: 58px;
    height: 58px;
  }

  .rr-feature-grid h3 {
    font-size: 24px;
    min-height: 0;
  }

  .rr-feature-grid p,
  .rr-workflow-steps p {
    font-size: 15px;
  }

  .rr-feature-grid p {
    min-height: 0;
  }

  .rr-feature-pill {
    margin-top: auto;
    font-size: 14px;
    white-space: normal;
  }

  .rr-feature-preview {
    margin-top: 16px;
  }

  .rr-approval-section,
  .rr-why-section,
  .rr-final-landing-cta {
    padding: 28px;
    border-radius: 16px;
  }

  .rr-why-grid {
    grid-template-columns: 1fr;
  }

  .rr-why-grid article {
    min-height: 0;
  }

  .rr-why-close {
    padding: 16px;
    text-align: left;
  }

  .rr-score-monitor-section {
    padding: 28px;
    border-radius: 16px;
  }

  .rr-score-monitor-points {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rr-score-monitor-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .rr-score-monitor-head strong {
    text-align: left;
  }

  .rr-score-change-card {
    grid-template-columns: 1fr;
  }

  .rr-score-change-card strong {
    grid-row: auto;
    grid-column: auto;
  }

  .rr-score-monitor-copy p:not(.rr-build-kicker) {
    font-size: 16px;
  }

  .rr-score-monitor-lead {
    font-size: 17px !important;
  }

  .rr-score-metric-card {
    padding: 14px;
  }

  .rr-score-metric-card strong {
    font-size: 30px;
  }

  .rr-approval-points {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 32px;
  }

  .rr-approval-panel {
    padding: 18px;
  }

  .rr-approval-product-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .rr-approval-product-card em {
    grid-column: 2;
    min-width: 0;
  }

  .rr-approval-field {
    padding-right: 46px;
  }

  .rr-approval-field.rr-large-field {
    padding-right: 16px;
  }

  .rr-approval-issues i {
    font-size: 11px;
  }

  .rr-final-landing-cta {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
  }

  .rr-final-landing-cta button {
    min-height: 64px;
    font-size: 20px;
  }

  .rr-final-action {
    justify-items: stretch;
  }

  .rr-final-action p {
    align-items: flex-start;
    font-size: 15px;
  }

  .rr-marketing-footer,
  .rr-footer-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .rr-marketing-footer {
    gap: 18px;
    margin-bottom: 36px;
    padding: 18px;
  }

  .rr-footer-links {
    gap: 14px;
  }
}
