/* Company and software overviews. Shared chrome and components live in lp.css. */
.company-home main [id], .software-overview main [id] { scroll-margin-top: 90px; }
.overview-intro { max-width: 76ch; }
.overview-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 24px; }
.overview-link {
    color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand);
    text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.overview-link:hover { color: var(--brand-deep); }
.overview-note { font-size: calc(15px * var(--a11y-text-scale, 1)); margin-top: 16px; }
.overview-alias { display: block; height: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.section-head h2 { margin: 0; max-width: 24ch; }
.section-head p { max-width: 46ch; font-size: calc(16px * var(--a11y-text-scale, 1)); }
.section-head .overview-link { white-space: nowrap; }

/* home: hero */
.company-home .home-hero { padding: 64px 0 56px; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.home-hero h1 { max-width: 15ch; }
.home-hero h1 .hl { color: var(--brand); white-space: nowrap; }
.home-hero .lead { font-size: calc(20px * var(--a11y-text-scale, 1)); color: #334155; max-width: 58ch; margin: 22px 0 32px; }
.hero-facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; padding-top: 14px; border-top: 1.5px solid var(--ink); max-width: 680px; }
.hero-facts strong { display: block; font-family: var(--mono); font-size: calc(13.5px * var(--a11y-text-scale, 1)); font-weight: 600; }
.hero-facts span { display: block; font-size: calc(14px * var(--a11y-text-scale, 1)); color: var(--ink-soft); line-height: 1.4; }
.hero-device { justify-self: center; text-align: center; }
.hero-device img { display: block; width: 300px; max-width: 100%; height: auto; margin-inline: auto; }
.hero-device figcaption { margin-top: 12px; font-size: calc(13.5px * var(--a11y-text-scale, 1)); color: var(--ink-soft); }

/* home: three entrances */
.company-home .doors { padding: 24px 0 88px; }
.direction-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.direction-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.direction-media { height: 220px; border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.direction-media > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.direction-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 6px; padding: 16px; }
.direction-products img { width: 100%; height: 170px; object-fit: contain; }
.direction-body { display: flex; flex-direction: column; gap: 12px; padding: 26px; flex: 1; }
.direction-body .eyebrow { margin: 0; }
.direction-card h3 { font-size: calc(23px * var(--a11y-text-scale, 1)); margin: 0; }
.direction-card h3 a { color: inherit; text-decoration: none; }
.direction-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 5px; }
.direction-card p { font-size: calc(15.5px * var(--a11y-text-scale, 1)); }
.direction-meta { margin-top: auto !important; padding-top: 12px; border-top: 1px dashed var(--line-strong); color: var(--ink) !important; font-size: calc(13.5px * var(--a11y-text-scale, 1)) !important; }
.direction-card .overview-actions { margin-top: 4px; }
.direction-card.direction-ai { background: var(--ink); border-color: var(--ink); color: #fff; }
.direction-ai h3, .direction-ai h3 a { color: #fff; }
.direction-ai p, .direction-ai .eyebrow { color: #b6c2d4; }
.direction-ai .direction-meta { color: #cbd5e1 !important; border-top-color: #334155; }
.direction-ai .overview-link { color: #fff; text-decoration-color: var(--accent); }
.direction-call { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 26px; background: var(--ink); border-bottom-color: #1f2a3d; }
.direction-call .eyebrow { margin: 0; color: #b6c2d4; }
.call-number { color: var(--accent); font-size: calc(44px * var(--a11y-text-scale, 1)); font-weight: 600; text-decoration: none; line-height: 1.1; }
.call-number bdi { font-family: var(--mono); }
.call-number:hover { color: #fff; }
.call-note { color: #b6c2d4; font-size: calc(14px * var(--a11y-text-scale, 1)); }

/* home: the six-step chain and video */
.company-home .software-summary { padding: 88px 0; }
.chain6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.chain .more { display: table; margin-top: 8px; font-size: calc(14px * var(--a11y-text-scale, 1)); color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.home-video { position: relative; margin-top: 64px; grid-template-columns: 260px minmax(0, 1fr); }
.home-video > .overview-alias { position: absolute; }
.home-video .video-frame { max-width: 260px; }
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.pains > div { border-top: 1.5px solid var(--ink); padding-top: 16px; }
.pains .eyebrow { margin-bottom: 8px; }
.pains p:not(.eyebrow) { color: var(--ink); font-size: calc(16.5px * var(--a11y-text-scale, 1)); }

/* home: AI band on ink */
.company-home .ai-feature { padding: 96px 0; background: var(--ink); color: #fff; }
.ai-feature h2 { color: #fff; }
.ai-feature .eyebrow, .ai-feature p { color: #b6c2d4; }
.ai-feature .overview-link { color: #fff; text-decoration-color: var(--accent); }
.ai-feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; margin-bottom: 48px; }
.ai-intro { font-size: calc(17px * var(--a11y-text-scale, 1)); margin: 6px 0 4px; }
.ai-dialog { background: #fff; color: var(--ink); border-radius: 8px; padding: 26px; }
.ai-dialog figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.ai-dialog .chat { display: flex; flex-direction: column; gap: 12px; }
.ai-dialog p.proof-source { color: var(--ink-soft); font-size: calc(13px * var(--a11y-text-scale, 1)); margin-top: 14px; }
.ai-feature .ai-offer-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ai-feature .ai-offer-cards .card { display: flex; flex-direction: column; gap: 10px; background: transparent; border-color: #1f2a3d; padding: 22px; }
.ai-feature .ai-offer-cards .card h3 { font-size: calc(19px * var(--a11y-text-scale, 1)); margin: 0; }
.ai-feature .ai-offer-cards .card h3 a { color: #fff; }
.ai-feature .ai-offer-cards .card p { color: #b6c2d4; font-size: calc(15px * var(--a11y-text-scale, 1)); }
.ai-feature .ai-offer-cards .proof-source { font-size: calc(13px * var(--a11y-text-scale, 1)) !important; }
.ai-feature .ai-offer-cards .more { margin-top: auto; color: #fff; text-decoration-color: var(--accent); }
.ai-orders-note { margin-top: 20px; padding-top: 18px; border-top: 1px solid #1f2a3d; font-size: calc(15px * var(--a11y-text-scale, 1)); }
.ai-orders-note a { color: #fff !important; text-decoration-color: var(--accent) !important; }

/* home: price summary */
.company-home .price-summary { padding: 96px 0; }
.price-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.price-table { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.price-table > div { padding: 24px; border-inline-start: 1px solid var(--line); }
.price-table > div:first-child { border-inline-start: 0; }
.price-table dt { font-family: var(--mono); font-size: calc(13px * var(--a11y-text-scale, 1)); color: var(--ink-soft); margin-bottom: 10px; }
.price-table dd { margin: 0; display: flex; flex-direction: column; }
.price-table dd small { font-size: calc(13px * var(--a11y-text-scale, 1)); color: var(--ink-soft); }
.price-table dd span { font-size: calc(30px * var(--a11y-text-scale, 1)); font-weight: 600; line-height: 1.15; white-space: nowrap; }
.price-table .is-key { background: var(--brand); border-color: var(--brand); }
.price-table .is-key dt, .price-table .is-key small { color: #dbe7ff; }
.price-table .is-key dd span { color: #fff; font-weight: 700; font-size: calc(28px * var(--a11y-text-scale, 1)); }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.fit .box { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.fit .box.no { background: transparent; }
.fit h3 { font-size: calc(17px * var(--a11y-text-scale, 1)); margin-bottom: 12px; }
.fit ul { padding-inline-start: 20px; }
.fit li { margin-bottom: 8px; color: var(--ink-soft); font-size: calc(15.5px * var(--a11y-text-scale, 1)); }
.pilot-note { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-size: calc(15.5px * var(--a11y-text-scale, 1)); }
.pilot-note strong { color: var(--ink); }

/* home: equipment */
.company-home .equipment-feature { padding: 80px 0; }
.feature-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.scale-feature-photo { text-align: center; }
.scale-feature-photo img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.scale-feature-photo figcaption { font-size: calc(13.5px * var(--a11y-text-scale, 1)); color: var(--ink-soft); margin-top: 8px; }
.equipment-context { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: calc(16px * var(--a11y-text-scale, 1)); }
.equipment-context p + p { margin-top: 8px; }

/* home: contact */
.company-home .contact-section { padding: 96px 0; }
.contact-section .form-wrap { grid-template-columns: .85fr 1.15fr; gap: 72px; }
.contact-list { list-style: none; margin: 28px 0 0; border-top: 1.5px solid var(--ink); }
.contact-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--ink-soft); }
.contact-list a:not(.btn) { color: var(--ink); font-weight: 600; font-size: calc(18px * var(--a11y-text-scale, 1)); text-decoration: none; }
.contact-list a:not(.btn):hover { color: var(--brand-deep); text-decoration: underline; }
.contact-list .btn { min-height: 44px; padding: 8px 16px; }
.general-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field-hint { font-size: calc(14px * var(--a11y-text-scale, 1)); margin: -4px 0 12px; }
.general-submit { width: 100%; }

/* software overview */
.software-overview .hero { padding-top: 36px; }
.software-hero-screen { text-align: center; }
.software-hero-screen img { max-width: 280px; width: 100%; height: auto; mix-blend-mode: multiply; }
.software-hero-screen figcaption { font-size: calc(14px * var(--a11y-text-scale, 1)); color: var(--ink-soft); margin-top: 8px; }
.software-overview .proof-strip { display: flex; flex-wrap: wrap; gap: 0; margin-top: 28px; border-top: 1.5px solid var(--ink); padding-top: 12px; }
.software-overview .proof-strip span { font-family: var(--mono); font-size: calc(13.5px * var(--a11y-text-scale, 1)); font-weight: 500; padding-inline-end: 18px; margin-inline-end: 18px; border-inline-end: 1px solid var(--line-strong); }
.software-overview .proof-strip span:last-child { border: 0; }
.software-overview .chain5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.software-overview .chain6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.software-overview .inbound { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 28px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: calc(16px * var(--a11y-text-scale, 1)); color: var(--ink-soft); }
.software-overview .inbound b { color: var(--ink); }
.software-overview .fit .box.no { background: transparent; }
.software-overview .price-box { background: #fff; border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 26px; }
.software-overview .price-box .num { font-size: calc(30px * var(--a11y-text-scale, 1)); font-weight: 600; color: var(--ink); }
.software-overview .faq { max-width: 78ch; }
.software-overview .faq h3 { margin: 22px 0 6px; }
.software-overview .faq p { font-size: calc(16px * var(--a11y-text-scale, 1)); }
.software-overview .ai-strip { background: var(--ink); padding: 56px 0; }
.software-overview .ai-strip h2, .software-overview .ai-strip h3 { color: #fff; }
.software-overview .ai-strip p { color: #b6c2d4; }
.software-overview .ai-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: center; }
.software-overview .ai-cta { display: flex; flex-direction: column; gap: 12px; }
.software-overview .software-foundation { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: calc(16px * var(--a11y-text-scale, 1)); max-width: 84ch; }
.software-overview .demo-next { padding: 72px 0; background: #fff; border-top: 1px solid var(--line); }
.software-overview .demo-next .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.software-overview .demo-next h2 { font-size: calc(32px * var(--a11y-text-scale, 1)); }
.software-overview .demo-next .btn { flex-shrink: 0; }

@media (max-width: 1100px) {
    .chain6, .software-overview .chain5, .software-overview .chain6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
    .chain6 .chain-node:nth-child(3n)::after, .chain5 .chain-node:nth-child(3n)::after { display: none; }
    .ai-feature .ai-offer-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
    .direction-grid { grid-template-columns: 1fr; gap: 16px; }
    .direction-card { display: grid; grid-template-columns: 280px minmax(0, 1fr); }
    .call-number { font-size: calc(28px * var(--a11y-text-scale, 1)); white-space: nowrap; }
    .direction-media { height: auto; min-height: 200px; border-bottom: 0; border-inline-start: 1px solid var(--line); }
    .direction-products { grid-template-columns: 1fr 1fr 1fr; }
    .direction-products img { height: 120px; }
    .price-grid, .ai-feature-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
    .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
    .home-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero-device img { width: 170px; }
    .hero-facts { grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-top: 28px; }
    .chain6, .software-overview .chain5, .software-overview .chain6 { grid-template-columns: 1fr; gap: 0; }
    .home-video { grid-template-columns: 1fr; margin-top: 40px; }
    .pains, .fit { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; gap: 24px; }
    .contact-section .form-wrap { grid-template-columns: 1fr; gap: 32px; }
    .software-overview .ai-grid { grid-template-columns: 1fr; }
    .software-overview .demo-next .wrap { align-items: flex-start; flex-direction: column; }
    .company-home .home-hero { padding: 32px 0 40px; }
    .company-home .software-summary, .company-home .ai-feature, .company-home .price-summary, .company-home .equipment-feature, .company-home .contact-section { padding: 56px 0; }
}
@media (max-width: 620px) {
    .home-hero .lead { font-size: calc(17px * var(--a11y-text-scale, 1)); }
    .home-hero .hero-cta .btn { width: 100%; }
    .direction-card { display: flex; }
    .direction-media { height: 180px; border-inline-start: 0; border-bottom: 1px solid var(--line); }
    .call-number { font-size: calc(36px * var(--a11y-text-scale, 1)); }
    .direction-body { padding: 20px; }
    .direction-card .overview-actions .btn { width: 100%; }
    .ai-feature .ai-offer-cards { grid-template-columns: 1fr; }
    .price-table { grid-template-columns: 1fr; }
    .price-table > div { border-inline-start: 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 18px; }
    .price-table > div:first-child { border-top: 0; }
    .price-table dt { margin: 0; }
    .price-table dd { align-items: flex-end; text-align: end; }
    .price-table dd span { font-size: calc(24px * var(--a11y-text-scale, 1)); }
    .general-fields { grid-template-columns: 1fr; }
    .contact-list a:not(.btn) { font-size: calc(16px * var(--a11y-text-scale, 1)); }
}

/* software overview: components and AI strip on ink */
.software-overview .components { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.software-overview .ai-strip .eyebrow { color: #b6c2d4; }
.software-overview .ai-strip a:not(.btn) { color: #fff; text-decoration-color: var(--accent); }
.software-overview .ai-strip .ai-offer-summary { list-style: none; padding: 0; }
.software-overview .ai-strip .ai-offer-summary li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #1f2a3d; }
@media (max-width: 860px) { .software-overview .components { grid-template-columns: 1fr; } }

/* home: compact process strip and AI list after the editorial trim */
.chain-compact .chain-node { padding-top: 54px; }
.chain-compact .chain-node h3 { font-size: calc(17px * var(--a11y-text-scale, 1)); margin: 0; }
.ai-feature .ai-offer-summary { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid #1f2a3d; }
.ai-feature .ai-offer-summary li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #1f2a3d; font-size: 0; }
.ai-feature .ai-offer-summary li a { font-size: calc(17px * var(--a11y-text-scale, 1)); font-weight: 600; color: #fff; text-decoration: none; }
.ai-feature .ai-offer-summary li a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.ai-feature .ai-orders-note { margin-top: 14px; padding-top: 0; border-top: 0; }
@media (max-width: 860px) {
    .chain-compact .chain-node { min-height: 56px; padding-top: 22px; }
    .chain-compact .chain-node::before { top: 8px; }
}
