/* ============================================================================
   Token of Trust — pricing page-local styles
   ----------------------------------------------------------------------------
   ONLY pricing-unique components: the plan grid, tabbed panels, the tax card,
   the how-it-works steps, the enterprise band and the pricing FAQ. Everything
   generic comes from the theme. Consumes the shared token layer — do not
   re-declare :root. Primary CTAs route through --color-cta.
   Layer ownership: docs/css-architecture-and-budgets.md.
   ========================================================================== */

/* Hero: `hero hero-md` in the markup supplies the scale — pricing keeps the
   larger step because its category tabs make this an active selection area,
   not just an introduction. This page does not load pages/mkt.css, so the
   centring composition stays here; alignment only. */
.hero { text-align: center; }
.hero h1 { margin-inline: auto; }
.hero h1 .acc {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede { margin-inline: auto; }

/* Buttons: .btn-p/.btn-s/.btn-tax (Task 10) are now .mkt-btn-primary/
   .mkt-btn-tertiary/.mkt-btn-accent from the shared button component — all
   three were verified byte-identical to the shared defaults, so no scoped
   override is needed here. The former .btn-ent inside the band keeps its own
   shadow-less exception below, now scoped to .mkt-enterprise-band (Task 11). */

/* Category tabs ---------------------------------------------------- */
.tabs {
  display: inline-flex; padding: 6px; margin-top: 40px; gap: 4px;
  flex-wrap: wrap; justify-content: center; background: #fff;
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 6px 18px rgba(16, 41, 75, .06);
}
.tab {
  border: 0; background: transparent; font-weight: 700; font-size: .9rem;
  padding: 11px 22px; min-height: var(--tap); cursor: pointer; font-family: inherit;
  color: var(--muted); border-radius: 999px;
  transition: background .15s, color .15s, box-shadow .15s;
}
.tab[aria-selected="true"] { background: var(--navy); color: #fff; }

/* Plan grid -------------------------------------------------------- */
.plans-section { padding-top: 40px; }
.panel[hidden] { display: none; }
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: start;
}
.plans.two { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.plan {
  padding: 36px; position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.plan.popular {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow);
}
.pop-badge {
  position: absolute; top: -14px; left: 24px; font-size: .7rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px;
  background: var(--coral); color: #fff; border-radius: 999px;
}
.plan h3 { font-size: 1.22rem; letter-spacing: -.01em; color: var(--navy); }
.plan .for {
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; margin: 6px 0 14px; color: var(--teal-ink);
}
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 2.5rem; letter-spacing: -.03em; font-weight: 800; color: var(--navy); }
.price span { font-weight: 600; }
.per { font-size: .86rem; margin-top: 4px; color: var(--muted); }
.plan hr { border: 0; margin: 24px 0; border-top: 1px solid var(--line); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.plan li::before { content: "\2713"; font-weight: 800; flex-shrink: 0; color: var(--green); }
.plan .mkt-btn { width: 100%; text-align: center; }
.minitags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.minitags span {
  font-size: .72rem; font-weight: 700; padding: 4px 11px;
  background: #eaf5f2; color: var(--navy); border-radius: 999px;
}

/* Tax card --------------------------------------------------------- */
.tax-card {
  overflow: hidden; max-width: 920px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
}
.tax-card .bar { height: 6px; background: var(--grad); }
.tax-grid { display: grid; grid-template-columns: 1.4fr 1fr; }
.tax-left { padding: 40px; }
.tax-left .for {
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 10px; color: var(--coral);
}
.tax-left h3 { font-size: 1.65rem; letter-spacing: -.02em; margin-bottom: 10px; color: var(--navy); }
.tax-left > p { margin-bottom: 24px; color: var(--muted); }
.tax-left ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.tax-left li { display: flex; gap: 10px; }
.tax-left li::before { content: "\2713"; font-weight: 800; flex-shrink: 0; margin-top: 2px; color: var(--green); }
.tax-left li b { display: block; }
.tax-left li span { font-size: .87rem; color: var(--muted); }
.tax-right {
  padding: 40px; display: flex; flex-direction: column; justify-content: center;
  text-align: center; background: var(--navy); color: #dbe6f5;
}
.tax-right small {
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: #8fa5c4;
}
.tax-right .price { justify-content: center; margin: 8px 0 4px; }
.tax-right .price b { color: #fff; }
.tax-right .price span { color: #8fa5c4; }
.tax-right .per, .tax-right .alt { color: #8fa5c4; }
.tax-right .mkt-btn { margin-top: 24px; }
.tax-right .alt { font-size: .85rem; margin-top: 12px; }
.tax-right .alt a { color: #7fe3b8; font-weight: 700; }

/* How it works — steps --------------------------------------------- */
.alt-bg { background: #fff; border-block: 1px solid var(--line); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 40px; text-align: center;
}
.step { padding: 28px 22px; background: var(--cream); border: 1px solid var(--line); border-radius: 18px; }
.step .num {
  font-size: .74rem; font-weight: 800; letter-spacing: .14em;
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: #eaf5f2; color: var(--teal-ink);
}
.step h3 { font-size: 1.02rem; margin: 8px 0 6px; color: var(--navy); }
.step p { font-size: .87rem; color: var(--muted); }

/* Enterprise band -------------------------------------------------- */
/* The band itself is now the shared `.mkt-enterprise-band` component (Task 11)
   — see components/enterprise-band.css. Its four rules were identical on all
   three consumers, so nothing page-specific was lost. The two rules below are
   this page's genuine differences and stay page-owned, matching the precedent
   Task 10 set for `.plan .mkt-btn` and `.tax-right .mkt-btn`. */

/* Unlike /company/ and /solutions/, this band holds ONE bare CTA rather than
   two inside a `.cta-row.cta-center` wrapper, so the 24px the wrapper would
   have supplied has to sit on the button itself. Putting it in the shared
   component would double the gap on the other two consumers. */
.mkt-enterprise-band .mkt-btn { margin-top: 24px; }
/* Verified (Task 10): this page's .btn-ent, unlike company's/solutions's, was
   never given the primary shadow — .btn-tax/.btn-ent shared one coral
   declaration here with no box-shadow, and this compound rule only ever
   overrode background back to green, never adding one. The shared
   .mkt-btn-primary DOES carry a shadow by default, so it must be explicitly
   suppressed here to keep this button flat, exactly as before. */
.mkt-enterprise-band .mkt-btn-primary { box-shadow: none; }

/* Pricing FAQ ------------------------------------------------------ */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq details {
  margin-bottom: 12px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
}
.faq summary {
  padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 12px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.3rem; font-weight: 600;
  color: var(--teal-ink); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* Nav active state + footer note (pricing-specific) ---------------- */
nav.primary a.active {
  color: var(--teal-ink); background: #eaf5f2; padding: 6px 16px;
  border-radius: 999px; font-weight: 700;
}
.foot-note { font-size: .88rem; margin-top: 12px; max-width: 34ch; color: var(--muted); }

/* Responsive ------------------------------------------------------ */
@media (max-width: 920px) {
  .plans, .plans.two { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .tax-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}
