:root {
  --pricing-deep: #174f4c;
  --pricing-teal: #2f8f87;
  --pricing-mint: #b9dfd9;
  --pricing-cream: #fffaf2;
  --pricing-sand: #eadcc8;
}

.pricing-page {
  background:
    radial-gradient(circle at 84% 8%, rgba(143, 202, 197, 0.2), transparent 28rem),
    var(--paper);
}

.pricing-main {
  padding-top: 86px;
}

.pricing-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 9vw, 118px) clamp(20px, 6vw, 88px) clamp(52px, 7vw, 86px);
  border-bottom: 1px solid var(--line-dark);
}

.pricing-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -18rem;
  right: -13rem;
  width: 39rem;
  aspect-ratio: 1;
  border: 1px solid rgba(63, 159, 150, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(143, 202, 197, 0.05),
    0 0 0 9rem rgba(185, 147, 108, 0.035);
}

.pricing-hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.pricing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--aqua-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pricing-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.pricing-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--pricing-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 7vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.pricing-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.72;
}

.pricing-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(830px, 100%);
  margin-top: 38px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: var(--line-dark);
  box-shadow: 0 18px 50px rgba(32, 50, 45, 0.08);
}

.pricing-meta-item {
  min-height: 94px;
  padding: 19px 22px;
  background: rgba(255, 250, 242, 0.92);
}

.pricing-meta-item strong,
.pricing-meta-item span {
  display: block;
}

.pricing-meta-item strong {
  margin-bottom: 6px;
  color: var(--pricing-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 500;
}

.pricing-meta-item span {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.pricing-anchor-wrap {
  position: sticky;
  z-index: 30;
  top: 76px;
  padding: 12px clamp(16px, 4vw, 52px);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255, 250, 242, 0.94);
  backdrop-filter: blur(18px);
}

.pricing-anchors {
  display: flex;
  gap: 9px;
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.pricing-anchors::-webkit-scrollbar {
  display: none;
}

.pricing-anchors a {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink-3);
  font-size: 0.82rem;
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.pricing-anchors a:hover,
.pricing-anchors a:focus-visible {
  border-color: rgba(63, 159, 150, 0.56);
  background: rgba(143, 202, 197, 0.15);
  color: var(--pricing-deep);
}

.pricing-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 120px);
}

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

.pricing-section {
  scroll-margin-top: 160px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 20px 52px rgba(32, 50, 45, 0.075);
}

.pricing-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  border-bottom: 1px solid var(--line-dark);
  background:
    linear-gradient(125deg, rgba(143, 202, 197, 0.17), transparent 68%),
    rgba(242, 230, 213, 0.2);
}

.pricing-section-head h2 {
  margin: 0;
  color: var(--pricing-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.05rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.pricing-section-head span {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(63, 159, 150, 0.12);
  color: var(--pricing-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.pricing-table tr {
  border-bottom: 1px solid rgba(32, 50, 45, 0.09);
}

.pricing-table tr:last-child {
  border-bottom: 0;
}

.pricing-table th,
.pricing-table td {
  padding: 17px clamp(22px, 4vw, 38px);
  vertical-align: top;
  line-height: 1.45;
}

.pricing-table th {
  width: 66%;
  color: rgba(32, 50, 45, 0.78);
  font-size: 0.96rem;
  font-weight: 520;
  text-align: left;
}

.pricing-table td {
  color: var(--pricing-deep);
  font-size: 0.97rem;
  font-weight: 760;
  text-align: right;
  white-space: nowrap;
}

.pricing-table tr[data-supplement] {
  background: rgba(185, 147, 108, 0.07);
}

.pricing-table tr[data-supplement] th,
.pricing-table tr[data-supplement] td {
  color: #745f49;
}

.pricing-conditions {
  margin-top: 34px;
  scroll-margin-top: 160px;
}

.pricing-conditions > h2 {
  margin: 0 0 22px;
  color: var(--pricing-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
}

.pricing-condition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pricing-condition-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 18px 44px rgba(32, 50, 45, 0.06);
}

.pricing-condition-card[data-included] {
  border-top: 4px solid var(--pricing-teal);
}

.pricing-condition-card[data-excluded] {
  border-top: 4px solid var(--sand);
}

.pricing-condition-card h3 {
  margin: 0 0 20px;
  color: var(--pricing-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.pricing-condition-card ul {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-condition-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted-dark);
  line-height: 1.55;
}

.pricing-condition-card li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 1px;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.pricing-disclaimer {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(63, 159, 150, 0.24);
  border-radius: 14px;
  background: rgba(143, 202, 197, 0.09);
}

.pricing-disclaimer h2 {
  margin: 0 0 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.pricing-disclaimer p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.92rem;
  line-height: 1.75;
}

.pricing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 14px;
  background: var(--pricing-deep);
  color: var(--paper);
  box-shadow: 0 24px 62px rgba(23, 79, 76, 0.22);
}

.pricing-cta h2 {
  margin: 0 0 10px;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 4vw, 3.05rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.pricing-cta p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 250, 242, 0.76);
  line-height: 1.65;
}

.pricing-cta .button {
  min-width: 220px;
  border-color: var(--paper);
  background: var(--paper);
  color: var(--pricing-deep);
  text-align: center;
}

@media (max-width: 980px) {
  .pricing-main {
    padding-top: 72px;
  }

  .pricing-anchor-wrap {
    top: 68px;
  }
}

@media (max-width: 760px) {
  .pricing-hero {
    padding-top: 56px;
  }

  .pricing-hero-meta,
  .pricing-condition-grid {
    grid-template-columns: 1fr;
  }

  .pricing-section-head {
    align-items: start;
    flex-direction: column;
  }

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

  .pricing-table tr {
    padding: 16px 20px;
  }

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

  .pricing-table td {
    margin-top: 7px;
    text-align: left;
    white-space: normal;
  }

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

  .pricing-cta .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .pricing-content {
    width: min(100% - 24px, 1180px);
  }

  .pricing-hero {
    padding-inline: 18px;
  }

  .pricing-hero h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-anchors a {
    transition: none;
  }
}
