/* Homepage: attributed customer results and a shorter route to the product. */
.home .section { padding-block: 96px; }
.home h2 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.04; }
.home .hero { padding-top: 130px; }
.home .hero__copy { padding-bottom: 24px; }
.home .hero__lead { max-width: 540px; }
.home .hero__proof { flex-direction: column; gap: 16px; margin-top: 30px; }
.home .hero__proof p { margin: 0; padding: 0; border: 0; }
.home .platform-strip { margin-top: 40px; }

.home .customer-stories { background: var(--warm); border-block: 1px solid var(--line); }
.customer-stories__header { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; margin-bottom: 42px; }
.customer-stories__header h2 { margin-bottom: 0; }
.customer-stories__intro { max-width: 480px; padding-bottom: 5px; }
.customer-stories__intro p { margin-bottom: 22px; }
.customer-stories__intro .text-link { color: var(--ink); }
.customer-stories__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.customer-story { overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.customer-story--featured { grid-row: span 2; display: flex; flex-direction: column; }
.customer-story__image { height: 235px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--cream); }
.customer-story__image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.customer-story__body { display: flex; flex: 1; flex-direction: column; padding: 28px 32px; }
.customer-story__tag { margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.customer-story h3 { margin-bottom: 20px; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.1; }
.customer-story__result { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.customer-story__result strong { color: var(--teal-deep); font-size: clamp(40px, 4.2vw, 60px); line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.customer-story__result span { color: var(--ink-soft); font-size: 15px; }
.customer-story__period { margin: 12px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.customer-story__text { margin-bottom: 16px; font-size: 15px; line-height: 1.6; }
.customer-story__secondary { align-self: flex-start; margin: 0 0 24px; padding: 5px 10px; border-radius: 6px; background: var(--teal-soft); color: var(--teal-deep); font-size: 13px; font-weight: 650; }
.customer-story__link { display: flex; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); }
.customer-story__link:hover { color: var(--orange-dark); }
.customer-story__link:focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 5px; border-radius: 2px; }
.customer-story--featured .customer-story__body { padding: 34px; }
.customer-story--featured .customer-story__result { align-items: flex-start; flex-direction: column; gap: 10px; }
.customer-story--featured .customer-story__result strong { font-size: clamp(64px, 6.5vw, 90px); }
.customer-story--featured .customer-story__text { max-width: 440px; font-size: 17px; }
.customer-stories__note { display: flex; gap: 28px; margin-top: 26px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.customer-stories__note strong { flex-shrink: 0; font-weight: 650; }
.customer-stories__note p { margin: 0; }

.home .operating-sequence__layout::before { display: none; }
.home .operating-sequence__intro { gap: 60px; margin-bottom: 36px; }
.home .operating-sequence__stage { min-height: 156px; padding-block: 26px; }
.home .operating-sequence__content h3 { font-size: clamp(25px, 2.8vw, 35px); }
.home .product-tour .section-heading--center { margin-bottom: 38px; }
.home .evidence-comparison__intro { margin-bottom: 38px; }
.home .evidence-pipeline__stage-head { margin-bottom: 25px; }
.home .workflow-section { gap: 70px; }
.home .workflow-section__copy { position: static; }
.home .process-list li { padding-block: 22px; }
.home .use-cases { display: block; }
.home .use-cases__heading { position: static; max-width: 740px; margin-bottom: 36px; }
.home .use-case-stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 0; }
.home .use-case { display: block; min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.home .use-case__visual { display: none; }
.home .use-case h3 { margin-block: 14px 18px; font-size: 27px; }
.home .use-case p { font-size: 15px; }
.home .use-case ul { margin-bottom: 0; }
.home .pricing-section .section-heading { margin-bottom: 38px; }
.home .pricing-features { margin-bottom: 24px; }

.business-fit__heading { margin-bottom: 40px; }
.business-fit__heading h2 { margin-bottom: 0; }
.business-fit__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.business-fit__card { min-width: 0; padding: 36px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.business-fit__card--store { border-top: 3px solid var(--orange); }
.business-fit__card--company { background: var(--cream); }
.business-fit__tag { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.business-fit__card h3 { margin: 16px 0 20px; font-size: clamp(30px, 3vw, 42px); line-height: 1.08; }
.business-fit__card--company h3 { font-size: clamp(28px, 2.4vw, 34px); }
.business-fit__intro { margin-bottom: 30px; font-size: 16px; }
.business-fit__examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 28px 0 0; margin: 0; border-top: 1px solid var(--line); list-style: none; }
.business-fit__examples li { min-width: 0; }
.business-fit__examples strong { display: block; margin-bottom: 10px; color: var(--ink); font-size: 17px; }
.business-fit__examples p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.business-fit__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-dark); }
.business-fit__icon svg { width: 30px; height: 30px; }
.business-fit__examples li:nth-child(2) .business-fit__icon { background: var(--teal-soft); color: var(--teal-deep); }
.business-fit__examples li:nth-child(3) .business-fit__icon { background: var(--cream); color: var(--gold-dark); }
.business-fit__card--company .business-fit__examples { grid-template-columns: 1fr; gap: 22px; }
.business-fit__card--company .business-fit__examples strong { margin-bottom: 4px; font-size: 15px; }

@media (max-width: 1000px) {
    .business-fit__grid { grid-template-columns: 1fr; }
    .business-fit__card--company .business-fit__examples { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .business-fit__heading { margin-bottom: 28px; }
    .business-fit__card { padding: 26px 24px; }
    .business-fit__examples, .business-fit__card--company .business-fit__examples { grid-template-columns: 1fr; gap: 26px; }
    .business-fit__card--store .business-fit__examples li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
    .business-fit__icon { width: 44px; height: 44px; margin: 0; }
    .business-fit__icon svg { width: 26px; height: 26px; }
    .business-fit__examples strong { margin-bottom: 5px; }
}

@media (max-width: 900px) {
    .home .section { padding-block: 72px; }
    .home .hero { padding-top: 118px; }
    .customer-stories__header { grid-template-columns: 1fr; gap: 22px; }
    .customer-stories__intro { max-width: 640px; }
    .customer-stories__grid { grid-template-columns: 1fr 1fr; gap: 18px; }
    .customer-story--featured { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: .8fr 1fr; }
    .customer-story--featured .customer-story__image { height: 100%; min-height: 260px; border-bottom: 0; border-right: 1px solid var(--line); }
    .customer-story__body, .customer-story--featured .customer-story__body { padding: 26px; }
    .customer-stories__note { flex-direction: column; gap: 8px; }
    .home .use-case-stack { grid-template-columns: 1fr; gap: 16px; }
    .home .use-case { padding: 26px; }
    .home .operating-sequence__intro { gap: 26px; }
    .home .workflow-section { gap: 36px; }
}

@media (max-width: 640px) {
    .home .section { padding-block: 58px; }
    .home .shell { width: calc(100% - 36px); }
    .home h2 { font-size: clamp(36px, 9.8vw, 48px); }
    .home .eyebrow { margin-bottom: 20px; font-size: 10px; letter-spacing: .12em; }
    .home .hero { padding-top: 105px; }
    .home .hero h1 { font-size: clamp(48px, 14.5vw, 65px); line-height: .95; margin-bottom: 24px; }
    .home .hero__actions { gap: 18px; }
    .home .hero__actions .button { width: 100%; padding-inline: 15px; font-size: 14px; }
    .home .hero__proof { margin-top: 26px; padding: 0; border: 0; background: transparent; }
    .home .hero__trust-rail { display: none; }
    .home .hero__proof p { font-size: 14px; }
    .home .hero-product { margin-top: 0; }
    .home .app-preview__sidebar { display: none; }
    .home .app-preview__body { grid-template-columns: minmax(0, 1fr); }
    .home .platform-strip { margin-top: 28px; }
    .customer-stories__header { margin-bottom: 28px; }
    .customer-stories__grid { grid-template-columns: 1fr; gap: 18px; }
    .customer-story--featured { display: flex; grid-column: auto; }
    .customer-story--featured .customer-story__image { height: 175px; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .customer-story__body, .customer-story--featured .customer-story__body { padding: 24px; }
    .customer-story--featured .customer-story__result strong { font-size: 64px; }
    .customer-story h3 { font-size: 27px; }
    .customer-story__result { align-items: flex-start; flex-direction: column; gap: 8px; }
    .customer-story__result strong { font-size: 48px; }
    .customer-story--featured .customer-story__text { font-size: 15px; }
    .customer-story__period { font-size: 12px; }
    .home .operating-sequence__stage { min-height: 0; }
    .home .operating-sequence__content h3 { font-size: 25px; }
    .home .use-case h3 { font-size: 25px; }
    .home .cta-card { padding: 32px 24px; gap: 24px; }
}
