/**
 * Technology Platforms — scoped to body.page-tech
 */

.page-tech {
    --tp-ink: #1c1917;
    --tp-copy: #3f3a36;
    --tp-muted: #6b645c;
    --tp-rule: #e6e1da;
    --tp-mist: #eef2f0;
    --tp-deep: #20383b;
    --tp-deep-text: #f4f7f6;
    --tp-deep-muted: rgba(244, 247, 246, 0.72);
    --tp-pad: clamp(1.25rem, 4vw, 2rem);
    --tp-space: clamp(4rem, 8vw, 6.5rem);
    background: #fff;
    color: var(--tp-ink);
}

body.page-tech #siteHeader + main > section {
    padding: var(--tp-space) 0;
    background: #fff;
    scroll-margin-top: 0.75rem;
}

body.page-tech #siteHeader + main > section.tp-hero {
    padding-top: clamp(1.25rem, 3vw, 2rem);
    padding-bottom: 0;
}

body.page-tech #siteHeader + main > section#treatment-systems {
    padding-top: clamp(80px, 5vw, 100px);
}

body.page-tech #siteHeader + main > section#security,
body.page-tech #siteHeader + main > section#validation {
    padding-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

body.page-tech #siteHeader + main > section#validation,
body.page-tech #siteHeader + main > section#documentation {
    padding-top: clamp(1.5rem, 2.5vw, 2rem);
}

.page-tech .tp-wrap {
    width: min(1400px, 100%);
    margin: 0 auto;
    padding-left: var(--tp-pad);
    padding-right: var(--tp-pad);
}

.page-tech h1,
.page-tech h2,
.page-tech h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--tp-ink);
}

.page-tech h1 {
    max-width: 16ch;
    margin: 0 0 1.15rem;
    font-style: italic;
    font-size: clamp(2.4rem, 5vw, 4.25rem);
    line-height: 1.08;
}

.page-tech h2 {
    margin: 0 0 1rem;
    font-style: normal;
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.08;
}

.page-tech h3 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.2;
}

.page-tech p {
    margin: 0 0 1rem;
    max-width: 40rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--tp-copy);
}

.page-tech a {
    color: var(--tp-ink);
    text-underline-offset: 0.18em;
}

.page-tech .tp-jump {
    display: flex;
    flex-wrap: nowrap;
    gap: 0 1.5rem;
    margin-top: 1.75rem;
    padding-bottom: 0.15rem;
    overflow-x: auto;
    border-bottom: 1px solid var(--tp-rule);
    scrollbar-width: none;
}

.page-tech .tp-jump::-webkit-scrollbar {
    display: none;
}

.page-tech .tp-jump a {
    flex: 0 0 auto;
    padding: 0.7rem 0;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--tp-muted);
    white-space: nowrap;
}

.page-tech .tp-jump a:hover,
.page-tech .tp-jump a:focus-visible {
    color: var(--tp-ink);
    box-shadow: inset 0 -1px 0 var(--tp-ink);
}

.page-tech .tp-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(48px, 4vw, 64px);
    align-items: start;
}

.page-tech .tp-shot {
    margin: 0;
}

.page-tech .tp-shot img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    background: #1c1917;
}

.page-tech .tp-shot--primary img {
    aspect-ratio: 4 / 3;
}

.page-tech .tp-copy .tp-shot--detail {
    width: min(100%, 16.5rem);
    margin-top: 1.25rem;
}

.page-tech .tp-shot--detail img {
    aspect-ratio: 3 / 2;
}

.page-tech figcaption {
    margin: 0.65rem 0 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--tp-muted);
}

.page-tech #ai-support figcaption {
    color: var(--tp-ink);
}

.page-tech .tp-list,
.page-tech .tp-steps,
.page-tech .tp-numbered,
.page-tech .tp-docs {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.page-tech .tp-list li,
.page-tech .tp-steps li {
    margin: 0;
    padding: 0.75rem 0;
    border-top: 1px solid var(--tp-rule);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--tp-copy);
}

.page-tech .tp-list li:last-child,
.page-tech .tp-steps li:last-child {
    border-bottom: 1px solid var(--tp-rule);
}

.page-tech .tp-list strong {
    font-weight: 600;
    color: var(--tp-ink);
}

body.page-tech #siteHeader + main > section.tp-section--mist {
    background: var(--tp-mist);
}

.page-tech #ai-support .tp-shot--detail {
    width: min(100%, 22rem);
    margin-top: 0.35rem;
}

.page-tech .tp-note {
    max-width: none;
    margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(32, 56, 59, 0.16);
    font-size: 0.98rem;
    color: var(--tp-copy);
}

.page-tech .tp-note strong {
    font-weight: 600;
    color: var(--tp-ink);
}

.page-tech .tp-lead {
    max-width: 40rem;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.page-tech .tp-lead p:last-child {
    margin-bottom: 0;
}

.page-tech .tp-shot--wide img {
    aspect-ratio: 1672 / 941;
}

.page-tech .tp-shot--wide {
    margin-bottom: 0.5rem;
}

.page-tech .tp-rows article {
    display: grid;
    grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr);
    gap: 0.35rem 2rem;
    align-items: baseline;
    padding: 1rem 0;
    border-top: 1px solid var(--tp-rule);
    background: none;
    box-shadow: none;
}

.page-tech .tp-rows h3 {
    margin: 0;
}

.page-tech .tp-rows article:last-child {
    border-bottom: 1px solid var(--tp-rule);
}

.page-tech .tp-rows p {
    margin: 0;
    max-width: 46rem;
}

.page-tech .tp-steps {
    counter-reset: none;
}

.page-tech .tp-steps li,
.page-tech .tp-numbered li {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: baseline;
}

.page-tech .tp-steps span,
.page-tech .tp-numbered span {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--tp-ink);
}

.page-tech .tp-zoom {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.page-tech .tp-shot--diagram img {
    object-fit: contain;
    background: #f7f4ef;
}

.page-tech .tp-lightbox {
    position: relative;
    width: min(1120px, calc(100vw - 1.5rem));
    max-width: calc(100vw - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
    margin: auto;
    padding: 3rem 0.75rem 0.75rem;
    border: 0;
    background: #fff;
    overflow: auto;
}

.page-tech .tp-lightbox::backdrop {
    background: rgba(16, 18, 20, 0.78);
}

.page-tech .tp-lightbox img {
    display: block;
    width: 100%;
    height: auto;
}

.page-tech .tp-lightbox__close {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.85rem;
    border: 1px solid var(--tp-ink);
    background: #fff;
    color: var(--tp-ink);
    font: inherit;
    font-size: 0.95rem;
    cursor: pointer;
}

.page-tech .tp-numbered li {
    padding: 1rem 0;
    border-top: 1px solid var(--tp-rule);
}

.page-tech .tp-numbered li:last-child {
    border-bottom: 1px solid var(--tp-rule);
}

.page-tech .tp-numbered p {
    margin: 0;
}

.page-tech .tp-figures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.page-tech .tp-figures .tp-shot img {
    aspect-ratio: 3 / 2;
}

.page-tech .tp-docs li {
    display: grid;
    grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.4fr) auto;
    gap: 0.75rem 2rem;
    align-items: baseline;
    padding: 1.05rem 0;
    border-top: 1px solid var(--tp-rule);
}

.page-tech .tp-docs li:last-child {
    border-bottom: 1px solid var(--tp-rule);
}

.page-tech .tp-docs h3,
.page-tech .tp-docs p {
    margin: 0;
}

.page-tech .tp-docs a {
    font-size: 0.95rem;
}

body.page-tech #siteHeader + main > section.tp-demo {
    background: var(--tp-deep);
    color: var(--tp-deep-text);
}

.page-tech .tp-demo h2,
.page-tech .tp-demo dt,
.page-tech .tp-demo a {
    color: var(--tp-deep-text);
}

.page-tech .tp-demo p,
.page-tech .tp-demo dd {
    color: var(--tp-deep-muted);
}

.page-tech .tp-demo__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.page-tech .tp-demo dl {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0 0;
}

.page-tech .tp-demo dt {
    margin-bottom: 0.2rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-tech .tp-demo dd {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
}

.page-tech .tp-form {
    display: grid;
    gap: 0.9rem;
}

.page-tech .tp-field {
    display: grid;
    gap: 0.35rem;
}

.page-tech .tp-form label {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tp-deep-text);
}

.page-tech .tp-form input,
.page-tech .tp-form select,
.page-tech .tp-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(244, 247, 246, 0.55);
    border-radius: 0;
    background: #f4f7f6;
    color: #1c1917;
    font: inherit;
    font-size: 1rem;
    line-height: 1.45;
}

.page-tech .tp-form textarea {
    min-height: 8rem;
    resize: vertical;
}

.page-tech .tp-form input:focus-visible,
.page-tech .tp-form select:focus-visible,
.page-tech .tp-form textarea:focus-visible,
.page-tech .tp-form button:focus-visible,
.page-tech .tp-jump a:focus-visible,
.page-tech .tp-zoom:focus-visible,
.page-tech .tp-lightbox__close:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.page-tech .tp-form input[aria-invalid="true"],
.page-tech .tp-form select[aria-invalid="true"] {
    border-color: #9b2226;
    outline: 2px solid #9b2226;
    outline-offset: 1px;
}

.page-tech .tp-form button {
    justify-self: start;
    min-height: 44px;
    margin-top: 0.25rem;
    padding: 0.7rem 1.25rem;
    border: 1px solid #f4f7f6;
    background: #f4f7f6;
    color: var(--tp-deep);
    font: inherit;
    font-size: 0.95rem;
    cursor: pointer;
}

.page-tech .tp-form button:hover {
    background: #fff;
}

.page-tech .tp-form__status {
    min-height: 1.4em;
    margin: 0;
    max-width: none;
    font-size: 0.95rem;
    color: var(--tp-deep-text);
}

@media (max-width: 900px) {
    .page-tech .tp-split,
    .page-tech .tp-demo__grid,
    .page-tech .tp-figures,
    .page-tech .tp-docs li {
        grid-template-columns: 1fr;
    }

    .page-tech .tp-rows article {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .page-tech .tp-copy .tp-shot--detail,
    .page-tech #ai-support .tp-shot--detail {
        width: min(100%, 16.5rem);
    }

    .page-tech .tp-docs a {
        justify-self: start;
    }
}

@media (max-width: 768px) {
    body.page-tech #siteHeader + main > section {
        padding: clamp(3.25rem, 8vw, 4.5rem) 0;
    }

    body.page-tech #siteHeader + main > section.tp-hero {
        padding-top: 0.5rem;
        padding-bottom: 0;
    }

    body.page-tech #siteHeader + main > section#treatment-systems {
        padding-top: 2.25rem;
    }

    body.page-tech #siteHeader + main > section#security,
    body.page-tech #siteHeader + main > section#validation {
        padding-bottom: 1.25rem;
    }

    body.page-tech #siteHeader + main > section#validation,
    body.page-tech #siteHeader + main > section#documentation {
        padding-top: 1.25rem;
    }

    .page-tech .tp-form input,
    .page-tech .tp-form select,
    .page-tech .tp-form textarea {
        font-size: 16px;
    }
}
