/* Talent Frontiers pricing page — scoped to the pricing content template. */
.tf-page-pricing .tf-main { overflow: clip; }
.tf-pricing-hero { position: relative; overflow: hidden; padding: clamp(76px, 10vw, 148px) 0 clamp(68px, 9vw, 126px); background: var(--tf-navy); color: #fff; }
.tf-pricing-hero::before { position: absolute; top: -35vw; right: -11vw; width: min(56vw, 760px); aspect-ratio: 1; border: 1px solid rgba(167,200,255,.24); border-radius: 50%; content: ''; }
.tf-pricing-hero::after { position: absolute; right: max(4vw, 35px); bottom: clamp(34px, 7vw, 94px); width: clamp(46px, 6vw, 76px); height: clamp(46px, 6vw, 76px); border: 4px solid var(--tf-blue); content: ''; transform: rotate(45deg); }
.tf-pricing-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(290px, .62fr); gap: clamp(44px, 9vw, 154px); align-items: end; }
.tf-pricing-hero .tf-eyebrow { color: #a7c8ff; }
.tf-pricing-hero h1 { max-width: 800px; margin-bottom: 27px; color: #fff; font-size: clamp(3.2rem, 6.7vw, 6.45rem); }
.tf-pricing-hero h1::after { display: block; width: 92px; height: 6px; margin-top: 27px; background: var(--tf-blue); content: ''; }
.tf-pricing-hero .tf-lead { max-width: 680px; margin-bottom: 0; color: #d4e0f4; }
.tf-pricing-notice { position: relative; padding: 31px 31px 29px; border: 1px solid rgba(255,255,255,.48); background: #fff; box-shadow: 16px 16px 0 rgba(7,88,216,.34); color: var(--tf-ink); }
.tf-pricing-notice::before { position: absolute; top: -1px; left: 28px; width: 78px; height: 4px; background: var(--tf-blue); content: ''; }
.tf-pricing-notice-label { display: block; margin-bottom: 13px; color: var(--tf-blue); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.tf-pricing-notice p { margin-bottom: 18px; color: var(--tf-muted); font-size: .97rem; line-height: 1.55; }
.tf-pricing-notice a { color: var(--tf-blue-deep); font-size: .89rem; font-weight: 770; text-decoration: none; }
.tf-pricing-notice a:hover { text-decoration: underline; }

.tf-pricing-plans { padding: clamp(68px, 9vw, 124px) 0; background: #fff; }
.tf-pricing-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-bottom: 21px; }
.tf-pricing-section-heading h2 { max-width: 680px; margin-bottom: 0; }
.tf-billing-control { display: inline-flex; flex: 0 0 auto; padding: 4px; border: 1px solid var(--tf-line); background: var(--tf-surface); }
.tf-billing-control button { min-height: 41px; padding: 8px 15px; border: 0; background: transparent; color: var(--tf-muted); font: 770 .81rem/1 var(--tf-sans); letter-spacing: .01em; cursor: pointer; }
.tf-billing-control button:hover { color: var(--tf-blue-deep); }
.tf-billing-control button.is-active, .tf-billing-control button[aria-pressed='true'] { background: var(--tf-blue); color: #fff; }
.tf-pricing-rate-note { margin: 0 0 35px; color: var(--tf-muted); font-size: .91rem; }
.tf-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.tf-plan-card { display: flex; flex-direction: column; min-height: 100%; padding: clamp(28px, 3vw, 39px); border: 1px solid var(--tf-line); background: #fff; }
.tf-plan-card h3 { margin: 28px 0 13px; font-size: clamp(1.55rem, 2.4vw, 2rem); }
.tf-plan-topline { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--tf-blue-deep); font-size: .75rem; font-weight: 800; letter-spacing: .12em; line-height: 1.25; text-transform: uppercase; }
.tf-plan-status { padding: 6px 8px; border: 1px solid rgba(7,88,216,.38); color: var(--tf-blue-deep); font-size: .62rem; letter-spacing: .08em; white-space: nowrap; }
.tf-plan-status-current { border-color: #b7c3d4; color: var(--tf-muted); }
.tf-plan-summary { min-height: 76px; margin-bottom: 24px; color: var(--tf-muted); }
.tf-plan-price { display: flex; align-items: baseline; gap: 8px; min-height: 64px; margin-bottom: 24px; padding: 18px 0 17px; border-top: 1px solid var(--tf-line); border-bottom: 1px solid var(--tf-line); color: var(--tf-muted); }
.tf-plan-price strong { color: var(--tf-navy); font-size: clamp(2.45rem, 4vw, 3.35rem); letter-spacing: -.065em; line-height: .9; }
.tf-plan-currency { color: var(--tf-muted); font-size: .69rem; font-weight: 800; letter-spacing: .08em; }
.tf-plan-period { font-size: .82rem; }
.tf-plan-list { display: grid; gap: 13px; margin: 0 0 31px; padding: 0; list-style: none; }
.tf-plan-list li { position: relative; padding-left: 22px; color: var(--tf-ink); font-size: .93rem; line-height: 1.42; }
.tf-plan-list li::before { position: absolute; top: .15em; left: 0; width: 10px; height: 10px; border: 2px solid var(--tf-blue); content: ''; transform: rotate(45deg); }
.tf-plan-action { margin-top: auto; }
.tf-plan-action .tf-button { width: 100%; gap: 12px; }
.tf-plan-pro { position: relative; border-color: var(--tf-blue); background: var(--tf-blue); box-shadow: 13px 13px 0 var(--tf-navy); color: #fff; }
.tf-plan-pro::before { position: absolute; top: 0; right: 0; width: 80px; height: 5px; background: #a7c8ff; content: ''; }
.tf-plan-pro h3, .tf-plan-pro .tf-plan-price strong { color: #fff; }
.tf-plan-pro .tf-plan-topline, .tf-plan-pro .tf-plan-currency, .tf-plan-pro .tf-plan-period, .tf-plan-pro .tf-plan-summary, .tf-plan-pro .tf-plan-list li { color: #e6efff; }
.tf-plan-pro .tf-plan-price { border-color: rgba(255,255,255,.34); }
.tf-plan-pro .tf-plan-status { border-color: rgba(255,255,255,.55); color: #fff; }
.tf-plan-pro .tf-plan-list li::before { border-color: #fff; }
.tf-plan-pro .tf-button { border-color: #fff; background: #fff; color: var(--tf-blue-deep) !important; }
.tf-plan-pro .tf-button:hover { border-color: var(--tf-navy); background: var(--tf-navy); color: #fff !important; }
.tf-plan-premium { background: #f7faff; }
.tf-plan-premium .tf-button-secondary { background: transparent; }

.tf-pricing-workspace { padding: clamp(68px, 9vw, 126px) 0; }
.tf-pricing-workspace-heading { align-items: end; margin-bottom: 47px; }
.tf-pricing-workspace-heading > p { max-width: 430px; margin: 0; color: var(--tf-muted); font-size: 1.02rem; }
.tf-pricing-comparison-wrap { overflow-x: auto; border: 1px solid var(--tf-line); background: #fff; }
.tf-pricing-comparison { width: 100%; min-width: 750px; border-collapse: collapse; text-align: left; }
.tf-pricing-comparison th, .tf-pricing-comparison td { padding: 20px 23px; border-right: 1px solid var(--tf-line); border-bottom: 1px solid var(--tf-line); vertical-align: top; }
.tf-pricing-comparison th:last-child, .tf-pricing-comparison td:last-child { border-right: 0; }
.tf-pricing-comparison tbody tr:last-child th, .tf-pricing-comparison tbody tr:last-child td { border-bottom: 0; }
.tf-pricing-comparison thead th { background: var(--tf-navy); color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tf-pricing-comparison tbody th { width: 25%; color: var(--tf-navy); font-size: .94rem; font-weight: 760; line-height: 1.3; }
.tf-pricing-comparison td { width: 37.5%; color: var(--tf-muted); font-size: .91rem; line-height: 1.5; }

.tf-pricing-faq { padding: clamp(68px, 9vw, 130px) 0; background: #fff; }
.tf-pricing-faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(430px, 1.1fr); gap: clamp(48px, 11vw, 180px); align-items: start; }
.tf-pricing-faq-intro { position: sticky; top: 28px; }
.tf-pricing-faq-intro h2 { margin-bottom: 21px; }
.tf-pricing-faq-intro > p { max-width: 420px; margin-bottom: 0; color: var(--tf-muted); font-size: 1.08rem; }
.tf-pricing-faq-list { border-top: 1px solid var(--tf-line); }
.tf-pricing-faq-list details { border-bottom: 1px solid var(--tf-line); }
.tf-pricing-faq-list summary { position: relative; padding: 24px 42px 24px 0; color: var(--tf-navy); font-size: 1.05rem; font-weight: 760; line-height: 1.35; cursor: pointer; list-style: none; }
.tf-pricing-faq-list summary::-webkit-details-marker { display: none; }
.tf-pricing-faq-list summary::after { position: absolute; top: 22px; right: 3px; color: var(--tf-blue); font-size: 1.45rem; font-weight: 400; line-height: 1; content: '+'; }
.tf-pricing-faq-list details[open] summary::after { content: '−'; }
.tf-pricing-faq-list details p { max-width: 660px; margin: -3px 0 24px; color: var(--tf-muted); font-size: .96rem; }

.tf-pricing-talent-band { padding: clamp(60px, 7vw, 94px) 0; background: linear-gradient(110deg, var(--tf-navy) 0%, var(--tf-navy) 72%, var(--tf-blue-deep) 100%); color: #fff; }
.tf-pricing-talent-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.tf-pricing-talent-band .tf-eyebrow { color: #a7c8ff; }
.tf-pricing-talent-band h2 { max-width: 660px; margin-bottom: 15px; color: #fff; }
.tf-pricing-talent-band p { max-width: 620px; margin-bottom: 0; color: #d4e0f4; font-size: 1.06rem; }
.tf-pricing-talent-action { flex: 0 0 auto; }
.tf-pricing-talent-action .tf-button-secondary { border-color: #fff; color: #fff !important; }
.tf-pricing-talent-action .tf-button-secondary:hover { background: #fff; border-color: #fff; color: var(--tf-navy) !important; }

@media (max-width: 900px) {
  .tf-pricing-hero-grid, .tf-pricing-faq-layout { grid-template-columns: 1fr; }
  .tf-pricing-hero-grid { gap: 42px; }
  .tf-pricing-hero-copy { max-width: 760px; }
  .tf-pricing-notice { max-width: 560px; }
  .tf-pricing-faq-intro { position: static; }
  .tf-plan-grid { grid-template-columns: 1fr; max-width: 620px; }
  .tf-plan-pro { box-shadow: 11px 11px 0 var(--tf-navy); }
  .tf-plan-summary { min-height: 0; }
}
@media (max-width: 650px) {
  .tf-pricing-hero::before { top: -110px; right: -120px; width: 350px; }
  .tf-pricing-hero::after { right: 29px; bottom: 26px; width: 40px; height: 40px; border-width: 3px; }
  .tf-pricing-hero h1::after { width: 67px; height: 5px; margin-top: 22px; }
  .tf-pricing-notice { padding: 27px 24px 25px; box-shadow: 10px 10px 0 rgba(7,88,216,.34); }
  .tf-pricing-section-heading { display: block; }
  .tf-pricing-section-heading h2 { margin-bottom: 24px; }
  .tf-billing-control { width: 100%; }
  .tf-billing-control button { flex: 1 1 50%; }
  .tf-pricing-rate-note { margin-bottom: 27px; }
  .tf-plan-card { padding: 27px 24px; }
  .tf-plan-topline { align-items: flex-start; }
  .tf-plan-status { white-space: normal; text-align: right; }
  .tf-pricing-workspace-heading { margin-bottom: 33px; }
  .tf-pricing-comparison th, .tf-pricing-comparison td { padding: 17px; }
  .tf-pricing-talent-grid { align-items: flex-start; flex-direction: column; gap: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  .tf-page-pricing .tf-main *, .tf-page-pricing .tf-main *::before, .tf-page-pricing .tf-main *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
