/* 1OFFICE WFM landing page (/welcome/workforce.html). Loaded after the shared style.css.
 * Everything here is scoped to the page (body.wfm-page) or prefixed .wfm-, so the shared header,
 * footer and Business Suite page are untouched. Colours come from the shared tokens. */
.wfm-page [hidden] { display: none !important; }
.wfm-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wfm-page .sr-only, .wfm-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wfm-small { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 760px; }
.wfm-hint { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* Shared screenshot frame (product pixels are never recoloured) */
.wfm-frame { border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper); overflow: hidden; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 20px 44px -18px rgba(16, 24, 40, .18); }
.wfm-frame .shot-bar span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wfm-zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--paper); cursor: zoom-in; text-align: left; }
.wfm-zoom img { width: 100%; height: auto; }
.wfm-zoom-hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; opacity: 0; transition: opacity .18s var(--ease); pointer-events: none; }
.wfm-zoom-hint .icon { width: 14px; height: 14px; }
.wfm-zoom:hover .wfm-zoom-hint, .wfm-zoom:focus-visible .wfm-zoom-hint { opacity: 1; }
@media (hover: none) { .wfm-zoom-hint { opacity: .92; } }

/* 1. Hero */
.wfm-hero { padding-block: 64px 80px; }
.wfm-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.wfm-category { margin-top: 14px; font: 600 19px/1.3 var(--display); color: var(--brand-ink); letter-spacing: -.01em; }
.wfm-hero h1 { margin-top: 14px; font-size: clamp(40px, 5.1vw, 64px); line-height: 1.04; letter-spacing: -.038em; font-weight: 680; }
.wfm-hero h1 em { display: block; font-style: normal; color: var(--brand); }
.wfm-lede { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.wfm-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.wfm-film-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--brand-ink); font-weight: 600; font-size: 15px; }
.wfm-film-link span { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.wfm-film-link:hover { color: var(--brand-hover); }
.wfm-capabilities { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); max-width: 34em; }
.wfm-hero-preview { display: flex; flex-direction: column; min-width: 0; }
.wfm-hero-frame .shot-bar span { color: var(--muted); }

.wfm-demo { margin-top: 14px; padding: 16px 18px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 14px 30px -22px rgba(16, 24, 40, .25); }
.wfm-demo-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; font-size: 13px; color: var(--muted); }
.wfm-demo-head b { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13.5px; }
.wfm-demo-head b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.wfm-demo-tabs { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.wfm-demo-tabs button { min-height: 40px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); color: var(--ink-2); font-size: 14px; font-weight: 600; transition: background-color .18s, border-color .18s, color .18s; }
.wfm-demo-tabs button:hover { border-color: var(--ink-2); color: var(--ink); }
.wfm-demo-tabs button[aria-selected="true"] { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-ink); }
.wfm-demo-panel { margin-top: 14px; }
.wfm-demo-panel:focus-visible { outline-offset: 6px; }
.wfm-sample { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.wfm-request { margin-top: 6px; font: 600 17px/1.45 var(--display); color: var(--ink); }
.wfm-request q { quotes: "“" "”"; }
.wfm-request-label { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 6px; background: var(--bg); color: var(--muted); font: 700 11px/1.6 var(--text); letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
.wfm-typing q::after { content: "”"; }
.wfm-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; background: var(--brand); vertical-align: -2px; animation: wfm-caret .9s steps(1) infinite; }
@keyframes wfm-caret { 50% { opacity: 0; } }
.wfm-result { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 15px; line-height: 1.55; color: var(--ink-2); transition: opacity .25s var(--ease); }
.wfm-result b { color: var(--ink); font-variant-numeric: tabular-nums; }
.wfm-result.is-waiting { opacity: 0; }
.wfm-checks { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wfm-checks li { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.wfm-checks .pass { background: var(--ok-soft); color: var(--ok); }
.wfm-checks .fail { background: #fdecea; color: #b42318; }
.wfm-checks .warn { background: #fdf3e1; color: var(--warn); }
.wfm-checks .na { background: var(--paper); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.wfm-checks .info { background: var(--brand-soft); color: var(--brand-ink); }
.wfm-hero-shots .wfm-zoom { transition: opacity .2s var(--ease); }
.wfm-hero-shots.is-swapping .wfm-zoom { opacity: .35; }
.no-js .wfm-demo-tabs { display: none; }

@media (min-width: 1100px) {
  .wfm-hero { padding-top: 52px; }
  .wfm-hero-preview .wfm-demo { position: relative; z-index: 1; margin: -44px 22px 0; }
  .wfm-hero-frame .wfm-zoom-hint { top: 12px; bottom: auto; }
  .wfm-hero-grid { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: 48px; align-items: start; }
  .wfm-hero-copy { padding-top: 12px; }
  /* let the preview use the space beside a 1200px wrap, keeping a 24px gutter */
  .wfm-hero-preview { margin-right: min(0px, calc((1200px - 100vw) / 2 + 24px)); }
}
@media (max-width: 767px) {
  .wfm-hero { padding-block: 40px 56px; }
  .wfm-hero-grid { gap: 32px; }
  .wfm-hero-preview .wfm-demo { order: -1; margin: 0 0 14px; }
  .wfm-hero-frame .shot-bar { height: 32px; }
  .wfm-request { font-size: 16px; }
  .wfm-result > p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wfm-result .wfm-checks { margin-top: 0; }
  .wfm-closeup + .wfm-closeup { display: none; } /* same phone screen as the tour's Time tab */
}

/* 2. Product tour */
.wfm-tour { margin-top: 44px; }
.wfm-tablist { display: flex; gap: 4px; width: fit-content; max-width: 100%; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow-x: auto; scrollbar-width: none; }
.wfm-tablist::-webkit-scrollbar { display: none; }
.wfm-tablist button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font-size: 15px; font-weight: 600; white-space: nowrap; transition: background-color .18s, color .18s; }
.wfm-tablist button .icon { width: 18px; height: 18px; color: var(--brand); }
.wfm-tablist button:hover { background: var(--bg); color: var(--ink); }
.wfm-tablist button[aria-selected="true"] { background: var(--brand); color: #fff; }
.wfm-tablist button[aria-selected="true"] .icon { color: #fff; }
.wfm-panel { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 40px; align-items: start; }
.no-js .wfm-panel + .wfm-panel { margin-top: 56px; }
.wfm-panel-copy h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.wfm-panel-copy p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.wfm-panel-copy .wfm-panel-meta { margin-top: 20px; padding-left: 12px; border-left: 3px solid var(--brand-soft); color: var(--muted); font-size: 14px; line-height: 1.5; }
.wfm-thread { margin-top: 56px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.wfm-thread-title { font: 600 19px/1.4 var(--display); color: var(--ink); letter-spacing: -.01em; }
.wfm-thread-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.wfm-thread-steps button { display: grid; gap: 6px; align-content: start; width: 100%; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); text-align: left; transition: border-color .18s, background-color .18s; }
.wfm-thread-steps button:hover { border-color: var(--brand); background: var(--paper); }
.wfm-step-mod { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-ink); }
.wfm-thread-steps b { font: 600 16px/1.3 var(--display); color: var(--ink); }
.wfm-thread-steps button > span:last-child { font-size: 14px; line-height: 1.5; color: var(--muted); }
.wfm-thread-note { margin-top: 16px; font-size: 14.5px; color: var(--muted); max-width: 900px; }

/* 3. Your business */
.wfm-config { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px; align-items: start; }
.wfm-config-list { display: grid; gap: 6px; }
.wfm-config-item { display: grid; gap: 6px; width: 100%; padding: 18px 20px; border: 1px solid transparent; border-radius: 12px; background: transparent; text-align: left; transition: background-color .18s, border-color .18s; }
.wfm-config-item:hover { background: var(--bg); }
.wfm-config-item[aria-pressed="true"] { background: var(--tint); border-color: #dfe7f6; }
.wfm-config-item b { display: flex; align-items: center; gap: 10px; font: 600 18px/1.3 var(--display); color: var(--ink); }
.wfm-config-item b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); flex: none; }
.wfm-config-item[aria-pressed="true"] b::before { background: var(--brand); }
.wfm-config-item span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.no-js .wfm-config-item { cursor: default; }
.wfm-figure-note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.wfm-viewpoints { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wfm-viewpoints li { padding: 16px 18px; border-top: 3px solid var(--brand); border-radius: 0 0 12px 12px; background: var(--bg); font-size: 15px; color: var(--ink-2); }
.wfm-viewpoints b { display: block; font: 600 16px/1.3 var(--display); color: var(--ink); }
.wfm-viewpoints-note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.wfm-samples { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.wfm-sample-card { display: grid; gap: 14px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.wfm-sample-top h3 { margin-top: 10px; font-size: 22px; letter-spacing: -.015em; }
.wfm-sample-top p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.wfm-tag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #fdf3e1; color: var(--warn); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.wfm-sample-shot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.wfm-sample-cap { font-size: 14px; color: var(--ink-2); }
.wfm-samples-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); max-width: 820px; }
.wfm-import { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 40px; align-items: start; }
.wfm-import h3 { font-size: clamp(26px, 3vw, 32px); line-height: 1.15; letter-spacing: -.02em; }
.wfm-import-copy > p { margin-top: 12px; color: var(--ink-2); }
.wfm-status-line { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px !important; padding: 12px 14px; border-radius: 10px; background: var(--ok-soft); color: var(--ok) !important; font-size: 15px; }
.wfm-status-line .icon { margin-top: 3px; }
.wfm-switch { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; padding: 4px; border-radius: 12px; background: var(--bg); }
.wfm-switch button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 600; transition: background-color .18s, color .18s, box-shadow .18s; }
.wfm-switch button span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--brand-ink); font-size: 12px; box-shadow: inset 0 0 0 1px var(--line-2); }
.wfm-switch button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(16, 24, 40, .1), 0 0 0 1px var(--line); }
.wfm-switch button[aria-pressed="true"] span { background: var(--brand); color: #fff; box-shadow: none; }
.no-js .wfm-switch { display: none; }
.wfm-import-frame .wfm-zoom { background: #f3f4f7; }
.wfm-disclosure { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.wfm-disclosure summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 12px 16px; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; }
.wfm-disclosure summary::-webkit-details-marker { display: none; }
.wfm-disclosure summary::after { content: "+"; font: 500 20px/1 var(--text); color: var(--muted); }
.wfm-disclosure[open] summary::after { content: "−"; }
.wfm-disclosure ul { margin: 0; padding: 0 18px 16px 34px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.wfm-disclosure .table-wrap { margin: 0 12px 12px; }

/* 4. Film */
.wfm-film-section .h2 { color: #fff; }
.wfm-film { position: relative; margin-top: 40px; aspect-ratio: 16 / 9; border: 1px solid var(--night-line); border-radius: 16px; overflow: hidden; background: #050a14; }
.wfm-film img, .wfm-film video { width: 100%; height: 100%; object-fit: cover; }
.wfm-play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgba(11, 18, 32, .16); color: var(--ink); }
.wfm-play span { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 12px; border-radius: 999px; background: #fff; font-weight: 600; font-size: 16px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); transition: transform .25s var(--ease); }
.wfm-play span i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; }
.wfm-play span .icon { width: 20px; height: 20px; }
.wfm-play:hover span { transform: scale(1.04); }
.wfm-film-fallback { margin-top: 14px; }
.wfm-film-fallback a { color: #8fb3ff; font-weight: 600; text-decoration: underline; }
.wfm-film-meta { margin-top: 20px; display: grid; gap: 14px; max-width: 900px; color: var(--night-muted); font-size: 15px; }
.wfm-on-dark { margin-top: 0; background: var(--night-2); border-color: var(--night-line); color: var(--night-ink); }
.wfm-on-dark summary::after { color: var(--night-muted); }
.wfm-transcript { margin: 0; padding: 0 18px 18px; list-style: none; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--night-ink); }
.wfm-transcript li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 10px; }
.wfm-transcript span { color: #8fb3ff; font-variant-numeric: tabular-nums; font-weight: 600; }

/* 5. Comparison */
.wfm-process { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.wfm-proc { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.wfm-proc-old { background: var(--bg); }
.wfm-proc figcaption { font: 600 19px/1.3 var(--display); color: var(--ink); }
.wfm-proc-label { display: block; margin-bottom: 6px; font: 700 12px/1.3 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wfm-proc-new .wfm-proc-label { color: var(--brand); }
.wfm-proc ol { position: relative; list-style: none; margin: 20px 0 0; padding: 0 0 0 26px; display: grid; gap: 10px; }
.wfm-proc ol::before { content: ""; position: absolute; left: 8px; top: 14px; bottom: 14px; border-left: 2px dashed var(--line-2); }
.wfm-proc-new ol::before { border-left: 2px solid var(--brand-soft); }
.wfm-proc li { position: relative; display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.wfm-proc li::before { content: ""; position: absolute; left: -23px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-2); }
.wfm-proc-new li::before { border-color: var(--brand); }
.wfm-proc li b { font-size: 15px; color: var(--ink); padding-right: 76px; }
.wfm-proc-new li b { padding-right: 0; }
.wfm-proc li span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.wfm-proc li em { position: absolute; top: 11px; right: 12px; padding: 2px 8px; border-radius: 999px; background: #fdf3e1; color: var(--warn); font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
/* one record travelling down the connected path when the section comes into view */
.wfm-proc-new ol::after { content: ""; position: absolute; left: 3px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); transition: top 1.6s var(--ease); }
.wfm-process.in .wfm-proc-new ol::after { top: calc(100% - 26px); }
.wfm-compare-table { margin-top: 28px; }
.wfm-compare-table th[scope="row"] { font-weight: 600; white-space: nowrap; }
.wfm-compare-table td, .wfm-compare-table th { vertical-align: top; line-height: 1.5; }
.wfm-compare-table td { color: var(--ink-2); }
.wfm-compare-table .wfm-us { background: #f4f7fe; color: var(--ink); }
.wfm-compare-table thead .wfm-us { color: var(--brand); }
.wfm-compare-note { margin-top: 12px; }

/* 6. Calculator */
.wfm-calc { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 16px; background: var(--paper); overflow: hidden; }
.wfm-calc-inputs { padding: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-content: start; }
.wfm-calc-pct { grid-column: 1 / -1; }
.wfm-pct-row { display: flex; align-items: center; gap: 14px; }
.wfm-pct-row input[type="number"] { width: 96px; flex: none; }
.wfm-calc .field input[type="range"] { flex: 1 1 auto; width: auto; min-width: 0; height: 28px; padding: 0; border: 0; box-shadow: none; background: none; appearance: auto; -webkit-appearance: auto; accent-color: var(--brand); }
.wfm-calc .field input[type="number"] { font-variant-numeric: tabular-nums; }
.wfm-unit { font-weight: 500; color: var(--muted); }
.wfm-field-err { font-size: 13px; color: #b42318; }
.wfm-field-err:empty { display: none; }
.wfm-calc-out { padding: 28px; display: grid; gap: 14px; align-content: start; background: var(--tint); border-left: 1px solid #dfe7f6; }
.wfm-calc-figure span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.wfm-calc-figure output { display: block; margin-top: 2px; font: 650 30px/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); overflow-wrap: anywhere; }
.wfm-calc-main output { font-size: 44px; color: var(--brand-ink); }
.wfm-calc-formula { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.wfm-calc-formula:empty { display: none; }
.wfm-calc-empty { padding: 10px 12px; border-radius: 10px; background: #fdecea; color: #b42318; font-size: 14px; }
.wfm-calc-disclaimer { padding-top: 14px; border-top: 1px solid #dfe7f6; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* 7. Review, control and readiness */
.wfm-control { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: start; }
.wfm-control-steps { list-style: none; margin: 0; padding: 0; counter-reset: wfm-cs; }
.wfm-control-steps li { counter-increment: wfm-cs; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.wfm-control-steps li:first-child { padding-top: 0; }
.wfm-control-steps li::before { content: counter(wfm-cs); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); font: 650 15px/1 var(--display); }
.wfm-control-steps b { font: 600 18px/1.3 var(--display); }
.wfm-control-steps span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.wfm-control-shots { display: grid; gap: 20px; }
.wfm-closeup { margin: 0; }
.wfm-closeup .wfm-zoom { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 14px 30px -20px rgba(16, 24, 40, .25); }
.wfm-closeup figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.wfm-engine-note { margin-top: 36px; padding: 18px 20px; border-radius: 12px; background: var(--bg); color: var(--ink-2); font-size: 15.5px; line-height: 1.6; max-width: 940px; }
.wfm-ready { margin-top: 48px; }
.wfm-ready h3 { font-size: 24px; letter-spacing: -.015em; }
.wfm-ready-list { list-style: none; margin: 18px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); }
.wfm-ready-list li { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 8px 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.wfm-ready-list li:last-child { border-bottom: 0; }
.wfm-ready-list p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.wfm-pill { justify-self: start; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.wfm-pill.ok { background: var(--ok-soft); color: var(--ok); }
.wfm-pill.sim { background: #fdf3e1; color: var(--warn); }
.wfm-pill.plan { background: var(--brand-soft); color: var(--brand-ink); }
.wfm-pill.prod { background: var(--paper); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.wfm-data-note { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: #fdf3e1; color: #5c3d00; font-size: 15px; line-height: 1.55; }
.wfm-data-note .icon { margin-top: 3px; color: var(--warn); }
.wfm-cap-table { font-size: 14px; }
.wfm-cap-table th[scope="row"] { font-weight: 500; }

/* Stacked tables on narrow screens: each row becomes a labelled block, so nothing scrolls sideways */
@media (max-width: 760px) {
  .wfm-stack table, .wfm-stack thead, .wfm-stack tbody, .wfm-stack tr, .wfm-stack th, .wfm-stack td { display: block; }
  .wfm-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wfm-stack tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .wfm-stack tbody tr:last-child { border-bottom: 0; }
  .wfm-stack th, .wfm-stack td { padding: 0; border: 0; white-space: normal !important; }
  .wfm-stack th[scope="row"] { font: 600 16px/1.4 var(--display); color: var(--ink); }
  .wfm-stack td { margin-top: 8px; }
  .wfm-stack td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  .wfm-stack td.wfm-us { padding: 8px 10px; border-radius: 8px; }
  .wfm-stack td.wfm-us::before { color: var(--brand); }
  .wfm-stack td:empty { display: none; }
  .wfm-stack caption { display: block; padding: 14px 16px 0; }
}

/* 8. FAQ (shared .faq) */
.wfm-page .faq details p { color: var(--ink-2); }

/* 9. Early access */
.wfm-offer { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 15px; font-weight: 600; }
.wfm-offer .icon { width: 16px; height: 16px; }
.wfm-form-status { grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; line-height: 1.5; }
.wfm-form-status.is-ok { background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.wfm-form-status.is-warn { background: #fdf3e1; color: #5c3d00; }
.wfm-form-status .btn { margin-top: 10px; height: 40px; }
.wfm-page .form-grid .wfm-form-status .btn { grid-column: auto; }
.wfm-page .field .wfm-hint { margin-top: 2px; }

/* Lightbox */
.wfm-lightbox { width: min(1440px, 96vw); max-width: 96vw; max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; }
.wfm-lightbox::backdrop { background: rgba(11, 18, 32, .78); }
.wfm-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border-bottom: 1px solid var(--line); }
.wfm-lightbox-bar p { font-size: 14px; color: var(--ink-2); }
.wfm-lightbox-close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; }
.wfm-lightbox-close:hover { background: var(--bg); }
.wfm-lightbox-body { max-height: calc(94vh - 62px); overflow: auto; overscroll-behavior: contain; }
.wfm-lightbox-body img { width: 100%; height: auto; }

/* Responsive */
@media (max-width: 1099px) {
  .wfm-panel { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .wfm-panel-copy { max-width: 680px; }
  .wfm-thread-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wfm-config, .wfm-import, .wfm-control { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .wfm-config-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .wfm-samples, .wfm-process, .wfm-calc { grid-template-columns: minmax(0, 1fr); }
  .wfm-calc-out { border-left: 0; border-top: 1px solid #dfe7f6; }
  .wfm-viewpoints { grid-template-columns: minmax(0, 1fr); }
  .wfm-config-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .wfm-thread { padding: 20px; }
  .wfm-thread-steps { grid-template-columns: minmax(0, 1fr); }
  .wfm-switch { display: flex; }
  .wfm-switch button { flex: 1 1 auto; justify-content: center; padding-inline: 10px; }
  .wfm-calc-inputs { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .wfm-calc-out { padding: 22px; }
  .wfm-calc-main output { font-size: 38px; }
  .wfm-ready-list li { grid-template-columns: minmax(0, 1fr); }
  .wfm-proc { padding: 18px; }
  .wfm-proc li b { padding-right: 0; }
  .wfm-proc li em { position: static; justify-self: start; margin-top: 4px; }
  .wfm-play span { padding: 9px 16px 9px 9px; font-size: 14px; }
  .wfm-play span i { width: 34px; height: 34px; }
  .wfm-lightbox { width: 100vw; max-width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; }
  .wfm-lightbox-body { max-height: calc(100vh - 62px); }
}
@media (max-width: 400px) {
  .wfm-page .site-header .wrap { gap: 10px; }
  .wfm-page .header-actions { gap: 6px; }
  .wfm-head-cta { padding-inline: 12px; font-size: 13.5px; }
  .wfm-page .brand { font-size: 18px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .wfm-caret { display: none; }
  .wfm-process .wfm-proc-new ol::after { top: calc(100% - 26px); }
}

/* 8. Pricing, and the trial line under the hero buttons */
.wfm-trial-note { margin-top: 14px; font-size: 15px; color: var(--muted); }
.wfm-trial-note b { color: var(--ink); font-variant-numeric: tabular-nums; }
.wfm-trial-note a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.wfm-cur { margin-top: 24px; display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); }
.wfm-cur button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); }
.wfm-cur button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.wfm-plans { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.wfm-plan { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); min-width: 0; }
.wfm-plan.is-rec { border: 2px solid var(--brand); padding: 23px; }
.wfm-plan h3 { font-size: 21px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wfm-rec { font: 700 11.5px/1 var(--text); letter-spacing: .05em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); }
.wfm-plan-for { color: var(--muted); font-size: 15px; margin-top: -6px; }
.wfm-price { display: flex; flex-direction: column; gap: 2px; }
.wfm-price b { font: 700 40px/1.05 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.wfm-price span { font-size: 14px; color: var(--muted); }
.wfm-plan-list { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-2); }
.wfm-plan-list li { display: flex; gap: 8px; align-items: flex-start; }
.wfm-plan-list .icon { margin-top: 3px; color: var(--ok); }
.wfm-plan-lead { color: var(--muted); font-size: 14px; }
.wfm-plan .btn { align-self: flex-start; margin-top: 4px; }
.wfm-rules { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wfm-rules li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 14px; color: var(--ink-2); }
.wfm-rules .icon { color: var(--ok); }
@media (max-width: 900px) { .wfm-plans { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   Same look as the Business Suite page (index.html + the sharp pass at the
   end of style.css): 4px corners, a 1px stroke instead of shadows, no pills,
   no glow, and the same hero, lede and tab sizes. Layout and copy unchanged.
   ===================================================================== */
.wfm-hero { padding-block: 56px 72px; }
@media (min-width: 1100px) { .wfm-hero { padding-top: 48px; } }
.wfm-category { margin-top: 10px; font: 600 16px/1.35 var(--text); color: var(--ink-2); letter-spacing: 0; }
.wfm-hero h1 { margin-top: 12px; font-size: clamp(32px, 4.6vw, 52px); font-weight: 650; letter-spacing: -.02em; line-height: 1.1; }
.wfm-hero h1 em { display: inline; }
.wfm-lede { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.wfm-actions { margin-top: 24px; }
.wfm-film-link { font-size: 14px; color: var(--brand); }
.wfm-capabilities { font-size: 14px; }

/* every surface: flat, 1px stroke, 4px corners */
.wfm-frame, .wfm-demo, .wfm-thread, .wfm-thread-steps button, .wfm-config-item, .wfm-sample-card, .wfm-sample-shot,
.wfm-status-line, .wfm-disclosure, .wfm-film, .wfm-proc, .wfm-proc li, .wfm-calc, .wfm-calc-empty, .wfm-closeup .wfm-zoom,
.wfm-engine-note, .wfm-ready-list, .wfm-data-note, .wfm-form-status, .wfm-plan, .wfm-lightbox, .wfm-lightbox-close,
.wfm-viewpoints li, .wfm-switch, .wfm-tablist, .wfm-cur { border-radius: 4px; box-shadow: none; }
.wfm-frame { border-color: var(--line); }
.wfm-viewpoints li { border: 1px solid var(--line); border-top: 3px solid var(--brand); background: var(--paper); }
.wfm-thread-steps button { background: var(--paper); }
.wfm-config-item[aria-pressed="true"] { background: var(--paper); border-color: var(--line); box-shadow: inset 3px 0 0 var(--brand); }
.wfm-config-item b::before, .wfm-demo-head b::before { border-radius: 2px; }

/* small labels: square tags, not pills */
.wfm-zoom-hint, .wfm-request-label, .wfm-checks li, .wfm-tag, .wfm-pill, .wfm-rec, .wfm-offer, .wfm-rules li, .wfm-proc li em, .wfm-switch button span { border-radius: 4px; }
.wfm-checks li, .wfm-tag, .wfm-pill, .wfm-rec, .wfm-proc li em { font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 12px; }
.wfm-step-mod, .wfm-proc-label { letter-spacing: .04em; font-weight: 600; }
.wfm-offer { padding: 6px 12px; font-size: 14px; }
.wfm-rules li { padding: 6px 12px; }
.wfm-zoom-hint { background: rgba(36, 36, 36, .86); font-weight: 600; }

/* segmented tabs = the Business Suite .b-group */
.wfm-tablist, .wfm-switch, .wfm-cur { gap: 4px; padding: 4px; border: 0; background: var(--bg); }
.wfm-tablist button, .wfm-switch button, .wfm-cur button, .wfm-demo-tabs button {
  min-height: 36px; padding: 8px 14px; border: 0; border-radius: 4px; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 500; box-shadow: none;
}
.wfm-tablist button:hover, .wfm-switch button:hover, .wfm-cur button:hover, .wfm-demo-tabs button:hover { background: var(--paper); color: var(--ink); }
.wfm-tablist button[aria-selected="true"], .wfm-switch button[aria-pressed="true"], .wfm-cur button[aria-pressed="true"], .wfm-demo-tabs button[aria-selected="true"] {
  background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); border-color: transparent;
}
.wfm-tablist button[aria-selected="true"] .icon { color: var(--brand); }
.wfm-demo-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 4px; background: var(--bg); }

/* the plan cards and featured plan, as on the Business Suite pricing */
.wfm-plan { padding: 24px; }
.wfm-plan.is-rec { border: 1px solid var(--brand); padding: 24px; box-shadow: inset 0 0 0 1px var(--brand); }
.wfm-plan h3 { font-size: 20px; }
.wfm-price b { font-size: 32px; font-weight: 600; letter-spacing: -.01em; }
.wfm-calc-figure output { font-weight: 600; letter-spacing: -.01em; }
.wfm-calc-main output { font-size: 36px; }
.wfm-control-steps li::before { border-radius: 4px; width: 32px; height: 32px; font-size: 14px; background: var(--paper); border: 1px solid var(--line-2); color: var(--ink); }
.wfm-control-steps li { grid-template-columns: 32px minmax(0, 1fr); }
.wfm-panel-copy h3, .wfm-import h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.01em; }
.wfm-thread-title { font-size: 17px; }

/* nothing glows, bounces or travels on its own */
.wfm-play span { border-radius: 4px; box-shadow: none; padding: 10px 16px 10px 10px; font-size: 15px; }
.wfm-play span i { border-radius: 4px; width: 36px; height: 36px; }
.wfm-play:hover span { transform: none; }
.wfm-play { background: rgba(36, 36, 36, .28); }
.wfm-proc-new ol::after { border-radius: 2px; box-shadow: none; transition: none; top: calc(100% - 26px); }
.wfm-proc li::before { border-radius: 2px; }