/* ============================================================================
   Pricing page. Scoped under .pxx; leans on the shared --mk-* tokens.
   ========================================================================== */

.pxx-shell {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

/* ================================================================== HERO == */

.pxx-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.5vw, 44px) 0 clamp(20px, 2.5vw, 28px);
  text-align: center;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(37, 99, 235, 0.09), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}

.pxx-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 21, 48, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 21, 48, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 50% 20%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 70% at 50% 20%, #000, transparent 75%);
  pointer-events: none;
}

.pxx-hero__inner {
  position: relative;
  max-width: 700px;
  margin-inline: auto;
}

.pxx-hero .mk-h1 {
  font-size: clamp(2rem, 3.6vw, 2.875rem);
}

/* Same drawn underline as the landing headline, so the pages read as a set */
.pxx-mark {
  position: relative;
  white-space: nowrap;
  color: var(--mk-blue-700);
}

.pxx-mark__line {
  position: absolute;
  left: -0.02em;
  right: -0.02em;
  bottom: -0.14em;
  width: calc(100% + 0.04em);
  height: 0.2em;
  fill: none;
  stroke: var(--mk-blue);
  stroke-width: 5;
  stroke-linecap: round;
  opacity: 0.8;
}

.pxx-hero__lead {
  margin: 22px auto 0;
  max-width: 30rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--mk-mute);
}

/* Plain fact row — replaces the floating blue badge */
.pxx-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 26px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pxx-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mk-mute);
}

.pxx-facts svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #16a34a;
}

/* ================================================================= PLANS == */

.pxx-plans-sec {
  padding: 0 0 clamp(56px, 7vw, 88px);
  background: linear-gradient(180deg, #f7f9fd 0%, #ffffff 45%);
}

.pxx-plans {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .pxx-plans {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.pxx-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--mk-radius-lg);
  border: 1px solid var(--mk-line);
  background: #fff;
  box-shadow: var(--mk-shadow-sm);
  transition: transform 0.22s var(--mk-ease), box-shadow 0.22s var(--mk-ease),
    border-color 0.22s var(--mk-ease);
}

.pxx-plan:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--mk-shadow);
}

/* Featured plan sits proud of the row on desktop */
.pxx-plan--featured {
  border-color: rgba(37, 99, 235, 0.34);
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 55%);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.07), var(--mk-shadow);
}

@media (min-width: 900px) {
  .pxx-plan--featured {
    margin-block: -12px;
    padding-block: 40px;
  }
}

.pxx-plan--featured:hover {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.09), var(--mk-shadow-lg);
}

.pxx-plan__tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 11px;
  border-radius: var(--mk-pill);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: var(--mk-shadow-blue);
}

.pxx-plan__name {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mk-ink);
}

.pxx-plan__who {
  margin: 8px 0 0;
  min-height: 2.6em;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--mk-mute);
}

.pxx-plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 22px 0 0;
}

.pxx-plan__amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--mk-ink);
}

.pxx-plan__per {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--mk-mute-2);
}

.pxx-plan__credits {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 16px 0 0;
  padding: 7px 13px;
  align-self: flex-start;
  border-radius: var(--mk-pill);
  border: 1px solid var(--mk-line);
  background: var(--mk-paper-2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mk-ink-2);
}

.pxx-plan__credits b { font-weight: 800; }

.pxx-plan__rule {
  height: 1px;
  margin: 26px 0 22px;
  background: var(--mk-line);
  border: 0;
}

.pxx-plan__list {
  flex: 1;
  display: grid;
  gap: 13px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.pxx-plan__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--mk-mute);
}

.pxx-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
}

.pxx-check svg { width: 12px; height: 12px; }

.pxx-plan form { width: 100%; }

/* ============================================================== INCLUDED == */

.pxx-included {
  padding: clamp(48px, 6vw, 76px) 0;
  border-block: 1px solid var(--mk-line);
  background: var(--mk-paper-2);
}

.pxx-included__head {
  max-width: 620px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  text-align: center;
}

.pxx-included__head .mk-eyebrow { justify-content: center; }

.pxx-included__grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 700px) { .pxx-included__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .pxx-included__grid { grid-template-columns: repeat(4, 1fr); } }

.pxx-inc {
  padding: 24px;
  border-radius: var(--mk-radius);
  border: 1px solid var(--mk-line);
  background: #fff;
}

.pxx-inc__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 11px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: var(--mk-blue-50);
  color: var(--mk-blue-700);
}

.pxx-inc__icon svg { width: 18px; height: 18px; }

.pxx-inc__title {
  margin: 0 0 7px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--mk-ink);
}

.pxx-inc__body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--mk-mute);
}

/* =================================================================== FAQ == */

.pxx-faq-sec {
  padding: clamp(56px, 7vw, 88px) 0;
  background: #fff;
}

.pxx-faq-sec__head {
  max-width: 620px;
  margin: 0 auto clamp(32px, 4vw, 44px);
  text-align: center;
}

.pxx-faq-sec__head .mk-eyebrow { justify-content: center; }

.pxx-faq {
  max-width: 800px;
  margin-inline: auto;
  border-radius: var(--mk-radius-lg);
  border: 1px solid var(--mk-line);
  background: #fff;
  overflow: hidden;
}

.pxx-faq__item + .pxx-faq__item { border-top: 1px solid var(--mk-line); }

.pxx-faq__sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--mk-ink);
  transition: background-color 0.18s var(--mk-ease);
}

.pxx-faq__sum::-webkit-details-marker { display: none; }
.pxx-faq__sum:hover { background: var(--mk-paper-2); }

.pxx-faq__sum::after {
  content: "";
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-right: 2px solid var(--mk-mute-2);
  border-bottom: 2px solid var(--mk-mute-2);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.22s var(--mk-ease);
}

.pxx-faq__item[open] .pxx-faq__sum::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.pxx-faq__body {
  padding: 0 26px 24px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--mk-mute);
}

.pxx-faq__body p { margin: 0; }

/* =================================================================== CTA == */

.pxx-cta {
  padding: clamp(56px, 7vw, 88px) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 90% at 80% 10%, rgba(59, 130, 246, 0.35), transparent 60%),
    linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #1e3a8a 100%);
  color: #fff;
}

.pxx-cta__inner { max-width: 640px; margin-inline: auto; }

.pxx-cta__h2 {
  margin: 0;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #fff;
}

.pxx-cta__p {
  margin: 18px auto 0;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.88);
}

.pxx-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.pxx-btn-invert {
  background: #fff;
  color: var(--mk-ink);
  border-color: transparent;
}

.pxx-btn-invert:hover {
  color: var(--mk-ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.pxx-btn-onblue {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.pxx-btn-onblue:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}
