/* pricing-v2.css — scoped to .pricing-v2-page. Uses only --ivfc-* tokens.
   Light theme matching homepage/about/trace pages. Segoe UI throughout.
   Nav uses default .trace-nav styling (stone bg, navy text). */

.pricing-v2-page {
  background: var(--ivfc-stone);
  color: var(--ivfc-navy);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pricing-v2-page * {
  box-sizing: border-box;
  font-family: inherit;
}

/* ---------- cancelled-from-stripe banner ----------
   .trace-nav is position:fixed (not sticky) per master-brand.css, so it's
   removed from flow. Push the banner below the nav's ~56px footprint. */
.pricing-v2-page .pv2-cancelled {
  position: relative;
  max-width: 1200px;
  margin: 72px auto 0;
  padding: 14px 20px;
  background: var(--ivfc-white);
  border: 1px solid var(--ivfc-line);
  border-left: 3px solid var(--ivfc-green);
  border-radius: 4px;
  color: var(--ivfc-navy);
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 6px 20px -10px rgba(13, 35, 64, 0.18);
}

/* When the cancelled banner is present, ease the hero padding so the page
   doesn't get a double top-gap. */
.pricing-v2-page .pv2-cancelled + .pv2-hero {
  padding-top: 32px;
}

.pricing-v2-page .pv2-cancelled strong {
  font-weight: 700;
  color: var(--ivfc-navy);
}

/* ---------- hero strip ---------- */
.pricing-v2-page .pv2-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 56px;
}

.pricing-v2-page .pv2-overline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivfc-mid);
  margin: 0 0 20px;
}

.pricing-v2-page .pv2-hero h1 {
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  color: var(--ivfc-navy);
  max-width: 760px;
}

/* ---------- pricing grid ---------- */
.pricing-v2-page .pv2-grid-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.pricing-v2-page .pv2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 820px) {
  .pricing-v2-page .pv2-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.pricing-v2-page .pv2-card {
  background: var(--ivfc-white);
  border: 1px solid var(--ivfc-line);
  border-radius: 4px;
  padding: 56px 48px 44px 72px;
  position: relative;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.pricing-v2-page .pv2-card:hover {
  border-color: var(--ivfc-green);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -16px rgba(13, 35, 64, 0.18);
}

/* stage-spine motif on left edge */
.pricing-v2-page .pv2-spine {
  position: absolute;
  left: 28px;
  top: 56px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-v2-page .pv2-spine span {
  display: block;
  width: 2px;
  height: 20px;
  background: var(--ivfc-line);
}

.pricing-v2-page .pv2-spine span.active {
  background: var(--ivfc-green);
}

.pricing-v2-page .pv2-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivfc-green);
  margin: 0 0 16px;
}

.pricing-v2-page .pv2-name {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--ivfc-green);
}

/* TRACE / ACT product names — treat as brand marks everywhere they appear.
   Always green, Segoe UI, weighted to read as a product identity. */
.pricing-v2-page .pv2-brand {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ivfc-green);
  font-weight: 700;
  letter-spacing: 0.005em;
}

.pricing-v2-page .pv2-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 20px 0 12px;
  flex-wrap: wrap;
}

.pricing-v2-page .pv2-price {
  font-weight: 300;
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ivfc-navy);
}

.pricing-v2-page .pv2-price-meta {
  font-size: 13px;
  color: var(--ivfc-mid);
  font-weight: 400;
}

.pricing-v2-page .pv2-tagline {
  font-size: 14px;
  color: var(--ivfc-mid);
  margin: 0 0 24px;
  line-height: 1.5;
}

.pricing-v2-page .pv2-desc {
  font-size: 14px;
  color: var(--ivfc-mid);
  margin: 0 0 36px;
  line-height: 1.65;
  max-width: 380px;
}

/* primary CTA — Subscribe (TRACE is a paid product) */
.pricing-v2-page .pv2-cta-primary {
  display: block;
  width: 100%;
  background: var(--ivfc-green);
  color: var(--ivfc-white);
  border: none;
  border-radius: 4px;
  padding: 18px 28px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease;
  text-align: center;
}

.pricing-v2-page .pv2-cta-primary:hover {
  background: color-mix(in srgb, var(--ivfc-green) 90%, var(--ivfc-midnight));
  transform: translateY(-1px);
}

.pricing-v2-page .pv2-cta-primary:active {
  transform: translateY(0);
}

/* secondary CTA — Preview (text link) */
.pricing-v2-page .pv2-cta-secondary {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ivfc-navy);
  text-decoration: none;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  padding: 16px 0 0;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}

.pricing-v2-page .pv2-cta-secondary span {
  border-bottom: 1px solid var(--ivfc-line);
  padding-bottom: 2px;
  transition: border-color 200ms ease, color 200ms ease;
}

.pricing-v2-page .pv2-cta-secondary:hover span {
  border-bottom-color: var(--ivfc-green);
  color: var(--ivfc-green);
}

.pricing-v2-page .pv2-trust {
  text-align: center;
  font-size: 11px;
  color: var(--ivfc-mid);
  margin: 24px 0 0;
  letter-spacing: 0.02em;
}

/* ---------- bundle band ---------- */
.pricing-v2-page .pv2-bundle {
  max-width: 1200px;
  margin: 56px auto 0;
  padding: 32px 44px;
  background: var(--ivfc-white);
  border: 1px solid var(--ivfc-line);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

@media (max-width: 820px) {
  .pricing-v2-page .pv2-bundle {
    grid-template-columns: 1fr;
    margin-left: 32px;
    margin-right: 32px;
  }
}

.pricing-v2-page .pv2-bundle-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ivfc-navy);
  margin: 0 0 6px;
}

.pricing-v2-page .pv2-bundle-body {
  font-size: 14px;
  color: var(--ivfc-mid);
  margin: 0;
  line-height: 1.5;
}

.pricing-v2-page .pv2-bundle-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.pricing-v2-page .pv2-bundle-primary {
  background: var(--ivfc-green);
  color: var(--ivfc-white);
  border: none;
  border-radius: 4px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: background 140ms ease;
}

.pricing-v2-page .pv2-bundle-primary:hover {
  background: color-mix(in srgb, var(--ivfc-green) 90%, var(--ivfc-midnight));
}

.pricing-v2-page .pv2-bundle-secondary {
  font-size: 13px;
  font-weight: 600;
  color: var(--ivfc-navy);
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.02em;
}

.pricing-v2-page .pv2-bundle-secondary span {
  border-bottom: 1px solid var(--ivfc-line);
  padding-bottom: 2px;
  transition: border-color 200ms ease, color 200ms ease;
}

.pricing-v2-page .pv2-bundle-secondary:hover span {
  border-bottom-color: var(--ivfc-green);
  color: var(--ivfc-green);
}

/* ---------- comparison table ---------- */
.pricing-v2-page .pv2-compare-wrap {
  max-width: 1000px;
  margin: 96px auto 0;
  padding: 0 32px;
}

.pricing-v2-page .pv2-compare-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivfc-mid);
  margin: 0 0 24px;
}

.pricing-v2-page .pv2-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--ivfc-white);
  border: 1px solid var(--ivfc-line);
  border-radius: 4px;
  overflow: hidden;
}

.pricing-v2-page .pv2-compare th,
.pricing-v2-page .pv2-compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--ivfc-line);
  color: var(--ivfc-navy);
}

.pricing-v2-page .pv2-compare tbody tr:last-child td {
  border-bottom: none;
}

.pricing-v2-page .pv2-compare th {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivfc-mid);
  background: var(--ivfc-snow);
  padding-top: 14px;
  padding-bottom: 14px;
}

.pricing-v2-page .pv2-compare th:nth-child(n+2),
.pricing-v2-page .pv2-compare td:nth-child(n+2) {
  text-align: center;
  width: 110px;
}

.pricing-v2-page .pv2-compare td.has {
  color: var(--ivfc-green);
  font-weight: 700;
}

.pricing-v2-page .pv2-compare td.lacks {
  color: var(--ivfc-line);
}

.pricing-v2-page .pv2-compare-price-row td {
  font-weight: 700;
  color: var(--ivfc-navy);
  padding-top: 18px;
  padding-bottom: 18px;
  background: var(--ivfc-snow);
  font-size: 15px;
  border-top: 1px solid var(--ivfc-line);
}

/* ---------- footer links ---------- */
.pricing-v2-page .pv2-footer {
  max-width: 1000px;
  margin: 96px auto 0;
  padding: 40px 32px 96px;
  border-top: 1px solid var(--ivfc-line);
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  font-size: 14px;
}

.pricing-v2-page .pv2-footer a {
  color: var(--ivfc-navy);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--ivfc-line);
  padding-bottom: 2px;
  transition: border-color 200ms ease, color 200ms ease;
}

.pricing-v2-page .pv2-footer a:hover {
  border-bottom-color: var(--ivfc-green);
}
