/* Pricing page shell */
.pricing-section{
  min-height:100vh;
  padding:24px 0 56px;
  background: transparent;
}

.pricing-container{
  width:min(1120px, 92vw);
  margin:0 auto;
}

.pricing-header{
  display:grid;
  gap:8px;
  margin-bottom:12px;
}

.pricing-header__eyebrow,
.pricing-panel__step{
  color:var(--ppl-deep-sea-green);
  font-size:11px;
  font-weight:950;
  letter-spacing:0.12em;
  text-transform:uppercase;
}

.pricing-title{
  margin:0;
  max-width:760px;
  color:var(--ppl-mirage);
  font-size:clamp(28px, 4vw, 48px);
  line-height:1.04;
  font-weight:950;
}

.pricing-subtitle,
.pricing-products__text{
  margin:0;
  max-width:760px;
  color:rgba(22,35,42,0.72);
  font-size:14px;
  line-height:1.6;
}

.pricing-icon-strip{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:4px;
}

.pricing-icon-strip span,
.pricing-segment i,
.pricing-plan-toggle__item i{
  color:var(--ppl-deep-sea-green);
}

.pricing-icon-strip span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(7,80,86,0.11);
  background:rgba(255,255,255,0.72);
  color:rgba(22,35,42,0.78);
  font-size:13px;
  font-weight:850;
}

/* Guided panels */
.pricing-flow{
  display:grid;
  gap:10px;
}

.pricing-panel,
.pricing-products{
  border:1px solid rgba(22,35,42,0.08);
  background:rgba(255,255,255,0.82);
  border-radius:18px;
  box-shadow:0 18px 54px rgba(22,35,42,0.07);
}

.pricing-panel{
  padding:18px;
}

.pricing-panel--compact{
  padding:14px 16px;
}

.pricing-panel__head,
.pricing-products__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
}

.pricing-panel__title,
.pricing-products__title{
  margin:4px 0 0;
  color:var(--ppl-mirage);
  font-size:clamp(18px, 2.2vw, 26px);
  line-height:1.15;
  font-weight:950;
}

.pricing-panel__context,
.pricing-buyer-context{
  display:grid;
  gap:4px;
  min-width:190px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(7,80,86,0.10);
  background:rgba(7,80,86,0.06);
  color:rgba(22,35,42,0.68);
  font-size:12px;
  font-weight:800;
}

.pricing-panel__context strong,
.pricing-buyer-context strong{
  color:var(--ppl-deep-sea-green);
  font-size:14px;
}

.pricing-board-module{
  display:grid;
}

.pricing-board-module{
  width:min(100%, 340px);
  gap:9px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(7,80,86,0.11);
  background:rgba(7,80,86,0.045);
}

.pricing-board-module__summary{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.pricing-board-module__icon{
  flex:0 0 auto;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:rgba(7,80,86,0.10);
  border:1px solid rgba(7,80,86,0.12);
  color:var(--ppl-deep-sea-green);
}

.pricing-board-module__summary span{
  display:block;
  color:var(--ppl-deep-sea-green);
  font-size:10px;
  font-weight:950;
  letter-spacing:0.1em;
  text-transform:uppercase;
}

.pricing-board-module__summary strong{
  display:block;
  color:var(--ppl-mirage);
  font-size:15px;
  line-height:1.2;
}

.pricing-board-module__summary small{
  display:block;
  color:rgba(22,35,42,0.58);
  font-weight:800;
}

.pricing-picker-form{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:6px;
  margin:0;
}

.pricing-picker-form label{
  grid-column:1 / -1;
  color:rgba(22,35,42,0.62);
  font-size:11px;
  font-weight:950;
  letter-spacing:0.1em;
  text-transform:uppercase;
}

.pricing-picker-select{
  width:100%;
  min-height:44px;
  border-radius:14px;
  border:1px solid rgba(7,80,86,0.15);
  background:#fff;
  color:var(--ppl-mirage);
  font-weight:850;
  padding:0 42px 0 13px;
}

.pricing-picker-apply{
  min-height:44px;
  padding:0 11px;
  border:0;
  border-radius:12px;
  background:rgba(7,80,86,0.10);
  color:var(--ppl-deep-sea-green);
  font-size:12px;
  font-weight:900;
}

.pricing-buyer-context{
  display:inline-grid;
  grid-template-columns:auto auto auto auto;
  align-items:center;
  gap:6px 10px;
  width:max-content;
  max-width:100%;
  min-width:0;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(7,80,86,0.07);
}

.pricing-buyer-context > i{
  color:var(--ppl-blaze-orange);
}

.pricing-buyer-context span,
.pricing-buyer-context em{
  font-style:normal;
  color:rgba(22,35,42,0.58);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
}

.pricing-segment,
.pricing-plan-toggle__item{
  cursor:pointer;
  border:1px solid rgba(22,35,42,0.10);
  background:rgba(255,255,255,0.86);
  color:rgba(22,35,42,0.78);
  font-weight:900;
  transition:transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.pricing-segment:hover,
.pricing-plan-toggle__item:hover{
  transform:translateY(-1px);
  border-color:rgba(255,88,4,0.26);
  box-shadow:0 12px 28px rgba(22,35,42,0.07);
}

.pricing-segment.is-active,
.pricing-plan-toggle__item.is-active{
  color:var(--ppl-deep-sea-green);
  border-color:rgba(255,88,4,0.28);
  background:linear-gradient(135deg, rgba(7,80,86,0.10), rgba(255,88,4,0.10));
}

.pricing-scope-switch{
  display:grid;
  grid-template-columns:auto minmax(0, 1fr);
  align-items:center;
  gap:10px;
  padding:10px;
  border-radius:16px;
  border:1px solid rgba(7,80,86,0.10);
  background:rgba(7,80,86,0.045);
}

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

.pricing-scope-switch__head{
  display:grid;
  gap:2px;
  min-width:128px;
}

.pricing-scope-switch__head span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--ppl-deep-sea-green);
  font-size:11px;
  font-weight:950;
  letter-spacing:0.1em;
  text-transform:uppercase;
}

.pricing-scope-switch__head strong{
  color:rgba(22,35,42,0.58);
  font-size:12px;
  font-weight:900;
}

.pricing-scope-switch__rail{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:2px;
  scrollbar-width:thin;
}

.pricing-scope-pill{
  flex:0 0 auto;
  min-height:44px;
  display:inline-grid;
  grid-template-columns:auto auto;
  align-items:center;
  gap:8px;
  max-width:220px;
  padding:8px 12px;
  border-radius:14px;
  border:1px solid rgba(22,35,42,0.10);
  background:rgba(255,255,255,0.88);
  color:rgba(22,35,42,0.78);
  font-weight:900;
  text-align:left;
  transition:transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.pricing-scope-pill:hover{
  transform:translateY(-1px);
  border-color:rgba(255,88,4,0.24);
  box-shadow:0 12px 28px rgba(22,35,42,0.07);
}

.pricing-scope-pill.is-active{
  color:var(--ppl-deep-sea-green);
  border-color:rgba(255,88,4,0.30);
  background:linear-gradient(135deg, rgba(7,80,86,0.11), rgba(255,88,4,0.10));
}

.pricing-scope-pill i{
  color:var(--ppl-blaze-orange);
}

.pricing-scope-pill span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Product controls */
.pricing-products{
  display:grid;
  gap:12px;
  padding:16px;
}

.pricing-segments,
.pricing-plan-toggle{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.pricing-segment,
.pricing-plan-toggle__item{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:9px 14px;
  border-radius:999px;
  font-size:13px;
}

.pricing-card-stack{
  display:grid;
  gap:14px;
}

.pricing-card-stack .ppl-purchase{
  margin:0;
}

.pricing-card-stack .ppl-purchase__head,
.pricing-card-stack .ppl-purchase__warning{
  display:none;
}

.pricing-card-stack .ppl-purchase__grid,
.pricing-card-stack > .ppl-purchase__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}

.pricing-card-stack .ppl-offer-card{
  min-height:100%;
  padding:18px;
}

.pricing-card-stack .ppl-offer-card.is-popular{
  position:relative;
  border-color:rgba(7,80,86,0.38);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.99), rgba(242,250,247,0.98)),
    linear-gradient(135deg, rgba(7,80,86,0.08), rgba(255,88,4,0.07));
  box-shadow:0 26px 76px rgba(7,80,86,0.14), 0 10px 34px rgba(255,88,4,0.10);
}

.pricing-card-stack .ppl-offer-card[hidden]{
  display:none;
}

.ppl-offer-card__valueList{
  display:grid;
  gap:8px;
  margin:0 0 14px;
  padding:0;
  list-style:none;
}

.ppl-offer-card__valueList li{
  position:relative;
  padding-left:18px;
  color:rgba(22,35,42,0.76);
  font-size:13px;
  line-height:1.45;
}

.ppl-offer-card__valueList li::before{
  content:"";
  position:absolute;
  left:0;
  top:0.58em;
  width:7px;
  height:7px;
  border-radius:999px;
  background:var(--ppl-blaze-orange);
}

.pricing-empty{
  padding:18px;
  border-radius:16px;
  border:1px dashed rgba(22,35,42,0.18);
  color:rgba(22,35,42,0.70);
  background:rgba(255,255,255,0.62);
  font-weight:800;
}

/* Dark mode */
html[data-theme="dark"] .pricing-section{
  background:linear-gradient(180deg, #101923, #0d151d);
}

html[data-theme="dark"] .pricing-title,
html[data-theme="dark"] .pricing-panel__title,
html[data-theme="dark"] .pricing-products__title{
  color:#f6fbff;
}

html[data-theme="dark"] .pricing-subtitle,
html[data-theme="dark"] .pricing-products__text{
  color:#b7c7d8;
}

html[data-theme="dark"] .pricing-icon-strip span{
  background:rgba(255,255,255,0.055);
  border-color:rgba(255,255,255,0.10);
  color:#d8e5ef;
}

html[data-theme="dark"] .pricing-icon-strip span i,
html[data-theme="dark"] .pricing-segment i,
html[data-theme="dark"] .pricing-plan-toggle__item i,
html[data-theme="dark"] .pricing-board-module__icon{
  color:#bcefe3;
}

html[data-theme="dark"] .pricing-panel,
html[data-theme="dark"] .pricing-board-module,
html[data-theme="dark"] .pricing-products{
  background:rgba(18,29,41,0.92);
  border-color:rgba(255,255,255,0.09);
  box-shadow:0 24px 70px rgba(0,0,0,0.28);
}

html[data-theme="dark"] .pricing-segment,
html[data-theme="dark"] .pricing-plan-toggle__item,
html[data-theme="dark"] .pricing-picker-select,
html[data-theme="dark"] .pricing-picker-apply,
html[data-theme="dark"] .pricing-empty{
  background:rgba(255,255,255,0.05);
  border-color:rgba(255,255,255,0.10);
  color:#f6fbff;
}

html[data-theme="dark"] .pricing-picker-select{
  color-scheme:dark;
}

html[data-theme="dark"] .pricing-picker-select option,
html[data-theme="dark"] .pricing-picker-select optgroup{
  background:#f6fbff;
  color:#0f2740;
}

html[data-theme="dark"] .pricing-picker-select option:checked{
  background:#dff5ef;
  color:#075056;
  font-weight:800;
}

html[data-theme="dark"] .pricing-picker-select:focus{
  border-color:rgba(188,239,227,0.42);
  outline:3px solid rgba(188,239,227,0.18);
  outline-offset:2px;
}

html[data-theme="dark"] .pricing-empty,
html[data-theme="dark"] .ppl-offer-card__valueList li,
html[data-theme="dark"] .pricing-picker-form label,
html[data-theme="dark"] .pricing-buyer-context span,
html[data-theme="dark"] .pricing-buyer-context em,
html[data-theme="dark"] .pricing-board-module__summary small{
  color:#b7c7d8;
}

html[data-theme="dark"] .pricing-board-module__summary strong{
  color:#f6fbff;
}

html[data-theme="dark"] .pricing-board-module__icon{
  background:rgba(188,239,227,0.10);
  border-color:rgba(188,239,227,0.14);
}

html[data-theme="dark"] .pricing-buyer-context > i{
  color:#ffb07b;
}

html[data-theme="dark"] .pricing-segment.is-active,
html[data-theme="dark"] .pricing-plan-toggle__item.is-active,
html[data-theme="dark"] .pricing-scope-pill.is-active{
  color:#bcefe3;
  border-color:rgba(255,176,123,0.24);
  background:linear-gradient(135deg, rgba(188,239,227,0.12), rgba(255,176,123,0.10));
}

html[data-theme="dark"] .pricing-panel__context,
html[data-theme="dark"] .pricing-buyer-context{
  background:rgba(188,239,227,0.08);
  border-color:rgba(188,239,227,0.13);
  color:#b7c7d8;
}

html[data-theme="dark"] .pricing-panel__context strong,
html[data-theme="dark"] .pricing-buyer-context strong,
html[data-theme="dark"] .pricing-header__eyebrow,
html[data-theme="dark"] .pricing-panel__step{
  color:#bcefe3;
}

html[data-theme="dark"] .pricing-card-stack .ppl-offer-card.is-popular{
  background:
    linear-gradient(180deg, rgba(16,27,40,0.99), rgba(13,21,29,0.97)),
    linear-gradient(135deg, rgba(188,239,227,0.10), rgba(255,176,123,0.08));
  border-color:rgba(255,176,123,0.58);
  box-shadow:0 0 0 1px rgba(255,176,123,0.18), 0 30px 86px rgba(0,0,0,0.44);
}

html[data-theme="dark"] .pricing-scope-switch{
  background:rgba(188,239,227,0.07);
  border-color:rgba(188,239,227,0.12);
}

html[data-theme="dark"] .pricing-scope-switch__head span{
  color:#bcefe3;
}

html[data-theme="dark"] .pricing-scope-switch__head strong{
  color:#b7c7d8;
}

html[data-theme="dark"] .pricing-scope-pill{
  background:rgba(255,255,255,0.05);
  border-color:rgba(255,255,255,0.10);
  color:#f6fbff;
}

html[data-theme="dark"] .pricing-scope-pill i{
  color:#ffb07b;
}

/* Responsive */
@media (max-width: 980px){
  .pricing-board-module{
    width:100%;
  }

  .pricing-card-stack .ppl-purchase__grid,
  .pricing-card-stack > .ppl-purchase__grid{
    grid-template-columns:1fr;
  }

  .pricing-panel__head,
  .pricing-products__head{
    display:grid;
  }

  .pricing-panel__context{
    min-width:0;
  }
}

@media (max-width: 640px){
  .pricing-container{
    width:min(94vw, 1120px);
  }

  .pricing-section{
    padding-top:10px;
  }

  .pricing-title{
    font-size:clamp(24px, 8vw, 34px);
  }

  .pricing-subtitle{
    font-size:13px;
    line-height:1.45;
  }

  .pricing-panel,
  .pricing-products{
    padding:12px;
    border-radius:16px;
  }

  .pricing-buyer-context{
    grid-template-columns:auto 1fr auto;
    width:100%;
    border-radius:14px;
  }

  .pricing-buyer-context span{
    grid-column:2 / -1;
  }

  .pricing-buyer-context strong{
    grid-column:2;
  }

  .pricing-buyer-context em{
    grid-column:3;
  }

  .pricing-products{
    gap:10px;
  }

  .pricing-scope-switch{
    grid-template-columns:1fr;
    gap:8px;
  }

  .pricing-scope-switch__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-width:0;
  }

  .pricing-scope-switch__rail{
    margin-inline:-2px;
    padding-bottom:3px;
  }

  .pricing-scope-pill{
    max-width:min(78vw, 240px);
  }

  .pricing-products__head{
    gap:0;
  }

  .pricing-picker-form{
    grid-template-columns:1fr;
  }

  .pricing-segment,
  .pricing-plan-toggle__item{
    flex:1 1 calc(50% - 8px);
  }

  .pricing-card-stack .ppl-offer-card{
    padding:16px;
  }
}

@media (prefers-reduced-motion: reduce){
  .pricing-segment,
  .pricing-plan-toggle__item,
  .pricing-scope-pill{
    transition:none;
  }
}
