.pricing-page {
  background: #fff;
  color: var(--mk-navy);
}

.pricing-page .site-header {
  border-bottom-color: rgba(219, 227, 236, .82);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px);
}

.pricing-page .nav-links a[aria-current="page"] {
  color: var(--mk-navy);
}

.pricing-page .nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.pricing-shell {
  width: min(1296px, calc(100% - 48px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  margin: -1px;
  white-space: nowrap;
}

.pricing-kicker {
  margin: 0;
  color: #708198;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pricing-hero {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 126px;
  padding-bottom: 30px;
  text-align: center;
}

.pricing-hero h1 {
  margin: 20px 0 0;
  font-size: clamp(42px, 4.35vw, 62px);
  font-weight: 680;
  letter-spacing: -.058em;
  line-height: 1;
}

.pricing-hero-lede {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--mk-steel);
  font-size: 17px;
  letter-spacing: -.012em;
  line-height: 1.55;
}

.pricing-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 27px;
}

.pricing-cycle {
  display: grid;
  width: 298px;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid #cfd8e3;
  border-radius: 9px;
  background: #fff;
}

.pricing-cycle button {
  min-height: 36px;
  padding: 0 15px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #65758b;
  cursor: pointer;
  font-size: 12px;
  font-weight: 680;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.pricing-cycle button[aria-pressed="true"] {
  background: var(--mk-navy);
  color: #fff;
  box-shadow: 0 7px 16px rgba(11, 19, 32, .14);
}

.pricing-cycle button:focus-visible,
.pricing-card-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .3);
  outline-offset: 3px;
}

.pricing-savings {
  color: #1f925f;
  font-size: 11px;
  font-weight: 690;
}

.pricing-savings[hidden] {
  display: none;
}

.pricing-seat-note {
  margin: 13px 0 0;
  color: #718096;
  font-size: 11px;
}

.pricing-plans {
  padding-bottom: 98px;
}

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

.pricing-card {
  --plan-accent: var(--mk-navy);
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 500px;
  flex-direction: column;
  padding: 29px 27px 24px;
  border: 1px solid #d7dee7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 19, 32, .035);
}

.pricing-card-team {
  --plan-accent: var(--mk-vector-violet);
  border-color: var(--mk-navy);
  box-shadow: 0 16px 42px rgba(11, 19, 32, .1);
}

.pricing-card-business { --plan-accent: #18a473; }
.pricing-card-enterprise { --plan-accent: #d99816; }

.pricing-card-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  display: grid;
  height: 26px;
  place-items: center;
  border-radius: 12px 12px 0 0;
  background: var(--mk-navy);
  color: #fff;
  font-size: 10px;
  font-weight: 670;
}

.pricing-card-team > header {
  padding-top: 23px;
}

.pricing-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 660;
  letter-spacing: -.04em;
}

.pricing-card-price {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 11px;
  margin-top: 11px;
}

.pricing-card-price strong {
  font-family: Sora, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 43px;
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: 1;
  white-space: nowrap;
}

.pricing-card-price > span:not([data-plan-price]) {
  display: flex;
  flex-direction: column;
  color: #66758a;
  font-size: 10px;
  font-weight: 570;
  line-height: 1.35;
}

.pricing-card-price small {
  display: block;
  margin-top: 1px;
  color: #66758a;
  font-size: 10px;
  font-weight: 570;
}

.pricing-custom-price strong {
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -.045em;
}

.pricing-card header > p {
  min-height: 44px;
  margin: 8px 0 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.55;
}

.pricing-card-rule {
  height: 1px;
  margin: 17px 0 20px;
  background: #e1e7ee;
}

.pricing-feature-list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.pricing-feature-list li {
  display: grid;
  min-width: 0;
  grid-template-columns: 16px 1fr;
  align-items: start;
  gap: 10px;
  color: #3d4b60;
  font-size: 11px;
  font-weight: 540;
  line-height: 1.38;
}

.feature-check {
  width: 15px;
  height: 15px;
  margin-top: 0;
  background: var(--plan-accent);
  mask: url("./icons/pricing/circle-check.svg") center / contain no-repeat;
}

.pricing-card-button {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  border-color: var(--mk-navy);
  border-radius: 9px;
  background: var(--mk-navy);
  color: #fff;
  font-size: 11px;
  box-shadow: none;
}

.pricing-card-button:hover {
  border-color: var(--mk-apex-blue);
  background: var(--mk-apex-blue);
  box-shadow: 0 10px 25px rgba(37, 99, 235, .18);
}

.pricing-foundation {
  display: grid;
  min-height: 92px;
  grid-template-columns: 155px repeat(5, minmax(0, 1fr));
  align-items: center;
  margin-top: 27px;
  overflow: hidden;
  border: 1px solid #d7dee7;
  border-radius: 10px;
  background: #fff;
}

.pricing-foundation > strong {
  padding-inline: 25px;
  font-family: Sora, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.pricing-foundation > div {
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  gap: 11px;
  padding: 0 19px;
  border-left: 1px solid #e1e7ee;
}

.foundation-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
}

.foundation-icon img {
  display: block;
  width: 18px;
  height: 18px;
}

.foundation-blue { background: #edf4ff; }
.foundation-violet { background: #f3edff; }
.foundation-teal { background: #eaf9f4; }
.foundation-amber { background: #fff6e6; }

.pricing-foundation p {
  min-width: 0;
  margin: 0;
}

.pricing-foundation b,
.pricing-foundation small {
  display: block;
}

.pricing-foundation b {
  color: #263449;
  font-size: 12px;
  font-weight: 620;
}

.pricing-foundation small {
  margin-top: 2px;
  color: #66758a;
  font-size: 10px;
  line-height: 1.3;
}

.pricing-fine-print {
  max-width: 900px;
  margin: 20px auto 0;
  color: #7d8a9c;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.pricing-value-band {
  padding: 110px 0;
  border-block: 1px solid var(--mk-line);
  background: #f7f9fc;
}

.pricing-value-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 90px;
}

.pricing-value-grid h2,
.pricing-section-heading h2,
.pricing-final-cta h2 {
  margin: 14px 0 0;
  font-size: clamp(37px, 4.2vw, 56px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1.05;
}

.pricing-value-grid > div:first-child > p:last-child,
.pricing-section-heading > p:last-child {
  margin: 23px 0 0;
  color: var(--mk-steel);
  font-size: 15px;
  line-height: 1.72;
}

.pricing-value-points {
  overflow: hidden;
  border: 1px solid var(--mk-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(11, 19, 32, .06);
}

.pricing-value-points article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  padding: 25px;
}

.pricing-value-points article + article {
  border-top: 1px solid var(--mk-line);
}

.pricing-value-points article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: #eef4ff;
  color: var(--mk-apex-blue);
  font-size: 9px;
  font-weight: 760;
}

.pricing-value-points h3 {
  margin: 0 0 6px;
  font-size: 15px;
  letter-spacing: -.025em;
}

.pricing-value-points p {
  margin: 0;
  color: var(--mk-steel);
  font-size: 11px;
  line-height: 1.58;
}

.pricing-comparison {
  padding-block: 112px;
}

.pricing-section-heading {
  max-width: 760px;
}

.pricing-table-wrap {
  margin-top: 42px;
  overflow-x: auto;
  border: 1px solid var(--mk-line);
  border-radius: 14px;
  background: #fff;
}

.pricing-table-wrap table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.pricing-table-wrap th,
.pricing-table-wrap td {
  padding: 15px 17px;
  border-bottom: 1px solid #e5eaf0;
  color: #4f5f73;
  font-size: 10px;
  text-align: center;
}

.pricing-table-wrap thead th {
  background: #f7f9fc;
  color: #263449;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pricing-table-wrap th:first-child {
  width: 38%;
  text-align: left;
}

.pricing-table-wrap tbody th {
  color: #344257;
  font-weight: 620;
}

.pricing-table-wrap tbody tr:last-child > * {
  border-bottom: 0;
}

.pricing-table-wrap .comparison-group th {
  padding-block: 10px;
  background: #f0f4f8;
  color: #6d7c90;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.pricing-faq {
  padding-bottom: 112px;
}

.pricing-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 15px;
  margin-top: 42px;
}

.pricing-faq details {
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #fff;
}

.pricing-faq summary {
  display: flex;
  min-height: 65px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 680;
  list-style: none;
}

.pricing-faq summary::-webkit-details-marker { display: none; }

.pricing-faq summary span {
  color: var(--mk-apex-blue);
  font-size: 18px;
  font-weight: 400;
  transition: transform .2s ease;
}

.pricing-faq details[open] summary span { transform: rotate(45deg); }

.pricing-faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--mk-steel);
  font-size: 11px;
  line-height: 1.65;
}

.pricing-final-cta {
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 105px;
  padding: 55px 62px;
  border-radius: 18px;
  background: var(--mk-navy);
  color: #fff;
  box-shadow: 0 28px 70px rgba(11, 19, 32, .16);
}

.pricing-final-cta .pricing-kicker { color: #9fb0c5; }
.pricing-final-cta h2 { margin-top: 14px; }
.pricing-final-cta p:last-child { margin: 15px 0 0; color: #9fb0c5; font-size: 12px; }
.pricing-final-cta > .button { flex: 0 0 auto; border-color: #fff; background: #fff; color: var(--mk-navy); box-shadow: none; }
.pricing-final-cta > .button:hover { border-color: #fff; background: #f2f6fb; }

@media (max-width: 1160px) {
  .pricing-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .pricing-card { min-height: 490px; }
  .pricing-foundation { grid-template-columns: repeat(3, 1fr); }
  .pricing-foundation > strong { min-height: 82px; align-content: center; }
  .pricing-foundation > div { border-left: 1px solid #e1e7ee; }
  .pricing-foundation > div:nth-of-type(3) { border-left: 0; }
  .pricing-foundation > div:nth-of-type(n + 3) { border-top: 1px solid #e1e7ee; }
}

@media (max-width: 900px) {
  .pricing-value-grid { grid-template-columns: 1fr; gap: 52px; }
  .pricing-faq-grid { grid-template-columns: 1fr; }
  .pricing-final-cta { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (max-width: 700px) {
  .pricing-shell { width: calc(100% - 28px); }
  .pricing-hero { padding-top: 108px; padding-bottom: 26px; }
  .pricing-hero h1 { margin-top: 16px; font-size: clamp(38px, 11vw, 50px); }
  .pricing-hero-lede { margin-top: 16px; font-size: 15px; }
  .pricing-controls { width: 100%; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
  .pricing-cycle { width: 100%; }
  .pricing-savings { width: 100%; }
  .pricing-card-grid { grid-template-columns: 1fr; }
  .pricing-card { min-height: 0; padding: 26px 22px 22px; }
  .pricing-card-team { margin-top: 8px; }
  .pricing-card-team > header { padding-top: 22px; }
  .pricing-card header > p { min-height: 0; }
  .pricing-feature-list { margin-bottom: 27px; }
  .pricing-foundation { grid-template-columns: 1fr 1fr; margin-top: 18px; }
  .pricing-foundation > strong { grid-column: 1 / -1; min-height: 68px; padding-inline: 20px; border-bottom: 1px solid #e1e7ee; }
  .pricing-foundation > div { min-height: 78px; padding: 0 15px; border-top: 0 !important; }
  .pricing-foundation > div:nth-of-type(odd) { border-left: 0; }
  .pricing-foundation > div:nth-of-type(n + 3) { border-top: 1px solid #e1e7ee !important; }
  .foundation-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .pricing-value-band,
  .pricing-comparison { padding-block: 78px; }
  .pricing-value-grid h2,
  .pricing-section-heading h2,
  .pricing-final-cta h2 { font-size: clamp(33px, 10vw, 43px); }
  .pricing-value-points article { padding: 21px 18px; }
  .pricing-faq { padding-bottom: 78px; }
  .pricing-final-cta { min-height: 350px; margin-bottom: 70px; padding: 40px 25px; }
  .pricing-final-cta .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-page * {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
