.mkt-home-pricing {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(84, 131, 226, 0.16);
  border-bottom: 1px solid rgba(84, 131, 226, 0.16);
  background:
    radial-gradient(circle at 50% 0%, rgba(24, 132, 255, 0.14), transparent 42%),
    linear-gradient(180deg, #071127 0%, #030918 100%);
}

.mkt-home-pricing__intro {
  max-width: 46rem;
}

.mkt-home-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: var(--ds-space-8);
}

.mkt-home-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.3rem, 2.4vw, 1.8rem);
  border: 1px solid rgba(99, 151, 255, 0.22);
  border-radius: 1rem;
  background: rgba(8, 20, 46, 0.86);
  box-shadow: 0 1.2rem 3rem rgba(0, 8, 27, 0.2);
}

.mkt-home-price-card--popular {
  border-color: rgba(71, 164, 255, 0.72);
  box-shadow: 0 1.4rem 3.4rem rgba(12, 87, 214, 0.22);
}

.mkt-home-price-card__badge {
  align-self: flex-start;
  margin-left: 0.55rem;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  background: #1884ff;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}
.mkt-home-price-card__regular-row { display:flex; align-items:center; flex-wrap:wrap; gap:.2rem; }
.mkt-home-price-card__regular-row .mkt-home-price-card__regular { margin-top:.55rem; }

.mkt-home-price-card__name {
  margin: 0;
  color: #fff;
  font-family: var(--ds-font-heading);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.mkt-home-price-card__regular {
  margin: 0.55rem 0 0;
  color: #aebfda;
  font-size: 0.9rem;
}

.mkt-home-price-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.2rem 0 0;
  color: #fff;
}

.mkt-home-price-card__price strong {
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1;
}

.mkt-home-price-card__price span {
  color: #b8c7e3;
  font-size: 0.88rem;
}

.mkt-home-price-card__after {
  margin: 0.75rem 0 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(99, 151, 255, 0.16);
  color: #d5e2f7;
  font-size: 0.86rem;
  line-height: 1.45;
}

.mkt-home-price-card__features {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 1.25rem;
  padding: 0;
  color: #dbe7fa;
  font-size: 0.9rem;
  list-style: none;
}

.mkt-home-price-card__features li {
  display: flex;
  gap: 0.55rem;
}

.mkt-home-price-card__features li::before {
  content: "\2713";
  color: #47a4ff;
  font-weight: 800;
}

.mkt-home-price-card .ds-button {
  width: 100%;
  margin-top: auto;
}

.mkt-home-pricing__setup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: var(--ds-space-6);
  padding: 1.15rem 1.35rem;
  border: 1px solid rgba(99, 151, 255, 0.18);
  border-radius: 0.85rem;
  background: rgba(3, 11, 29, 0.72);
  color: #dbe7fa;
}

.mkt-home-pricing__setup strong {
  color: #fff;
}

.mkt-home-pricing__setup-copy > span small {
  display: inline-block;
  margin-top: 0.35rem;
  color: #9fc4ef;
  font-size: 0.76rem;
  line-height: 1.4;
}

.mkt-home-pricing__setup-copy {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 1rem;
}

.mkt-home-pricing__setup-details {
  position: relative;
}

.mkt-home-pricing__setup-details summary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(99, 151, 255, 0.32);
  border-radius: 0.65rem;
  color: #b9d8ff;
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.mkt-home-pricing__setup-details summary::-webkit-details-marker {
  display: none;
}

.mkt-home-pricing__setup-details summary::after {
  content: "\2304";
  color: #47a4ff;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.mkt-home-pricing__setup-details[open] summary::after {
  transform: rotate(180deg);
}

.mkt-home-pricing__setup-panel {
  position: absolute;
  z-index: 8;
  left: 0;
  bottom: calc(100% + 0.75rem);
  width: min(42rem, calc(100vw - 3rem));
  max-height: min(32rem, 70vh);
  overflow-y: auto;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(99, 151, 255, 0.32);
  border-radius: 0.85rem;
  background: #07152e;
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.42);
  color: #dbe7fa;
}

.mkt-home-pricing__setup-panel p {
  margin: 0 0 0.75rem;
  line-height: 1.55;
}

.mkt-home-pricing__setup-panel ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding-left: 1.15rem;
}

.mkt-home-pricing__setup-panel li {
  color: #c4d4eb;
  font-size: 0.82rem;
  line-height: 1.48;
}

.mkt-home-pricing__setup-panel .mkt-home-pricing__setup-note {
  margin: 0.9rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(99, 151, 255, 0.2);
  color: #a9c7ec;
  font-size: 0.78rem;
}

.mkt-home-pricing__fineprint {
  margin: 1rem 0 0;
  color: #98accb;
  font-size: 0.8rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .mkt-home-pricing__grid {
    grid-template-columns: 1fr;
  }

  .mkt-home-price-card {
    max-width: 42rem;
  }
}

@media (max-width: 560px) {
  .mkt-price-controls {
    grid-template-columns: 1fr;
  }

  .mkt-home-pricing__setup {
    align-items: flex-start;
    flex-direction: column;
  }

  .mkt-home-pricing__setup-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .mkt-home-pricing__setup-panel {
    position: absolute;
    top: auto;
    right: auto;
    bottom: calc(100% + .75rem);
    left: 0;
    width: min(42rem, calc(100vw - 2rem));
    max-height: min(65vh, 32rem);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}
.mkt-price-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 0.85rem 1.25rem;
  align-items: end;
  margin: 1.25rem 0 0;
  padding: 1rem;
  border: 1px solid rgba(91, 164, 255, 0.32);
  border-radius: 1rem;
  background: rgba(5, 18, 43, 0.72);
}

.mkt-price-control { display: grid; gap: 0.42rem; }
.mkt-price-control[hidden] { display: none; }
.mkt-price-control__label { color: #dce9ff; font-size: 0.78rem; font-weight: 800; }
.mkt-price-controls__note { grid-column: 1 / -1; margin: 0; color: #9fc4ef; font-size: 0.82rem; line-height: 1.45; }
.price-mode-toggle,
.price-interval-toggle { display: inline-flex; gap: .25rem; padding: .25rem; border: 1px solid rgba(91,164,255,.55); border-radius: 999px; background: #071a3a; }
.price-mode-toggle button,
.price-interval-toggle button { border: 0; border-radius: 999px; padding: .55rem .9rem; background: transparent; color: #b9c9e8; font: inherit; font-weight: 700; cursor: pointer; }
.price-mode-toggle button[aria-pressed=true],
.price-interval-toggle button[aria-pressed=true] { background: linear-gradient(135deg,#168cff,#2764ff); color: #fff; box-shadow: 0 4px 12px rgba(24,140,255,.35); }

@media (max-width: 560px) {
  .mkt-price-controls { grid-template-columns: 1fr; }
  .price-mode-toggle, .price-interval-toggle { width: 100%; }
  .price-mode-toggle button, .price-interval-toggle button { flex: 1; padding-inline: .6rem; }
}
