/* Homepage-only refinement. Shared public pages retain their existing layout. */
.public-home .home-nav-tools { display: none; }

.public-home .nav { padding-block: 20px; }
.public-home .nav-link,
.public-home .language-link,
.public-home .button { font-weight: 650; }
.public-home .button { min-height: 44px; }
.public-home .button.primary { box-shadow: 0 7px 18px rgba(0, 132, 255, .16); }
.public-home .button.primary:hover { box-shadow: 0 10px 24px rgba(0, 132, 255, .2); }
.public-home .eyebrow { font-weight: 700; letter-spacing: .07em; }
.public-home .hero { padding-bottom: 48px; }
.public-home .hero-copy { padding-top: 0; }
.public-home .lead { line-height: 1.65; }
.public-home .hero-actions { margin-top: 26px; }
.public-home .hero-reassurance {
    display: block;
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: none;
    color: #536579;
    font-weight: 500;
    line-height: 1.6;
}
.public-home .hero-reassurance::before { content: none; }
.public-home .hero-copy .store-downloads { margin-top: 24px; gap: 10px; }
.public-home .hero-copy .store-button { box-shadow: 0 5px 14px rgba(15, 23, 42, .08); }
.public-home .hero-visual-card { box-shadow: 0 18px 44px rgba(23, 32, 51, .1); }
.public-home .hero-floating-card {
    max-width: min(238px, 65%);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
    background: rgba(255, 255, 255, .9);
}
.public-home .hero-floating-card strong { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.25; }
.public-home .hero-floating-card small,
.public-home .hero-kpi-strip span { font-weight: 500; line-height: 1.5; }
.public-home .hero-floating-card span,
.public-home .hero-kpi-strip strong { font-weight: 700; }
.public-home .hero-kpi-strip { box-shadow: none; }

.public-home :is(.day-flow, .showcase, .pricing) { padding-block: 44px; }
.public-home .industry-band { box-shadow: 0 10px 32px rgba(15, 23, 42, .04); }
.public-home .section-heading { margin-bottom: 24px; }
.public-home :is(#features-heading, #pricing-heading) { scroll-margin-top: 8px; }

/* Content-led product overview; no screenshot column or nested feature cards. */
.public-home .product-overview {
    padding: clamp(24px, 3.4vw, 44px);
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    color: #f8fafc;
    background:
        radial-gradient(circle at 12% 0%, rgba(139, 92, 246, .18), transparent 32%),
        radial-gradient(circle at 92% 18%, rgba(255, 227, 239, .1), transparent 30%),
        #101827;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .12);
}
.public-home .overview-header { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.public-home .product-overview .eyebrow { color: #7bc8ff; }
.public-home .overview-header h2 { margin: 12px 0 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -.02em; }
.public-home #showcase-heading { scroll-margin-top: 40px; }
.public-home .overview-intro > p { margin: 0; color: #d0d9e5; font-size: 16px; line-height: 1.7; }
.public-home .overview-intro .overview-currency { margin-top: 14px; color: #b7c4d6; font-size: 13px; line-height: 1.6; }
.public-home .overview-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.public-home .overview-feature { min-width: 0; border-top: 1px solid rgba(255, 255, 255, .17); padding-top: 22px; }
.public-home .overview-feature > svg { display: block; width: 26px; height: 26px; margin-bottom: 16px; fill: none; stroke: #7bc8ff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.public-home :is(.overview-feature, .overview-app-copy) h3 { margin: 0; color: #f8fafc; font-size: 17px; font-weight: 650; line-height: 1.4; }
.public-home :is(.overview-feature, .overview-app-copy) p { margin: 9px 0 0; color: #bfcbdc; font-size: 14px; line-height: 1.7; }
.public-home .overview-app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr); gap: 36px; align-items: center; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .17); }
.public-home .overview-downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.public-home .overview-downloads .store-button { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-content: center; justify-items: start; gap: 6px 10px; width: 100%; min-width: 0; padding: 12px; border-color: #3e5169; background: #0b1424; box-shadow: none; }
.public-home .overview-downloads .store-button > span:not(.store-button-status) { min-width: 0; }
.public-home .overview-downloads .store-button svg { width: 24px; height: 24px; }
.public-home .overview-downloads .store-button strong { font-size: 15px; }
.public-home .overview-downloads .store-button-status { grid-column: 2; max-width: 100%; margin: 0; white-space: normal; }
.public-home .overview-downloads .store-button:hover { border-color: #7bc8ff; background: #17263b; }
.public-home .overview-downloads .store-button:focus-visible { outline: 3px solid #7bc8ff; outline-offset: 3px; }

@media (max-width: 980px) {
    .public-home .overview-header { grid-template-columns: 1fr; gap: 22px; }
    .public-home .overview-header h2 { max-width: 620px; }
    .public-home .overview-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
    .public-home .overview-app { grid-template-columns: 1fr; gap: 22px; }
    .public-home .overview-downloads { max-width: 540px; }
}

@media (max-width: 600px) {
    .public-home .product-overview { padding: 24px 20px; }
    .public-home .overview-intro > p { font-size: 14px; }
    .public-home .overview-features { grid-template-columns: 1fr; gap: 20px; margin-top: 26px; }
    .public-home .overview-feature { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding-top: 20px; }
    .public-home .overview-feature > svg { margin: 0; }
    .public-home .overview-app { margin-top: 26px; padding-top: 24px; }
    .public-home .overview-downloads { gap: 10px; }
    .public-home .overview-downloads .store-button { grid-template-columns: 18px minmax(0, 1fr); gap: 6px; padding: 10px; }
    .public-home .overview-downloads .store-button svg { width: 18px; height: 18px; }
    .public-home .overview-downloads .store-button strong { font-size: 13px; }
    .public-home .overview-downloads .store-button-status { grid-column: 1 / -1; }
}

@media (max-width: 360px) {
    .public-home .overview-downloads { grid-template-columns: 1fr; }
    .public-home .overview-downloads .store-button { grid-template-columns: 24px minmax(0, 1fr); }
    .public-home .overview-downloads .store-button-status { grid-column: 2; }
}

/* One open illustration sequence replaces the three text-heavy sections. */
.public-home .day-flow { --flow-blue: #0084ff; --flow-line: #bedcf4; }
.public-home .flow-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.public-home .flow-heading h2 { max-width: 620px; margin: 12px 0 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.18; letter-spacing: -.025em; }
.public-home .flow-heading #features-heading { scroll-margin-top: 40px; }
.public-home .flow-heading .button { flex: none; gap: 10px; }
.public-home .flow-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 38px 0 0; padding: 0; list-style: none; }
.public-home .flow-stage { min-width: 0; text-align: center; }
.public-home .flow-visual { display: block; width: min(240px, 100%); height: 180px; margin-inline: auto; overflow: visible; }
.public-home .flow-art-ground { fill: #edf4fa; }
.public-home .flow-art-paper { fill: #fff; stroke: #a8c8e1; stroke-width: 1.5; stroke-linejoin: round; }
.public-home .flow-art-tint { fill: #dfefff; }
.public-home .flow-art-blue,
.public-home .flow-art-badge { fill: var(--flow-blue); }
.public-home .flow-art-badge { stroke: #fff; stroke-width: 3; }
.public-home :is(.flow-art-rule, .flow-art-ink, .flow-art-blue-line, .flow-art-white, .flow-art-white-ring) { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.public-home .flow-art-rule { stroke: #b9d2e7; stroke-width: 2; }
.public-home .flow-art-ink { stroke: #436786; stroke-width: 4; }
.public-home .flow-art-blue-line { stroke: var(--flow-blue); stroke-width: 4; }
.public-home .flow-art-white { stroke: #fff; stroke-width: 2.5; }
.public-home .flow-art-white-fill { fill: #fff; }
.public-home .flow-art-white-ring { stroke: #fff; stroke-width: 1.5; }
.public-home .flow-position { position: relative; display: flex; align-items: center; justify-content: center; height: 32px; margin: 16px 0; }
.public-home .flow-position > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #005fb8; background: #e9f4fe; font-size: 12px; font-weight: 650; }
.public-home .flow-stage:not(:last-child) .flow-position::after { content: ""; position: absolute; left: calc(50% + 24px); right: calc(-50% + 0px); top: 15px; height: 1px; background: var(--flow-line); }
.public-home .flow-stage:not(:last-child) .flow-position::before { content: ""; position: absolute; right: 0; left: 100%; width: 5px; height: 5px; border-top: 1px solid #83b8e1; border-right: 1px solid #83b8e1; top: 13px; transform: rotate(45deg); }
.public-home .flow-caption h3 { margin: 0 0 8px; font-size: 20px; font-weight: 650; line-height: 1.3; }
.public-home .flow-caption p { max-width: 230px; margin: 0 auto; color: #5b6d80; font-size: 14px; line-height: 1.6; text-wrap: pretty; }
.public-home .flow-plan-note { margin: 26px 0 0; color: #5b6d80; text-align: center; font-size: 12px; line-height: 1.6; }

@media (prefers-reduced-motion: no-preference) {
    .public-home .flow-stage.is-flow-seen .flow-visual { animation: home-flow-appear 600ms both; animation-delay: calc(var(--flow-order) * 140ms); }
    .public-home .flow-stage.is-flow-seen .flow-position > span { animation: home-flow-highlight 850ms; animation-delay: calc(var(--flow-order) * 140ms); }
    @keyframes home-flow-appear { from { opacity: .65; transform: translateY(6px); } to { opacity: 1; transform: none; } }
    @keyframes home-flow-highlight { 40% { background: #0084ff; color: #fff; } }
}

@media (max-width: 760px) {
    .public-home .flow-heading { align-items: start; flex-direction: column; gap: 18px; }
    .public-home .flow-heading h2 { font-size: 28px; }
    .public-home .flow-track { grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 0; margin-top: 24px; }
    .public-home .flow-stage { display: grid; grid-template-columns: 32px 116px minmax(0, 1fr); align-items: center; gap: 18px; min-height: 146px; text-align: left; }
    .public-home .flow-visual { grid-column: 2; grid-row: 1; height: 120px; }
    .public-home .flow-position { grid-column: 1; grid-row: 1; height: 100%; margin: 0; }
    .public-home .flow-caption { grid-column: 3; grid-row: 1; padding-block: 16px; }
    .public-home .flow-caption p { max-width: none; margin: 0; }
    .public-home .flow-stage:not(:last-child) .flow-position::after { left: 15px; right: auto; top: calc(50% + 24px); bottom: calc(-50% + 24px); width: 1px; height: auto; }
    .public-home .flow-stage:not(:last-child) .flow-position::before { left: 13px; right: auto; top: calc(100% - 3px); transform: rotate(135deg); }
    .public-home .flow-plan-note { margin-top: 14px; text-align: left; }
    .public-home .flow-stage.is-flow-seen :is(.flow-visual, .flow-position > span) { animation-delay: 0ms; }
    @keyframes home-flow-appear { from { opacity: .65; } to { opacity: 1; } }
}

@media (max-width: 430px) {
    .public-home .flow-stage { grid-template-columns: 28px 100px minmax(0, 1fr); column-gap: 10px; min-height: 124px; }
    .public-home .flow-position > span { width: 28px; height: 28px; }
    .public-home .flow-stage:not(:last-child) .flow-position::after { left: 13px; }
    .public-home .flow-stage:not(:last-child) .flow-position::before { left: 11px; }
    .public-home .flow-visual { height: 100px; }
    .public-home .flow-caption h3 { font-size: 17px; }
    .public-home .flow-caption p { font-size: 13px; }
}

@media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
    .public-home.home-parallax::before { transform: translateY(var(--home-background-y, 0px)) rotate(-12deg); }
    .public-home.home-parallax .hero-visual-card > img { transform: translateY(var(--home-image-y, 0px)) scale(1.05); }
    .public-home.home-parallax .hero-floating-card.top { transform: translateY(var(--home-card-top-y, 0px)); }
    .public-home.home-parallax .hero-floating-card.bottom { transform: translateY(var(--home-card-bottom-y, 0px)); }
}

@media (max-width: 980px) {
    .public-home .nav.is-enhanced {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0 12px;
        padding-block: 12px;
        position: relative;
    }
    .public-home .nav.is-enhanced .home-nav-tools { display: flex; align-items: center; gap: 10px; }
    .public-home .home-nav-tools .button { flex: none; white-space: nowrap; padding-inline: 12px; font-size: 13px; }
    .public-home .home-nav-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid #dce5ef;
        border-radius: 8px;
        background: #fff;
        color: var(--ink);
        cursor: pointer;
    }
    .public-home .home-nav-toggle span { width: 17px; height: 1.5px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
    .public-home .home-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .public-home .home-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .public-home .home-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
    .public-home .nav.is-enhanced :is(.nav-center, .nav-actions) { grid-column: 1 / -1; width: 100%; }
    .public-home .nav.is-enhanced:not(.is-menu-open) :is(.nav-center, .nav-actions) { display: none; }
    .public-home .nav.is-menu-open .nav-center { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 16px; order: 1; }
    .public-home .nav.is-menu-open .nav-link { display: grid; place-items: center; min-height: 44px; padding: 8px; text-align: center; font-size: 14px; }
    .public-home .nav.is-menu-open .nav-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 12px; order: 2; }
    .public-home .nav.is-menu-open .language-switcher { flex: 1; width: auto; display: flex; }
    .public-home .nav.is-menu-open .language-link { min-height: 44px; display: grid; place-items: center; flex: 1; }
    .public-home .nav.is-menu-open .nav-actions > .button:not(.primary) { flex: 0 0 auto; width: auto; padding-inline: 16px; }
    .public-home .nav.is-menu-open .nav-actions > .primary { display: none; }
    .public-home .hero { gap: 32px; }
    .public-home :is(#features-heading, #pricing-heading) { scroll-margin-top: 0; }
}

@media (max-width: 600px) {
    .public-home .brand { font-size: 17px; gap: 7px; }
    .public-home .brand-icon { width: 32px; height: 32px; }
    .public-home .home-nav-tools .button { padding-inline: 10px; font-size: 12px; }
    .public-home .nav.is-enhanced .home-nav-tools { gap: 7px; }
    .public-home .hero { padding-top: 32px; padding-bottom: 32px; }
    .public-home .hero-actions { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); max-width: none; gap: 8px; margin-top: 22px; }
    .public-home .hero-actions .button { font-size: 13px; padding: 10px 8px; line-height: 1.4; }
    .public-home .hero-copy .store-downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; gap: 8px; }
    .public-home .hero-copy .store-button { display: grid; grid-template-columns: 19px minmax(0, 1fr); min-width: 0; padding: 10px; gap: 6px; align-content: center; justify-items: start; }
    .public-home .hero-copy .store-button svg { width: 19px; height: 19px; }
    .public-home .hero-copy .store-button strong { font-size: 14px; }
    .public-home .hero-copy .store-button-status { grid-column: 1 / -1; max-width: 100%; margin-left: 0; white-space: normal; }
    .public-home .hero-floating-card { max-width: calc(100% - 32px); padding: 12px; }
    .public-home .hero-floating-card.top { top: 16px; left: 16px; }
    .public-home .hero-floating-card.bottom { right: 16px; bottom: 96px; }
    .public-home .hero-kpi-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); left: 12px; right: 12px; bottom: 12px; }
    .public-home .hero-kpi-strip div { padding: 10px 6px; }
    .public-home .hero-kpi-strip strong { font-size: 13px; }
    .public-home .hero-kpi-strip span { font-size: 11px; }
    .public-home :is(.day-flow, .showcase, .pricing) { padding-block: 30px; }
}

@media (max-width: 360px) {
    .public-home .flow-stage { grid-template-columns: 28px 78px minmax(0, 1fr); }
    .public-home .brand { font-size: 15px; gap: 5px; }
    .public-home .brand-icon { width: 26px; height: 26px; }
    .public-home .nav.is-enhanced { column-gap: 6px; }
    .public-home .home-nav-tools .button { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .public-home .home-nav-toggle span { transition: none; }
}

/* Local, sample-data product demos. */
.public-home .ff-insights { padding-block: 36px 44px; }
.public-home .ff-demo [hidden] { display: none !important; }
.public-home .ff-demo-copy { color: #5b6d80; line-height: 1.7; margin: 16px 0 0; }
.public-home .ff-demo-shell { margin-top: 28px; border: 1px solid #d4e4f1; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 18px 55px #244d7710; }
.public-home .ff-demo-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 18px 26px; border-bottom: 1px solid #e6eef5; background: #f9fcff; }
.public-home .ff-demo-bar small { color: #5b6d80; font-size: 11px; }
.public-home .ff-demo-brand { font-weight: 750; color: #0076e5; }
.public-home .ff-demo-brand span { color: #7890a5; font-weight: 450; margin-left: 8px; }
.public-home .ff-demo-body { display: grid; grid-template-columns: 1fr 1.1fr; }
.public-home :is(.ff-flow-story, .ff-questions) { padding: 32px; background: linear-gradient(135deg,#f5faff,#fff); }
.public-home .ff-demo-options { display: flex; gap: 6px; flex-wrap: wrap; }
.public-home .ff-demo button { font: inherit; cursor: pointer; touch-action: manipulation; }
.public-home .ff-demo button:focus-visible { outline: 3px solid #0084ff; outline-offset: 4px; }
.public-home .ff-demo-options button { border: 1px solid transparent; padding: 10px 14px; border-radius: 10px; background: transparent; color: #52677c; font-size: 13px; }
.public-home .ff-demo-options button[aria-pressed=true] { background: #e6f3ff; color: #0066c6; border-color: #bcddfc; font-weight: 650; }
.public-home .ff-demo-path { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.public-home .ff-demo-path li { display: flex; gap: 14px; align-items: center; font-size: 15px; }
.public-home .ff-demo-path li span { display: grid; place-items: center; border-radius: 50%; background: #e8f3fd; color: #006ecf; width: 30px; height: 30px; font-size: 12px; position: relative; }
.public-home .ff-demo-path li:not(:last-child) span::after { content: ''; position: absolute; top: 34px; height: 14px; width: 1px; background: #bbd8ee; }
.public-home .ff-demo-path li.is-complete span { background: #0084ff; color: #fff; }
.public-home .ff-pos { padding: 36px; align-self: center; }
.public-home .ff-pos-item { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.public-home .ff-item-icon { display: grid; place-items: center; width: 52px; height: 60px; border-radius: 14px; color: #0084ff; background: #edf7ff; font-size: 30px; }
.public-home .ff-pos-item strong { font-size: 15px; }
.public-home .ff-pos-item small { display: block; margin-top: 6px; color: #61758a; }
.public-home .ff-add { margin-left: auto; border: 1px solid #cce2f4; color: #0069c9; background: #fff; border-radius: 9px; padding: 9px 12px; font-size: 12px !important; }
.public-home .ff-add:disabled { opacity: .5; cursor: default; }
.public-home .ff-bill { display: grid; gap: 16px; border-top: 1px dashed #d5e2ec; margin-top: 25px; padding-top: 20px; }
.public-home .ff-bill > span { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #53677c; font-size: 13px; }
.public-home .ff-bill strong { color: #122840; font-size: 24px; letter-spacing: -.04em; }
.public-home .ff-primary { width: 100%; margin-top: 24px; padding: 13px; background: #007df0; color: #fff; border: 0; border-radius: 10px; font-size: 14px; }
.public-home .ff-text-button { border: 0; padding: 12px 0; background: transparent; color: #006acb; font-size: 13px !important; text-align: left; }
.public-home .ff-sale-result { padding: 16px 0 0; color: #177456; font-size: 14px; }
.public-home .ff-questions h3, .public-home .ff-report h3 { margin: 0; font-size: 20px; }
.public-home .ff-questions p, .public-home .ff-report p { color: #61758a; font-size: 14px; line-height: 1.65; margin: 10px 0 22px; }
.public-home .ff-questions > button { display: flex; justify-content: space-between; width: 100%; text-align: left; border: 1px solid #e0ebf4; background: #fff; border-radius: 10px; padding: 13px 16px; margin-top: 9px; color: #435e76; font-size: 14px; gap: 16px; }
.public-home .ff-questions > button[aria-pressed=true] { color: #0065c3; border-color: #abd5fb; background: #edf7ff; }
.public-home .ff-answer { padding: 32px 36px; align-self: center; }
.public-home .ff-answer-mark { font-size: 24px; color: #0084ff; }
.public-home .ff-answer h3 { font-size: 17px; margin: 14px 0 22px; line-height: 1.5; }
.public-home .ff-answer small { color: #61758a; }
.public-home .ff-metrics { display: flex; gap: 24px; flex-wrap: wrap; margin: 18px 0; }
.public-home .ff-metrics > div { flex: 1; min-width: 110px; }
.public-home .ff-metrics small { display: block; font-size: 12px; color: #61758a; margin-bottom: 10px; }
.public-home .ff-metrics strong { font-size: clamp(22px,2.5vw,30px); letter-spacing: -.04em; white-space: nowrap; }
.public-home .ff-ranking { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e7eef5; padding: 17px 0; font-size: 14px; }
.public-home .ff-ranking b { color: #006acb; }
.public-home .ff-report { padding: 30px 36px; }
.public-home .ff-report-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.public-home .ff-table-wrap { overflow-x: auto; }
.public-home .ff-report table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 20px; }
.public-home .ff-report th { background: #f4f8fc; color: #536b82; font-weight: 500; }
.public-home .ff-report :is(th,td) { padding: 14px; border-bottom: 1px solid #e6eef5; text-align: left; }
.public-home .ff-report :is(th,td):last-child { text-align: right; }
.public-home .ff-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 760px) {
    .public-home .ff-demo-body { grid-template-columns: 1fr; }
    .public-home :is(.ff-flow-story,.ff-questions,.ff-pos,.ff-answer,.ff-report) { padding: 24px 20px; }
    .public-home .ff-demo-bar { padding: 16px 20px; }
    .public-home .ff-demo-path { gap: 16px; }
    .public-home .ff-report-head { flex-direction: column; gap: 0; }
    .public-home .ff-insights { padding-block: 24px; }
}
.public-home #insights-heading { scroll-margin-top: 110px; }
.public-home .ff-sale-result a { display: inline-block; }
.public-home .ff-report table { min-width: 530px; }
@media (prefers-reduced-motion: no-preference) {
    .public-home :is([data-path], [data-answer], [data-report-panel]):not([hidden]) { animation: ff-demo-in 220ms ease-out; }
    @keyframes ff-demo-in { from { opacity: .5; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}

/* Open illustrations: services and retail are alternative starting points. */
.public-home .illustrated-flow { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 26px; margin-top: 42px; align-items: start; }
.public-home .illustrated-entries { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.public-home .illustrated-stage { display: block; min-width: 0; text-align: center; position: relative; }
.public-home .illustrated-stage .flow-caption { margin-top: 22px; padding: 0; }
.public-home .illustrated-entry-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; color: #607c94; font-size: 12px; text-align: center; }
.public-home .illustrated-entry-note::before, .public-home .illustrated-entry-note::after { content: ''; height: 10px; flex: 1; border-bottom: 1px solid #bedcf4; }
.public-home .illustrated-entry-note::before { border-left: 1px solid #bedcf4; border-radius: 0 0 0 5px; }
.public-home .illustrated-entry-note::after { border-right: 1px solid #bedcf4; border-radius: 0 0 5px 0; }
.public-home .illustrated-next::before { content: '→'; position: absolute; left: -24px; top: 84px; color: #83b8e1; font-size: 23px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .public-home .illustrated-stage .flow-visual { transition: transform 220ms ease; }
    .public-home .illustrated-stage:hover .flow-visual { transform: translateY(-5px); }
}
@media (max-width: 760px) {
    .public-home .illustrated-flow { grid-template-columns: 1fr 1fr; gap: 30px 16px; margin-top: 26px; }
    .public-home .illustrated-entries { grid-column: 1 / -1; gap: 18px 16px; }
    .public-home .illustrated-stage .flow-visual { height: auto; }
    .public-home .illustrated-stage .flow-caption { margin-top: 12px; }
    .public-home .illustrated-stage h3 { font-size: 18px; }
    .public-home .illustrated-stage p { font-size: 13px; }
    .public-home .illustrated-next::before { display: none; }
}

/* Actual back-office recording, with optional chapter playback. */
.public-home .ff-recording-layout { grid-template-columns: minmax(240px, .65fr) minmax(0, 1fr); align-items: center; }
.public-home .ff-recording-copy { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.public-home .ff-recording-copy .eyebrow { font-size: 10px; margin-bottom: 20px; }
.public-home .ff-recording-copy h3 { font-size: 26px; }
.public-home .ff-recording-player { min-width: 0; background: #eef3f8; }
.public-home .ff-recording-player video { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.public-home .ff-recording-chapters { display: grid; gap: 8px; margin: 8px 0 18px; }
.public-home .ff-recording-chapters button { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid #dce8f3; background: #fff; border-radius: 10px; padding: 12px 14px; color: #435e76; text-align: left; font-size: 13px; line-height: 1.6; }
.public-home .ff-recording-chapters button[aria-pressed=true] { border-color: #abd5fb; background: #edf7ff; color: #0065c3; }
.public-home .ff-recording-copy > .ff-recording-play { background: #007df0; color: white; border: 0; justify-content: center; }
.public-home .ff-recording-copy .ff-recording-note { font-size: 11px; margin: 10px 0 0; }
@media (max-width: 760px) {
    .public-home .ff-recording-layout { grid-template-columns: 1fr; }
    .public-home .ff-recording-copy .eyebrow { margin-bottom: 10px; }
    .public-home .ff-recording-copy h3 { font-size: 23px; }
}

.public-home .ask-motion-frame { display: block; width: 100%; height: 820px; border: 0; background: transparent; }
@media(max-width:680px) { .public-home .ask-motion-frame { height: 960px; } }

/* Homepage insights: compact demo beside the introduction. */
.public-home .ff-insights { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.public-home .ff-insights-player { min-width: 0; }
.public-home .ff-insights-copy { max-width: 430px; }
.public-home .ff-insights-player .ask-motion-frame { height: 570px; }
@media (max-width: 900px) {
    .public-home .ff-insights { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .public-home .ff-insights-copy { grid-row: 1; max-width: 620px; }
}

.public-home .ff-insights-cta { margin-top: 26px; min-height: 48px; padding: 6px 10px 6px 20px; gap: 18px; border-radius: 12px; }
.public-home .ff-insights-cta-arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .16); font-size: 20px; font-weight: 500; }
.public-home .ff-insights-cta:focus-visible { outline: 3px solid #087ff2; outline-offset: 4px; }

/* Font-only refinement: no sizing, spacing, or wrapping overrides. */
.public-home :is(.hero h1, .section-heading h2, .flow-heading h2, .overview-header h2, .plan h3) { font-weight: 650; }
.public-home :is(.button, .nav-link, .language-link, .hero-platform h2) { font-weight: 600; }

/* Quiet transition from the daily workflow to business insights. */
.public-home .flow-insights-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    width: min(760px, 88%);
    height: 24px;
    margin-inline: auto;
    pointer-events: none;
}
.public-home .flow-insights-divider::before,
.public-home .flow-insights-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #b9dcf8);
}
.public-home .flow-insights-divider::after { transform: scaleX(-1); }
.public-home .flow-insights-divider > span {
    flex: 0 0 8px;
    height: 8px;
    border-radius: 2px;
    background: linear-gradient(135deg, #16d6f7, #0084ff);
    box-shadow: 0 0 0 6px rgba(0, 132, 255, .055);
    transform: rotate(45deg);
}
