.pricing-page {
  --pricing-accent: #2e759b;
  --pricing-soft: #eaf3f7;
  --pricing-border: #d4e2e9;
}

.pricing-page .pricing-hero {
  padding: 36px 0 58px;
}

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

.pricing-page .pricing-hero-copy h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -.055em;
  line-height: 1.32;
}

.pricing-page .pricing-hero-copy h1 strong {
  color: var(--pricing-accent);
  font-weight: 780;
}

.pricing-page .pricing-hero-copy .lead {
  max-width: 760px;
  margin: 20px 0 0;
}

.pricing-rule {
  display: flex;
  align-items: center;
  gap: 17px;
  max-width: 780px;
  margin-top: 34px;
  padding: 18px 22px;
  border: 1px solid #c8dce6;
  border-left: 4px solid var(--pricing-accent);
  border-radius: 8px;
  background: rgba(252, 253, 253, .82);
}

.pricing-rule-mark {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--pricing-accent);
  background: var(--pricing-soft);
  font-size: 16px;
  font-weight: 800;
}

.pricing-rule p { display: grid; gap: 2px; margin: 0; color: var(--navy); }
.pricing-rule p strong { font-size: 16px; }
.pricing-rule p span { color: var(--muted); font-size: 14px; }

.pricing-section { padding: 68px 0 74px; }
.pricing-section-ai { background: #f4f8fa; }
.pricing-section-heading { margin-bottom: 25px; }
.pricing-section-heading .section-label { margin-bottom: 8px; }
.pricing-section-heading .section-title { margin-bottom: 7px; font-size: clamp(26px, 3vw, 34px); }
.pricing-section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 15px; }

.pricing-table-wrap {
  overflow: hidden;
  border: 1px solid var(--pricing-border);
  border-radius: 10px;
  background: var(--white);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
}

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

.pricing-table thead { background: #edf4f7; }
.pricing-table th, .pricing-table td {
  padding: 17px 22px;
  border-bottom: 1px solid #e3ebef;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.pricing-table thead th {
  color: #526b7a;
  font-size: 13px;
  font-weight: 700;
}

.pricing-table thead th:first-child { width: 27%; }
.pricing-table thead th:nth-child(2) { width: 24%; }
.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td { border-bottom: 0; }
.pricing-table tbody th { color: var(--navy); font-size: 16px; font-weight: 700; }
.pricing-table tbody td { color: var(--muted); font-size: 15px; }

.pricing-table .price-cell { color: var(--navy); white-space: nowrap; }
.pricing-table .price-cell strong { color: var(--pricing-accent); font-size: 21px; letter-spacing: -.035em; }
.pricing-table .price-cell span { margin-left: 5px; color: #627784; font-size: 13px; }
.ai-pricing-table thead th:first-child { width: 27%; }
.ai-pricing-table thead th:nth-child(2) { width: 28%; }
.ai-pricing-table .price-cell span { white-space: normal; }

.pricing-footnote {
  margin: 15px 2px 0;
  color: #687d89;
  font-size: 13px;
  line-height: 1.7;
}

.pricing-contact { padding: 64px 0 76px; }
.pricing-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 34px;
  border: 1px solid var(--pricing-border);
  border-radius: 10px;
  background: #f5f9fa;
}
.pricing-contact-inner .section-label { margin-bottom: 8px; }
.pricing-contact-inner h2 { margin: 0; color: var(--navy); font-size: clamp(22px, 2.8vw, 30px); letter-spacing: -.04em; }
.pricing-contact-inner p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.pricing-contact-inner .btn { flex: 0 0 auto; }

@media (max-width: 767px) {
  .pricing-page .pricing-hero { padding: 26px 0 40px; }
  .pricing-page .pricing-hero-copy h1 { font-size: clamp(31px, 8vw, 42px); }
  .pricing-page .pricing-hero-copy .lead { margin-top: 15px; font-size: 16px; }
  .pricing-rule { margin-top: 24px; padding: 15px 14px; gap: 12px; }
  .pricing-rule p strong { font-size: 15px; }
  .pricing-rule p span { font-size: 13px; }
  .pricing-section { padding: 48px 0 54px; }
  .pricing-section-heading { margin-bottom: 19px; }
  .pricing-table th, .pricing-table td { padding: 14px 12px; }
  .pricing-table thead th { font-size: 12px; }
  .pricing-table tbody th { font-size: 14px; }
  .pricing-table tbody td { font-size: 13px; }
  .pricing-table .price-cell strong { font-size: 18px; }
  .pricing-table .price-cell span { margin-left: 2px; font-size: 11px; }
  .pricing-table thead th:first-child { width: 26%; }
  .pricing-table thead th:nth-child(2) { width: 27%; }
  .ai-pricing-table thead th:first-child { width: 27%; }
  .ai-pricing-table thead th:nth-child(2) { width: 31%; }
  .pricing-contact { padding: 45px 0 56px; }
  .pricing-contact-inner { align-items: flex-start; flex-direction: column; padding: 24px 20px; gap: 20px; }
}

@media (max-width: 420px) {
  .pricing-page .container { width: calc(100% - 40px); }
  .pricing-table th, .pricing-table td { padding: 13px 8px; }
  .pricing-table thead th { font-size: 11px; }
  .pricing-table tbody th { font-size: 13px; }
  .pricing-table tbody td { font-size: 12px; line-height: 1.55; }
  .pricing-table .price-cell strong { font-size: 17px; }
  .pricing-table .price-cell span { display: inline; font-size: 10px; }
  .pricing-table thead th:first-child { width: 25%; }
  .pricing-table thead th:nth-child(2) { width: 29%; }
  .ai-pricing-table thead th:first-child { width: 26%; }
  .ai-pricing-table thead th:nth-child(2) { width: 31%; }
}
