/* Scribe-style preview — scoped to scribe-preview.html only */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap");

body.trove-site {
  --sp-bg: #ffffff;
  --sp-bg-soft: #f6f4ff;
  --sp-bg-softer: #faf8ff;
  --sp-bg-lavender: #f3f0ff;
  --sp-bg-mist: #f5f3ff;
  --sp-bg-violet: #ede9fe;
  --sp-bg-indigo-wash: #eef2ff;
  --sp-purple: #4f46e5;
  --sp-purple-hover: #4338ca;
  --sp-purple-dark: #312e81;
  --sp-purple-muted: #6366f1;
  --sp-text: #111827;
  --sp-muted: #6b7280;
  --sp-line: rgba(17, 24, 39, 0.08);
  --sp-highlight: #ffe45c;
  --sp-radius: 16px;
  --sp-radius-lg: 24px;
  --sp-max: 1140px;
  --sp-font: "DM Sans", system-ui, -apple-system, sans-serif;
  --sp-shadow: 0 4px 24px rgba(49, 46, 129, 0.08), 0 1px 3px rgba(17, 24, 39, 0.06);
  --sp-shadow-lg: 0 24px 64px rgba(49, 46, 129, 0.12), 0 8px 24px rgba(17, 24, 39, 0.06);

  margin: 0;
  font-family: var(--sp-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--sp-text);
  background: var(--sp-bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;
}

body.trove-site *,
body.trove-site *::before,
body.trove-site *::after {
  box-sizing: border-box;
}

body.trove-site a {
  color: var(--sp-purple);
  text-decoration: none;
}

body.trove-site a:hover {
  text-decoration: underline;
}

body.trove-site img {
  max-width: 100%;
  display: block;
}

/* ---------- Layout ---------- */

body.trove-site .sp-container {
  width: min(var(--sp-max), calc(100% - 48px));
  margin-inline: auto;
}

body.trove-site .sp-section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

/* Scribe-style section colour rhythm */
body.trove-site .sp-section--white {
  background: var(--sp-bg);
}

body.trove-site .sp-section--lavender {
  background: var(--sp-bg-lavender);
}

body.trove-site .sp-section--mist {
  background: var(--sp-bg-mist);
}

body.trove-site .sp-section--violet {
  background: var(--sp-bg-violet);
}

body.trove-site .sp-section--indigo {
  background: var(--sp-bg-indigo-wash);
}

body.trove-site .sp-section--soft {
  background: var(--sp-bg-soft);
}

/* Subtle radial glows on tinted bands (Scribe-like depth) */
body.trove-site .sp-section--lavender::before,
body.trove-site .sp-section--mist::before,
body.trove-site .sp-section--violet::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, rgba(99, 102, 241, 0.14) 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 72%, rgba(139, 92, 246, 0.1) 0%, transparent 55%);
}

body.trove-site .sp-section--indigo::before,
body.trove-site .sp-marquee-wrap.sp-section--indigo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 50% at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(139, 92, 246, 0.08) 0%, transparent 55%);
}

body.trove-site .sp-section--white::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 88%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.12), transparent);
  pointer-events: none;
}

body.trove-site .sp-section > .sp-container {
  position: relative;
  z-index: 1;
}

body.trove-site .sp-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

body.trove-site .sp-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sp-purple-muted);
  margin-bottom: 12px;
}

body.trove-site .sp-section-head h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--sp-purple-dark);
  letter-spacing: -0.02em;
}

body.trove-site .sp-section-head p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 18px;
}

/* ---------- Header (LobeHub floating pill) ---------- */

body.trove-site .sp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 20px 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
}

body.trove-site .sp-header--float .sp-nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 12px 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 24px rgba(17, 24, 39, 0.06), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

body.trove-site .sp-header.is-scrolled .sp-nav-pill {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

body.trove-site .sp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

body.trove-site .sp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sp-text);
  text-decoration: none;
}

body.trove-site .sp-brand:hover {
  text-decoration: none;
}

body.trove-site .sp-brand img {
  width: 36px;
  height: 36px;
}

body.trove-site .sp-brand strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

body.trove-site .sp-header--float .sp-nav {
  flex: 1;
  justify-content: center;
  gap: 24px;
}

body.trove-site .sp-header--float .sp-brand strong {
  display: none;
}

@media (min-width: 900px) {
  body.trove-site .sp-header--float .sp-brand strong {
    display: block;
  }
}

body.trove-site .sp-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

body.trove-site .sp-nav a {
  color: var(--sp-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

body.trove-site .sp-nav a:hover {
  color: var(--sp-text);
  text-decoration: none;
}

body.trove-site .sp-nav a.is-active,
body.trove-site .sp-nav a[aria-current="page"] {
  color: var(--sp-purple-dark);
  font-weight: 600;
  background: var(--sp-bg-lavender);
}

body.trove-site .sp-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.trove-site .sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

body.trove-site .sp-btn:hover {
  text-decoration: none;
}

body.trove-site .sp-btn--ghost {
  background: transparent;
  color: var(--sp-text);
  border: 1px solid var(--sp-line);
}

body.trove-site .sp-btn--ghost:hover {
  background: var(--sp-bg-soft);
}

body.trove-site .sp-btn--primary {
  background: var(--sp-purple);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

body.trove-site .sp-btn--primary:hover {
  background: var(--sp-purple-hover);
}

body.trove-site .sp-btn--secondary {
  background: #fff;
  color: var(--sp-purple-dark);
  border: 1px solid var(--sp-line);
}

body.trove-site .sp-btn--secondary:hover {
  background: var(--sp-bg-soft);
}

body.trove-site .sp-btn--white {
  background: #fff;
  color: var(--sp-purple);
}

body.trove-site .sp-btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

body.trove-site .sp-btn--ink {
  background: #111827;
  color: #fff;
  border: 1px solid #111827;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.18);
}

body.trove-site .sp-btn--ink:hover {
  background: #1f2937;
  transform: translateY(-1px);
}

body.trove-site .sp-btn--surface {
  background: rgba(255, 255, 255, 0.85);
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(8px);
}

body.trove-site .sp-btn--surface:hover {
  background: #fff;
  border-color: rgba(17, 24, 39, 0.18);
}

body.trove-site .sp-btn--lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 14px;
}

body.trove-site .sp-btn--sm {
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 999px;
}

/* ---------- Hero mesh (LobeHub-style) ---------- */

body.trove-site .sp-hero--mesh {
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #fafafa;
}

body.trove-site .sp-mesh {
  position: absolute;
  inset: -8% -4%;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
}

body.trove-site .sp-mesh-spotlight {
  position: absolute;
  left: 0;
  top: 0;
  width: min(75vw, 760px);
  height: min(75vw, 760px);
  margin-left: calc(min(75vw, 760px) / -2);
  margin-top: calc(min(75vw, 760px) / -2);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(196, 181, 253, 0.28) 28%, transparent 62%);
  opacity: 0.85;
  will-change: transform;
  mix-blend-mode: soft-light;
}

body.trove-site .sp-mesh-blob {
  position: absolute;
  will-change: transform;
  pointer-events: none;
}

body.trove-site .sp-mesh-blob-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.75;
  animation: spMeshDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}

body.trove-site .sp-mesh-blob--blue .sp-mesh-blob-glow {
  background: radial-gradient(circle, #93c5fd 0%, #bfdbfe 40%, transparent 70%);
}

body.trove-site .sp-mesh-blob--pink .sp-mesh-blob-glow {
  background: radial-gradient(circle, #f9a8d4 0%, #fbcfe8 45%, transparent 70%);
  animation-delay: -4s;
}

body.trove-site .sp-mesh-blob--lavender .sp-mesh-blob-glow {
  background: radial-gradient(circle, #c4b5fd 0%, #ddd6fe 50%, transparent 72%);
  animation-delay: -8s;
}

body.trove-site .sp-mesh-blob--yellow .sp-mesh-blob-glow {
  background: radial-gradient(circle, #fde68a 0%, #fef3c7 50%, transparent 72%);
  animation-delay: -12s;
}

body.trove-site .sp-mesh-blob--blue {
  width: 55vw;
  height: 55vw;
  max-width: 680px;
  max-height: 680px;
  top: -8%;
  left: 18%;
}

body.trove-site .sp-mesh-blob--pink {
  width: 48vw;
  height: 48vw;
  max-width: 580px;
  max-height: 580px;
  top: 2%;
  right: 8%;
}

body.trove-site .sp-mesh-blob--lavender {
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  top: 28%;
  left: 32%;
}

body.trove-site .sp-mesh-blob--yellow {
  width: 36vw;
  height: 36vw;
  max-width: 440px;
  max-height: 440px;
  bottom: 18%;
  right: 22%;
}

@keyframes spMeshDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(2%, 3%) scale(1.06); }
}

body.trove-site .sp-hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.trove-site .sp-hero h1,
body.trove-site .sp-hero-title {
  margin: 0 auto 24px;
  max-width: 780px;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #111827;
}

body.trove-site .sp-hero-line--accent {
  font-style: italic;
  font-weight: 700;
}

body.trove-site .sp-hero-lead {
  margin: 0 auto 32px;
  max-width: 580px;
  font-size: 17px;
  line-height: 1.65;
  color: #6b7280;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

body.trove-site .sp-hero-lead strong {
  color: var(--sp-text);
}

body.trove-site .sp-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

body.trove-site .sp-pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--sp-line);
  background: #fff;
  color: var(--sp-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

body.trove-site .sp-pill:hover {
  border-color: var(--sp-purple-muted);
  color: var(--sp-purple-dark);
}

body.trove-site .sp-pills--subtle {
  margin-top: 28px;
  margin-bottom: 0;
}

body.trove-site .sp-pills--subtle .sp-pill {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  border-color: rgba(17, 24, 39, 0.08);
  font-size: 13px;
}

body.trove-site .sp-pills--subtle .sp-pill.is-active {
  background: rgba(17, 24, 39, 0.88);
  border-color: #111827;
  color: #fff;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.15);
}

body.trove-site .sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

body.trove-site .sp-hero-note {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 40px;
}

body.trove-site .sp-hero-visual {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding-top: 24px;
}

/* LobeHub-style app window */
body.trove-site .sp-app-window {
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(1.2);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 1px rgba(17, 24, 39, 0.04),
    0 24px 80px rgba(17, 24, 39, 0.12),
    0 8px 24px rgba(99, 102, 241, 0.08);
  overflow: hidden;
  text-align: left;
  transform: perspective(1200px) rotateX(2deg);
  transform-origin: center bottom;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

body.trove-site .sp-app-window:hover {
  transform: perspective(1200px) rotateX(0deg) translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(17, 24, 39, 0.05),
    0 32px 96px rgba(17, 24, 39, 0.14),
    0 12px 32px rgba(99, 102, 241, 0.1);
}

body.trove-site .sp-app-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(249, 250, 251, 0.98);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

body.trove-site .sp-app-url-bar {
  flex: 1;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.trove-site .sp-app-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

body.trove-site .sp-app-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: spLivePulse 2s ease-in-out infinite;
}

@keyframes spLivePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

body.trove-site .sp-app-chrome-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
}

body.trove-site .sp-app-layout {
  display: grid;
  grid-template-columns: 252px 1fr;
  min-height: 460px;
}

body.trove-site .sp-app-sidebar {
  padding: 16px 12px;
  background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
  border-right: 1px solid rgba(17, 24, 39, 0.06);
  display: flex;
  flex-direction: column;
}

body.trove-site .sp-app-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  font-size: 13px;
  color: #9ca3af;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

body.trove-site .sp-app-kbd {
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 5px;
  background: #f3f4f6;
  border: 1px solid rgba(17, 24, 39, 0.08);
  font-size: 10px;
  font-family: inherit;
  color: #9ca3af;
}

body.trove-site .sp-app-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}

body.trove-site .sp-app-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
}

body.trove-site .sp-nav-icon {
  width: 16px;
  font-size: 10px;
  color: #d1d5db;
  text-align: center;
}

body.trove-site .sp-app-nav a.is-active .sp-nav-icon {
  color: #6366f1;
}

body.trove-site .sp-app-nav a.is-active,
body.trove-site .sp-app-nav a:hover {
  background: #fff;
  color: #111827;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.05);
}

body.trove-site .sp-app-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  margin: 8px 0 8px;
  padding: 0 10px;
}

body.trove-site .sp-app-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding: 0 4px 4px;
}

body.trove-site .sp-app-stat-card {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

body.trove-site .sp-app-stat-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  color: #111827;
  margin-bottom: 2px;
}

body.trove-site .sp-app-stat-card span {
  font-size: 11px;
  color: #6b7280;
}

body.trove-site .sp-app-stat-row {
  display: flex;
  gap: 12px;
  padding: 10px;
  font-size: 12px;
  color: #6b7280;
}

body.trove-site .sp-app-stat-row strong {
  display: block;
  font-size: 18px;
  color: #111827;
}

body.trove-site .sp-app-main {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(196, 181, 253, 0.12), transparent 55%),
    #fff;
  min-height: 460px;
}

body.trove-site .sp-app-main-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 12px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.05);
}

body.trove-site .sp-app-task-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body.trove-site .sp-app-avatar {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

body.trove-site .sp-app-avatar--sm {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 9px;
  margin-top: 2px;
}

body.trove-site .sp-app-task-head strong {
  display: block;
  font-size: 14px;
  color: #111827;
}

body.trove-site .sp-app-task-head span {
  font-size: 12px;
  color: #9ca3af;
}

body.trove-site .sp-app-goal-card {
  margin: 14px 22px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(168, 85, 247, 0.04));
  border: 1px solid rgba(99, 102, 241, 0.1);
}

body.trove-site .sp-app-goal-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6366f1;
  margin-bottom: 6px;
}

body.trove-site .sp-app-goal-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #4b5563;
}

body.trove-site .sp-app-task-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #4b5563;
}

body.trove-site .sp-app-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 8px 22px 12px;
  min-height: 200px;
}

body.trove-site .sp-chat-row {
  display: flex;
  gap: 10px;
}

body.trove-site .sp-chat-row--user {
  justify-content: flex-end;
}

body.trove-site .sp-chat-row--assistant {
  align-items: flex-start;
}

body.trove-site .sp-chat-stack {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.trove-site .sp-chat-bubble {
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
}

body.trove-site .sp-chat-bubble--assistant {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.14);
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.06);
}

body.trove-site .sp-chat-bubble--assistant p {
  margin: 0;
  color: #374151;
}

body.trove-site .sp-app-sources {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.trove-site .sp-app-sources[hidden] {
  display: none !important;
}

body.trove-site .sp-app-sources-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
}

body.trove-site .sp-app-compose {
  margin: 0 22px 20px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  background: #fff;
  box-shadow: 0 4px 20px rgba(17, 24, 39, 0.06);
}

body.trove-site .sp-compose-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  min-height: 24px;
  font-size: 14px;
  line-height: 1.5;
  color: #111827;
}

body.trove-site .sp-compose-input .sp-query-text:empty::before {
  content: "Ask this workspace or your full library…";
  color: #9ca3af;
}

body.trove-site .sp-compose-input .sp-assistant-query,
body.trove-site .sp-compose-input .sp-query-text {
  color: #111827;
}

body.trove-site .sp-compose-placeholder {
  font-size: 13px;
  color: #9ca3af;
  padding: 2px 4px 10px;
}

body.trove-site .sp-app-compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}

body.trove-site .sp-compose-scope {
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f4f6;
}

body.trove-site .sp-compose-actions {
  display: flex;
  gap: 8px;
}

body.trove-site .sp-compose-btn {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid rgba(17, 24, 39, 0.06);
}

body.trove-site .sp-compose-btn--send {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

body.trove-site .sp-app-compose .sp-assistant-query {
  border: none;
  padding: 0;
  background: transparent;
}

body.trove-site .sp-app-compose-tools {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}

body.trove-site .sp-app-compose-tools span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

body.trove-site .sp-app-bubble {
  padding: 14px 16px;
  border-radius: 12px;
  background: #f5f3ff;
  border: 1px solid rgba(99, 102, 241, 0.12);
}

body.trove-site .sp-app-bubble p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #374151;
}

body.trove-site .sp-app-main .sp-app-model-pills {
  flex-shrink: 0;
}

body.trove-site .sp-app-model-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.trove-site .sp-app-model-pills span {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid transparent;
}

body.trove-site .sp-app-model-pills span.is-active {
  background: #111827;
  color: #fff;
}

body.trove-site .sp-app-brief {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}

body.trove-site .sp-app-brief-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
}

body.trove-site .sp-app-brief-head strong {
  color: #111827;
}

body.trove-site .sp-app-brief-head span {
  color: #9ca3af;
  font-size: 12px;
}

body.trove-site .sp-hero .sp-tab-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  font-size: 13px;
  transition: background 0.2s, border-color 0.2s;
}

body.trove-site .sp-hero .sp-tab-item.is-current {
  background: #fff;
  border-color: rgba(99, 102, 241, 0.15);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}

body.trove-site .sp-hero .sp-tab-item:hover {
  background: rgba(255, 255, 255, 0.7);
}

body.trove-site .sp-tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

body.trove-site .sp-tab-dot--violet { background: #818cf8; box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2); }
body.trove-site .sp-tab-dot--pink { background: #f472b6; }
body.trove-site .sp-tab-dot--amber { background: #fbbf24; }

body.trove-site .sp-tab-copy span {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
  font-weight: 400;
}

body.trove-site .sp-mock {
  background: #fff;
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-lg);
  border: 1px solid var(--sp-line);
  overflow: hidden;
  text-align: left;
}

body.trove-site .sp-mock-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--sp-bg-soft);
  border-bottom: 1px solid var(--sp-line);
}

body.trove-site .sp-mock-dots {
  display: flex;
  gap: 6px;
}

body.trove-site .sp-mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
}

body.trove-site .sp-mock-dots span:first-child { background: #fca5a5; }
body.trove-site .sp-mock-dots span:nth-child(2) { background: #fde047; }
body.trove-site .sp-mock-dots span:nth-child(3) { background: #86efac; }

body.trove-site .sp-mock-url {
  flex: 1;
  font-size: 13px;
  color: var(--sp-muted);
  text-align: center;
}

body.trove-site .sp-mock-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sp-purple);
}

body.trove-site .sp-mock-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

body.trove-site .sp-mock-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 320px;
}

body.trove-site .sp-mock-sidebar {
  padding: 20px;
  border-right: 1px solid var(--sp-line);
  background: var(--sp-bg-softer);
}

body.trove-site .sp-session-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--sp-highlight);
  color: var(--sp-purple-dark);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

body.trove-site .sp-tab-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.trove-site .sp-tab-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--sp-line);
  font-size: 13px;
  color: var(--sp-text);
}

body.trove-site .sp-tab-item .sp-tab-copy {
  min-width: 0;
  flex: 1;
}

body.trove-site .sp-tab-item .sp-tab-copy span {
  display: block;
  font-size: 11px;
  color: var(--sp-muted);
  margin-top: 2px;
}

body.trove-site .sp-mock-main {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.trove-site .sp-assistant-query {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--sp-line);
  background: #fff;
  font-size: 14px;
  color: var(--sp-muted);
}

body.trove-site .sp-assistant-answer {
  padding: 16px;
  border-radius: 12px;
  background: var(--sp-bg-soft);
  border: 1px solid rgba(79, 70, 229, 0.12);
}

body.trove-site .sp-assistant-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sp-purple);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}

body.trove-site .sp-assistant-answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--sp-text);
}

body.trove-site .sp-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.trove-site .sp-source-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sp-highlight);
  color: var(--sp-purple-dark);
  font-size: 12px;
  font-weight: 600;
}

body.trove-site .sp-app-main .sp-source-chip {
  padding: 6px 11px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #92400e;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

body.trove-site .sp-sticker {
  position: absolute;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--sp-shadow);
  border: 1px solid var(--sp-line);
  font-size: 13px;
  text-align: left;
}

body.trove-site .sp-sticker strong {
  display: block;
  font-size: 20px;
  color: var(--sp-purple-dark);
  line-height: 1.2;
}

body.trove-site .sp-sticker span {
  color: var(--sp-muted);
  font-size: 12px;
}

body.trove-site .sp-sticker--tabs {
  top: -16px;
  left: -12px;
}

body.trove-site .sp-sticker--highlights {
  bottom: 24px;
  right: -12px;
}

/* ---------- Trust strip ---------- */

body.trove-site .sp-trust {
  padding: 32px 0;
  border-block: 1px solid rgba(79, 70, 229, 0.08);
  background: #ffffff;
  position: relative;
}

body.trove-site .sp-trust::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(243, 240, 255, 0.9), transparent);
  pointer-events: none;
}

body.trove-site .sp-trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

body.trove-site .sp-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f59e0b;
}

body.trove-site .sp-stars [data-icon] svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
  display: block;
}

body.trove-site .sp-trust-item {
  font-size: 14px;
  color: var(--sp-muted);
}

body.trove-site .sp-trust-item strong {
  color: var(--sp-text);
}

/* ---------- Workflow ---------- */

body.trove-site .sp-workflow-divider {
  height: 1px;
  margin: 0 0 40px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.16), transparent);
}

body.trove-site .sp-workflow {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 14px 40px;
  align-items: start;
}

body.trove-site .sp-workflow-progress {
  grid-column: 1;
  grid-row: 1;
  height: 2px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0;
}

body.trove-site [data-workflow-progress] {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sp-purple), var(--sp-purple-muted));
  border-radius: inherit;
}

body.trove-site .sp-steps {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.trove-site .sp-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: #fff;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.06);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

body.trove-site .sp-step:hover {
  border-color: rgba(79, 70, 229, 0.22);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.1);
}

body.trove-site .sp-step.is-active {
  border-color: var(--sp-purple);
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.14);
}

body.trove-site .sp-step .sp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--sp-purple);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

body.trove-site .sp-step:not(.is-active) .sp-step-num {
  background: var(--sp-bg-soft);
  color: var(--sp-purple);
  border: 1px solid rgba(79, 70, 229, 0.14);
}

body.trove-site .sp-step-body {
  flex: 1;
  min-width: 0;
}

body.trove-site .sp-step h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--sp-purple-dark);
}

body.trove-site .sp-step p {
  margin: 0;
  font-size: 14px;
  color: var(--sp-muted);
  line-height: 1.55;
}

body.trove-site .sp-step-panel-wrap {
  grid-column: 2;
  grid-row: 1 / -1;
  position: sticky;
  top: 104px;
  min-height: 380px;
  align-self: start;
}

body.trove-site .sp-step-panel {
  display: none;
  padding: 32px 34px 34px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(79, 70, 229, 0.1);
  box-shadow: 0 20px 52px rgba(49, 46, 129, 0.1);
}

body.trove-site .sp-step-panel.is-active {
  display: block;
}

body.trove-site .sp-step-panel.is-active.is-entering {
  animation: spPanelIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes spPanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

body.trove-site .sp-step-panel-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-purple-muted);
}

body.trove-site .sp-step-panel h4 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--sp-purple-dark);
}

body.trove-site .sp-step-panel p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sp-muted);
  max-width: 52ch;
}

body.trove-site .sp-mini-grid {
  display: grid;
  gap: 10px;
}

body.trove-site .sp-mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5f3ff 0%, #faf8ff 100%);
  border: 1px solid rgba(79, 70, 229, 0.1);
  font-size: 14px;
  font-weight: 500;
  color: var(--sp-purple-dark);
}

body.trove-site .sp-mini-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

body.trove-site .sp-mini-card-dot--violet { background: #6366f1; }
body.trove-site .sp-mini-card-dot--pink { background: #ec4899; }
body.trove-site .sp-mini-card-dot--amber { background: #f59e0b; }

/* Mobile workflow accordion */
body.trove-site .sp-step-visual-mobile {
  display: none;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--sp-bg-soft);
  border: 1px solid rgba(79, 70, 229, 0.08);
  font-size: 13px;
  color: var(--sp-muted);
  line-height: 1.5;
}

/* ---------- Impact stats ---------- */

body.trove-site .sp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

body.trove-site .sp-stat {
  padding: 28px 24px;
  border-radius: var(--sp-radius);
  background: #fff;
  border: 1px solid rgba(79, 70, 229, 0.1);
  text-align: center;
  box-shadow: 0 4px 20px rgba(49, 46, 129, 0.06);
}

body.trove-site .sp-stat strong {
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: var(--sp-purple-dark);
  line-height: 1;
  margin-bottom: 8px;
}

body.trove-site .sp-stat span {
  font-size: 14px;
  color: var(--sp-muted);
}

body.trove-site .sp-quote-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px;
  border-radius: var(--sp-radius-lg);
  background: #fff;
  border: 1px solid rgba(79, 70, 229, 0.12);
  box-shadow: 0 8px 32px rgba(49, 46, 129, 0.08);
  text-align: center;
}

body.trove-site .sp-quote-card blockquote {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--sp-purple-dark);
}

body.trove-site .sp-quote-card cite {
  font-style: normal;
  font-size: 14px;
  color: var(--sp-muted);
}

/* ---------- Personas ---------- */

body.trove-site .sp-persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

body.trove-site .sp-persona {
  padding: 24px;
  border-radius: var(--sp-radius);
  background: #fff;
  border: 1px solid var(--sp-line);
  transition: box-shadow 0.2s;
}

body.trove-site .sp-persona:hover {
  box-shadow: var(--sp-shadow);
}

body.trove-site .sp-persona-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sp-bg-soft);
  color: var(--sp-purple);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

body.trove-site .sp-persona blockquote {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--sp-purple-dark);
  line-height: 1.4;
}

body.trove-site .sp-persona p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--sp-muted);
  line-height: 1.55;
}

body.trove-site .sp-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.trove-site .sp-tag-list li {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sp-bg-softer);
  font-size: 12px;
  color: var(--sp-muted);
}

body.trove-site .sp-persona-coda {
  text-align: center;
  margin-top: 32px;
  color: var(--sp-muted);
  font-style: italic;
}

body.trove-site .sp-section-foot {
  text-align: center;
  margin-top: 28px;
  color: var(--sp-muted);
  font-size: 15px;
}

/* ---------- AI cards ---------- */

body.trove-site .sp-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

body.trove-site .sp-workspace-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

body.trove-site .sp-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

body.trove-site .sp-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

body.trove-site .sp-timeline-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--sp-line);
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.05);
}

body.trove-site .sp-timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--sp-purple);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

body.trove-site .sp-timeline-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--sp-purple-dark);
}

body.trove-site .sp-timeline-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--sp-muted);
}

body.trove-site .sp-card--accent {
  background: linear-gradient(145deg, #312e81, #4338ca);
  border-color: rgba(255, 255, 255, 0.12);
  color: #eef2ff;
}

body.trove-site .sp-card--accent h3 {
  color: #fff;
}

body.trove-site .sp-card--accent p {
  color: rgba(238, 242, 255, 0.82);
}

body.trove-site .sp-card--accent .sp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

body.trove-site .sp-cta-link-inline {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sp-purple);
}

body.trove-site .sp-cta-link-inline:hover {
  color: var(--sp-purple-hover);
}

body.trove-site .sp-team-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

body.trove-site .sp-team-spotlight-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--sp-purple-dark);
}

body.trove-site .sp-team-spotlight-copy > p {
  margin: 0 0 24px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--sp-muted);
}

body.trove-site .sp-team-features {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

body.trove-site .sp-team-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--sp-line);
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.06);
  font-size: 15px;
  font-weight: 600;
  color: var(--sp-purple-dark);
  line-height: 1.35;
}

body.trove-site .sp-team-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sp-bg-soft);
  border: 1px solid rgba(79, 70, 229, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sp-purple);
}

body.trove-site .sp-team-feature-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.trove-site .sp-team-feature-icon[data-icon="star"] svg {
  fill: currentColor;
  stroke: none;
}

body.trove-site .sp-team-mock {
  padding: 24px 26px 26px;
  border-radius: var(--sp-radius-lg);
  background: #fff;
  border: 1px solid var(--sp-line);
  box-shadow: 0 22px 56px rgba(79, 70, 229, 0.12);
}

body.trove-site .sp-team-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

body.trove-site .sp-team-mock-head strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--sp-purple-dark);
}

body.trove-site .sp-team-mock-avatars {
  display: flex;
  align-items: center;
}

body.trove-site .sp-team-mock-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

body.trove-site .sp-team-mock-avatar:first-child {
  margin-left: 0;
}

body.trove-site .sp-team-mock-avatar--a { background: #6366f1; }
body.trove-site .sp-team-mock-avatar--b { background: #ec4899; }
body.trove-site .sp-team-mock-avatar--c { background: #8b5cf6; }
body.trove-site .sp-team-mock-avatar--more {
  background: #f3f4f6;
  color: var(--sp-muted);
  font-size: 10px;
}

body.trove-site .sp-team-mock-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

body.trove-site .sp-team-mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 12px;
  border-radius: 14px;
  background: var(--sp-bg-soft);
  border: 1px solid rgba(79, 70, 229, 0.08);
}

body.trove-site .sp-team-mock-row-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.trove-site .sp-team-mock-row-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.trove-site .sp-team-mock-row-icon--violet {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}

body.trove-site .sp-team-mock-row-icon--amber {
  background: rgba(245, 158, 11, 0.14);
  color: #d97706;
}

body.trove-site .sp-team-mock-row-icon--blue {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

body.trove-site .sp-team-mock-row-copy {
  flex: 1;
  min-width: 0;
}

body.trove-site .sp-team-mock-row-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--sp-purple-dark);
}

body.trove-site .sp-team-mock-row-copy span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--sp-muted);
}

body.trove-site .sp-team-mock-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #c4b5fd;
}

body.trove-site .sp-team-mock-chevron svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.trove-site .sp-team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

body.trove-site .sp-team-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

body.trove-site .sp-team-list li {
  padding-left: 22px;
  position: relative;
  color: var(--sp-muted);
  line-height: 1.5;
}

body.trove-site .sp-team-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sp-purple);
}

body.trove-site .sp-team-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

body.trove-site .sp-team-avatars {
  font-size: 12px;
  font-weight: 700;
  color: var(--sp-purple);
  letter-spacing: 0.08em;
}

body.trove-site .sp-team-workspaces {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

body.trove-site .sp-team-workspaces li {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--sp-bg-soft);
  border: 1px solid var(--sp-line);
}

body.trove-site .sp-team-workspaces strong {
  display: block;
  color: var(--sp-purple-dark);
  font-size: 14px;
}

body.trove-site .sp-team-workspaces span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--sp-muted);
}

body.trove-site .sp-card {
  padding: 28px;
  border-radius: var(--sp-radius);
  background: #fff;
  border: 1px solid var(--sp-line);
}

body.trove-site .sp-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sp-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--sp-purple);
}

body.trove-site .sp-card-icon[data-icon] svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.trove-site .sp-card-icon[data-icon="spark"] svg,
body.trove-site .sp-card-icon[data-icon="star"] svg,
body.trove-site .sp-card-icon[data-icon="troves"] svg,
body.trove-site .sp-card-icon[data-icon="play"] svg,
body.trove-site .sp-card-icon[data-icon="zap"] svg {
  fill: currentColor;
  stroke: none;
}

body.trove-site .sp-card-icon[data-icon="organize"] svg rect,
body.trove-site .sp-card-icon[data-icon="overview"] svg rect,
body.trove-site .sp-card-icon[data-icon="sessions"] svg rect {
  fill: none;
}

body.trove-site .sp-card-icon[data-icon="highlight"] svg path:first-child,
body.trove-site .sp-features-bento-icon[data-icon="highlight"] svg path:first-child {
  fill: currentColor;
  fill-opacity: 0.18;
}

body.trove-site .sp-nav-icon[data-icon] svg {
  width: 14px;
  height: 14px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.trove-site .sp-nav-icon[data-icon="spark"] svg,
body.trove-site .sp-nav-icon[data-icon="troves"] svg {
  fill: currentColor;
  stroke: none;
}

body.trove-site .sp-nav-icon[data-icon="sessions"] svg rect {
  fill: none;
}

body.trove-site .sp-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--sp-purple-dark);
}

body.trove-site .sp-card p {
  margin: 0;
  font-size: 14px;
  color: var(--sp-muted);
  line-height: 1.55;
}

/* ---------- Privacy band ---------- */

body.trove-site .sp-section-head h2 em {
  font-style: italic;
  color: var(--sp-purple);
}

body.trove-site .sp-eyebrow--icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.trove-site .sp-eyebrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--sp-purple);
}

body.trove-site .sp-eyebrow-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.trove-site .sp-privacy-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

body.trove-site .sp-privacy-card {
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: var(--sp-radius-lg);
  background: #fff;
  border: 1px solid var(--sp-line);
  box-shadow: var(--sp-shadow);
}

body.trove-site .sp-privacy-card--soft {
  background: var(--sp-bg-soft);
}

body.trove-site .sp-privacy-card--promise {
  grid-column: span 6;
  padding: 32px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 52%, #4338ca 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(49, 46, 129, 0.28);
}

body.trove-site .sp-privacy-card--promise::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.35), transparent 70%);
  pointer-events: none;
}

body.trove-site .sp-privacy-pill {
  align-self: flex-start;
  position: relative;
  z-index: 1;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

body.trove-site .sp-privacy-list {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

body.trove-site .sp-privacy-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

body.trove-site .sp-privacy-list li strong {
  color: #fff;
  font-weight: 600;
}

body.trove-site .sp-privacy-list li em {
  color: #fff;
  font-style: italic;
}

body.trove-site .sp-privacy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--sp-purple-muted);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

body.trove-site .sp-privacy-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sp-bg-soft);
  border: 1px solid rgba(79, 70, 229, 0.12);
  color: var(--sp-purple);
}

body.trove-site .sp-privacy-card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.trove-site .sp-privacy-card h3 {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--sp-purple-dark);
}

body.trove-site .sp-privacy-card > p {
  margin: 0;
  font-size: 14px;
  color: var(--sp-muted);
  line-height: 1.6;
}

body.trove-site .sp-privacy-card > p em,
body.trove-site .sp-privacy-card > p strong {
  color: var(--sp-purple-dark);
  font-weight: 600;
  font-style: normal;
}

body.trove-site .sp-privacy-meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed rgba(79, 70, 229, 0.18);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sp-muted);
}

body.trove-site .sp-privacy-foot {
  text-align: center;
  margin-top: 32px;
  font-size: 15px;
  color: var(--sp-muted);
  line-height: 1.6;
}

body.trove-site .sp-privacy-foot a {
  color: var(--sp-purple);
  font-weight: 600;
  text-decoration: none;
}

body.trove-site .sp-privacy-foot a:hover {
  color: var(--sp-purple-hover);
  text-decoration: underline;
}

@media (min-width: 720px) {
  body.trove-site .sp-privacy-list {
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
  }
}

@media (max-width: 1080px) {
  body.trove-site .sp-privacy-card {
    grid-column: span 3;
  }

  body.trove-site .sp-privacy-card--promise {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  body.trove-site .sp-privacy-grid {
    grid-template-columns: 1fr;
  }

  body.trove-site .sp-privacy-card,
  body.trove-site .sp-privacy-card--promise {
    grid-column: auto;
  }

  body.trove-site .sp-privacy-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pricing ---------- */

body.trove-site .sp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

body.trove-site .sp-plan {
  padding: 24px;
  border-radius: var(--sp-radius);
  background: #fff;
  border: 1px solid var(--sp-line);
  display: flex;
  flex-direction: column;
}

body.trove-site .sp-plan--featured {
  border-color: var(--sp-purple);
  background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.14);
}

body.trove-site .sp-plan-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sp-highlight);
  color: var(--sp-purple-dark);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}

body.trove-site .sp-plan-audience {
  font-size: 12px;
  color: var(--sp-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.trove-site .sp-plan h3 {
  margin: 4px 0 12px;
  font-size: 22px;
  color: var(--sp-purple-dark);
}

body.trove-site .sp-plan-price {
  margin-bottom: 12px;
}

body.trove-site .sp-plan-price strong {
  font-size: 32px;
  color: var(--sp-purple-dark);
}

body.trove-site .sp-plan-price span {
  color: var(--sp-muted);
  font-size: 14px;
}

body.trove-site .sp-plan > p {
  flex: 1;
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--sp-muted);
}

body.trove-site .sp-plan .sp-btn {
  width: 100%;
  margin-top: auto;
}

body.trove-site .sp-plan-highlights {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--sp-muted);
}

body.trove-site .sp-plan-highlights li {
  padding: 6px 0;
  border-top: 1px solid var(--sp-line);
}

body.trove-site .sp-plan-highlights li:first-child {
  border-top: none;
}

/* ---------- Marquee ---------- */

body.trove-site .sp-section--compact {
  padding: 48px 0 64px;
}

body.trove-site .sp-marquee-wrap {
  overflow: hidden;
  padding: 56px 0;
  position: relative;
  border-block: 1px solid rgba(79, 70, 229, 0.1);
}

body.trove-site .sp-marquee-wrap.sp-section--indigo {
  background: var(--sp-bg-indigo-wash);
}

body.trove-site .sp-marquee {
  display: flex;
  width: max-content;
  animation: spMarquee 45s linear infinite;
  position: relative;
  z-index: 1;
}

body.trove-site .sp-marquee:hover {
  animation-play-state: paused;
}

body.trove-site .sp-marquee-track {
  display: flex;
  gap: 20px;
  padding-right: 20px;
}

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

body.trove-site .sp-marquee-item {
  flex: 0 0 320px;
  padding: 20px 24px;
  border-radius: var(--sp-radius);
  background: #fff;
  border: 1px solid var(--sp-line);
  font-size: 14px;
  color: var(--sp-text);
  line-height: 1.5;
}

body.trove-site .sp-marquee-item cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 12px;
  color: var(--sp-muted);
}

body.trove-site .sp-quotes-static {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 24px;
}

body.trove-site.is-reduced-motion .sp-marquee-wrap {
  display: none;
}

body.trove-site.is-reduced-motion .sp-quotes-static {
  display: grid;
}

/* ---------- Final CTA ---------- */

body.trove-site .sp-cta {
  padding: 88px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 80% at 18% 120%, rgba(167, 139, 250, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 45% 60% at 92% -20%, rgba(129, 140, 248, 0.25) 0%, transparent 50%),
    linear-gradient(135deg, #1e1b4b 0%, var(--sp-purple-dark) 38%, var(--sp-purple) 100%);
  color: #fff;
  text-align: center;
}

body.trove-site .sp-cta .sp-container {
  position: relative;
  z-index: 1;
}

body.trove-site .sp-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
}

body.trove-site .sp-cta p {
  margin: 0 0 28px;
  font-size: 18px;
  opacity: 0.9;
  max-width: 560px;
  margin-inline: auto;
}

body.trove-site .sp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

body.trove-site .sp-cta-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

body.trove-site .sp-cta-link:hover {
  color: #fff;
}

/* ---------- Footer ---------- */

body.trove-site .sp-footer {
  padding: 40px 0;
  border-top: 1px solid var(--sp-line);
  text-align: center;
  font-size: 14px;
  color: var(--sp-muted);
}

body.trove-site .sp-footer--rich {
  padding: 56px 0 32px;
  text-align: left;
  background: #fff;
}

body.trove-site .sp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

body.trove-site .sp-footer-brand img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

body.trove-site .sp-footer-brand strong {
  color: var(--sp-purple-dark);
  font-size: 16px;
}

body.trove-site .sp-footer-brand p {
  margin: 12px 0 0;
  max-width: 280px;
  line-height: 1.55;
  color: var(--sp-muted);
}

body.trove-site .sp-footer-col h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sp-purple-dark);
}

body.trove-site .sp-footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--sp-muted);
  font-size: 14px;
}

body.trove-site .sp-footer-col a:hover {
  color: var(--sp-purple);
}

body.trove-site .sp-footer-copy {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--sp-line);
  text-align: center;
  font-size: 13px;
  color: var(--sp-muted);
}

/* ---------- Preview chrome ---------- */

body.trove-site .sp-preview-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 12px 20px;
  background: #1e1b4b;
  color: #e0e7ff;
  font-size: 13px;
}

body.trove-site .sp-preview-bar a {
  color: #c7d2fe;
  font-weight: 600;
}

/* ---------- Inner pages (legacy content) ---------- */

body.trove-site.sp-inner-page {
  background: var(--sp-paper, #f8f7fc);
  color: var(--sp-ink, #111827);
}

body.trove-site.sp-inner-page .sp-legacy-content {
  padding-top: 96px;
  min-height: 55vh;
}

body.trove-site.sp-inner-page .sp-legacy-content .page-section {
  width: min(calc(100% - 32px), 1120px);
  margin-left: auto;
  margin-right: auto;
}

body.trove-site .sp-preview-bar a:hover {
  color: #fff;
}

body.trove-site .sp-preview-bar .sp-preview-label {
  font-weight: 600;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  body.trove-site .sp-persona-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.trove-site .sp-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.trove-site .sp-ai-grid {
    grid-template-columns: 1fr;
  }

  body.trove-site .sp-workspace-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.trove-site .sp-pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.trove-site .sp-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.trove-site .sp-workflow {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }

  body.trove-site .sp-workflow-progress {
    grid-column: 1;
    grid-row: 1;
  }

  body.trove-site .sp-steps {
    grid-column: 1;
    grid-row: 2;
  }

  body.trove-site .sp-step-panel-wrap {
    grid-column: 1;
    grid-row: 3;
    position: static;
    min-height: 0;
  }

  body.trove-site .sp-step-visual-mobile {
    display: none;
  }

  body.trove-site .sp-team-spotlight,
  body.trove-site .sp-team-grid {
    grid-template-columns: 1fr;
  }

  body.trove-site .sp-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body.trove-site .sp-section {
    padding: 64px 0;
  }

  body.trove-site .sp-nav,
  body.trove-site .sp-header-actions .sp-btn--ghost {
    display: none;
  }

  body.trove-site .sp-hero--mesh {
    padding-top: 96px;
    min-height: auto;
  }

  body.trove-site .sp-app-layout {
    grid-template-columns: 1fr;
  }

  body.trove-site .sp-workspace-grid {
    grid-template-columns: 1fr;
  }

  body.trove-site .sp-pillar-grid,
  body.trove-site .sp-timeline-grid {
    grid-template-columns: 1fr;
  }

  body.trove-site .sp-app-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
    padding-bottom: 12px;
  }

  body.trove-site .sp-app-main-top {
    flex-direction: column;
    align-items: flex-start;
  }

  body.trove-site .sp-app-url-bar {
    font-size: 11px;
  }

  body.trove-site .sp-app-live-badge {
    display: none;
  }

  body.trove-site .sp-app-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  body.trove-site .sp-app-window {
    transform: none;
  }

  body.trove-site .sp-app-window:hover {
    transform: translateY(-2px);
  }

  body.trove-site .sp-pills--subtle {
    display: none;
  }

  body.trove-site .sp-mock-body {
    grid-template-columns: 1fr;
  }

  body.trove-site .sp-mock-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--sp-line);
  }

  body.trove-site .sp-sticker--tabs {
    left: 8px;
    top: -8px;
  }

  body.trove-site .sp-sticker--highlights {
    right: 8px;
    bottom: 8px;
  }

  body.trove-site .sp-workflow-divider {
    margin-bottom: 28px;
  }

  body.trove-site .sp-workflow {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }

  body.trove-site .sp-workflow-progress {
    display: none;
  }

  body.trove-site .sp-steps {
    grid-column: 1;
    grid-row: 1;
  }

  body.trove-site .sp-step-panel-wrap {
    grid-column: 1;
    grid-row: 2;
    position: static;
    min-height: 0;
  }

  body.trove-site .sp-step-visual-mobile {
    display: none;
  }

  body.trove-site .sp-timeline-grid {
    grid-template-columns: 1fr;
  }

  body.trove-site .sp-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  body.trove-site .sp-persona-grid {
    grid-template-columns: 1fr;
  }

  body.trove-site .sp-pricing-grid {
    grid-template-columns: 1fr;
  }

  body.trove-site .sp-marquee-wrap {
    display: none;
  }

  body.trove-site .sp-quotes-static {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.trove-site .sp-marquee {
    animation: none;
  }
}

/* ---------- Motion & interaction ---------- */

body.trove-site.is-page-loading .sp-hero-title,
body.trove-site.is-page-loading .sp-hero-lead,
body.trove-site.is-page-loading .sp-pills,
body.trove-site.is-page-loading .sp-hero-actions,
body.trove-site.is-page-loading .sp-hero-note,
body.trove-site.is-page-loading .sp-hero-visual {
  opacity: 0;
  transform: translateY(20px);
}

body.trove-site.is-page-ready .sp-hero-line {
  display: block;
  animation: spHeroLineIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

body.trove-site.is-page-ready .sp-hero-line:nth-child(2) {
  animation-delay: 0.12s;
}

body.trove-site.is-page-ready .sp-hero-lead {
  animation: spHeroLineIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.22s backwards;
}

body.trove-site.is-page-ready .sp-pills {
  animation: spHeroLineIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.32s backwards;
}

body.trove-site.is-page-ready .sp-hero-actions {
  animation: spHeroLineIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s backwards;
}

body.trove-site.is-page-ready .sp-hero-note {
  animation: spHeroLineIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.48s backwards;
}

body.trove-site.is-page-ready .sp-hero-visual {
  animation: spHeroMockIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s backwards;
}

@keyframes spHeroLineIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spHeroMockIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

body.trove-site .sp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

body.trove-site .sp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.trove-site .sp-hero-lead.is-swapping {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

body.trove-site .sp-header {
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

body.trove-site .sp-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
}

body.trove-site .sp-btn--primary {
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

body.trove-site .sp-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}

body.trove-site .sp-btn--primary:active {
  transform: translateY(0);
}

body.trove-site .sp-pill {
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s, box-shadow 0.2s;
}

body.trove-site .sp-pill.is-active {
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
  transform: translateY(-1px);
}

body.trove-site .sp-mock {
  transition: box-shadow 0.3s ease;
}

body.trove-site .sp-mock:hover {
  box-shadow: 0 32px 80px rgba(49, 46, 129, 0.16), 0 12px 32px rgba(17, 24, 39, 0.08);
}

body.trove-site .sp-mock-live-dot {
  animation: spPulse 2s ease-in-out infinite;
}

@keyframes spPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

body.trove-site .sp-session-chip {
  position: relative;
  animation: spChipPop 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 1.2s backwards;
}

body.trove-site .sp-session-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sp-purple);
  animation: spPulse 1.5s ease-in-out infinite;
}

@keyframes spChipPop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

body.trove-site .sp-tab-item {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: var(--tab-delay, 0s);
}

body.trove-site .sp-tab-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

body.trove-site .sp-sticker {
  animation: spFloat 4s ease-in-out infinite;
}

body.trove-site .sp-sticker--tabs {
  animation-delay: 0s;
}

body.trove-site .sp-sticker--highlights {
  animation-delay: 1.2s;
}

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

body.trove-site .sp-assistant-query {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.trove-site .sp-query-prefix {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--sp-muted);
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--sp-bg-soft);
}

body.trove-site .sp-query-text {
  flex: 1;
  min-width: 0;
}

body.trove-site .sp-query-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--sp-purple);
  animation: spBlink 1s step-end infinite;
}

@keyframes spBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

body.trove-site .sp-assistant-thinking {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0 2px 38px;
  font-size: 12px;
  color: #9ca3af;
}

body.trove-site .sp-assistant-thinking em {
  font-style: normal;
  font-weight: 500;
}

body.trove-site .sp-assistant-thinking[hidden] {
  display: none !important;
}

body.trove-site .sp-assistant-thinking span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sp-purple-muted);
  animation: spThink 1.2s ease-in-out infinite;
}

body.trove-site .sp-assistant-thinking span:nth-child(2) { animation-delay: 0.15s; }
body.trove-site .sp-assistant-thinking span:nth-child(3) { animation-delay: 0.3s; }

@keyframes spThink {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-4px); }
}

body.trove-site .sp-assistant-answer {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

body.trove-site .sp-assistant-answer[hidden] {
  display: none !important;
}

body.trove-site .sp-assistant-answer.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.trove-site .sp-source-chip {
  animation: spChipIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

body.trove-site .sp-source-chip:nth-child(2) {
  animation-delay: 0.1s;
}

@keyframes spChipIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

body.trove-site .sp-step {
  transition: border-color 0.25s, box-shadow 0.25s;
}

body.trove-site .sp-step.is-active {
  transform: none;
}

body.trove-site .sp-stat {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.trove-site .sp-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--sp-shadow);
}

body.trove-site .sp-persona {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.trove-site .sp-persona:hover {
  transform: translateY(-6px);
  box-shadow: var(--sp-shadow-lg);
  border-color: rgba(79, 70, 229, 0.2);
}

body.trove-site .sp-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.trove-site .sp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sp-shadow);
}

body.trove-site .sp-plan {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.trove-site .sp-plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--sp-shadow);
}

body.trove-site.is-tab-hidden .sp-marquee {
  animation-play-state: paused;
}

body.trove-site.is-reduced-motion .sp-mesh-blob-glow {
  animation: none;
}

body.trove-site.is-reduced-motion .sp-mesh-spotlight {
  opacity: 0.45;
}

body.trove-site.is-reduced-motion .sp-app-live-dot {
  animation: none;
}

body.trove-site.is-reduced-motion .sp-app-window {
  transform: none;
}

body.trove-site.is-reduced-motion .sp-app-window:hover {
  transform: none;
}

body.trove-site.is-reduced-motion .sp-reveal,
body.trove-site.is-reduced-motion.is-page-loading .sp-hero-title,
body.trove-site.is-reduced-motion.is-page-loading .sp-hero-lead,
body.trove-site.is-reduced-motion.is-page-loading .sp-pills,
body.trove-site.is-reduced-motion.is-page-loading .sp-hero-actions,
body.trove-site.is-reduced-motion.is-page-loading .sp-hero-note,
body.trove-site.is-reduced-motion.is-page-loading .sp-hero-visual {
  opacity: 1;
  transform: none;
  animation: none;
  transition: none;
}

body.trove-site.is-reduced-motion .sp-sticker,
body.trove-site.is-reduced-motion .sp-mock-live-dot,
body.trove-site.is-reduced-motion .sp-session-pulse,
body.trove-site.is-reduced-motion .sp-query-cursor {
  animation: none;
}

body.trove-site.is-reduced-motion .sp-tab-item {
  opacity: 1;
  transform: none;
}

body.trove-site.is-reduced-motion .sp-assistant-answer {
  opacity: 1;
  transform: none;
}

body.trove-site.is-reduced-motion .sp-btn--primary:hover,
body.trove-site.is-reduced-motion .sp-persona:hover,
body.trove-site.is-reduced-motion .sp-stat:hover,
body.trove-site.is-reduced-motion .sp-card:hover,
body.trove-site.is-reduced-motion .sp-plan:hover {
  transform: none;
}
