/* Platform — CRM page */

.platform-crm-page .cr-hero__atmosphere {
  background:
    radial-gradient(ellipse 70% 50% at 12% 18%, rgba(14, 165, 233, 0.14) 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 12%, rgba(34, 211, 238, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 70% 70%, rgba(14, 165, 233, 0.07) 0%, transparent 60%),
    var(--ps-hero-wash);
}

.cr-hero__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.55) 48%, transparent 56%);
  opacity: 0.35;
  mix-blend-mode: soft-light;
}

.platform-crm-page .cr-hero .ps-hero__grid {
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 75% 65% at 70% 35%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 70% 35%, #000 15%, transparent 72%);
}

.platform-crm-page .cr-hero {
  text-align: left;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}

.platform-crm-page .cr-hero::after {
  display: none;
}

.cr-hero__inner {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 960px) {
  .cr-hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(2.75rem, 5vw, 4.5rem);
  }
}

.cr-hero__copy {
  position: relative;
  max-width: 34rem;
  margin: 0;
}

@media (min-width: 960px) {
  .cr-hero__copy::before {
    content: '';
    position: absolute;
    left: -1.25rem;
    top: 0.35rem;
    bottom: 0.35rem;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.55), rgba(34, 211, 238, 0.15), transparent);
  }
}

.platform-crm-page .cr-hero__eyebrow {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(14, 165, 233, 0.22);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(14, 165, 233, 0.06);
}

.platform-crm-page .cr-hero__title {
  margin-left: 0;
  margin-right: 0;
  max-width: 12ch;
  font-size: clamp(2.35rem, 4.6vw, 3.55rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.cr-hero__title-accent {
  background: linear-gradient(105deg, #0f172a 0%, #0ea5e9 50%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.platform-crm-page .cr-hero__lead {
  margin-left: 0;
  margin-right: 0;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #64748b;
}

.platform-crm-page .cr-hero__actions {
  justify-content: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.platform-crm-page .cr-hero__actions .btn-primary {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.platform-crm-page .cr-hero__actions .ps-btn-ghost {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.65);
}

.cr-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.cr-hero__trust li {
  display: inline-flex;
  align-items: center;
}

.cr-hero__trust li:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 0.65rem;
  border-radius: 50%;
  background: #cbd5e1;
}

/* —— Floating Customer 360 visual —— */

.cr-hero__visual {
  position: relative;
  max-width: 30rem;
  margin: 0;
  width: 100%;
  justify-self: end;
}

@media (max-width: 959px) {
  .cr-hero__visual {
    max-width: 24rem;
    margin-inline: auto;
    justify-self: center;
  }

  .cr-hero__copy::before {
    display: none;
  }
}

.cr-float {
  width: 100%;
}

.cr-float__stage {
  position: relative;
  min-height: clamp(26rem, 48vw, 32rem);
  padding: 1.25rem 0.5rem 1.5rem;
  overflow: visible;
  box-sizing: border-box;
}

.cr-float__glow {
  position: absolute;
  inset: 10% 0% 8% 8%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 70% 65% at 55% 40%, rgba(14, 165, 233, 0.2) 0%, rgba(34, 211, 238, 0.08) 42%, transparent 72%),
    radial-gradient(ellipse 45% 50% at 75% 65%, rgba(14, 165, 233, 0.1) 0%, transparent 68%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
}

.cr-float__ring {
  position: absolute;
  top: 10%;
  right: 2%;
  width: min(90%, 22rem);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 233, 0.12);
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.5) 0%, transparent 68%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 0 60px rgba(14, 165, 233, 0.06);
  pointer-events: none;
  animation: cr-ring-breathe 6s ease-in-out infinite;
}

.cr-float-ltv {
  position: absolute;
  top: 0.85rem;
  right: 0.15rem;
  z-index: 4;
  width: 9.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 40px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}

.cr-hero.is-ready .cr-float-ltv {
  opacity: 1;
  transform: none;
}

.cr-float-ltv.is-pulse {
  animation: cr-chip-pulse 0.55s ease;
}

.cr-float-ltv__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.cr-float-ltv__trend {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 8px;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
}

.cr-float-ltv.is-risk .cr-float-ltv__trend {
  color: #b45309;
  background: rgba(245, 158, 11, 0.14);
}

.cr-float-ltv.is-risk .cr-float-ltv__trend svg {
  transform: rotate(180deg);
}

.cr-float-ltv.is-risk em {
  color: #b45309;
}

.cr-float-ltv__label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #94a3b8;
}

.cr-float-ltv strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #22d3ee, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cr-float-ltv em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #059669;
}

.cr-float-card {
  position: relative;
  z-index: 2;
  width: min(100%, 20.5rem);
  margin: 2.75rem auto 0 0.35rem;
  padding: 1.05rem 1.05rem 1rem;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 45% at 100% 0%, rgba(14, 165, 233, 0.07), transparent 55%),
    rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 22px 52px rgba(15, 23, 42, 0.1),
    0 44px 88px rgba(14, 165, 233, 0.08);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.cr-hero.is-ready .cr-float-card {
  opacity: 1;
  transform: none;
}

.cr-float-card__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}

.cr-float-card__avatar {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.16);
  flex-shrink: 0;
}

.cr-float-card__who {
  min-width: 0;
  flex: 1;
}

.cr-float-card__label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
}

.cr-float-card__head strong {
  display: block;
  margin-top: 0.1rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.cr-float-card__contact {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.625rem;
  color: #64748b;
}

.cr-float-card__live {
  margin-left: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.14);
  white-space: nowrap;
}

.cr-float-card__live i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #22d3ee;
  animation: ps-live-pulse 1.8s ease-out infinite;
}

.cr-float-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.85rem;
}

.cr-float-card__chips > i {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-style: normal;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  font-size: 0.5625rem;
  font-weight: 600;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.14);
}

.cr-float-card__chip-ch {
  background: #fff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  color: #475569 !important;
}

.cr-float-card__chip-ch img {
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  object-fit: contain;
}

.cr-float-card__chip-ch em {
  font-style: normal;
  font-size: 0.5625rem;
  font-weight: 600;
  color: #475569;
}

.cr-float-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.cr-float-card__stats > div {
  padding: 0.55rem 0.4rem;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.04);
  text-align: center;
}

.cr-float-card__stats span {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.cr-float-card__stats strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
}

.cr-float-life {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  margin-bottom: 0.85rem;
}

.cr-float-life span {
  position: relative;
  padding: 0.45rem 0.2rem;
  border-radius: 10px;
  text-align: center;
  font-size: 0.5625rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(248, 250, 252, 0.9);
  transition: color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.cr-float-life span.is-done,
.cr-float-life span.is-active {
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.08);
}

.cr-float-life span.is-active {
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.22);
  background: linear-gradient(160deg, rgba(14, 165, 233, 0.14), rgba(34, 211, 238, 0.08));
}

.cr-float-order {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(14, 165, 233, 0.09), rgba(248, 250, 252, 0.95));
  border: 1px solid rgba(14, 165, 233, 0.14);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.cr-float-order.is-flash {
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.cr-float-order img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

.cr-float-order__body {
  min-width: 0;
  flex: 1;
}

.cr-float-order__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.cr-float-order strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: -0.02em;
}

.cr-float-order__status {
  font-style: normal;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.12);
  white-space: nowrap;
}

.cr-float-order__status.is-warn {
  color: #b45309;
  background: rgba(245, 158, 11, 0.14);
}

.cr-float-order__status.is-ok {
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
}

.cr-float-order span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.625rem;
  color: #64748b;
}

.cr-float-act {
  position: absolute;
  left: 0;
  bottom: 1.5rem;
  z-index: 3;
  width: min(14.5rem, 70%);
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 36px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease 0.25s, transform 0.6s ease 0.25s;
}

.cr-hero.is-ready .cr-float-act {
  opacity: 1;
  transform: none;
}

.cr-float-act.is-swap {
  animation: cr-chip-pulse 0.5s ease;
}

.cr-float-act__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.cr-float-act__label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #94a3b8;
}

.cr-float-act__top img {
  display: block;
  width: 0.875rem;
  height: 0.875rem;
  object-fit: contain;
}

.cr-float-act p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ps-ink, #0f172a);
}

.cr-float-seg {
  position: absolute;
  right: 0.25rem;
  bottom: 4.25rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: min(12.5rem, 58%);
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(14, 165, 233, 0.16);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 14px 32px rgba(14, 165, 233, 0.12);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s;
}

.cr-hero.is-ready .cr-float-seg {
  opacity: 1;
  transform: none;
}

.cr-float-seg.is-pulse {
  animation: cr-chip-pulse 0.5s ease;
}

.cr-float-seg__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
  flex-shrink: 0;
}

.cr-float-seg strong {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: -0.02em;
}

.cr-float-seg em {
  display: block;
  margin-top: 0.1rem;
  font-style: normal;
  font-size: 0.5625rem;
  color: #64748b;
}

@keyframes cr-ring-breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.03); opacity: 1; }
}

@keyframes cr-chip-pulse {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.04); }
}

@media (max-width: 520px) {
  .cr-float-ltv {
    width: 8.5rem;
    right: 0;
    top: 0.35rem;
  }

  .cr-float-card {
    margin-left: auto;
    margin-right: auto;
  }

  .cr-float-act {
    left: 0.25rem;
    bottom: 0.75rem;
  }

  .cr-float-seg {
    right: 0.25rem;
    bottom: 5.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cr-float__ring,
  .cr-float-ltv.is-pulse,
  .cr-float-act.is-swap,
  .cr-float-seg.is-pulse,
  .cr-float-card__live i {
    animation: none;
  }

  .cr-hero.is-ready .cr-float-card,
  .cr-hero.is-ready .cr-float-ltv,
  .cr-hero.is-ready .cr-float-act,
  .cr-hero.is-ready .cr-float-seg {
    opacity: 1;
    transform: none;
  }
}

/* Shared panels */

.cr-panel {
  position: relative;
  max-width: 34rem;
  margin-inline: auto;
}

.cr-panel__glow {
  position: absolute;
  inset: 8% 4% -6%;
  z-index: 0;
  border-radius: 40%;
  background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.18), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.cr-panel__glow--alt {
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.16), transparent 70%);
}

.cr-panel__card {
  position: relative;
  z-index: 1;
  padding: 1rem 1.05rem 1.05rem;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 80% 45% at 100% 0%, rgba(14, 165, 233, 0.05), transparent 55%),
    #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 20px 48px rgba(15, 23, 42, 0.08),
    0 40px 80px rgba(14, 165, 233, 0.07);
}

.cr-panel.is-inview .cr-panel__card {
  animation: ps-mock-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cr-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

.cr-panel__label {
  display: block;
  margin-bottom: 0.15rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.cr-panel__head strong {
  display: block;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  color: var(--ps-ink, #0f172a);
}

.cr-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.14);
  white-space: nowrap;
}

.cr-panel__badge i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #22d3ee;
  animation: ps-live-pulse 1.8s ease-out infinite;
}

/* Profile — Unified profile scene */

.cr-360 {
  position: relative;
  max-width: 34rem;
  margin-inline: auto;
  min-height: 30rem;
  padding: 0.35rem 0.25rem 0.85rem;
}

.cr-360__glow {
  position: absolute;
  inset: 14% 2% 2%;
  z-index: 0;
  border-radius: 40%;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(14, 165, 233, 0.26), transparent 65%),
    radial-gradient(ellipse at 85% 75%, rgba(34, 211, 238, 0.14), transparent 55%);
  filter: blur(30px);
  pointer-events: none;
}

.cr-360__ring {
  position: absolute;
  top: 10%;
  left: 50%;
  z-index: 0;
  width: min(90%, 21rem);
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 233, 0.1);
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.5) 0%, transparent 72%);
  pointer-events: none;
  animation: cr-ring-breathe 6s ease-in-out infinite;
}

.cr-360__sources {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.95rem;
}

.cr-360__src {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.15rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(10px);
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
  cursor: default;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.cr-360__src-icon {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  flex-shrink: 0;
}

.cr-360__src.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  box-shadow:
    0 0 0 3px rgba(14, 165, 233, 0.12),
    0 10px 24px rgba(14, 165, 233, 0.28);
}

.cr-360__src.is-active .cr-360__src-icon {
  color: #0ea5e9;
  background: rgba(255, 255, 255, 0.92);
}

.cr-360__card {
  position: relative;
  z-index: 1;
  max-width: 23.5rem;
  margin-inline: auto;
  padding: 1.15rem 1.1rem 1.05rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
    #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 40px rgba(15, 23, 42, 0.08),
    0 40px 80px rgba(14, 165, 233, 0.1);
}

.cr-360.is-inview .cr-360__card {
  animation: ps-mock-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cr-360__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

.cr-360__avatar {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.9),
    0 0 0 5px rgba(14, 165, 233, 0.18),
    0 10px 22px rgba(14, 165, 233, 0.28);
  flex-shrink: 0;
}

.cr-360__who {
  min-width: 0;
  flex: 1;
}

.cr-360__label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.cr-360__head strong {
  display: block;
  margin-top: 0.12rem;
  font-size: 1.0625rem;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.cr-360__contact {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.625rem;
  color: #64748b;
}

.cr-360__badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  margin-top: 0.15rem;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.16);
  white-space: nowrap;
}

.cr-360__badge i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #22d3ee;
  animation: ps-live-pulse 1.8s ease-out infinite;
}

.cr-360__ltv {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.12), rgba(34, 211, 238, 0.05)),
    #f0fdfa;
  border: 1px solid rgba(14, 165, 233, 0.16);
}

.cr-360__ltv span {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0ea5e9;
}

.cr-360__ltv strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.45rem;
  letter-spacing: -0.045em;
  line-height: 1;
  background: linear-gradient(120deg, #22d3ee, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cr-360__ltv-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  padding-bottom: 0.1rem;
}

.cr-360__ltv-delta {
  display: inline-flex !important;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.625rem !important;
  font-weight: 700;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #047857 !important;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.18);
}

.cr-360__ltv em {
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
  text-align: right;
}

.cr-360__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.cr-360__stats > div {
  padding: 0.6rem 0.4rem 0.55rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  text-align: center;
}

.cr-360__stats span {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.cr-360__stats strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1rem;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.cr-360__order {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  padding: 0.7rem 0.75rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.cr-360__order.is-flash {
  background: rgba(14, 165, 233, 0.05);
  border-color: rgba(14, 165, 233, 0.24);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.cr-360__order img {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

.cr-360__order-body {
  min-width: 0;
  flex: 1;
}

.cr-360__order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cr-360__order strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: -0.02em;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cr-360__order-status {
  flex-shrink: 0;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.12);
}

.cr-360__order em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.625rem;
  line-height: 1.35;
  color: #64748b;
}

.cr-360__signal {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.18);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cr-360__signal.is-visible {
  opacity: 1;
  transform: none;
}

.cr-360__signal-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
  flex-shrink: 0;
  animation: ps-live-pulse 1.8s ease-out infinite;
}

.cr-360__signal p {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #047857;
}

.cr-360__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.cr-360__tag,
.cr-360__tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.cr-360__tag--wa {
  color: #128c7e;
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.22);
}

.cr-360__tag--wa img {
  display: block;
}

.cr-360__tag--accent {
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.14);
}

.cr-360__tags span.is-dim {
  opacity: 0.4;
}

.cr-360__bullets {
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cr-360__bullets li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #475569;
}

.cr-360__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

@media (max-width: 520px) {
  .cr-360 {
    min-height: 0;
  }

  .cr-360__sources {
    flex-wrap: wrap;
  }

  .cr-360__contact {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cr-360__ring,
  .cr-360__badge i,
  .cr-360__signal-dot,
  .cr-360.is-inview .cr-360__card {
    animation: none;
  }

  .cr-360__signal {
    opacity: 1;
    transform: none;
  }
}

/* —— Purchase history scene —— */

.cr-orders {
  position: relative;
  max-width: 34rem;
  margin-inline: auto;
}

.cr-orders__glow {
  position: absolute;
  inset: 10% 6% -4%;
  z-index: 0;
  border-radius: 40%;
  background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.18), transparent 70%);
  filter: blur(22px);
  pointer-events: none;
}

.cr-orders__card {
  position: relative;
  z-index: 1;
  padding: 1rem 1.05rem 1.05rem;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 45% at 100% 0%, rgba(14, 165, 233, 0.06), transparent 55%),
    #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 20px 48px rgba(15, 23, 42, 0.08),
    0 40px 80px rgba(14, 165, 233, 0.07);
}

.cr-orders.is-inview .cr-orders__card {
  animation: ps-mock-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cr-orders__head,
.cr-segs__head,
.cr-remind__head,
.cr-email__head,
.cr-metrics__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.cr-orders__label,
.cr-segs__label,
.cr-remind__label,
.cr-email__label,
.cr-metrics__label {
  display: block;
  margin-bottom: 0.15rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.cr-orders__head strong,
.cr-segs__head strong,
.cr-remind__head strong,
.cr-email__head strong,
.cr-metrics__head strong {
  display: block;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
}

.cr-orders__badge,
.cr-segs__badge,
.cr-remind__badge,
.cr-email__badge,
.cr-metrics__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.14);
  white-space: nowrap;
}

.cr-orders__badge i,
.cr-segs__badge i,
.cr-remind__badge i,
.cr-email__badge i,
.cr-metrics__badge i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #22d3ee;
  animation: ps-live-pulse 1.8s ease-out infinite;
}

.cr-orders__featured {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.8rem;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(14, 165, 233, 0.1), rgba(248, 250, 252, 0.95));
  border: 1px solid rgba(14, 165, 233, 0.16);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.cr-orders__featured.is-flash {
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.cr-orders__featured img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

.cr-orders__featured strong {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: -0.02em;
}

.cr-orders__featured em {
  display: block;
  margin: 0.15rem 0 0.4rem;
  font-style: normal;
  font-size: 0.625rem;
  color: #64748b;
}

.cr-orders__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.cr-orders__pills span {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 600;
  color: #0ea5e9;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(14, 165, 233, 0.14);
}

.cr-orders__featured > b {
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.cr-orders__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cr-orders__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem 0.7rem;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid transparent;
  opacity: 0.55;
  transition: opacity 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.cr-orders__row.is-active {
  opacity: 1;
  background: #fff;
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow:
    0 0 0 3px rgba(14, 165, 233, 0.07),
    0 12px 28px rgba(14, 165, 233, 0.1);
  transform: translateY(-1px);
}

.cr-orders__status {
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cr-orders__status--ship { color: #0ea5e9; background: rgba(14, 165, 233, 0.12); }
.cr-orders__status--done { color: #047857; background: rgba(16, 185, 129, 0.12); }
.cr-orders__status--ret { color: #b45309; background: rgba(245, 158, 11, 0.14); }

.cr-orders__row strong { display: block; font-size: 0.75rem; }
.cr-orders__row em { display: block; font-style: normal; font-size: 0.5625rem; color: #64748b; }
.cr-orders__row > b { font-size: 0.75rem; }

/* —— Segments scene —— */

.cr-segs {
  position: relative;
  max-width: 36rem;
  margin-inline: auto;
}

.cr-segs__glow {
  position: absolute;
  inset: 6% 0 -8%;
  z-index: 0;
  border-radius: 40%;
  background:
    radial-gradient(ellipse at 35% 25%, rgba(14, 165, 233, 0.22), transparent 58%),
    radial-gradient(ellipse at 85% 80%, rgba(34, 211, 238, 0.14), transparent 55%);
  filter: blur(28px);
  pointer-events: none;
}

.cr-segs__card {
  position: relative;
  z-index: 1;
  padding: 1.05rem 1.1rem 1.05rem;
  border-radius: 24px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
    #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 40px rgba(15, 23, 42, 0.08),
    0 40px 80px rgba(14, 165, 233, 0.1);
}

.cr-segs.is-inview .cr-segs__card {
  animation: ps-mock-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cr-segs__templates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.cr-segs__tpl {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  color: #64748b;
  font: inherit;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  cursor: default;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cr-segs__tpl.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.25);
}

.cr-segs__builder {
  margin-bottom: 0.7rem;
  padding: 0.75rem 0.8rem 0.8rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cr-segs__builder-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.cr-segs__match {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #475569;
}

.cr-segs__match b {
  display: inline-block;
  margin-inline: 0.15rem;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  font-size: 0.5625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
}

.cr-segs__builder-top em {
  font-style: normal;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #059669;
}

.cr-segs__rules {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.cr-segs__rule {
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.55rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.05);
  opacity: 0.4;
  transform: translateX(-4px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.cr-segs__rule.is-on {
  opacity: 1;
  transform: none;
  background: linear-gradient(160deg, rgba(14, 165, 233, 0.08), rgba(248, 250, 252, 0.98));
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.06);
}

.cr-segs__rule-and {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  color: #94a3b8;
}

.cr-segs__rule.is-on .cr-segs__rule-and {
  color: #0ea5e9;
}

.cr-segs__rule:first-child .cr-segs__rule-and {
  visibility: hidden;
}

.cr-segs__rule-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
}

.cr-segs__field,
.cr-segs__op,
.cr-segs__val {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.2;
}

.cr-segs__field {
  color: #0f172a;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.cr-segs__op {
  color: #64748b;
  background: rgba(148, 163, 184, 0.12);
}

.cr-segs__val {
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.16);
}

.cr-segs__rule-ok {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 1.5px solid rgba(148, 163, 184, 0.4);
  background: #fff;
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.cr-segs__rule.is-on .cr-segs__rule-ok {
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  border-color: transparent;
}

.cr-segs__rule.is-on .cr-segs__rule-ok::after {
  content: '';
  position: absolute;
  left: 0.22rem;
  top: 0.08rem;
  width: 0.22rem;
  height: 0.4rem;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.cr-segs__add {
  appearance: none;
  width: 100%;
  border: 1px dashed rgba(14, 165, 233, 0.28);
  background: rgba(14, 165, 233, 0.04);
  color: #0ea5e9;
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  cursor: default;
}

.cr-segs__preview {
  margin-bottom: 0.7rem;
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.12), rgba(34, 211, 238, 0.04)),
    #f0fdfa;
  border: 1px solid rgba(14, 165, 233, 0.16);
}

.cr-segs__preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.cr-segs__count span {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0ea5e9;
}

.cr-segs__count strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.85rem;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(120deg, #22d3ee, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cr-segs__ring {
  position: relative;
  width: 3.75rem;
  height: 3.75rem;
  flex-shrink: 0;
}

.cr-segs__ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.cr-segs__ring circle {
  fill: none;
  stroke: rgba(14, 165, 233, 0.14);
  stroke-width: 7;
}

.cr-segs__ring-fill {
  stroke: #0ea5e9;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--p, 72));
  transition: stroke-dashoffset 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cr-segs__ring em {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0ea5e9;
}

.cr-segs__people {
  display: flex;
  align-items: center;
  margin-bottom: 0.55rem;
}

.cr-segs__avatar {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  margin-left: -0.4rem;
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  border: 2px solid #ecfeff;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.2);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cr-segs__avatar:first-child {
  margin-left: 0;
}

.cr-segs__people.is-populated .cr-segs__avatar {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 0.06s);
}

.cr-segs__avatar:nth-child(2) { background: linear-gradient(145deg, #0369a1, #38bdf8); }
.cr-segs__avatar:nth-child(3) { background: linear-gradient(145deg, #0ea5e9, #22d3ee); }
.cr-segs__avatar:nth-child(4) { background: linear-gradient(145deg, #6366f1, #818cf8); }

.cr-segs__more {
  margin-left: 0.45rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.5625rem;
  font-weight: 700;
  color: #0ea5e9;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(14, 165, 233, 0.16);
  opacity: 0;
  transition: opacity 0.35s ease 0.15s;
}

.cr-segs__people.is-populated .cr-segs__more {
  opacity: 1;
}

.cr-segs__hint {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #0ea5e9;
}

.cr-segs__toast,
.cr-remind__toast,
.cr-email__toast {
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.22);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cr-segs__toast.is-visible,
.cr-remind__toast.is-visible,
.cr-email__toast.is-visible {
  opacity: 1;
  transform: none;
}

/* —— Follow-up reminders —— */

.cr-remind {
  position: relative;
  max-width: 36rem;
  margin-inline: auto;
  padding: 0.75rem 0.5rem 0.5rem 2.5rem;
}

.cr-remind__glow {
  position: absolute;
  inset: 8% 0 -6%;
  z-index: 0;
  border-radius: 40%;
  background:
    radial-gradient(ellipse at 55% 30%, rgba(14, 165, 233, 0.22), transparent 58%),
    radial-gradient(ellipse at 20% 80%, rgba(245, 158, 11, 0.12), transparent 50%);
  filter: blur(28px);
  pointer-events: none;
}

.cr-remind__cal {
  position: absolute;
  top: 1.4rem;
  left: 0;
  z-index: 2;
  width: 4.1rem;
  padding: 0.55rem 0.4rem 0.6rem;
  border-radius: 16px;
  text-align: center;
  color: #fff;
  background: linear-gradient(160deg, #22d3ee 0%, #38bdf8 50%, #818cf8 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 12px 28px rgba(14, 165, 233, 0.35),
    0 2px 0 rgba(255, 255, 255, 0.15) inset;
  transform: rotate(-6deg);
  animation: cr-remind-float 4.5s ease-in-out infinite;
}

.cr-remind.is-inview .cr-remind__cal {
  animation: cr-remind-float 4.5s ease-in-out infinite, ps-mock-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cr-remind__cal-month {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.cr-remind__cal strong {
  display: block;
  margin: 0.1rem 0;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.cr-remind__cal em {
  display: block;
  font-style: normal;
  font-size: 0.5625rem;
  font-weight: 600;
  opacity: 0.85;
}

@keyframes cr-remind-float {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-5px); }
}

.cr-remind__cal.is-pulse {
  animation: cr-remind-float 4.5s ease-in-out infinite, cr-remind-pop 0.45s ease;
}

@keyframes cr-remind-pop {
  0% { transform: rotate(-6deg) scale(1); }
  50% { transform: rotate(-3deg) scale(1.08); }
  100% { transform: rotate(-6deg) scale(1); }
}

.cr-remind__card {
  position: relative;
  z-index: 1;
  padding: 1.05rem 1.1rem 1.05rem;
  border-radius: 24px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
    #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 40px rgba(15, 23, 42, 0.08),
    0 40px 80px rgba(14, 165, 233, 0.1);
}

.cr-remind.is-inview .cr-remind__card {
  animation: ps-mock-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cr-remind__days {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  padding: 0.18rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.cr-remind__days button {
  flex: 1;
  appearance: none;
  border: 0;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.4rem 0.35rem;
  border-radius: 999px;
  cursor: default;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.cr-remind__days button.is-active {
  color: #0ea5e9;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.cr-remind__compose {
  margin-bottom: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.12), rgba(34, 211, 238, 0.04)),
    #f0fdfa;
  border: 1px solid rgba(14, 165, 233, 0.16);
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.cr-remind__compose.is-composing {
  border-color: rgba(14, 165, 233, 0.32);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  transform: translateY(-1px);
}

.cr-remind__compose-who {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.cr-remind__avatar {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  box-shadow: 0 6px 14px rgba(14, 165, 233, 0.28);
  flex-shrink: 0;
}

.cr-remind__avatar--sm {
  width: 1.35rem;
  height: 1.35rem;
  font-size: 0.4375rem;
  box-shadow: none;
}

.cr-remind__avatar--b { background: linear-gradient(145deg, #d97706, #fbbf24); }
.cr-remind__avatar--c { background: linear-gradient(145deg, #0ea5e9, #818cf8); }

.cr-remind__compose-who strong {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
}

.cr-remind__compose-who em {
  display: block;
  margin-top: 0.12rem;
  font-style: normal;
  font-size: 0.625rem;
  color: #0ea5e9;
  font-weight: 600;
}

.cr-remind__compose-body {
  margin: 0 0 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
}

.cr-remind__chips,
.cr-remind__times {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.cr-remind__chips {
  margin-bottom: 0.45rem;
}

.cr-remind__chip,
.cr-remind__times span {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  font-size: 0.5625rem;
  font-weight: 700;
  color: #64748b;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cr-remind__chip.is-active,
.cr-remind__times span.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  box-shadow: 0 6px 14px rgba(14, 165, 233, 0.22);
}

.cr-remind__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0.75rem;
  position: relative;
}

.cr-remind__item {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.65rem;
  align-items: stretch;
  padding: 0.55rem 0.15rem 0.55rem 0;
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.cr-remind__item.is-active {
  opacity: 1;
}

.cr-remind__rail {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 0.35rem;
}

.cr-remind__rail::before {
  content: '';
  position: absolute;
  top: 0.85rem;
  bottom: -0.55rem;
  left: 50%;
  width: 2px;
  translate: -50% 0;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.35), rgba(148, 163, 184, 0.2));
}

.cr-remind__item:last-child .cr-remind__rail::before {
  display: none;
}

.cr-remind__rail i {
  position: relative;
  z-index: 1;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #cbd5e1;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.25);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.cr-remind__item.is-active .cr-remind__rail i,
.cr-remind__item.is-due .cr-remind__rail i {
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
  transform: scale(1.1);
}

.cr-remind__item.is-soon .cr-remind__rail i {
  background: linear-gradient(145deg, #d97706, #fbbf24);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.cr-remind__item.is-queued .cr-remind__rail i {
  background: #94a3b8;
}

.cr-remind__item-main {
  padding: 0.6rem 0.7rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.cr-remind__item.is-active .cr-remind__item-main {
  background: #fff;
  border-color: rgba(14, 165, 233, 0.22);
  box-shadow:
    0 0 0 3px rgba(14, 165, 233, 0.08),
    0 10px 24px rgba(14, 165, 233, 0.1);
  transform: translateX(2px);
}

.cr-remind__item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.cr-remind__item-top strong {
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.cr-remind__status {
  flex-shrink: 0;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cr-remind__status--due {
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.12);
}

.cr-remind__status--soon {
  color: #b45309;
  background: rgba(245, 158, 11, 0.16);
}

.cr-remind__status--queued {
  color: #64748b;
  background: rgba(148, 163, 184, 0.16);
}

.cr-remind__item-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.cr-remind__item-meta em {
  flex: 1;
  min-width: 0;
  font-style: normal;
  font-size: 0.625rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cr-remind__countdown {
  flex-shrink: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0ea5e9;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  background: rgba(14, 165, 233, 0.08);
}

@media (max-width: 520px) {
  .cr-remind {
    padding-left: 0.25rem;
  }

  .cr-remind__cal {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cr-remind__cal {
    animation: none;
    transform: rotate(-6deg);
  }
}

/* —— Email builder —— */

.cr-email {
  position: relative;
  max-width: 38rem;
  margin-inline: auto;
  padding-left: 4.25rem;
}

.cr-email__glow {
  position: absolute;
  inset: 6% 0 -8%;
  z-index: 0;
  border-radius: 40%;
  background:
    radial-gradient(ellipse at 60% 25%, rgba(14, 165, 233, 0.22), transparent 55%),
    radial-gradient(ellipse at 20% 85%, rgba(34, 211, 238, 0.14), transparent 50%);
  filter: blur(28px);
  pointer-events: none;
}

.cr-email__toolbox {
  position: absolute;
  top: 2.4rem;
  left: 0;
  z-index: 2;
  width: 3.6rem;
  padding: 0.55rem 0.4rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.1),
    0 40px 60px rgba(14, 165, 233, 0.08);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  animation: cr-email-toolbox 5s ease-in-out infinite;
}

.cr-email.is-inview .cr-email__toolbox {
  animation: cr-email-toolbox 5s ease-in-out infinite, ps-mock-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cr-email-toolbox {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.cr-email__toolbox-label {
  display: block;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.4375rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.15rem;
}

.cr-email__tool {
  appearance: none;
  border: 1px solid transparent;
  background: #f8fafc;
  color: #64748b;
  font: inherit;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.25rem 0.4rem;
  border-radius: 12px;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cr-email__tool-ico {
  width: 1.35rem;
  height: 1rem;
  border-radius: 4px;
  background: linear-gradient(135deg, #0ea5e9, #22d3ee);
  opacity: 0.85;
}

.cr-email__tool-ico--text {
  height: 0.85rem;
  background:
    linear-gradient(#cbd5e1, #cbd5e1) 20% 30% / 60% 2px no-repeat,
    linear-gradient(#cbd5e1, #cbd5e1) 20% 55% / 45% 2px no-repeat,
    linear-gradient(#cbd5e1, #cbd5e1) 20% 80% / 50% 2px no-repeat,
    #e2e8f0;
}

.cr-email__tool-ico--cta {
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
}

.cr-email__tool.is-active {
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.22);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.08);
}

.cr-email__stage {
  position: relative;
  z-index: 1;
}

.cr-email__card {
  position: relative;
  padding: 1.05rem 1.1rem 1.05rem;
  border-radius: 24px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
    #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 40px rgba(15, 23, 42, 0.08),
    0 40px 80px rgba(14, 165, 233, 0.1);
}

.cr-email.is-inview .cr-email__card {
  animation: ps-mock-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cr-email__meta {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.cr-email__meta > div {
  display: grid;
  grid-template-columns: 3.4rem 1fr auto;
  gap: 0.45rem;
  align-items: center;
}

.cr-email__meta > div:last-child {
  grid-template-columns: 3.4rem 1fr;
}

.cr-email__meta span {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.cr-email__meta strong {
  font-size: 0.75rem;
  letter-spacing: -0.01em;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cr-email__audience {
  font-style: normal;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5625rem;
  font-weight: 700;
  color: #0ea5e9;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.14);
}

.cr-email__preview {
  margin-bottom: 0.75rem;
  padding: 0.55rem;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(15, 23, 42, 0.04), rgba(14, 165, 233, 0.06)),
    #e2e8f0;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.cr-email__mail.is-flash {
  animation: cr-email-flash 0.45s ease;
}

@keyframes cr-email-flash {
  0% { transform: scale(0.985); }
  60% { transform: scale(1.01); }
  100% { transform: none; }
}

.cr-email__mail-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.8rem;
  background: linear-gradient(90deg, #0f172a, #164e63);
}

.cr-email__mail-logo {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 7px;
  font-size: 0.5rem;
  font-weight: 800;
  color: #0ea5e9;
  background: #fff;
}

.cr-email__mail-brand em {
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.cr-email__mail-hero {
  position: relative;
  overflow: hidden;
  opacity: 0.72;
  transition: opacity 0.35s ease, box-shadow 0.35s ease;
}

.cr-email__mail-hero.is-active,
.cr-email__mail-body.is-active,
.cr-email__mail-cta-wrap.is-active {
  opacity: 1;
}

.cr-email__mail-hero.is-active {
  box-shadow: inset 0 0 0 2px rgba(14, 165, 233, 0.45);
}

.cr-email__mail-hero img {
  display: block;
  width: 100%;
  height: 7.5rem;
  object-fit: cover;
}

.cr-email__mail-hero-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 1.4rem 0.85rem 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.82));
  color: #fff;
}

.cr-email__offer {
  display: inline-flex;
  margin-bottom: 0.3rem;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f172a;
  background: linear-gradient(145deg, #67e8f9, #22d3ee);
}

.cr-email__mail-hero-copy strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.cr-email__mail-body {
  padding: 0.85rem 0.9rem 0.35rem;
  opacity: 0.72;
  transition: opacity 0.35s ease, background 0.35s ease;
}

.cr-email__mail-body.is-active {
  background: rgba(14, 165, 233, 0.06);
}

.cr-email__mail-body p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #475569;
}

.cr-email__mail-cta-wrap {
  padding: 0.55rem 0.9rem 0.95rem;
  opacity: 0.72;
  transition: opacity 0.35s ease, background 0.35s ease;
}

.cr-email__mail-cta-wrap.is-active {
  background: rgba(14, 165, 233, 0.06);
}

.cr-email__cta {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  min-width: 8.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.28);
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cr-email__mail-cta-wrap.is-active .cr-email__cta {
  transform: scale(1.04);
  box-shadow: 0 14px 28px rgba(14, 165, 233, 0.35);
}

.cr-email__mail-foot {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.5625rem;
  font-weight: 600;
  color: #94a3b8;
}

@media (max-width: 520px) {
  .cr-email {
    padding-left: 0;
  }

  .cr-email__toolbox {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    flex-direction: row;
    margin-bottom: 0.75rem;
    animation: none;
  }

  .cr-email__tool {
    flex: 1;
    flex-direction: row;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem 0.4rem;
  }

  .cr-email__tool-ico {
    width: 1rem;
    height: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cr-email__toolbox {
    animation: none;
  }
}

/* —— Analytics metrics —— */

.cr-metrics {
  position: relative;
  max-width: 36rem;
  margin-inline: auto;
}

.cr-metrics__glow {
  position: absolute;
  inset: 6% 0 -8%;
  z-index: 0;
  border-radius: 40%;
  background:
    radial-gradient(ellipse at 40% 30%, rgba(14, 165, 233, 0.22), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(34, 211, 238, 0.14), transparent 55%);
  filter: blur(28px);
  pointer-events: none;
}

.cr-metrics__card {
  position: relative;
  z-index: 1;
  padding: 1.05rem 1.1rem 1.05rem;
  border-radius: 24px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
    #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 40px rgba(15, 23, 42, 0.08),
    0 40px 80px rgba(14, 165, 233, 0.1);
}

.cr-metrics.is-inview .cr-metrics__card {
  animation: ps-mock-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cr-metrics__head-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cr-metrics__periods {
  display: inline-flex;
  padding: 0.15rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.cr-metrics__periods span {
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #64748b;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.cr-metrics__periods span.is-active {
  color: #0ea5e9;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.cr-metrics__hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0.75rem;
  align-items: stretch;
  margin-bottom: 0.7rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.12), rgba(34, 211, 238, 0.04)),
    #f0fdfa;
  border: 1px solid rgba(14, 165, 233, 0.16);
  overflow: hidden;
}

.cr-metrics__hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.cr-metrics__hero-copy > span {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0ea5e9;
}

.cr-metrics__hero-copy strong {
  display: block;
  margin: 0.25rem 0 0.4rem;
  font-size: 1.85rem;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(120deg, #22d3ee, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cr-metrics__hero-copy em {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.625rem;
  font-weight: 700;
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.18);
}

.cr-metrics__hero-copy em.is-down {
  color: #b45309;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.22);
}

.cr-metrics__chart {
  align-self: end;
  height: 4.25rem;
  min-width: 0;
}

.cr-metrics__chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cr-metrics__line {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.cr-metrics.is-inview .cr-metrics__line,
.cr-metrics__line.is-drawn {
  stroke-dashoffset: 0;
}

.cr-metrics__area {
  opacity: 0;
  transition: opacity 0.6s ease 0.2s;
}

.cr-metrics.is-inview .cr-metrics__area,
.cr-metrics__area.is-drawn {
  opacity: 1;
}

.cr-metrics__dot {
  filter: drop-shadow(0 0 4px rgba(14, 165, 233, 0.45));
  transition: cx 0.7s ease, cy 0.7s ease;
}

.cr-metrics__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.cr-metrics__kpis article {
  position: relative;
  padding: 0.65rem 0.6rem 0.55rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.cr-metrics__kpis span {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.cr-metrics__kpis strong {
  display: block;
  margin: 0.2rem 0 0.15rem;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.cr-metrics__kpis em {
  display: block;
  font-style: normal;
  font-size: 0.5625rem;
  font-weight: 700;
  color: #059669;
}

.cr-metrics__kpis em.is-down {
  color: #b45309;
}

.cr-metrics__mini {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  width: 2.6rem;
  height: 0.9rem;
  color: #0ea5e9;
  opacity: 0.7;
}

.cr-metrics__split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.cr-metrics__health {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.75rem;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(14, 165, 233, 0.08), rgba(248, 250, 252, 0.95));
  border: 1px solid rgba(14, 165, 233, 0.14);
}

.cr-metrics__ring {
  position: relative;
  width: 3.6rem;
  height: 3.6rem;
  flex-shrink: 0;
}

.cr-metrics__ring svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.cr-metrics__ring circle {
  fill: none;
  stroke: rgba(14, 165, 233, 0.12);
  stroke-width: 7;
}

.cr-metrics__ring-fill {
  stroke: url(#cr-metrics-stroke);
  stroke: #0ea5e9;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--p, 70));
  transition: stroke-dashoffset 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.cr-metrics__ring-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.cr-metrics__ring-label strong {
  display: block;
  font-size: 0.875rem;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1;
}

.cr-metrics__ring-label span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.cr-metrics__health-copy strong {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.cr-metrics__health-copy em {
  display: block;
  font-style: normal;
  font-size: 0.625rem;
  line-height: 1.35;
  color: #64748b;
}

.cr-metrics__cohorts {
  display: grid;
  gap: 0.4rem;
}

.cr-metrics__cohort {
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.cr-metrics__cohort span {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.cr-metrics__cohort strong {
  display: block;
  margin: 0.15rem 0 0.1rem;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
}

.cr-metrics__cohort em {
  display: block;
  font-style: normal;
  font-size: 0.5625rem;
  font-weight: 600;
}

.cr-metrics__cohort.is-up em { color: #059669; }
.cr-metrics__cohort.is-risk {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.18);
}
.cr-metrics__cohort.is-risk em { color: #b45309; }

.cr-metrics__rows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.cr-metrics__row > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.28rem;
}

.cr-metrics__row strong {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #475569;
}

.cr-metrics__row em {
  font-style: normal;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  font-weight: 600;
  color: #0ea5e9;
}

.cr-metrics__row--warn em {
  color: #b45309;
}

.cr-metrics__track {
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.cr-metrics__track i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #818cf8);
  transform: scaleX(0.15);
  transform-origin: left;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), width 0.7s ease;
}

.cr-metrics__row--warn .cr-metrics__track i {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}

.cr-metrics.is-inview .cr-metrics__track i {
  transform: scaleX(1);
}

.cr-metrics__insight {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.22);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cr-metrics__insight.is-visible {
  opacity: 1;
  transform: none;
}

.cr-metrics__insight-ico {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.cr-metrics__insight p {
  margin: 0;
  line-height: 1.35;
}

@media (max-width: 420px) {
  .cr-metrics__hero {
    grid-template-columns: 1fr;
  }

  .cr-metrics__chart {
    height: 3.5rem;
  }

  .cr-metrics__split {
    grid-template-columns: 1fr;
  }

  .cr-metrics__head-right {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cr-orders.is-inview .cr-orders__card,
  .cr-segs.is-inview .cr-segs__card,
  .cr-remind.is-inview .cr-remind__card,
  .cr-email.is-inview .cr-email__card,
  .cr-metrics.is-inview .cr-metrics__card,
  .cr-orders__badge i,
  .cr-segs__badge i,
  .cr-remind__badge i,
  .cr-email__badge i,
  .cr-metrics__badge i,
  .cr-segs__toast,
  .cr-remind__toast,
  .cr-email__toast,
  .cr-metrics__insight,
  .cr-metrics__track i,
  .cr-metrics__line,
  .cr-metrics__area {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* —— CRM compare table —— */

.platform-crm-page .cr-compare {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(14, 165, 233, 0.06), transparent 70%),
    #fff;
}

.platform-crm-page .cr-compare__table-wrap {
  max-width: 60rem;
  margin: 0 auto;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 18px 44px rgba(15, 23, 42, 0.07),
    0 40px 80px rgba(14, 165, 233, 0.06);
  overflow: hidden;
}

.platform-crm-page .cr-compare__table {
  min-width: 42rem;
}

.platform-crm-page .cr-compare__table thead th {
  padding: 1.15rem 1.25rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

.platform-crm-page .cr-compare__table .ps-compare__th-sg {
  position: relative;
  color: #0ea5e9 !important;
  background:
    linear-gradient(180deg, rgba(14, 165, 233, 0.16) 0%, rgba(14, 165, 233, 0.08) 100%) !important;
  border-left: 1px solid rgba(14, 165, 233, 0.2);
  border-right: 1px solid rgba(14, 165, 233, 0.2);
  border-top: none;
  border-top-right-radius: 0;
  box-shadow: inset 0 3px 0 #0ea5e9;
}

.platform-crm-page .cr-compare__brand {
  align-items: flex-start;
  gap: 0.6rem;
}

.platform-crm-page .cr-compare__brand-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.platform-crm-page .cr-compare__brand-meta em {
  font-style: normal;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
}

.platform-crm-page .ps-compare__th-sg .cr-compare__brand-meta em {
  color: #0ea5e9;
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(14, 165, 233, 0.22);
}

.platform-crm-page .cr-compare__table th,
.platform-crm-page .cr-compare__table td {
  padding: 1.05rem 1.2rem;
  border-bottom-color: #eef2f7;
}

.platform-crm-page .cr-compare__table tbody tr {
  transition: background 0.2s ease;
}

.platform-crm-page .cr-compare__table tbody tr:hover th,
.platform-crm-page .cr-compare__table tbody tr:hover td:not(.ps-compare__sg) {
  background: rgba(248, 250, 252, 0.9);
}

.platform-crm-page .cr-compare__table tbody tr:hover td.ps-compare__sg {
  background: rgba(14, 165, 233, 0.1);
}

.platform-crm-page .cr-compare__table tbody td.ps-compare__sg {
  background: rgba(14, 165, 233, 0.055);
  border-left: 1px solid rgba(14, 165, 233, 0.16);
  border-right: 1px solid rgba(14, 165, 233, 0.16);
}

.platform-crm-page .cr-compare__table tbody tr:last-child td.ps-compare__sg {
  border-bottom: 1px solid rgba(14, 165, 233, 0.16);
  border-bottom-right-radius: 21px;
}

.platform-crm-page .cr-compare__icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  border: 1px solid transparent;
}

.platform-crm-page .cr-compare__icon--orders {
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.12);
}

.platform-crm-page .cr-compare__icon--people {
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.12);
}

.platform-crm-page .cr-compare__icon--segments {
  color: #0284c7;
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.14);
}

.platform-crm-page .cr-compare__icon--support {
  color: #0ea5e9;
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.18);
}

.platform-crm-page .cr-compare__alt {
  display: inline-block;
  max-width: 100%;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.platform-crm-page .cr-compare__table .ps-compare__check {
  width: 1.45rem;
  height: 1.45rem;
  background: linear-gradient(145deg, #22d3ee, #0ea5e9);
  color: #fff;
  box-shadow: 0 6px 14px rgba(14, 165, 233, 0.25);
}

.platform-crm-page .cr-compare__table .ps-compare__win-text strong {
  color: #0ea5e9;
}

.ps-compare__cta-note {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.9375rem;
}

.ps-compare__cta-note a {
  color: var(--accent, #0ea5e9);
  font-weight: 600;
  text-decoration: none;
}

.ps-compare__cta-note a:hover {
  text-decoration: underline;
}
