.pricing-page {
  background: var(--page);
}

.pricing-hero {
  color: #fff;
  background: #10294a;
  border-bottom: 4px solid #0f766e;
}

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

.pricing-eyebrow,
.pricing-section-kicker {
  margin: 0 0 12px;
  color: #3bd6c6;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-eyebrow::before,
.pricing-section-kicker::before {
  display: inline-block;
  width: 24px;
  height: 3px;
  margin: 0 10px 3px 0;
  background: #e56a24;
  content: "";
}

.pricing-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.pricing-hero-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #e5edf7;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
  line-height: 1.9;
}

.pricing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.pricing-hero-secondary {
  color: #fff;
  border-color: #8ba2bd;
  background: transparent;
}

.pricing-hero-secondary:hover {
  color: #10294a;
  background: #fff;
}

.pricing-hero-note {
  max-width: 900px;
  margin: 24px 0 0;
  padding-top: 20px;
  color: #c4d2e3;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
}

.pricing-content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 88px;
}

.pricing-local-nav {
  display: flex;
  gap: 6px;
  margin: -24px 0 56px;
  padding: 10px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(16, 40, 75, 0.12);
  scrollbar-width: thin;
}

.pricing-local-nav a {
  flex: 1 0 auto;
  min-width: 124px;
  padding: 10px 14px;
  color: var(--navy);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.pricing-local-nav a:hover {
  color: var(--blue);
  background: var(--surface-blue);
}

.pricing-billing-status {
  margin: 0 0 24px;
}

.pricing-section {
  padding: 72px 0;
  scroll-margin-top: 88px;
}

.pricing-section + .pricing-section {
  border-top: 1px solid var(--line);
}

.pricing-section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.pricing-section-heading-split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  max-width: none;
}

.pricing-section-heading h2,
.pricing-cta h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.pricing-section-heading > p:last-child,
.pricing-section-heading > div + p,
.pricing-section-intro {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.pricing-section-kicker {
  color: var(--teal);
}

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

.pricing-plan-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 5px solid #718096;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.pricing-plan-card.is-featured {
  border-color: #7caef0;
  border-top-color: var(--blue);
  box-shadow: 0 14px 32px rgba(12, 102, 228, 0.12);
}

.pricing-plan-pro {
  border-top-color: var(--teal);
}

.pricing-plan-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pricing-plan-name {
  margin: 0;
  color: var(--navy);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.pricing-plan-state {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  color: var(--subtle);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-subtle);
  font-size: 12px;
  font-weight: 800;
}

.pricing-plan-state.is-available {
  color: var(--green);
  border-color: var(--line-strong);
  background: var(--green-soft);
}

.pricing-plan-audience {
  min-height: 54px;
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.pricing-plan-price {
  display: flex;
  flex-direction: column;
  min-height: 94px;
  margin: 20px 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing-plan-price strong {
  color: var(--navy);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.35;
}

.pricing-plan-price span {
  margin-top: 5px;
  color: var(--subtle);
  font-size: 13px;
}

.pricing-plan-scope {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  background: var(--surface-blue);
}

.pricing-plan-pro .pricing-plan-scope {
  background: var(--surface-teal);
}

.pricing-plan-scope span {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
}

.pricing-plan-scope strong {
  color: var(--navy);
  font-size: 16px;
}

.pricing-plan-scope small {
  color: var(--muted);
  font-size: 12px;
}

.pricing-plan-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.pricing-plan-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 14px;
}

.pricing-plan-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  color: var(--teal);
  font-weight: 900;
  content: "✓";
}

.pricing-plan-action {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
}

.pricing-notice,
.pricing-scope-note {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid #e2bd76;
  border-left: 5px solid var(--amber);
  border-radius: 8px;
  background: var(--surface-amber);
}

.pricing-notice strong,
.pricing-scope-note strong {
  color: var(--navy);
  font-size: 16px;
}

.pricing-notice p,
.pricing-scope-note p {
  margin: 6px 0 0;
  color: var(--muted);
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
  scrollbar-width: thin;
}

.pricing-comparison-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

.pricing-comparison-table th,
.pricing-comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.pricing-comparison-table thead th {
  color: var(--navy);
  background: var(--surface-subtle);
}

.pricing-comparison-table thead th:first-child,
.pricing-comparison-table tbody th {
  width: 25%;
}

.pricing-comparison-table thead th:not(:first-child) {
  width: 25%;
}

.pricing-comparison-table thead strong {
  display: block;
  font-size: 20px;
}

.pricing-comparison-table thead span,
.pricing-comparison-table td small {
  display: block;
  margin-top: 3px;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 500;
}

.pricing-comparison-table tbody th {
  color: var(--navy);
  font-size: 14px;
}

.pricing-comparison-table tbody td {
  color: var(--muted);
  font-size: 14px;
}

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

.pricing-availability {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  color: var(--subtle);
  border-radius: 999px;
  background: var(--surface-subtle);
  font-size: 12px;
  font-weight: 800;
}

.pricing-availability.is-ready {
  color: var(--green);
  background: var(--green-soft);
}

.pricing-availability.is-planned {
  color: var(--blue);
  background: var(--surface-blue);
}

.pricing-table-note {
  margin: 16px 0 0;
  color: var(--subtle);
  font-size: 13px;
}

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

.pricing-access-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.pricing-access-grid h3 {
  margin: 12px 0 8px;
  color: var(--navy);
  font-size: 21px;
}

.pricing-access-grid article > p:last-child {
  margin: 0;
  color: var(--muted);
}

.pricing-access-label {
  display: inline-flex;
  margin: 0;
  padding: 4px 9px;
  color: var(--navy);
  border-radius: 4px;
  background: var(--surface-subtle);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-access-label.is-public {
  color: var(--green);
  background: var(--green-soft);
}

.pricing-access-label.is-paid {
  color: var(--blue);
  background: var(--surface-blue);
}

.pricing-access-label.is-preparing {
  color: #9a5d00;
  background: var(--surface-amber);
}

.pricing-text-link {
  flex: 0 0 auto;
  font-weight: 700;
}

.pricing-exam-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.pricing-exam-groups > section {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.pricing-exam-groups > section > p {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-exam-groups h3 {
  margin: 4px 0 18px;
  color: var(--navy);
  font-size: 20px;
}

.pricing-exam-groups ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-exam-groups a {
  display: grid;
  grid-template-columns: minmax(78px, auto) 1fr;
  gap: 4px 12px;
  align-items: baseline;
  padding: 10px 12px;
  color: var(--ink);
  border-radius: 6px;
  background: var(--surface-subtle);
  text-decoration: none;
}

.pricing-exam-groups a:hover {
  color: var(--blue);
  background: var(--surface-blue);
}

.pricing-exam-groups a strong {
  color: var(--blue);
  font-size: 13px;
}

.pricing-exam-groups a span {
  font-size: 14px;
  font-weight: 700;
}

.pricing-exam-groups a small {
  grid-column: 2;
  color: var(--red);
  font-size: 12px;
}

.pricing-exam-groups .is-retired a {
  border: 1px dashed var(--line-strong);
  background: transparent;
}

.pricing-learning-grid,
.pricing-terms-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pricing-learning-grid article,
.pricing-terms-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.pricing-learning-grid article > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.pricing-learning-grid h3,
.pricing-terms-grid h3 {
  margin: 12px 0 8px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.5;
}

.pricing-learning-grid p,
.pricing-terms-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.pricing-learning-links,
.pricing-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
}

.pricing-learning-links a,
.pricing-legal-links a {
  font-weight: 700;
}

.pricing-terms-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-faq-list {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.pricing-faq-list details {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.pricing-faq-list details:last-child {
  border-bottom: 0;
}

.pricing-faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 68px;
  box-sizing: border-box;
  padding: 20px 64px 20px 24px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.pricing-faq-list summary::-webkit-details-marker {
  display: none;
}

.pricing-faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  line-height: 1;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 22px;
  content: "+";
}

.pricing-faq-list details[open] summary::after {
  content: "−";
}

.pricing-faq-list details p {
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0 64px 24px 24px;
  color: var(--muted);
  line-height: 1.75;
}

.pricing-more-faq {
  margin: 22px 0 0;
  font-weight: 700;
}

.pricing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 24px;
  padding: 42px;
  color: #fff;
  border-radius: 12px;
  background: #10294a;
}

.pricing-cta h2 {
  color: #fff;
}

.pricing-cta p:not(.pricing-section-kicker) {
  max-width: 680px;
  margin: 12px 0 0;
  color: #d8e3ef;
}

.pricing-cta-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.pricing-cta .button-secondary {
  color: #fff;
  border-color: #91a6bd;
  background: transparent;
}

.pricing-cta .button-secondary:hover {
  color: #10294a;
  background: #fff;
}

html[data-theme="dark"] .pricing-hero,
html[data-theme="dark"] .pricing-cta {
  background: #132942;
}

html[data-theme="dark"] .pricing-local-nav,
html[data-theme="dark"] .pricing-access-grid article,
html[data-theme="dark"] .pricing-plan-card.is-featured {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .pricing-notice,
html[data-theme="dark"] .pricing-scope-note {
  border-color: #75572c;
}

@media (max-width: 980px) {
  .pricing-plan-grid {
    grid-template-columns: 1fr;
  }

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

  .pricing-plan-audience,
  .pricing-plan-price {
    min-height: 0;
  }

  .pricing-exam-groups,
  .pricing-learning-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-section-heading-split,
  .pricing-cta {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 720px) {
  .pricing-hero-inner,
  .pricing-content {
    width: min(100% - 32px, 1180px);
  }

  .pricing-hero-inner {
    padding: 54px 0 52px;
  }

  .pricing-hero h1 {
    font-size: 34px;
  }

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

  .pricing-local-nav {
    margin-bottom: 34px;
  }

  .pricing-section {
    padding: 54px 0;
  }

  .pricing-plan-card {
    padding: 24px;
  }

  .pricing-exam-groups,
  .pricing-learning-grid,
  .pricing-terms-grid {
    grid-template-columns: 1fr;
  }

  .pricing-section-heading-split {
    align-items: flex-start;
  }

  .pricing-faq-list summary {
    min-height: 62px;
    padding: 18px 52px 18px 18px;
  }

  .pricing-faq-list summary::after {
    right: 18px;
  }

  .pricing-faq-list details p {
    padding: 0 18px 20px;
  }

  .pricing-exam-groups a {
    grid-template-columns: 72px 1fr;
  }

  .pricing-cta {
    padding: 28px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-page * {
    scroll-behavior: auto;
  }
}
/* Pricing cards: quiet white surfaces with plan-specific blue and teal accents. */
.pricing-page .pricing-hero { background: #f8faff; border: 0; color: #112a4c; text-align: center; }
.pricing-page .pricing-hero-inner { padding: 48px 0 18px; }
.pricing-page .pricing-hero h1 { color: #112a4c; max-width: none; font-size: clamp(30px,4vw,46px); }
.pricing-page .pricing-hero-lead { color: #5a6d85; margin: 16px auto 0; font-size: 16px; }
.pricing-page { background: #f8faff; }
.pricing-page #plans { padding: 16px 0 52px; }
.pricing-period-label { text-align: center; font-weight: 800; margin: 0 0 32px; }
.pricing-period-label span { display: block; margin-top: 6px; color: #68788e; font-size: 12px; font-weight: 400; }
.pricing-page .pricing-plan-grid { gap: 24px; align-items: stretch; }
.pricing-page .pricing-plan-card { position: relative; padding: 30px; border: 1px solid #d4deed; border-radius: 22px; background: #fff; box-shadow: 0 8px 24px #1b355608; }
.pricing-page .pricing-plan-plus { background: linear-gradient(150deg,#fff,#f7fbff 75%); border-color: #3b82f6; }
.pricing-page .pricing-plan-pro { border: 2px solid #14b8a6; background: linear-gradient(140deg,#fff,#f8fffd 70%,#ecfdf5); box-shadow: 0 16px 40px #0f766e20; }
.pricing-page .pricing-plan-name { font-size: 30px; }
.pricing-page .pricing-plan-pro .pricing-plan-name { color: #0f766e; }
.pricing-choice-label { border-radius: 20px; padding: 6px 10px; background: linear-gradient(90deg,#0f766e,#115e59); color: #fff; font-size: 11px; font-weight: 800; }
.pricing-page .pricing-plan-audience { min-height: 46px; font-weight: 400; }
.pricing-page .pricing-plan-price { border: 0; margin: 20px 0 24px; padding: 0; min-height: 90px; }
.pricing-page .pricing-plan-price strong { font-size: clamp(40px,4.5vw,56px); line-height: 1.1; letter-spacing: -0.045em; font-weight: 800; }
.pricing-plan-price em { font-style: normal; font-size: 19px; margin-left: 5px; }
.pricing-page .pricing-plan-action { background: #112a4c; color: white; border: 0; border-radius: 28px; min-height: 52px; margin: 0; }
.pricing-page .pricing-plan-free .pricing-plan-action { background: #eaf0f8; color: #213a5a; }
.pricing-page .pricing-plan-action:disabled { background: #e4e8ef; color: #5d6b7f; opacity: 1; cursor: not-allowed; }
.pricing-page .pricing-plan-scope { background: transparent; padding: 24px 0 0; margin-top: 24px; border-top: 1px solid #d6dfeb; border-radius: 0; }
.pricing-page .pricing-plan-scope strong { font-size: 24px; }
.pricing-page .pricing-plan-list { gap: 12px; margin: 22px 0; }
.pricing-page .pricing-plan-list li::before { color: #a56516; }
.pricing-plan-footnote { margin: auto 0 0; font-size: 11px; color: #64748b; }
.pricing-upgrade-note { text-align: center; margin: 25px auto 10px; font-size: 14px; }
.pricing-upgrade-note strong { color: #9c560f; }
.pricing-annual-note { text-align: center; font-size: 13px; color: #65738a; }
.pricing-page .pricing-notice { padding: 16px 22px; border: 1px solid #d5dfea; background: #edf3fa; }
html[data-theme="dark"] .pricing-page .pricing-hero { background: #112039; }
html[data-theme="dark"] .pricing-page .pricing-hero h1 { color: #fff; }
html[data-theme="dark"] .pricing-page .pricing-hero-lead { color: #c2d0e3; }
html[data-theme="dark"] .pricing-page .pricing-plan-card { background: #172a46; border-color: #526985; }
html[data-theme="dark"] .pricing-page .pricing-plan-pro { background: #142e31; border-color: #2dd4bf; }
html[data-theme="dark"] .pricing-page .pricing-plan-pro .pricing-plan-name { color: #5eead4; }
html[data-theme="dark"] .pricing-page .pricing-finish-header .pricing-plan-price strong { color: inherit; }
html[data-theme="dark"] .pricing-page .pricing-notice { background: #172a46; }
html[data-theme="dark"] .pricing-page .pricing-upgrade-note strong { color: #ffd18b; }
@media(max-width: 850px) { .pricing-page .pricing-plan-grid { grid-template-columns: 1fr; } .pricing-page .pricing-plan-card { padding: 26px; } .pricing-page .pricing-plan-audience { min-height: 0; } }
.pricing-page #plans-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pricing-title-break { display: inline; }
.pricing-page .pricing-plan-price { min-height: 128px; }
.pricing-page .pricing-primary-price,
.pricing-page .pricing-annual-price {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0;
  margin-top: 0;
  color: var(--ink);
  white-space: nowrap;
}
.pricing-page .pricing-plan-price .pricing-primary-price strong,
.pricing-page .pricing-plan-price .pricing-annual-price strong {
  color: var(--ink);
  font-size: clamp(34px, 3.4vw, 44px);
}
.pricing-page .pricing-primary-price em,
.pricing-page .pricing-annual-price em {
  margin-left: 5px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
}
.pricing-page .pricing-primary-price > span,
.pricing-page .pricing-annual-price > span {
  margin: 0 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}
.pricing-page .pricing-daily-price {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.pricing-page .pricing-finish-header .pricing-daily-price {
  color: inherit;
  opacity: 0.78;
}
.pricing-page .pricing-plan-price .pricing-annual-price { margin-top: 13px; }
.pricing-comparison-price-row td > span {
  display: block;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.5;
}

.pricing-comparison-price-row td > span + span {
  margin-top: 3px;
}
.pricing-comparison-price-row td > small {
  display: block;
  margin-top: 3px;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
}

html:not([data-theme="dark"]) .pricing-page .pricing-comparison-price-row td {
  background: #fff;
}
@media(max-width: 600px) { .pricing-title-break { display: block; } .pricing-page .pricing-plan-price { min-height: 0; } .pricing-page .pricing-plan-audience { margin-bottom: 10px; } }
/* Shared feature structure and certification-inspired plan colors. */
.pricing-page .pricing-plan-card { --plan-accent: #475a74; --plan-line: #c3cfde; --plan-soft: #edf1f6; border: 2px solid var(--plan-line); }
.pricing-page .pricing-plan-plus { --plan-accent: #1d4ed8; --plan-line: #3b82f6; --plan-soft: #eff6ff; background: linear-gradient(155deg,#fff 0%,#fbfdff 68%,#eff6ff 100%); box-shadow: 0 12px 32px #2563eb18; }
.pricing-page .pricing-plan-pro { --plan-accent: #0f766e; --plan-line: #14b8a6; --plan-soft: #ccfbf1; background: linear-gradient(155deg,#fff 0%,#fbfffe 68%,#ecfdf5 100%); box-shadow: 0 12px 32px #0f766e18; }
.pricing-page .pricing-plan-name { display: flex; gap: 10px; align-items: center; color: var(--plan-accent); font-size: 29px; }
.pricing-plan-emblem { display: inline-flex; width: 32px; height: 32px; color: var(--plan-accent); }
.pricing-plan-emblem svg { width: 100%; height: 100%; }
.pricing-page .pricing-plan-price strong { color: var(--plan-accent); }
.pricing-page .pricing-choice-label { background: linear-gradient(90deg,#0f766e,#115e59); color: #fff; padding: 6px 9px; font-size: 10px; }
.pricing-page .pricing-plan-list { gap: 0; }
.pricing-page .pricing-plan-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 14px 0; min-height: 78px; border-bottom: 1px solid #3b526517; }
.pricing-page .pricing-plan-list li:last-child { border-bottom: 0; }
.pricing-page .pricing-plan-list li::before { content: none; }
.pricing-plan-list li > svg { width: 19px; height: 19px; color: var(--plan-accent); margin-top: 2px; }
.pricing-plan-list li strong { display: block; font-size: 14px; font-weight: 750; color: #20344f; }
.pricing-plan-list li span { display: block; font-size: 12px; color: #53677f; line-height: 1.75; margin-top: 4px; }
.pricing-plan-list li span.pricing-certification-list { font-weight: 650; }
.pricing-page .pricing-plan-action { background: var(--plan-accent); }
.pricing-page .pricing-plan-pro .pricing-plan-action:not(.pricing-plan-action-secondary):not(:disabled) { background: linear-gradient(90deg,#0f766e,#115e59); }
.pricing-page .pricing-plan-action:disabled { background: var(--plan-soft); border: 1px solid var(--plan-line); color: var(--plan-accent); }
.pricing-term-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.pricing-page .pricing-term-actions .pricing-plan-action { min-width: 0; padding-inline: 13px; font-size: 13px; }
.pricing-page .pricing-plan-action-secondary:not(:disabled) { border: 1px solid var(--plan-accent); background: transparent; color: var(--plan-accent); }
.pricing-page .pricing-plan-footnote { padding-top: 12px; }
html[data-theme="dark"] .pricing-page .pricing-plan-free { --plan-accent:#c9d6e8; --plan-line:#60758f; --plan-soft:#2a3d57; }
html[data-theme="dark"] .pricing-page .pricing-plan-plus { --plan-accent:#93c5fd; --plan-line:#60a5fa; --plan-soft:#1e3a5f; background:#172a46; border-color:var(--plan-line); }
html[data-theme="dark"] .pricing-page .pricing-plan-pro { --plan-accent:#5eead4; --plan-line:#2dd4bf; --plan-soft:#173f3b; background:linear-gradient(155deg,#142e31,#132a30 58%,#172a46); }
html[data-theme="dark"] .pricing-page .pricing-plan-free .pricing-finish-header .pricing-plan-action {
  color: #213a5a;
  border-color: #d7e2f0;
  background: #eaf0f8;
}
html[data-theme="dark"] .pricing-page .pricing-plan-plus .pricing-plan-action:not(.pricing-plan-action-secondary):not(:disabled) { background:#1d4ed8; color:#fff; }
html[data-theme="dark"] .pricing-page .pricing-plan-list li strong { color: #f0f4fa; }
@media(max-width: 420px) { .pricing-term-actions { grid-template-columns: 1fr; } }
html[data-theme="dark"] .pricing-page .pricing-plan-list li span { color: #bac7d9; }
html[data-theme="dark"] .pricing-page .pricing-finish-header .pricing-plan-name { color:inherit; }

/* Keep the full pricing canvas and every pricing surface in one dark palette. */
html[data-theme="dark"] body.pricing-page {
  background: #111820;
}

html[data-theme="dark"] .pricing-page .pricing-content {
  color: var(--ink);
}

html[data-theme="dark"] .pricing-page .pricing-plan-free {
  background-color: #182434;
  background-image: linear-gradient(155deg, #182434 0%, #172331 100%);
}

html[data-theme="dark"] .pricing-page .pricing-plan-plus {
  background-color: #172a46;
  background-image: linear-gradient(155deg, #192f50 0%, #172a46 64%, #14243a 100%);
}

html[data-theme="dark"] .pricing-page .pricing-plan-pro {
  background-color: #142e31;
  background-image: linear-gradient(155deg, #163638 0%, #142e31 60%, #132a30 100%);
}

html[data-theme="dark"] .pricing-page .pricing-plan-scope {
  border-top-color: #44566d;
}

html[data-theme="dark"] .pricing-page .pricing-plan-list li {
  border-bottom-color: rgba(203, 213, 225, 0.16);
}

html[data-theme="dark"] .pricing-page .pricing-plan-footnote,
html[data-theme="dark"] .pricing-page .pricing-period-label span,
html[data-theme="dark"] .pricing-page .pricing-annual-note,
html[data-theme="dark"] .pricing-page .pricing-table-note {
  color: var(--subtle);
}

html[data-theme="dark"] .pricing-page .pricing-notice {
  color: var(--ink);
  border-color: #526985;
  background: #172a46;
}

html[data-theme="dark"] .pricing-page .pricing-table-wrap,
html[data-theme="dark"] .pricing-page .pricing-faq-list details {
  border-color: var(--line);
  background: var(--surface);
}

html[data-theme="dark"] .pricing-page .pricing-comparison-table thead th {
  color: var(--ink);
  background: #222d39;
}

html[data-theme="dark"] .pricing-page .pricing-comparison-table tbody th {
  color: var(--ink);
}

html[data-theme="dark"] .pricing-page .pricing-cta {
  border: 1px solid #30475f;
  background: #132942;
}

/* Keep comparison headers and prices aligned with the approved plan finishes. */
html[data-theme="dark"] .pricing-page .pricing-comparison-table thead th:nth-child(2) {
  color: #fff;
  background: var(--pricing-free-finish);
}

html[data-theme="dark"] .pricing-page .pricing-comparison-table thead th:nth-child(3) {
  color: #202e3b;
  background: var(--pricing-standard-finish);
}

html[data-theme="dark"] .pricing-page .pricing-comparison-table thead th:nth-child(4) {
  color: #3a2708;
  background: var(--pricing-premium-finish);
}

html[data-theme="dark"] .pricing-page .pricing-comparison-table thead th:nth-child(n + 2) strong,
html[data-theme="dark"] .pricing-page .pricing-comparison-table thead th:nth-child(n + 2) span {
  color: inherit;
}

html[data-theme="dark"] .pricing-page .pricing-comparison-price-row td:nth-child(2) {
  color: var(--pricing-free-dark-price-text);
  background: var(--pricing-free-dark-price-bg);
  box-shadow: inset 0 3px 0 #4877b2;
}

html[data-theme="dark"] .pricing-page .pricing-comparison-price-row td:nth-child(3) {
  color: var(--pricing-standard-dark-price-text);
  background: var(--pricing-standard-dark-price-bg);
  box-shadow: inset 0 3px 0 #aeb8c1;
}

html[data-theme="dark"] .pricing-page .pricing-comparison-price-row td:nth-child(4) {
  color: var(--pricing-premium-dark-price-text);
  background: var(--pricing-premium-dark-price-bg);
  box-shadow: inset 0 3px 0 #d5ae50;
}

html[data-theme="dark"] .pricing-page .pricing-comparison-price-row td:nth-child(n + 2) > strong,
html[data-theme="dark"] .pricing-page .pricing-comparison-price-row td:nth-child(n + 2) > span,
html[data-theme="dark"] .pricing-page .pricing-comparison-price-row td:nth-child(n + 2) > small {
  color: inherit;
}

/* Final plan palette: Standard stays silver/charcoal, Premium stays gold/brown. */
html .pricing-page .pricing-plan-free {
  --plan-accent: #345f84;
  --plan-line: #668dc0;
  --plan-soft: #f5f8fd;
  color: #101828;
  border-color: var(--plan-line);
  background: #fff;
  box-shadow: 0 8px 24px rgba(27, 53, 86, 0.03);
}

html .pricing-page .pricing-plan-plus {
  --plan-accent: #38424d;
  --plan-line: #a4b0bb;
  --plan-soft: #edf0f2;
  color: #101828;
  border-color: var(--plan-line);
  background: linear-gradient(155deg, #fafbfc 0%, #f1f3f5 62%, #e3e7ea 100%);
  background-color: #f1f3f5;
  box-shadow: 0 12px 32px rgba(45, 53, 61, 0.13);
}

html .pricing-page .pricing-plan-pro {
  --plan-accent: #6a4915;
  --plan-line: #ab8849;
  --plan-soft: #fff2ce;
  color: #101828;
  border-color: var(--plan-line);
  background: linear-gradient(155deg, #fffdf7 0%, #fff6dc 62%, #ecd28d 100%);
  background-color: #fff6dc;
  box-shadow: 0 12px 32px rgba(106, 73, 21, 0.16);
}

html .pricing-page .pricing-plan-plus .pricing-plan-action:not(.pricing-plan-action-secondary):not(:disabled) {
  color: #fff;
  background: #38424d;
}

html .pricing-page .pricing-plan-pro .pricing-plan-action:not(.pricing-plan-action-secondary):not(:disabled) {
  color: #fff8e7;
  background: linear-gradient(90deg, #76551f, #54380f);
}

html .pricing-page .pricing-plan-pro .pricing-choice-label {
  color: #fff8e7;
  background: linear-gradient(90deg, #76551f, #54380f);
}

html[data-theme="dark"] .pricing-page .pricing-plan-plus {
  --plan-accent: #38424d;
  --plan-line: #a4b0bb;
  --plan-soft: #edf0f2;
  color: #101828;
  border-color: var(--plan-line);
  background: linear-gradient(155deg, #fafbfc 0%, #f1f3f5 62%, #e3e7ea 100%);
  background-color: #f1f3f5;
  box-shadow: 0 12px 32px rgba(45, 53, 61, 0.13);
}

html[data-theme="dark"] .pricing-page .pricing-plan-pro {
  --plan-accent: #6a4915;
  --plan-line: #ab8849;
  --plan-soft: #fff2ce;
  color: #101828;
  border-color: var(--plan-line);
  background: linear-gradient(155deg, #fffdf7 0%, #fff6dc 62%, #ecd28d 100%);
  background-color: #fff6dc;
  box-shadow: 0 12px 32px rgba(106, 73, 21, 0.16);
}

html[data-theme="dark"] .pricing-page .pricing-plan-free {
  --plan-accent: #345f84;
  --plan-line: #668dc0;
  --plan-soft: #f5f8fd;
  color: #101828;
  border-color: var(--plan-line);
  background: #fff;
  box-shadow: 0 8px 24px rgba(27, 53, 86, 0.03);
}

html[data-theme="dark"] .pricing-page .pricing-plan-free .pricing-finish-header .pricing-plan-action {
  color: #315f96;
  border-color: #e5edf8;
  background: #f5f8fd;
}

html[data-theme="dark"] .pricing-page .pricing-plan-plus .pricing-plan-action:not(.pricing-plan-action-secondary):not(:disabled) {
  color: #fff;
  background: #38424d;
}

html[data-theme="dark"] .pricing-page .pricing-plan-pro .pricing-plan-action:not(.pricing-plan-action-secondary):not(:disabled) {
  color: #fff8e7;
  background: linear-gradient(90deg, #76551f, #54380f);
}

html[data-theme="dark"] .pricing-page .pricing-plan-scope {
  border-top-color: currentColor;
}

html[data-theme="dark"] .pricing-page .pricing-plan-scope strong {
  color: #172b4d;
}

html[data-theme="dark"] .pricing-page .pricing-plan-scope span {
  color: #596b7d;
}

html[data-theme="dark"] .pricing-page .pricing-plan-list li {
  color: #101828;
  border-bottom-color: rgba(59, 82, 101, 0.09);
}

html[data-theme="dark"] .pricing-page .pricing-plan-list li strong {
  color: #20344f;
}

html[data-theme="dark"] .pricing-page .pricing-plan-list li span {
  color: #53677f;
}

html[data-theme="dark"] .pricing-page .pricing-plan-footnote {
  color: #64748b;
}

/* The three plan price cells keep the same palette in both themes. */
html:not([data-theme="dark"]) .pricing-page .pricing-comparison-price-row td,
html[data-theme="dark"] .pricing-page .pricing-comparison-price-row td {
  border-bottom-color: #3b4858;
}

html:not([data-theme="dark"]) .pricing-page .pricing-comparison-price-row td:nth-child(2),
html[data-theme="dark"] .pricing-page .pricing-comparison-price-row td:nth-child(2) {
  color: var(--pricing-free-dark-price-text);
  background: var(--pricing-free-dark-price-bg);
  box-shadow: inset 0 3px 0 #4877b2;
}

html:not([data-theme="dark"]) .pricing-page .pricing-comparison-price-row td:nth-child(3),
html[data-theme="dark"] .pricing-page .pricing-comparison-price-row td:nth-child(3) {
  color: var(--pricing-standard-dark-price-text);
  background: var(--pricing-standard-dark-price-bg);
  box-shadow: inset 0 3px 0 #aeb8c1;
}

html:not([data-theme="dark"]) .pricing-page .pricing-comparison-price-row td:nth-child(4),
html[data-theme="dark"] .pricing-page .pricing-comparison-price-row td:nth-child(4) {
  color: var(--pricing-premium-dark-price-text);
  background: var(--pricing-premium-dark-price-bg);
  box-shadow: inset 0 3px 0 #d5ae50;
}

html:not([data-theme="dark"]) .pricing-page .pricing-comparison-price-row td:nth-child(n + 2) > strong,
html:not([data-theme="dark"]) .pricing-page .pricing-comparison-price-row td:nth-child(n + 2) > span,
html:not([data-theme="dark"]) .pricing-page .pricing-comparison-price-row td:nth-child(n + 2) > small,
html[data-theme="dark"] .pricing-page .pricing-comparison-price-row td:nth-child(n + 2) > strong,
html[data-theme="dark"] .pricing-page .pricing-comparison-price-row td:nth-child(n + 2) > span,
html[data-theme="dark"] .pricing-page .pricing-comparison-price-row td:nth-child(n + 2) > small {
  color: inherit;
}
