.pricing-hero {
  position: relative;
  padding-top: 92px;
  padding-bottom: 86px;
  overflow-x: clip;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, var(--color-panel-muted), var(--color-bg));
}

.pricing-hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--color-dot) 1px, transparent 1.3px);
  background-size: 16px 16px;
  content: "";
  opacity: .55;
  pointer-events: none;
}

.pricing-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  align-items: end;
  gap: 64px;
}

.pricing-hero-copy {
  max-width: 850px;
}

.pricing-hero-copy h1 {
  margin-top: 16px;
}

.pricing-lead {
  max-width: 780px;
  margin-bottom: 30px;
  color: var(--color-text-muted);
  font-size: 20px;
  line-height: 1.7;
}

.pricing-beams {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(48%, 720px);
  max-width: 100%;
  overflow: hidden;
  pointer-events: none;
}

.pricing-beams span {
  position: absolute;
  bottom: 0;
  width: 18px;
  border-radius: var(--radius-pill) var(--radius-pill) 0 0;
  background: linear-gradient(180deg, var(--color-accent-bright), var(--color-accent));
  box-shadow: 0 0 34px var(--color-cyan-halo);
  opacity: .18;
  animation: pricing-beam-breathe 8s ease-in-out infinite alternate;
}

.pricing-beams span:nth-child(1) {
  right: 8%;
  height: 62%;
}

.pricing-beams span:nth-child(2) {
  right: 18%;
  width: 10px;
  height: 42%;
  animation-duration: 7s;
}

.pricing-beams span:nth-child(3) {
  right: 29%;
  width: 14px;
  height: 78%;
  animation-duration: 9s;
}

.pricing-beams span:nth-child(4) {
  right: 41%;
  width: 8px;
  height: 52%;
}

.pricing-beams span:nth-child(5) {
  right: 54%;
  width: 12px;
  height: 34%;
  animation-duration: 7s;
}

.pricing-beams span:nth-child(6) {
  right: 66%;
  width: 7px;
  height: 68%;
  animation-duration: 9s;
}

@keyframes pricing-beam-breathe {
  to {
    opacity: .32;
  }
}

.pricing-summary {
  position: relative;
  padding: 26px;
  overflow: clip;
}

.pricing-summary::after,
.payment-panel::after {
  position: absolute;
  inset: auto 0 0 auto;
  width: 45%;
  height: 55%;
  background: linear-gradient(135deg, transparent, var(--color-accent-bright));
  content: "";
  opacity: .12;
  mask-image: radial-gradient(circle, #000 1.5px, transparent 1.9px);
  mask-size: 8px 8px;
  pointer-events: none;
}

.pricing-summary-label {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  color: var(--color-accent);
  font: 12px/1.4 var(--font-mono);
  letter-spacing: .08em;
}

.pricing-summary dl {
  position: relative;
  z-index: 1;
  margin: 0;
}

.pricing-summary dl div {
  padding: 13px 0;
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: minmax(90px, .6fr) 1.4fr;
  gap: 16px;
}

.pricing-summary dt {
  color: var(--color-text);
  font-weight: 650;
}

.pricing-summary dd {
  margin: 0;
  color: var(--color-text-muted);
  text-align: right;
}

.pricing-selector-section {
  background: var(--color-bg);
}

.pricing-tabs {
  width: fit-content;
  margin-bottom: 20px;
}

.pricing-intro {
  max-width: 880px;
  margin-bottom: 32px;
}

.pricing-intro h3 {
  margin-bottom: 10px;
}

.pricing-intro p {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 17px;
}

.plan-description {
  min-height: 142px;
  margin-bottom: 22px;
  color: var(--color-text-muted);
}

.plan-card {
  display: flex;
  flex-direction: column;
}

.plan-card ul {
  flex: 1;
}

.pack-grid .plan-description {
  min-height: 116px;
}

.included-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 20px;
}

.included-primary {
  position: relative;
  padding: 32px;
  overflow: clip;
  background: linear-gradient(145deg, var(--color-panel), var(--color-accent-tint));
}

.included-primary::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-accent-bright));
  content: "";
}

.included-primary p {
  color: var(--color-text-muted);
  font-size: 17px;
}

.included-primary p:last-child {
  margin-bottom: 0;
}

.included-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: clip;
  background: var(--color-panel);
  box-shadow: var(--shadow-panel);
}

.included-list article {
  padding: 26px;
}

.included-list article:nth-child(odd) {
  border-right: 1px solid var(--color-border);
}

.included-list article:nth-child(-n+2) {
  border-bottom: 1px solid var(--color-border);
}

.included-list h3 {
  font-size: 20px;
}

.included-list p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.comparison-notes {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.comparison-notes article {
  padding: 26px;
}

.comparison-notes h3 {
  font-size: 21px;
}

.comparison-notes p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: start;
  gap: 56px;
}

.process-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
  counter-reset: payment-step;
}

.process-list li {
  position: relative;
  min-height: 92px;
  padding: 20px 22px 20px 72px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
  counter-increment: payment-step;
}

.process-list li::before {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-dark);
  color: var(--color-on-accent);
  content: counter(payment-step);
  display: grid;
  place-items: center;
  font: 12px/1 var(--font-mono);
}

.process-list strong {
  display: block;
  margin-bottom: 5px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.payment-panel {
  position: sticky;
  top: 24px;
  padding: 28px;
  overflow: clip;
}

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

.payment-methods li {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-panel-muted);
  display: flex;
  align-items: center;
  color: var(--color-text);
  font-weight: 650;
}

.check-list {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
  padding: 0;
  list-style: none;
  color: var(--color-text-muted);
}

.check-list li {
  position: relative;
  padding-left: 20px;
}

.check-list li + li {
  margin-top: 9px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--color-success);
  content: "✓";
}

.payment-panel .btn {
  position: relative;
  z-index: 1;
  width: 100%;
}

.refund-layout {
  padding: 44px;
  border: 1px solid var(--color-terminal-border);
  border-radius: var(--radius-md);
  background: var(--color-accent-dark);
  box-shadow: var(--shadow-panel);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 38px;
}

.refund-mark {
  width: 116px;
  height: 116px;
  border: 1px solid var(--color-terminal-border);
  border-radius: var(--radius-pill);
  background: linear-gradient(145deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-terminal-text);
  box-shadow: inset 0 1px 0 var(--color-highlight-soft);
  display: grid;
  place-items: center;
  font: 500 42px/1 var(--font-mono);
}

.refund-copy h2 {
  color: var(--color-terminal-text);
}

.refund-copy .eyebrow,
.refund-copy p {
  color: var(--color-terminal-muted);
}

.refund-copy .eyebrow::before {
  background: var(--color-accent-bright);
}

.refund-copy strong {
  color: var(--color-terminal-text);
}

.refund-lead {
  font-size: 20px;
}

.refund-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.refund-actions .btn-secondary {
  border-color: var(--color-accent-bright);
  color: var(--color-terminal-text);
}

.refund-actions .btn-secondary:hover,
.refund-actions .btn-subtle:hover {
  background: var(--color-highlight-soft);
}

.refund-actions .btn-subtle {
  border-color: var(--color-terminal-border);
  background: transparent;
  color: var(--color-terminal-text);
}

.faq-layout {
  max-width: 1000px;
}

@media (max-width: 980px) {
  .pricing-hero-inner,
  .included-layout,
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .pricing-hero-inner {
    gap: 38px;
  }

  .pricing-summary {
    max-width: 640px;
  }

  .payment-panel {
    position: static;
  }
}

@media (max-width: 768px) {
  .pricing-hero {
    padding-top: 66px;
    padding-bottom: 64px;
  }

  .pricing-lead {
    font-size: 17px;
  }

  .pricing-beams {
    width: 52%;
    opacity: .7;
  }

  .included-list,
  .comparison-notes {
    grid-template-columns: 1fr;
  }

  .included-list article:nth-child(odd) {
    border-right: 0;
  }

  .included-list article {
    border-bottom: 1px solid var(--color-border);
  }

  .included-list article:last-child {
    border-bottom: 0;
  }

  .plan-description,
  .pack-grid .plan-description {
    min-height: 0;
  }

  .refund-layout {
    padding: 32px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .refund-mark {
    width: 88px;
    height: 88px;
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .pricing-hero {
    overflow-x: clip;
  }

  .pricing-beams {
    display: none;
  }

  .pricing-summary,
  .included-primary,
  .comparison-notes article,
  .payment-panel {
    padding: 22px;
  }

  .pricing-summary dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .pricing-summary dd {
    text-align: left;
  }

  .pricing-tabs {
    width: 100%;
  }

  .pricing-tabs [role="tab"] {
    flex: 1 0 auto;
  }

  .process-list li {
    padding: 66px 18px 18px;
  }

  .process-list li::before {
    top: 17px;
    left: 18px;
  }

  .refund-layout {
    padding: 26px 20px;
  }

  .refund-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .refund-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-beams span {
    animation: none;
  }
}