/* exocad page. Open, full-width sections in exocad purple; type, measure and
   controls follow the theme (Google Sans Flex, the product container width,
   pill buttons, "See more" chevron links, orange-ring bullets). */
.exo {
    --exo-purple: #473a6d;
    --exo-purple-deep: #3b305b;
    --exo-lavender: #efedf4;
    --exo-orange: #f58220;
    --exo-ink: #1d1d1f;
    --exo-muted: #545459;
    --exo-line: #e5e5e6;
    --exo-accent: var(--exo-purple);
    --exo-ease: cubic-bezier(0.22, 1, 0.36, 1);
    overflow: clip;
    background: #fff;
    color: var(--exo-ink);
    font-family: "Google Sans Flex", sans-serif;
}

.exo *,
.exo *::before,
.exo *::after {
    box-sizing: border-box;
}

.exo [hidden] {
    display: none !important;
}

.exo :is(h1, h2, h3, h4, p, figure, ul, ol) {
    margin: 0;
}

.exo :is(ul, ol) {
    padding: 0;
    list-style: none;
}

.exo a {
    color: inherit;
    text-decoration: none;
}

.exo button {
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.exo img {
    display: block;
    max-width: 100%;
    height: auto;
}

.exo :is(a, button, summary, [tabindex]):focus-visible {
    outline: 2px solid #8f77ba;
    outline-offset: 4px;
}

/* Same measure as the theme's [data-product-container]. */
.exo .exo-wrap {
    width: 100%;
    max-width: clamp(68.75rem, 157.692vw - 57.4038rem, 120rem);
    margin-inline: auto;
    padding-inline: clamp(1.5rem, 21.875vw - 16rem, 10.25rem);
}

.exo section[id] {
    scroll-margin-top: 56px;
}

/* Type */
.exo h2 {
    color: var(--exo-accent);
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.exo h2.exo-product {
    /* FF Tisa Sans, exocad's typeface, from the Adobe Fonts project the template enqueues. */
    font-family: "ff-tisa-sans-web-pro", "Google Sans Flex", sans-serif;
    font-size: clamp(44px, 5.5vw, 80px);
    font-style: italic;
    font-weight: 500;
    letter-spacing: -0.015em;
}

.exo h3 {
    font-size: clamp(22px, 2.1vw, 30px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.exo h4 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.exo .exo-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--exo-muted);
    font-size: 15px;
    font-weight: 500;
}

.exo-eyebrow img {
    width: auto;
    height: 20px;
}

.exo-copy > h3 {
    margin-top: 20px;
}

.exo-copy > h3:first-child {
    margin-top: 0;
}

.exo-copy > p:not(.exo-eyebrow) {
    max-width: 520px;
    margin-top: 16px;
    color: var(--exo-muted);
    font-size: 16px;
    line-height: 1.7;
}

.exo .exo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    color: var(--exo-accent);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.exo-link svg {
    transition: transform 0.3s;
}

.exo-link:hover svg {
    transform: translateX(4px);
}

.exo .exo-button {
    display: inline-flex;
    height: 52px;
    align-items: center;
    gap: 20px;
    padding: 0 7px 0 24px;
    border-radius: 999px;
    background: var(--exo-purple);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: background-color 0.3s, box-shadow 0.3s, filter 0.3s;
}

.exo .exo-button:hover {
    background: #5a4987;
}

.exo-button > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.exo .exo-button--mode {
    background: linear-gradient(to bottom, #f58220, #e66410);
}

.exo .exo-button--mode:hover {
    background: linear-gradient(to bottom, #f58220, #e66410);
    box-shadow: 0 4px 20px rgba(245, 130, 32, 0.4);
    filter: brightness(1.1);
}

/* Hero */
.exo-hero {
    padding-top: clamp(112px, 11.4vw, 164px);
    background: var(--exo-lavender);
}

.exo-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.exo-breadcrumb :is(a, span[aria-hidden]) {
    color: rgba(29, 29, 31, 0.45);
    transition: color 0.3s;
}

.exo-breadcrumb a:hover {
    color: var(--exo-ink);
}

.exo-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 3.4vw, 48px);
    align-items: center;
    padding-block: clamp(16px, 2vw, 28px) clamp(28px, 3.4vw, 48px);
}

.exo .exo-brand-title img {
    width: clamp(210px, 22vw, 320px);
}

.exo .exo-hero-title {
    margin-top: clamp(18px, 2vw, 28px);
    font-size: clamp(30px, 3.3vw, 46px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.exo .exo-hero-lead {
    max-width: 460px;
    margin-top: 16px;
    color: var(--exo-muted);
    font-size: 17px;
    line-height: 1.65;
}

.exo-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.exo .exo-button--ghost {
    border: 1px solid rgba(71, 58, 109, 0.3);
    background: transparent;
    color: var(--exo-purple);
}

.exo .exo-button--ghost:hover {
    border-color: var(--exo-purple);
    background: rgba(71, 58, 109, 0.06);
}

.exo-button--ghost > span {
    background: rgba(71, 58, 109, 0.1);
}

.exo-hero-figure img {
    width: 100%;
    height: min(52vh, 480px);
    min-height: 280px;
    object-fit: contain;
}

.exo-hero-figure figcaption {
    margin-top: 8px;
    color: var(--exo-muted);
    font-size: 14px;
    text-align: center;
}

.exo-hero-figure strong {
    margin-right: 6px;
    color: var(--exo-ink);
    font-weight: 600;
}

/* Section links */
.exo-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(71, 58, 109, 0.12);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    transition: top 0.3s;
}

/* Scrolling up brings the site header back, so the pinned bar slides out of
   its way. A negative offset only moves the bar while it is pinned; in its
   own place below the hero it stays put. */
body:has(header.scroll-up) .exo-nav {
    top: -60px;
}

.exo-nav > .exo-wrap {
    display: flex;
    height: 56px;
    align-items: stretch;
    gap: clamp(20px, 2.8vw, 40px);
}

.exo-nav a {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--exo-muted);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: color 0.3s;
}

.exo-nav a:not(.exo-nav-cta)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--exo-purple);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}

.exo-nav a:hover,
.exo-nav a[aria-current] {
    color: var(--exo-purple);
}

.exo-nav a[aria-current]::after {
    transform: scaleX(1);
}

.exo-nav a.exo-nav-cta,
.exo-nav a.exo-nav-cta[aria-current] {
    align-self: center;
    height: 36px;
    margin-left: auto;
    padding-inline: 20px;
    border-radius: 999px;
    background: var(--exo-purple);
    color: #fff;
    font-weight: 600;
}

.exo-nav a.exo-nav-cta:hover {
    background: #5a4987;
}

/* Sections */
.exo-section {
    padding-block: clamp(56px, 6.4vw, 96px);
}

.exo-split,
.exo-intro,
.exo-guide {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: center;
}

.exo-intro {
    align-items: start;
}

.exo-split figcaption {
    margin-top: 12px;
    color: var(--exo-muted);
    font-size: 14px;
}

/* exoplan */
.exo-guide {
    margin-top: clamp(40px, 4.4vw, 64px);
}

.exo-guide-copy > p {
    max-width: 460px;
    margin-top: 14px;
    color: var(--exo-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* Segmented control, like the header's Professional / Patients switch. */
.exo-guide-tabs {
    display: inline-flex;
    margin-top: 24px;
    padding: 4px;
    border-radius: 999px;
    background: var(--exo-lavender);
}

.exo-guide-tabs button {
    height: 40px;
    padding-inline: 22px;
    border-radius: 999px;
    color: var(--exo-muted);
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}

.exo-guide-tabs button[aria-selected="true"] {
    background: var(--exo-purple);
    color: #fff;
}

.exo-guide-descriptions {
    min-height: 82px;
    margin-top: 18px;
}

.exo-guide-descriptions p {
    max-width: 460px;
    font-size: 16px;
    line-height: 1.7;
}

.exo-guide-figures {
    overflow: hidden;
    border-radius: 24px;
    background: var(--exo-purple);
}

.exo-guide-figures img {
    width: 100%;
    height: min(46vh, 400px);
    min-height: 240px;
    object-fit: contain;
}

.exo .exo-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.8vw, 40px);
    margin-top: clamp(32px, 3.4vw, 48px);
    padding-top: 28px;
    border-top: 1px solid var(--exo-line);
}

.exo-notes li {
    color: var(--exo-muted);
    font-size: 15px;
    line-height: 1.5;
}

.exo-notes strong {
    display: block;
    margin-bottom: 4px;
    color: var(--exo-ink);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* DentalCAD */
.exo-dental {
    --exo-accent: #fff;
    background: var(--exo-purple);
    color: #fff;
}

.exo-dental .exo-eyebrow {
    color: rgba(255, 255, 255, 0.7);
}

.exo-dental .exo-eyebrow img {
    height: 20px;
}

.exo-dental .exo-copy > p:not(.exo-eyebrow),
.exo-dental .exo-capabilities p {
    color: rgba(255, 255, 255, 0.78);
}

.exo-dental-figure img {
    width: 100%;
    max-height: min(48vh, 420px);
    object-fit: contain;
}

.exo-dental figcaption {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.exo-capabilities {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    gap: clamp(24px, 3.8vw, 56px);
    margin-top: clamp(36px, 3.8vw, 56px);
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.exo-capabilities p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.8;
}

.exo .exo-fineprint {
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    line-height: 1.6;
}

/* ChairsideCAD */
.exo-chair-figure img {
    width: 100%;
    border: 1px solid var(--exo-line);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(71, 58, 109, 0.1);
}

.exo .exo-chair-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.8vw, 40px);
    margin-top: clamp(36px, 3.8vw, 56px);
    padding-top: 30px;
    border-top: 1px solid var(--exo-line);
}

.exo-chair-steps li {
    display: flex;
    gap: 16px;
}

.exo-chair-steps li > span {
    display: grid;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    background: var(--exo-lavender);
    color: var(--exo-purple);
    font-size: 15px;
    font-weight: 600;
}

.exo-chair-steps strong {
    display: block;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 36px;
}

.exo-chair-steps p {
    color: var(--exo-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* M-Guide: MODE's own product, so MODE orange */
.exo-mguide {
    --exo-accent: var(--exo-orange);
    background: #f5f5f7;
}

.exo-mguide h2 {
    color: var(--exo-ink);
}

.exo-mguide .exo-eyebrow {
    color: #e66410;
}

.exo-mguide-figure img {
    width: 100%;
    max-height: min(52vh, 460px);
    object-fit: contain;
}

.exo-mguide figcaption {
    text-align: center;
}

.exo-instrument-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 30px;
    flex-wrap: wrap;
    margin-top: clamp(40px, 4.4vw, 64px);
    margin-bottom: 22px;
}

.exo-instrument-heading p {
    color: var(--exo-muted);
    font-size: 15px;
}

.exo-instruments {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.exo-instruments button {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 22px 12px 16px;
    border-bottom: 2px solid #d5d5d7;
    border-radius: 16px 16px 0 0;
    color: var(--exo-muted);
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.exo-instruments button:hover {
    background: rgba(255, 255, 255, 0.6);
}

.exo-instruments button[aria-selected="true"] {
    border-bottom-color: var(--exo-orange);
    background: #fff;
    color: var(--exo-ink);
}

.exo-instruments img {
    width: auto;
    height: clamp(120px, 12vw, 170px);
    object-fit: contain;
}

.exo-instruments button:last-child img {
    padding-block: clamp(38px, 3.8vw, 54px);
}

.exo-instruments strong {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-align: center;
}

.exo-instrument-details [role="tabpanel"] {
    display: grid;
    min-height: 150px;
    grid-template-columns: 0.8fr 1.2fr 1fr;
    gap: clamp(20px, 2.8vw, 40px);
    align-items: start;
    padding: clamp(22px, 2.2vw, 32px);
    border-radius: 0 0 16px 16px;
    background: #fff;
}

.exo-instrument-details h4 {
    font-size: 22px;
    letter-spacing: -0.03em;
}

.exo-instrument-details p {
    color: var(--exo-muted);
    font-size: 16px;
    line-height: 1.65;
}

.exo-instrument-details ul {
    display: grid;
    gap: 10px;
}

.exo-instrument-details li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.exo-instrument-details li::before {
    content: "";
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border: 2px solid var(--exo-orange);
    border-radius: 50%;
}

/* Brochure and contact */
.exo-resources-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(32px, 6.2vw, 96px);
    align-items: center;
}

.exo-resources h2 {
    color: var(--exo-ink);
    font-size: clamp(32px, 3.5vw, 50px);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.exo-resources-grid p {
    max-width: 440px;
    margin-top: 14px;
    color: var(--exo-muted);
    font-size: 16px;
    line-height: 1.7;
}

.exo .exo-download {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
    padding-block: 22px;
    border-block: 1px solid var(--exo-line);
}

.exo-pdf-icon {
    display: grid;
    width: 44px;
    height: 54px;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid #d5d5d7;
    border-radius: 8px;
    color: #e66410;
    font-size: 12px;
    font-weight: 700;
}

.exo-download-copy {
    min-width: 0;
    flex: 1;
}

.exo-download strong {
    display: block;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.03em;
    transition: color 0.3s;
}

.exo-download:hover strong {
    color: var(--exo-orange);
}

.exo-download small {
    display: block;
    margin-top: 3px;
    color: var(--exo-muted);
    font-size: 14px;
}

.exo-download-arrow {
    display: grid;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    background: var(--exo-orange);
    color: #fff;
    transition: background-color 0.3s;
}

.exo-download:hover .exo-download-arrow {
    background: #f79b40;
}

/* The libraries row follows the brochure row and shares its bottom rule. */
.exo .exo-library {
    margin-top: 0;
    border-top: 0;
}

.exo-enquiry {
    padding-left: clamp(24px, 3.4vw, 48px);
    border-left: 1px solid var(--exo-line);
}

.exo-enquiry h3 {
    text-wrap: balance;
}

.exo-enquiry .exo-button {
    margin-top: 24px;
}

.exo-disclosures {
    margin-top: clamp(40px, 4.4vw, 64px);
    border-top: 1px solid var(--exo-line);
}

.exo-disclosures details {
    border-bottom: 1px solid var(--exo-line);
}

.exo-disclosures summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 20px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.01em;
    list-style: none;
    cursor: pointer;
}

.exo-disclosures summary::-webkit-details-marker {
    display: none;
}

.exo-disclosures summary > span {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 1px solid rgba(29, 29, 31, 0.25);
    border-radius: 50%;
}

.exo-disclosures summary > span::before,
.exo-disclosures summary > span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.3s;
}

.exo-disclosures summary > span::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.exo-disclosures [open] summary > span::after {
    transform: translate(-50%, -50%);
}

.exo-disclosures details p {
    max-width: 820px;
    padding-bottom: 22px;
    color: var(--exo-muted);
    font-size: 15px;
    line-height: 1.7;
}

.exo-disclosures details p a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.exo .exo-attribution {
    max-width: 900px;
    margin-top: 28px;
    color: rgba(29, 29, 31, 0.55);
    font-size: 13px;
    line-height: 1.7;
}

.exo-attribution a {
    text-decoration: underline;
}

.exo [role="tabpanel"]:not([hidden]),
.exo-guide-figures img:not([hidden]) {
    animation: exo-fade 0.35s ease both;
}

@keyframes exo-fade {
    from {
        opacity: 0.3;
    }
}

/* Scroll reveal with the theme's [data-reveal] timing; desktop only, as there. */
@media (min-width: 1025px) {
    .exo.exo-js [data-exo-reveal] {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
        transition: opacity 0.75s var(--exo-ease) var(--exo-delay, 0s), transform 1s var(--exo-ease) var(--exo-delay, 0s);
    }

    .exo.exo-js [data-exo-reveal].is-in {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1279.98px) {
    .exo .exo-wrap {
        max-width: none;
        padding-inline: 24px;
    }
}

@media (max-width: 899.98px) {
    .exo-hero-grid,
    .exo-split,
    .exo-intro,
    .exo-guide,
    .exo-resources-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .exo-intro {
        gap: 20px;
    }

    .exo-hero-figure img {
        height: auto;
        max-height: 380px;
    }

    .exo-guide-descriptions {
        min-height: 0;
    }

    .exo-enquiry {
        padding-top: 32px;
        padding-left: 0;
        border-top: 1px solid var(--exo-line);
        border-left: 0;
    }
}

@media (max-width: 759.98px) {
    .exo .exo-wrap {
        padding-inline: 20px;
    }

    .exo-nav > .exo-wrap {
        overflow-x: auto;
        gap: 24px;
        scrollbar-width: none;
    }

    .exo-nav > .exo-wrap::-webkit-scrollbar {
        display: none;
    }

    .exo-nav .exo-nav-cta {
        flex-shrink: 0;
    }

    .exo .exo-notes,
    .exo .exo-chair-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .exo-capabilities {
        grid-template-columns: 1fr 1fr;
    }

    .exo-capabilities > div:last-child {
        grid-column: 1 / -1;
    }

    .exo-instruments {
        grid-template-columns: repeat(5, 118px);
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: #b8b8be transparent;
    }

    .exo-instrument-details [role="tabpanel"] {
        min-height: 300px;
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .exo *,
    .exo *::before,
    .exo *::after {
        animation: none !important;
        transition: none !important;
    }

    .exo.exo-js [data-exo-reveal] {
        opacity: 1;
        transform: none;
    }
}
