/* Pricing page - reskinned to match landing/product */

.pricing .hero {
  text-align: center;
}

.pricing .hero__grid {
  display: block;
}

.pricing .hero h1 {
  margin: 0 auto 14px;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -1px;
  max-width: 24ch;
}

.pricing .hero p {
  margin: 0 auto 18px;
  color: var(--muted);
  max-width: 78ch;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.6;
}

.pillrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(91, 33, 182, 0.98),
    rgba(168, 85, 247, 0.98)
  );
  box-shadow: 0 10px 16px rgba(91, 33, 182, 0.18);
  flex: 0 0 auto;
}

.env-switch-wrap {
  margin: 22px auto 0;
  display: flex;
  justify-content: center;
}

.segmented-wide {
  flex: 0 0 auto;
  display: inline-flex;
  width: clamp(520px, 60vw, 760px);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  padding: 5px;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
}

.segmented-wide button {
  flex: 1 1 50%;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 12px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.segmented-wide form {
  flex: 1 1 50%;
}

.segmented-wide form button {
  width: 100%;
}

.segmented-wide button[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(91, 33, 182, 0.98),
    rgba(168, 85, 247, 0.98)
  );
  box-shadow: 0 14px 24px rgba(91, 33, 182, 0.22);
}

.segmented-wide .tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--muted);
}

.segmented-wide button[aria-pressed="true"] .tag {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 850;
  color: #334155;
}

.mini-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(91, 33, 182, 0.75);
  flex: 0 0 auto;
}

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

.section-title--center {
  justify-content: center;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.3px;
}

.section-title p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  max-width: 92ch;
}

.text-muted-2 {
  color: var(--muted2);
}

.offers-head {
  border-radius: var(--radius2);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow2);
  padding: 18px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.offers-head:before {
  content: "";
  position: absolute;
  inset: -120px -180px auto auto;
  width: 420px;
  height: 280px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(91, 33, 182, 0.18),
    transparent 62%
  );
  transform: rotate(10deg);
  pointer-events: none;
}

.offers-head--test {
  border-color: rgba(91, 33, 182, 0.18);
}

.offers-head--prod {
  border-color: rgba(168, 85, 247, 0.18);
}

.offers-head__top {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.offers-head h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.3px;
  position: relative;
  z-index: 1;
}

.env-word {
  color: var(--brand);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.offers-head p {
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 92ch;
  position: relative;
  z-index: 1;
  text-align: center;
}

.offers-head__desc {
  margin-top: 14px;
}

.offers-head__sub {
  margin-top: 18px;
}

.offers-head__separator {
  width: 120px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(91, 33, 182, 0.45),
    transparent
  );
  margin: 14px auto 10px;
  border-radius: 999px;
}

.offers-head .env-info__meta {
  justify-content: center;
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.offers-head .env-info__meta .pill {
  font-size: 12px;
  padding: 8px 12px;
  font-weight: 700;
}

.subhead {
  margin: 35px 0 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.subhead__left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 240px;
}

.subhead h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.subtease {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 74ch;
}

.subhead__right {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
  flex-wrap: wrap;
}

.submeta {
  font-size: 12px;
  color: var(--muted2);
  text-align: right;
  max-width: 46ch;
  padding-top: 2px;
  white-space: nowrap;
}

.carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
}

.carousel-btn {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
}

.carousel-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.carousel-status {
  min-width: 82px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.carousel-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.45);
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.carousel-dot--active {
  background: rgba(109, 40, 217, 0.92);
  transform: scale(1.15);
}

.offer-carousel {
  margin-top: 14px;
}

.offer-carousel__frame {
  padding: 16px;
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(
      320px 180px at 0% 0%,
      rgba(109, 40, 217, 0.08),
      transparent 72%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(252, 252, 255, 0.94)
    );
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

.offer-carousel--muted .offer-carousel__frame {
  background:
    radial-gradient(
      320px 180px at 100% 0%,
      rgba(109, 40, 217, 0.06),
      transparent 72%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.97),
      rgba(250, 251, 255, 0.94)
    );
}

.hint {
  font-size: 12px;
  color: var(--muted2);
}

.subhead--hidden {
  display: none;
}

.node-ctl {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.node-ctl button {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.node-ctl button[type="submit"] {
  width: auto;
  height: 38px;
  padding: 0 12px;
  font-size: 12px;
}

.node-ctl input {
  width: 76px;
  height: 38px;
  text-align: center;
  font-size: 16px;
  padding: 6px 8px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

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

.grid-4--hidden {
  display: none;
}

.price-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 22px;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
  padding: 16px;
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card:before {
  content: "";
  position: absolute;
  inset: -60px -80px auto auto;
  width: 240px;
  height: 200px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(91, 33, 182, 0.12),
    transparent 62%
  );
  pointer-events: none;
}

.price-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 2px;
}

.offer {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.2px;
  text-align: center;
  color: #1e293b;
}

.price-card__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.price {
  text-align: center;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 4px 0 0;
}

.price small {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 6px;
}

.specs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.specs li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
}

.specs strong {
  color: var(--text);
  font-weight: 800;
}

.price-card__bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.btnrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.table-wrap {
  overflow: auto;
  border-radius: 22px;
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(91, 33, 182, 0.18);
  background: rgba(255, 255, 255, 0.92);
  table-layout: fixed;
}

.table th,
.table td {
  text-align: left;
  padding: 10px 12px;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  vertical-align: middle;
}

.table th {
  color: #1e293b;
  font-weight: 900;
  background: linear-gradient(
    135deg,
    rgba(91, 33, 182, 0.12),
    rgba(168, 85, 247, 0.08)
  );
  vertical-align: bottom;
}

.table thead th {
  border-bottom: 1px solid rgba(91, 33, 182, 0.22);
}

.table .th-main {
  font-size: 12px;
  line-height: 1.15;
}

.table .th-sub {
  font-size: 11px;
  font-weight: 800;
  color: rgba(30, 41, 59, 0.65);
  line-height: 1.1;
  margin-top: 3px;
}

.table th:first-child,
.table td:first-child {
  padding-left: 16px;
  text-align: center;
}

.table th:nth-child(2),
.table td:nth-child(2),
.table th:nth-child(3),
.table td:nth-child(3) {
  text-align: center;
}

.table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.72);
}

.table tbody tr:hover td {
  background: rgba(91, 33, 182, 0.06);
}

.table tr:last-child td {
  border-bottom: 0;
}

.table td strong {
  font-weight: 900;
}

.right {
  text-align: right;
}

.pricecol {
  text-align: right;
  white-space: nowrap;
}

.callouts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
  color: var(--muted2);
}

.callout {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 22px;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.callout:before {
  content: "";
  position: absolute;
  inset: -80px -120px auto auto;
  width: 320px;
  height: 240px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(91, 33, 182, 0.1),
    transparent 64%
  );
  pointer-events: none;
}

.callout h3 {
  margin: 0 0 6px;
  font-size: 13.5px;
}

.callout p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.faq--stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.faq__panel {
  width: 100%;
}

details {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 22px;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
  padding: 14px 16px;
}

details + details {
  margin-top: 0;
}

summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

summary::-webkit-details-marker {
  display: none;
}

.chev {
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(15, 23, 42, 0.6);
  border-bottom: 2px solid rgba(15, 23, 42, 0.6);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  flex: 0 0 auto;
  margin-right: 2px;
}

details[open] .chev {
  transform: rotate(225deg);
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.ctaCard {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(91, 33, 182, 0.18);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 82px;
}

.ctaCard--wide {
  max-width: none;
  position: relative;
  top: auto;
  text-align: center;
}

.ctaCard__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ctaCard h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.ctaCard p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14.5px;
}

@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel-controls {
    width: 100%;
    justify-content: space-between;
  }

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

  .ctaCard {
    position: static;
  }

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

@media (max-width: 820px) {
  .table {
    min-width: 760px;
  }
}

@media (max-width: 760px) {
  .segmented-wide {
    width: 100%;
  }

  .env-switch-wrap {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .carousel-controls {
    border-radius: 20px;
    padding: 10px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .carousel-status {
    order: 1;
    width: 100%;
    text-align: left;
    min-width: 0;
  }

  .carousel-dots {
    order: 2;
  }

  .carousel-actions {
    order: 3;
    margin-left: auto;
  }

  .hero {
    padding: 42px 0 12px;
  }
}
