:root {
  --pricing-accent: #ffdc73;
  --pricing-blue: #7aa8ff;
  --pricing-muted: #c1c9da;
}

.pricing-main {
  width: min(1060px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
  color: #f3f6ff;
}

.pricing-hero,
.pricing-section,
.pricing-closing {
  max-width: 920px;
  margin: 0 auto;
}

.pricing-hero {
  padding: clamp(1.5rem, 4vw, 3rem) 0;
  text-align: center;
}

.pricing-kicker {
  margin: 0 0 0.5rem;
  color: var(--pricing-accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-hero h1 {
  max-width: 760px;
  margin: 0 auto 1rem;
  font-size: clamp(2rem, 1.35rem + 2.4vw, 3.4rem);
  line-height: 1.08;
}

.pricing-hero p {
  max-width: 760px;
  margin: 0 auto 1.35rem;
  color: var(--pricing-muted);
  font-size: 1.08rem;
}

.pricing-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.1rem;
  border-radius: 10px;
  color: #071225;
  font-weight: 850;
  text-decoration: none;
  background: var(--pricing-accent);
  box-shadow: 0 9px 26px rgba(0, 0, 0, 0.22);
}

.pricing-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(122, 168, 255, 0.3);
}

.pricing-section h2,
.pricing-closing h2 {
  color: #fff;
  font-size: clamp(1.45rem, 1.2rem + 0.9vw, 2rem);
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(122, 168, 255, 0.38);
  border-radius: 14px;
  background: rgba(14, 28, 55, 0.78);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  line-height: 1.45;
}

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

.pricing-table th,
.pricing-table td {
  padding: 0.95rem;
  border-bottom: 1px solid rgba(122, 168, 255, 0.2);
  text-align: left;
  vertical-align: top;
}

.pricing-table thead th {
  color: #dfe9ff;
  background: rgba(26, 55, 103, 0.76);
}

.pricing-table tbody th {
  color: var(--pricing-accent);
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-note,
.pricing-support {
  color: var(--pricing-muted);
  font-size: 0.94rem;
}

.pricing-explainer {
  max-width: 780px;
}

.pricing-explainer p,
.pricing-explainer li,
.pricing-closing p {
  color: var(--pricing-muted);
}

.pricing-explainer li + li {
  margin-top: 0.55rem;
}

.pricing-main a:not(.pricing-cta) {
  color: #aecaff;
}

.pricing-closing {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 220, 115, 0.35);
  border-radius: 14px;
  text-align: center;
  background: rgba(30, 29, 51, 0.58);
}

@media (max-width: 700px) {
  .pricing-main {
    width: min(100% - 1.1rem, 1060px);
    padding-top: 1rem;
  }

  .pricing-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table th,
  .pricing-table td {
    display: block;
    width: 100%;
  }

  .pricing-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .pricing-table tbody tr {
    padding: 0.85rem;
    border-top: 1px solid rgba(122, 168, 255, 0.3);
  }

  .pricing-table tbody tr:last-child {
    border-bottom: 1px solid rgba(122, 168, 255, 0.3);
  }

  .pricing-table th,
  .pricing-table td {
    padding: 0.3rem 0;
    border: 0;
  }

  .pricing-table td::before {
    content: attr(data-label) ": ";
    color: #dfe9ff;
    font-weight: 750;
  }
}
