/* ==========================================================================
   PRICING PAGE — redesign layer (2026-07-24)
   Loaded last, on /pricing only. Everything here is scoped to a pricing
   component, so nothing leaks into other templates.

   Brand rules honoured: dark = #000000 only, no box-shadows, no gradients on
   dark, no grey section dividers, lime (#d1fe17) used sparingly.
   ========================================================================== */

/* --------------------------------------------------------------------------
   2. PLAN CARDS — shorter cards, smaller supporting type
   !important throughout: creatorflow-modern.css and pricing-fixes.css already
   set these same properties with !important, so plain declarations lose here
   regardless of source order or specificity.
   -------------------------------------------------------------------------- */
.pricing-card {
  padding: 1.125rem 1.125rem 1.25rem !important;
}

.pricing-card.featured-card {
  padding: 1.125rem 1.25rem 1.25rem !important;
}

.pricing-card .pricing-plan-name {
  font-size: 1.25rem !important;
  margin-bottom: 0.25rem !important;
}

.pricing-card .pricing-plan-who-its-for,
.pricing-card .pricing-plan-tagline {
  font-size: 0.8125rem !important;
  line-height: 1.4 !important;
}

.pricing-card .price-display {
  margin-bottom: 0.125rem !important;
}

.pricing-card .price-currency {
  font-size: 1.125rem !important;
}

.pricing-card .price-amount {
  font-size: 2.5rem !important;
}

.pricing-card .period-text {
  font-size: 1rem !important;
}

.pricing-card .price-period {
  font-size: 0.75rem !important;
  margin-top: 0.125rem !important;
}

.pricing-card .price-savings {
  margin-top: 0.25rem !important;
}

.pricing-card .pricing-cta {
  padding: 0.75rem 1.25rem !important;
  font-size: 0.9375rem !important;
}

.pricing-card .pricing-note {
  font-size: 0.75rem !important;
  margin-top: 0.5rem !important;
}

.pricing-card .pricing-features-section .features-heading {
  font-size: 0.6875rem !important;
  letter-spacing: 0.08em !important;
}

.pricing-card .pricing-features-list {
  gap: 0.3125rem !important;
}

.pricing-card .feature-item {
  font-size: 0.8125rem !important;
  line-height: 1.4 !important;
  gap: 0.4375rem !important;
}

.pricing-card .feature-item svg.check-icon {
  width: 15px !important;
  height: 15px !important;
  margin-top: 0.1875rem !important;
}

/* The light cards used #10b981, a green that is not in the palette. */
.pricing-card:not(.featured-card) .feature-item svg.check-icon {
  color: #000000 !important;
}

.pricing-card.featured-card .feature-item svg.check-icon {
  color: #d1fe17 !important;
}

/* "BEST VALUE" hung off the card edge while "MOST POPULAR" sat inside it. */
.pricing-card.best-value-card .pricing-badge-best-value {
  top: 1.5rem !important;
  right: 1.5rem !important;
}

/* Gap between the billing toggle and the cards ran to ~90px. */
.billing-toggle-wrapper {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem) !important;
}

@media (max-width: 767px) {
  .pricing-card,
  .pricing-card.featured-card {
    padding: 1.125rem !important;
  }
  .pricing-card .price-amount {
    font-size: 2.25rem !important;
  }
  .pricing-card .pricing-plan-who-its-for,
  .pricing-card .pricing-plan-tagline {
    font-size: 0.8125rem !important;
  }
  .pricing-card .feature-item {
    font-size: 0.8125rem !important;
  }
}

/* --------------------------------------------------------------------------
   3. COMPARE PLANS TABLE (.cf-plan-*)
   Purpose-built. The old markup reused .comparison-table.competitor-table,
   whose /vs/-page rules painted the third column lime, left the "Pro" header
   white-on-white, and relied on the Iconify runtime (not loaded here) for the
   tick marks — so every boolean row rendered empty.
   -------------------------------------------------------------------------- */
.cf-plan-compare {
  background: #ffffff;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.cf-plan-compare__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
}

/* !important: homepage-clean.css ships a bare `h2 { font-size: 2.25rem
   !important; margin-bottom: 3rem !important }` that hits every section title. */
.cf-plan-compare__title {
  font-family: "Clash Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.1 !important;
  color: #000000 !important;
  margin: 0 0 0.5rem !important;
}

.cf-plan-compare__subtitle {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #6b7280;
  margin: 0;
}

.cf-plan-compare__scroll {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cf-plan-table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Clash Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  table-layout: fixed;
}

.cf-plan-table__caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- head --- */
.cf-plan-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #ffffff;
  padding: 0 0.75rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.cf-plan-table__corner {
  width: 42%;
  text-align: left !important;
}

.cf-plan-table__head.is-featured {
  color: #000000;
  background: #f6ffd6;
  border-bottom: 2px solid #d1fe17;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding-top: 0.625rem;
}

/* --- body --- */
.cf-plan-table__feature {
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  padding: 0.8125rem 0.75rem;
  border-bottom: 1px solid #f3f4f6;
}

.cf-plan-table__cell {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  padding: 0.8125rem 0.75rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}

.cf-plan-table__cell.is-featured {
  background: #fbffee;
  color: #000000;
  font-weight: 600;
}

.cf-plan-table tbody tr:last-child .cf-plan-table__feature,
.cf-plan-table tbody tr:last-child .cf-plan-table__cell {
  border-bottom: 0;
}

.cf-plan-table tbody tr:last-child .cf-plan-table__cell.is-featured {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.cf-plan-table tbody tr:hover .cf-plan-table__feature,
.cf-plan-table tbody tr:hover .cf-plan-table__cell {
  background: #fafafa;
}

.cf-plan-table tbody tr:hover .cf-plan-table__cell.is-featured {
  background: #f6ffd6;
}

.cf-plan-table__check {
  display: inline-block;
  color: #000000;
  vertical-align: middle;
}

.cf-plan-table__cell.is-featured .cf-plan-table__check {
  color: #000000;
}

.cf-plan-table__dash {
  display: inline-block;
  color: #d1d5db;
  font-size: 1rem;
  line-height: 1;
}

.cf-plan-table__value {
  display: inline-block;
  line-height: 1.35;
}

/* Mobile: fit all four columns rather than hiding Pro and Growth behind a
   horizontal scroll nobody discovers. */
@media (max-width: 767px) {
  .cf-plan-compare__scroll {
    padding: 0 0.875rem;
    overflow-x: visible;
  }
  .cf-plan-table {
    min-width: 0;
    max-width: 100%;
  }
  .cf-plan-table__corner {
    width: 40%;
  }
  .cf-plan-table__value {
    font-size: 0.6875rem;
    /* `anywhere` split inside words that would have fit on their own line:
       "5,000 per workspace" rendered as "5,000 per workspac" / "e". Break only
       when a single word genuinely cannot fit the column. */
    overflow-wrap: break-word;
  }
  .cf-plan-table thead th {
    font-size: 0.625rem;
    letter-spacing: 0.06em;
    padding: 0 0.25rem 0.625rem;
  }
  .cf-plan-table__head.is-featured {
    padding-top: 0.5rem;
  }
  .cf-plan-table__feature,
  .cf-plan-table__cell {
    font-size: 0.75rem;
    line-height: 1.35;
    padding: 0.625rem 0.25rem;
  }
  .cf-plan-table__check {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 380px) {
  .cf-plan-table__feature,
  .cf-plan-table__cell {
    font-size: 0.6875rem;
    padding: 0.5625rem 0.1875rem;
  }
}

/* --------------------------------------------------------------------------
   4. SOCIAL PROOF (.cf-social-proof) — same component and reviews as the
   homepage. Self-contained: no dependency on the homepage stylesheets and no
   body.cf-home-page gate. Card shadows dropped (project rule: borders only).
   -------------------------------------------------------------------------- */
.cf-social-proof {
  background: #ffffff;
  padding: clamp(2.25rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2.5rem);
}

.cf-social-proof__container {
  max-width: 1180px;
  margin: 0 auto;
}

.cf-social-proof__header {
  text-align: center;
  margin: 0 auto 2.25rem;
  max-width: 680px;
}

.cf-social-proof__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.875rem;
}

.cf-social-proof__badge-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #d1fe17;
  color: #000000;
  font-size: 11px;
  font-weight: 800;
}

.cf-social-proof__title {
  font-family: "Clash Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.08 !important;
  color: #000000 !important;
  margin: 0 0 0.75rem !important;
}

.cf-social-proof__card-title,
.cf-plan-compare h3 {
  text-align: left;
}

.cf-social-proof .cf-mark {
  background: #d1fe17;
  color: #000000;
  padding: 0.02em 0.18em;
  border-radius: 0.16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.cf-social-proof__subtitle {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #6b7280;
  margin: 0 auto;
  max-width: 620px;
}

.cf-social-proof__aggregate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.125rem;
}

.cf-social-proof__aggregate-stars,
.cf-social-proof__stars {
  display: inline-flex;
  gap: 3px;
}

.cf-social-proof .cf-social-proof__tp-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 2px;
  background: #00b67a;
}

.cf-social-proof .cf-social-proof__tp-star svg {
  display: block;
  width: 13px;
  height: 13px;
  fill: #ffffff;
}

.cf-social-proof__aggregate-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #000000;
}

.cf-social-proof__aggregate-text strong {
  font-weight: 800;
}

.cf-social-proof__aggregate-count {
  color: #6b7280;
}

.cf-social-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.cf-social-proof__card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #fbfaf7;
  border: 1px solid #ecebe3;
  border-radius: 16px;
  padding: 1.125rem 1.125rem 1rem;
  transition: border-color 0.2s ease;
}

.cf-social-proof__card:hover {
  border-color: #d1d5db;
}

.cf-social-proof__card-title {
  font-family: "Clash Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  color: #000000;
  margin: 0;
}

.cf-social-proof__card-quote {
  font-size: 0.84375rem;
  line-height: 1.55;
  color: #4b5563;
  margin: 0;
}

.cf-social-proof__card-author {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: auto;
  padding-top: 0.625rem;
}

.cf-social-proof__card-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #eafab4;
  color: #2a3c00;
  font-size: 0.8125rem;
  font-weight: 700;
}

.cf-social-proof__card-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.cf-social-proof__card-name {
  font-size: 0.84375rem;
  font-weight: 600;
  color: #000000;
}

.cf-social-proof__card-country {
  font-size: 0.71875rem;
  color: #6b7280;
  letter-spacing: 0.04em;
}

@media (max-width: 980px) {
  .cf-social-proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cf-social-proof__grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .cf-social-proof__header {
    margin-bottom: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   5. FAQ — narrower column, tighter rows, quieter open/close affordance
   -------------------------------------------------------------------------- */
#faq {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

#faq .section-title-center {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem) !important;
  letter-spacing: -0.025em !important;
  line-height: 1.1 !important;
  margin-bottom: 0.5rem !important;
}

#faq .section-subtitle-center {
  font-size: 0.9375rem !important;
  color: #6b7280 !important;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem) !important;
}

#faq .faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#faq .faq-item {
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
}

#faq .faq-item:hover {
  border-color: #d1d5db !important;
}

#faq .faq-item[open] {
  border-color: #000000 !important;
  background: #fafafa !important;
}

#faq .faq-question {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: 0.9375rem 1.25rem !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #000000 !important;
  cursor: pointer !important;
  list-style: none !important;
}

#faq .faq-question::-webkit-details-marker {
  display: none;
}

#faq .faq-icon {
  flex: 0 0 auto !important;
  width: 20px !important;
  height: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.125rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: #9ca3af !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

#faq .faq-item[open] .faq-icon {
  transform: rotate(45deg) !important;
  color: #000000 !important;
}

#faq .faq-answer {
  padding: 0 1.25rem 1.0625rem !important;
}

#faq .faq-answer p {
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
  color: #4b5563 !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  #faq .faq-question {
    padding: 0.875rem 1rem !important;
    font-size: 0.875rem !important;
  }
  #faq .faq-answer {
    padding: 0 1rem 0.9375rem !important;
  }
  #faq .faq-answer p {
    font-size: 0.8125rem !important;
  }
}

/* --------------------------------------------------------------------------
   6. SECTION RHYTHM — the page ran long; tighten the gaps between blocks.
   -------------------------------------------------------------------------- */
.pricing-card-section {
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* The hero reserved 11-14rem of top padding for a fixed header that is ~80px
   tall, leaving a dead band above the H1. */
body .hero-section {
  padding-top: clamp(7.5rem, 10vw, 9.5rem) !important;
  padding-bottom: clamp(2rem, 4vw, 3rem) !important;
}
