.pricing-wrap {
  padding: 104px 0;
  background: linear-gradient(180deg, var(--base) 0%, var(--abyss) 100%);
}

.pricing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.pricing-currency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 18, 0.7);
  color: var(--t2);
  font-family: var(--fm);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-currency-label {
  color: var(--t3);
}

.pricing-currency select {
  background: transparent;
  border: none;
  color: var(--t1);
  font-family: var(--fd);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  outline: none;
  cursor: pointer;
}

.pricing-section + .pricing-section {
  margin-top: 60px;
}

.pricing-grid {
  margin-top: 26px;
  padding-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.pricing-copy {
  color: var(--t2);
  font-size: 0.88rem;
  max-width: 520px;
  line-height: 1.88;
}

.pricing-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-family: var(--fd);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.93;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  position: relative;
}

.pricing-title-main {
  background: linear-gradient(90deg, #fff8ea 0%, #ffe4b6 20%, #ffb347 56%, #ff8c2a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 28px rgba(249, 115, 22, 0.34);
  position: relative;
}

.pricing-title-main::after {
  content: '';
  position: absolute;
  left: 0;
  right: 6px;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 221, 174, 0.4), rgba(245, 158, 11, 0.95), rgba(251, 146, 60, 0.55));
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.48);
}

.pricing-title-accent {
  background: linear-gradient(90deg, #f59e0b 0%, #fb923c 45%, #ef4444 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.pricing-title-accent::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.4), rgba(239, 68, 68, 0.65), rgba(251, 146, 60, 0.4));
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.36);
}

.p-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: visible;
  background: radial-gradient(130% 120% at 50% 0%, rgba(24, 32, 72, 0.14) 0%, rgba(8, 8, 18, 0.95) 50%, rgba(8, 8, 16, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 18px 18px 20px;
  transition: transform .3s var(--snap), border-color .3s var(--snap), box-shadow .3s var(--snap);
}

.p-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(249, 115, 22, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(249, 115, 22, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  border-radius: 22px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.p-card::after {
  content: '';
  position: absolute;
  pointer-events: none;
  top: 0;
  right: 0;
  border-top: 24px solid rgba(249, 115, 22, 0.22);
  border-left: 24px solid transparent;
}

.p-card:hover {
  transform: translateY(-7px);
  border-color: rgba(249, 115, 22, 0.32);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.52), 0 0 30px rgba(249, 115, 22, 0.12);
}

.p-card.featured {
  border-color: rgba(220, 38, 38, 0.34);
  box-shadow: 0 0 18px rgba(220, 38, 38, 0.12);
  animation: none;
  overflow: visible;
}

.p-card .p-top {
  margin-bottom: 14px;
}

.p-card .p-top.pro {
  margin-top: 16px;
}

.p-card-body {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  flex: 1;
  min-height: 100%;
}

.p-card-price {
  min-height: 126px;
}

.p-card-price.compact {
  min-height: 112px;
}

.p-price {
  font-family: var(--fd);
  font-size: clamp(2.6rem, 3.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1;
}

.p-free {
  color: var(--t3);
}

.p-starter {
  color: var(--gold);
}

.p-org {
  color: var(--blaze);
}

.p-pro {
  background: linear-gradient(135deg, var(--crimson), var(--fire));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.p-period {
  color: var(--t4);
  font-family: var(--fm);
  margin-top: 4px;
  font-size: 0.82rem;
}

.p-price-sub {
  margin-top: 6px;
  font-size: 0.72rem;
  font-family: var(--fm);
  letter-spacing: 0.04em;
  color: var(--t3);
}

.p-tagline {
  margin-top: 7px;
  color: var(--t3);
  font-size: 0.96rem;
  min-height: 48px;
  line-height: 1.45;
}

.p-divider {
  margin: 16px 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.p-features {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-content: start;
  min-height: 0;
}

.p-arena {
  margin-top: 0;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid var(--b1);
  background: color-mix(in srgb, var(--raised) 74%, transparent);
}

.p-arena-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.p-arena-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--b2);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--flame);
  font-family: var(--fd);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.p-arena-cap {
  color: var(--t3);
  font-family: var(--fd);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.p-arena-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  color: var(--t2);
  font-size: 0.74rem;
  line-height: 1.42;
}

html[data-theme="light"] .p-arena {
  background: color-mix(in srgb, var(--overlay) 66%, var(--surface) 34%);
  border-color: var(--b2);
}

html[data-theme="light"] .p-arena-kicker {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.p-tabs {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.p-tab-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.p-tab {
  min-height: 38px;
  border: 1px solid var(--b1);
  border-radius: 999px;
  background: color-mix(in srgb, var(--raised) 68%, transparent);
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
  color: var(--t3);
  font-family: var(--fd);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .24s var(--snap), color .24s var(--snap), box-shadow .24s var(--snap), border-color .24s var(--snap);
}

.p-tab.is-active {
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: var(--t1);
  border-color: var(--b2);
  box-shadow: var(--gsm);
}

.p-tab-panels {
  position: relative;
  min-height: 100%;
}

.p-panel {
  display: none;
}

.p-panel.is-active {
  display: block;
}

.p-panel .p-features,
.p-panel .p-arena {
  min-height: 100%;
}

html[data-theme="light"] .p-tab {
  background: color-mix(in srgb, var(--overlay) 68%, var(--surface) 32%);
  border-color: var(--b2);
}

html[data-theme="light"] .p-tab.is-active {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.p-feat {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--t2);
  font-size: 0.93rem;
  line-height: 1.45;
}

.pf-y {
  color: #32d583;
  font-weight: 700;
}

.pf-n {
  color: #414158;
}

.p-btn {
  min-height: 54px;
  width: 100%;
  align-self: end;
  justify-self: stretch;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--fd);
  font-size: .84rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  z-index: 2;
}

.p-btn .shine {
  position: absolute;
  inset: 0;
  transform: translateX(-130%);
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.22) 46%, transparent 70%);
}

.p-btn:hover .shine {
  animation: p-shine .95s ease;
}

.pb-free {
  border: 1px solid rgba(245, 158, 11, 0.9);
  color: #fff6e7;
  background: linear-gradient(180deg, rgba(72, 47, 13, 0.96), rgba(56, 36, 10, 0.98));
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.22), inset 0 0 0 1px rgba(255, 209, 140, 0.08);
}

.pb-free:hover {
  border-color: rgba(251, 146, 60, 0.72);
  color: #fff5e9;
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.24), inset 0 0 0 1px rgba(255, 218, 166, 0.12);
}

.p-card.active-tier .pb-free,
.p-card:first-child .pb-free {
  border-color: rgba(251, 146, 60, 0.92);
  box-shadow: 0 0 34px rgba(251, 146, 60, 0.36);
}

.p-card:first-child {
  border-color: rgba(245, 158, 11, 0.78);
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.3);
  background: radial-gradient(130% 120% at 50% 0%, rgba(70, 48, 14, 0.22) 0%, rgba(8, 8, 18, 0.96) 52%, rgba(8, 8, 16, 1) 100%);
}

.pb-starter {
  border: 1px solid rgba(245, 158, 11, 0.48);
  color: var(--gold);
  background: linear-gradient(180deg, rgba(19, 18, 28, 0.92), rgba(13, 12, 20, 0.98));
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.08);
}

.pb-pro {
  border: 1px solid rgba(220, 38, 38, 0.46);
  color: #fff;
  background: linear-gradient(90deg, #e21f25 0%, #ff4f1a 32%, #ff8b34 100%);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.28);
}

.pb-org {
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: var(--blaze);
  background: linear-gradient(180deg, rgba(19, 18, 28, 0.94), rgba(13, 12, 20, 0.99));
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.08);
}

.p-pop-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--fd);
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, #ff4f1a, #ff8b34);
  border-radius: 10px;
  padding: 7px 18px;
  animation: none;
  z-index: 3;
  box-shadow: 0 10px 20px rgba(255, 98, 0, 0.28);
  white-space: nowrap;
}

@keyframes p-breathe {
  0%, 100% { box-shadow: 0 0 20px rgba(220, 38, 38, 0.14); }
  50% { box-shadow: 0 0 42px rgba(220, 38, 38, 0.24); }
}

@keyframes p-shine {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}

.p-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.p-price-stack .p-price-strike,
.p-price-stack .p-price-discount {
  -webkit-text-fill-color: initial;
  background: none;
}

.p-price-strike {
  font-size: 1.45rem;
  opacity: .8;
  text-decoration: line-through;
  color: rgba(232, 232, 244, 0.72);
  line-height: 1;
}

.p-price-discount {
  font-size: clamp(2.4rem, 3.2vw, 3.4rem);
  color: #34d399;
  text-shadow: 0 0 18px rgba(34, 197, 94, .35);
  line-height: 1;
}

.p-countdown {
  margin-top: 8px;
  min-height: 16px;
  font-size: .7rem;
  font-family: var(--fm);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #86efac;
}

.promo-note {
  display: block;
  margin-top: 6px;
  color: #86efac;
  font-family: var(--fm);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pricing-page {
  padding-top: 60px;
  min-height: calc(100vh - 66px);
}

.pricing-page-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: .9;
  margin-bottom: 12px;
}

.pricing-page-subtitle {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  line-height: .9;
  margin-bottom: 12px;
}

.pricing-faq {
  max-width: 760px;
  margin-top: 58px;
}

.pricing-faq-card + .pricing-faq-card {
  margin-top: 10px;
}

.pricing-faq-card .text-h3 {
  margin-bottom: 8px;
}

.pricing-faq-card .text-muted {
  font-size: .82rem;
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
  }

  .p-card-price,
  .p-card-price.compact {
    min-height: unset;
  }
}

@media (max-width: 620px) {
  .pricing-section + .pricing-section {
    margin-top: 82px;
  }

  .pricing-grid {
    grid-auto-rows: auto !important;
    gap: 36px;
    margin-top: 24px;
    padding-top: 18px;
  }

  .pricing-grid .p-card,
  .pricing-grid .p-card.featured {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .pricing-grid .p-card::before,
  .pricing-grid .p-card::after {
    inset: 0;
  }

  .p-card-body {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    min-height: 0 !important;
  }

  .p-card-price,
  .p-card-price.compact,
  .p-tabs,
  .p-tab-panels,
  .p-panel,
  .p-panel.is-active,
  .p-panel .p-features,
  .p-panel .p-arena {
    min-height: 0 !important;
    height: auto !important;
  }

  .p-tabs {
    margin-bottom: 14px;
  }

  .p-tab-nav {
    position: relative;
    z-index: 2;
  }

  .p-btn {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: 16px;
    align-self: stretch;
    justify-self: auto;
  }
}

@media (max-width: 620px) {
  .pricing-wrap {
    padding: 74px 0 64px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 28px;
    margin-top: 22px;
    padding-top: 18px;
  }

  .p-pop-tag {
    top: -10px;
    max-width: calc(100% - 28px);
    font-size: .5rem;
    padding: 7px 12px;
  }

  .pricing-title {
    display: block;
    gap: 6px;
    line-height: 1.04;
    margin-bottom: 16px;
  }

  .pricing-title-main,
  .pricing-title-accent {
    display: block;
  }

  .pricing-title-main::after,
  .pricing-title-accent::after {
    display: none;
  }

  .pricing-title-accent::after {
    bottom: -6px;
  }

  .pricing-section + .pricing-section {
    margin-top: 48px;
  }

  .pricing-copy {
    font-size: .8rem;
    line-height: 1.65;
    max-width: 100%;
    margin-bottom: 6px;
  }

  .p-card {
    padding: 16px 14px 18px;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  }

  .pricing-grid {
    grid-auto-rows: auto;
    gap: 24px;
  }

  .pricing-grid .p-card,
  .pricing-grid .p-card.featured {
    overflow: visible;
  }

  .pricing-grid .p-card + .p-card {
    margin-top: 0;
  }

  .p-card::after {
    border-top-width: 18px;
    border-left-width: 18px;
  }

  .p-card:hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  }

  .p-tagline {
    min-height: 0;
    font-size: .86rem;
    line-height: 1.35;
  }

  .p-price-stack {
    gap: 4px;
  }

  .p-btn {
    margin-top: 14px;
    min-height: 48px;
    font-size: .72rem;
    letter-spacing: .05em;
  }

  .pb-free,
  .pb-starter,
  .pb-org {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-shadow: none;
  }

  .p-pop-tag {
    position: static;
    transform: none;
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 8px;
  }

  .p-card .p-top.pro {
    margin-top: 0;
  }

  .p-card-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
  }

  .p-card-price,
  .p-card-price.compact {
    min-height: 0;
  }

  .p-price {
    font-size: clamp(2rem, 12vw, 2.8rem);
  }

  .p-price-strike {
    font-size: 1rem;
  }

  .p-price-discount {
    font-size: clamp(1.8rem, 11vw, 2.5rem);
  }

  .p-countdown,
  .promo-note {
    font-size: .62rem;
    letter-spacing: .07em;
    line-height: 1.5;
  }

  .p-features {
    gap: 8px;
    margin-bottom: 0;
  }

  .p-feat {
    gap: 8px;
    font-size: .78rem;
    line-height: 1.35;
  }
}

html[data-theme="light"] body:not(.theme-locked) .pricing-wrap {
  background: linear-gradient(180deg, var(--base) 0%, var(--abyss) 100%);
}

html[data-theme="light"] body:not(.theme-locked) .p-card {
  background: radial-gradient(130% 120% at 50% 0%, rgba(249, 115, 22, 0.08) 0%, rgba(255, 255, 255, 0.98) 54%, rgba(255, 248, 238, 1) 100%);
  border-color: var(--b2);
  box-shadow: 0 16px 36px rgba(91, 58, 29, 0.08);
}

html[data-theme="light"] body:not(.theme-locked) .p-card::before {
  background-image: linear-gradient(rgba(217, 119, 6, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 119, 6, 0.04) 1px, transparent 1px);
}

html[data-theme="light"] body:not(.theme-locked) .p-card:hover {
  box-shadow: 0 24px 50px rgba(91, 58, 29, 0.13), 0 0 18px rgba(217, 119, 6, 0.08);
}

html[data-theme="light"] body:not(.theme-locked) .p-card.featured {
  border-color: rgba(207, 61, 45, 0.26);
  box-shadow: 0 20px 48px rgba(207, 61, 45, 0.12);
}

html[data-theme="light"] body:not(.theme-locked) .p-card:first-child {
  border-color: rgba(217, 119, 6, 0.38);
  box-shadow: 0 20px 46px rgba(217, 119, 6, 0.14);
  background: radial-gradient(130% 120% at 50% 0%, rgba(249, 115, 22, 0.12) 0%, rgba(255, 255, 255, 0.98) 54%, rgba(255, 248, 238, 1) 100%);
}

html[data-theme="light"] body:not(.theme-locked) .p-divider {
  border-top-color: var(--b1);
}

html[data-theme="light"] body:not(.theme-locked) .pf-n {
  color: var(--t4);
}

html[data-theme="light"] body:not(.theme-locked) .pb-free {
  color: #6c3e11;
  background: linear-gradient(180deg, rgba(255, 243, 224, 0.98), rgba(255, 236, 208, 0.98));
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.12), inset 0 0 0 1px rgba(255, 209, 140, 0.22);
}

html[data-theme="light"] body:not(.theme-locked) .pb-starter,
html[data-theme="light"] body:not(.theme-locked) .pb-org {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 233, 0.98));
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.08);
}

html[data-theme="light"] body:not(.theme-locked) .p-price-strike {
  color: rgba(95, 70, 55, 0.7);
}

html[data-theme="light"] body:not(.theme-locked) .p-price-discount,
html[data-theme="light"] body:not(.theme-locked) .p-countdown,
html[data-theme="light"] body:not(.theme-locked) .promo-note {
  text-shadow: none;
}

html[data-theme="light"] body:not(.theme-locked) .pricing-currency select option {
  color: #20150d;
  background: #fffaf2;
}

@media (max-width: 767px) {
  .pricing-toolbar {
    align-items: flex-start;
    gap: 14px;
  }

  .pricing-currency {
    width: 100%;
    justify-content: space-between;
    padding: 10px 12px;
  }

  .pricing-currency select {
    min-width: 96px;
    text-align: right;
  }

  .pricing-page {
    padding-top: 48px;
  }

  .pricing-page-title,
  .pricing-page-subtitle {
    line-height: .98;
  }
}

@media (max-width: 480px) {
  .pricing-wrap {
    padding: 68px 0 56px;
  }

  .pricing-toolbar {
    margin-bottom: 8px;
  }

  .pricing-title,
  .pricing-page-title,
  .pricing-page-subtitle {
    letter-spacing: 0;
    line-height: 1.04;
  }

  .pricing-title-main,
  .pricing-title-accent {
    display: block;
  }

  .pricing-title-main::after,
  .pricing-title-accent::after {
    right: 0;
  }

  .pricing-copy,
  .promo-note {
    font-size: .74rem;
    line-height: 1.58;
  }

  .p-card {
    padding: 14px 12px;
  }

  .pricing-grid {
    gap: 20px;
  }

  .p-card-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
  }

  .p-card .p-top {
    margin-bottom: 12px;
  }

  .p-card .p-top.pro {
    margin-top: 0;
  }

  .p-card-price,
  .p-card-price.compact {
    min-height: 0;
  }

  .p-price {
    font-size: clamp(2.2rem, 14vw, 3rem);
  }

  .p-price-strike {
    font-size: 1.15rem;
  }

  .p-price-discount {
    font-size: clamp(2rem, 13vw, 2.8rem);
  }

  .p-countdown {
    font-size: .62rem;
    letter-spacing: .08em;
  }

  .p-price-stack {
    gap: 3px;
  }

  .p-features {
    gap: 9px;
    margin-bottom: 0;
  }

  .p-feat {
    gap: 8px;
    font-size: .76rem;
    line-height: 1.32;
  }

  .p-btn {
    min-height: 46px;
    font-size: .68rem;
    letter-spacing: .04em;
    margin-top: 14px;
    border-radius: 12px;
    box-shadow: none;
  }

  .pb-free,
  .pb-starter,
  .pb-org {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-shadow: none;
  }

  .pb-free {
    background: linear-gradient(180deg, rgba(78, 52, 16, 0.98), rgba(58, 38, 12, 0.98));
  }

  .pb-starter,
  .pb-org {
    background: linear-gradient(180deg, rgba(18, 18, 28, 0.98), rgba(12, 12, 20, 0.99));
  }

  .p-pop-tag {
    font-size: .48rem;
    padding: 5px 8px;
    margin-bottom: 6px;
  }
}

@media (max-width: 520px) {
  .pricing-grid .p-card::before,
  .pricing-grid .p-card::after {
    opacity: .65;
  }

  .p-card .p-top {
    margin-bottom: 10px;
  }

  .p-btn {
    min-height: 42px;
    white-space: normal;
    text-align: center;
    padding: 10px 14px;
    line-height: 1.2;
  }
}

@media (max-width: 420px) {
  .pricing-section + .pricing-section {
    margin-top: 88px;
  }

  .pricing-wrap {
    padding: 60px 0 50px;
  }

  .pricing-grid {
    gap: 16px;
    margin-top: 18px;
    padding-top: 10px;
  }

  .pricing-title,
  .pricing-page-title,
  .pricing-page-subtitle {
    font-size: clamp(1.88rem, 10.8vw, 2.4rem);
    line-height: 1.02;
  }

  .pricing-copy,
  .promo-note {
    font-size: .72rem;
    line-height: 1.52;
  }

  .p-card {
    padding: 13px 11px 14px;
    border-radius: 14px;
  }

  .p-price {
    font-size: clamp(1.92rem, 13vw, 2.48rem);
  }

  .p-price-strike {
    font-size: .98rem;
  }

  .p-price-discount {
    font-size: clamp(1.8rem, 12.2vw, 2.3rem);
  }

  .p-tagline {
    font-size: .8rem;
    line-height: 1.28;
  }

  .p-features {
    gap: 7px;
  }

  .p-feat {
    font-size: .72rem;
    line-height: 1.3;
  }

  .p-btn {
    min-height: 44px;
    font-size: .66rem;
    letter-spacing: .04em;
    margin-top: 18px;
  }

  .pricing-currency {
    padding: 9px 10px;
  }

  .pricing-currency select {
    min-width: 82px;
    font-size: .72rem;
  }
}

html[data-theme="light"] .pricing-wrap {
  background: linear-gradient(180deg, rgba(255,248,239,.96) 0%, rgba(241,231,218,.98) 100%);
}

html[data-theme="light"] .pricing-currency {
  background: rgba(255,255,255,.84);
  border-color: rgba(68,36,18,.14);
  box-shadow: 0 10px 24px rgba(86,47,22,.08);
}

html[data-theme="light"] .p-card {
  background: radial-gradient(120% 115% at 50% 0%, rgba(255,203,160,.28) 0%, rgba(255,249,242,.98) 44%, rgba(248,238,226,1) 100%);
  border-color: rgba(68,36,18,.12);
  box-shadow: 0 20px 44px rgba(86,47,22,.12);
}

html[data-theme="light"] .p-card::before {
  background-image: linear-gradient(rgba(191,90,0,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(191,90,0,0.035) 1px, transparent 1px);
}

html[data-theme="light"] .p-card.featured {
  border-color: rgba(198,58,38,.24);
  box-shadow: 0 22px 48px rgba(198,58,38,.14), 0 0 0 1px rgba(198,58,38,.08) inset;
}

html[data-theme="light"] .p-feat,
html[data-theme="light"] .p-tagline {
  color: var(--t2);
}


@media (max-width: 620px) {
  .pricing-section + .pricing-section {
    margin-top: 82px;
  }

  .pricing-grid {
    grid-auto-rows: auto !important;
    gap: 36px;
    margin-top: 24px;
    padding-top: 18px;
  }

  .pricing-grid .p-card,
  .pricing-grid .p-card.featured {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .pricing-grid .p-card::before,
  .pricing-grid .p-card::after {
    inset: 0;
  }

  .p-card-body {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    min-height: 0 !important;
  }

  .p-card-price,
  .p-card-price.compact,
  .p-tabs,
  .p-tab-panels,
  .p-panel,
  .p-panel.is-active,
  .p-panel .p-features,
  .p-panel .p-arena {
    min-height: 0 !important;
    height: auto !important;
  }

  .p-tabs {
    margin-bottom: 14px;
  }

  .p-tab-nav {
    position: relative;
    z-index: 2;
  }

  .p-btn {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: 16px;
    align-self: stretch;
    justify-self: auto;
  }
}

@media (max-width: 620px) {
  .p-tab-nav {
    gap: 6px;
    margin-bottom: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p-tab {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  .p-arena {
    padding: 12px;
  }

  .p-arena-list {
    gap: 6px;
    font-size: 0.72rem;
  }
}

@media (max-width: 420px) {
  .pricing-grid {
    gap: 38px;
    margin-top: 22px;
    padding-top: 22px;
  }

  .p-tab-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .p-tab {
    width: 100%;
    min-height: 32px;
    font-size: 0.46rem;
    letter-spacing: 0.06em;
  }

  .p-arena {
    border-radius: 14px;
    padding: 11px;
  }

  .p-arena-head {
    gap: 8px;
    margin-bottom: 8px;
  }

  .p-arena-kicker,
  .p-arena-cap {
    font-size: 0.44rem;
    letter-spacing: 0.08em;
  }

  .p-arena-list {
    padding-left: 16px;
    font-size: 0.68rem;
    line-height: 1.34;
  }
}

@media (max-width: 767px) {
  .pricing-section + .pricing-section {
    margin-top: 116px !important;
  }

  .pricing-section .label {
    display: inline-flex;
    margin-bottom: 12px;
  }

  .pricing-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
    gap: 74px !important;
    margin-top: 24px !important;
    padding-top: 20px !important;
  }

  .pricing-grid .p-card,
  .pricing-grid .p-card.featured {
    height: auto !important;
    min-height: 0 !important;
    padding: 16px 14px 56px !important;
    overflow: visible !important;
  }

  .pricing-grid .p-card::before,
  .pricing-grid .p-card::after {
    inset: 0 !important;
  }

  .pricing-grid .p-card + .p-card {
    margin-top: 0 !important;
  }

  .p-card .p-top,
  .p-card .p-top.pro {
    margin-bottom: 12px !important;
    margin-top: 0 !important;
  }

  .p-card-body,
  .p-card-price,
  .p-card-price.compact,
  .p-tabs,
  .p-tab-panels,
  .p-panel .p-features,
  .p-panel .p-arena {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .p-panel {
    display: none !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .p-panel.is-active {
    display: block !important;
  }

  .p-card-price,
  .p-card-price.compact {
    margin-bottom: 12px !important;
  }

  .p-price {
    font-size: clamp(1.76rem, 11.2vw, 2.3rem) !important;
    line-height: 0.96 !important;
  }

  .p-period {
    margin-top: 5px !important;
    font-size: 0.74rem !important;
  }

  .p-price-sub,
  .p-tagline {
    min-height: 0 !important;
  }

  .p-tagline {
    font-size: 0.84rem !important;
    line-height: 1.34 !important;
  }

  .p-divider {
    margin: 14px 0 12px !important;
  }

  .p-tabs {
    margin-bottom: 0 !important;
  }

  .p-tab-nav {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
  }

  .p-tab {
    min-height: 40px !important;
    padding: 0 12px !important;
    font-size: 0.54rem !important;
    letter-spacing: 0.08em !important;
  }

  .p-panel .p-features,
  .p-panel .p-arena {
    margin-bottom: 0 !important;
  }

  .p-features {
    gap: 9px !important;
  }

  .p-feat {
    font-size: 0.82rem !important;
    line-height: 1.38 !important;
  }

  .p-arena {
    padding: 12px !important;
    border-radius: 14px !important;
  }

  .p-arena-list {
    gap: 7px !important;
    padding-left: 17px !important;
    font-size: 0.76rem !important;
    line-height: 1.42 !important;
  }

  .p-btn {
    position: relative !important;
    z-index: 3 !important;
    display: inline-flex !important;
    width: calc(100% - 18px) !important;
    min-height: 46px !important;
    margin: 18px auto -26px !important;
    align-self: center !important;
    justify-self: center !important;
    border-radius: 12px !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.05em !important;
    box-shadow: none !important;
  }

  .pb-free,
  .pb-starter,
  .pb-org {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 520px) {
  .pricing-section + .pricing-section {
    margin-top: 126px !important;
  }

  .pricing-grid {
    gap: 82px !important;
  }

  .pricing-grid .p-card,
  .pricing-grid .p-card.featured {
    padding: 15px 12px 58px !important;
  }

  .p-price {
    font-size: clamp(1.64rem, 10.8vw, 2.08rem) !important;
  }

  .p-period {
    font-size: 0.7rem !important;
  }

  .p-tagline {
    font-size: 0.8rem !important;
  }

  .p-tab {
    min-height: 38px !important;
    font-size: 0.5rem !important;
  }

  .p-feat {
    font-size: 0.78rem !important;
  }

  .p-arena-list {
    font-size: 0.73rem !important;
  }

  .p-btn {
    width: calc(100% - 14px) !important;
    margin: 18px auto -28px !important;
    min-height: 44px !important;
  }
}

@media (max-width: 420px) {
  .pricing-wrap {
    padding: 60px 0 52px !important;
  }

  .pricing-section + .pricing-section {
    margin-top: 132px !important;
  }

  .pricing-grid {
    gap: 88px !important;
    margin-top: 22px !important;
    padding-top: 18px !important;
  }

  .pricing-grid .p-card,
  .pricing-grid .p-card.featured {
    padding: 14px 11px 60px !important;
  }

  .pricing-title,
  .pricing-page-title,
  .pricing-page-subtitle {
    font-size: clamp(1.7rem, 10.4vw, 2.16rem) !important;
    line-height: 1.01 !important;
  }

  .p-price {
    font-size: clamp(1.5rem, 10.2vw, 1.92rem) !important;
  }

  .p-price-strike {
    font-size: 0.9rem !important;
  }

  .p-price-discount {
    font-size: clamp(1.56rem, 10.5vw, 2rem) !important;
  }

  .p-tagline,
  .pricing-copy,
  .promo-note {
    font-size: 0.76rem !important;
    line-height: 1.5 !important;
  }

  .p-tab {
    min-height: 36px !important;
    font-size: 0.47rem !important;
  }

  .p-feat {
    font-size: 0.75rem !important;
    line-height: 1.36 !important;
  }

  .p-arena-list {
    padding-left: 15px !important;
    font-size: 0.71rem !important;
    line-height: 1.4 !important;
  }

  .p-btn {
    font-size: 0.66rem !important;
    margin: 18px auto -30px !important;
  }
}

/* readability uplift */
.pricing-copy {
  font-size: .96rem;
  line-height: 1.82;
}

.p-period {
  font-size: .86rem;
  line-height: 1.5;
}

.p-price-sub,
.p-countdown,
.promo-note {
  font-size: .8rem;
  line-height: 1.55;
}

.p-tagline {
  font-size: 1rem;
  line-height: 1.52;
}

.p-feat {
  font-size: .98rem;
  line-height: 1.52;
}

.p-arena-kicker {
  font-size: .58rem;
  letter-spacing: .12em;
}

.p-arena-list {
  font-size: .88rem;
  line-height: 1.54;
}

.pricing-faq-card .text-muted {
  font-size: .92rem;
  line-height: 1.78;
}

@media (max-width: 767px) {
  .pricing-copy {
    font-size: .9rem !important;
    line-height: 1.72 !important;
  }

  .p-period,
  .p-price-sub,
  .p-countdown,
  .promo-note {
    font-size: .76rem !important;
    line-height: 1.5 !important;
  }

  .p-tagline {
    font-size: .92rem !important;
    line-height: 1.44 !important;
  }

  .p-feat {
    font-size: .88rem !important;
    line-height: 1.46 !important;
  }

  .p-arena-list {
    font-size: .84rem !important;
    line-height: 1.48 !important;
  }
}
