@charset "UTF-8";
/* ─── Legacy pricing table (preserved for any old usage) ──────── */
.pricing-table {
  border: 1px solid #EFEFEF;
  text-align: center;
  padding-bottom: 2rem;
  margin: 1.25rem 0 1.25rem 0;
  transition: all 0.3s;
}

.pricing-table .header-pt {
  position: relative;
  color: #fff;
  margin: -1px -1px 0 -1px;
  text-align: center;
  transition: all 0.3s;
}

.pricing-table.color-3 .header-pt {
  background-color: #18bb7c;
}

.pricing-table.color-2 .header-pt {
  background-color: #f9cb8f;
}

.pricing-table .header-pt h3 {
  clear: none;
  margin: 0;
  color: #fff;
  line-height: 24px;
  font-size: 22px;
  padding: 0.75rem 1rem;
  text-transform: none;
  transition: all 0.3s;
}

.pricing-table.active .header-pt h3 {
  padding: 1rem 1rem;
}

.pricing-table.active {
  margin: 0.5rem 0 1.25rem 0;
  padding-bottom: 2.5rem;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.07);
}

.pricing-table ul {
  list-style: none;
  padding-right: 0;
  margin-bottom: 1.5rem;
}

.pricing-table ul li {
  padding-right: 2.5rem;
  border: 0;
  text-align: right;
}

.pricing-table ul li:nth-child(2n+1) {
  background-color: #f2f2f2;
}

.pricing-table ul li:before {
  content: "√ ";
  right: 20px;
  font-size: 13px;
  line-height: 39px;
  transition: all 0.3s;
}

.pricing-table .price-pt {
  font-size: 45px;
  line-height: 1.1;
  padding-top: 1rem;
  font-weight: 700;
  transition: all 0.3s;
}

.pricing-table .price-pt sup {
  font-size: 0.3em;
  vertical-align: text-top;
  line-height: 1;
}

.pricing-table.color-2 .price-pt,
.pricing-table.color-2 p,
.pricing-table.color-2 ul li:before {
  color: #f9cb8f;
}

.pricing-table.color-3 .price-pt,
.pricing-table.color-3 p,
.pricing-table.color-3 ul li:before {
  color: #18bb7c;
}

.cws-button.alt,
.cws-button[class*=bt-color-].alt {
  background: #fff;
  color: #595959;
  line-height: 160%;
}

.cws-button.alt:hover {
  background-color: #f27c66;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   /Plan — Organizations · Schools · Clinics landing page
   Shared with /Plan/packages (hero + card classes).
   ═══════════════════════════════════════════════════════════════ */
/* Shared section title (used across audiences, features, FAQ, steps) */
.plan-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--plan-heading, #1a3a5c);
  text-align: center;
  margin: 0 0 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.plan-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0f6e6e, #18bb7c);
}

.plan-section-title svg {
  vertical-align: -0.18em;
  margin-left: 0.25rem;
}

/* ─── 1. HERO ──────────────────────────────────────────────────── */
/* Curved top + bottom edges via a three-layer CSS mask. The hero is
 * clipped to a true alpha shape (no painted fill) so the wave regions
 * show through to whatever sits behind, in any theme.
 *
 * Layer stack (top → bottom in CSS, drawn in declaration order):
 *   1. Top wave SVG mask  → 0,0      / 100% × var(--plan-wave-h)
 *      Path fills only the area BELOW the curve, so the top of the
 *      hero is carved into a wave dipping down into the content area.
 *   2. linear-gradient(#000,#000)    → 0,var(--plan-wave-h)
 *      Solid opaque middle band. Height = 100% minus both wave bands.
 *   3. Bottom wave SVG mask → 0,100% / 100% × var(--plan-wave-h)
 *      Path fills only the area ABOVE the curve, so the bottom of the
 *      hero is carved into a wave dipping up into the content area.
 *
 * The top SVG path is the bottom SVG path mirrored vertically about
 * y=40 (the viewBox midline) — same wave amplitude, opposite phase
 * so both edges feel like part of the same wave system.
 *
 * box-shadow is replaced with filter: drop-shadow() because mask
 * clips box-shadow; drop-shadow follows the alpha shape so the lift
 * effect curves with both edges instead of sitting on a rectangle. */
.plan-hero {
  --plan-wave-h: 70px; /* mobile override below */
  background: radial-gradient(circle at 85% 15%, rgba(24, 187, 124, 0.18) 0%, transparent 45%), radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08) 0%, transparent 50%), linear-gradient(135deg, #0e2a47 0%, #1a3a5c 45%, #0f6e6e 100%);
  border-radius: 14px;
  padding: 6rem 2rem 6rem; /* both wave bands get clearance */
  color: #fff;
  position: relative;
  overflow: hidden;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0,80 L1440,80 L1440,24 C1200,64 960,64 720,32 C480,0 240,0 0,48 Z' fill='black'/></svg>") 0 0/100% var(--plan-wave-h) no-repeat, linear-gradient(#000, #000) 0 var(--plan-wave-h)/100% calc(100% - 2 * var(--plan-wave-h)) no-repeat, url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0,0 L1440,0 L1440,56 C1200,16 960,16 720,48 C480,80 240,80 0,32 Z' fill='black'/></svg>") 0 100%/100% var(--plan-wave-h) no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0,80 L1440,80 L1440,24 C1200,64 960,64 720,32 C480,0 240,0 0,48 Z' fill='black'/></svg>") 0 0/100% var(--plan-wave-h) no-repeat, linear-gradient(#000, #000) 0 var(--plan-wave-h)/100% calc(100% - 2 * var(--plan-wave-h)) no-repeat, url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0,0 L1440,0 L1440,56 C1200,16 960,16 720,48 C480,80 240,80 0,32 Z' fill='black'/></svg>") 0 100%/100% var(--plan-wave-h) no-repeat;
  filter: drop-shadow(0 14px 28px rgba(15, 110, 110, 0.3));
}

.plan-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .plan-hero {
    --plan-wave-h: 48px;
  }
}
/* Hero heading */
.plan-hero__heading {
  margin-bottom: 2rem;
}

.plan-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  font-size: 12px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.plan-hero__badge svg {
  color: #ffd54a;
}

.plan-hero__title {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.plan-hero__desc {
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 2;
}

/* Dual CTA */
.plan-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.plan-hero__cta-primary,
.plan-hero__cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--btn-radius);
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.plan-hero__cta-primary {
  background: #fff;
  color: #0f6e6e;
}

.plan-hero__cta-primary:hover {
  transform: translateY(-2px);
  color: #0a5252;
  text-decoration: none;
}

.plan-hero__cta-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.plan-hero__cta-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Hero stat tiles */
.plan-hero__stats {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

@media (max-width: 767px) {
  .plan-hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
.plan-hero__stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 1rem 0.75rem;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: background 0.18s ease, transform 0.18s ease;
}

.plan-hero__stat:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.plan-hero__stat-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.plan-hero__stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

/* ─── 2. AUDIENCES — "Built for" segments ─────────────────────── */
.plan-audiences {
  margin-top: 0.5rem;
}

.plan-audiences__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 991px) {
  .plan-audiences__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .plan-audiences__grid {
    grid-template-columns: 1fr;
  }
}
.plan-audience {
  background: var(--plan-card-bg, #fff);
  border: 1px solid var(--plan-card-border, #ececf2);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-audience:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -10px rgba(15, 110, 110, 0.2);
  border-color: var(--plan-card-border-hover, #d6ebe8);
}

.plan-audience__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plan-icon-bg, linear-gradient(135deg, #e8f7f1 0%, #e0f0f0 100%));
  color: var(--plan-icon-fg, #0f6e6e);
}

.plan-audience__title {
  margin: 0 0 0.5rem;
  font-size: 16px;
  font-weight: 700;
  color: var(--plan-heading, #1a3a5c);
  line-height: 1.4;
}

.plan-audience__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.95;
  color: var(--plan-text-muted, #6b7280);
}

/* ─── 3. FEATURES ─────────────────────────────────────────────── */
.plan-features {
  margin-top: 0.5rem;
}

.plan-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 991px) {
  .plan-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .plan-features__grid {
    grid-template-columns: 1fr;
  }
}
.plan-feature {
  display: flex;
}

.plan-feature__card {
  background: var(--plan-card-bg, #fff);
  border: 1px solid var(--plan-card-border, #ececf2);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  width: 100%;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-feature__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -12px rgba(26, 58, 92, 0.22);
  border-color: var(--plan-card-border-hover, #d6ebe8);
}

.plan-feature__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0f6e6e 0%, #18bb7c 100%);
  color: #fff;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(15, 110, 110, 0.45);
}

.plan-feature__icon svg {
  vertical-align: middle;
}

.plan-feature__title {
  color: var(--plan-heading, #1a3a5c);
  margin: 0 0 0.5rem;
  font-size: 15px;
  font-weight: 700;
}

.plan-feature__text {
  color: var(--plan-text-muted, #6b7280);
  font-size: 13px;
  line-height: 1.95;
  margin: 0;
}

/* ─── 4. STEPS ────────────────────────────────────────────────── */
.plan-steps {
  margin-top: 0.5rem;
  background: var(--plan-section-bg, #f7f9fb);
  border: 1px solid var(--plan-section-border, #ecf0f3);
  border-radius: 14px;
  padding: 2.5rem 1.5rem 2rem;
}

.plan-steps__title {
  color: var(--plan-heading, #1a3a5c);
}

.plan-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (max-width: 767px) {
  .plan-steps__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 480px) {
  .plan-steps__grid {
    grid-template-columns: 1fr;
  }
}
.plan-step {
  position: relative;
}

.plan-step__num-wrap {
  position: relative;
}

.plan-step__num {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #0f6e6e 0%, #18bb7c 100%);
  color: #fff;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  line-height: 52px;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 8px 18px -6px rgba(15, 110, 110, 0.45);
  position: relative;
  z-index: 2;
}

.plan-step__connector {
  position: absolute;
  top: 26px;
  /* RTL: connector goes from current circle leftward (toward next step in flow).
     Using both insets is harmless because the line is centered. */
  left: -50%;
  right: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--plan-connector, #c4dcd9) 25%, var(--plan-connector, #c4dcd9) 75%, transparent);
  z-index: 1;
}

@media (max-width: 767px) {
  .plan-step__connector {
    display: none;
  }
}
.plan-step__text {
  color: var(--plan-text-muted, #4b5563);
  font-size: 13px;
  line-height: 1.95;
  margin: 0;
  text-align: center;
}

.plan-step__label {
  display: block;
  color: var(--plan-heading, #1a3a5c);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

/* ─── 5. FAQ — native <details> accordion ─────────────────────── */
.plan-faq {
  margin-top: 0.5rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.plan-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-faq__item {
  background: var(--plan-card-bg, #fff);
  border: 1px solid var(--plan-card-border, #ececf2);
  border-radius: 10px;
  padding: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.plan-faq__item[open] {
  border-color: var(--plan-card-border-active, #b7d8d4);
  box-shadow: 0 6px 18px -8px rgba(15, 110, 110, 0.22);
}

.plan-faq__q {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-size: 14px;
  font-weight: 700;
  color: var(--plan-heading, #1a3a5c);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  user-select: none;
}

.plan-faq__q::-webkit-details-marker {
  display: none;
}

.plan-faq__chev {
  color: var(--plan-icon-fg, #0f6e6e);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.plan-faq__item[open] .plan-faq__chev {
  transform: rotate(180deg);
}

.plan-faq__a {
  margin: 0;
  padding: 0 1.25rem 1rem;
  color: var(--plan-text-muted, #4b5563);
  font-size: 13.5px;
  line-height: 2;
  border-top: 1px solid var(--plan-divider, #f1f3f5);
  padding-top: 0.75rem;
}

/* ─── 6. CLOSING CTA ──────────────────────────────────────────── */
.plan-closing {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.plan-closing__card {
  background: radial-gradient(circle at 90% 0%, rgba(24, 187, 124, 0.2) 0%, transparent 50%), linear-gradient(135deg, #0f6e6e 0%, #1a3a5c 100%);
  border-radius: 14px;
  padding: 2rem 2rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 14px 36px -14px rgba(15, 110, 110, 0.45);
}

.plan-closing__text {
  flex: 1 1 320px;
}

.plan-closing__title {
  margin: 0 0 0.5rem;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.plan-closing__desc {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
}

.plan-closing__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.plan-closing__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--btn-radius);
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.plan-closing__btn--primary {
  background: #fff;
  color: #0f6e6e;
}

.plan-closing__btn--primary:hover {
  transform: translateY(-2px);
  color: #0a5252;
  text-decoration: none;
}

.plan-closing__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.plan-closing__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   Plan-cards (used by /Plan/packages — preserved verbatim)
   ═══════════════════════════════════════════════════════════════ */
.plan-info-notes {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1rem;
  background: var(--plan-section-bg, #eef7f5);
  border: 1px solid var(--plan-section-border, #d3ece7);
  border-radius: 10px;
  color: var(--plan-text-muted, #3a5a56);
}

.plan-info-notes__icon {
  color: var(--plan-icon-fg, #0f6e6e);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.plan-info-notes ul {
  margin: 0;
  padding-right: 1.25rem;
}

.plan-info-notes li {
  font-size: 13px;
  line-height: 1.95;
}

.plan-compare {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--plan-card-bg, #fff);
  border: 1px solid var(--plan-card-border, #ececf2);
  border-radius: 12px;
}

.plan-compare__title {
  margin: 0 0 0.5rem;
  font-size: 16px;
  font-weight: 700;
  color: var(--plan-heading, #1a3a5c);
  text-align: center;
}

.plan-compare__lead {
  margin: 0 0 1.25rem;
  font-size: 13px;
  line-height: 1.95;
  color: var(--plan-text-muted, #6b7280);
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.plan-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 575px) {
  .plan-compare__grid {
    grid-template-columns: 1fr;
  }
}
.plan-compare__col {
  padding: 1rem 1rem;
  border-radius: 10px;
  background: var(--plan-section-bg, #f7f9fb);
  border: 1px solid var(--plan-section-border, #ecf0f3);
}

.plan-compare__col-title {
  margin: 0 0 0.5rem;
  font-size: 14px;
  font-weight: 700;
  color: var(--plan-icon-fg, #0f6e6e);
}

.plan-compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-compare__list li {
  position: relative;
  padding: 0.25rem 0;
  padding-right: 1.25rem;
  font-size: 13px;
  line-height: 1.7;
  color: var(--plan-heading, #1a1a2e);
}

.plan-compare__list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--plan-icon-fg, #0f6e6e);
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 991px) {
  .plan-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .plan-cards {
    grid-template-columns: 1fr;
  }
}
.plan-card-col {
  display: flex;
}

.plan-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--plan-card-border, #e8e8e8);
  background: var(--plan-card-bg, #fff);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.18);
}

.plan-card--featured {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--accent), 0 20px 48px -16px rgba(0, 0, 0, 0.16);
}

.plan-card--featured:hover {
  box-shadow: 0 0 0 2px var(--accent), 0 26px 56px -18px rgba(0, 0, 0, 0.22);
}

.plan-card__accent-bar {
  height: 4px;
  background: var(--accent);
  border-radius: 0 0 6px 6px;
}

.plan-card--featured .plan-card__header {
  padding-top: 2.5rem;
}

.plan-card__ribbon {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px -4px var(--accent);
  z-index: 3;
}

.plan-card__header {
  padding: 1.5rem 1.25rem 0.75rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.plan-card__type-badge {
  display: inline-block;
  background: var(--accent-pale);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.plan-card__title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--plan-heading, #1a1a2e);
  letter-spacing: -0.2px;
}

.plan-card__price-box {
  margin: 0 1rem;
  padding: 1.25rem 0.75rem;
  text-align: center;
  background: var(--plan-section-bg, #fafafa);
  border-radius: 16px;
}

.plan-card__free {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
}

.plan-card__original-price {
  font-size: 13px;
  color: var(--plan-text-muted, #aaa);
  text-decoration: line-through;
  line-height: 1.4;
}

.plan-card__discount-badge {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  padding: 0 0.5rem;
  border-radius: 12px;
  font-size: 11px;
  margin-bottom: 0.25rem;
}

.plan-card__price {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.plan-card__price sup {
  font-size: 0.35em;
  font-weight: 500;
  vertical-align: super;
  color: var(--plan-text-muted, #888);
}

.plan-card__period {
  font-size: 12px;
  color: var(--plan-text-muted, #888);
  margin-top: 0.25rem;
}

.plan-card__period svg {
  vertical-align: -0.1em;
}

.plan-card__features {
  padding: 1.25rem 1.25rem 1rem;
  flex: 1;
}

.plan-card__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-card__feature-item {
  padding: 0.5rem 0;
  font-size: 13px;
  color: var(--plan-heading, #444);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.plan-card__feature-icon {
  color: var(--accent);
  background: var(--accent-pale);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-card__tests {
  padding: 0 1.25rem 0.5rem;
}

.plan-card__tests-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 1rem;
  background: var(--plan-section-bg, #f5f5f7);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  color: var(--plan-text-muted, #888);
  text-align: right;
  transition: background 0.15s, color 0.15s;
}

.plan-card__tests-toggle:hover {
  background: var(--accent-pale);
  color: var(--accent, #6c63ff);
}

.plan-tests-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-tests-modal__list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--plan-divider, #f5f5f5);
}

.plan-tests-modal__list li:last-child {
  border-bottom: none;
}

.plan-tests-modal__list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--plan-heading, #444);
  text-decoration: none;
  font-size: 14px;
}

.plan-tests-modal__list a:hover {
  color: var(--accent, #6c63ff);
}

/* Shared .modal-body defaults to max-height: calc(100vh - 6rem) — way
 * more than a short tests list needs. Cap it tighter here only.
 * !important needed: page CSS loads before the global bundle (see
 * docs/HANDOFF_test-start-ux.md), so an equal-specificity override
 * here loses the cascade to _modals.scss's .modal-body without it. */
.plan-tests-modal__body {
  max-height: 40vh !important;
  overflow-y: auto;
}

.plan-card__cta {
  padding: 1rem 1.25rem 1.5rem;
}

.plan-card__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  text-align: center;
  background: var(--accent);
  border-color: var(--accent);
  border-radius: 999px !important;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.plan-card__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px var(--accent);
}

/* ─── Responsive tweaks ───────────────────────────────────────── */
@media (max-width: 767px) {
  .plan-hero {
    padding: 4rem 1.25rem 4rem;
    border-radius: 10px;
  }
  .plan-hero__title {
    font-size: 24px;
  }
  .plan-hero__desc {
    font-size: 14px;
  }
  .plan-hero__cta-primary,
  .plan-hero__cta-ghost {
    padding: 0.75rem 1.25rem;
    font-size: 13px;
    width: 100%;
    justify-content: center;
  }
  .plan-hero__stats {
    gap: 0.5rem;
    margin-top: 1.5rem;
  }
  .plan-hero__stat {
    padding: 0.75rem 0.5rem;
  }
  .plan-hero__stat-num {
    font-size: 22px;
  }
  .plan-section-title {
    font-size: 18px;
    margin-bottom: 1.25rem;
  }
  .plan-steps {
    padding: 2rem 1rem 1rem;
  }
  .plan-closing__card {
    padding: 1.5rem 1.25rem;
    text-align: center;
  }
  .plan-closing__actions {
    width: 100%;
  }
  .plan-closing__btn {
    flex: 1 1 100%;
  }
}
/* ─── Hero variant — no background box at all ─────────────────── */
/* Used via `.plan-hero.plan-hero--flat` on BOTH /Plan and /Plan/packages.
 * Drops the dark gradient panel/mask/shadow entirely — badge/title/desc
 * (and, on /Plan, the dual CTA + stat tiles) sit directly on the page
 * background instead of inside a colored box. Decorative blobs stay
 * (kept intentionally, per request). Every child override below exists
 * because .plan-hero__* are shared classes whose base rules assume a
 * dark backdrop (white text, translucent-white cards/buttons) — none of
 * that reads on a plain page background, so it's all re-pointed at the
 * same --plan-* tokens the rest of the page already uses for light/dark.
 * Placed after the responsive-tweaks block above so it wins the cascade
 * on both desktop and the max-width:767px breakpoint. */
.plan-hero--flat {
  padding: 1.5rem 2rem 2.5rem;
  background: none;
  -webkit-mask: none;
  mask: none;
  filter: none;
  box-shadow: none;
  border-radius: 0;
}

.plan-hero--flat .plan-hero__badge {
  background: var(--plan-icon-bg, linear-gradient(135deg, #e8f7f1 0%, #e0f0f0 100%));
  color: var(--plan-icon-fg, #0f6e6e);
  border-color: transparent;
}

.plan-hero--flat .plan-hero__badge svg {
  color: var(--plan-icon-fg, #0f6e6e);
}

.plan-hero--flat .plan-hero__title {
  color: var(--plan-heading, #1a3a5c);
}

.plan-hero--flat .plan-hero__desc {
  color: var(--plan-text-muted, #6b7280);
}

.plan-hero--flat .plan-hero__cta-primary {
  background: linear-gradient(135deg, #0f6e6e 0%, #18bb7c 100%);
  color: #fff;
}

.plan-hero--flat .plan-hero__cta-primary:hover {
  color: #fff;
}

.plan-hero--flat .plan-hero__cta-ghost {
  background: transparent;
  color: var(--plan-icon-fg, #0f6e6e);
  border: 1px solid var(--plan-icon-fg, #0f6e6e);
}

.plan-hero--flat .plan-hero__cta-ghost:hover {
  background: var(--plan-icon-bg, rgba(15, 110, 110, 0.08));
  color: var(--plan-icon-fg, #0f6e6e);
}

.plan-hero--flat .plan-hero__stat {
  background: var(--plan-card-bg, #fff);
  border: 1px solid var(--plan-card-border, #ececf2);
}

.plan-hero--flat .plan-hero__stat:hover {
  background: var(--plan-section-bg, #f7f9fb);
}

.plan-hero--flat .plan-hero__stat-num {
  color: var(--plan-heading, #1a3a5c);
}

.plan-hero--flat .plan-hero__stat-label {
  color: var(--plan-text-muted, #6b7280);
}

@media (max-width: 767px) {
  .plan-hero--flat {
    padding: 1.25rem 1.25rem 2rem;
  }
}
/* ═══════════════════════════════════════════════════════════════
   Dark mode — overrides the plan-* local variables so cards and
   sections sit on the page bg instead of fighting it.
   Mirrors the project pattern from _tokens.scss: both the explicit
   [data-theme="dark"] opt-in and the OS-level prefers-color-scheme
   query (skipped when the user has explicitly chosen light).
   Tokens reused from the global palette so brand drift stays in one
   place — see resources/assets/scss/abstracts/_tokens.scss.
   ═══════════════════════════════════════════════════════════════ */
[data-theme=dark] {
  --plan-card-bg: var(--color-bg-tertiary); /* #2a2a2a */
  --plan-card-border: var(--color-border); /* #3f3f3f */
  --plan-card-border-hover: var(--color-primary); /* emerald-500 */
  --plan-card-border-active: var(--color-primary);
  --plan-heading: var(--color-text); /* #ececec */
  --plan-text-muted: var(--color-text-secondary); /* #b4b4b4 */
  --plan-section-bg: var(--color-bg-tertiary);
  --plan-section-border: var(--color-border);
  --plan-divider: var(--color-border-light); /* #2a2a2a */
  --plan-connector: var(--color-border);
  --plan-icon-bg: linear-gradient(135deg, rgba(16,185,129,.18) 0%, rgba(29,155,240,.12) 100%);
  --plan-icon-fg: var(--color-primary);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --plan-card-bg: var(--color-bg-tertiary);
    --plan-card-border: var(--color-border);
    --plan-card-border-hover: var(--color-primary);
    --plan-card-border-active: var(--color-primary);
    --plan-heading: var(--color-text);
    --plan-text-muted: var(--color-text-secondary);
    --plan-section-bg: var(--color-bg-tertiary);
    --plan-section-border: var(--color-border);
    --plan-divider: var(--color-border-light);
    --plan-connector: var(--color-border);
    --plan-icon-bg: linear-gradient(135deg, rgba(16,185,129,.18) 0%, rgba(29,155,240,.12) 100%);
    --plan-icon-fg: var(--color-primary);
  }
}