/* Public feature stories. Scoped to the welcome pages; ERP styles are untouched. */
.wf-overview, .wf-page { --wf-radius: 16px; }
.wf-overview svg, .wf-page svg { width: 24px; height: 24px; flex: none; }
.wf-overview :is(h2,h3,p,a), .wf-page :is(h1,h2,h3,p,a,button,summary,strong) { overflow-wrap: anywhere; }
.wf-overview :is(.w-button,.wf-text-link) svg, .wf-page :is(.w-button,.wf-text-link) svg { width: 18px; height: 18px; }
.wf-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--blue); }
.wf-text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--blue-deep) !important; font-size: 14px; font-weight: 500; }
.wf-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.wf-preview-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.wf-preview-heading > div { max-width: 770px; }
.wf-preview-heading > .w-button { flex: none; }
.wf-preview-heading .w-section-intro { max-width: 64ch; }
.wf-preview-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-top: 32px; }
.wf-preview-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.wf-preview-card:hover { border-color: var(--blue); }
.wf-preview-card:hover .wf-text-link { text-decoration: underline; text-underline-offset: 4px; }
.wf-preview-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--paper); }
.wf-preview-media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wf-preview-symbol { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--blue); }
.wf-preview-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 25px; }
.wf-preview-copy h3 { font-size: 26px; line-height: 1.2; letter-spacing: -.025em; }
.wf-preview-copy p { margin-block: 12px 18px; color: var(--muted); font-size: 16px; }
.wf-preview-copy .wf-text-link { margin-top: auto; }
.wf-page .w-primary a[aria-current] { color: var(--blue); }
.wf-hero { background: var(--pale-blue); }
.wf-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(26px,4vw,60px); align-items: center; padding-block: clamp(32px,4.7vw,68px); }
.wf-back { display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 16px; color: var(--muted) !important; font-size: 13px; font-weight: 500; }
.wf-back:hover { color: var(--blue) !important; }
.wf-hero-copy .w-kicker { display: flex; }
.wf-hero h1 { margin-block: 17px 20px; font-size: clamp(40px,4.7vw,67px); line-height: 1.08; font-weight: 400; letter-spacing: -.04em; }
.wf-lead { max-width: 54ch; color: var(--muted); font-size: clamp(16px,1.4vw,19px); }
.wf-hero .w-actions { gap: 13px 22px; }
.wf-hero-photo { border-radius: 20px; overflow: hidden; background: var(--yellow); }
.wf-hero-photo > img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.wf-photo-caption { display: flex; align-items: center; gap: 13px; padding: 18px 23px; font-size: 16px; font-weight: 500; line-height: 1.3; }
.wf-photo-caption img { flex: none; }
.wf-section-nav { position: sticky; top: 0; z-index: 10; padding-block: 12px; border-block: 1px solid var(--line); background: var(--paper); }
.wf-menu-label { margin-bottom: 9px !important; color: var(--muted); font-size: 12px; font-weight: 500; }
.wf-menu-links { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.wf-menu-link { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 80px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.wf-menu-icon { display: grid; place-items: center; flex: none; width: 32px; height: 36px; color: var(--blue); }
.wf-menu-icon svg { width: 24px; height: 24px; }
.wf-menu-copy { display: grid; gap: 5px; min-width: 0; }
.wf-menu-copy strong { font-size: 14px; font-weight: 500; line-height: 1.25; }
.wf-menu-copy small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.wf-menu-link:hover { border-color: var(--blue); background: var(--pale-blue); }
.wf-menu-link[aria-current="location"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.wf-menu-link[aria-current="location"] .wf-menu-icon { color: var(--yellow); }
.wf-menu-link[aria-current="location"] small { color: #eef1ff; }
.wf-menu-toggle { display: none; width: 100%; align-items: center; justify-content: space-between; gap: 15px; min-height: 64px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--navy); font: inherit; text-align: start; cursor: pointer; }
.wf-menu-toggle-copy { display: grid; gap: 3px; min-width: 0; }
.wf-menu-toggle-copy > span { font-size: 15px; font-weight: 500; }
.wf-menu-toggle-copy small { color: var(--muted); font-size: 12px; line-height: 1.3; }
.wf-menu-chevron { color: var(--blue); }
.wf-menu-toggle[aria-expanded="true"] .wf-menu-chevron { transform: rotate(180deg); }
.wf-page [id] { scroll-margin-top: calc(var(--wf-nav-height, 120px) + 16px); }
.wf-page [role="tabpanel"]:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wf-flow [role="tabpanel"]:focus-visible { outline-color: var(--yellow); }
.wf-section-heading { margin-bottom: 32px; }
.wf-section-heading .w-section-intro { max-width: 70ch; }
.wf-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 7px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.wf-tabs button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 12px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.wf-tabs button:hover { background: #fff; color: var(--blue); }
.wf-tabs button[aria-selected="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.wf-model-panel { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: clamp(24px,3vw,42px); align-items: center; padding: clamp(25px,3vw,38px); margin-top: 16px; border: 1px solid var(--line); border-radius: var(--wf-radius); }
.wf-eyebrow { color: var(--blue-deep); font-size: 12px; font-weight: 500; letter-spacing: .06em; }
.wf-model-copy h3 { max-width: 24ch; margin-block: 12px 15px; font-size: clamp(28px,3vw,41px); letter-spacing: -.04em; line-height: 1.13; }
.wf-model-copy > p:not(.wf-eyebrow) { color: var(--muted); font-size: 16px; }
.wf-checks { display: grid; gap: 14px; margin-top: 25px !important; padding: 0; list-style: none; }
.wf-checks li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; }
.wf-checks svg { width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }
.wf-motion-row { display: flex; justify-content: flex-end; margin-top: 8px; }
.wf-motion-toggle { min-height: 44px; padding: 8px 4px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.wf-flow { background: var(--navy); color: #fff; }
.wf-flow .w-kicker, .wf-flow .wf-eyebrow { color: var(--yellow); }
.wf-flow .w-section-intro { color: #dce3ff; }
.wf-flow :is(button,a):focus-visible { outline-color: var(--yellow); }
.wf-steps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin-top: 32px; }
.wf-steps button { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 112px; padding: 17px; border: 1px solid #505a8c; border-radius: 10px; background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 500; line-height: 1.35; text-align: start; cursor: pointer; }
.wf-steps button span { color: #b8c6ff; font-size: 13px; font-weight: 500; }
.wf-steps button:hover { border-color: var(--yellow); }
.wf-steps button[aria-selected="true"] { border-color: var(--yellow); background: var(--yellow); color: var(--navy); }
.wf-steps button[aria-selected="true"] span { color: var(--navy); }
.wf-step-panel { display: grid; grid-template-columns: 96px minmax(0,1fr) 120px; gap: 30px; align-items: center; min-height: 240px; margin-top: 16px; padding: 32px; border: 1px solid #505a8c; border-radius: 14px; }
.wf-step-number { align-self: start; color: var(--yellow); font-size: 70px; font-weight: 500; line-height: 1; letter-spacing: -.06em; }
.wf-step-panel h3 { margin-block: 10px 14px; font-size: clamp(24px,2.7vw,36px); line-height: 1.2; letter-spacing: -.03em; }
.wf-step-panel p:not(.wf-eyebrow) { max-width: 70ch; color: #e0e6ff; font-size: 16px; }
.wf-step-symbol { display: grid; place-items: center; width: 120px; height: 120px; border: 1px solid #505a8c; border-radius: 50%; color: var(--yellow); }
.wf-step-symbol svg { width: 54px; height: 54px; }
.wf-flow-note { max-width: 85ch; margin-top: 17px !important; color: #bfc8ea; font-size: 13px; }
.wf-module-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.wf-module { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px,2.5vw,32px); border: 1px solid var(--line); border-radius: var(--wf-radius); background: #fff; }
.wf-module:nth-child(3n+2) { background: var(--paper); }
.wf-module h3 { margin-block: 22px 12px; font-size: 23px; font-weight: 500; line-height: 1.2; letter-spacing: -.03em; }
.wf-module > p { margin-bottom: 20px; color: var(--muted); font-size: 15px; }
.wf-module details { width: 100%; margin-top: auto; border-top: 1px solid var(--line); }
.wf-module summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding-top: 4px; color: var(--blue-deep); font-size: 13px; font-weight: 500; list-style: none; cursor: pointer; }
.wf-module summary::-webkit-details-marker, .wf-faq summary::-webkit-details-marker { display: none; }
.wf-module summary::after, .wf-faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; line-height: 1; }
.wf-module details[open] summary::after, .wf-faq details[open] summary::after { content: "−"; }
.wf-module details ul { display: grid; gap: 9px; padding: 5px 0 0 18px; color: var(--muted); font-size: 14px; }
.wf-lifestyle { padding-block: clamp(35px,5vw,70px); background: var(--pale-yellow); }
.wf-lifestyle-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(26px,6vw,80px); }
.wf-lifestyle-grid > img { display: block; width: 100%; height: auto; border-radius: var(--wf-radius); }
.wf-lifestyle h2 { margin-top: 12px; font-size: clamp(31px,3.8vw,52px); font-weight: 400; line-height: 1.12; letter-spacing: -.03em; }
.wf-team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.wf-team-grid article { display: flex; flex-direction: column; align-items: flex-start; padding: 27px; border: 1px solid var(--line); border-radius: var(--wf-radius); background: var(--pale-blue); }
.wf-team-grid article:nth-child(2) { background: var(--pale-yellow); border-color: #ebd7a7; }
.wf-team-grid article:nth-child(3) { background: var(--paper); }
.wf-team-number { color: var(--blue); font-size: 13px; font-weight: 500; }
.wf-team-grid h3 { margin-block: 24px 12px; font-size: 24px; line-height: 1.2; letter-spacing: -.03em; }
.wf-team-grid p { margin-bottom: 20px; color: var(--muted); font-size: 15px; }
.wf-team-grid .wf-text-link { margin-top: auto; }
.wf-faq { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: clamp(24px,6vw,80px); border-top: 1px solid var(--line); padding-top: 52px; }
.wf-faq h2 { font-size: clamp(31px,3vw,44px); }
.wf-faq details { border-bottom: 1px solid var(--line); }
.wf-faq details:first-child { border-top: 1px solid var(--line); }
.wf-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 21px; font-size: 16px; font-weight: 500; cursor: pointer; list-style: none; }
.wf-faq details p { margin-bottom: 22px; color: var(--muted); font-size: 15px; }
.wf-cta { padding-block: 52px; background: var(--blue); color: #fff; }
.wf-cta > .w-wrap { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.wf-cta h2 { max-width: 24ch; font-size: clamp(30px,3.4vw,46px); line-height: 1.14; letter-spacing: -.04em; }
.wf-cta p { max-width: 65ch; margin-top: 14px; color: #ebeeff; font-size: 16px; }
.wf-cta .w-button { flex: none; }
.wf-cta a:focus-visible { outline-color: var(--yellow); }
.wf-page .w-footer { border-top-color: #414b7e; }
.wf-page .w-skip { z-index: 20; }
.wf-reveal-pending { opacity: 0; transform: translateY(14px); }
.wf-revealed { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }

@media (max-width: 1020px) {
  .wf-module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wf-model-panel { gap: 24px; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); }
  .wf-preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wf-step-panel { grid-template-columns: 70px minmax(0,1fr) 80px; gap: 20px; }
  .wf-step-symbol { width: 80px; height: 80px; }
  .wf-step-symbol svg { width: 40px; height: 40px; }
  .wf-steps button { padding: 14px; }
}
@media (max-width: 760px) {
  .wf-hero-grid, .wf-model-panel, .wf-lifestyle-grid, .wf-faq { grid-template-columns: minmax(0,1fr); }
  .wf-team-grid { grid-template-columns: minmax(0,1fr); }
  .wf-hero-photo { max-width: 600px; }
  .wf-hero-grid { padding-block: 22px 32px; gap: 27px; }
  .wf-hero h1 { font-size: clamp(40px,7.5vw,60px); }
  .wf-back { margin-bottom: 8px; }
  .wf-tabs button { flex-direction: column; gap: 6px; padding: 11px 7px; font-size: 13px; }
  .wf-tabs button svg { width: 22px; height: 22px; }
  .wf-model-panel { padding: 25px; gap: 25px; }
  .wf-steps { display: flex; overflow-x: auto; gap: 8px; padding: 4px 3px 12px; margin-inline: -3px; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .wf-steps button { width: 157px; min-height: 105px; flex: none; }
  .wf-step-panel { grid-template-columns: 50px minmax(0,1fr); padding: 25px; gap: 18px; min-height: 250px; }
  .wf-step-number { font-size: 48px; }
  .wf-step-symbol { display: none; }
  .wf-team-grid article { padding: 25px; }
  .wf-team-grid h3 { margin-top: 14px; }
  .wf-faq { gap: 25px; }
  .wf-cta > .w-wrap { flex-direction: column; align-items: flex-start; gap: 25px; }
}
@media (max-width: 540px) {
  .wf-section-heading { margin-bottom: 24px; }
  .wf-photo-caption { padding: 16px; font-size: 14px; }
  .wf-photo-caption img { width: 32px; height: 32px; }
  .wf-model-panel { padding: 23px 18px 18px; }
  .wf-model-copy h3 { font-size: 29px; }
  .wf-checks li { font-size: 14px; }
  .wf-tabs { gap: 3px; padding: 4px; }
  .wf-tabs button { padding-inline: 4px; font-size: 12px; }
  .wf-step-panel { grid-template-columns: minmax(0,1fr); padding: 24px; }
  .wf-step-number { font-size: 38px; }
  .wf-module-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .wf-module { padding: 25px; }
  .wf-module h3 { margin-top: 18px; }
  .wf-faq summary { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .wf-page *, .wf-overview * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .wf-reveal-pending { opacity: 1; transform: none; }
}
@media (max-width: 960px) {
  .wf-section-nav { position: static; padding-block: 8px; }
  .wf-section-nav[data-menu-ready] { position: sticky; }
  .wf-section-nav[data-menu-ready] .wf-menu-label { display: none; }
  .wf-menu-toggle { display: flex; }
  .wf-menu-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .wf-section-nav[data-menu-ready] .wf-menu-links { max-height: min(65dvh,420px); margin-top: 8px; padding: 3px 3px 6px; margin-inline: -3px; overflow-y: auto; overscroll-behavior-y: contain; }
  .wf-menu-link { min-height: 70px; }
  .wf-preview-heading { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
  .wf-preview-grid { grid-template-columns: minmax(0,1fr); gap: 18px; margin-top: 25px; }
  .wf-preview-media { aspect-ratio: 16/9; }
  .wf-preview-copy { padding: 23px; }
}
@media (max-width: 600px) {
  .wf-menu-links { grid-template-columns: minmax(0,1fr); }
  .wf-menu-link { min-height: 65px; padding: 10px 13px; }
  .wf-menu-icon { width: 30px; }
}

