/*
 * Signal Blue — Pricing Page Stylesheet
 *
 * Provides everything needed for the checkout modal on the pricing page:
 *   1. Utility helpers  (fw-*, fs-*, dark-font, lh-*)
 *   2. Bootstrap 4 display / flex / spacing utilities  (used in modal HTML)
 *   3. Bootstrap 4 button base
 *   4. Bootstrap 4 custom-checkbox
 *   5. Bootstrap 4 modal scaffold  (backdrop, dialog, content, header/body/footer)
 *   6. Checkout modal component overrides
 *   7. Pricing page — hero, plan cards, toggle, misc
 *   8. Responsive — modal, plan grid, toggles, add-ons, comparison table
 *
 * Design tokens are sourced from signal-blue-tokens.css (already loaded before this file).
 */

/* ============================================================
   1. UTILITY HELPERS
   ============================================================ */

.fw-r   { font-weight: 400 !important; }
.fw-sb  { font-weight: 600 !important; }
.fw-b   { font-weight: 700 !important; }
.dark-font { color: var(--ink, #0E1117) !important; }
.lh-1   { line-height: 1 !important; }
.lh-sm  { line-height: 1.25 !important; }
.fs-12  { font-size: 0.75rem  !important; }
.fs-14  { font-size: 0.875rem !important; }
.fs-16  { font-size: 1rem     !important; }
.fs-18  { font-size: 1.125rem !important; }
.fs-24  { font-size: 1.5rem   !important; }
.fs-48  { font-size: 3rem     !important; }

/* ============================================================
   2. BOOTSTRAP 4 DISPLAY / FLEX / SPACING UTILITIES
   (only classes actually used inside the checkout modal)
   ============================================================ */

/* --- display --- */
.d-flex        { display: flex !important; }
.d-block       { display: block !important; }
.d-none        { display: none !important; }
.d-inline      { display: inline !important; }
.d-md-block    { display: none !important; }  /* overridden below ≥768px */
.d-md-none     { display: block !important; } /* overridden below ≥768px */
.d-md-inline   { display: none !important; }  /* overridden below ≥768px */

@media (min-width: 768px) {
  .d-md-block  { display: block  !important; }
  .d-md-none   { display: none   !important; }
  .d-md-inline { display: inline !important; }
}

/* --- flex direction --- */
.flex-column          { flex-direction: column  !important; }
.flex-column-reverse  { flex-direction: column-reverse !important; }

@media (min-width: 768px) {
  .flex-md-row          { flex-direction: row !important; }
  .flex-md-row-reverse { flex-direction: row-reverse !important; }
}

/* --- flex wrap --- */
.flex-wrap   { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }

/* --- align / justify --- */
.align-items-start    { align-items: flex-start !important; }
.align-items-center   { align-items: center     !important; }
.align-items-end      { align-items: flex-end   !important; }
.justify-content-start   { justify-content: flex-start    !important; }
.justify-content-center  { justify-content: center         !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end     { justify-content: flex-end      !important; }

@media (min-width: 768px) {
  .align-items-md-center { align-items: center !important; }
}

/* --- spacing (0.25rem base) --- */
/* padding */
.p-0  { padding: 0      !important; }
.p-1  { padding: .25rem !important; }
.p-2  { padding: .5rem  !important; }
.p-3  { padding: 1rem   !important; }
.p-4  { padding: 1.5rem !important; }
.pt-0 { padding-top: 0        !important; }
.pt-1 { padding-top: .25rem  !important; }
.pt-2 { padding-top: .5rem   !important; }
.pt-3 { padding-top: 1rem    !important; }
.pb-0 { padding-bottom: 0        !important; }
.pb-1 { padding-bottom: .25rem  !important; }
.pb-2 { padding-bottom: .5rem   !important; }
.pb-3 { padding-bottom: 1rem    !important; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem !important; }
.py-2 { padding-top: .5rem;  padding-bottom: .5rem  !important; }
.py-3 { padding-top: 1rem;   padding-bottom: 1rem   !important; }
.px-2 { padding-left: .5rem;  padding-right: .5rem   !important; }
.px-3 { padding-left: 1rem;   padding-right: 1rem    !important; }
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem  !important; }
@media (min-width: 768px) {
  .p-md-4   { padding: 1.5rem !important; }
  .px-md-4  { padding-left: 1.5rem; padding-right: 1.5rem !important; }
}
@media (min-width: 992px) {
  .px-lg-4  { padding-left: 1.5rem; padding-right: 1.5rem !important; }
}

/* margin */
.m-0   { margin: 0      !important; }
.mb-0  { margin-bottom: 0        !important; }
.mb-1  { margin-bottom: .25rem  !important; }
.mb-2  { margin-bottom: .5rem   !important; }
.mb-3  { margin-bottom: 1rem    !important; }
.ml-2  { margin-left: .5rem     !important; }
.ml-3  { margin-left: 1rem      !important; }
.mr-1  { margin-right: .25rem   !important; }
.mr-2  { margin-right: .5rem    !important; }
.mt-0  { margin-top: 0           !important; }
.mt-1  { margin-top: .25rem     !important; }
.mt-2  { margin-top: .5rem      !important; }
.my-1  { margin-top: .25rem; margin-bottom: .25rem !important; }
.my-2  { margin-top: .5rem;  margin-bottom: .5rem  !important; }
.my-3  { margin-top: 1rem;   margin-bottom: 1rem   !important; }
@media (min-width: 768px) {
  .mt-md-0  { margin-top: 0 !important; }
  .mb-md-0  { margin-bottom: 0 !important; }
  .ml-md-2  { margin-left: .5rem !important; }
  .mr-md-2  { margin-right: .5rem !important; }
}

/* ============================================================
   3. BOOTSTRAP 4 BUTTON BASE
   ============================================================ */

/* .btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: .5rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 8px;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
  text-decoration: none;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-primary {
  color: #fff;
  background-color: var(--signal-blue, #2F4BFF);
  border-color: var(--signal-blue, #2F4BFF);
}
.btn-primary:hover {
  background-color: var(--signal-blue-dark, #1932C7);
  border-color: var(--signal-blue-dark, #1932C7);
  color: #fff;
}

.btn-secondary {
  color: var(--ink, #0E1117);
  background-color: var(--surface-soft, #F8FAFF);
  border-color: var(--border-strong, #B8C4DD);
}
.btn-secondary:hover {
  background-color: var(--surface-blue, #EEF3FF);
  border-color: var(--signal-blue, #2F4BFF);
  color: var(--signal-blue, #2F4BFF);
} */

/* ============================================================
   4. BOOTSTRAP 4 CUSTOM CHECKBOX
   ============================================================ */

.custom-control {
  position: relative;
  display: block;
  min-height: 1.5rem;
  padding-left: 1.75rem;
}

.custom-control-inline {
  display: inline-flex;
  margin-right: 1rem;
}

.custom-control-input {
  position: absolute;
  left: 0;
  z-index: -1;
  width: 1rem;
  height: 1.25rem;
  opacity: 0;
}

.custom-control-label {
  position: relative;
  margin-bottom: 0;
  vertical-align: top;
  cursor: pointer;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.custom-control-label::before,
.custom-control-label::after {
  position: absolute;
  top: calc(50% - 9px);
  left: -1.75rem;
  display: block;
  width: 20px;
  height: 20px;
  content: '';
}

.custom-control-label::before {
  background-color: #fff;
  border: 2px solid var(--border-strong, #B8C4DD);
  border-radius: 6px;
  transition: border-color .12s, background-color .12s;
}

.custom-control-label::after {
  background: no-repeat center / 60% auto;
}

/* checked */
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: transparent;
  border-color: var(--signal-blue, #2F4BFF);
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%232F4BFF' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}

/* disabled */
.custom-checkbox .custom-control-input:disabled ~ .custom-control-label {
  color: var(--text-muted, #5F6877);
  cursor: default;
}
.custom-checkbox .custom-control-input:disabled ~ .custom-control-label::before {
  background-color: var(--surface-soft, #F8FAFF);
  border-color: var(--border, #DDE4F2);
}
.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: var(--signal-blue-soft, #E8ECFF);
  border-color: var(--border, #DDE4F2);
}

/* ============================================================
   5. BOOTSTRAP 4 MODAL SCAFFOLD
   (no Bootstrap JS required — modal open/close handled by
    sbShowModal / sbHideModal in common-pricing.js)
   ============================================================ */

/* Hidden by default */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  z-index: 1050;
  display: none;
}

.modal.show {
  display: block;
}

/* Backdrop — injected via JS */
.sb-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 20, 0.58);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.sb-modal-backdrop.show {
  opacity: 1;
}

body.sb-modal-open {
  overflow: hidden;
}

/* Dialog */
.modal-dialog {
  position: relative;
  width: auto;
  pointer-events: none;
  margin: 1.75rem auto;
  max-width: 650px;
}

/* Fade animation */
.modal.fade .modal-dialog {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateY(-20px) scale(0.98);
}
.modal.show .modal-dialog {
  transform: none;
}

/* Content card */
.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  outline: 0;
  overflow: hidden;
}

/* Header */
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--border, #DDE4F2);
}

.modal-header .close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  color: var(--text-muted, #5F6877);
  opacity: 0.7;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
  transition: opacity 0.15s, color 0.15s;
  align-self: flex-start;
}
.modal-header .close:hover {
  opacity: 1;
  color: var(--ink, #0E1117);
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.3;
}

/* Body */
.modal-body {
  position: relative;
  flex: 1 1 auto;
}

/* Footer */
.modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid var(--border, #DDE4F2);
  gap: 0.625rem;
}

/* ============================================================
   6. CHECKOUT MODAL — Component Styles
   Mirrors .plan-checkout-modal from the main pricing module,
   scoped to .sb-plan-checkout-modal.
   ============================================================ */

/*---- Begins: Checkout Modal Classes ----*/

.sb-plan-checkout-modal .modal-dialog {
  max-width: 680px;
  color: #475467;
  font-size: 14px;
}

.sb-plan-checkout-modal .modal-content {
  border-radius: 12px;
}

.sb-plan-checkout-modal .dark-font {
  color: #101828;
}

.sb-plan-checkout-modal .light-font {
  color: #98A2B3;
}

.sb-plan-checkout-modal .modal-header {
  border-color: #EAECF0;
}

.sb-plan-checkout-modal .modal-header .close {
  margin: -5px -5px auto 0;
  padding: 0;
  min-width: 44px;
  height: 44px;
}

.sb-plan-checkout-modal .modal-body hr {
  margin: 12px 0;
  background-color: #EAECF0;
  border: 0;
  height: 1px;
}

.sb-plan-checkout-modal .modal-footer {
  border-color: #EAECF0;
}

.sb-plan-checkout-modal .modal-footer .btn {
  flex: 1;
  margin: 0;
  min-width: auto;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  min-height: 44px;
  justify-content: center;
  cursor: pointer;
}

/* Checkout button */
.sb-plan-checkout-modal .modal-footer .sb-modal-checkout-btn {
  background: #334CEB;
  border-color: #334CEB;
  color: #fff;
}
.sb-plan-checkout-modal .modal-footer .sb-modal-checkout-btn:hover {
  background: #2b41c7;
  border-color: #2b41c7;
}

/* Cancel button */
.sb-plan-checkout-modal .modal-footer .btn:not(.sb-modal-checkout-btn) {
  background: #fff;
  color: #344054;
  border: 1px solid #D0D5DD;
}
.sb-plan-checkout-modal .modal-footer .btn:not(.sb-modal-checkout-btn):hover {
  background: #F9FAFB;
}

/* Plan name */
.sb-plan-checkout-modal .plan-name{
    font-size: 24px;
    text-transform: capitalize;
    letter-spacing: normal;
}

/* Billing period badge */
.sb-plan-checkout-modal .billing-period span {
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 14px;
}

.sb-plan-checkout-modal .billing-period span.yearly-value {
  background-color: #F5F8FF;
  color: #2237D3;
}

.sb-plan-checkout-modal .billing-period span.monthly-value {
  background-color: #F2F4F7;
  color: #344054;
}

/* Price display */
.sb-plan-checkout-modal .price-container {
  font-size: 48px;
}

.sb-plan-checkout-modal .price-container sub {
  position: relative;
  top: -12px;
  left: 4px;
  font-size: 16px;
  font-weight: 400;
}

.text-decoration-line-through {
    text-decoration: line-through !important;
}

/* Add-on row */
.add-on-wrap {
  color: #475467;
  font-size: 14px;
}

.addon-label {
  font-size: 14px;
  color: #475467;
}

/* Inc/Dec group */
.add-on-increment-wrap {
  display: flex;
  align-items: center;
  border-radius: 32px;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  gap: 0;
}

.sb-plan-checkout-modal .add-on-wrap button.minus,
.sb-plan-checkout-modal .add-on-wrap button.plus {
  width: 36px;
  height: 32px;
  border: solid 1px #D4E1FF;
  border-radius: 32px;
  background: #F5F8FF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #334CEB;
  line-height: 1;
  padding: 0;
  transition: background 0.14s;
}

.sb-plan-checkout-modal .add-on-wrap button.minus:disabled,
.sb-plan-checkout-modal .add-on-wrap button.plus:disabled {
  background: #fff;
  color: #D4E1FF;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 1;
}

.sb-plan-checkout-modal .add-on-wrap button.minus:hover:not(:disabled) {
  background: #EEF3FF;
}

.sb-plan-checkout-modal .add-on-wrap button.plus:hover:not(:disabled) {
  background: #EEF3FF;
}

.sb-plan-checkout-modal .add-on-wrap button.minus {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.sb-plan-checkout-modal .add-on-wrap button.plus {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.sb-plan-checkout-modal .add-on-wrap input.quantity {
  width: 80px;
  height: 32px;
  border: solid 1px #D4E1FF;
  color: #101828;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border-left-width: 0;
  border-right-width: 0;
  border-radius: 0;
  background: #fff;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
}
.sb-plan-checkout-modal .add-on-wrap input.quantity::-webkit-inner-spin-button,
.sb-plan-checkout-modal .add-on-wrap input.quantity::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* Add-on price / amount column */
.sb-plan-checkout-modal .add-on-wrap .addon-amount {
  min-width: 47px;
  display: inline-block;
  text-align: right;
  margin-left: 12px;
  font-weight: 700;
  color: #101828;
}

/* Custom amount inputs (Custom Dev & Books Recon) */
.sb-amount-input {
  border-radius: 6px;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  border: 1px solid #D4E1FF;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 2px 6px;
  background: #fff;
}

.sb-custom-input {
  height: 30px;
  width: 55px;
  border: 0;
  font-weight: 600;
  font-size: 14px;
  color: #101828;
  background: transparent;
  outline: none;
  -moz-appearance: textfield;
}
.sb-custom-input::-webkit-inner-spin-button,
.sb-custom-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/*---- Ends: Checkout Modal Classes ----*/

/* ============================================================
   7. PRICING PAGE — HERO, PLAN CARDS, TOGGLE, MISC
   ============================================================ */

/* --- Hero header: Single Line & Strictly Centered --- */
.pricing-hero {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  padding-bottom: 20px !important;
  text-align: center !important;
}

.pricing-hero .container {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

.pricing-hero-h1 {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-size: clamp(16px, 3.4vw, 42px) !important; /* Resizes fluidly so it never breaks to line 2 */
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

@media (max-width: 640px) {
  .pricing-hero-h1 {
    font-size: clamp(12px, 4.2vw, 20px) !important;
    padding: 0 8px;
  }
}

/* --- Sticky Bar & Toggles Centering --- */
.pricing-sticky-bar {
  position: sticky;
  top: var(--site-header-height, 88px);
  z-index: 200;
/*   background: #fff;
  border-bottom: 1px solid #EAECF0 !important; /* full-width baseline — bar is already width:100% */
/*   box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04); */ */
  padding: 8px 0 0 0 !important;
  width: 100% !important;
}

.pricing-sticky-bar .container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.pricing-sticky-bar .pricing-toggles {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  gap: 10px !important;
  text-align: center !important;
}

/* --- Platform Selector: Tab Switch, No Outer Pill (baseline now lives on .pricing-sticky-bar) --- */
#platform-toggle.pricing-tabs {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  justify-content: center !important;
  align-items: flex-end !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  gap: 12px;
  background: none !important;
  box-shadow: none !important;
      position: relative !important; /* Required */
      border-bottom: 1px solid #EAECF0 !important;
}

/* Base Tab Button (Top Rounded, Flush with Baseline) */
#platform-toggle.pricing-tabs .toggle-btn.tab-btn {
  background: #ffffff !important;
  border: 1px solid #EAECF0 !important;
  border-bottom: 1px solid #EAECF0 !important;
  border-radius: 12px 12px 0 0 !important; /* Top rounded corners */
  box-shadow: none !important;
  outline: none !important;
  padding: 14px 32px !important;
  font-size: 16px;
  font-weight: 600;
  color: #161924 !important;
  position: relative;
  white-space: nowrap;
  margin-bottom: -1px !important; /* Connects flush with the baseline HR line */
  z-index: 1;
  cursor: pointer;
  transition: all 0.15s ease;
}

/* Inactive Hover */
#platform-toggle.pricing-tabs .toggle-btn.tab-btn:hover:not(.active) {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
}

#platform-toggle.pricing-tabs .toggle-btn.tab-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Active Tab (Solid Black tab sit on top of HR line) */
#platform-toggle.pricing-tabs .toggle-btn.tab-btn.active {
  background: #000000 !important; /* Solid black */
  border-color: #000000 !important;
  color: #ffffff !important;       /* Bold white text */
  font-weight: 700;
  border-radius: 12px 12px 0 0 !important;
  z-index: 2;
}

#platform-toggle.pricing-tabs .toggle-btn.tab-btn.active::after {
  content: none !important;
}

@media (max-width: 480px) {
  #platform-toggle.pricing-tabs {
    gap: 8px;
  }
  #platform-toggle.pricing-tabs .toggle-btn.tab-btn {
    font-size: 13px;
    padding: 10px 18px !important;
    border-radius: 8px 8px 0 0 !important;
  }
}

/* Very narrow phones: two tabs no longer fit side by side, so stack them full-width */
@media (max-width: 400px) {
  #platform-toggle.pricing-tabs {
    flex-direction: column;
    align-items: stretch !important;
    gap: 8px;
    border-bottom: none !important;
    width: 100% !important;
  }
  #platform-toggle.pricing-tabs .toggle-btn.tab-btn {
    width: 100%;
    text-align: center;
    font-size: 13px;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    margin-bottom: 0 !important;
    white-space: normal;
  }
}

/* --- Billing Switch Centering --- */
.pricing-billing-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.pricing-switch {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.pricing-switch .toggle-btn {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 600;
  color: var(--text-soft, #94A3B8);
  transition: color 0.15s ease, font-weight 0.15s ease;
}

.pricing-switch .toggle-btn.active {
  color: var(--ink, #0E1117);
  font-weight: 700;
}

.pricing-switch-track {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  background: var(--border-strong, #B8C4DD);
  border-radius: 999px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.pricing-switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

/* Annual selected */
.pricing-switch:has(.toggle-btn[data-billing="annual"].active) .pricing-switch-track {
  background: var(--certified-green, #18A66A);
}

/* Monthly selected */
.pricing-switch:has(.toggle-btn[data-billing="monthly"].active) .pricing-switch-track {
  background: var(--signal-blue, #2F4BFF);
}
.pricing-switch:has(.toggle-btn[data-billing="monthly"].active) .pricing-switch-knob {
  transform: translateX(20px);
}

@media (max-width: 480px) {
  .pricing-switch {
    gap: 10px !important;
  }
  .pricing-switch .toggle-btn {
    font-size: 13px !important;
  }
}

/* --- Accountant Verified Badge (Complete / Complete Enterprise) --- */
.plan-verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 116px;
  height: 21px;
  gap: 4px;
  background: #2F4BFF;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: normal;
  flex-shrink: 0;
  box-sizing: border-box;
  opacity: 1;
}
.plan-verified-badge svg,
.plan-verified-badge img {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  display: block;
}

@media (max-width: 400px) {
  .plan-verified-badge {
    width: auto;
    min-width: 0;
    font-size: 9px;
    padding: 3px 6px;
  }
}

/* --- Plan Card Overage Note --- */
.plan-limits-overage {
  font-size: 13px;
  color: var(--text-muted, #5F6877);
  text-align: center;
  margin-top: 4px;
}

/* --- Plan Cards Grid Layout --- */
.plans-grid-4 {
  align-items: stretch;
}

.plans-grid-4 .plan-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan-card .plan-compare-link {
  margin-top: 16px;
}

/* --- Outcome List --- */
.plan-outcome-list li,
.plan-outcome-list li:nth-child(odd),
.plan-outcome-list li:nth-child(even) {
  font-weight: 400;
  color: var(--ink, #0E1117);
  background: none;
}

/* --- Key Features List --- */
.plan-keyfeatures {
  margin-top: 16px;
  text-align: left;
}

.plan-keyfeatures-label {
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-muted, #5F6877);
  margin-bottom: 6px;
}

.plan-keyfeatures-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
}

.plan-keyfeatures-list li,
.plan-keyfeatures-list li:nth-child(odd),
.plan-keyfeatures-list li:nth-child(even) {
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
  font-weight: 400;
  color: var(--ink, #0E1117);
  background: none;
}

.plan-keyfeatures-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--signal-blue, #2F4BFF);
}

.plan-keyfeatures-list li.plan-keyfeatures-inherit {
  padding-left: 0 !important;
  font-style: italic;
  color: var(--text-muted, #5F6877);
}

.plan-keyfeatures-list li.plan-keyfeatures-inherit::before {
  content: none !important;
}

/* ============================================================
   8. RESPONSIVE — MODAL, PLAN GRID, TOGGLES, ADD-ONS, COMPARISON TABLE
   ============================================================ */

@media (max-width: 767px) {
  .sb-plan-checkout-modal .billing-period span {
    font-size: 12px;
  }
  .sb-plan-checkout-modal .price-container {
    font-size: 36px;
  }
  .sb-plan-checkout-modal .price-container sub {
    font-size: 14px;
  }
  .sb-plan-checkout-modal .plan-name {
    font-size: 20px;
  }
  .sb-plan-checkout-modal .add-on-wrap .addon-label {
    font-weight: 700;
    font-size: 16px;
    color: #101828;
  }
  .sb-plan-checkout-modal .add-on-wrap .addon-amount {
    line-height: 32px;
  }
  .sb-plan-checkout-modal .modal-footer {
    flex-direction: column-reverse;
    gap: 8px;
  }
  .sb-plan-checkout-modal .modal-footer .btn {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .modal-dialog {
    margin: 0.5rem;
  }
  .sb-plan-checkout-modal .modal-dialog {
    margin: 0;
    max-width: 100%;
    height: 100%;
    min-height: 100vh;
  }
  .sb-plan-checkout-modal .modal-content {
    min-height: 100vh;
    border-radius: 0;
  }
}

/* --- Plan grid --- */
@media (max-width: 1180px) {
  .plans-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .plans-grid-4 {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .plans-grid-4 .plan-card {
    height: auto;
  }
  .plan-card {
    padding: 24px 20px;
  }
  .plan-price {
    font-size: 36px;
  }
  .plan-container-top {
    min-height: 0;
  }
}

/* --- Add-ons grid --- */
@media (max-width: 900px) {
  .addons-grid-3 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .addons-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Responsive Toggles --- */
@media (max-width: 640px) {
  .pricing-toggles {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  #platform-toggle,
  #billing-toggle {
    flex-wrap: wrap;
    justify-content: center;
  }
  .pricing-billing-row {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
}

/* --- Comparison tables --- */
.pricing-comparison-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
  .pricing-comparison-table {
    min-width: 640px;
  }
}

/* --- Key features / outcome lists --- */
@media (max-width: 480px) {
  .plan-keyfeatures-list,
  .plan-outcome-list {
    font-size: 13px;
  }
}

/* --- Includes / outcome boxes --- */
@media (max-width: 640px) {
  .plans-grid-4 .plan-card .plan-limits {
    padding: 12px 14px !important;
    font-size: 13px !important;
    gap: 8px !important;
  }
  .plan-outcome-label {
    font-size: 12px !important;
  }
}

@media (max-width: 400px) {
  .plans-grid-4 .plan-card .plan-limits {
    padding: 10px 12px !important;
    font-size: 12.5px !important;
  }
}

.plan-trial-note {
  font-size: 12px;
  color: var(--color-text-muted, #6b7280);
  text-align: center;
  margin-top: 8px;
}

/* ============================================================
   PLAN CARD REDESIGN v2 — matches Figma reference exactly
   ============================================================ */

.plans-grid-4 .plan-card {
  border-radius: 20px;
  overflow: hidden;
  padding: 0 !important;
}

.plans-grid-4 .plan-card .plan-top-pick-badge,
.plans-grid-4 .plan-card .plan-popular-badge {
  z-index: 2;
}

.plan-container-top {
  background: #fff;
  padding: 16px;
  border-radius: 20px 20px 0 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: auto !important; /* Changed from 264px to auto to collapse empty space */
}

.plan-name {
  color: #161924;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: 0.08px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.plan-price {
  display: inline-block;
  color: #161924;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  letter-spacing: -0.28px;
}

.plan-currency {
  font-size: 20px;
  font-weight: 600;
  vertical-align: top;
  margin-right: 1px;
}

.plan-billing {
  display: inline-block;
  color: #73757C;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-left: 6px;
}

.plan-price-annual-note {
  color: #009854;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  margin: 12px 0 0;
}

.plan-price-strike {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #73757C;
  text-align: left;
  margin: 12px 0 0;
}
.plan-price-strike s {
  text-decoration: line-through;
}

.plan-container-top .plan-tagline {
  display: none;
}

/* --- Outcome badge, now inside plan-container-top (above price) ---
   Restored to the original card treatment: white card, soft blue
   border + glow, bold blue centered label — same look as before
   the flat "redesign v2" panel style. */
.plan-container-top .plan-outcome {
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  text-align: left;
  min-height: 0;
  display: block;
  margin: 0 0 12px 0;
}

.plan-container-top .plan-outcome-label {
  color: #334CEB;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.3;
  margin-bottom: 0;
  text-align: left;
}

/* CTA button */
.plan-container-top .plan-cta {
  margin-top: auto;
  padding-top: 12px;
}
.plan-container-top .plan-cta .btn {
  display: flex;
  width: 100%;
  height: 40px;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  align-self: stretch;
  border-radius: 8px !important;
  background: #2F4BFF !important;
  border-color: #2F4BFF !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
}
.plan-container-top .plan-cta .btn:hover {
  background: var(--signal-blue-dark, #1932C7) !important;
  border-color: var(--signal-blue-dark, #1932C7) !important;
}

.plan-card .plan-compare-link {
  display: none;
}

/* Bottom zone */
.plan-advantages-container {
  background: var(--signal-blue-pale, #EEF1FF);
  padding: 16px;
  border-radius: 0 0 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-includes-label {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink, #0E1117);
  margin-bottom: 0;
}

.plan-advantages-container .plan-outcome-list {
  display: none;
}

.plan-advantages-container .plan-limits {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  margin-bottom: 0;
  width: 100%;
}

.plan-advantages-container .plan-limits span:not(.plan-limits-sep) {
  position: relative;
  padding-left: 22px;
  color: #5A5C66;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Checkmark icon */
.plan-advantages-container .plan-limits span:not(.plan-limits-sep)::before,
.plan-keyfeatures-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M7 1.3125C5.87512 1.3125 4.7755 1.64607 3.8402 2.27102C2.90489 2.89597 2.17591 3.78423 1.74544 4.82349C1.31496 5.86274 1.20233 7.00631 1.42179 8.10958C1.64124 9.21284 2.18292 10.2263 2.97833 11.0217C3.77374 11.8171 4.78716 12.3588 5.89043 12.5782C6.99369 12.7977 8.13726 12.685 9.17651 12.2546C10.2158 11.8241 11.104 11.0951 11.729 10.1598C12.3539 9.2245 12.6875 8.12488 12.6875 7C12.6859 5.49207 12.0862 4.04636 11.0199 2.98009C9.95364 1.91382 8.50793 1.31409 7 1.3125ZM9.49703 5.99703L6.43453 9.05953C6.3939 9.10021 6.34565 9.13248 6.29254 9.15449C6.23943 9.17651 6.1825 9.18784 6.125 9.18784C6.06751 9.18784 6.01058 9.17651 5.95747 9.15449C5.90435 9.13248 5.8561 9.10021 5.81547 9.05953L4.50297 7.74703C4.42088 7.66494 4.37476 7.5536 4.37476 7.4375C4.37476 7.3214 4.42088 7.21006 4.50297 7.12797C4.58506 7.04588 4.69641 6.99976 4.8125 6.99976C4.9286 6.99976 5.03994 7.04588 5.12203 7.12797L6.125 8.13148L8.87797 5.37797C8.91862 5.33732 8.96688 5.30508 9.01998 5.28308C9.07309 5.26108 9.13002 5.24976 9.1875 5.24976C9.24499 5.24976 9.30191 5.26108 9.35502 5.28308C9.40813 5.30508 9.45639 5.33732 9.49703 5.37797C9.53768 5.41862 9.56993 5.46687 9.59192 5.51998C9.61392 5.57309 9.62525 5.63001 9.62525 5.6875C9.62525 5.74499 9.61392 5.80191 9.59192 5.85502C9.56993 5.90813 9.53768 5.95638 9.49703 5.99703Z' fill='%232F4BFF'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-repeat: no-repeat;
  border-radius: 0;
}

.plan-limits-overage {
  padding-top: 0;
  margin-bottom: 0;
}

.plan-keyfeatures {
  padding-top: 12px;
  margin-top: 0 !important;
  border-top: 1px solid rgba(47, 75, 255, 0.14);
}

.plan-keyfeatures-label {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink, #0E1117);
  margin-bottom: 12px;
}

.plan-keyfeatures-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.plan-keyfeatures-list li {
  padding-left: 22px !important;
  color: #5A5C66;
  font-family: 'Inter', sans-serif;
  font-size: 12px !important;
  font-style: normal;
  font-weight: 400 !important;
  line-height: normal;
  margin-bottom: 0 !important;
}

.plan-keyfeatures-list li.plan-keyfeatures-inherit {
  padding-left: 22px !important;
}
.plan-keyfeatures-list li.plan-keyfeatures-inherit::before {
  background-image: none;
  content: "\2713";
  color: var(--signal-blue, #2F4BFF);
  width: auto;
  height: auto;
}

/* --- Add-on card icons --- */
.addon-header {
  width: 100%;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px;
}
.addon-icon {
  width: 50px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .addon-icon {
    width: 42px;
    height: 32px;
  }
}

.plan-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 264px;
  height: auto;
  align-items: flex-start;
  gap: 16px;
}

/* --- Add-on cards: checklist variant --- */
.addon-card-checklist .addon-checklist {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.addon-card-checklist .addon-checklist li {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft, #33394A);
  line-height: 1.5;
  padding: 4px 0 4px 22px;
  position: relative;
}

.addon-card-checklist .addon-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M7 1.3125C5.87512 1.3125 4.7755 1.64607 3.8402 2.27102C2.90489 2.89597 2.17591 3.78423 1.74544 4.82349C1.31496 5.86274 1.20233 7.00631 1.42179 8.10958C1.64124 9.21284 2.18292 10.2263 2.97833 11.0217C3.77374 11.8171 4.78716 12.3588 5.89043 12.5782C6.99369 12.7977 8.13726 12.685 9.17651 12.2546C10.2158 11.8241 11.104 11.0951 11.729 10.1598C12.3539 9.2245 12.6875 8.12488 12.6875 7C12.6859 5.49207 12.0862 4.04636 11.0199 2.98009C9.95364 1.91382 8.50793 1.31409 7 1.3125ZM9.49703 5.99703L6.43453 9.05953C6.3939 9.10021 6.34565 9.13248 6.29254 9.15449C6.23943 9.17651 6.1825 9.18784 6.125 9.18784C6.06751 9.18784 6.01058 9.17651 5.95747 9.15449C5.90435 9.13248 5.8561 9.10021 5.81547 9.05953L4.50297 7.74703C4.42088 7.66494 4.37476 7.5536 4.37476 7.4375C4.37476 7.3214 4.42088 7.21006 4.50297 7.12797C4.58506 7.04588 4.69641 6.99976 4.8125 6.99976C4.9286 6.99976 5.03994 7.04588 5.12203 7.12797L6.125 8.13148L8.87797 5.37797C8.91862 5.33732 8.96688 5.30508 9.01998 5.28308C9.07309 5.26108 9.13002 5.24976 9.1875 5.24976C9.24499 5.24976 9.30191 5.26108 9.35502 5.28308C9.40813 5.30508 9.45639 5.33732 9.49703 5.37797C9.53768 5.41862 9.56993 5.46687 9.59192 5.51998C9.61392 5.57309 9.62525 5.63001 9.62525 5.6875C9.62525 5.74499 9.61392 5.80191 9.59192 5.85502C9.56993 5.90813 9.53768 5.95638 9.49703 5.99703Z' fill='%232F4BFF'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-repeat: no-repeat;
}

.addon-card-checklist .addon-checklist-note {
  font-size: 12px;
  color: var(--text-muted, #5F6877);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border, #DDE4F2);
  line-height: 1.5;
}

/* ============================================================
   9. FULL RESPONSIVE PASS
   ============================================================ */

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

img, svg {
  max-width: 100%;
  height: auto;
}

/* --- Promo banner --- */
.audit-promo-banner {
  padding: 24px 32px !important;
  margin-top: 24px !important;
  border-radius: 16px !important;
  display: block !important;      /* was flex column — only 1 child, flex adds nothing but the stretch bug */
  height: auto !important;
  min-height: 0 !important;
  align-self: start !important;
  justify-self: start !important; /* covers CSS Grid parents too */
  width: 100% !important;         /* NEW — force full width regardless of any base/global rule */
  max-width: 100% !important;     /* NEW — override any external max-width */
  box-sizing: border-box !important; /* NEW — so the 32px padding doesn't push it past 100% */

}

.audit-promo-left {
  width: 100%;
  min-width: 0;
}

.audit-promo-cols {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.audit-promo-items {
  flex: 1 1 220px;
  min-width: 0;
}

.audit-promo-cta {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 16px !important; /* Clean margin above the CTA button */
  margin-bottom: 0 !important;
}

.audit-promo-cta .btn {
  white-space: nowrap;
}

/* --- Fix for garbled checkmark bullet on "Ecommerce Books Reconstruction" items ---
   The base stylesheet's ::before checkmark was written as a literal UTF-8 character;
   when that file gets served/read with the wrong charset, the 3 UTF-8 bytes for "✓"
   (E2 9C 93) get misread as three separate Windows-1252 characters, showing up as
   "âœ"" instead of a checkmark. Using the CSS unicode escape here is encoding-safe
   regardless of how the stylesheet itself is served. */
.audit-promo-item {
  position: relative;
  padding-left: 22px;
}
.audit-promo-item::before {
  content: "\2713" !important;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--certified-green, #18A66A);
  font-weight: 700;
}

@media (max-width: 900px) {
  .audit-promo-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .audit-promo-cols {
    flex-direction: column;
    gap: 12px;
  }
  .audit-promo-cta {
    width: 100%;
  }
  .audit-promo-cta .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .audit-promo-price {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
  }
}

/* --- CTA row --- */
.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-row--center {
  justify-content: center;
}

@media (max-width: 560px) {
  .cta-row--center {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cta-row--center .btn {
    width: 100%;
    text-align: center;
  }
}

/* --- Checkout modal add-on rows --- */
@media (max-width: 400px) {
  .add-on-wrap {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .sb-plan-checkout-modal .add-on-wrap .addon-amount {
    margin-left: auto;
  }
  .sb-plan-checkout-modal .modal-header img {
    width: 40px;
    height: 40px;
  }
}

/* --- Add-on cards --- */
@media (max-width: 480px) {
  .addon-price {
    font-size: 15px;
  }
}

/* --- Comparison table --- */
@media (max-width: 767px) {
  .pricing-comparison-table th,
  .pricing-comparison-table td {
    font-size: 13px;
    padding: 8px 10px;
  }
}

@media (max-width: 400px) {
  .pricing-comparison-table {
    min-width: 560px;
  }
  .pricing-comparison-table th,
  .pricing-comparison-table td {
    font-size: 12px;
    padding: 6px 8px;
  }
}

/* --- Badges --- */
@media (max-width: 640px) {
  .plan-top-pick-badge,
  .plan-popular-badge {
    font-size: 11px;
    padding: 4px 10px;
    white-space: normal;
    text-align: center;
  }
}

/* --- Extra-small phones --- */
@media (max-width: 359px) {
  .plan-price {
    font-size: 30px;
  }
  .plan-currency {
    font-size: 16px;
  }
  .section-h2 {
    font-size: 22px;
  }
  .plan-container-top {
    padding: 14px;
  }
  .plan-advantages-container {
    padding: 12px;
  }
}

/* --- FAQ --- */
@media (max-width: 480px) {
  .faq-q {
    font-size: 14px;
    line-height: 1.4;
  }
  .faq-a {
    font-size: 13.5px;
    line-height: 1.6;
  }
}

/* --- Section headings --- */
@media (max-width: 640px) {
  .section-h2 {
    font-size: 24px;
    line-height: 1.3;
  }
  .section-eyebrow {
    font-size: 12px;
  }
}

/* --- Desktop Grid Max Containment --- */
@media (min-width: 1440px) {
  .plans-grid-4 {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Tablet / Landscape --- */
@media (min-width: 641px) and (max-width: 1180px) {
  .plan-price {
    font-size: 34px;
  }
  .plan-container-top {
    padding: 20px 16px;
  }
}

/* --- Sticky Bar Padding --- */
@media (max-width: 480px) {
  .pricing-sticky-bar {
    padding: 10px 0;
  }
}

/* --- Modal Title Wrapper --- */
@media (max-width: 359px) {
  .modal-header .d-flex.align-items-center {
    flex-wrap: wrap;
  }
  .modal-title {
    max-width: calc(100% - 60px);
  }
}

/* ============================================================
   10. BORDER REMOVAL — plan cards
   ============================================================ */
.plans-grid-4 .plan-card,
.plan-card {
  border: none !important;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
}

/* ============================================================
   11. ADD-ON PLAN INCLUSION NOTES (added per feedback)
   ============================================================ */

.addon-plans-note {
  font-size: 12px;
  font-weight: 600;
  color: #18A66A;
  margin-top: 2px;
}

/* ============================================================
   12. ACCOUNTANT VERIFIED BADGES — green outline pill + icon
   ============================================================ */

.plan-card-top-pick,
.plan-card-popular {
  position: relative !important; /* anchor for the absolutely-positioned badge */
}

.plan-top-pick-badge,
.plan-popular-badge {
  position: absolute !important;
  top: 5px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: #EAFBF3 !important;
  border: 1px solid #18A66A !important;
  border-radius: 10px !important;
  color: #18A66A !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  padding: 4px 12px !important;
  white-space: nowrap !important;
}

.plan-top-pick-badge::before,
.plan-popular-badge::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  background-color: #18A66A;
  -webkit-mask-image: url("https://www.webgility.com/hubfs/UserCircleCheck.svg");
  mask-image: url("https://www.webgility.com/hubfs/UserCircleCheck.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
@media (max-width: 900px) {
  .audit-promo-banner {
    display: flex !important;
    flex-direction: column;
    gap: 16px !important;
  }
  .audit-promo-left {
    width: 100%;
  }
  .audit-promo-cols {
    display: flex !important;
    flex-direction: column;
    gap: 16px !important;
  }
  .audit-promo-items {
    flex: 1 1 auto !important; /* was 220px — that's a height on mobile, not a width */
    gap: 8px !important;
  }
}