/* FORMWEFT R178 product suite: a light, content-first layer scoped to opted-in pages. */
html:has(body.pf-product-suite) { background: #f3f8f7; color-scheme: light; }
body.pf-product-suite {
  --pf-bg: #f3f8f7;
  --pf-surface: #ffffff;
  --pf-surface-soft: #e9f3f2;
  --pf-text: #132a32;
  --pf-muted: #557078;
  --pf-line: #c9dedd;
  --pf-accent: #087b82;
  --pf-accent-bright: #63d0ca;
  --gk-bg: #f3f8f7;
  --gk-surface: #ffffff;
  --gk-surface-strong: #e8f2f1;
  --gk-text: #132a32;
  --gk-muted: #557078;
  --gk-line: #c9dedd;
  --gk-accent: #087b82;
  --pf-header-height: 72px;
  color-scheme: light;
  color: var(--pf-text);
  background: var(--pf-bg);
}

body.pf-product-suite::before { opacity: .035; mix-blend-mode: multiply; }
body.pf-product-suite .pf-header { background: rgb(243 248 247 / .94); border-bottom: 1px solid var(--pf-line); color: var(--pf-text); box-shadow: 0 8px 28px rgb(19 42 50 / .06); }
body.pf-product-suite .pf-header.is-scrolled { background: rgb(243 248 247 / .98); }
body.pf-product-suite .pf-brand { color: var(--pf-text); }
body.pf-product-suite .pf-nav a,
body.pf-product-suite .pf-account a { color: var(--pf-text); }
body.pf-product-suite .pf-nav a:hover,
body.pf-product-suite .pf-nav a[aria-current="page"],
body.pf-product-suite .pf-account a:hover { color: var(--pf-accent); }
body.pf-product-suite .pf-account > .pf-header-cta { color: #fff; background: var(--pf-accent); border-color: var(--pf-accent); }
body.pf-product-suite .pf-menu-toggle span { background: var(--pf-text); }

.pf-product-suite main { overflow: clip; }
.pf-product-shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.pf-product-hero { padding: clamp(108px, 12vw, 164px) 0 clamp(64px, 8vw, 112px); background: radial-gradient(circle at 78% 16%, rgb(99 208 202 / .22), transparent 30%), var(--pf-bg); }
body.pf-product-suite.pf-page-home main > #hero { display: block; min-height: 0; grid-template-rows: none; }
.pf-product-hero.is-compact { padding-block: clamp(96px, 10vw, 136px) clamp(52px, 6vw, 84px); }
.pf-product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(280px, .96fr); gap: clamp(34px, 7vw, 104px); align-items: center; }
.pf-product-hero-copy { max-width: 680px; }
.pf-product-eyebrow,
.pf-product-card-code { margin: 0 0 14px; color: var(--pf-accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.pf-product-hero h1 { max-width: 13ch; margin: 0; color: var(--pf-text); font-size: clamp(42px, 5.4vw, 76px); font-weight: 680; letter-spacing: -.045em; line-height: 1.08; text-wrap: balance; white-space: pre-line; }
.pf-product-lead { max-width: 58ch; margin: 26px 0 0; color: var(--pf-muted); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.72; white-space: pre-line; }
.pf-product-benefits { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; color: var(--pf-text); list-style: none; }
.pf-product-benefits li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; }
.pf-product-benefits li::before { width: 7px; height: 7px; border-radius: 50%; background: var(--pf-accent-bright); content: ""; }
.pf-product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pf-product-button,
.pf-product-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 10px; border-radius: 5px; font-weight: 750; text-decoration: none; transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease; }
.pf-product-button { padding: 11px 18px; color: #fff; background: var(--pf-accent); border: 1px solid var(--pf-accent); }
.pf-product-button:hover { background: #075e64; border-color: #075e64; transform: translateY(-2px); }
.pf-product-button.is-secondary { color: var(--pf-text); background: transparent; border-color: var(--pf-line); }
.pf-product-button.is-secondary:hover { color: var(--pf-accent); border-color: var(--pf-accent); background: var(--pf-surface); }
.pf-product-button.is-small { min-height: 40px; padding: 8px 12px; font-size: 13px; }
.pf-product-link { color: var(--pf-accent); text-decoration: underline; text-decoration-color: rgb(8 123 130 / .34); text-underline-offset: 4px; }
.pf-product-link:hover { color: #075e64; text-decoration-color: currentColor; }
.pf-product-link span { font-size: 15px; text-decoration: none; }
.pf-product-hero-media { min-width: 0; }
.pf-product-character { position: relative; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; isolation: isolate; border: 1px solid var(--pf-line); border-radius: 22px; background: linear-gradient(145deg, #dcefed, #f9fcfb); box-shadow: 20px 22px 0 rgb(99 208 202 / .12); }
.pf-product-character::before { position: absolute; inset: 12% 10% auto auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(99 208 202 / .35), transparent 68%); content: ""; }
.pf-product-character-image,
.pf-product-character-video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pf-product-character figcaption { position: absolute; z-index: 2; right: 18px; bottom: 14px; left: 18px; display: flex; justify-content: space-between; gap: 12px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-shadow: 0 1px 12px rgb(0 0 0 / .42); text-transform: uppercase; }
.pf-product-character figcaption::before { position: absolute; z-index: -1; right: -18px; bottom: -14px; left: -18px; height: 82px; background: linear-gradient(0deg, rgb(8 29 34 / .76), transparent); content: ""; }
.pf-product-character figcaption span { color: rgb(255 255 255 / .84); font-weight: 600; letter-spacing: 0; text-transform: none; }
.pf-product-character-empty { min-height: 320px; border: 1px dashed var(--pf-line); border-radius: 22px; }
.pf-product-breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 26px; color: var(--pf-muted); font-size: 13px; }
.pf-product-breadcrumbs span[aria-current="page"] { color: var(--pf-text); font-weight: 700; }
.pf-product-crumb { color: inherit; text-decoration: none; }
.pf-product-crumb:hover { color: var(--pf-accent); }

.pf-product-section { padding: clamp(68px, 8vw, 118px) 0; background: var(--pf-bg); }
.pf-product-section:nth-of-type(even) { background: var(--pf-surface-soft); }
.pf-product-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .7fr); gap: 32px; align-items: end; margin-bottom: clamp(30px, 5vw, 58px); }
.pf-product-heading h2 { max-width: 17ch; margin: 0; color: var(--pf-text); font-size: clamp(30px, 4vw, 54px); font-weight: 680; letter-spacing: -.04em; line-height: 1.12; text-wrap: balance; white-space: pre-line; }
.pf-product-section-lead { max-width: 42ch; margin: 0; color: var(--pf-muted); font-size: 16px; line-height: 1.75; white-space: pre-line; }
.pf-product-path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pf-product-path-card,
.pf-product-fde-card,
.pf-product-tool-card { min-width: 0; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--pf-line); border-radius: 12px; background: var(--pf-surface); box-shadow: 0 12px 24px rgb(19 42 50 / .04); }
.pf-product-path-card.is-primary { border-color: rgb(8 123 130 / .45); box-shadow: 10px 10px 0 rgb(99 208 202 / .16); }
.pf-product-path-card h3,
.pf-product-fde-card h3,
.pf-product-tool-card h3 { margin: 0; color: var(--pf-text); font-size: clamp(21px, 2vw, 29px); line-height: 1.3; text-wrap: balance; }
.pf-product-path-card > p:not(.pf-product-card-code),
.pf-product-fde-card > p:not(.pf-product-card-code),
.pf-product-tool-card > p:not(.pf-product-card-code) { color: var(--pf-muted); line-height: 1.7; }
.pf-product-path-card .pf-product-link,
.pf-product-fde-card .pf-product-link,
.pf-product-tool-card .pf-product-link { margin-top: 24px; }
.pf-product-facts { display: grid; gap: 10px; margin: 22px 0 0; }
.pf-product-facts div { display: grid; grid-template-columns: minmax(68px, .32fr) minmax(0, 1fr); gap: 12px; padding-top: 10px; border-top: 1px solid var(--pf-line); }
.pf-product-facts dt { color: var(--pf-muted); font-size: 12px; }
.pf-product-facts dd { margin: 0; color: var(--pf-text); font-size: 14px; line-height: 1.55; }

.pf-product-resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pf-product-resource-card { display: grid; grid-template-columns: minmax(112px, .4fr) minmax(0, 1fr); min-width: 0; overflow: hidden; border: 1px solid var(--pf-line); border-radius: 12px; background: var(--pf-surface); box-shadow: 0 12px 24px rgb(19 42 50 / .04); }
.pf-product-resource-preview { display: flex; min-height: 280px; flex-direction: column; gap: 10px; padding: 18px; color: var(--pf-accent); background: linear-gradient(165deg, #e0f2ef, #cfe7e5); font-size: 11px; letter-spacing: .04em; }
.pf-product-resource-preview > span { font: 800 13px/1 ui-monospace, Consolas, monospace; }
.pf-product-resource-preview > strong { color: var(--pf-text); font-size: 12px; line-height: 1.5; }
.pf-product-resource-preview > div { display: grid; gap: 7px; margin-top: auto; }
.pf-product-resource-preview i { display: grid; gap: 2px; padding-top: 8px; border-top: 1px solid rgb(8 123 130 / .2); color: var(--pf-text); font-style: normal; line-height: 1.4; }
.pf-product-resource-preview b { color: var(--pf-muted); font-size: 10px; font-weight: 700; }
.pf-product-resource-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: clamp(20px, 2.5vw, 30px); }
.pf-product-resource-copy h3 { margin: 0; color: var(--pf-text); font-size: clamp(20px, 2vw, 27px); line-height: 1.35; text-wrap: balance; }
.pf-product-resource-copy > p:not(.pf-product-card-code) { color: var(--pf-muted); line-height: 1.68; }
.pf-product-deliverable { display: grid; gap: 4px; margin: 14px 0 0; color: var(--pf-text); font-size: 14px; }
.pf-product-deliverable span,
.pf-product-gate span { color: var(--pf-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pf-product-resource-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 12px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--pf-line); }
.pf-product-resource-meta dt { color: var(--pf-muted); font-size: 11px; }
.pf-product-resource-meta dd { margin: 3px 0 0; color: var(--pf-text); font-size: 13px; }
.pf-product-resource-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: auto; padding-top: 22px; }
.pf-product-empty { grid-column: 1 / -1; margin: 0; padding: 22px 0; color: var(--pf-muted); border-top: 1px solid var(--pf-line); }

.pf-product-tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pf-product-tool-periods { display: flex; flex-wrap: wrap; gap: 9px 14px; align-items: center; margin-top: 18px; color: var(--pf-muted); font-size: 13px; }
.pf-product-tool-periods a { color: var(--pf-accent); font-weight: 700; }
.pr-calendar-disclosure { margin-top: 24px; border: 1px solid var(--pf-line); border-radius: 10px; background: var(--pf-surface); }
.pr-calendar-disclosure summary { min-height: 48px; padding: 13px 18px; color: var(--pf-text); cursor: pointer; font-weight: 750; }
.pr-calendar-disclosure-body { padding: 0 18px 18px; overflow: auto; }
.pf-product-suite .pr-calendar-disclosure-body :where(.fw-reset-home-wrap, .fw-reset) { color: var(--pf-text); background: transparent; }
.pf-product-suite .pr-calendar-disclosure-body .fw-reset { margin: 0; border-color: var(--pf-line); }
.pf-product-suite .pr-calendar-disclosure-body .fw-reset a { color: var(--pf-accent); }
body.pf-product-suite .pr-calendar-disclosure .fw-reset { --rs-bg: #fff; --rs-line: #c9dedd; --rs-muted: #557078; --rs-text: #132a32; --rs-accent: #087b82; }
body.pf-product-suite .pr-calendar-disclosure .fw-reset-home-wrap { padding: 26px 12px; }
body.pf-product-suite .pr-calendar-disclosure .fw-reset button:hover { background: #e9f3f2; }
body.pf-product-suite .pr-calendar-disclosure .fw-reset button[aria-pressed=true] { background: #087b82; color: #fff; }
body.pf-product-suite .pr-calendar-disclosure .fw-reset-days .fw-reset-has-event:not([aria-pressed=true]) { background: #e0f2ef; color: #087b82; }
body.pf-product-suite .pr-calendar-disclosure .fw-reset-warning { color: #8a5d00; }
body.pf-product-suite .pr-calendar-disclosure .dashboard-translation { color: #557078; }
body.pf-product-suite .pr-calendar-disclosure .dashboard-translation button { color: #087b82; border-color: #c9dedd; }

.pf-product-fde { background: linear-gradient(135deg, #e4f2ef, #f3f8f7); }
.pf-product-fde-grid { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 7vw, 100px); align-items: center; }
.pf-product-fde-art .pf-product-character { box-shadow: -16px 18px 0 rgb(8 123 130 / .11); }
.pf-product-fde-copy .pf-product-heading { display: block; margin-bottom: 28px; }
.pf-product-fde-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pf-product-fde-card { padding: 22px; background: rgb(255 255 255 / .72); }
.pf-product-fde-card h3 { font-size: 20px; }
.pf-product-fde-card .pf-product-link { font-size: 14px; }
.pf-product-step-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; border-top: 1px solid var(--pf-line); }
.pf-product-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 26px 0 30px; border-bottom: 1px solid var(--pf-line); }
.pf-product-step-number { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--pf-accent); border-radius: 50%; color: var(--pf-accent); font: 800 11px/1 ui-monospace, Consolas, monospace; }
.pf-product-step-code { margin: 0 0 5px; color: var(--pf-accent); font: 800 11px/1.4 ui-monospace, Consolas, monospace; letter-spacing: .08em; }
.pf-product-step h3 { margin: 0; color: var(--pf-text); font-size: 22px; line-height: 1.35; }
.pf-product-step p { color: var(--pf-muted); line-height: 1.68; }
.pf-product-step .pf-product-facts { margin-top: 16px; }
.pf-product-gate { display: grid; gap: 4px; margin: 14px 0 0; font-size: 13px; }

/* Keep the established catalog, filters, forms, readiness and FAQ usable on the light suite. */
body.pf-product-suite :where(.gk-section, .gk-resource-library, .pf-faq, .pf-faq-item, .pf-readiness, .pf-lead-form) { color: var(--pf-text); background: var(--pf-bg); }
body.pf-product-suite :where(.gk-resource-grid, .gk-resource-card, .gk-resource-toolbar, .gk-resource-companion, .gk-practice-tools) { border-color: var(--pf-line); background: var(--pf-surface); }
body.pf-product-suite :where(.gk-resource-card h3, .gk-resource-card .gk-resource-badges span, .gk-heading h2, .gk-resource-search, .gk-resource-card dt, .gk-resource-card dd) { color: var(--pf-text); }
body.pf-product-suite :where(.gk-resource-card > p, .gk-lead, .gk-resource-card dd, .gk-filter-status, .gk-empty) { color: var(--pf-muted); }
body.pf-product-suite :where(.gk-resource-card, .gk-resource-card.is-featured) { min-height: 0; border-radius: 10px; box-shadow: 0 10px 24px rgb(19 42 50 / .04); }
body.pf-product-suite .gk-resource-card,
body.pf-product-suite .gk-resource-card.is-featured { min-height: 0; }
body.pf-product-suite :where(.gk-resource-grid) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border: 0; }
body.pf-product-suite :where(.gk-resource-card) { grid-column: auto; }
body.pf-product-suite :where(.gk-resource-search input, .gk-category-select select) { color: var(--pf-text); background: var(--pf-surface); border-color: var(--pf-line); }
body.pf-product-suite :where(.pf-faq-item) { border-color: var(--pf-line); }
body.pf-product-suite :where(.pf-faq-item[open] summary) { color: var(--pf-accent); }
body.pf-product-suite :where(.pf-lead-form input, .pf-lead-form textarea, .pf-lead-form select) { color: var(--pf-text); background: var(--pf-surface); border-color: var(--pf-line); }
body.pf-product-suite .gk-readiness-question strong,
body.pf-product-suite .gk-readiness-panel > strong,
body.pf-product-suite .gk-knowledge-card h3,
body.pf-product-suite .gk-radar-card h4 { color: var(--pf-text); }
body.pf-product-suite .gk-readiness-question small,
body.pf-product-suite .gk-readiness-panel > p:not(.gk-result-label),
body.pf-product-suite .gk-readiness-panel > span,
body.pf-product-suite .gk-readiness-panel > small,
body.pf-product-suite .gk-radar-card > p,
body.pf-product-suite .gk-radar-facts dd { color: var(--pf-muted); }
body.pf-product-suite .gk-readiness-panel,
body.pf-product-suite .gk-contribution-form { color: var(--pf-text); background: var(--pf-surface); border-color: var(--pf-line); }
body.pf-product-suite .gk-contribution-fields label > span,
body.pf-product-suite .gk-contribute-guide strong { color: var(--pf-text); }
body.pf-product-suite .gk-contribution-fields :is(input, textarea),
body.pf-product-suite .gk-resource-search input { color: var(--pf-text); background: var(--pf-surface); border-color: var(--pf-line); }
body.pf-product-suite .gk-contribution-fields :is(input, textarea)::placeholder { color: var(--pf-muted); }
body.pf-product-suite .pf-footer { color: var(--pf-text); background: #e3efed; border-top: 1px solid var(--pf-line); }
body.pf-product-suite .pf-footer a { color: var(--pf-text); }

body.pf-product-js .pf-product-section [data-product-reveal].is-product-visible,
body.pf-product-js .pf-product-hero [data-product-reveal].is-product-visible { animation: pf-product-rise .5s cubic-bezier(.16, 1, .3, 1) both; }
body.is-motion-paused .pf-product-section [data-product-reveal].is-product-visible,
body.is-motion-paused .pf-product-hero [data-product-reveal].is-product-visible { animation: none; }
@keyframes pf-product-rise { from { opacity: .6; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  body.pf-product-suite :where(.gk-resource-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-product-hero-grid { gap: 40px; }
}

@media (max-width: 760px) {
  body.pf-product-suite.pf-page-home main > #hero { padding: 98px 0 54px; }
  .pf-product-shell { width: min(100% - 36px, 620px); }
  .pf-product-hero { padding-top: 98px; }
  .pf-product-hero-grid,
  .pf-product-fde-grid,
  .pf-product-resource-grid,
  .pf-product-tool-grid,
  .pf-product-path-grid,
  .pf-product-fde-cards,
  .pf-product-step-list { grid-template-columns: minmax(0, 1fr); }
  .pf-product-hero h1 { max-width: 15ch; font-size: clamp(38px, 11vw, 58px); }
  .pf-product-character { aspect-ratio: 16 / 9; }
  .pf-product-heading { display: block; }
  .pf-product-section-lead { margin-top: 18px; }
  .pf-product-resource-card { grid-template-columns: minmax(0, 1fr); }
  .pf-product-resource-preview { min-height: 160px; }
  .pf-product-resource-preview > div { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
  .pf-product-fde-art .pf-product-character { aspect-ratio: 16 / 9; }
  .pf-product-step-list { gap: 0; }
  body.pf-product-suite :where(.gk-resource-grid) { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 390px) {
  .pf-product-shell { width: min(100% - 28px, 620px); }
  .pf-product-actions, .pf-product-resource-actions { align-items: stretch; flex-direction: column; }
  .pf-product-actions > *, .pf-product-resource-actions > * { width: 100%; }
  .pf-product-button, .pf-product-link { justify-content: space-between; }
  .pf-product-resource-preview > div { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .pf-product-button, .pf-product-link { transition: none; }
  body.pf-product-js .pf-product-section [data-product-reveal].is-product-visible,
  body.pf-product-js .pf-product-hero [data-product-reveal].is-product-visible { animation: none; }
}

/* R178 integration overrides: these selectors intentionally outrank the legacy
   dark knowledge skin while leaving its character/video layers in place. */
body.pf-product-suite {
  --bg: #f3f8f7;
  --surface: #fff;
  --surface-strong: #e8f2f1;
  --text: #132a32;
  --muted: #557078;
  --line: #c9dedd;
  --accent: #087b82;
}

body.pf-product-suite .pf-product-shell,
body.pf-product-suite .gk-shell { width: min(1180px, calc(100% - 80px)); }
body.pf-product-suite .gk-shell { padding-block: clamp(56px, 7vw, 96px); }
body.pf-product-suite .gk-section,
body.pf-product-suite .gk-section:nth-of-type(even),
body.pf-product-suite #resource-library,
body.pf-product-suite .gk-resource-library { color: var(--pf-text); background: var(--pf-bg); }
body.pf-product-suite .gk-section :where(h2, h3, h4, p, a, dd) { overflow-wrap: anywhere; }
body.pf-product-suite .gk-heading h2 { max-width: 20ch; color: var(--pf-text); font-size: clamp(34px, 3.3vw, 42px); }
body.pf-product-suite .gk-heading .gk-lead,
body.pf-product-suite .gk-lead { color: var(--pf-muted); }

body.pf-product-suite .gk-resource-catalog { color: var(--pf-text); background: transparent; }
body.pf-product-suite .gk-resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border: 0; background: transparent; }
body.pf-product-suite .gk-resource-card,
body.pf-product-suite .gk-resource-card.is-featured { grid-column: auto; min-height: 0; padding: 22px; border: 1px solid var(--pf-line); border-radius: 10px; color: var(--pf-text); background: var(--pf-surface); box-shadow: 0 10px 24px rgb(19 42 50 / .05); }
body.pf-product-suite .gk-resource-card:hover { background: var(--pf-surface-strong); }
body.pf-product-suite .gk-resource-card h3 { max-width: none; margin: 12px 0 10px; color: var(--pf-text); font-size: 18px; line-height: 1.5; }
body.pf-product-suite .gk-resource-card > p { color: var(--pf-muted); font-size: 14px; line-height: 1.7; }
body.pf-product-suite .gk-resource-card .gk-resource-index { color: var(--pf-muted); }
body.pf-product-suite .gk-resource-card .gk-resource-badges { margin-top: 14px; gap: 6px; }
body.pf-product-suite .gk-resource-badges span,
body.pf-product-suite .gk-manifest-status > span { color: var(--pf-muted); border-color: var(--pf-line); background: transparent; }
body.pf-product-suite .gk-resource-badges .is-reviewed,
body.pf-product-suite .gk-manifest-status .is-reviewed { color: var(--pf-accent); border-color: rgb(8 123 130 / .46); background: rgb(99 208 202 / .12); }
body.pf-product-suite .gk-resource-badges .is-restricted,
body.pf-product-suite .gk-manifest-status .is-restricted { color: #8a5d00; border-color: rgb(138 93 0 / .34); background: rgb(240 196 112 / .18); }
body.pf-product-suite .gk-resource-facts dt,
body.pf-product-suite .gk-manifest-grid dt,
body.pf-product-suite .gk-manifest-scope dt { color: var(--pf-muted); }
body.pf-product-suite .gk-resource-facts dd,
body.pf-product-suite .gk-manifest-grid dd,
body.pf-product-suite .gk-manifest-scope dd { color: var(--pf-text); }
body.pf-product-suite .gk-resource-toolbar,
body.pf-product-suite .gk-resource-filters { color: var(--pf-text); background: rgb(243 248 247 / .96); }
body.pf-product-suite .gk-resource-filters { border-bottom: 1px solid var(--pf-line); }
body.pf-product-suite .gk-resource-search input,
body.pf-product-suite .gk-category-select select { color: var(--pf-text); background: var(--pf-surface); border-color: var(--pf-line); }
body.pf-product-suite .gk-filter-bar button { color: var(--pf-muted); border-color: var(--pf-line); background: transparent; }
body.pf-product-suite .gk-filter-bar button[aria-pressed="true"] { color: #fff; background: var(--pf-accent); border-color: var(--pf-accent); }
body.pf-product-suite .gk-resource-companion,
body.pf-product-suite .gk-practice-tools,
body.pf-product-suite .gk-learning-options,
body.pf-product-suite .gk-start-guide { color: var(--pf-text); border-color: var(--pf-line); background: var(--pf-surface); }

body.pf-product-suite .gk-manifest-panel { border-color: var(--pf-line); background: var(--pf-line); }
body.pf-product-suite .gk-manifest-panel > *,
body.pf-product-suite .gk-manifest-scope dl div { color: var(--pf-text); background: var(--pf-surface); }
body.pf-product-suite .gk-manifest-panel > .gk-resource-actions,
body.pf-product-suite .gk-manifest-panel > .gk-resource-restricted { color: var(--pf-text); }
body.pf-product-suite .gk-manifest-hash button { color: var(--pf-accent); border-color: var(--pf-line); background: transparent; }
body.pf-product-suite .gk-compare-bar { color: var(--pf-text); border-color: var(--pf-line); background: rgb(255 255 255 / .96); }
body.pf-product-suite .gk-compare-remove { color: var(--pf-text); border-color: var(--pf-line); background: var(--pf-surface-soft); }
body.pf-product-suite .gk-compare-dialog { color: var(--pf-text); border-color: var(--pf-line); background: var(--pf-surface); box-shadow: 0 24px 80px rgb(19 42 50 / .16); }
body.pf-product-suite .gk-compare-dialog::backdrop { background: rgb(19 42 50 / .22); }
body.pf-product-suite .gk-compare-dialog > header { background: var(--pf-surface); box-shadow: 0 -24px 0 var(--pf-surface); }
body.pf-product-suite .gk-compare-item { background: var(--pf-surface-soft); }
body.pf-product-suite .gk-start-body textarea { color: var(--pf-text); border-color: var(--pf-line); background: var(--pf-bg); }

body.pf-product-suite .gk-contribute-invite { min-height: 0; margin-bottom: 20px; padding: 14px 0; border-color: var(--pf-line); }
body.pf-product-suite .gk-contribute-invite p { color: var(--pf-text); font-size: 15px; }
body.pf-product-suite .gk-contribute-invite .gk-button { margin-top: 0; }
body.pf-product-suite .gk-contribution-form { color: var(--pf-text); border-color: var(--pf-line); background: var(--pf-surface); }
body.pf-product-suite .gk-contribution-fields label > span { color: var(--pf-text); }
body.pf-product-suite .gk-contribution-fields :is(input, textarea) { color: var(--pf-text); border-color: var(--pf-line); background: var(--pf-surface); }
body.pf-product-suite .gk-contribution-fields :is(input, textarea)::placeholder { color: var(--pf-muted); }
body.pf-product-suite .gk-contribution-help,
body.pf-product-suite .gk-contribution-fields small,
body.pf-product-suite .gk-contribution-submit p { color: var(--pf-muted); }
body.pf-product-suite .gk-contribution-submit p.is-success { color: var(--pf-accent); border-color: var(--pf-line); background: var(--pf-surface-soft); }
body.pf-product-suite .gk-readiness-panel { color: var(--pf-text); border-color: var(--pf-line); background: var(--pf-surface); }
body.pf-product-suite .gk-readiness-question strong { color: var(--pf-text); }
body.pf-product-suite .gk-readiness-question small,
body.pf-product-suite .gk-readiness-panel > p:not(.gk-result-label),
body.pf-product-suite .gk-readiness-panel > span,
body.pf-product-suite .gk-readiness-panel > small { color: var(--pf-muted); }

body.pf-product-suite .pf-nav { border-color: var(--pf-line); border-radius: 12px; background: rgb(255 255 255 / .82); box-shadow: 0 8px 20px rgb(19 42 50 / .06); }
body.pf-product-suite .pf-nav a,
body.pf-product-suite .pf-account > a,
body.pf-product-suite .pf-nav-admin { color: var(--pf-text); border-radius: 7px; }
body.pf-product-suite .pf-nav a:hover,
body.pf-product-suite .pf-nav a[aria-current="page"] { color: #fff; background: var(--pf-accent); }
body.pf-product-suite .pf-account > a:last-child { border-color: var(--pf-line); background: var(--pf-surface); color: var(--pf-accent); }
body.pf-product-suite .pf-app-download { border-color: var(--pf-line); color: var(--pf-accent); background: var(--pf-surface); box-shadow: none; }
body.pf-product-suite .pf-app-download:hover { color: #075e64; border-color: var(--pf-accent); background: var(--pf-surface-soft); }
body.pf-product-suite .pf-motion-toggle { border: 1px solid var(--pf-line); border-radius: 6px; color: var(--pf-accent); background: rgb(255 255 255 / .86); box-shadow: none; text-shadow: none; }
body.pf-product-suite .pf-motion-toggle:hover { border-color: var(--pf-accent); color: var(--pf-accent); background: var(--pf-surface); }

body.pf-product-suite .pf-product-hero.is-compact { padding-block: 86px 42px; }
body.pf-product-suite .pf-product-hero.is-compact .pf-product-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); gap: clamp(28px, 5vw, 56px); }
body.pf-product-suite .pf-product-hero.is-compact .pf-product-hero-media { width: min(100%, 360px); justify-self: end; }
body.pf-product-suite .pf-product-hero.is-compact h1 { max-width: 15ch; font-size: clamp(38px, 4vw, 48px); }
body.pf-product-suite .pf-product-hero.is-compact .pf-product-lead { max-width: 48ch; margin-top: 18px; font-size: 17px; }

@media (max-width: 1100px) {
  body.pf-product-suite .gk-resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body.pf-product-suite .pf-product-shell,
  body.pf-product-suite .gk-shell { width: min(100% - 40px, 620px); }
  body.pf-product-suite .gk-shell { padding-block: 58px; }
  body.pf-product-suite .gk-resource-grid { grid-template-columns: minmax(0, 1fr); }
  body.pf-product-suite .pf-product-hero.is-compact { padding-block: 88px 34px; }
  body.pf-product-suite .pf-product-hero.is-compact .pf-product-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  body.pf-product-suite .pf-product-hero.is-compact .pf-product-hero-media { width: min(100%, 320px); justify-self: start; }
  body.pf-product-suite .pf-product-hero.is-compact .pf-product-character { display: none; }
  body.pf-product-suite .gk-contribute-invite { display: flex; gap: 14px; align-items: center; }
}
@media (max-width: 390px) {
  body.pf-product-suite .pf-product-shell,
  body.pf-product-suite .gk-shell { width: min(100% - 32px, 620px); }
  body.pf-product-suite .gk-contribute-invite { display: block; }
  body.pf-product-suite .gk-contribute-invite .gk-button { margin-top: 10px; }
}

/* Keep the resource index useful above the fold after the catalog invite moves
   below the real resource list. */
body.pf-product-suite .gk-resource-library .gk-shell,
body.pf-product-suite #resource-library .gk-shell {
  padding-block: clamp(34px, 4.5vw, 58px);
}
body.pf-product-suite .gk-resource-library .gk-heading,
body.pf-product-suite #resource-library .gk-heading { margin-bottom: clamp(20px, 2.8vw, 34px); }
body.pf-product-suite .gk-resource-library .gk-heading h2,
body.pf-product-suite #resource-library .gk-heading h2 { font-size: clamp(32px, 3vw, 40px); }
body.pf-product-suite .gk-resource-library .gk-resource-catalog,
body.pf-product-suite #resource-library .gk-resource-catalog { margin-top: 18px; }
body.pf-product-suite .gk-resource-library .gk-contribute-invite,
body.pf-product-suite #resource-library .gk-contribute-invite { margin-top: 28px; margin-bottom: 0; }

/* language-r98.css intentionally supplies a dark default; the product suite
   is loaded later and keeps the switch readable on the light shell. */
body.pf-product-suite .pf-language { color: var(--pf-text); }
body.pf-product-suite .pf-language summary {
  color: var(--pf-accent);
  border-color: var(--pf-line);
  background: var(--pf-surface);
  box-shadow: none;
}
body.pf-product-suite .pf-language summary:hover { border-color: var(--pf-accent); background: var(--pf-surface-soft); }
body.pf-product-suite .pf-language-menu {
  color: var(--pf-text);
  border-color: var(--pf-line);
  background: var(--pf-surface);
  box-shadow: 0 14px 34px rgb(19 42 50 / .14);
}
body.pf-product-suite .pf-language-menu > a { color: var(--pf-text); }
body.pf-product-suite .pf-language-menu > a:hover,
body.pf-product-suite .pf-language-menu > a[aria-current] { color: #fff; background: var(--pf-accent); }
body.pf-product-suite .pf-language-menu small,
body.pf-product-suite .pf-language-menu > a.pf-language-credit { color: var(--pf-muted); }
body.pf-product-suite .pf-language summary:focus-visible,
body.pf-product-suite .pf-language a:focus-visible { outline-color: var(--pf-accent); }

/* The menu remains the existing full-screen interaction on mobile, with only
   its surface and controls adapted to the light suite. */
@media (max-width: 900px) {
  body.pf-product-suite .pf-menu-toggle {
    border-color: var(--pf-line);
    background: var(--pf-surface);
  }
  body.pf-product-suite .pf-menu-toggle span { background: var(--pf-text); }
  body.pf-product-suite .pf-nav {
    color: var(--pf-text);
    border-color: var(--pf-line);
    background: rgb(243 248 247 / .98);
    box-shadow: none;
  }
  body.pf-product-suite .pf-nav a,
  body.pf-product-suite .pf-nav .pf-nav-mobile-account a { color: var(--pf-text); border-color: var(--pf-line); }
  body.pf-product-suite .pf-nav a:hover,
  body.pf-product-suite .pf-nav a[aria-current="page"] { color: var(--pf-accent); background: transparent; }
}

/* Keep the existing cinematic film dark, but give the contact panel its own
   readable light surface when it is placed in the FDE/product suite. */
body.pf-product-suite .pf-form-scene .pf-form-intro { color: var(--pf-text); }
body.pf-product-suite .pf-form-scene .pf-form-intro :is(h2, p) { color: var(--pf-text); text-shadow: none; }
body.pf-product-suite.pf-enterprise-site:not(.pf-page-home) .pf-form-scene .pf-form-panel {
  color: var(--pf-text);
  border-color: var(--pf-line);
  background: var(--pf-surface);
  box-shadow: 0 18px 44px rgb(19 42 50 / .12);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.pf-product-suite .pf-form-scene .pf-form-panel :is(label > span, .pf-form-help, small, p) { color: var(--pf-muted); }
body.pf-product-suite .pf-form-scene .pf-form-panel :is(input, textarea, select) {
  color: var(--pf-text);
  border-color: var(--pf-line);
  background: var(--pf-bg);
}
body.pf-product-suite .pf-form-scene .pf-form-panel :is(input, textarea, select)::placeholder { color: var(--pf-muted); }
body.pf-product-suite .pf-form-scene .pf-form-panel :is(input, textarea, select):focus {
  border-color: var(--pf-accent);
  box-shadow: 0 0 0 3px rgb(8 123 130 / .16);
}

body.pf-product-suite .gk-manifest-status > strong,
body.pf-product-suite .gk-manifest-status > p,
body.pf-product-suite .gk-manifest-hash [data-gk-hash-status] { color: var(--pf-text); }
body.pf-product-suite .gk-button:not(.is-outline),
body.pf-product-suite .pf-button:not(.is-outline) { color: #fff; background: var(--pf-accent); border-color: var(--pf-accent); }
body.pf-product-suite .pf-form-scene .pf-ip-hit .pf-ip-prompt,
body.pf-product-suite .pf-form-scene .pf-ip-hit .pf-ip-prompt strong,
body.pf-product-suite .pf-form-scene .pf-ip-hit .pf-ip-prompt span { color: #fff; }
