/* Final layout layer — intentionally loaded after the legacy stylesheet. */

.premium-onboarding .onboarding-flow {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  margin: 82px auto 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.premium-onboarding .flow-line {
  display: none;
}

.premium-onboarding .onboarding-step,
.premium-onboarding .onboarding-step:nth-child(3) {
  position: relative;
  min-width: 0;
  min-height: 455px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;
  column-gap: 58px;
  overflow: hidden;
  border: 1px solid #d7e0e9;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 32px 80px rgba(46, 58, 97, 0.1),
    inset 0 1px 0 #fff;
}

.premium-onboarding .onboarding-step:nth-child(3) {
  grid-template-columns: 0.92fr 1.08fr;
}

.premium-onboarding .step-meta {
  position: absolute;
  z-index: 6;
  inset: 28px 28px auto;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.premium-onboarding .onboarding-visual {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 387px;
  min-height: 0;
  margin: 0;
  align-self: end;
  border-radius: 24px;
}

.premium-onboarding .onboarding-copy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 92px 24px 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.premium-onboarding .onboarding-copy > span {
  color: #5870eb;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1.2px;
}

.premium-onboarding .onboarding-copy h3 {
  margin: 18px 0 0;
  color: #0e192d;
  font-size: clamp(39px, 3.5vw, 52px);
  line-height: 0.98;
  letter-spacing: -2.6px;
}

.premium-onboarding .onboarding-copy p {
  max-width: 450px;
  min-height: 0;
  margin: 22px 0 0;
  color: #5e6d82;
  font-size: 16px;
  line-height: 1.65;
}

.premium-onboarding .onboarding-copy .step-time {
  margin-top: 27px;
}

.premium-onboarding .onboarding-step:nth-child(3) .onboarding-visual {
  grid-column: 2;
}

.premium-onboarding .onboarding-step:nth-child(3) .onboarding-copy {
  grid-column: 1;
  padding: 92px 0 32px 24px;
}

@media (max-width: 760px) {
  .premium-onboarding {
    overflow: hidden;
  }

  .premium-onboarding .onboarding-head {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    padding-inline: 0;
  }

  .premium-onboarding .onboarding-head h2 {
    font-size: clamp(36px, 10.8vw, 43px);
    line-height: 0.98;
    letter-spacing: -2.4px;
  }

  .premium-onboarding .onboarding-flow {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    margin-top: 52px;
    gap: 16px;
  }

  .premium-onboarding .onboarding-step,
  .premium-onboarding .onboarding-step:nth-child(3) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 23px;
  }

  .premium-onboarding .step-meta {
    position: relative;
    inset: auto;
    order: 1;
    margin: 0 0 16px;
  }

  .premium-onboarding .onboarding-visual,
  .premium-onboarding .onboarding-step:nth-child(3) .onboarding-visual {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 270px;
    min-height: 270px;
    margin: 0;
    border-radius: 18px;
  }

  .premium-onboarding .onboarding-copy,
  .premium-onboarding .onboarding-step:nth-child(3) .onboarding-copy {
    order: 3;
    width: 100%;
    min-width: 0;
    padding: 28px 8px 12px;
    align-items: flex-start;
    text-align: left;
  }

  .premium-onboarding .onboarding-copy h3 {
    margin-top: 12px;
    font-size: 33px;
    line-height: 1;
    letter-spacing: -1.8px;
  }

  .premium-onboarding .onboarding-copy p {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.55;
  }
}

/* Final light treatment for the store connection canvas */
.premium-onboarding
  .onboarding-step
  .onboarding-visual.simple-workflow.connect-workflow {
  border-color: #d9e1ec;
  background-color: #f5f7fa;
  background-image:
    radial-gradient(
      circle at 76% 16%,
      rgba(91, 119, 255, 0.09),
      transparent 34%
    ),
    radial-gradient(#d8e0eb 0.8px, transparent 0.8px),
    linear-gradient(145deg, #ffffff, #eef2f6);
  background-size:
    auto,
    7px 7px,
    auto;
  box-shadow:
    0 16px 34px rgba(36, 50, 78, 0.1),
    inset 0 1px 0 #fff;
}

.premium-onboarding .onboarding-step .connect-workflow .workflow-route::after {
  border-color: #647cec;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(100, 124, 236, 0.13);
}

.premium-onboarding .onboarding-step .connect-workflow .workflow-confirm {
  border-color: #d5e8dc;
  color: #405067;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(36, 50, 78, 0.1);
}

/* Light C17-style system canvas adapted for Klientometr */
.c17-inspired-system {
  position: relative;
  padding: 74px 22px 88px;
  overflow: hidden;
  background: #f3f4f6;
}

.c17k-viewport {
  width: 100%;
  overflow: hidden;
}

.c17k-stage {
  position: relative;
  width: min(1400px, 100%);
  aspect-ratio: 14 / 11;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #ececf1;
  border-radius: 42px;
  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(111, 83, 255, 0.045),
      transparent 29%
    ),
    linear-gradient(180deg, #fff, #fefeff);
  box-shadow:
    0 24px 55px rgba(34, 38, 55, 0.1),
    inset 0 1px 0 #fff;
}

.c17k-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    rgba(104, 78, 255, 0.09) 0.65px,
    transparent 0.65px
  );
  background-size: 12px 12px;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
}

.c17k-wires {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.c17k-wire-soft {
  fill: none;
  stroke: #dedee5;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.c17k-wire-fine {
  fill: none;
  stroke: #eeeef3;
  stroke-width: 1.2;
  stroke-linecap: round;
}
.c17k-ports {
  fill: #fff;
  stroke: #7451ff;
  stroke-width: 2;
}
.c17k-packet {
  fill: #6c42ff;
}
.c17k-packet-green {
  fill: #62c678;
}

.c17k-notifications {
  position: absolute;
  z-index: 5;
  top: 6.4%;
  left: 37.15%;
  width: 25.7%;
  height: 8%;
}

.c17k-notification {
  position: absolute;
  inset: 0;
  border: 1px solid #e7e3f8;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(92, 72, 171, 0.1);
}
.c17k-n4 {
  opacity: 0.15;
  transform: translateY(-42%);
}
.c17k-n3 {
  opacity: 0.28;
  transform: translateY(-27%);
}
.c17k-n2 {
  opacity: 0.48;
  transform: translateY(-13%);
}
.c17k-n1 {
  padding: 8px 12px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 11px;
  animation: c17k-notification-breathe 5.5s ease-in-out infinite;
}

@keyframes c17k-notification-breathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.c17k-app {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #ebe8f8;
  border-radius: 10px;
  background: #fafaff;
}
.c17k-app img {
  width: 38px;
  height: 38px;
}
.c17k-n1 > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.c17k-n1 small {
  color: #85819a;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.7px;
}
.c17k-n1 b {
  margin-top: 4px;
  overflow: hidden;
  color: #242036;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c17k-n1 em {
  position: absolute;
  top: -7px;
  left: 42px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #eb5149;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}
.c17k-n1 time {
  align-self: start;
  color: #aaa6b9;
  font-size: 8px;
}

.c17k-core {
  position: absolute;
  z-index: 4;
  top: 42.7%;
  left: 40.7%;
  width: 18.6%;
  aspect-ratio: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #e4e2eb;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 18px 36px rgba(41, 37, 61, 0.16),
    0 0 0 8px rgba(255, 255, 255, 0.82),
    0 0 0 9px #ebe9ef;
}

.c17k-core::before {
  content: "";
  position: absolute;
  inset: -17px;
  z-index: -1;
  border: 1px dashed #dedce5;
  border-radius: 22px;
}

.c17k-core > span {
  width: 47%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #eceaf2;
  border-radius: 18px;
  background: #fafaff;
}
.c17k-core img {
  width: 86%;
  height: 86%;
}
.c17k-core b {
  margin-top: 10px;
  color: #242035;
  font-size: clamp(12px, 1.25vw, 18px);
}
.c17k-core small {
  margin-top: 4px;
  color: #747087;
  font-size: clamp(6px, 0.63vw, 9px);
  font-weight: 850;
  letter-spacing: 0.8px;
}
.c17k-core em {
  margin-top: 9px;
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #e0f2e5;
  border-radius: 999px;
  color: #459b5b;
  background: #f1fbf4;
  font-size: clamp(5px, 0.53vw, 8px);
  font-style: normal;
  font-weight: 800;
}
.c17k-core em i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #65c679;
  animation: c17k-live 1.8s ease-in-out infinite;
}
@keyframes c17k-live {
  50% {
    opacity: 0.35;
    box-shadow: 0 0 0 6px rgba(101, 198, 121, 0);
  }
}

.c17k-node {
  position: absolute;
  z-index: 3;
  width: 22.85%;
  height: 9.1%;
  padding: 10px 13px;
  display: grid;
  align-items: center;
  gap: 12px;
  border: 1px solid #e5e2ef;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 10px 22px rgba(76, 65, 120, 0.1),
    0 2px 5px rgba(76, 65, 120, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.c17k-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(76, 65, 120, 0.15);
}
.c17k-left {
  left: 7.85%;
  grid-template-columns: 58px 1fr 14px;
}
.c17k-right {
  left: 69.3%;
  grid-template-columns: 14px 1fr 58px;
  text-align: right;
}
.c17k-l1,
.c17k-r1 {
  top: 30.75%;
}
.c17k-l2,
.c17k-r2 {
  top: 44.4%;
}
.c17k-l3,
.c17k-r3 {
  top: 58%;
}
.c17k-l4,
.c17k-r4 {
  top: 71.65%;
}
.c17k-l5,
.c17k-r5 {
  top: 85.25%;
}

.c17k-node > i {
  width: 13px;
  height: 13px;
  display: block;
  border: 2px solid #b69eff;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 3px #fff;
}
.c17k-left > i {
  background: #7249ff;
}
.c17k-right > i {
  background: #7249ff;
}
.c17k-node div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.c17k-node small {
  color: #8a859c;
  font-size: clamp(6px, 0.57vw, 8px);
  font-weight: 800;
  letter-spacing: 0.75px;
}
.c17k-node b {
  margin-top: 4px;
  overflow: hidden;
  color: #403b50;
  font-size: clamp(10px, 1.08vw, 15px);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c17k-node-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #6944f5;
  background: linear-gradient(145deg, #f3efff, #eee8ff);
}
.c17k-node-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.c17k-node-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.c17k-wide-logo img {
  width: 48px;
  height: 34px;
}
.c17k-green {
  color: #48ad68;
  background: #eef9f1;
}

.c17k-lane {
  position: absolute;
  z-index: 2;
  color: #625e6d;
  background: rgba(255, 255, 255, 0.82);
  font-size: clamp(7px, 0.75vw, 11px);
  font-weight: 850;
  letter-spacing: 0.5px;
}
.c17k-lane-left {
  top: 51%;
  left: 33.2%;
}
.c17k-lane-right {
  top: 51%;
  right: 33.2%;
}
.c17k-lane-bottom {
  top: 78.5%;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 760px) {
  .c17-inspired-system {
    padding: 34px 0 44px;
  }
  .c17k-stage {
    left: auto;
    width: calc(100% - 20px);
    max-width: 100%;
    margin-inline: auto;
    border-radius: 20px;
    transform: none;
  }
  .c17k-node {
    padding: 3px 4px;
    gap: 3px;
  }
  .c17k-left {
    grid-template-columns: 17px 1fr 5px;
  }
  .c17k-right {
    grid-template-columns: 5px 1fr 17px;
  }
  .c17k-node-icon {
    width: 17px;
    height: 17px;
    border-radius: 4px;
  }
  .c17k-node-icon img {
    width: 14px;
    height: 14px;
  }
  .c17k-node-icon svg {
    width: 11px;
    height: 11px;
  }
  .c17k-wide-logo img {
    width: 15px;
    height: 11px;
  }
  .c17k-node > i {
    width: 5px;
    height: 5px;
    border-width: 1px;
    box-shadow: none;
  }
  .c17k-node b {
    margin-top: 1px;
    font-size: 4px;
  }
  .c17k-node small {
    font-size: 2.5px;
    letter-spacing: 0.2px;
  }
  .c17k-core {
    padding: 4px;
    border-radius: 7px;
    box-shadow:
      0 6px 12px rgba(41, 37, 61, 0.16),
      0 0 0 3px rgba(255, 255, 255, 0.82),
      0 0 0 4px #ebe9ef;
  }
  .c17k-core::before {
    inset: -7px;
    border-radius: 9px;
  }
  .c17k-core > span {
    border-radius: 6px;
  }
  .c17k-core b {
    margin-top: 3px;
    font-size: 5px;
  }
  .c17k-core small {
    margin-top: 1px;
    font-size: 2.5px;
    letter-spacing: 0.2px;
  }
  .c17k-core em {
    margin-top: 3px;
    padding: 2px 3px;
    gap: 2px;
    font-size: 2.5px;
  }
  .c17k-core em i {
    width: 2px;
    height: 2px;
  }
  .c17k-notification {
    border-radius: 5px;
  }
  .c17k-n1 {
    padding: 3px 4px;
    grid-template-columns: 16px 1fr auto;
    gap: 3px;
  }
  .c17k-app {
    width: 15px;
    height: 15px;
    border-radius: 4px;
  }
  .c17k-app img {
    width: 13px;
    height: 13px;
  }
  .c17k-n1 small {
    font-size: 2.3px;
    letter-spacing: 0.15px;
  }
  .c17k-n1 b {
    margin-top: 1px;
    font-size: 4.5px;
  }
  .c17k-n1 em {
    top: -3px;
    left: 13px;
    width: 7px;
    height: 7px;
    font-size: 3px;
  }
  .c17k-n1 time {
    font-size: 2.5px;
  }
  .c17k-lane {
    font-size: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c17k-n1,
  .c17k-core em i {
    animation: none;
  }
}

/* Onboarding canvases — lighter neutral product surface */
.premium-onboarding .onboarding-visual.simple-workflow,
.premium-onboarding
  .onboarding-step:nth-child(3)
  .onboarding-visual.simple-workflow {
  border-color: #d9e1ea;
  background:
    radial-gradient(
      circle at 82% 8%,
      rgba(91, 119, 255, 0.08),
      transparent 30%
    ),
    radial-gradient(rgba(83, 103, 137, 0.16) 0.65px, transparent 0.65px),
    linear-gradient(145deg, #f6f8fa, #e9edf2);
  background-size:
    auto,
    7px 7px,
    auto;
  box-shadow:
    0 16px 34px rgba(40, 54, 82, 0.1),
    inset 0 1px 0 #fff;
}

.premium-onboarding .workflow-route::after {
  background: #fff;
}

.premium-onboarding .workflow-confirm {
  border-color: #dbe4ed;
  color: #405067;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(42, 56, 85, 0.1);
}

/* Interactive mini application — Overview dashboard */
.interactive-overview {
  position: relative;
  padding: 56px 0 62px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    radial-gradient(
      circle at 50% 24%,
      rgba(123, 145, 255, 0.28),
      transparent 34%
    ),
    linear-gradient(135deg, #345ee8, #5269ec);
  background-size:
    56px 56px,
    56px 56px,
    auto,
    auto;
}

.interactive-overview .shell {
  width: min(1240px, calc(100% - 40px));
}

.mini-overview-panel {
  position: relative;
  aspect-ratio: 3 / 2;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  color: #1d2638;
  background: #f5f7fb;
  box-shadow:
    0 35px 85px rgba(16, 31, 99, 0.3),
    0 8px 22px rgba(16, 31, 99, 0.15),
    inset 0 1px 0 #fff;
}

.mini-browser-bar {
  height: 36px;
  padding: 0 13px;
  display: grid;
  grid-template-columns: 64px 1fr minmax(180px, 340px) 34px;
  align-items: center;
  gap: 12px;
  color: #69748a;
  border-bottom: 1px solid #dfe4ed;
  background: #fff;
  font-size: 9px;
}
.mini-browser-dots {
  display: flex;
  gap: 5px;
}
.mini-browser-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8dde6;
}
.mini-browser-dots i:first-child {
  background: #ff7c72;
}
.mini-browser-dots i:nth-child(2) {
  background: #f5bf58;
}
.mini-browser-dots i:last-child {
  background: #62c77b;
}
.mini-browser-bar b {
  font-size: 9px;
}
.mini-browser-bar label {
  height: 24px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e2e6ed;
  border-radius: 7px;
  background: #f8fafc;
}
.mini-browser-bar label svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #8d97a8;
  stroke-width: 1.7;
}
.mini-browser-bar em {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #526be4;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.mini-app-sidebar {
  position: absolute;
  z-index: 3;
  top: 36px;
  bottom: 0;
  left: 0;
  width: 54px;
  padding: 11px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  border-right: 1px solid #e0e5ed;
  background: rgba(255, 255, 255, 0.88);
}
.mini-side-logo {
  width: 30px;
  height: 30px;
  margin-bottom: 7px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #eef2ff;
}
.mini-side-logo img {
  width: 27px;
  height: 27px;
}
.mini-app-sidebar button {
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #8b96aa;
  background: transparent;
  cursor: pointer;
}
.mini-app-sidebar button.is-active {
  color: #315fe3;
  background: #eef2ff;
  box-shadow: inset 0 0 0 1px #dbe4ff;
}
.mini-app-sidebar button:hover {
  color: #315fe3;
  background: #f2f5ff;
}
.mini-app-sidebar svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-app-content {
  height: calc(100% - 36px);
  margin-left: 54px;
  padding: 21px 22px 24px;
  display: flex;
  flex-direction: column;
}
.mini-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.mini-overview-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.mini-overview-brand > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #e0e6f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(38, 53, 92, 0.07);
}
.mini-overview-brand img {
  width: 38px;
  height: 38px;
}
.mini-overview-brand div {
  display: flex;
  flex-direction: column;
}
.mini-overview-brand b {
  font-size: 20px;
  letter-spacing: -0.5px;
}
.mini-overview-brand small {
  margin-top: 3px;
  color: #8994a7;
  font-size: 8px;
}
.mini-overview-live {
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dcefe2;
  border-radius: 999px;
  color: #3c9657;
  background: #f0faf3;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.55px;
}
.mini-overview-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #61be78;
  box-shadow: 0 0 0 4px rgba(97, 190, 120, 0.12);
}

.mini-overview-toolbar {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.mini-store-tabs,
.mini-period-tabs {
  padding: 3px;
  display: flex;
  gap: 3px;
  border: 1px solid #e0e5ec;
  border-radius: 9px;
  background: #fff;
}
.mini-store-tabs button,
.mini-period-tabs button {
  min-height: 29px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 6px;
  color: #728096;
  background: transparent;
  font-family: inherit;
  font-size: 8px;
  font-weight: 750;
  cursor: pointer;
}
.mini-store-tabs button.is-active,
.mini-period-tabs button.is-active {
  color: #264fc8;
  background: #edf2ff;
  box-shadow: inset 0 0 0 1px #dbe4ff;
}
.mini-store-tabs img {
  width: 22px;
  height: 14px;
  object-fit: contain;
}

.mini-overview-metrics {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.mini-overview-metrics article {
  min-width: 0;
  padding: 12px 14px 11px;
  border: 1px solid #e0e5ed;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(40, 53, 84, 0.05);
}
.mini-overview-metrics article > small {
  color: #68748a;
  font-size: 8px;
  font-weight: 750;
}
.mini-metric-source {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mini-metric-source > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-metric-source > img.is-woo {
  width: auto;
  height: 12px;
  max-width: 29px;
  object-fit: contain;
}
.mini-metric-source > img.is-meta {
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.mini-metric-source.is-combined > span:first-child {
  display: flex;
  align-items: center;
}
.mini-metric-source.is-combined > span:first-child img:first-child {
  z-index: 1;
  width: 14px;
  height: 14px;
}
.mini-metric-source.is-combined > span:first-child img:last-child {
  width: auto;
  height: 12px;
  max-width: 25px;
  margin-left: -4px;
  object-fit: contain;
}
.mini-overview-metrics article > div {
  margin-top: 7px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}
.mini-overview-metrics strong {
  overflow: hidden;
  font-size: clamp(17px, 2vw, 27px);
  letter-spacing: -1px;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition:
    opacity 0.16s ease,
    translate 0.16s ease;
}
.mini-overview-metrics article div span {
  padding: 4px 6px;
  border: 1px solid #d4eedc;
  border-radius: 999px;
  color: #348a50;
  background: #eef9f1;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}
.mini-overview-metrics article div span.is-warm {
  border-color: #f1d7ba;
  color: #bd671d;
  background: #fff7ec;
}
.mini-overview-metrics article > i {
  height: 5px;
  margin-top: 8px;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f5;
}
.mini-overview-metrics article > i b {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: #55b97a;
  transition: width 0.5s ease;
}
.mini-overview-metrics article > i b.is-warm {
  background: #e8872b;
}
.mini-overview-metrics article > em {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #9aa4b4;
  font-size: 7px;
  font-style: normal;
}
.mini-overview-metrics article > em u {
  color: #667287;
  font-weight: 750;
  text-decoration: none;
}

.mini-overview-lower {
  min-height: 0;
  margin-top: 11px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  flex: 1;
}
.mini-overview-chart,
.mini-campaign-list {
  position: relative;
  min-width: 0;
  border: 1px solid #e0e5ed;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(40, 53, 84, 0.05);
}
.mini-overview-chart {
  min-height: 0;
  height: 100%;
  padding: 15px 15px 10px;
  overflow: hidden;
}
.mini-chart-head,
.mini-campaign-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mini-chart-head > div,
.mini-campaign-head > div {
  display: flex;
  flex-direction: column;
}
.mini-chart-head small,
.mini-campaign-head small {
  color: #7b8799;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.7px;
}
.mini-chart-head b,
.mini-campaign-head b {
  margin-top: 4px;
  font-size: 13px;
}
.mini-chart-head > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8b96a7;
  font-size: 7px;
}
.mini-chart-head > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #62bf79;
}
.mini-overview-chart > svg {
  position: absolute;
  top: 58px;
  right: 12px;
  bottom: 10px;
  left: 12px;
  width: calc(100% - 24px);
  height: auto;
}
.mini-chart-grid {
  fill: none;
  stroke: #edf0f5;
  stroke-width: 1;
}
.mini-chart-area {
  fill: url(#miniOverviewArea);
  transition: d 0.55s ease;
}
.mini-chart-line {
  fill: none;
  stroke: #5572ef;
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 5px 7px rgba(85, 114, 239, 0.24));
  transition: d 0.55s ease;
}
.mini-chart-legend {
  display: flex;
  align-items: center;
  gap: 11px;
}
.mini-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7f899a;
  font-size: 7px;
  font-weight: 750;
  white-space: nowrap;
}
.mini-chart-legend i {
  display: block;
  width: 16px;
  height: 3px;
  border-radius: 999px;
}
.mini-chart-legend strong {
  padding: 2px 5px;
  border-radius: 5px;
  background: #f1f4f8;
  color: #354158;
  font-size: 7px;
}
.mini-chart-legend .is-klientometr {
  background: #25a96b;
  box-shadow: 0 2px 5px rgba(37, 169, 107, 0.25);
}
.mini-chart-legend .is-meta {
  background: #ef6a5b;
}
.mini-chart-line {
  stroke: #25a96b;
  filter: drop-shadow(0 5px 7px rgba(37, 169, 107, 0.2));
}
.mini-chart-line-meta {
  stroke: #ef6a5b;
  stroke-width: 3;
  stroke-dasharray: 7 6;
  filter: none;
}
.mini-report-tip {
  position: absolute;
  z-index: 2;
  top: 63px;
  left: 25%;
  width: 190px;
  padding: 13px 14px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #6266e9, #7654dc);
  box-shadow: 0 15px 30px rgba(74, 72, 194, 0.24);
}
.mini-report-tip small {
  font-size: 6px;
  font-weight: 850;
  letter-spacing: 0.55px;
  opacity: 0.78;
}
.mini-report-tip b {
  margin-top: 5px;
  display: block;
  font-size: 10px;
}
.mini-report-tip p {
  margin: 6px 0 0;
  font-size: 7px;
  line-height: 1.45;
  opacity: 0.84;
}
.mini-tour-footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mini-tour-dots {
  display: flex;
  align-items: center;
  gap: 3px;
}
.mini-tour-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  transition:
    width 0.2s ease,
    background 0.2s ease;
}
.mini-tour-dots i.is-active {
  width: 11px;
  border-radius: 999px;
  background: #fff;
}
.mini-tour-footer > div {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mini-tour-footer button {
  min-height: 20px;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-family: inherit;
  font-size: 6px;
  font-weight: 750;
  cursor: pointer;
}
.mini-tour-footer button:last-child {
  background: #fff;
  color: #5956cc;
}
.mini-tour-footer button:disabled {
  opacity: 0.28;
  cursor: default;
}

.mini-campaign-list {
  padding: 15px;
}
.mini-campaign-head button {
  padding: 0;
  border: 0;
  color: #315fe3;
  background: none;
  font-family: inherit;
  font-size: 7px;
  font-weight: 800;
  cursor: pointer;
}
.mini-campaign-list article {
  min-height: 57px;
  padding: 8px 0;
  display: grid;
  grid-template-columns: 29px 1fr auto;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #edf0f4;
}
.mini-campaign-list article:last-child {
  border-bottom: 0;
}
.mini-campaign-rank {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #526ce1;
  background: #eef2ff;
  font-size: 7px;
  font-weight: 850;
}
.mini-campaign-list article div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.mini-campaign-list article div b {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-campaign-list article div small {
  margin-top: 3px;
  overflow: hidden;
  color: #909bad;
  font-size: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-campaign-list article strong {
  color: #2e8c51;
  font-size: 13px;
}
.mini-campaign-list article em {
  display: none;
}

/* Mini overview panel: use Klientometr blue accents instead of green. */
.mini-overview-live {
  border-color: #dbe4ff;
  color: #315fe3;
  background: #edf2ff;
}

.mini-overview-live i {
  background: #5572ef;
  box-shadow: 0 0 0 4px rgba(85, 114, 239, 0.14);
}

.mini-overview-metrics article div span:not(.is-warm) {
  border-color: #dbe4ff;
  color: #315fe3;
  background: #edf2ff;
}

.mini-overview-metrics article > i b:not(.is-warm) {
  background: #5572ef;
}

.mini-chart-head > span i,
.mini-chart-legend .is-klientometr {
  background: #5572ef;
  box-shadow: 0 2px 5px rgba(85, 114, 239, 0.25);
}

.mini-chart-line:not(.mini-chart-line-meta) {
  stroke: #5572ef;
  filter: drop-shadow(0 5px 7px rgba(85, 114, 239, 0.22));
}

.mini-campaign-list article strong {
  color: #315fe3;
}

/* Desktop mini overview: KPI cards closer to the real Overview dashboard cards. */
@media (min-width: 761px) {
  .mini-overview-metrics {
    margin-top: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .mini-overview-metrics article {
    min-height: 108px;
    padding: 14px 15px 13px;
    display: flex;
    flex-direction: column;
    border-color: #dce3ee;
    border-radius: 16px;
    box-shadow: 0 7px 18px rgba(31, 52, 104, 0.045);
  }

  .mini-overview-metrics article > small {
    font-size: 8.5px;
    font-weight: 780;
  }

  .mini-metric-source {
    gap: 8px;
  }

  .mini-metric-source > img.is-woo {
    height: 14px;
    max-width: 34px;
  }

  .mini-metric-source > img.is-meta,
  .mini-metric-source.is-combined > span:first-child img:first-child {
    width: 16px;
    height: 16px;
  }

  .mini-metric-source.is-combined > span:first-child img:last-child {
    height: 14px;
    max-width: 28px;
  }

  .mini-overview-metrics article > div {
    margin-top: 12px;
    gap: 10px;
  }

  .mini-overview-metrics strong {
    font-size: clamp(20px, 1.85vw, 29px);
    letter-spacing: -1.25px;
  }

  .mini-overview-metrics article div span {
    padding: 4px 7px;
    font-size: 7.5px;
  }

  .mini-overview-metrics article > i {
    height: 5px;
    margin-top: auto;
  }

  .mini-overview-metrics article > em {
    margin-top: 8px;
    font-size: 7.5px;
    font-weight: 650;
  }
}

@media (min-width: 1001px) {
  .card-revenue {
    left: 250px;
    top: -15px;
  }

  .desktop-break-line {
    display: block;
  }
}

/* Desktop pricing: make the "Najlepszy wybór" marker feel like a premium chip, not a tab. */
@media (min-width: 1051px) {
  .pricing-cards-three .pricing-growth .tier-popular {
    top: 28px;
    right: 28px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    color: #234fc9;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 26px rgba(16, 44, 126, 0.18);
    font-size: 8px;
    line-height: 1;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
  }

  .pricing-cards-three .pricing-growth .tier-head {
    padding-right: 118px;
  }
}

/* Desktop hero: give the main promise more weight without enlarging the italic line. */
@media (min-width: 1001px) {
  .hero h1 .hero-main-title {
    display: block;
    font-size: clamp(76px, 6.3vw, 92px);
    line-height: 0.92;
    letter-spacing: -5.2px;
  }
}

.mini-overview-footer-stats {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #e0e5ed;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(40, 53, 84, 0.04);
}
.mini-overview-footer-stats span {
  min-width: 0;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e9edf3;
}
.mini-overview-footer-stats span:nth-child(3n) {
  border-right: 0;
}
.mini-overview-footer-stats span:nth-child(-n + 3) {
  border-bottom: 1px solid #e9edf3;
}
.mini-overview-footer-stats strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-overview-footer-stats small {
  margin-top: 4px;
  overflow: hidden;
  color: #8c97a9;
  font-size: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .interactive-overview {
    padding: 30px 0 36px;
  }
  .interactive-overview .shell {
    width: calc(100% - 20px);
  }
  .mini-overview-panel {
    aspect-ratio: auto;
    min-height: 0;
    border-radius: 15px;
  }
  .mini-browser-bar {
    grid-template-columns: 48px 1fr 25px;
  }
  .mini-browser-bar label {
    display: none;
  }
  .mini-app-sidebar {
    width: 38px;
    padding-inline: 4px;
  }
  .mini-app-sidebar button {
    width: 28px;
    height: 28px;
  }
  .mini-side-logo {
    width: 27px;
    height: 27px;
  }
  .mini-side-logo img {
    width: 24px;
    height: 24px;
  }
  .mini-app-content {
    height: auto;
    margin-left: 38px;
    padding: 13px 10px 15px;
    display: block;
  }
  .mini-overview-brand > span {
    width: 34px;
    height: 34px;
  }
  .mini-overview-brand img {
    width: 31px;
    height: 31px;
  }
  .mini-overview-brand b {
    font-size: 15px;
  }
  .mini-overview-live {
    display: none;
  }
  .mini-overview-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }
  .mini-store-tabs,
  .mini-period-tabs {
    width: 100%;
  }
  .mini-store-tabs button,
  .mini-period-tabs button {
    flex: 1;
    justify-content: center;
    padding-inline: 4px;
    font-size: 6.5px;
  }
  .mini-store-tabs img {
    display: none;
  }
  .mini-overview-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .mini-overview-metrics article {
    padding: 10px;
  }
  .mini-overview-metrics strong {
    font-size: 16px;
  }
  .mini-overview-metrics article div span {
    padding: 3px 4px;
    font-size: 5.5px;
  }
  .mini-overview-lower {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .mini-overview-chart {
    min-height: 260px;
    height: auto;
  }
  .mini-overview-chart > svg {
    top: auto;
    height: 185px;
  }
  .mini-report-tip {
    left: 18%;
    width: 155px;
  }
  .mini-campaign-list article {
    min-height: 60px;
  }
  .mini-overview-footer-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mini-overview-footer-stats span:nth-child(3) {
    border-right: 0;
  }
  .mini-overview-footer-stats span:nth-child(-n + 3) {
    border-bottom: 1px solid #e9edf3;
  }
}

/* Alert activity — same premium dark language as the monitor */
.campaign-alerts .alert-feed {
  border: 1px solid rgba(137, 158, 255, 0.22);
  color: #f7f9ff;
  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(91, 120, 255, 0.18),
      transparent 34%
    ),
    radial-gradient(rgba(133, 154, 255, 0.12) 0.7px, transparent 0.7px),
    linear-gradient(145deg, rgba(16, 27, 62, 0.97), rgba(10, 19, 45, 0.98));
  background-size:
    auto,
    7px 7px,
    auto;
  box-shadow:
    0 30px 65px rgba(15, 25, 61, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.campaign-alerts .alert-feed-head {
  border-color: rgba(255, 255, 255, 0.1);
}

.campaign-alerts .alert-feed-head span {
  color: #8df0aa;
}

.campaign-alerts .alert-feed-head b,
.campaign-alerts .alert-feed-item b {
  color: #f7f9ff;
}

.campaign-alerts .alert-feed-item {
  border-color: rgba(255, 255, 255, 0.09);
}

.campaign-alerts .alert-feed-item small,
.campaign-alerts .alert-feed-item time {
  color: #93a2c2;
}

.campaign-alerts .alert-feed-item > span {
  border: 1px solid rgba(125, 151, 255, 0.18);
  color: #9eb1ff;
  background: rgba(89, 116, 238, 0.13);
}

.campaign-alerts .alert-feed-item.danger > span {
  border-color: rgba(226, 97, 111, 0.18);
  color: #ff9eaa;
  background: rgba(218, 72, 91, 0.12);
}

.campaign-alerts .alert-feed-item.success > span {
  border-color: rgba(80, 208, 123, 0.18);
  color: #83efaa;
  background: rgba(65, 187, 105, 0.12);
}

/* Feature system — wide Metorik bento, not a generic SaaS card stack */
.premium-features {
  background:
    radial-gradient(
      circle at 12% 15%,
      rgba(96, 114, 242, 0.1),
      transparent 25%
    ),
    radial-gradient(
      circle at 86% 72%,
      rgba(158, 183, 255, 0.18),
      transparent 28%
    ),
    linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.premium-features .feature-showcase {
  max-width: 1180px;
  margin-top: 72px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.premium-features .feature-showcase article {
  padding: 32px;
  border: 1px solid #d8e1ea;
  border-radius: 28px;
  background:
    radial-gradient(circle at 95% 0, rgba(111, 133, 245, 0.1), transparent 31%),
    rgba(255, 255, 255, 0.94);
  box-shadow:
    0 28px 70px rgba(44, 57, 95, 0.09),
    inset 0 1px 0 #fff;
}

.premium-features .showcase-overlay {
  grid-column: 1 / -1;
  grid-row: auto;
  min-height: 620px;
  padding: 42px;
}

.premium-features .showcase-quality,
.premium-features .showcase-live,
.premium-features .showcase-privacy {
  min-height: 345px;
}

.premium-features .showcase-card-head h3 {
  max-width: 650px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -1.2px;
}

.premium-features .showcase-card-head > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #dbe3f9;
  border-radius: 50%;
  color: #526ce9;
  background: #f5f7ff;
}

.premium-features .ads-overlay-frame {
  left: 42px;
  right: 42px;
  bottom: -76px;
  height: 470px;
  border-radius: 22px;
  transform: rotate(-1deg);
  box-shadow: 0 38px 80px rgba(37, 53, 94, 0.17);
}

.premium-features .quality-orbit {
  margin-top: 26px;
}

.premium-features .premium-live-orders {
  margin-top: 30px;
}

.premium-features .premium-live-orders > div,
.premium-features .privacy-seal {
  border-color: #dbe3eb;
  background: #f7f9fc;
  box-shadow: 0 12px 26px rgba(46, 59, 94, 0.06);
}

/* Comparison — compact fixed label column and readable horizontal movement */
@media (max-width: 760px) {
  .premium-comparison .comparison-stage {
    width: calc(100% - 24px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: #8096ff rgba(255, 255, 255, 0.08);
  }

  .premium-comparison .comparison-board {
    width: 670px;
    min-width: 670px;
  }

  .premium-comparison .comparison-top,
  .premium-comparison .premium-compare-row {
    width: 670px;
    min-width: 670px;
    grid-template-columns: 210px 210px 250px;
  }

  .premium-comparison .comparison-top > :first-child,
  .premium-comparison .premium-compare-row > :first-child {
    position: sticky;
    left: 0;
    z-index: 4;
    background: #151f45;
    box-shadow: 12px 0 24px rgba(7, 13, 34, 0.18);
  }

  .premium-comparison .comparison-top > :first-child {
    z-index: 6;
    background: #182249;
  }

  .premium-comparison .premium-compare-row > :first-child {
    padding-inline: 14px;
  }

  .premium-comparison .premium-compare-row > div {
    gap: 8px;
  }

  .premium-comparison .premium-compare-row > div strong {
    font-size: 10px;
  }
}

/* Real panel-like report tiles and cleaner team markers */
.love-section .report-metric {
  overflow: hidden;
  min-height: 104px;
  padding: 21px 23px 17px;
  border: 1px solid rgba(97, 119, 214, 0.2);
  border-top: 0;
  border-radius: 15px;
  color: #f8faff;
  background:
    radial-gradient(
      circle at 92% 5%,
      rgba(103, 127, 246, 0.18),
      transparent 36%
    ),
    radial-gradient(rgba(127, 149, 244, 0.1) 0.65px, transparent 0.65px),
    linear-gradient(145deg, #17244e, #101a3a);
  background-size:
    auto,
    7px 7px,
    auto;
  box-shadow:
    0 20px 44px rgba(26, 38, 82, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.love-section .report-metric::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(#7790ff, #526deb);
}

.love-section .report-metric small {
  color: #9eabc8;
}

.love-section .report-metric > span {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.love-section .report-avatar {
  position: relative;
  overflow: hidden;
  border-width: 3px;
  color: transparent;
  background: linear-gradient(145deg, #d7e2ff, #8fa7ea);
}

.love-section .report-avatar::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 22px;
  height: 24px;
  border-radius: 48% 48% 45% 45%;
  background: #f1c7a7;
  transform: translateX(-50%);
  box-shadow: 0 -7px 0 1px #303b59;
}

.love-section .report-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 54px;
  height: 38px;
  border-radius: 50% 50% 0 0;
  background: #536fe2;
  transform: translateX(-50%);
}

.love-section .avatar-two::before {
  box-shadow: 0 -7px 0 1px #583d30;
}
.love-section .avatar-two::after {
  background: #26858c;
}
.love-section .avatar-three::before {
  box-shadow: 0 -7px 0 1px #a85234;
}
.love-section .avatar-three::after {
  background: #d77f4c;
}
.love-section .avatar-four::before {
  box-shadow: 0 -7px 0 1px #1e2e55;
}
.love-section .avatar-four::after {
  background: #425dbb;
}

.love-section .person-icon {
  border: 1px solid #e2e8f2;
  box-shadow: 0 8px 18px rgba(35, 49, 84, 0.1);
}

.love-section .report-person em {
  border: 2px solid white;
  box-shadow: 0 5px 12px rgba(49, 120, 72, 0.18);
}

/* Support wall — horizontal, seamless testimonial loop */
.support-cards-stage {
  height: 520px;
  overflow: hidden;
  padding-block: 24px 58px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}

.support-cards-plane.is-loop-ready {
  position: relative;
  top: auto;
  left: auto;
  width: max-content;
  display: grid;
  grid-template-columns: none;
  grid-template-rows: repeat(2, 210px);
  grid-auto-flow: column;
  grid-auto-columns: 360px;
  gap: 18px;
  animation: support-wall-loop 46s linear infinite;
  will-change: transform;
}

.support-cards-stage:hover .support-cards-plane.is-loop-ready {
  animation-play-state: paused;
}

.support-cards-plane.is-loop-ready .support-quote {
  position: relative;
  min-height: 0;
  padding: 28px 28px 23px;
  overflow: hidden;
  transform: none;
  border: 1px solid rgba(197, 210, 226, 0.9);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(96, 84, 255, 0.1), transparent 38%),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.99),
      rgba(248, 250, 255, 0.96)
    );
  box-shadow:
    0 18px 42px rgba(34, 48, 91, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.support-cards-plane.is-loop-ready .support-quote::before {
  content: "“";
  position: absolute;
  top: 16px;
  right: 20px;
  color: rgba(73, 79, 229, 0.15);
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 1;
}

.support-cards-plane.is-loop-ready .support-quote:nth-child(4n + 2),
.support-cards-plane.is-loop-ready .support-quote:nth-child(4n + 3) {
  transform: translateY(12px);
}

.support-cards-plane.is-loop-ready .support-quote p {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  color: #17243a;
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
}

.support-cards-plane.is-loop-ready .quote-meta {
  position: relative;
  z-index: 1;
  padding-top: 16px;
  align-items: center;
  border-top: 1px solid #e4eaf2;
}

.support-cards-plane.is-loop-ready .quote-meta span {
  position: relative;
  padding-left: 38px;
}

.support-cards-plane.is-loop-ready .quote-meta span::before {
  content: attr(data-initials);
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #5a6cf1, #7c4de0);
  box-shadow: 0 5px 12px rgba(76, 79, 214, 0.22);
  font-size: 9px;
  font-weight: 800;
}

.support-cards-plane.is-loop-ready .quote-meta b {
  color: #15233a;
  font-size: 12px;
}
.support-cards-plane.is-loop-ready .quote-meta small {
  margin-top: 3px;
  color: #738198;
  font-size: 9px;
}
.support-cards-plane.is-loop-ready .quote-meta strong {
  padding: 6px 9px;
  border: 1px solid #e0e6ef;
  border-radius: 999px;
  color: #56647b;
  background: rgba(255, 255, 255, 0.78);
  font-size: 8px;
  letter-spacing: 0.25px;
}

@keyframes support-wall-loop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-cards-plane.is-loop-ready {
    animation: none;
  }
}

/* Rating stars — crisp UI glyphs without the heavy emoji-like shadow */
.love-rating > span {
  display: inline-block;
  color: #e8b817;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 3px;
  text-shadow: none;
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .love-rating > span {
    font-size: 18px;
    letter-spacing: 1.5px;
    transform: none;
  }
}

/* Overview showcase — comfortable breathing room against mobile viewport edges */
@media (max-width: 760px) {
  .love-section .weekly-grid {
    width: calc(100% - 40px);
    margin-right: auto;
    margin-bottom: 28px;
    margin-left: auto;
  }
}

/* Weekly report marker — native, unfiltered emoji */
.weekly-copy .coffee {
  margin-bottom: 10px;
  font-family:
    "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 34px;
  line-height: 1;
  filter: none;
}

/* Human support marker — a clean product-style heart badge */
.support-intro .support-heart {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #ff6b72, #e83e81 58%, #b84de8);
  box-shadow:
    0 16px 34px rgba(214, 55, 119, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  filter: none;
  transform: rotate(-4deg);
}

.support-intro .support-heart svg {
  width: 29px;
  height: 29px;
  display: block;
  fill: currentColor;
  transform: rotate(4deg);
}

@media (max-width: 760px) {
  .support-intro .support-heart {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    border-radius: 15px;
  }
  .support-intro .support-heart svg {
    width: 25px;
    height: 25px;
  }
}

/* Testimonials — three tilted marquee rows with alternating directions */
.support-cards-stage {
  height: 700px;
  padding-block: 34px 54px;
  -webkit-mask-image: none;
  mask-image: none;
}

.support-cards-stage::after {
  display: none;
}

.support-cards-plane.is-loop-ready.is-three-row {
  --marquee-gap: 18px;
  --marquee-half-gap: 9px;
  position: absolute;
  top: 42px;
  right: -7%;
  left: -7%;
  width: 114%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: rotate(-6deg);
  transform-origin: center;
  animation: none;
  will-change: auto;
}

.support-cards-plane.is-three-row .support-marquee-row {
  width: 100%;
  padding: 2px 0 4px;
  overflow: hidden;
}

.support-cards-plane.is-three-row .support-marquee-track {
  width: max-content;
  display: flex;
  align-items: stretch;
  gap: var(--marquee-gap);
  will-change: transform;
}

.support-cards-plane.is-three-row
  .support-marquee-row-1
  .support-marquee-track {
  animation: support-row-right 46s linear infinite;
}

.support-cards-plane.is-three-row
  .support-marquee-row-2
  .support-marquee-track {
  animation: support-row-left 42s linear infinite;
}

.support-cards-plane.is-three-row
  .support-marquee-row-3
  .support-marquee-track {
  animation: support-row-right 50s linear infinite;
}

.support-cards-plane.is-loop-ready.is-three-row .support-quote {
  width: 360px;
  min-height: 190px;
  flex: 0 0 360px;
  transform: none;
}

.support-cards-plane.is-loop-ready.is-three-row
  .support-quote:nth-child(4n + 2),
.support-cards-plane.is-loop-ready.is-three-row
  .support-quote:nth-child(4n + 3) {
  transform: none;
}

.support-cards-stage:hover
  .support-cards-plane.is-three-row
  .support-marquee-track {
  animation-play-state: paused;
}

@keyframes support-row-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - var(--marquee-half-gap)));
  }
}

@keyframes support-row-right {
  from {
    transform: translateX(calc(-50% - var(--marquee-half-gap)));
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 760px) {
  .support-cards-stage {
    height: 610px;
    padding: 24px 0 42px;
  }

  .support-cards-plane.is-loop-ready.is-three-row {
    --marquee-gap: 12px;
    --marquee-half-gap: 6px;
    top: 30px;
    right: -12%;
    left: -12%;
    width: 124%;
    grid-template-rows: none;
    grid-auto-columns: auto;
    gap: 8px;
    transform: rotate(-4deg);
    animation: none;
  }

  .support-cards-plane.is-loop-ready.is-three-row .support-quote {
    width: 292px;
    min-height: 166px;
    flex-basis: 292px;
    padding: 20px 19px 17px;
  }

  .support-cards-plane.is-loop-ready.is-three-row .support-quote p {
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.42;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-cards-plane.is-three-row .support-marquee-track {
    animation: none;
  }
}

/* Onboarding v3 — product UI language shared with the rest of the landing page */
.premium-onboarding {
  padding: 112px 0 100px;
  background:
    radial-gradient(
      circle at 12% 24%,
      rgba(72, 105, 232, 0.1),
      transparent 25%
    ),
    radial-gradient(
      circle at 88% 74%,
      rgba(74, 104, 232, 0.08),
      transparent 27%
    ),
    linear-gradient(180deg, #f8fafc, #f2f5f9);
}

.premium-onboarding::before {
  opacity: 0.34;
  background-image: radial-gradient(
    rgba(52, 73, 111, 0.2) 0.65px,
    transparent 0.65px
  );
  background-size: 7px 7px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 12%,
    #000 90%,
    transparent
  );
}

.premium-onboarding .onboarding-head > span {
  padding: 9px 13px;
  border: 1px solid #dce4f5;
  border-radius: 999px;
  color: #315fe3;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 22px rgba(52, 76, 142, 0.07);
}

.premium-onboarding .onboarding-head h2 {
  max-width: 900px;
  margin-top: 24px;
  color: #111b30;
}

.premium-onboarding .onboarding-flow {
  width: min(1240px, calc(100% - 40px));
  max-width: 1240px;
  margin-top: 62px;
  gap: 20px;
}

.premium-onboarding .onboarding-step,
.premium-onboarding .onboarding-step:nth-child(3),
.premium-onboarding .onboarding-step:nth-of-type(3) {
  min-height: 575px;
  padding: 18px;
  border: 1px solid #dbe3ee;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 24px 60px rgba(31, 47, 81, 0.1),
    inset 0 1px 0 #fff;
}

.premium-onboarding .onboarding-step::before {
  left: 50px;
  right: 50px;
  height: 3px;
}

.premium-onboarding .step-meta {
  margin: 2px 3px 16px;
}

.premium-onboarding .step-meta > span {
  width: 42px;
  height: 42px;
  border: 1px solid #dce4f6;
  border-radius: 13px;
  color: #315fe3;
  background: #f2f5ff;
  box-shadow: none;
}

.premium-onboarding .step-meta small {
  padding: 7px 10px;
  border: 1px solid #e3e8f0;
  border-radius: 999px;
  color: #68758a;
  background: #f8fafc;
}

.premium-onboarding .onboarding-visual.simple-workflow,
.premium-onboarding
  .onboarding-step:nth-child(3)
  .onboarding-visual.simple-workflow {
  height: 246px;
  min-height: 246px;
  padding: 35px 18px 49px;
  border: 1px solid rgba(118, 141, 244, 0.3);
  border-radius: 19px;
  background:
    radial-gradient(
      circle at 82% 8%,
      rgba(91, 119, 255, 0.18),
      transparent 30%
    ),
    radial-gradient(rgba(126, 148, 243, 0.15) 0.7px, transparent 0.7px),
    linear-gradient(145deg, #15224a, #0f1937);
  background-size:
    auto,
    7px 7px,
    auto;
  box-shadow:
    0 18px 36px rgba(22, 38, 86, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium-onboarding .simple-workflow::before {
  width: 190px;
  height: 130px;
  background: color-mix(in srgb, var(--step-accent) 28%, transparent);
  opacity: 0.8;
  filter: blur(38px);
}

.premium-onboarding .workflow-sources > span,
.premium-onboarding .workflow-event,
.premium-onboarding .workflow-target {
  border-color: rgba(219, 227, 242, 0.96);
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 12px 28px rgba(5, 15, 51, 0.24),
    inset 0 1px 0 #fff;
}

.premium-onboarding .workflow-sources > span {
  height: 50px;
  border-radius: 13px;
}

.premium-onboarding .workflow-route {
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(119, 143, 255, 0.22),
    #7b93ff 50%,
    rgba(119, 143, 255, 0.45)
  );
  box-shadow: 0 0 12px rgba(91, 119, 255, 0.28);
}

.premium-onboarding .workflow-route::after {
  border-color: #7b93ff;
  background: #16234a;
  box-shadow: 0 0 0 4px rgba(123, 147, 255, 0.17);
}

.premium-onboarding .workflow-target,
.premium-onboarding .workflow-event {
  min-height: 110px;
  border-radius: 15px;
}

.premium-onboarding .workflow-target img {
  width: 42px;
  height: 42px;
}

.premium-onboarding .workflow-confirm {
  bottom: 17px;
  padding: 7px 10px;
  border: 1px solid rgba(117, 211, 152, 0.22);
  border-radius: 999px;
  color: #d6e3ff;
  background: rgba(8, 17, 44, 0.68);
  box-shadow: 0 8px 18px rgba(4, 12, 36, 0.2);
  backdrop-filter: blur(8px);
}

/* Light connection canvas */
.premium-onboarding .onboarding-visual.connect-workflow {
  border-color: #d9e1ec;
  background:
    radial-gradient(
      circle at 76% 16%,
      rgba(91, 119, 255, 0.1),
      transparent 34%
    ),
    radial-gradient(#d9e0ec 0.8px, transparent 0.8px),
    linear-gradient(145deg, #fbfcfe, #eef2f6);
  background-size:
    auto,
    7px 7px,
    auto;
  box-shadow:
    0 16px 34px rgba(36, 50, 78, 0.1),
    inset 0 1px 0 #fff;
}

.premium-onboarding .connect-workflow::before {
  background: rgba(91, 119, 255, 0.13);
  opacity: 0.55;
}

.premium-onboarding .connect-workflow .workflow-sources > span,
.premium-onboarding .connect-workflow .workflow-target {
  border-color: #dce3ed;
  box-shadow:
    0 10px 24px rgba(36, 50, 78, 0.1),
    inset 0 1px 0 #fff;
}

.premium-onboarding .connect-workflow .workflow-route {
  background: linear-gradient(90deg, #d2d9e5, #7188ee 50%, #d2d9e5);
  box-shadow: 0 0 10px rgba(91, 119, 255, 0.18);
}

.premium-onboarding .connect-workflow .workflow-route::after {
  border-color: #647cec;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(100, 124, 236, 0.13);
}

.premium-onboarding .connect-workflow .workflow-confirm {
  border-color: #d5e8dc;
  color: #405067;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(36, 50, 78, 0.1);
  backdrop-filter: blur(6px);
}

.premium-onboarding .onboarding-copy,
.premium-onboarding .onboarding-step:nth-child(3) .onboarding-copy {
  padding: 25px 8px 7px;
}

.premium-onboarding .onboarding-copy > span {
  color: #4d68d9;
}

.premium-onboarding .onboarding-copy h3 {
  margin-top: 11px;
  font-size: 28px;
  letter-spacing: -1.3px;
}

.premium-onboarding .onboarding-copy p {
  margin-top: 14px;
  color: #627086;
  font-size: 13.5px;
  line-height: 1.6;
}

.premium-onboarding .onboarding-copy .step-time {
  margin-top: auto;
  padding: 8px 11px;
  border: 1px solid #dce5fa;
  color: #315fe3;
  background: #f2f5ff;
}

@media (max-width: 980px) {
  .premium-onboarding .onboarding-flow {
    grid-template-columns: 1fr;
  }
  .premium-onboarding .onboarding-step:nth-of-type(3) {
    grid-column: auto;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .premium-onboarding {
    padding: 84px 0 72px;
  }
  .premium-onboarding .onboarding-flow {
    width: calc(100% - 28px);
    margin-top: 44px;
    gap: 16px;
  }
  .premium-onboarding .onboarding-step,
  .premium-onboarding .onboarding-step:nth-child(3),
  .premium-onboarding .onboarding-step:nth-of-type(3) {
    min-height: 0;
    padding: 15px;
    border-radius: 22px;
  }
  .premium-onboarding .onboarding-visual.simple-workflow,
  .premium-onboarding
    .onboarding-step:nth-child(3)
    .onboarding-visual.simple-workflow {
    height: 252px;
    min-height: 252px;
    padding: 34px 17px 50px;
    border-radius: 17px;
  }
  .premium-onboarding .onboarding-copy,
  .premium-onboarding .onboarding-step:nth-child(3) .onboarding-copy {
    padding: 23px 6px 8px;
  }
  .premium-onboarding .onboarding-copy h3 {
    font-size: 29px;
  }
  .premium-onboarding .onboarding-copy .step-time {
    margin-top: 21px;
  }
}

/* CTA logos and mobile headline */
.dark-cta-copy h2 span {
  display: block;
}

.dark-cta-actions a img {
  width: auto;
  max-width: 128px;
  height: 30px;
  margin-left: 8px;
  object-fit: contain;
}

.dark-cta-actions .cta-woo img {
  width: 58px;
}

@media (max-width: 760px) {
  .premium-features .feature-showcase {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .premium-features .showcase-overlay {
    grid-column: auto;
    min-height: 610px;
    padding: 24px;
  }

  .premium-features .showcase-quality,
  .premium-features .showcase-live,
  .premium-features .showcase-privacy {
    min-height: 320px;
  }

  .premium-features .ads-overlay-frame {
    left: 24px;
    right: -235px;
    bottom: 28px;
    height: 430px;
  }

  .dark-final-cta .dark-cta-copy {
    padding-inline: 18px;
  }

  .dark-final-cta .dark-cta-copy h2 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(31px, 8.8vw, 37px);
    line-height: 1.02;
    letter-spacing: -1.8px;
  }

  .dark-final-cta .dark-cta-copy h2 span {
    white-space: nowrap;
  }

  .dark-cta-actions a img {
    height: 27px;
  }

  .support-cards-plane.is-loop-ready {
    grid-template-rows: repeat(2, 184px);
    grid-auto-columns: 292px;
    gap: 12px;
    animation-name: support-wall-loop-mobile;
    animation-duration: 36s;
  }

  .support-cards-stage {
    height: 430px;
    padding: 12px 0 34px;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent,
      #000 3%,
      #000 97%,
      transparent
    );
    mask-image: linear-gradient(
      90deg,
      transparent,
      #000 3%,
      #000 97%,
      transparent
    );
  }

  .support-cards-plane.is-loop-ready .support-quote {
    min-height: 0;
    padding: 22px 20px 18px;
    border-radius: 16px;
  }

  .support-cards-plane.is-loop-ready .support-quote:nth-child(4n + 2),
  .support-cards-plane.is-loop-ready .support-quote:nth-child(4n + 3) {
    transform: translateY(7px);
  }

  .support-cards-plane.is-loop-ready .support-quote p {
    margin-bottom: 13px;
    font-size: 12px;
    line-height: 1.45;
  }

  .support-cards-plane.is-loop-ready .quote-meta {
    padding-top: 11px;
  }
  .support-cards-plane.is-loop-ready .quote-meta span {
    padding-left: 32px;
  }
  .support-cards-plane.is-loop-ready .quote-meta span::before {
    width: 24px;
    height: 24px;
    font-size: 8px;
  }
}

@keyframes support-wall-loop-mobile {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 6px));
  }
}

/* Premium onboarding — three-tile product story */
.premium-onboarding {
  padding: 128px 0 112px;
  background:
    radial-gradient(
      circle at 10% 18%,
      rgba(91, 112, 240, 0.12),
      transparent 26%
    ),
    radial-gradient(
      circle at 92% 72%,
      rgba(66, 200, 149, 0.1),
      transparent 28%
    ),
    linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}

.premium-onboarding .onboarding-head {
  max-width: 900px;
  text-align: center;
}

.premium-onboarding .onboarding-head > span {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid #dbe2ff;
  border-radius: 999px;
  color: #5269e8;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(67, 83, 166, 0.08);
}

.premium-onboarding .onboarding-head h2 {
  max-width: 850px;
  margin: 22px auto 0;
  font-size: clamp(54px, 5vw, 72px);
  line-height: 0.97;
  letter-spacing: -4px;
}

.premium-onboarding .onboarding-head p {
  margin-top: 24px;
  color: #627086;
  font-size: 17px;
}

.premium-onboarding .onboarding-flow {
  width: min(1220px, calc(100% - 40px));
  max-width: 1220px;
  margin: 68px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.premium-onboarding .flow-line {
  display: none;
}

.premium-onboarding .onboarding-step,
.premium-onboarding .onboarding-step:nth-child(3) {
  --step-accent: #6174f4;
  --step-soft: rgba(97, 116, 244, 0.13);
  position: relative;
  min-width: 0;
  min-height: 650px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(205, 216, 229, 0.95);
  border-radius: 28px;
  background:
    radial-gradient(circle at 95% 0, var(--step-soft), transparent 30%),
    linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.98),
      rgba(247, 250, 253, 0.95)
    );
  box-shadow:
    0 30px 70px rgba(37, 53, 91, 0.1),
    inset 0 1px 0 #fff;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.premium-onboarding .onboarding-step:nth-of-type(2) {
  --step-accent: #3c86e8;
  --step-soft: rgba(60, 134, 232, 0.13);
}

.premium-onboarding .onboarding-step:nth-of-type(3) {
  --step-accent: #2dbb78;
  --step-soft: rgba(45, 187, 120, 0.13);
}

.premium-onboarding .onboarding-step:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--step-accent) 35%, #d4dde8);
  box-shadow:
    0 38px 86px rgba(37, 53, 91, 0.15),
    inset 0 1px 0 #fff;
}

.premium-onboarding .onboarding-step::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 42px;
  right: 42px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--step-accent),
    transparent
  );
}

.premium-onboarding .onboarding-step::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -95px;
  right: -95px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--step-soft);
  filter: blur(18px);
  pointer-events: none;
}

.premium-onboarding .step-meta {
  position: relative;
  z-index: 4;
  inset: auto;
  order: 1;
  margin: 0 0 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.premium-onboarding .step-meta > span {
  width: 44px;
  height: 44px;
  border-color: color-mix(in srgb, var(--step-accent) 34%, #dce3ec);
  color: var(--step-accent);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 9px 22px var(--step-soft);
  font-size: 12px;
}

.premium-onboarding .step-meta small {
  padding: 8px 11px;
  border-color: #e1e7ef;
  color: #6d7a90;
  background: rgba(255, 255, 255, 0.86);
  font-size: 8px;
  letter-spacing: 1.1px;
}

.premium-onboarding .onboarding-visual,
.premium-onboarding .onboarding-step:nth-child(3) .onboarding-visual {
  position: relative;
  z-index: 2;
  order: 2;
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  height: 272px;
  min-height: 272px;
  margin: 0;
  align-self: auto;
  border: 1px solid #dce4ed;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 112%, var(--step-soft), transparent 54%),
    linear-gradient(145deg, #f8fafc, #edf2f7);
  box-shadow:
    inset 0 1px 0 #fff,
    0 17px 38px rgba(43, 56, 91, 0.07);
}

.premium-onboarding .onboarding-copy,
.premium-onboarding .onboarding-step:nth-child(3) .onboarding-copy {
  position: relative;
  z-index: 2;
  order: 3;
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  min-width: 0;
  flex: 1;
  padding: 27px 7px 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.premium-onboarding .onboarding-copy > span {
  color: var(--step-accent);
  font-size: 8px;
  letter-spacing: 1.05px;
}

.premium-onboarding .onboarding-copy h3 {
  margin: 12px 0 0;
  color: #101b2f;
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -1.55px;
}

.premium-onboarding .onboarding-copy p {
  max-width: none;
  min-height: 0;
  margin: 15px 0 0;
  color: #647287;
  font-size: 14px;
  line-height: 1.58;
}

.premium-onboarding .onboarding-copy .step-time {
  margin-top: auto;
  padding: 8px 11px;
  border-color: color-mix(in srgb, var(--step-accent) 22%, #e2e8ef);
  border-radius: 999px;
  color: var(--step-accent);
  background: color-mix(in srgb, var(--step-soft) 58%, #fff);
  font-size: 9px;
}

.premium-onboarding .onboarding-proof {
  width: min(1160px, calc(100% - 40px));
  max-width: 1160px;
  margin: 22px auto 0;
  padding: 17px 18px 17px 27px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 21px;
  color: #fff;
  background:
    radial-gradient(
      circle at 82% 0,
      rgba(103, 116, 255, 0.28),
      transparent 30%
    ),
    linear-gradient(120deg, #111c39, #17264b);
  box-shadow:
    0 24px 58px rgba(27, 40, 78, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.premium-onboarding .onboarding-proof > div {
  position: relative;
  padding-left: 16px;
  border-left: 2px solid rgba(113, 134, 255, 0.65);
}

.premium-onboarding .onboarding-proof strong {
  color: #fff;
  font-size: 23px;
}
.premium-onboarding .onboarding-proof span {
  color: #9eabc4;
  font-size: 9px;
}
.premium-onboarding .onboarding-proof a {
  padding: 14px 18px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #536df3, #7156e7);
  box-shadow: 0 12px 25px rgba(67, 83, 218, 0.3);
  font-size: 10px;
}

@media (max-width: 980px) {
  .premium-onboarding .onboarding-flow {
    grid-template-columns: 1fr 1fr;
  }
  .premium-onboarding .onboarding-step:nth-of-type(3) {
    grid-column: 1 / -1;
    width: calc(50% - 9px);
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .premium-onboarding {
    padding: 88px 0 76px;
  }
  .premium-onboarding .onboarding-head {
    width: calc(100% - 28px);
    max-width: none;
  }
  .premium-onboarding .onboarding-head h2 {
    font-size: clamp(38px, 11.4vw, 46px);
    line-height: 0.99;
    letter-spacing: -2.7px;
  }
  .premium-onboarding .onboarding-head h2 br {
    display: none;
  }
  .premium-onboarding .onboarding-head p {
    font-size: 15px;
    line-height: 1.55;
  }
  .premium-onboarding .onboarding-flow {
    width: calc(100% - 24px);
    max-width: none;
    margin-top: 48px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .premium-onboarding .onboarding-step,
  .premium-onboarding .onboarding-step:nth-child(3),
  .premium-onboarding .onboarding-step:nth-of-type(3) {
    width: 100%;
    min-height: 610px;
    padding: 18px;
    grid-column: auto;
    border-radius: 24px;
  }
  .premium-onboarding .onboarding-visual,
  .premium-onboarding .onboarding-step:nth-child(3) .onboarding-visual {
    height: 270px;
    min-height: 270px;
    border-radius: 18px;
  }
  .premium-onboarding .onboarding-copy,
  .premium-onboarding .onboarding-step:nth-child(3) .onboarding-copy {
    padding: 25px 6px 5px;
  }
  .premium-onboarding .onboarding-copy h3 {
    font-size: 31px;
  }
  .premium-onboarding .onboarding-proof {
    width: calc(100% - 24px);
    padding: 20px;
    grid-template-columns: 1fr 1fr;
    gap: 19px 12px;
    border-radius: 19px;
  }
  .premium-onboarding .onboarding-proof > div {
    align-items: flex-start;
    text-align: left;
  }
  .premium-onboarding .onboarding-proof > div:nth-child(3) {
    grid-column: 1 / -1;
  }
  .premium-onboarding .onboarding-proof a {
    grid-column: 1 / -1;
    text-align: center;
  }
}

/* Onboarding visual language — clean white data workflows */
.premium-onboarding {
  background: #fff;
}

.premium-onboarding::before {
  opacity: 0.18;
  background-image: radial-gradient(
    rgba(62, 82, 122, 0.18) 0.55px,
    transparent 0.55px
  );
  background-size: 6px 6px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 20%,
    #000 82%,
    transparent
  );
}

.premium-onboarding::after {
  opacity: 1;
  background:
    radial-gradient(
      circle at 8% 35%,
      rgba(91, 112, 240, 0.07),
      transparent 24%
    ),
    radial-gradient(
      circle at 92% 68%,
      rgba(45, 187, 120, 0.06),
      transparent 25%
    );
}

.premium-onboarding .onboarding-step,
.premium-onboarding .onboarding-step:nth-child(3) {
  background: #fff;
  border-color: #e0e6ee;
  box-shadow:
    0 24px 60px rgba(36, 49, 83, 0.09),
    inset 0 1px 0 #fff;
}

.premium-onboarding .onboarding-step:hover {
  box-shadow:
    0 34px 74px rgba(36, 49, 83, 0.13),
    inset 0 1px 0 #fff;
}

.premium-onboarding .onboarding-visual.simple-workflow,
.premium-onboarding
  .onboarding-step:nth-child(3)
  .onboarding-visual.simple-workflow {
  position: relative;
  padding: 28px 24px 55px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  overflow: hidden;
  border: 1px solid #e5eaf1;
  background: #fff;
  box-shadow:
    inset 0 0 0 6px #fafbfd,
    0 14px 32px rgba(38, 53, 89, 0.06);
}

.simple-workflow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 150px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--step-soft);
  filter: blur(34px);
  opacity: 0.65;
  pointer-events: none;
}

.workflow-sources,
.workflow-event,
.workflow-target {
  position: relative;
  z-index: 2;
}

.workflow-sources {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.workflow-sources > span {
  height: 55px;
  padding: 10px 12px;
  display: grid;
  place-items: center;
  border: 1px solid #e0e6ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(43, 55, 88, 0.07);
}

.workflow-sources img {
  width: 100%;
  max-width: 112px;
  max-height: 32px;
  object-fit: contain;
}

.workflow-route {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(217, 224, 239, 0.15),
    var(--step-accent) 48%,
    rgba(217, 224, 239, 0.65)
  );
}

.workflow-route::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 2px solid var(--step-accent);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px var(--step-soft);
  transform: translateY(-50%);
}

.workflow-route i {
  position: absolute;
  top: -4px;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--step-accent);
  box-shadow:
    0 0 0 3px var(--step-soft),
    0 0 12px var(--step-accent);
  animation: onboarding-data-dot 2.5s linear infinite;
}

.workflow-route i:nth-child(2) {
  animation-delay: -0.82s;
}
.workflow-route i:nth-child(3) {
  animation-delay: -1.64s;
}

@keyframes onboarding-data-dot {
  0% {
    left: 0;
    opacity: 0;
    transform: scale(0.75);
  }
  12% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 8px);
    opacity: 0;
    transform: scale(1);
  }
}

.workflow-target,
.workflow-event {
  min-height: 118px;
  padding: 17px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid #dde5ee;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(40, 54, 87, 0.08);
}

.workflow-target img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.workflow-target b {
  margin-top: 8px;
  color: #142035;
  font-size: 12px;
}

.workflow-target small {
  margin-top: 4px;
  color: #7c899c;
  font-size: 8px;
  line-height: 1.35;
}

.workflow-event {
  align-items: flex-start;
  text-align: left;
}
.workflow-event small {
  color: var(--step-accent);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.9px;
}
.workflow-event b {
  margin-top: 8px;
  color: #111d31;
  font-size: 17px;
}
.workflow-event span {
  margin-top: 5px;
  color: #7c899c;
  font-size: 8px;
}

.capi-target strong {
  color: #2477dd;
  font-size: 38px;
  font-weight: 500;
  line-height: 0.8;
}

.roas-target small {
  margin: 0;
  color: #72917e;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.85px;
}

.roas-target strong {
  margin-top: 9px;
  color: #249b62;
  font-size: 27px;
  line-height: 1;
}

.roas-target b {
  margin-top: 7px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #28895b;
  background: #eaf8f0;
  font-size: 7px;
}

.workflow-confirm {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 17px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transform: translateX(-50%);
  color: #68768a;
  font-size: 8px;
  font-weight: 750;
  white-space: nowrap;
}

.workflow-confirm i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #42c77d;
  box-shadow: 0 0 0 4px rgba(66, 199, 125, 0.12);
  animation: onboarding-confirm 1.8s ease-in-out infinite;
}

@keyframes onboarding-confirm {
  50% {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-route i,
  .workflow-confirm i {
    animation: none;
  }
}

@media (max-width: 760px) {
  .premium-onboarding .onboarding-visual.simple-workflow,
  .premium-onboarding
    .onboarding-step:nth-child(3)
    .onboarding-visual.simple-workflow {
    padding: 24px 17px 52px;
    grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
    gap: 7px;
  }
  .workflow-sources > span {
    height: 50px;
    padding: 9px;
  }
  .workflow-sources img {
    max-width: 95px;
    max-height: 28px;
  }
  .workflow-target,
  .workflow-event {
    min-height: 112px;
    padding: 14px 9px;
  }
  .workflow-target b {
    font-size: 11px;
  }
  .workflow-event b {
    font-size: 15px;
  }
  .workflow-confirm {
    font-size: 7.5px;
  }
}

/* Automated report — premium bento tiles */
.report-time {
  min-height: 760px;
  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(116, 145, 255, 0.35),
      transparent 27%
    ),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(120deg, #315ce6, #5367ea);
  background-size:
    auto,
    56px 56px,
    56px 56px,
    auto;
}

.report-time-grid {
  min-height: 760px;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 58px;
}

.report-time-copy {
  padding-block: 92px;
}

.report-visual {
  min-height: 590px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: min-content;
  align-content: center;
  gap: 12px;
  transform: none;
}

.notification-stack {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  grid-column: 1 / 7;
  min-width: 0;
}

.report-notification.ghost-1,
.report-notification.ghost-2,
.report-notification.ghost-3 {
  display: none;
}

.report-notification.active {
  position: relative;
  top: auto;
  width: 100%;
  min-height: 86px;
  opacity: 1;
  transform: none;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 19px;
  color: #14213a;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 22px 48px rgba(24, 42, 118, 0.18),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(15px);
}

.report-notification.active small {
  color: #78869a;
}
.report-notification.active time {
  padding: 6px 9px;
  border-radius: 999px;
  color: #4965e8;
  background: #eef2ff;
  font-weight: 800;
}

.ready-text {
  position: relative;
  right: auto;
  top: auto;
  z-index: 2;
  grid-column: 7 / -1;
  min-height: 86px;
  padding: 19px 22px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 19px;
  color: #fff;
  background: rgba(23, 42, 126, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-family: Inter, sans-serif;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.6px;
  backdrop-filter: blur(9px);
}

.daily-report-card {
  position: relative;
  z-index: 2;
  right: auto;
  bottom: auto;
  width: auto;
  padding: 0;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  backdrop-filter: none;
}

.daily-report-card::before {
  display: none;
}

.daily-report-head {
  grid-column: 1 / -1;
  min-height: 82px;
  padding: 17px 19px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 20px 42px rgba(24, 42, 118, 0.16),
    inset 0 1px 0 #fff;
}

.daily-report-head time {
  padding: 8px 11px;
  font-size: 10px;
}

.daily-report-summary {
  grid-column: 1 / -1;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
}

.daily-report-summary > div {
  min-width: 0;
  min-height: 112px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 18px 38px rgba(24, 42, 118, 0.14),
    inset 0 1px 0 #fff;
}

.daily-report-summary > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.45);
}
.daily-report-summary small {
  font-size: 8px;
}
.daily-report-summary strong {
  margin-top: 7px;
  font-size: 20px;
}
.daily-report-summary span {
  margin-top: 6px;
  font-size: 8px;
}

.daily-report-insight {
  grid-column: 1 / 9;
  min-height: 92px;
  margin: 0;
  padding: 17px;
  border: 1px solid rgba(192, 225, 201, 0.94);
  border-radius: 18px;
  background: rgba(247, 253, 248, 0.96);
  box-shadow:
    0 18px 38px rgba(24, 42, 118, 0.13),
    inset 0 1px 0 #fff;
}

.daily-report-insight > span {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 18px;
}

.daily-report-insight small {
  font-size: 7px;
}
.daily-report-insight b {
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.35;
}

.daily-report-footer {
  grid-column: 9 / -1;
  min-height: 92px;
  margin: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  color: #d7defc;
  background: rgba(22, 39, 119, 0.31);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px);
  font-size: 8px;
}

.daily-report-footer b {
  padding: 8px 10px;
  border-radius: 9px;
  color: #3559dd;
  background: #fff;
  font-size: 8px;
  box-shadow: 0 8px 18px rgba(15, 29, 91, 0.14);
}

@media (max-width: 1000px) {
  .report-time-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
  }
  .report-visual {
    transform: none;
  }
  .ready-text {
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  .report-time {
    min-height: auto;
  }
  .report-time-grid {
    min-height: auto;
    padding-bottom: 78px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .report-time-copy {
    padding: 76px 10px 28px;
  }
  .report-visual {
    width: 100%;
    min-height: 0;
    padding: 0 10px;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    transform: none;
  }
  .notification-stack {
    grid-column: 1 / -1;
  }
  .ready-text {
    grid-column: 1 / -1;
    min-height: 74px;
    padding: 16px 18px;
    font-size: 17px;
  }
  .daily-report-card {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .daily-report-head {
    grid-column: 1 / -1;
  }
  .daily-report-summary {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .daily-report-summary > div {
    min-height: 104px;
  }
  .daily-report-summary > div:nth-child(3) {
    grid-column: 1 / -1;
  }
  .daily-report-insight {
    grid-column: 1 / -1;
  }
  .daily-report-footer {
    grid-column: 1 / -1;
    min-height: 84px;
  }
}

/* Mobile comparison — one horizontal scroller only */
@media (max-width: 760px) {
  .premium-comparison .comparison-stage {
    width: calc(100% - 24px);
    max-width: none;
    overflow: visible;
    scrollbar-width: none;
  }

  .premium-comparison .comparison-stage::-webkit-scrollbar {
    display: none;
  }

  .premium-comparison .comparison-board {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0;
    scrollbar-gutter: auto;
    scrollbar-width: thin;
    scrollbar-color: #8096ff rgba(255, 255, 255, 0.08);
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }

  .premium-comparison .comparison-board::-webkit-scrollbar {
    height: 9px;
  }
  .premium-comparison .comparison-board::-webkit-scrollbar-track {
    margin-inline: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
  }
  .premium-comparison .comparison-board::-webkit-scrollbar-thumb {
    min-width: 76px;
    border: 2px solid #111b3d;
    border-radius: 999px;
    background: linear-gradient(90deg, #7188ef, #91a5ff);
    box-shadow: 0 0 14px rgba(111, 137, 244, 0.34);
  }

  .premium-comparison .comparison-top,
  .premium-comparison .premium-compare-row {
    width: 670px;
    min-width: 670px;
  }

  .premium-comparison .comparison-outcome {
    width: 100%;
    min-width: 0;
  }
}

/* Feature bento — dedicated animated product SVGs */
.premium-features .feature-product-svg {
  display: block;
  max-width: none;
}

.premium-features .showcase-overlay {
  min-height: 690px;
}

.premium-features .feature-overlay-svg {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: -8px;
  width: calc(100% - 76px);
  height: 500px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 28px 34px rgba(37, 53, 94, 0.14));
}

.premium-features .showcase-quality,
.premium-features .showcase-live,
.premium-features .showcase-privacy {
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.premium-features .feature-small-svg {
  width: 100%;
  height: 230px;
  margin: auto auto 0;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 16px 24px rgba(38, 52, 88, 0.08));
}

@media (max-width: 760px) {
  .premium-features .showcase-overlay {
    min-height: 600px;
  }
  .premium-features .feature-overlay-svg {
    left: 18px;
    right: 18px;
    bottom: 12px;
    width: calc(100% - 36px);
    height: 390px;
  }
  .premium-features .showcase-quality,
  .premium-features .showcase-live,
  .premium-features .showcase-privacy {
    min-height: 390px;
  }
  .premium-features .feature-small-svg {
    height: 220px;
  }
}

/* Final CTA — keep platform labels and logos aligned on mobile */
.dark-cta-actions a {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  column-gap: 11px;
  line-height: 1;
  white-space: nowrap;
}

.dark-cta-actions a > span {
  display: block;
  line-height: 1;
}

.dark-cta-actions a img,
.dark-cta-actions .cta-woo img {
  width: auto;
  height: 28px;
  max-width: 118px;
  margin: 0;
  flex: 0 0 auto;
  object-fit: contain;
}

.dark-cta-actions .cta-woo img {
  width: 68px;
  height: auto;
}

.dark-cta-actions .cta-shopify img {
  width: auto;
  height: 27px;
  max-width: 108px;
}

@media (max-width: 760px) {
  .dark-cta-actions {
    width: min(100%, 360px);
    gap: 11px;
  }

  .dark-cta-actions a {
    width: 100%;
    min-width: 0;
    min-height: 62px;
    padding: 16px 22px;
    grid-template-columns: auto auto;
    column-gap: 11px;
    border-radius: 999px;
    font-size: 15px;
  }

  .dark-cta-actions .cta-woo img {
    width: 72px;
  }

  .dark-cta-actions .cta-shopify img {
    width: auto;
    height: 28px;
    max-width: 112px;
  }
}

/* Integrations CTA — placed below the cards */
.integrations-cta-row {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.integrations-cta-row .btn {
  min-width: 220px;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(42, 77, 211, 0.22);
}

@media (max-width: 760px) {
  .integrations-cta-row {
    width: calc(100% - 30px);
    margin-top: 22px;
  }

  .integrations-cta-row .btn {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 16px;
  }
}

/* Automated report — restore the original compact report card */
.report-time {
  min-height: 690px;
  background:
    radial-gradient(
      circle at 88% 58%,
      rgba(93, 133, 255, 0.42),
      transparent 30%
    ),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(120deg, #355eea, #5369ed);
  background-size:
    auto,
    56px 56px,
    56px 56px,
    auto;
}

.report-time-grid {
  min-height: 690px;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 70px;
}
.report-time-copy {
  padding-block: 80px;
}
.report-visual {
  position: relative;
  min-height: 530px;
  display: block;
  padding: 0;
  transform: none;
}
.notification-stack {
  position: absolute;
  left: 0;
  top: 57px;
  width: 88%;
  min-width: 0;
}
.report-notification.ghost-1,
.report-notification.ghost-2,
.report-notification.ghost-3 {
  display: grid;
}

.report-notification.active {
  position: absolute;
  top: 144px;
  width: 100%;
  min-height: 82px;
  opacity: 0.83;
  transform: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #fff;
  background: rgba(43, 65, 174, 0.38);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.report-notification.active small {
  color: #dce4ff;
}
.report-notification.active time {
  padding: 0;
  border-radius: 0;
  color: #cad5ff;
  background: transparent;
  font-weight: 400;
}

.ready-text {
  position: absolute;
  right: 10px;
  top: 95px;
  z-index: 3;
  min-height: 0;
  padding: 0;
  display: block;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: right;
  backdrop-filter: none;
}

.daily-report-card {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 22px;
  width: 415px;
  padding: 20px;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  color: #17243a;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 60px rgba(19, 34, 100, 0.28);
  transform: rotate(-2.5deg);
  backdrop-filter: blur(15px);
}

.daily-report-card::before {
  display: block;
}
.daily-report-head {
  min-height: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.daily-report-head time {
  padding: 6px 9px;
  font-size: 9px;
}

.daily-report-summary {
  margin-top: 17px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid #dfe6ee;
  border-radius: 13px;
}

.daily-report-summary > div {
  min-height: 0;
  padding: 13px;
  display: block;
  border: 0;
  border-right: 1px solid #dfe6ee;
  border-radius: 0;
  background: #f8fafc;
  box-shadow: none;
}
.daily-report-summary > div:last-child {
  border-right: 0;
}
.daily-report-summary small {
  font-size: 7px;
}
.daily-report-summary strong {
  margin-top: 5px;
  font-size: 15px;
}
.daily-report-summary span {
  margin-top: 4px;
  font-size: 7px;
}

.daily-report-insight {
  min-height: 0;
  margin-top: 12px;
  padding: 12px;
  display: flex;
  border: 1px solid #d5e3da;
  border-radius: 12px;
  background: #f3faf5;
  box-shadow: none;
}
.daily-report-insight > span {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  font-size: 14px;
}
.daily-report-insight small {
  font-size: 6px;
}
.daily-report-insight b {
  margin-top: 4px;
  font-size: 9px;
}

.daily-report-footer {
  min-height: 0;
  margin-top: 13px;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  border: 0;
  border-radius: 0;
  color: #8290a2;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  font-size: 7px;
}
.daily-report-footer b {
  padding: 0;
  border-radius: 0;
  color: #315fe3;
  background: transparent;
  box-shadow: none;
  font-size: 8px;
}

@media (max-width: 1000px) {
  .report-time-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .ready-text {
    font-size: 32px;
  }
}

@media (max-width: 760px) {
  .report-time {
    min-height: 1050px;
  }
  .report-time-grid {
    min-height: 1050px;
    padding-bottom: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .report-time-copy {
    padding: 75px 10px 15px;
  }
  .report-visual {
    width: auto;
    min-height: 520px;
    padding: 0;
    display: block;
    transform: scale(0.82);
    transform-origin: top center;
  }
  .notification-stack {
    left: 6%;
    width: 88%;
  }
  .ready-text {
    right: 5%;
    min-height: 0;
    padding: 0;
    font-size: 32px;
  }
  .daily-report-card {
    display: block;
    width: 415px;
  }
  .daily-report-summary {
    grid-template-columns: repeat(3, 1fr);
  }
  .daily-report-summary > div:nth-child(3) {
    grid-column: auto;
  }
}

/* Testimonials — original wall layout, only a slow horizontal drift */
@keyframes support-wall-horizontal-slow {
  from {
    transform: translateX(calc(-50% - 58px)) rotate(-8deg);
  }
  to {
    transform: translateX(calc(-50% + 58px)) rotate(-8deg);
  }
}

.support-cards-plane {
  animation: support-wall-horizontal-slow 72s ease-in-out infinite alternate;
}

@media (max-width: 760px) {
  .support-cards-plane {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-cards-plane {
    animation: none;
  }
}

/* Dedicated C17-inspired system canvas below the hero copy */
.hero {
  min-height: auto;
  padding-bottom: 0;
}

.hero > .interactive-overview {
  padding: 42px 0 82px;
  overflow: visible;
  background: transparent;
}

.hero-system-space {
  position: relative;
  padding: 72px 0 94px;
  overflow: hidden;
  background-color: #2857e7;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    radial-gradient(
      circle at 14% 12%,
      rgba(79, 157, 255, 0.48),
      transparent 31%
    ),
    radial-gradient(
      circle at 86% 72%,
      rgba(115, 102, 255, 0.42),
      transparent 32%
    ),
    linear-gradient(135deg, #2476ef 0%, #2853e9 52%, #3956df 100%);
  background-size:
    56px 56px,
    56px 56px,
    auto,
    auto,
    auto;
}

.hero-system-space::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 1px, transparent 1.2px);
  background-size: 20px 20px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 28%,
    #000 78%,
    transparent
  );
}

.hero-system-shell {
  position: relative;
  z-index: 1;
}

.system-space-label {
  width: fit-content;
  margin: 0 auto 24px;
  padding: 9px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #eef2ff;
  background: rgba(18, 48, 158, 0.28);
  box-shadow:
    0 10px 30px rgba(8, 28, 105, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.system-space-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #65c477;
  box-shadow: 0 0 0 5px rgba(101, 196, 119, 0.12);
}

.hero-system-space .product-stage {
  width: 100%;
  margin: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 38px 90px rgba(8, 25, 99, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-system-space .product-stage > img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 25px;
  background: transparent;
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-bottom: 68px;
  }
  .hero-system-space {
    padding: 34px 0 48px;
  }
  .hero-system-space .shell {
    width: calc(100% - 20px);
  }
  .system-space-label {
    margin-bottom: 16px;
    padding: 8px 12px;
    font-size: 8px;
  }
  .hero-system-space .product-stage {
    width: 100%;
    margin: 0;
    padding: 4px;
    border-radius: 17px;
  }
  .hero-system-space .product-stage > img {
    border-radius: 13px;
  }
}

/* Onboarding uses the same soft report background as the weekly-report section */
.premium-onboarding {
  background:
    radial-gradient(
      circle at 24% 70%,
      rgba(116, 101, 255, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 84% 28%,
      rgba(206, 220, 255, 0.35),
      transparent 27%
    ),
    linear-gradient(180deg, #f8fafc, #f3f6f9);
}

.premium-onboarding::before {
  opacity: 0.28;
  background-image: radial-gradient(
    rgba(33, 58, 88, 0.18) 0.65px,
    transparent 0.65px
  );
  background-size: 5px 5px;
  mask-image: none;
}

.premium-onboarding::after {
  opacity: 0;
  background: none;
}

/* Single blue CTA below onboarding cards */
.premium-onboarding .onboarding-proof {
  width: min(1220px, calc(100% - 40px));
  min-height: 0;
  margin-top: 34px;
  padding: 0;
  display: flex;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.premium-onboarding .onboarding-proof > div {
  display: none;
}

.premium-onboarding .onboarding-proof > a {
  width: min(420px, 100%);
  min-height: 66px;
  padding: 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(32, 68, 207, 0.18);
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #3766ee 0%, #2852df 100%);
  box-shadow:
    0 18px 38px rgba(43, 82, 222, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.premium-onboarding .onboarding-proof > a:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 46px rgba(43, 82, 222, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

@media (max-width: 760px) {
  .premium-onboarding .onboarding-proof {
    width: calc(100% - 28px);
    margin-top: 26px;
    display: flex;
  }
  .premium-onboarding .onboarding-proof > a {
    grid-column: auto;
    width: 100%;
    min-height: 60px;
  }
}

/* Daily report card — clean white Metorik-inspired tile */
.daily-report-card {
  right: 0;
  bottom: 18px;
  width: 450px;
  padding: 24px;
  border: 1px solid #e5e9f1;
  border-radius: 26px;
  color: #152039;
  background: #fff;
  box-shadow:
    0 26px 70px rgba(18, 35, 92, 0.22),
    0 2px 8px rgba(18, 35, 92, 0.08);
  transform: none;
  backdrop-filter: none;
}

.daily-report-card::before {
  display: none;
}

.daily-report-head {
  min-height: 58px;
  padding: 0 2px 18px;
  grid-template-columns: 48px 1fr auto;
  gap: 13px;
  border-bottom: 1px solid #edf0f5;
}

.daily-report-logo {
  width: 48px;
  height: 48px;
  border: 1px solid #e8ecf4;
  border-radius: 14px;
  background-color: #fff;
  background-position: 6px center;
  background-size: auto 44px;
  box-shadow: 0 8px 20px rgba(41, 66, 139, 0.09);
}

.daily-report-head small {
  color: #7d879b;
  font-size: 8px;
  letter-spacing: 1px;
}
.daily-report-head b {
  margin-top: 5px;
  font-size: 17px;
  letter-spacing: -0.3px;
}
.daily-report-head time {
  padding: 8px 12px;
  border: 1px solid #e2e8fb;
  border-radius: 11px;
  color: #315fe3;
  background: #f3f6ff;
  font-size: 11px;
}

.daily-report-summary {
  margin-top: 16px;
  gap: 10px;
  overflow: visible;
  border: 0;
  border-radius: 0;
}

.daily-report-summary > div {
  min-height: 92px;
  padding: 15px;
  border: 1px solid #e7ebf2;
  border-radius: 15px;
  background: #fafbfe;
  box-shadow: inset 0 1px 0 #fff;
}

.daily-report-summary > div:last-child {
  border-right: 1px solid #e7ebf2;
}
.daily-report-summary small {
  color: #8993a7;
  font-size: 8px;
}
.daily-report-summary strong {
  margin-top: 8px;
  font-size: 18px;
  letter-spacing: -0.6px;
}
.daily-report-summary span {
  margin-top: 7px;
  color: #5aa968;
  font-size: 8px;
}

.daily-report-insight {
  margin-top: 12px;
  padding: 15px;
  gap: 13px;
  border: 1px solid #dcebdd;
  border-radius: 15px;
  background: #f4faf5;
}

.daily-report-insight > span {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #65ad6d;
  font-size: 17px;
}
.daily-report-insight small {
  color: #719c76;
  font-size: 7px;
  letter-spacing: 0.7px;
}
.daily-report-insight b {
  margin-top: 5px;
  font-size: 11px;
}

.daily-report-footer {
  margin-top: 16px;
  padding: 0 2px;
  color: #929caf;
  font-size: 8px;
}
.daily-report-footer b {
  padding: 8px 11px;
  border-radius: 9px;
  color: #315fe3;
  background: #f1f5ff;
  font-size: 9px;
}

@media (max-width: 760px) {
  .daily-report-card {
    width: 415px;
    padding: 20px;
    border-radius: 22px;
  }
}

/* Weekly report — authentic metric cards reused from the Klientometr panel */
.panel-card-showcase {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(203, 213, 225, 0.86);
  border-radius: 24px;
  background: rgba(248, 250, 252, 0.92);
  box-shadow:
    0 28px 70px rgba(31, 47, 79, 0.13),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(14px);
}

.panel-card-showcase::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(91, 112, 225, 0.1);
  filter: blur(12px);
  pointer-events: none;
}

.panel-showcase-head,
.panel-showcase-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-showcase-head {
  padding: 1px 2px 15px;
}
.panel-showcase-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-showcase-head > div > span:last-child {
  display: flex;
  flex-direction: column;
}
.panel-showcase-head b {
  color: #172033;
  font-size: 13px;
  line-height: 1.2;
}
.panel-showcase-head small {
  margin-top: 3px;
  color: #8791a3;
  font-size: 9px;
}

.panel-showcase-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dfe6f4;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 7px 16px rgba(43, 68, 132, 0.1);
}
.panel-showcase-mark img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  filter: none;
}

.panel-showcase-period {
  padding: 7px 9px;
  border: 1px solid #e1e6ef;
  border-radius: 7px;
  color: #667085;
  background: rgba(255, 255, 255, 0.86);
  font-size: 9px;
  font-weight: 650;
}

.panel-metrics-grid {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.panel-metric-card {
  min-width: 0;
  min-height: 139px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.035);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}
.panel-metric-card:hover {
  z-index: 2;
  border-color: #d2d9e5;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.075);
}

.panel-metric-label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #647084;
  font-size: 10px;
  font-weight: 700;
}
.panel-metric-label > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.panel-source-woo {
  width: auto;
  height: 15px;
  max-width: 32px;
  object-fit: contain;
}
.panel-source-meta {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.panel-source-combined > span:first-child {
  display: flex;
  align-items: center;
}
.panel-source-combined > span:first-child img:first-child {
  z-index: 1;
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.panel-source-combined > span:first-child img:last-child {
  width: auto;
  height: 14px;
  max-width: 28px;
  margin-left: -4px;
  object-fit: contain;
}

.panel-metric-value {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.panel-metric-value strong {
  min-width: 0;
  overflow: hidden;
  color: #1e293b;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1;
  letter-spacing: -1.15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.panel-metric-value span {
  flex: 0 0 auto;
  padding: 4px 6px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
}
.panel-metric-value .is-up {
  border-color: #ccefdc;
  color: #18794e;
  background: #ecfdf3;
}
.panel-metric-value .is-down {
  border-color: #fed7aa;
  color: #c2410c;
  background: #fff7ed;
}

.panel-metric-progress {
  height: 5px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f5;
}
.panel-metric-progress i {
  width: var(--progress);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #24b47e;
}
.panel-metric-progress.is-down i {
  background: #f97316;
}
.panel-metric-previous {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #98a2b3;
  font-size: 8px;
  font-weight: 600;
}
.panel-metric-previous b {
  color: #667085;
  font-size: inherit;
}

.panel-showcase-foot {
  margin-top: 13px;
  padding: 11px 3px 0;
  border-top: 1px solid #e4e9f1;
  color: #8b95a7;
  font-size: 8px;
}
.panel-showcase-foot span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.panel-showcase-foot i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #26b47e;
  box-shadow: 0 0 0 3px rgba(38, 180, 126, 0.12);
}
.panel-showcase-foot b {
  color: #687386;
  font-size: inherit;
}

@media (max-width: 1020px) {
  .panel-card-showcase {
    max-width: 700px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .panel-card-showcase {
    padding: 11px;
    border-radius: 19px;
  }
  .panel-showcase-head {
    padding: 3px 2px 12px;
  }
  .panel-showcase-head small {
    display: none;
  }
  .panel-showcase-period {
    padding: 6px 7px;
    font-size: 8px;
  }
  .panel-metrics-grid {
    gap: 7px;
  }
  .panel-metric-card {
    min-height: 121px;
    padding: 11px;
    border-radius: 12px;
  }
  .panel-metric-label {
    gap: 5px;
    font-size: 8px;
  }
  .panel-source-woo {
    height: 12px;
    max-width: 27px;
  }
  .panel-source-meta,
  .panel-source-combined > span:first-child img:first-child {
    width: 13px;
    height: 13px;
  }
  .panel-source-combined > span:first-child img:last-child {
    height: 11px;
  }
  .panel-metric-value {
    margin-top: 9px;
    gap: 4px;
  }
  .panel-metric-value strong {
    font-size: clamp(16px, 5vw, 22px);
    letter-spacing: -0.8px;
  }
  .panel-metric-value span {
    padding: 3px 4px;
    font-size: 7px;
  }
  .panel-metric-progress {
    margin-top: 11px;
  }
  .panel-showcase-foot {
    padding-inline: 2px;
  }
}

@media (max-width: 760px) {
  .weekly-grid {
    min-width: 0;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .weekly-grid > * {
    min-width: 0;
    max-width: 100%;
  }
}

/* Daily report — white modular Metorik-style tile system */
.report-visual .daily-report-card {
  width: 470px;
  padding: 16px;
  border: 1px solid rgba(220, 227, 240, 0.96);
  border-radius: 22px;
  color: #172033;
  background: rgba(247, 249, 253, 0.98);
  box-shadow:
    0 30px 80px rgba(18, 35, 92, 0.22),
    0 7px 22px rgba(18, 35, 92, 0.1),
    inset 0 1px 0 #fff;
  transform: none;
}

.report-visual .daily-report-head {
  min-height: 72px;
  padding: 11px 13px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 13px;
  border: 1px solid #e4e9f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(31, 52, 104, 0.045);
}

.report-visual .daily-report-logo {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 13px;
  background-color: #eef3ff;
  background-position: 6px center;
  background-size: auto 44px;
  box-shadow: none;
}

.report-visual .daily-report-head small {
  color: #7c879a;
  font-size: 8px;
  letter-spacing: 1.15px;
}
.report-visual .daily-report-head b {
  margin-top: 5px;
  color: #172033;
  font-size: 18px;
  letter-spacing: -0.45px;
}
.report-visual .daily-report-head time {
  position: relative;
  padding: 8px 11px 8px 24px;
  border: 1px solid #dce5ff;
  border-radius: 999px;
  color: #2859de;
  background: #f1f5ff;
  font-size: 10px;
  font-weight: 800;
}
.report-visual .daily-report-head time::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #58bd73;
  box-shadow: 0 0 0 3px rgba(88, 189, 115, 0.13);
  transform: translateY(-50%);
}

.report-visual .daily-report-summary {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  overflow: visible;
  border: 0;
}

.report-visual .daily-report-summary > div {
  position: relative;
  min-width: 0;
  min-height: 108px;
  overflow: hidden;
  padding: 17px 14px 13px;
  border: 1px solid #e4e9f2;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(31, 52, 104, 0.04);
}
.report-visual .daily-report-summary > div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #4f72e8;
}
.report-visual .daily-report-summary > div:nth-child(2)::before {
  background: #8a6ee8;
}
.report-visual .daily-report-summary > div:nth-child(3)::before {
  background: #55b86e;
}
.report-visual .daily-report-summary > div:last-child {
  border-right: 1px solid #e4e9f2;
}
.report-visual .daily-report-summary small {
  color: #8792a5;
  font-size: 8px;
  font-weight: 700;
}
.report-visual .daily-report-summary strong {
  margin-top: 10px;
  overflow: hidden;
  color: #172033;
  font-size: 20px;
  letter-spacing: -0.75px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.report-visual .daily-report-summary span {
  width: max-content;
  margin-top: 8px;
  padding: 3px 6px;
  border-radius: 999px;
  color: #31894c;
  background: #eef9f1;
  font-size: 8px;
  font-weight: 800;
}

.report-visual .daily-report-insight {
  margin-top: 10px;
  padding: 14px;
  gap: 13px;
  border: 1px solid #e1e7f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(31, 52, 104, 0.04);
}
.report-visual .daily-report-insight > span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #315fe3;
  background: #eef3ff;
  box-shadow: inset 0 0 0 1px #dce5ff;
  font-size: 18px;
}
.report-visual .daily-report-insight small {
  color: #5872bc;
  font-size: 7px;
  letter-spacing: 0.85px;
}
.report-visual .daily-report-insight b {
  margin-top: 5px;
  color: #26324a;
  font-size: 11px;
}

.report-visual .daily-report-footer {
  margin-top: 10px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  color: #8a94a5;
  font-size: 8px;
}
.report-visual .daily-report-footer > span {
  position: relative;
  padding: 9px 10px 9px 25px;
  border: 1px solid #eee5cf;
  border-radius: 11px;
  background: #fffaf0;
}
.report-visual .daily-report-footer > span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e2a83b;
  transform: translateY(-50%);
}
.report-visual .daily-report-footer b {
  padding: 10px 12px;
  border: 1px solid #315fe3;
  border-radius: 11px;
  color: #fff;
  background: #315fe3;
  box-shadow: 0 7px 16px rgba(49, 95, 227, 0.18);
  font-size: 9px;
}

@media (max-width: 760px) {
  .report-visual .daily-report-card {
    width: 420px;
    padding: 13px;
    border-radius: 19px;
  }
  .report-visual .daily-report-head {
    min-height: 66px;
    padding: 9px 10px;
  }
  .report-visual .daily-report-summary {
    gap: 7px;
  }
  .report-visual .daily-report-summary > div {
    min-height: 101px;
    padding: 15px 11px 11px;
  }
  .report-visual .daily-report-summary strong {
    font-size: 18px;
  }
}

/* The same metric-card anatomy used by the real Overview dashboard */
.report-visual .daily-report-summary > .panel-metric-card {
  min-width: 0;
  min-height: 132px;
  padding: 13px;
  border: 1px solid #e4e9f2;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(31, 52, 104, 0.04);
}

.report-visual .daily-report-summary .panel-metric-label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #647084;
  font-size: 7.5px;
  font-weight: 700;
}
.report-visual .daily-report-summary .panel-metric-label > span:last-child {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  color: inherit;
  background: none;
  font: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.report-visual .daily-report-summary .panel-source-woo {
  height: 11px;
  max-width: 25px;
}
.report-visual .daily-report-summary .panel-source-combined > span:first-child {
  width: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
}
.report-visual
  .daily-report-summary
  .panel-source-combined
  > span:first-child
  img:first-child {
  width: 12px;
  height: 12px;
}
.report-visual
  .daily-report-summary
  .panel-source-combined
  > span:first-child
  img:last-child {
  height: 10px;
  max-width: 22px;
}

.report-visual .daily-report-summary .panel-metric-value {
  margin-top: 11px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
}
.report-visual .daily-report-summary .panel-metric-value strong {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #1e293b;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.65px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.report-visual .daily-report-summary .panel-metric-value > span {
  width: max-content;
  margin: 0;
  padding: 3px 5px;
  border: 1px solid #ccefdc;
  border-radius: 999px;
  color: #18794e;
  background: #ecfdf3;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}

.report-visual .daily-report-summary .panel-metric-progress {
  width: auto;
  height: 4px;
  margin: 12px 0 0;
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f5;
}
.report-visual .daily-report-summary .panel-metric-progress i {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: #24b47e;
}
.report-visual .daily-report-summary .panel-metric-previous {
  width: auto;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 4px;
  border-radius: 0;
  color: #98a2b3;
  background: none;
  font-size: 7px;
  font-weight: 600;
}
.report-visual .daily-report-summary .panel-metric-previous > span {
  width: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  color: inherit;
  background: none;
  font: inherit;
}
.report-visual .daily-report-summary .panel-metric-previous b {
  color: #667085;
  font-size: inherit;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .report-visual .daily-report-summary > .panel-metric-card {
    min-height: 124px;
    padding: 10px;
  }
  .report-visual .daily-report-summary .panel-metric-value strong {
    font-size: 16px;
  }
  .report-visual .daily-report-summary .panel-metric-value > span {
    padding-inline: 4px;
    font-size: 6px;
  }
}

/* Campaign monitor: remove the empty mobile space left by the hidden activity feed */
@media (max-width: 760px) {
  .campaign-alerts {
    min-height: auto;
    padding-bottom: 28px;
  }
  .campaign-alerts .alerts-grid {
    min-height: auto;
  }
  .campaign-alerts .alerts-visual {
    min-height: 405px;
  }
}

/* Pricing volume selector — Gray-style dependency, Klientometr card language */
.pricing-volume {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-top: 46px;
  padding: 20px 24px 17px;
  border: 1px solid #d7e0eb;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 18px 44px rgba(53, 65, 104, 0.08),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(12px);
}

.pricing-volume-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.pricing-volume-head > div {
  display: flex;
  flex-direction: column;
}
.pricing-volume-head small {
  color: #728096;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 1px;
}
.pricing-volume-head strong {
  margin-top: 5px;
  color: #18243a;
  font-size: 18px;
  letter-spacing: -0.45px;
}
.pricing-volume-head > span {
  color: #8793a5;
  font-size: 10px;
}

.pricing-volume input[type="range"] {
  --pricing-progress: 20%;
  width: 100%;
  height: 8px;
  margin: 22px 0 0;
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(
    90deg,
    #315fe3 0 var(--pricing-progress),
    #e4e9f1 var(--pricing-progress) 100%
  );
  cursor: pointer;
}
.pricing-volume input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  appearance: none;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #315fe3;
  box-shadow: 0 3px 12px rgba(49, 95, 227, 0.35);
}
.pricing-volume input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #315fe3;
  box-shadow: 0 3px 12px rgba(49, 95, 227, 0.35);
}
.pricing-volume-labels {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  color: #9aa4b3;
  font-size: 9px;
  font-weight: 700;
}
.pricing-volume-labels span {
  text-align: center;
  transition:
    color 0.18s ease,
    font-weight 0.18s ease;
}
.pricing-volume-labels span:first-child {
  text-align: left;
}
.pricing-volume-labels span:last-child {
  text-align: right;
}
.pricing-volume-labels span.is-active {
  color: #315fe3;
  font-weight: 850;
}

.pricing-cards.pricing-cards-three {
  max-width: 1280px;
  margin-top: 40px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.pricing-cards-three .pricing-tier {
  min-width: 0;
  min-height: 610px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.pricing-cards-three .pricing-pro {
  padding: 36px 32px 32px;
}
.pricing-cards-three .tier-price {
  margin-top: 30px;
}
.pricing-cards-three .tier-price strong {
  font-size: 35px;
}
.pricing-cards-three .pricing-tier > p {
  min-height: 88px;
}
.pricing-cards-three .pricing-tier ul {
  margin-bottom: 20px;
}
.pricing-scale {
  border-color: #cbd8eb;
  background: rgba(255, 255, 255, 0.94);
}
.tier-icon-scale {
  color: #2f9a5b;
  background: #edf9f1;
}
.tier-volume-note {
  margin-top: auto;
  padding-top: 17px;
  display: block;
  border-top: 1px solid #e5eaf1;
  color: #77859a;
  text-align: center;
  font-size: 9px;
  font-weight: 750;
}
.pricing-pro .tier-volume-note {
  border-top-color: rgba(255, 255, 255, 0.16);
  color: #bfd0f8;
}

@media (max-width: 1050px) {
  .pricing-cards.pricing-cards-three {
    max-width: 760px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pricing-cards-three .pricing-tier,
  .pricing-cards-three .pricing-pro {
    min-height: 0;
    padding: 32px;
    transform: none;
  }
  .pricing-cards-three .pricing-tier > p {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .pricing-volume {
    width: calc(100% - 32px);
    margin-top: 36px;
    padding: 18px 16px 15px;
  }
  .pricing-volume-head {
    align-items: flex-start;
  }
  .pricing-volume-head strong {
    font-size: 16px;
  }
  .pricing-volume-head > span {
    display: none;
  }
  .pricing-volume-labels {
    font-size: 7px;
  }
  .pricing-cards.pricing-cards-three {
    width: calc(100% - 32px);
    margin-top: 32px;
  }
  .pricing-cards-three .pricing-tier,
  .pricing-cards-three .pricing-pro {
    padding: 28px;
  }
}

/* Mobile daily report: expose the message and the full report history stack */
@media (max-width: 760px) {
  .report-time,
  .report-time-grid {
    min-height: 1180px;
  }

  .report-visual {
    min-height: 820px;
  }

  .report-visual .notification-stack {
    top: 18px;
    left: 4%;
    width: 92%;
  }

  .report-visual .report-notification.ghost-3 {
    top: -38px;
    opacity: 0.17;
  }
  .report-visual .report-notification.ghost-2 {
    top: 38px;
    opacity: 0.29;
  }
  .report-visual .report-notification.ghost-1 {
    top: 114px;
    opacity: 0.48;
  }
  .report-visual .report-notification.active {
    top: 190px;
    opacity: 0.8;
  }

  .report-visual .ready-text {
    top: 244px;
    right: 4%;
    left: 4%;
    width: auto;
    font-size: 34px;
    line-height: 1.04;
  }

  .report-visual .daily-report-card {
    top: 372px;
    right: auto;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Campaign monitor — staged reveal when the section enters the viewport */
.campaign-alerts.monitor-motion-ready .alerts-visual {
  opacity: 0;
  translate: 0 34px;
  filter: blur(5px);
  transition:
    opacity 0.72s ease,
    translate 0.9s cubic-bezier(0.2, 0.75, 0.2, 1),
    filter 0.72s ease;
}

.campaign-alerts.monitor-motion-ready.monitor-in-view .alerts-visual {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
}

.campaign-alerts.monitor-motion-ready .alert-dashboard-head,
.campaign-alerts.monitor-motion-ready .alert-dashboard-title,
.campaign-alerts.monitor-motion-ready .alert-dashboard-kpis > div,
.campaign-alerts.monitor-motion-ready .alert-chart,
.campaign-alerts.monitor-motion-ready .alert-recommendation {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity 0.52s ease,
    translate 0.7s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.campaign-alerts.monitor-in-view .alert-dashboard-head {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.18s;
}
.campaign-alerts.monitor-in-view .alert-dashboard-title {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.3s;
}
.campaign-alerts.monitor-in-view .alert-dashboard-kpis > div {
  opacity: 1;
  translate: 0 0;
}
.campaign-alerts.monitor-in-view .alert-dashboard-kpis > div:nth-child(1) {
  transition-delay: 0.42s;
}
.campaign-alerts.monitor-in-view .alert-dashboard-kpis > div:nth-child(2) {
  transition-delay: 0.52s;
}
.campaign-alerts.monitor-in-view .alert-dashboard-kpis > div:nth-child(3) {
  transition-delay: 0.62s;
}
.campaign-alerts.monitor-in-view .alert-chart {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.7s;
}
.campaign-alerts.monitor-in-view .alert-recommendation {
  opacity: 1;
  translate: 0 0;
  transition-delay: 1.36s;
}

.campaign-alerts.monitor-motion-ready .alert-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.campaign-alerts.monitor-in-view .alert-line {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.35s cubic-bezier(0.25, 0.7, 0.25, 1) 0.82s;
}

.campaign-alerts.monitor-motion-ready .alert-area {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}

.campaign-alerts.monitor-in-view .alert-area {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition:
    clip-path 1.25s cubic-bezier(0.25, 0.7, 0.25, 1) 0.9s,
    opacity 0.35s ease 0.9s;
}

.campaign-alerts.monitor-motion-ready .alert-chart-note {
  opacity: 0;
  scale: 0.88;
  translate: 12px -8px;
}

.campaign-alerts.monitor-in-view .alert-chart-note {
  opacity: 1;
  scale: 1;
  translate: 0 0;
  transition:
    opacity 0.4s ease 1.72s,
    scale 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 1.72s,
    translate 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 1.72s;
}

.campaign-alerts.monitor-in-view .alert-dashboard-head em i {
  animation: monitor-live-pulse 1.8s ease-in-out 1.2s infinite;
}

@keyframes monitor-live-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(102, 217, 145, 0.34);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(102, 217, 145, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .campaign-alerts.monitor-motion-ready .alerts-visual,
  .campaign-alerts.monitor-motion-ready .alert-dashboard-head,
  .campaign-alerts.monitor-motion-ready .alert-dashboard-title,
  .campaign-alerts.monitor-motion-ready .alert-dashboard-kpis > div,
  .campaign-alerts.monitor-motion-ready .alert-chart,
  .campaign-alerts.monitor-motion-ready .alert-recommendation,
  .campaign-alerts.monitor-motion-ready .alert-chart-note,
  .campaign-alerts.monitor-motion-ready .alert-area,
  .campaign-alerts.monitor-motion-ready .alert-line {
    opacity: 1;
    translate: none;
    scale: none;
    filter: none;
    clip-path: none;
    stroke-dashoffset: 0;
    transition: none;
    animation: none;
  }
}

/* Onboarding v3 — final precedence over legacy onboarding layers */
.premium-onboarding .onboarding-flow {
  width: min(1240px, calc(100% - 40px));
  max-width: 1240px;
  margin-top: 62px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.premium-onboarding .onboarding-step,
.premium-onboarding .onboarding-step:nth-child(3),
.premium-onboarding .onboarding-step:nth-of-type(3) {
  width: auto;
  min-height: 570px;
  padding: 18px;
  grid-column: auto;
  border: 1px solid #dbe3ee;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 24px 60px rgba(31, 47, 81, 0.1),
    inset 0 1px 0 #fff;
}

.premium-onboarding .step-meta {
  margin: 2px 3px 16px;
}

.premium-onboarding .onboarding-visual.simple-workflow,
.premium-onboarding
  .onboarding-step:nth-child(3)
  .onboarding-visual.simple-workflow {
  width: 100%;
  height: 246px;
  min-height: 246px;
  padding: 35px 18px 49px;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
  gap: 8px;
  border: 1px solid rgba(118, 141, 244, 0.3);
  border-radius: 19px;
  background:
    radial-gradient(
      circle at 82% 8%,
      rgba(91, 119, 255, 0.18),
      transparent 30%
    ),
    radial-gradient(rgba(126, 148, 243, 0.15) 0.7px, transparent 0.7px),
    linear-gradient(145deg, #15224a, #0f1937);
  background-size:
    auto,
    7px 7px,
    auto;
  box-shadow:
    0 18px 36px rgba(22, 38, 86, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium-onboarding .simple-workflow::before {
  width: 190px;
  height: 130px;
  background: color-mix(in srgb, var(--step-accent) 28%, transparent);
  opacity: 0.8;
  filter: blur(38px);
}

.premium-onboarding .workflow-sources > span,
.premium-onboarding .workflow-event,
.premium-onboarding .workflow-target {
  border-color: rgba(219, 227, 242, 0.96);
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 12px 28px rgba(5, 15, 51, 0.24),
    inset 0 1px 0 #fff;
}

.premium-onboarding .workflow-sources > span {
  height: 50px;
}
.premium-onboarding .workflow-target,
.premium-onboarding .workflow-event {
  min-height: 110px;
}

.premium-onboarding .workflow-route {
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(119, 143, 255, 0.22),
    #7b93ff 50%,
    rgba(119, 143, 255, 0.45)
  );
  box-shadow: 0 0 12px rgba(91, 119, 255, 0.28);
}

.premium-onboarding .workflow-route::after {
  border-color: #7b93ff;
  background: #16234a;
  box-shadow: 0 0 0 4px rgba(123, 147, 255, 0.17);
}

.premium-onboarding .workflow-confirm {
  bottom: 17px;
  padding: 7px 10px;
  border: 1px solid rgba(117, 211, 152, 0.22);
  border-radius: 999px;
  color: #d6e3ff;
  background: rgba(8, 17, 44, 0.72);
  box-shadow: 0 8px 18px rgba(4, 12, 36, 0.2);
  backdrop-filter: blur(8px);
}

.premium-onboarding .onboarding-copy,
.premium-onboarding .onboarding-step:nth-child(3) .onboarding-copy {
  padding: 24px 8px 7px;
}

.premium-onboarding .onboarding-copy h3 {
  margin-top: 11px;
  font-size: 28px;
  letter-spacing: -1.3px;
}

.premium-onboarding .onboarding-copy p {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.58;
}

@media (max-width: 980px) {
  .premium-onboarding .onboarding-flow {
    grid-template-columns: 1fr;
  }
  .premium-onboarding .onboarding-step,
  .premium-onboarding .onboarding-step:nth-child(3),
  .premium-onboarding .onboarding-step:nth-of-type(3) {
    width: 100%;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .premium-onboarding .onboarding-flow {
    width: calc(100% - 28px);
    margin-top: 44px;
    gap: 16px;
  }
  .premium-onboarding .onboarding-step,
  .premium-onboarding .onboarding-step:nth-child(3),
  .premium-onboarding .onboarding-step:nth-of-type(3) {
    padding: 15px;
    border-radius: 22px;
  }
  .premium-onboarding .onboarding-visual.simple-workflow,
  .premium-onboarding
    .onboarding-step:nth-child(3)
    .onboarding-visual.simple-workflow {
    height: 252px;
    min-height: 252px;
    padding: 34px 17px 50px;
    grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
    gap: 7px;
    border-radius: 17px;
  }
  .premium-onboarding .onboarding-head h2 br {
    display: block;
  }
  .premium-onboarding .onboarding-head h2 em {
    display: block;
    margin-top: 5px;
  }
}

/* Keep every onboarding workflow canvas light after all component overrides. */
.premium-onboarding .onboarding-step .onboarding-visual.simple-workflow {
  border-color: #d9e1ec !important;
  background-color: #f5f7fa !important;
  background-image:
    radial-gradient(
      circle at 76% 16%,
      color-mix(in srgb, var(--step-accent) 12%, transparent),
      transparent 34%
    ),
    radial-gradient(#d8e0eb 0.8px, transparent 0.8px),
    linear-gradient(145deg, #ffffff, #eef2f6) !important;
  background-size:
    auto,
    7px 7px,
    auto;
  box-shadow:
    0 16px 34px rgba(36, 50, 78, 0.1),
    inset 0 1px 0 #fff !important;
}

.premium-onboarding .onboarding-step .simple-workflow .workflow-sources > span,
.premium-onboarding .onboarding-step .simple-workflow .workflow-event,
.premium-onboarding .onboarding-step .simple-workflow .workflow-target {
  border-color: #dce3ed;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 10px 24px rgba(36, 50, 78, 0.1),
    inset 0 1px 0 #fff;
}

.premium-onboarding .onboarding-step .simple-workflow .workflow-route {
  background: linear-gradient(90deg, #d2d9e5, var(--step-accent) 50%, #d2d9e5);
  box-shadow: 0 0 10px color-mix(in srgb, var(--step-accent) 20%, transparent);
}

.premium-onboarding .onboarding-step .simple-workflow .workflow-route::after {
  border-color: var(--step-accent);
  background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--step-accent) 14%, transparent);
}

.premium-onboarding .onboarding-step .simple-workflow .workflow-confirm {
  border-color: #d5e8dc;
  color: #405067;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(36, 50, 78, 0.1);
}

/* Larger workflow content inside the three onboarding cards. */
.premium-onboarding .onboarding-step .simple-workflow .workflow-sources > span {
  height: 60px;
  padding: 11px 13px;
}

.premium-onboarding .onboarding-step .simple-workflow .workflow-sources img {
  max-width: 126px;
  max-height: 38px;
}

.premium-onboarding .onboarding-step .simple-workflow .workflow-target,
.premium-onboarding .onboarding-step .simple-workflow .workflow-event {
  min-height: 126px;
  padding: 18px 14px;
}

.premium-onboarding .onboarding-step .simple-workflow .workflow-target img {
  width: 53px;
  height: 53px;
}

.premium-onboarding .onboarding-step .simple-workflow .workflow-target b {
  font-size: 13px;
}
.premium-onboarding .onboarding-step .simple-workflow .workflow-target small {
  font-size: 9px;
}
.premium-onboarding .onboarding-step .simple-workflow .workflow-event small,
.premium-onboarding .onboarding-step .simple-workflow .roas-target small {
  font-size: 8px;
}
.premium-onboarding .onboarding-step .simple-workflow .workflow-event b {
  font-size: 19px;
}
.premium-onboarding .onboarding-step .simple-workflow .workflow-event span {
  font-size: 9px;
}
.premium-onboarding .onboarding-step .simple-workflow .roas-target strong {
  font-size: 31px;
}
.premium-onboarding .onboarding-step .simple-workflow .roas-target b {
  font-size: 8px;
}
.premium-onboarding .onboarding-step .simple-workflow .workflow-confirm {
  min-height: 27px;
  padding: 7px 12px;
  font-size: 9px;
}

/* Landing-page motion system */
body.lp-motion-ready .nav {
  animation: lp-nav-in 0.65s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

body.lp-motion-ready .hero-copy > * {
  animation: lp-hero-in 0.72s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

body.lp-motion-ready .hero-copy > :nth-child(1) {
  animation-delay: 0.08s;
}
body.lp-motion-ready .hero-copy > :nth-child(2) {
  animation-delay: 0.16s;
}
body.lp-motion-ready .hero-copy > :nth-child(3) {
  animation-delay: 0.25s;
}
body.lp-motion-ready .hero-copy > :nth-child(4) {
  animation-delay: 0.34s;
}
body.lp-motion-ready .hero-copy > :nth-child(5) {
  animation-delay: 0.43s;
}

body.lp-motion-ready .hero .mini-overview-panel {
  animation: lp-panel-in 0.95s cubic-bezier(0.16, 0.82, 0.2, 1) 0.48s both;
}

body.lp-motion-ready .hero .mini-overview-metrics article {
  animation: lp-card-in 0.55s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

body.lp-motion-ready .hero .mini-overview-metrics article:nth-child(1) {
  animation-delay: 0.82s;
}
body.lp-motion-ready .hero .mini-overview-metrics article:nth-child(2) {
  animation-delay: 0.89s;
}
body.lp-motion-ready .hero .mini-overview-metrics article:nth-child(3) {
  animation-delay: 0.96s;
}
body.lp-motion-ready .hero .mini-overview-metrics article:nth-child(4) {
  animation-delay: 1.03s;
}

body.lp-motion-ready .hero .mini-overview-metrics article > i b {
  transform: scaleX(0);
  transform-origin: left;
  animation: lp-progress-in 0.8s cubic-bezier(0.2, 0.75, 0.2, 1) 1.12s forwards;
}

body.lp-motion-ready .hero .mini-chart-line {
  clip-path: inset(0 100% 0 0);
  animation: lp-chart-reveal 1.45s cubic-bezier(0.25, 0.7, 0.25, 1) 1.05s
    forwards;
}

body.lp-motion-ready .hero .mini-chart-area {
  opacity: 0;
  animation: lp-area-in 0.7s ease 1.65s forwards;
}

body.lp-motion-ready .lp-reveal {
  opacity: 0;
  translate: 0 30px;
  filter: blur(4px);
  transition:
    opacity 0.68s ease var(--lp-delay, 0ms),
    translate 0.82s cubic-bezier(0.2, 0.75, 0.2, 1) var(--lp-delay, 0ms),
    filter 0.68s ease var(--lp-delay, 0ms);
}

body.lp-motion-ready .lp-reveal.is-visible {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
}

body.lp-motion-ready .onboarding-step.lp-reveal .workflow-sources,
body.lp-motion-ready .onboarding-step.lp-reveal .workflow-event,
body.lp-motion-ready .onboarding-step.lp-reveal .workflow-target,
body.lp-motion-ready .onboarding-step.lp-reveal .workflow-confirm {
  opacity: 0;
  scale: 0.94;
  transition:
    opacity 0.45s ease 0.28s,
    scale 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.28s;
}

body.lp-motion-ready .onboarding-step.lp-reveal.is-visible .workflow-sources,
body.lp-motion-ready .onboarding-step.lp-reveal.is-visible .workflow-event,
body.lp-motion-ready .onboarding-step.lp-reveal.is-visible .workflow-target,
body.lp-motion-ready .onboarding-step.lp-reveal.is-visible .workflow-confirm {
  opacity: 1;
  scale: 1;
}

@keyframes lp-nav-in {
  from {
    opacity: 0;
    translate: 0 -16px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes lp-hero-in {
  from {
    opacity: 0;
    translate: 0 22px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes lp-panel-in {
  from {
    opacity: 0;
    translate: 0 46px;
    scale: 0.975;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

@keyframes lp-card-in {
  from {
    opacity: 0;
    translate: 0 16px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes lp-progress-in {
  to {
    transform: scaleX(1);
  }
}
@keyframes lp-chart-reveal {
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes lp-area-in {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.lp-motion-ready .nav,
  body.lp-motion-ready .hero-copy > *,
  body.lp-motion-ready .hero .mini-overview-panel,
  body.lp-motion-ready .hero .mini-overview-metrics article,
  body.lp-motion-ready .hero .mini-overview-metrics article > i b,
  body.lp-motion-ready .hero .mini-chart-line,
  body.lp-motion-ready .hero .mini-chart-area {
    animation: none;
    opacity: 1;
    translate: none;
    scale: 1;
    transform: none;
    clip-path: none;
  }

  body.lp-motion-ready .lp-reveal,
  body.lp-motion-ready .onboarding-step.lp-reveal .workflow-sources,
  body.lp-motion-ready .onboarding-step.lp-reveal .workflow-event,
  body.lp-motion-ready .onboarding-step.lp-reveal .workflow-target,
  body.lp-motion-ready .onboarding-step.lp-reveal .workflow-confirm {
    opacity: 1;
    translate: none;
    scale: 1;
    filter: none;
    transition: none;
  }
}
