/* ==========================================
   1. MASTER LANDING PAGE STRUCTURAL WRAPPER
   ========================================== */
.zensical-landing-wrap {
    margin: 0 auto;
    width: 100%;
    padding-top: 1.5rem;
    font-family: inherit;
}

.footer-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem;
    font-size: 0.64rem !important;
}

.footer-content .md-copyright,
.footer-content .md-footer__brand,
.footer-content .md-footer__brand a {
    font-family: inherit !important;
    font-size: 12px !important;
    line-height: 17px !important;
    font-weight: 400 !important;
}

.footer-content .md-footer__brand * {
    font-family: inherit !important;
    font-size: 12px !important;
    line-height: 17px !important;
    font-weight: 400 !important;
}

.md-footer__brand {
    text-align: right;
}

@media screen and (max-width: 44.984375em) {
    .footer-content {
        align-items: flex-start !important;
        flex-direction: column;
    }
    .md-footer__brand {
        text-align: left;
    }
}

/* ==========================================
    Toto color tokens
    ========================================== */
:root {
    --toto-blue-primary: #006B96;
    --toto-blue-deep: #003B5C;
    --toto-blue-light: #E6F3F7;
    --toto-sun-orange: #CA4D17;
    --toto-paper: #ffffff;
    --toto-line: rgba(0, 59, 92, 0.18);
    --toto-shape-small: 0.4rem;
    --toto-shape-medium: 0.6rem;
    --toto-shape-large: 0.8rem;
    --home-content-max: 75rem;
    --home-gutter: clamp(1.25rem, 2.08vw, 1.5rem);
    --toto-body-size: 1rem;
    --md-primary-fg-color: var(--toto-blue-deep);
    --md-primary-fg-color--light: var(--toto-blue-primary);
    --md-primary-bg-color: #ffffff;
    --md-accent-fg-color: var(--toto-blue-primary);
    --md-typeset-a-color: #000000;
}

/* Keep product pages light and editorial; blue is used as a structural accent. */
html.is-document,
html.is-document body,
html.is-document .md-main,
html.is-document .md-main__inner,
html.is-document .md-content,
html.is-document .md-content__inner,
html.is-document .md-sidebar,
html.is-document .md-sidebar__scrollwrap,
html.is-document .md-sidebar__inner {
    background-color: var(--toto-paper) !important;
}

html.is-document .md-header {
    background-color: #000000 !important;
}

html.is-document .md-logo img {
    content: url("../images/toto-site-logo-white-animated.svg") !important;
}

html.is-document .md-tabs,
html.is-homepage .md-tabs {
    background-color: #000000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

html.is-document .md-tabs__link,
html.is-homepage .md-tabs__link {
    color: #ffffff !important;
}

html.is-document .md-tabs__link--active,
html.is-document .md-tabs__link:hover,
html.is-homepage .md-tabs__link--active,
html.is-homepage .md-tabs__link:hover {
    color: var(--toto-blue-primary) !important;
}

html.is-document .md-tabs__item--active,
html.is-homepage .md-tabs__item--active {
    border-bottom-color: var(--toto-blue-primary) !important;
}

html.is-document .md-sidebar--primary .md-nav__link--active,
html.is-homepage .md-sidebar--primary .md-nav__link--active {
    background-color: rgba(43, 103, 172, 0.12) !important;
    color: var(--toto-blue-primary) !important;
}

html.is-document .md-sidebar--secondary .md-nav__link--active {
    border-left-color: var(--toto-blue-primary);
    color: var(--toto-blue-primary) !important;
}

html.is-homepage,
html.is-homepage body {
    background-color: var(--toto-blue-deep) !important;
}

html.is-homepage .md-header {
    background-color: #000000 !important;
}

.home-product {
    color: var(--toto-blue-deep);
}

.home-hero {
    background: var(--toto-blue-deep);
}

.home-eyebrow {
    color: var(--toto-blue-deep);
}

.home-hero .home-eyebrow {
    margin-bottom: 0.5rem;
}

.home-action--light {
    background: var(--toto-paper);
    color: var(--toto-blue-deep) !important;
}

.home-action--light:hover,
.home-action--light:focus-visible {
    background: var(--toto-blue-primary);
}

.home-action--dark {
    background: var(--toto-blue-primary);
}

.home-action--dark:hover,
.home-action--dark:focus-visible {
    background: var(--toto-blue-primary);
}

.home-hero__signal {
    background-color: rgba(43, 103, 172, 0.06);
    border-color: rgba(43, 103, 172, 0.45);
}

.home-signal__header,
.home-signal__frame {
    border-color: rgba(43, 103, 172, 0.36);
}

.home-signal__header b {
    color: var(--toto-blue-primary);
}

.home-signal__node-dot {
    background: var(--toto-blue-primary);
    border-color: rgba(43, 103, 172, 0.2);
}

.home-signal__path span {
    border-right-color: var(--toto-blue-primary);
    border-top-color: var(--toto-blue-primary);
}

.home-section--paper,
.home-section--close {
    background: var(--toto-paper);
}

.home-section--signal {
    background: var(--toto-blue-light);
}

.home-section--crm {
    background: var(--toto-blue-primary);
}

.home-section--paper .home-eyebrow,
.home-section--signal .home-eyebrow,
.home-section--close .home-eyebrow,
.home-principles span {
    color: var(--toto-blue-deep);
}

.home-crm .home-eyebrow {
    color: var(--toto-blue-light);
}

.home-principles,
.home-principles article,
.home-flow,
.home-flow li {
    border-color: var(--toto-line);
}

.product-page {
    --product-ink: var(--toto-blue-deep);
    --product-line: var(--toto-line);
    --product-signal: var(--toto-blue-primary);
}

.product-page__section--tint {
    background: var(--toto-blue-light);
}

.product-page__section--ink {
    background: var(--toto-blue-deep);
}

.product-page__section--ink .product-page__kicker {
    color: var(--product-signal);
}

.product-contact__email a {
    color: var(--product-signal) !important;
    text-decoration-color: var(--toto-blue-primary);
}

html.is-homepage,
html.is-homepage body {
    background-color: var(--toto-blue-light) !important;
}

.home-hero {
    background: var(--toto-blue-light);
    color: #000000;
}

.home-hero h1 {
    color: #000000 !important;
}

.home-hero__lead {
    color: #000000;
}

.home-action--light {
    border: 1px solid rgba(23, 59, 95, 0.16);
    box-shadow: 0 0.5rem 1.4rem rgba(23, 59, 95, 0.08);
}

.home-action--dark {
    background: var(--toto-blue-primary);
}

.home-hero__signal {
    background-color: var(--toto-paper);
    border-color: rgba(43, 103, 172, 0.24);
    box-shadow: 0 1rem 2.75rem rgba(23, 59, 95, 0.1);
}

.home-signal__header,
.home-signal__frame {
    border-color: var(--toto-line);
}

.home-signal__header span,
.home-signal__frame p,
.home-signal__node small {
    color: #000000;
}

.home-signal__header b,
.home-signal__frame span {
    color: #000000;
}

.home-signal__node-dot {
    background: var(--toto-blue-primary);
    border-color: rgba(43, 103, 172, 0.14);
}

.home-signal__path::before {
    background: var(--toto-line);
}

.home-signal__path span {
    border-right-color: var(--toto-blue-primary);
    border-top-color: var(--toto-blue-primary);
}

.home-section--signal,
.home-section--close {
    background: var(--toto-blue-light);
}

html.is-homepage .home-section--crm {
    background: var(--toto-blue-light);
    color: #000000;
}

.home-crm .home-eyebrow {
    color: #000000;
}

.home-crm__copy,
.home-section--crm .home-crm__copy {
    background: var(--toto-paper);
    border: 0;
    box-shadow: 0 0.75rem 2rem rgba(23, 59, 95, 0.08);
}

.home-crm__copy .home-text-link {
    color: #000000;
}

.product-page__section--foundry {
    --product-section-gutter: 1.5rem;
}

.product-page__section--foundry .product-grid {
    margin-left: calc(-1 * var(--product-section-gutter));
    margin-right: calc(-1 * var(--product-section-gutter));
    padding-left: var(--product-section-gutter);
    padding-right: var(--product-section-gutter);
}

.product-page__section--ink {
    background: var(--toto-blue-light);
    color: #000000;
}

.product-page__section--ink .product-page__kicker,
.product-page__section--ink .product-page__link {
    color: #000000;
}

.product-page__section--ink .product-page__body {
    color: #000000;
}

html body :is(h1, h2, h3, h4, h5, h6) {
    color: #000000 !important;
}

/* Keep body copy black while retaining color for display and interface text. */
html.is-homepage .home-product {
    color: var(--toto-blue-deep);
}

html.is-homepage .home-eyebrow,
html.is-homepage .home-section__heading .home-eyebrow,
html.is-homepage .home-principles span {
    color: var(--toto-blue-deep);
}

html.is-homepage .home-section--crm h2,
html.is-homepage .home-crm__copy {
    color: #ffffff;
}

html.is-homepage .home-crm__copy {
    background: var(--toto-paper);
    color: #000000;
}

html.is-homepage .home-section--crm .home-eyebrow {
    color: var(--toto-blue-light);
}

html.is-homepage .home-flow--cards strong {
    color: var(--toto-blue-deep);
}

html.is-homepage .home-signal__header b {
    color: var(--toto-blue-primary);
}

html.is-document .md-tabs__link--active,
html.is-document .md-tabs__link:hover,
html.is-homepage .md-tabs__link--active,
html.is-homepage .md-tabs__link:hover {
    color: var(--toto-blue-primary) !important;
}

html.is-document .md-sidebar--primary .md-nav__link--active,
html.is-homepage .md-sidebar--primary .md-nav__link--active,
html.is-document .md-sidebar--secondary .md-nav__link--active {
    color: var(--toto-blue-primary) !important;
}

html.is-document .product-page {
    color: var(--product-ink);
}

html.is-document .product-page__eyebrow,
html.is-document .product-page__kicker,
html.is-document .product-grid__number,
html.is-document .product-steps--cards > li::before {
    color: var(--product-signal);
}

html.is-homepage .home-eyebrow,
html.is-homepage .home-principles span {
    color: var(--toto-blue-deep);
}

html.is-homepage .home-section--paper .home-eyebrow {
    color: var(--toto-blue-deep);
}

html.is-homepage .home-signal__node-dot {
    background: var(--toto-blue-primary);
    border-color: rgba(43, 103, 172, 0.14);
}

/* One reading size for body copy; headlines and hero copy keep their own scale. */
html body {
    font-size: var(--toto-body-size);
}

html body .md-content :where(p, li, td, th, dd, blockquote):not(.product-page__lead):not(.home-hero__lead),
html body .home-product :where(p, li, td, th, dd, blockquote):not(.home-hero__lead),
html body .product-page__body,
html body .product-page__closing > p,
html body .product-steps span,
html body .home-copy {
    font-size: var(--toto-body-size) !important;
}

html.is-document {
    --document-type-scale: 0.666667;
}

html.is-document .product-page__eyebrow {
    font-size: calc(0.72rem * var(--document-type-scale));
}

html.is-document .product-page__kicker,
html.is-document .product-grid__number {
    font-size: 0.72rem;
}

html.is-document .product-page h1 {
    font-size: calc(clamp(2.9rem, 6vw, 5.5rem) * var(--document-type-scale));
}

html.is-document .product-page--why-toto h1 {
    font-size: calc(clamp(2.2rem, 4.5vw, 4.5rem) * var(--document-type-scale));
}

html.is-document .product-page__lead {
    font-size: calc(clamp(1.08rem, 1.8vw, 1.35rem) * var(--document-type-scale));
}

html.is-document .product-page__section h2,
html.is-document .product-page__closing h2 {
    font-size: clamp(1.15rem, 2.7vw, 2.8rem);
}

html.is-document .product-page__body,
html.is-document .product-page__closing > p {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}

html.is-document .product-grid__item h3 {
    font-size: 1.24rem;
}

html.is-document .product-grid__item p,
html.is-document .product-steps span {
    font-size: 0.94rem;
}

html.is-document .product-page__link {
    font-size: 0.95rem;
}

html.is-document .product-steps strong {
    font-size: 1.2rem;
}

html.is-document .product-contact__email {
    font-size: calc(clamp(1.45rem, 3vw, 2.35rem) * var(--document-type-scale));
}

html.is-document .product-page__section--tint,
html.is-document .product-page__section--ink {
    background: transparent;
    border-bottom: 0;
    border-radius: var(--toto-shape-large);
    isolation: isolate;
    position: relative;
}

html.is-document .product-page__section:has(+ .product-page__section--tint),
html.is-document .product-page__section:has(+ .product-page__section--ink) {
    border-bottom: 0;
}

html.is-document .product-page__hero:has(+ .product-page__section--tint),
html.is-document .product-page__hero:has(+ .product-page__section--ink) {
    border-bottom: 0;
}

html.is-document .product-page__section--tint .product-grid,
html.is-document .product-page__section--ink .product-grid {
    border-bottom: 0;
    border-top: 0;
}

html.is-document .product-page__section--tint::before,
html.is-document .product-page__section--ink::before {
    border-radius: inherit;
    content: "";
    inset-block: 0;
    inset-inline: 0;
    position: absolute;
    z-index: -1;
}

html.is-document .product-page__section--tint::before {
    background: var(--toto-blue-light);
}

html.is-document .product-page__section--ink::before {
    background: var(--toto-blue-light);
}

@media screen and (max-width: 44.984375em) {
    .product-page__section--foundry {
        --product-section-gutter: 16px;
    }
}

/* Material-inspired corner scale for surfaced homepage components. */
.home-hero__signal,
.home-crm__copy {
    border-radius: var(--toto-shape-large);
}

.home-principles article,
html.is-homepage .home-flow--cards .home-flow__card {
    border-radius: var(--toto-shape-medium);
}

.home-flow__tokens code,
.home-open__examples code {
    border-radius: var(--toto-shape-small);
}

/* Keep the operating-context diagram comfortably inset from its panel edges. */
html.is-homepage .home-hero__signal {
    padding-inline: clamp(1.25rem, 2.5vw, 1.75rem);
}

html.is-homepage .home-signal__diagram {
    column-gap: 0.35rem;
    grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1fr) 3rem minmax(0, 1fr);
    padding-inline: 0.2rem;
}

html.is-homepage .home-signal__node {
    min-width: 0;
}

html.is-homepage .home-signal__node strong {
    font-size: clamp(0.78rem, 1.1vw, 0.98rem);
}

@media screen and (max-width: 44.984375em) {
    html.is-homepage .home-hero__signal {
        padding-inline: 1.25rem;
    }

    html.is-homepage .home-signal__diagram {
        column-gap: 0.2rem;
        grid-template-columns: minmax(0, 1fr) 1.8rem minmax(0, 1fr) 1.8rem minmax(0, 1fr);
        padding-inline: 0.1rem;
    }

    html.is-homepage .home-signal__node strong {
        font-size: 0.76rem;
    }
}

/* Home process sequence: four explicit cards rather than a divided process strip. */
html.is-homepage .home-flow--cards {
    border: 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
    padding-left: 0;
}

html.is-homepage .home-flow--cards .home-flow__card,
html.is-homepage .home-flow--cards .home-flow__card:last-child {
    align-self: stretch;
    align-content: start;
    background: var(--toto-paper);
    border: 0;
    border-radius: var(--toto-shape-medium);
    box-shadow: 0 0.8rem 2rem rgba(23, 59, 95, 0.08);
    display: grid;
    gap: 0.85rem;
    grid-template-rows: auto auto auto;
    margin-left: 0;
    min-height: 0;
    padding: 1.25rem;
}

html.is-homepage .home-flow--cards strong {
    color: var(--toto-blue-deep);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.15;
}

.home-flow__tokens {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.45rem;
}

.home-flow__tokens code {
    align-items: center;
    background: #f2f2f2;
    border: 1px solid #d1d1d1;
    border-radius: 0.25rem;
    box-shadow: 0 0.18rem 0.55rem rgba(23, 59, 95, 0.06);
    color: #444444;
    display: inline-flex !important;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.64rem;
    line-height: 1.2;
    padding: 0.32rem 0.42rem;
    white-space: nowrap;
}

html.is-homepage .home-flow--cards p {
    align-self: start;
    color: #000000;
    font-size: 0.94rem;
    line-height: 1.58;
    margin: 0;
}

@media screen and (max-width: 44.984375em) {
    html.is-homepage .home-flow--cards {
        grid-template-columns: 1fr;
    }

    html.is-homepage .home-flow--cards .home-flow__card,
    html.is-homepage .home-flow--cards .home-flow__card:last-child {
        min-height: 0;
        padding: 1.1rem;
    }
}

/* Final scroll-state chrome overrides. */
html.is-scrolled .md-header {
    background-color: rgba(0, 0, 0, 0.72) !important;
    box-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.16);
    transition: background-color 0.24s ease, box-shadow 0.24s ease;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

html.is-document.is-scrolled .md-header,
html.is-homepage.is-scrolled .md-header {
    background-color: rgba(0, 0, 0, 0.72) !important;
}

html.is-scrolled .md-tabs {
    transition: background-color 0.24s ease, border-color 0.24s ease;
}

html.is-homepage.is-scrolled .md-tabs {
    background-color: rgba(0, 0, 0, 0.72) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

/* Final visual overrides: preserve high contrast in the navy header. */
html.is-document .md-header__topic .md-ellipsis,
html.is-document .md-header__topic[data-md-component="header-topic"] .md-ellipsis {
    color: #ffffff !important;
}

html.is-document .md-header__topic[data-md-component="header-topic"] {
    border-left-color: rgba(255, 255, 255, 0.36) !important;
}

html.is-document .md-header .md-header__topic[data-md-component="header-topic"] {
    border-left: 0 !important;
}

/* Home sections use clear, tactile blocks instead of ruled cells. */
.home-principles,
.home-flow {
    border: 0;
    gap: 1rem;
}

.home-principles article,
.home-principles article + article,
.home-principles article:last-child,
.home-flow li,
.home-flow li:last-child {
    border: 0;
}

.home-principles article {
    background: var(--toto-paper);
    box-shadow: 0 0.75rem 2.25rem rgba(23, 59, 95, 0.08);
    min-height: 13rem;
    padding: 1.25rem;
}

.home-principles article + article {
    padding-left: 1.25rem;
}

.home-flow li {
    background: var(--toto-blue-light);
    box-shadow: 0 0.5rem 1.75rem rgba(23, 59, 95, 0.06);
    min-height: 13rem;
    padding: 1.25rem;
}

.home-crm__copy {
    background: rgba(255, 255, 255, 0.12);
    border: 0;
    padding: 1.25rem;
}

.home-section--crm .home-crm__copy {
    border: 0;
}

html.is-homepage .home-principles article,
html.is-homepage .home-principles article + article,
html.is-homepage .home-principles article:last-child,
html.is-homepage .home-flow li,
html.is-homepage .home-flow li:last-child {
    border: 0;
}

html.is-homepage .home-principles article,
html.is-homepage .home-principles article + article,
html.is-homepage .home-principles article:last-child {
    padding: 1.25rem;
}

/* Open-source commitment band. */
.home-section--open {
    background: var(--toto-paper);
}

.home-section--open .home-eyebrow {
    color: #000000;
}

.home-open {
}

.home-open__copy > p {
    color: #000000;
    font-size: 1rem;
    line-height: 1.62;
    margin: 0;
}

.home-open__copy > p + p {
    margin-top: 0.75rem;
}

.home-open__examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
}

.home-open__examples code {
    background: #f2f2f2;
    border: 1px solid #d1d1d1;
    border-radius: 0.25rem;
    color: #444444;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.68rem;
    line-height: 1.2;
    padding: 0.34rem 0.45rem;
    white-space: nowrap;
}

@media screen and (max-width: 44.984375em) {
    .home-principles article,
    .home-principles article + article,
    .home-principles article:last-child,
    .home-flow li,
    .home-flow li:last-child {
        border: 0;
        min-height: auto;
        padding: 1.5rem;
    }

    .home-principles article + article,
    .home-flow li + li {
        border-top: 0;
    }

    .home-crm__copy {
        border: 0;
        padding: 1.25rem;
    }
}

/* ==========================================
   2. GLOBAL HEADER LOGO OVERRIDES
   ========================================== */
/* Locks your main header logo image container scale crisp across all views */
.md-header__button.md-logo img,
.zensical-header__logo img,
.header-logo img,
.md-header__logo img,
[class*="header"] a img,
[class*="header"] img {
    height: 4rem !important;
    max-height: 64px !important;
    width: auto !important;
    display: inline-block !important;
}

.md-header__button.md-logo {
    display: inline-block !important;
}

/* Keep generated heading permalinks quiet until they are needed. */
.headerlink {
    opacity: 0 !important;
    visibility: hidden !important;
    margin-left: 0.25rem;
    transition: opacity 0.15s ease-in-out, visibility 0.15s ease-in-out;
}

h1:hover .headerlink,
h2:hover .headerlink,
h3:hover .headerlink,
h4:hover .headerlink,
h5:hover .headerlink,
h6:hover .headerlink,
.headerlink:focus,
.headerlink:focus-visible {
    opacity: 1 !important;
    visibility: visible !important;
}

.md-header__title,
.zensical-header__title {
    margin-left: 0.375rem;
    width: auto !important;
    justify-content: flex-start !important;
}

/* Keep the logo size while removing the theme's extra header whitespace */
.md-header__inner {
    padding: 0 0.15rem !important;
}

.md-header__button.md-logo {
    padding: 0 !important;
    margin: 0 !important;
}

/* Keep the white logo against the dark homepage header. */
html.is-homepage .md-logo img {
    content: url("../images/toto-site-logo-white-animated.svg") !important;
}

/* ==========================================
   3. SITE NAME & PAGE NAME OVERRIDES (FIXED OVERLAP)
   ========================================== */
/* Keeps the site name and page name layered at the same header position */
.md-header__ellipsis {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

.md-header__topic {
    position: absolute !important;
    left: 0 !important;
    display: flex !important;
    max-width: 100% !important;
}

/* Keeps the site name larger than the current page name */
.md-header__topic:first-child .md-ellipsis {
    font-family: "IBM Plex Sans", sans-serif !important;
    font-size: 1.33rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.md-header__topic:first-child .md-ellipsis::after,
.md-sidebar--primary .md-nav__title::after {
    content: "TM";
    display: inline-block;
    font-size: 0.225em;
    font-weight: 400;
    line-height: 1;
    margin-left: -0.98em;
    position: relative;
    top: -0.65rem;
}

/* Keeps the current page name visually subordinate */
.md-header__topic[data-md-component="header-topic"] .md-ellipsis {
    font-size: 0.83rem !important;
    font-weight: 500 !important;
    opacity: 0.85 !important;
}

/* Keeps only the site name visible in the home landing header */
html.is-homepage .md-header__topic[data-md-component="header-topic"] {
    display: none !important;
}

/* Keeps the landing-page site name visible while the page scrolls */
html.is-homepage .md-header[hidden] {
    display: block !important;
    transform: none !important;
}

html.is-homepage .md-header__topic:first-child {
    opacity: 1 !important;
    transform: none !important;
    z-index: 0 !important;
    pointer-events: auto !important;
}

html.is-homepage .md-header__inner {
    position: relative !important;
}

html.is-homepage .md-header__inner,
html.is-homepage .md-tabs .md-grid {
    box-sizing: border-box;
    max-width: var(--home-content-max) !important;
    padding-inline: var(--home-gutter) !important;
    width: 100% !important;
}

html.is-homepage .md-tabs__list {
    margin-left: 0;
}

html.is-homepage .md-header__title {
    position: static !important;
    width: auto !important;
    margin-left: 0.375rem !important;
    text-align: left !important;
    transform: none !important;
}

html.is-homepage .md-header__ellipsis {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: auto !important;
    justify-content: flex-start !important;
}

html.is-homepage .md-header__topic {
    position: static !important;
    display: flex !important;
    flex: 0 0 auto !important;
    opacity: 1 !important;
    transform: none !important;
    z-index: 0 !important;
    pointer-events: auto !important;
}

html.is-homepage .md-header__topic:first-child {
    width: auto !important;
    justify-content: flex-start !important;
}

/* Keep both header names visible on documentation pages while scrolling */
html.is-document .md-header[hidden] {
    display: block !important;
    transform: none !important;
}

html.is-document .md-header__ellipsis {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: auto !important;
    justify-content: flex-start !important;
}

html.is-document .md-header__topic {
    position: static !important;
    display: flex !important;
    flex: 0 0 auto !important;
    opacity: 1 !important;
    transform: none !important;
    z-index: 0 !important;
    pointer-events: auto !important;
}

html.is-document .md-header__topic[data-md-component="header-topic"] .md-ellipsis {
    font-size: 15px !important;
}

/* Separates the site and page names on documentation pages only */
html.is-document .md-header__topic[data-md-component="header-topic"] {
    border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding-left: 0.5rem !important;
}

/* ==========================================
    Homepage framework
   ========================================== */
html.is-homepage,
html.is-homepage body {
    background-color: var(--toto-blue-primary) !important;
}

html.is-homepage .md-container,
html.is-homepage .md-main,
html.is-homepage .md-content,
html.is-homepage .md-content__inner {
    background-color: transparent !important;
    background: transparent !important;
    --md-default-bg-color: var(--toto-blue-primary) !important;
}

html.is-homepage .md-header__title,
html.is-homepage [class*="header__title"] {
    color: #ffffff !important;
}

/* ==========================================
    Homepage navigation and footer
   ========================================== */
html.is-homepage .md-header {
    background-color: rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

html.is-homepage {
    --md-primary-fg-color: transparent !important;
    --md-primary-fg-color--dark: transparent !important;
    --md-accent-fg-color: #ffffff !important;
    --md-default-fg-color: #ffffff !important;
    --md-default-fg-color--light: rgba(255, 255, 255, 0.8) !important;
    --md-default-fg-color--lightest: rgba(255, 255, 255, 0.6) !important;
}

html.is-homepage .md-tabs__item--active .md-tabs__link,
html.is-homepage .md-tabs__link--active,
html.is-homepage .md-tabs__item {
    border-bottom-color: #ffffff !important;
}

.md-search__button {
    background-color: #111111 !important;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--toto-shape-medium) !important;
    color: #ffffff !important;
}

.md-search__button::before {
    background-color: #ffffff !important;
}

.md-search__button::after {
    background-color: rgba(255, 255, 255, 0.16) !important;
    color: rgba(255, 255, 255, 0.82) !important;
}

.md-search__button:focus,
.md-search__button:hover {
    background-color: var(--toto-blue-deep) !important;
}

html.is-homepage .md-search__icon[for="__search"],
html.is-homepage .md-search__form label.md-search__icon svg,
html.is-homepage .md-search__inner svg path {
    fill: #ffffff !important;
    color: #ffffff !important;
    opacity: 1 !important;
}
html.is-homepage .md-search__input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.7) !important;
}
html.is-homepage .md-search__input {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html.is-document .md-footer,
html.is-document .md-footer-meta,
html.is-homepage .md-footer,
html.is-homepage .md-footer-meta {
    background-color: #000000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
html.is-document .md-footer {
    background-color: #ffffff !important;
}
html.is-document .md-footer-meta__inner,
html.is-homepage .md-footer__inner,
html.is-homepage .md-footer-meta__inner {
    background-color: transparent !important;
}
html.is-document .md-footer,
html.is-document .md-footer__link,
html.is-document .md-footer-meta,
html.is-document .md-footer-meta__inner,
html.is-document .md-copyright,
html.is-document .md-footer__brand,
html.is-document .md-footer__brand a,
html.is-homepage .md-footer,
html.is-homepage .md-footer__link,
html.is-homepage .md-footer__title,
html.is-homepage .md-footer-meta,
html.is-homepage .md-footer-meta__inner,
html.is-homepage .md-tabs__link,
html.is-homepage .md-nav__link,
html.is-homepage .md-header__button {
    color: #ffffff !important;
}
html.is-document .md-footer__inner {
    background-color: #ffffff !important;
}

@media screen and (min-width: 45em) {
    html.is-document .md-footer__inner {
        display: grid;
        gap: 1rem;
        grid-template-columns: 12.1rem minmax(0, 1fr) 12.1rem;
        padding-inline: 0;
    }

    html.is-document .md-footer__link--prev {
        grid-column: 1;
    }

    html.is-document .md-footer__link--next {
        grid-column: 3;
        margin-left: 0;
    }
}

html.is-document .md-footer__link,
html.is-document .md-footer__title,
html.is-document .md-footer__button,
html.is-document .md-footer__direction {
    color: #111111 !important;
}
html.is-homepage .md-footer__direction {
    color: rgba(255, 255, 255, 0.6) !important;
}

@media screen and (max-width: 44.984375em) {
    html.is-document .md-footer__link--prev .md-footer__title,
    html.is-homepage .md-footer__link--prev .md-footer__title {
        display: block !important;
    }
}

/* Keep named top navigation visible above narrow-mobile widths */
@media screen and (min-width: 45em) {
    .md-tabs {
        display: block !important;
    }

    .md-header__button[for="__drawer"] {
        display: none !important;
    }
}

/* Keep document rails visible even when a browser delays page-class scripts. */
@media screen and (min-width: 45em) {
    .md-sidebar,
    [data-md-component="sidebar"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: sticky !important;
        top: 4.8rem !important;
        height: auto !important;
        width: 12.1rem !important;
        flex: 0 0 12.1rem !important;
    }

    .md-sidebar__scrollwrap,
    .md-sidebar__inner {
        position: static !important;
        width: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }
}

html.is-document .md-tabs {
    background-color: #ffffff !important;
    color: #111111 !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 5 !important;
}

html.is-document .md-tabs__link {
    color: #111111 !important;
    opacity: 1 !important;
}

/* ==========================================
   8. SIDEBAR VISIBILITY BY PAGE TYPE
   ========================================== */
/* Documentation navigation styling inspired by Zensical's restrained rails */
html.is-document .md-sidebar--primary {
    border-right: none !important;
    padding-right: 1rem !important;
}

html.is-document .md-sidebar--secondary {
    border-left: none !important;
    padding-left: 1rem !important;
}

html.is-document .md-nav__title {
    font-family: "IBM Plex Sans", sans-serif !important;
    min-height: 2rem;
    padding: 0 0.75rem 0.6rem !important;
    color: rgba(25, 25, 25, 0.55) !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    line-height: 1.3 !important;
    text-transform: uppercase;
}

html.is-document .md-sidebar--primary .md-nav--primary > .md-nav__title {
    display: none !important;
}

html.is-document .md-sidebar--primary .md-nav__link,
html.is-document .md-sidebar--secondary .md-nav__link {
    border-radius: var(--toto-shape-small);
    color: rgba(25, 25, 25, 0.68) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    margin: 0.12rem 0;
    padding: 0.45rem 0.75rem !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

html.is-document .md-sidebar--primary .md-nav__link:hover,
html.is-document .md-sidebar--secondary .md-nav__link:hover {
    background-color: rgba(25, 25, 25, 0.06) !important;
    color: #111111 !important;
}

html.is-document .md-sidebar--primary .md-nav__link--active {
    background-color: rgba(43, 103, 172, 0.12) !important;
    color: #000000;
    font-weight: 700 !important;
}

html.is-document .md-sidebar--secondary .md-nav__link {
    border-left: 2px solid transparent;
    border-radius: 0;
    color: rgba(25, 25, 25, 0.52) !important;
    font-size: 0.72rem !important;
    padding: 0.3rem 0.65rem !important;
}

html.is-document .md-sidebar--secondary .md-nav__link--active {
    border-left-color: var(--toto-blue-primary);
    color: #000000;
}

html.is-homepage .md-sidebar--primary .md-nav__link {
    color: rgba(25, 25, 25, 0.68) !important;
}

html.is-homepage .md-sidebar--primary .md-nav__link:hover {
    background-color: rgba(25, 25, 25, 0.06) !important;
    color: #111111 !important;
}

html.is-homepage .md-sidebar--primary .md-nav__link--active {
    background-color: rgba(43, 103, 172, 0.12) !important;
    color: #000000;
    font-weight: 700 !important;
}

@media screen and (min-width: 45em) {
    html.is-homepage .md-sidebar,
    html.is-homepage [data-md-component="sidebar"] {
        display: none !important;
    }
}

html.is-document .md-sidebar,
html.is-document [data-md-component="sidebar"],
html.is-document .md-sidebar--primary,
html.is-document .md-sidebar--secondary {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: sticky !important;
    top: 4.8rem !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    height: auto !important;
    width: 12.1rem !important;
    flex: 0 0 12.1rem !important;
}

html.is-document .md-sidebar--secondary {
    order: 2 !important;
    padding: 1.1rem 0 !important;
}

@media screen and (max-width: 44.984375em) {
    .md-header__inner {
        display: flex !important;
        align-items: center !important;
    }

    .md-header__button[for="__drawer"] {
        order: -1 !important;
    }

    .md-header__button.md-logo {
        order: 0 !important;
    }

    .md-header__title {
        order: 1 !important;
    }

    .md-header__button[for="__search"],
    .md-search {
        order: 2 !important;
    }

    html.is-document .md-main__inner,
    html.is-homepage .md-main__inner {
        display: block !important;
    }

    html.is-document .md-sidebar--primary,
    html.is-homepage .md-sidebar--primary {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 10 !important;
        width: min(18rem, 85vw) !important;
        height: 100vh !important;
        transform: translateX(-105%) !important;
        transition: none !important;
        background: #ffffff !important;
        overflow: hidden !important;
    }

    html.is-document .md-sidebar--secondary {
        display: none !important;
    }

    html.is-document #__drawer:checked ~ .md-container .md-sidebar--primary,
    html.is-homepage #__drawer:checked ~ .md-container .md-sidebar--primary {
        transform: translateX(0) !important;
    }

    html.is-document .md-sidebar--primary .md-sidebar__scrollwrap,
    html.is-document .md-sidebar--primary .md-sidebar__inner,
    html.is-homepage .md-sidebar--primary .md-sidebar__scrollwrap,
    html.is-homepage .md-sidebar--primary .md-sidebar__inner {
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
}

@media screen and (min-width: 45em) {
    html.is-document .md-main__inner {
        display: grid !important;
        grid-template-columns: 12.1rem minmax(0, 1fr) 12.1rem !important;
        gap: 1rem !important;
        align-items: start !important;
    }

    html.is-document .md-sidebar--primary {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    html.is-document .md-content {
        grid-column: 2 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
    }

    html.is-document .md-sidebar--secondary {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }

    html.is-document .md-sidebar--primary .md-sidebar__scrollwrap,
    html.is-document .md-sidebar--primary .md-sidebar__inner,
    html.is-homepage .md-sidebar--primary .md-sidebar__scrollwrap,
    html.is-homepage .md-sidebar--primary .md-sidebar__inner,
    html.is-document .md-sidebar--secondary .md-sidebar__scrollwrap,
    html.is-document .md-sidebar--secondary .md-sidebar__inner {
        position: static !important;
        width: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }
}

/* ==========================================
   9. PRODUCT LANDING EXPERIENCE
   ========================================== */
html.is-homepage,
html.is-homepage body {
    background-color: #111111 !important;
}

html.is-homepage .zensical-landing-wrap {
    padding-top: 0;
}

html.is-homepage .md-main__inner,
html.is-homepage .md-content,
html.is-homepage .md-content__inner {
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

html.is-homepage .md-content__inner {
    padding-top: 0 !important;
}

html.is-homepage .md-content__inner::before {
    content: none;
    display: none;
}

.home-product {
    color: #111111;
    overflow: hidden;
}

.home-hero {
    background: #111111;
    color: #ffffff;
    padding: clamp(3.75rem, 6vw, 5.5rem) var(--home-gutter) 3.25rem;
}

.home-hero__inner,
.home-section__inner {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: var(--home-content-max);
    width: 100%;
}

.home-hero__inner {
    align-items: end;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
}

.home-hero__copy {
    align-self: start;
}

.home-eyebrow {
    color: #000000;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    margin: 0 0 1.1rem;
    text-transform: uppercase;
}

.home-hero h1,
.home-section h2 {
    font-weight: 500;
    letter-spacing: 0;
}

.home-hero h1 {
    font-size: clamp(1.25rem, 3.2vw, 3.2rem);
    line-height: 1.05;
    margin: 0;
    text-wrap: balance;
}

.home-hero__lead {
    color: rgba(255, 255, 255, 0.74);
    font-size: clamp(1.05rem, 1.7vw, 1.33rem);
    line-height: 1.55;
    margin: 1.25rem 0 0;
}

.home-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.home-action {
    border-radius: var(--toto-shape-medium);
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 0.85rem 1.25rem;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.home-action:hover,
.home-action:focus-visible {
    transform: translateY(-2px);
}

.home-action--light {
    background: #ffffff;
    color: #111111 !important;
}

.home-action--light:hover,
.home-action--light:focus-visible {
    background: var(--toto-blue-light);
}

.home-action--dark {
    background: #111111;
    color: #ffffff !important;
}

.home-action--dark:hover,
.home-action--dark:focus-visible {
    background: var(--toto-blue-deep);
}

.home-text-link {
    align-items: center;
    color: inherit !important;
    display: inline-flex;
    font-size: 0.93rem;
    font-weight: 700;
    gap: 0.45rem;
    text-decoration: none;
}

.home-text-link span {
    font-size: 1.1em;
    transition: transform 0.18s ease;
}

.home-text-link:hover span,
.home-text-link:focus-visible span {
    transform: translateX(0.2rem);
}

.home-hero__signal {
    align-self: stretch;
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 19rem;
    padding: 1.25rem;
}

.home-signal__header {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.75rem;
}

.home-signal__header span,
.home-signal__header b {
    color: rgba(255, 255, 255, 0.6);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-signal__header b {
    color: #000000;
    font-weight: 700;
}

.home-signal__diagram {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2.5rem minmax(0, 1fr) 2.5rem minmax(0, 1fr);
    margin: auto 0;
    min-height: 8rem;
}

.home-signal__node {
    display: grid;
    gap: 0.4rem;
    min-width: 0;
}

.home-signal__node-dot {
    background: var(--toto-blue-light);
    border: 0.35rem solid rgba(230, 239, 248, 0.18);
    border-radius: 50%;
    box-sizing: content-box;
    height: 0.7rem;
    margin-bottom: 0.5rem;
    width: 0.7rem;
}

.home-signal__node strong {
    font-size: 0.98rem;
    font-weight: 500;
    white-space: nowrap;
}

.home-signal__node small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.66rem;
    line-height: 1.35;
}

.home-signal__path {
    align-items: center;
    display: flex;
}

.home-signal__path::before {
    background: rgba(255, 255, 255, 0.35);
    content: "";
    height: 1px;
    width: 100%;
}

.home-signal__path span {
    border-right: 1px solid var(--toto-blue-light);
    border-top: 1px solid var(--toto-blue-light);
    height: 0.35rem;
    margin-left: -0.35rem;
    transform: rotate(45deg);
    width: 0.35rem;
}

.home-signal__frame {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    display: grid;
    gap: 0.6rem;
    padding-top: 0.75rem;
}

.home-signal__frame p {
    color: rgba(255, 255, 255, 0.6);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.7rem;
    letter-spacing: 0.07em;
    margin: 0 0 0.25rem;
    text-transform: uppercase;
}

.home-signal__frame span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.92rem;
    font-weight: 500;
}

.home-section {
    padding: clamp(2.5rem, 4vw, 3.5rem) var(--home-gutter);
}

.home-section__split {
    align-items: start;
    display: grid;
    gap: clamp(2rem, 4vw, 4rem);
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

.home-section__split .home-section__heading h2 {
    font-size: clamp(1.15rem, 2.2vw, 2.2rem);
    line-height: 1.08;
}

.home-section__content {
    min-width: 0;
}

.home-section--paper {
    background: #ffffff;
}

.home-section--signal {
    background: var(--toto-blue-light);
}

.home-section--crm {
    background: var(--toto-blue-deep);
    color: #ffffff;
}

.home-section--close {
    background: #ffffff;
}

.home-section--paper .home-eyebrow,
.home-section--signal .home-eyebrow,
.home-section--close .home-eyebrow {
    color: #000000;
}

.home-section h2 {
    font-size: clamp(1.15rem, 2.7vw, 2.8rem);
    line-height: 1.01;
    margin: 0;
    text-wrap: balance;
}

.home-copy {
    font-size: 1rem;
    line-height: 1.55;
    margin: 0;
}

.home-section__heading {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: flex-start;
}

.home-section__heading .home-eyebrow {
    margin-bottom: 0;
}

.home-principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
}

.home-principles article {
    border-left: 1px solid rgba(17, 17, 17, 0.25);
    min-height: 16rem;
    padding: 1.4rem 1.5rem 0 0;
}

.home-principles article + article {
    padding-left: 1.5rem;
}

.home-principles article:last-child {
    border-right: 1px solid rgba(17, 17, 17, 0.25);
}

.home-principles span {
    color: var(--toto-blue-deep);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.72rem;
    font-weight: 700;
}

.home-principles h3 {
    font-size: 1.42rem;
    font-weight: 500;
    line-height: 1.15;
    margin: 1.75rem 0 0.75rem;
}

.home-principles p,
.home-crm__copy p,
.home-close__copy > p {
    color: #000000;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.home-crm .home-eyebrow {
    color: var(--toto-blue-light);
}

.home-crm__copy {
    background: var(--toto-paper);
    border: 0;
    color: #000000;
    padding: 1.25rem;
}

.home-crm__copy .home-text-link {
    color: var(--toto-blue-deep) !important;
    margin-top: 1.25rem;
}

.home-flow {
    border-bottom: 1px solid rgba(17, 17, 17, 0.2);
    border-top: 1px solid rgba(17, 17, 17, 0.2);
    counter-reset: flow;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-flow li {
    align-content: space-between;
    border-left: 1px solid rgba(17, 17, 17, 0.2);
    display: grid;
    gap: 3.5rem;
    min-height: 14.5rem;
    padding: 1.4rem 1.35rem 1.5rem;
}

.home-flow li:last-child {
    border-right: 1px solid rgba(17, 17, 17, 0.2);
}

.home-flow strong {
    color: var(--toto-blue-deep);
    font-size: 1.25rem;
    font-weight: 500;
}

.home-flow span {
    color: #000000;
    font-size: 0.94rem;
    line-height: 1.55;
}

.home-close {
    text-align: start;
}

.home-close .home-actions {
    justify-content: flex-start;
}

@media screen and (max-width: 62em) {
    .home-hero__inner,
    .home-section__split {
        grid-template-columns: 1fr;
    }

    .home-section__split {
        gap: 1.5rem;
    }

    .home-hero__signal {
        min-height: 14rem;
    }

    .home-signal__diagram {
        min-height: 9rem;
    }
}

@media screen and (max-width: 44.984375em) {
    .home-hero {
        min-height: auto;
        padding: 3.25rem var(--home-gutter) 2.5rem;
    }

    .home-section__split {
        grid-template-columns: 1fr;
    }

    .home-section {
        padding: 2.25rem var(--home-gutter);
    }

    .home-principles,
    .home-flow {
        grid-template-columns: 1fr;
    }

    .home-principles article,
    .home-principles article + article,
    .home-flow li {
        border-left: 0;
        border-right: 0;
        min-height: auto;
        padding: 1.5rem 0;
    }

    .home-principles article {
        border-bottom: 1px solid rgba(17, 17, 17, 0.25);
    }

    .home-principles article:last-child {
        border-bottom: 0;
    }

    .home-principles h3 {
        margin-top: 1.75rem;
    }

    .home-flow li {
        gap: 1.75rem;
    }

    .home-flow li + li {
        border-top: 1px solid rgba(17, 17, 17, 0.2);
    }

    .home-crm__copy {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.35);
        padding-left: 1.25rem;
        padding-top: 1.25rem;
    }

    .home-hero__signal {
        min-height: 18rem;
    }

    .home-signal__diagram {
        grid-template-columns: minmax(0, 1fr) 1.4rem minmax(0, 1fr) 1.4rem minmax(0, 1fr);
    }

    .home-signal__node strong {
        font-size: 0.82rem;
    }

    .home-signal__node small {
        font-size: 0.58rem;
    }
}

/* ==========================================
    Product page editorial styles
    ========================================== */
.product-page {
    color: var(--product-ink);
    padding: 2rem 0 5.5rem;
}
.product-page__hero {
    border-bottom: 1px solid var(--product-line);
    padding: 2.25rem 0 4.5rem;
}

.product-page__eyebrow,
.product-page__kicker {
    color: #000000;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.product-page h1,
.product-page h2,
.product-page h3 {
    letter-spacing: 0;
}

.product-page h1 {
    font-size: clamp(2.9rem, 6vw, 5.5rem);
    font-weight: 500;
    line-height: 0.98;
    margin: 0;
    max-width: 12ch;
}

.product-page--why-toto h1 {
    font-size: clamp(2.2rem, 4.5vw, 4.5rem);
    max-width: 18ch;
}

.product-page__lead {
    color: #000000;
    font-size: clamp(1.08rem, 1.8vw, 1.35rem);
    line-height: 1.58;
    margin: 1.8rem 0 0;
    max-width: 41rem;
}

.product-page__section {
    border-bottom: 1px solid var(--product-line);
    padding: 4.5rem 0;
}

.product-page__section h2,
.product-page__closing h2 {
    font-size: clamp(2rem, 4.4vw, 3.85rem);
    font-weight: 500;
    line-height: 1.04;
    margin: 0;
    max-width: 15ch;
}

.product-page__body {
    color: #000000;
    font-size: 1.08rem;
    line-height: 1.65;
    margin: 1.55rem 0 0;
    max-width: 43rem;
}

.product-grid {
    border-bottom: 1px solid var(--product-line);
    border-top: 1px solid var(--product-line);
    display: grid;
    margin-top: 3.25rem;
}

.product-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid__item {
    min-height: 13.5rem;
    padding: 1.4rem 1.35rem 1.5rem;
}

.product-grid__item + .product-grid__item {
    border-left: 1px solid var(--product-line);
}

.product-grid--two .product-grid__item:nth-child(3),
.product-grid--two .product-grid__item:nth-child(4) {
    border-top: 1px solid var(--product-line);
}

.product-grid--two .product-grid__item:nth-child(3) {
    border-left: 0;
}

.product-grid__item h3 {
    font-size: 1.24rem;
    font-weight: 500;
    line-height: 1.18;
    margin: 0.55rem 0 0.85rem;
}

.product-grid__item p {
    color: #000000;
    font-size: 0.94rem;
    line-height: 1.58;
    margin: 0;
}

.product-grid__number {
    color: #000000;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.72rem;
    font-weight: 700;
}

.product-page__section--tint {
    background: var(--toto-blue-light);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.product-page__section--ink {
    background: #111111;
    border-bottom: 0;
    color: #ffffff;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.product-page__section--ink .product-page__kicker {
    color: #000000;
}

.product-page__section--ink .product-page__body {
    color: rgba(255, 255, 255, 0.76);
}

.product-page__link {
    align-items: center;
    color: inherit !important;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 700;
    gap: 0.45rem;
    margin-top: 1.8rem;
    text-decoration: none;
}

.product-page__link span {
    font-size: 1.1em;
    transition: transform 0.18s ease;
}

.product-page__link:hover span,
.product-page__link:focus-visible span {
    transform: translateX(0.2rem);
}

.product-steps {
    border-top: 1px solid var(--product-line);
    counter-reset: product-step;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 3.25rem 0 0;
    padding: 0;
}

.product-steps li {
    border-bottom: 1px solid var(--product-line);
    border-left: 1px solid var(--product-line);
    display: grid;
    gap: 3.2rem;
    min-height: 13rem;
    padding: 1.4rem 1.35rem 1.5rem;
}

.product-steps li:last-child {
    border-right: 1px solid var(--product-line);
}

.product-steps strong {
    font-size: 1.2rem;
    font-weight: 500;
}

.product-steps span {
    color: #000000;
    font-size: 0.94rem;
    line-height: 1.55;
}

html.is-document .product-page .product-steps--cards {
    border: 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    list-style: none;
    margin: 3.25rem 0 0;
    padding: 0;
}

html.is-document .product-page .product-steps--cards > li,
html.is-document .product-page .product-steps--cards > li:last-child {
    background: var(--toto-paper);
    border: 1px solid var(--product-line);
    border-radius: var(--toto-shape-medium);
    box-shadow: 0 0.65rem 1.5rem rgba(23, 59, 95, 0.08);
    gap: 1.25rem;
    min-height: 13rem;
    margin: 0;
    padding: 1.5rem;
}

html.is-document .product-page .product-steps--cards > li::before {
    color: #000000;
    content: counter(product-step, decimal-leading-zero);
    counter-increment: product-step;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.72rem;
    font-weight: 700;
}

.product-page__closing {
    padding: 4.5rem 0 0;
}

.product-page__closing > p {
    color: #000000;
    font-size: 1.08rem;
    line-height: 1.65;
    margin: 1.5rem 0 0;
    max-width: 42rem;
}

.product-contact__email {
    font-size: clamp(1.45rem, 3vw, 2.35rem);
    font-weight: 500;
    line-height: 1.2;
    margin: 2rem 0 0;
    overflow-wrap: anywhere;
}

.product-contact__email a {
    color: #000000;
    text-decoration-color: var(--product-signal);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
}

@media screen and (max-width: 44.984375em) {
    html,
    body {
        overflow-x: hidden;
    }

    .product-page {
        padding-bottom: 4rem;
        padding-top: 0.5rem;
    }

    .product-page__hero {
        padding-bottom: 3.5rem;
        padding-top: 2rem;
    }

    .product-page__section {
        padding: 3.5rem 0;
    }

    .product-grid--two,
    .product-grid--three,
    .product-steps {
        grid-template-columns: 1fr;
    }

    .product-grid__item,
    .product-grid__item + .product-grid__item,
    .product-grid--two .product-grid__item:nth-child(3),
    .product-steps li,
    .product-steps li:last-child {
        border-left: 0;
        border-right: 0;
        min-height: auto;
    }

    .product-grid__item + .product-grid__item,
    .product-grid--two .product-grid__item:nth-child(2),
    .product-steps li + li {
        border-top: 1px solid var(--product-line);
    }

    .product-grid__item,
    .product-steps li {
        padding-left: 0;
        padding-right: 0;
    }

    .product-steps li {
        gap: 1.75rem;
    }

    html.is-document .product-page .product-steps--cards {
        grid-template-columns: 1fr;
    }

    html.is-document .product-page .product-steps--cards > li,
    html.is-document .product-page .product-steps--cards > li:last-child {
        border: 1px solid var(--product-line);
        gap: 1rem;
        min-height: auto;
        margin: 0;
        padding: 1.25rem;
    }

    .product-page__section--tint,
    .product-page__section--ink {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Keep the visual palette after legacy compatibility rules in this stylesheet. */
html.is-document,
html.is-document body,
html.is-document .md-main,
html.is-document .md-content,
html.is-document .md-content__inner {
    background-color: var(--toto-paper) !important;
}

html.is-document .md-header {
    background-color: #000000 !important;
}

html.is-document .md-logo img {
    content: url("../images/toto-site-logo-white-animated.svg") !important;
}

@media (prefers-reduced-motion: reduce) {
    html.is-document .md-logo img,
    html.is-homepage .md-logo img {
        content: url("../images/toto-site-logo-white-med.webp") !important;
    }
}

html.is-document .md-tabs {
    background-color: var(--toto-paper) !important;
    border-bottom: 1px solid var(--toto-line);
}

html.is-document .md-tabs__link {
    color: #000000;
}

html.is-document .md-tabs__link--active,
html.is-document .md-tabs__link:hover {
    color: #000000;
}

html.is-homepage .md-tabs {
    background-color: #000000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

html.is-homepage .md-tabs__link {
    color: #ffffff !important;
}

html.is-homepage .md-tabs__link:hover {
    color: var(--toto-sun-orange) !important;
}

html.is-homepage .md-tabs__link--active,
html.is-homepage .md-tabs__item--active .md-tabs__link {
    color: var(--toto-sun-orange) !important;
}

html.is-homepage .md-tabs__item--active {
    border-bottom-color: var(--toto-sun-orange) !important;
}

html.is-document .md-sidebar--primary .md-nav__link--active,
html.is-homepage .md-sidebar--primary .md-nav__link--active {
    background-color: rgba(43, 103, 172, 0.12) !important;
    color: #000000;
}

html.is-document .md-sidebar--secondary .md-nav__link--active {
    border-left-color: var(--toto-blue-primary);
    color: #000000;
}

html.is-homepage,
html.is-homepage body {
    background-color: var(--toto-blue-deep) !important;
}

html.is-homepage .md-header {
    background-color: #000000 !important;
}

.home-product {
    color: #000000;
}

.home-hero {
    background: var(--toto-blue-deep);
}

.home-eyebrow {
    color: #000000;
}

.home-action--light {
    background: var(--toto-paper);
    color: #000000;
}

.home-action--light:hover,
.home-action--light:focus-visible {
    background: var(--toto-blue-primary);
}

.home-action--dark {
    background: var(--toto-blue-primary);
}

.home-action--dark:hover,
.home-action--dark:focus-visible {
    background: var(--toto-blue-primary);
}

.home-hero__signal {
    background-color: rgba(43, 103, 172, 0.06);
    border-color: rgba(43, 103, 172, 0.45);
}

.home-signal__header,
.home-signal__frame {
    border-color: rgba(43, 103, 172, 0.36);
}

.home-signal__header b {
    color: #000000;
}

.home-signal__node-dot {
    background: var(--toto-blue-primary);
    border-color: rgba(43, 103, 172, 0.2);
}

.home-signal__path span {
    border-right-color: var(--toto-blue-primary);
    border-top-color: var(--toto-blue-primary);
}

.home-section--paper,
.home-section--close {
    background: var(--toto-paper);
}

.home-section--signal {
    background: var(--toto-blue-light);
}

.home-section--crm {
    background: var(--toto-blue-primary);
}

.home-section--paper .home-eyebrow,
.home-section--signal .home-eyebrow,
.home-section--close .home-eyebrow,
.home-principles span {
    color: #000000;
}

.home-crm .home-eyebrow {
    color: #000000;
}

.home-principles,
.home-principles article,
.home-flow,
.home-flow li {
    border-color: var(--toto-line);
}

.product-page__section--tint {
    background: var(--toto-blue-light);
}

.product-page__section--ink {
    background: var(--toto-blue-deep);
}

.product-page__section--ink .product-page__kicker {
    color: #000000;
}

.product-contact__email a {
    color: #000000;
    text-decoration-color: var(--toto-blue-primary);
}

html.is-homepage,
html.is-homepage body {
    background-color: var(--toto-blue-light) !important;
}

.home-hero {
    background: var(--toto-blue-light);
    color: #000000;
}

.home-hero__lead {
    color: #000000;
}

.home-action--light {
    border: 1px solid rgba(23, 59, 95, 0.16);
    box-shadow: 0 0.5rem 1.4rem rgba(23, 59, 95, 0.08);
}

.home-action--dark {
    background: var(--toto-blue-primary);
}

.home-hero__signal {
    background-color: var(--toto-paper);
    border-color: rgba(43, 103, 172, 0.24);
    box-shadow: 0 1rem 2.75rem rgba(23, 59, 95, 0.1);
}

.home-signal__header,
.home-signal__frame {
    border-color: var(--toto-line);
}

.home-signal__header span,
.home-signal__frame p,
.home-signal__node small {
    color: #000000;
}

.home-signal__header b,
.home-signal__frame span {
    color: #000000;
}

.home-signal__node-dot {
    background: var(--toto-blue-primary);
    border-color: rgba(43, 103, 172, 0.14);
}

.home-signal__path::before {
    background: var(--toto-line);
}

.home-signal__path span {
    border-right-color: var(--toto-blue-primary);
    border-top-color: var(--toto-blue-primary);
}

.home-section--open {
    background: var(--toto-blue-light);
}

.home-section--paper {
    background: var(--toto-blue-light);
    color: var(--toto-blue-deep);
}

html.is-homepage .home-section--paper .home-eyebrow {
    color: var(--toto-blue-deep);
}

.home-section--signal,
.home-section--close {
    background: var(--toto-paper);
}

html.is-homepage .home-section--crm {
    background: var(--toto-blue-deep);
    color: #ffffff;
}

.home-section--crm {
    color: #ffffff;
}

.home-crm .home-eyebrow {
    color: var(--toto-blue-light);
}

.home-crm__copy,
.home-section--crm .home-crm__copy {
    background: var(--toto-paper);
    border: 0;
    box-shadow: 0 0.75rem 2rem rgba(23, 59, 95, 0.08);
    color: #000000;
}

.home-crm__copy .home-text-link {
    color: var(--toto-blue-deep) !important;
}

html.is-homepage .home-principles article {
    background: var(--toto-blue-deep);
}

html.is-homepage .home-principles article h3,
html.is-homepage .home-principles article p,
html.is-homepage .home-principles article span {
    color: #ffffff;
}

html.is-homepage .home-open__examples code {
    background: var(--toto-paper);
    border-color: var(--toto-line);
    color: #000000;
}

html.is-homepage .home-flow__tokens code {
    background: var(--toto-blue-light);
    border-color: var(--toto-line);
    color: #000000;
}

.product-page__section--tint {
    background: var(--toto-blue-light);
}

.product-page__section--ink {
    background: var(--toto-blue-light);
    color: #000000;
}

.product-page__section--ink .product-page__kicker,
.product-page__section--ink .product-page__link {
    color: #000000;
}

.product-page__section--ink .product-page__body {
    color: #000000;
}

/* Homepage band contrast and color rhythm. */
html.is-homepage .home-section--crm :is(h1, h2, h3, h4, h5, h6),
html.is-homepage .home-principles article :is(h1, h2, h3, h4, h5, h6) {
    color: #ffffff !important;
}

html.is-homepage .home-section--crm .home-eyebrow,
html.is-homepage .home-principles article span {
    color: var(--toto-blue-light) !important;
}

html.is-homepage .home-section--signal,
html.is-homepage .home-section--paper {
    background: #ffffff;
    color: #000000;
}

html.is-homepage .home-section--open,
html.is-homepage .home-section--close {
    background: var(--toto-blue-light);
    color: #000000;
}

html.is-homepage .home-section--crm {
    background: var(--toto-blue-deep);
    color: #ffffff;
}

html.is-homepage .home-section__heading .home-eyebrow {
    color: var(--toto-blue-primary);
}

html.is-homepage .home-principles article {
    background: var(--toto-blue-deep);
}

html.is-homepage .home-principles article p {
    color: #ffffff;
}

html.is-homepage .home-principles article h3 {
    color: #ffffff !important;
}

html.is-homepage .home-crm__copy {
    background: #ffffff;
    color: #000000;
}

html.is-homepage .home-crm__copy .home-text-link {
    color: var(--toto-blue-primary) !important;
}

html.is-homepage .home-open__examples code {
    background: var(--toto-blue-light);
    color: var(--toto-blue-deep);
}

html.is-homepage .home-flow__tokens code {
    background: #f2f2f2;
    border-color: #d1d1d1;
    color: #444444;
}

html.is-homepage .home-action--dark {
    background: var(--toto-blue-primary);
    color: #ffffff !important;
}

html.is-homepage .home-product .home-text-link,
html.is-homepage .home-action--light {
    color: var(--toto-blue-primary) !important;
}

html.is-homepage .home-action--dark,
html.is-homepage .home-action--dark span {
    color: #ffffff !important;
}

html.is-homepage .home-hero .home-action--light {
    background: var(--toto-blue-primary);
    color: #ffffff !important;
}

html.is-homepage .home-hero .home-action--light:hover,
html.is-homepage .home-hero .home-action--light:focus-visible {
    background: var(--toto-blue-deep);
    color: #ffffff !important;
}

html.is-homepage .home-signal__node-dot {
    background: var(--toto-sun-orange);
    border-color: rgba(202, 77, 23, 0.2);
}

html.is-homepage .home-signal__path span {
    border-right-color: var(--toto-blue-primary);
    border-top-color: var(--toto-blue-primary);
}

html.is-homepage .home-section--crm .home-eyebrow,
html.is-homepage .home-principles article span {
    color: var(--toto-blue-light) !important;
}

html.is-homepage .home-section__heading .home-eyebrow {
    color: var(--toto-blue-primary);
}

html.is-homepage .home-action--dark,
html.is-homepage .home-action--dark span {
    background: var(--toto-blue-primary);
    color: #ffffff !important;
}

html.is-homepage .home-action--dark:hover,
html.is-homepage .home-action--dark:focus-visible {
    background: var(--toto-sun-orange);
    color: #ffffff !important;
}



