:root {
    --tuc-ink: #15251f;
    --tuc-muted: #617069;
    --tuc-green: #16855b;
    --tuc-green-dark: #0d6744;
    --tuc-green-soft: #e9f6f0;
    --tuc-surface: #f6f8f6;
    --tuc-border: #dfe7e2;
}

html {
    scroll-behavior: smooth;
}

body.tuc-public {
    background: #fff;
    color: var(--tuc-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: clip;
}

.public-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--tuc-border);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.public-header .navbar {
    min-height: 72px;
}

.tuc-brand {
    align-items: center;
    color: var(--tuc-ink);
    display: inline-flex;
    font-size: 1.1rem;
    font-weight: 750;
    gap: .65rem;
    letter-spacing: .08em;
}

.tuc-brand:hover {
    color: var(--tuc-green-dark);
}

.tuc-brand-mark {
    align-items: center;
    background: var(--tuc-green);
    border-radius: .65rem;
    color: #fff;
    display: inline-flex;
    font-size: 1rem;
    height: 2.15rem;
    justify-content: center;
    letter-spacing: 0;
    width: 2.15rem;
}

.public-header .nav-link {
    color: var(--tuc-muted);
    font-weight: 550;
    padding: .55rem .85rem;
}

.public-header .nav-link:hover,
.public-header .nav-link:focus {
    color: var(--tuc-green-dark);
}

.language-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    display: inline-flex;
    gap: .4rem;
}

.language-switcher .dropdown-menu {
    border-color: var(--tuc-border);
    border-radius: .75rem;
    box-shadow: 0 .75rem 2rem rgba(21, 37, 31, .1);
    min-width: 10rem;
    padding: .4rem;
}

.language-switcher .dropdown-item {
    align-items: center;
    border-radius: .5rem;
    color: var(--tuc-muted);
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    padding: .55rem .7rem;
}

.language-switcher .dropdown-item:hover,
.language-switcher .dropdown-item:focus {
    background: var(--tuc-green-soft);
    color: var(--tuc-green-dark);
}

.language-switcher .dropdown-item.active,
.language-switcher .dropdown-item:active {
    background: var(--tuc-green);
    color: #fff;
}

.btn-tuc {
    background: var(--tuc-green);
    border-color: var(--tuc-green);
    color: #fff;
}

.btn-tuc:hover,
.btn-tuc:focus {
    background: var(--tuc-green-dark);
    border-color: var(--tuc-green-dark);
    color: #fff;
}

.btn-outline-tuc {
    background: transparent;
    border-color: #afbeb5;
    color: var(--tuc-ink);
}

.btn-outline-tuc:hover,
.btn-outline-tuc:focus {
    background: var(--tuc-green-soft);
    border-color: var(--tuc-green);
    color: var(--tuc-green-dark);
}

.hero-section {
    background:
        radial-gradient(circle at 88% 15%, rgba(22, 133, 91, .13), transparent 30rem),
        linear-gradient(180deg, #fbfdfb 0%, #f4f8f5 100%);
    border-bottom: 1px solid var(--tuc-border);
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.eyebrow {
    color: var(--tuc-green-dark);
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .14em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 4.6vw, 4.25rem);
    font-weight: 740;
    letter-spacing: -.055em;
    line-height: .98;
    margin-bottom: 1.5rem;
    max-width: 14ch;
}

.hero-copy {
    color: var(--tuc-muted);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.65;
    max-width: 42rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.hero-panel {
    background: #fff;
    border: 1px solid var(--tuc-border);
    border-radius: 1.25rem;
    box-shadow: 0 1.5rem 4rem rgba(21, 37, 31, .09);
    padding: 1.5rem;
}

.hero-panel-heading {
    align-items: center;
    border-bottom: 1px solid var(--tuc-border);
    display: flex;
    font-size: .9rem;
    font-weight: 700;
    gap: .6rem;
    padding-bottom: 1.1rem;
}

.status-dot {
    background: #20a46f;
    border: 4px solid #dff4e9;
    border-radius: 50%;
    height: .85rem;
    width: .85rem;
}

.flow-list {
    display: grid;
    gap: 1.35rem;
    padding-top: 1.35rem;
}

.flow-item {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
}

.flow-number {
    align-items: center;
    background: var(--tuc-green-soft);
    border-radius: .6rem;
    color: var(--tuc-green-dark);
    display: inline-flex;
    flex: 0 0 2.25rem;
    font-size: .85rem;
    font-weight: 750;
    height: 2.25rem;
    justify-content: center;
}

.flow-item strong,
.flow-item span {
    display: block;
}

.flow-item strong {
    font-size: .98rem;
    margin-bottom: .2rem;
}

.flow-item div > span {
    color: var(--tuc-muted);
    font-size: .9rem;
    line-height: 1.5;
}

.products-section,
.workflow-section,
.b2b-section,
.platform-section,
.about-section {
    padding: clamp(3.5rem, 6vw, 5.25rem) 0;
}

.section-heading {
    margin-bottom: 2rem;
    max-width: 48rem;
}

.section-heading h2,
.about-section h2,
.contact-card h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 720;
    letter-spacing: -.035em;
}

.section-heading > p:last-child {
    color: var(--tuc-muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.featured-product {
    align-items: stretch;
    background: var(--tuc-ink);
    border-radius: 1.25rem;
    color: #fff;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr);
    margin-bottom: 1.5rem;
    overflow: hidden;
    padding: clamp(2rem, 4vw, 3rem);
}

.product-kicker,
.product-status {
    color: #80d5af;
    display: inline-block;
    font-size: .76rem;
    font-weight: 750;
    letter-spacing: .11em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.featured-product h3 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 730;
    letter-spacing: -.045em;
}

.featured-product-copy > p {
    color: #c0ccc6;
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 42rem;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: 1.5rem 0;
}

.product-tags span {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 2rem;
    font-size: .8rem;
    padding: .45rem .75rem;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.featured-product-visual {
    min-height: 18rem;
    position: relative;
}

.featured-product-visual::before {
    border: 1px solid rgba(128, 213, 175, .18);
    border-radius: 50%;
    content: "";
    inset: 5% 2% 2% 5%;
    position: absolute;
}

.product-orbit {
    align-items: center;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 1rem;
    color: #b4f0d3;
    display: flex;
    height: 3.5rem;
    justify-content: center;
    position: absolute;
    width: 3.5rem;
}

.product-orbit-main {
    background: var(--tuc-green);
    border: 0;
    box-shadow: 0 0 0 1.25rem rgba(22, 133, 91, .14);
    color: #fff;
    font-size: 1.4rem;
    height: 5rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 5rem;
}

.product-orbit-one {
    left: 5%;
    top: 15%;
}

.product-orbit-two {
    right: 2%;
    top: 23%;
}

.product-orbit-three {
    bottom: 5%;
    left: 14%;
}

.product-card {
    background: #fff;
    border: 1px solid var(--tuc-border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.product-icon {
    align-items: center;
    background: var(--tuc-green-soft);
    border-radius: .75rem;
    color: var(--tuc-green-dark);
    display: flex;
    font-size: 1.1rem;
    height: 2.9rem;
    justify-content: center;
    margin-bottom: 1.35rem;
    width: 2.9rem;
}

.product-card .product-status {
    color: var(--tuc-green-dark);
    margin-bottom: .65rem;
}

.product-card h3 {
    font-size: 1.2rem;
    font-weight: 720;
}

.product-card p {
    color: var(--tuc-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

.workflow-section {
    background: var(--tuc-ink);
    color: #fff;
}

.workflow-section .eyebrow {
    color: #80d5af;
}

.workflow-section .section-heading > p:last-child {
    color: #bdc9c3;
}

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

.workflow-step {
    border-left: 1px solid rgba(255, 255, 255, .15);
    min-height: 15rem;
    padding: 1.5rem;
    position: relative;
}

.workflow-step:last-child {
    border-right: 1px solid rgba(255, 255, 255, .15);
}

.workflow-step-number {
    color: #80d5af;
    display: block;
    font-size: .75rem;
    font-weight: 750;
    letter-spacing: .12em;
    margin-bottom: 2rem;
}

.workflow-step-icon {
    align-items: center;
    background: rgba(128, 213, 175, .12);
    border: 1px solid rgba(128, 213, 175, .25);
    border-radius: .75rem;
    color: #b4f0d3;
    display: flex;
    height: 3rem;
    justify-content: center;
    margin-bottom: 1.25rem;
    width: 3rem;
}

.workflow-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.workflow-step p {
    color: #aebbb5;
    font-size: .92rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.workflow-result {
    align-items: center;
    color: #b4f0d3;
    display: flex;
    font-weight: 650;
    gap: .75rem;
    margin: 2rem 0 0;
}

.b2b-section {
    background: var(--tuc-surface);
    border-bottom: 1px solid var(--tuc-border);
    border-top: 1px solid var(--tuc-border);
}

.module-card {
    background: #fff;
    border: 1px solid var(--tuc-border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.module-card:hover {
    border-color: #b8d2c4;
    box-shadow: 0 1rem 2.75rem rgba(21, 37, 31, .07);
    transform: translateY(-3px);
}

.module-icon {
    align-items: center;
    background: var(--tuc-green-soft);
    border-radius: .75rem;
    color: var(--tuc-green-dark);
    display: inline-flex;
    height: 2.75rem;
    justify-content: center;
    margin-bottom: 1.25rem;
    width: 2.75rem;
}

.module-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
}

.module-card p {
    color: var(--tuc-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.b2b-cta {
    align-items: center;
    background: #fff;
    border: 1px solid var(--tuc-border);
    border-radius: 1rem;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-top: 2rem;
    padding: 1.5rem;
}

.b2b-cta strong,
.b2b-cta span {
    display: block;
}

.b2b-cta strong {
    margin-bottom: .25rem;
}

.b2b-cta span {
    color: var(--tuc-muted);
}

.platform-section {
    background: #fff;
}

.platform-point {
    border-top: 2px solid var(--tuc-green);
    padding: 1.5rem 0;
}

.platform-point > span {
    color: var(--tuc-green-dark);
    font-size: .75rem;
    font-weight: 750;
    letter-spacing: .1em;
}

.platform-point h3 {
    font-size: 1.15rem;
    font-weight: 720;
    margin-top: 1rem;
}

.platform-point p {
    color: var(--tuc-muted);
    line-height: 1.65;
}

.about-section {
    background: var(--tuc-green-soft);
}

.about-section h2 {
    max-width: 12ch;
}

.about-lead {
    color: var(--tuc-ink);
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    font-weight: 550;
    line-height: 1.45;
}

.about-section .col-lg-7 > p:last-child {
    color: var(--tuc-muted);
    line-height: 1.75;
}

.contact-section {
    padding: clamp(4rem, 7vw, 6rem) 0;
}

.contact-card {
    align-items: center;
    background: var(--tuc-ink);
    border-radius: 1.25rem;
    color: #fff;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    padding: clamp(2rem, 5vw, 4rem);
}

.contact-card .eyebrow {
    color: #80d5af;
}

.contact-card p:last-child {
    color: #bdc9c3;
    margin-bottom: 0;
    max-width: 42rem;
}

.content-main {
    background: var(--tuc-surface);
}

.content-shell {
    padding-bottom: 4rem;
    padding-top: 2rem;
}

.content-shell .breadcrumb {
    background: transparent;
    padding-left: 0;
}

.legal-page {
    background: #fff;
    border: 1px solid var(--tuc-border);
    border-radius: 1rem;
    margin: 1rem auto 0;
    max-width: 56rem;
    padding: clamp(1.5rem, 5vw, 4rem);
}

.legal-header {
    border-bottom: 1px solid var(--tuc-border);
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
}

.legal-header h1 {
    font-size: clamp(2.15rem, 5vw, 3.5rem);
    font-weight: 730;
    letter-spacing: -.04em;
}

.legal-header > p:not(.eyebrow) {
    color: var(--tuc-muted);
    font-size: 1.1rem;
    line-height: 1.65;
}

.legal-draft-notice {
    background: #fff8dd;
    border: 1px solid #f0df9c;
    border-radius: .75rem;
    color: #665314;
    display: flex;
    gap: .65rem;
    margin-top: 1.5rem;
    padding: 1rem;
}

.legal-page section {
    margin-bottom: 2rem;
}

.legal-page section:last-child {
    margin-bottom: 0;
}

.legal-page h2 {
    font-size: 1.2rem;
    font-weight: 700;
}

.legal-page section p {
    color: var(--tuc-muted);
    line-height: 1.75;
}

.public-footer {
    background: #fff;
    border-top: 1px solid var(--tuc-border);
    color: var(--tuc-muted);
    font-size: .9rem;
    padding: 1.5rem 0;
}

.footer-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-links a {
    color: var(--tuc-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--tuc-green-dark);
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .public-header .navbar-collapse {
        border-top: 1px solid var(--tuc-border);
        margin-top: .75rem;
        padding: 1rem 0;
    }

    .language-toggle {
        padding-left: .85rem;
        width: 100%;
    }

    .language-switcher .dropdown-menu {
        box-shadow: none;
        margin: 0 .85rem .5rem;
    }

    .featured-product {
        grid-template-columns: 1fr;
    }

    .featured-product-visual {
        min-height: 14rem;
    }

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

    .workflow-step,
    .workflow-step:last-child {
        border: 1px solid rgba(255, 255, 255, .15);
        min-height: 0;
    }

    .contact-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .hero-section .row,
    .about-section .row {
        --bs-gutter-x: 1.5rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .featured-product-visual {
        display: none;
    }

    .product-actions .btn,
    .b2b-cta .btn,
    .contact-card .btn {
        width: 100%;
    }

    .b2b-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }
}
