/* Standalone feature pages: /platform/matchpro/ and /platform/mentorai/ (page-matchpro.php, page-mentorai.php). */

.fp-actions { display: flex; gap: 14px; flex-wrap: wrap; }
/* manrope-system.css gives every quote a light surface, so the hero quote needs dark text even inside .dark */
.fp-quote blockquote { font-size: 1.3rem; color: var(--ink); }
.fp-quote .who { color: var(--ink-2); }
.fp-quote .who b { color: var(--ink); }
.fp-p { color: var(--ink-2); }
.fp-prose { max-width: 760px; margin-top: 36px; }
.fp-prose p { color: var(--ink-2); }
.fp-strong { font-weight: 700; color: var(--teal-900) !important; }

/* Hero picture (MentorAI) */
.fp-hero-img img { width: 100%; max-width: 460px; margin: 0 auto; height: auto; }

/* Stats under the split */
.fp-stats { margin-top: 44px; }
.fp-stats.five { grid-template-columns: repeat(5, 1fr); }
.fp-chart img, .fp-demo img { width: 100%; }

/* Comparison table: MatchPRO column highlighted */
.fp-table-wrap { overflow-x: auto; }
.fp-compare th.col-mp { background: var(--teal-800); color: #fff; }
.fp-compare td.col-mp { background: rgba(42,143,134,.07); color: var(--teal-900); font-weight: 600; }
/* style.css keeps the first column on one line (.table td:first-child), which starved the manual column; fix the split instead */
.fp-compare { table-layout: fixed; min-width: 560px; }
.fp-compare th:first-child { width: 28%; }
.fp-compare th:not(:first-child) { width: 36%; }
.fp-compare td, .fp-compare td:first-child { white-space: normal; }

/* Four steps */
.fp-steps { grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; counter-reset: none; }
.fp-steps .how-card { position: relative; }
.fp-step-n { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 700; margin-bottom: 14px; }

/* FAQ */
.fp-faq { display: grid; gap: 12px; }
.fp-faq details { background: var(--card, #fff); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 22px; }
.fp-faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font-weight: 700; color: var(--teal-900); }
.fp-faq summary::-webkit-details-marker { display: none; }
.fp-faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--teal-600); }
.fp-faq details[open] summary::after { content: "\2212"; }
.fp-faq details p { color: var(--ink-2); padding-bottom: 6px; }

/* MentorAI: feature cards beside the demo */
.fp-do { align-items: center; }
.fp-cards { display: grid; gap: 16px; }
.fp-tab { display: block; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; border-left: 4px solid transparent; transition: border-color .15s ease, box-shadow .15s ease; }
.fp-tab:hover { box-shadow: var(--shadow); }
.fp-tab.is-active { border-left-color: var(--coral); box-shadow: var(--shadow); }
.fp-tab:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 2px; }
.fp-demo img { transition: opacity .2s ease; }
.fp-demo img.is-loading { opacity: .35; }
.fp-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fp-quotes .quote h3 { font-size: 1.15rem; margin-bottom: 12px; }
.fp-quotes .quote blockquote { font-size: 1.02rem; }

/* MatchPRO: the matching animation (same clip as the Platform page) */
.fp-video { max-width: 960px; margin: 8px auto 0; }
.fp-video video { display: block; width: 100%; height: auto; }

@media (max-width: 1100px) {
  .fp-stats.five { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .fp-steps, .fp-quotes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .fp-steps, .fp-quotes, .fp-stats.five { grid-template-columns: 1fr; }
}

/* Careers page (page-careers.php): open positions as a list; each opens to its description and application */
.careers-hero { max-width: 820px; }
.jobs { display: grid; gap: 16px; }
.job { background: var(--card, #fff); border: 1px solid var(--line); border-radius: var(--r-lg); }
.job summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; }
.job summary::-webkit-details-marker { display: none; }
.job summary:hover { box-shadow: var(--shadow); border-radius: var(--r-lg); }
.job summary:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 2px; border-radius: var(--r-lg); }
.job .label { display: block; margin-bottom: 6px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--teal-600); }
.job h3 { font-size: 1.5rem; margin: 0 0 4px; color: var(--teal-900); }
.job-meta { font-weight: 600; color: var(--ink-2); }
.job-toggle { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.job-toggle::before, .job-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--teal-800); transform: translate(-50%, -50%); }
.job-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .15s ease; }
.job[open] .job-toggle::after { transform: translate(-50%, -50%) rotate(0); }
.job-body { padding: 0 30px 30px; border-top: 1px solid var(--line); padding-top: 22px; }
.job-body > p { color: var(--ink-2); }
.job h4 { font-size: 1.05rem; color: var(--teal-900); margin: 22px 0 12px; }
.job-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.job-lists .checks { margin-bottom: 0; }
.job .job-plus { margin: 20px 0 0; font-style: italic; }
.job-apply { margin-top: 28px; padding: 24px; background: var(--surface, #f5f5f5); border-radius: var(--r-md); }
.job-apply h4 { margin-top: 0; font-size: 1.3rem; }
.job-apply p { color: var(--ink-2); }
.careers-eeo { margin-top: 28px; font-size: .9rem; color: var(--ink-3); }
@media (max-width: 900px) { .job-lists { grid-template-columns: 1fr; gap: 0; } .job summary { padding: 20px; } .job-body { padding: 18px 20px 22px; } }
/* Gravity Forms job application inside .job-apply: site colours and buttons */
.job-apply .gform_wrapper { --gf-color-primary: var(--teal-800); --gf-ctrl-border-color: var(--line); --gf-ctrl-label-color-primary: var(--teal-900); margin-top: 8px; }
.job-apply .gform_wrapper .gform_button { background: var(--coral-button); color: #fff; border: 0; border-radius: var(--r-sm); padding: 12px 24px; min-height: 48px; font-weight: 700; font-size: var(--type-body); cursor: pointer; }
.job-apply .gform_wrapper .gform_button:hover { filter: brightness(.96); }
.job-apply .gform_wrapper input.medium, .job-apply .gform_wrapper input.small { width: 100%; max-width: 520px; }
