:root {
    --ibn: #006699;
    --ibn-dark: #004a70;
    --ink: #102333;
    --soft: #eef7fb
}

body {
    color: var(--ink);
    font-family: Arial,Helvetica,sans-serif
}

h1[tabindex="-1"]:focus {
    outline: none;
    box-shadow: none;
}

.topbar {
    background: var(--ibn);
    color: #fff;
    padding: .45rem 0;
    font-size: .9rem
}

    .topbar a, .site-footer a {
        color: #fff;
        text-decoration: none
    }

.navbar-brand {
    display: flex;
    align-items: center;
    color: #102333;
    text-decoration: none
}

.ohioid-brand {
    gap: .65rem;
    padding-top: .35rem;
    padding-bottom: .35rem
}

.ohioid-brand-mark {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex: 0 0 auto
}

.ohioid-brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1;
    padding-top: .1rem
}

.ohioid-brand-ohio {
    color: var(--ibn);
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: .02em
}

.ohioid-brand-company {
    margin-top: .18rem;
    color: var(--ink);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: .055em
}

@media (max-width: 575.98px) {
    .ohioid-brand-mark {
        width: 48px;
        height: 48px
    }

    .ohioid-brand-ohio {
        font-size: 1.55rem
    }

    .ohioid-brand-company {
        font-size: .62rem
    }
}

.nav-link.active {
    color: var(--ibn) !important;
    font-weight: 700
}

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

    .btn-ibn:hover {
        background: var(--ibn-dark);
        border-color: var(--ibn-dark);
        color: #fff
    }

.btn-outline-ibn {
    border-color: var(--ibn);
    color: var(--ibn)
}

    .btn-outline-ibn:hover {
        background: var(--ibn);
        color: #fff
    }

.hero {
    background: linear-gradient(90deg,#fff 0%,#f6f8f9 48%,#e8edf0 100%)
}

    .hero h1 {
        font-size: clamp(2.5rem,5vw,4.7rem);
        font-weight: 800;
        line-height: 1.03
    }

        .hero h1 span, .eyebrow, h2, h3 {
            color: var(--ibn)
        }

.eyebrow {
    font-weight: 800;
    letter-spacing: .14em
}

.hero-img {
    width: 100%;
    max-height: 430px;
    object-fit: cover
}

.min-vh-50 {
    min-height: 560px
}

.section-intro {
    max-width: 760px;
    margin: auto
}

.product-card {
    border: 1px solid #dfe6ea;
    border-radius: .55rem;
    background: #fff;
    box-shadow: 0 .35rem 1.2rem rgba(0,0,0,.07)
}

    .product-card li {
        padding: .28rem 0
    }

.help-strip, .cta {
    background: var(--ibn);
    color: #fff
}

    .help-strip h3, .cta h2 {
        color: #fff
    }

.feature-icon {
    width: 55px;
    height: 55px;
    border: 2px solid var(--ibn);
    color: var(--ibn);
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.4rem;
    margin: 0 auto 1rem
}

.site-footer {
    background: #004f78;
    color: #fff
}

    .site-footer a {
        display: block;
        margin: .3rem 0
    }

    .site-footer h6 {
        font-weight: 800
    }

@media(max-width:991px) {
    .min-vh-50 {
        min-height: auto
    }

    .hero-img {
        margin-bottom: 2rem
    }

    .hero h1 {
        font-size: 2.7rem
    }
}



/* About page */
.about-hero {
    background: linear-gradient(120deg,#f7fbfd 0%,#edf6fa 58%,#dceef5 100%);
    border-radius: 1rem;
    box-shadow: 0 .8rem 2.5rem rgba(16,35,51,.08)
}

.about-hero-copy {
    padding: clamp(2.25rem,6vw,5rem)
}

.about-hero h1 {
    max-width: 760px;
    font-size: clamp(2.4rem,4.6vw,4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin: .65rem 0 1.35rem
}

.about-hero .lead {
    max-width: 680px;
    color: #3d5261
}

.about-hero-image-wrap {
    min-height: 430px;
    height: 100%;
    background: linear-gradient(145deg,var(--ibn),var(--ibn-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden
}

    .about-hero-image-wrap:before, .about-hero-image-wrap:after {
        content: "";
        position: absolute;
        border: 1px solid rgba(255,255,255,.2);
        border-radius: 50%
    }

    .about-hero-image-wrap:before {
        width: 330px;
        height: 330px;
        right: -85px;
        top: -105px
    }

    .about-hero-image-wrap:after {
        width: 230px;
        height: 230px;
        left: -75px;
        bottom: -95px
    }

.about-hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    max-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 1.25rem 1.5rem rgba(0,0,0,.25));
    background: #fff;
    border-radius: .8rem;
    padding: 1rem
}

.about-section, .about-values-section, .about-industries-section, .about-process-section, .partner-section {
    padding: 5rem 0
}

.about-story-copy {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #425766
}

.about-values-section {
    border-top: 1px solid #e0eaef;
    border-bottom: 1px solid #e0eaef
}

.about-value-card {
    padding: 2rem;
    border: 1px solid #dce7ec;
    border-radius: .8rem;
    background: #fff;
    box-shadow: 0 .4rem 1.35rem rgba(16,35,51,.06);
    transition: transform .2s ease,box-shadow .2s ease
}

    .about-value-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 .8rem 1.8rem rgba(16,35,51,.1)
    }

    .about-value-card h3 {
        font-size: 1.2rem;
        font-weight: 800;
        margin: 1.25rem 0 .75rem
    }

    .about-value-card p {
        margin: 0;
        color: #536875;
        line-height: 1.7
    }

.about-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--soft);
    border: 2px solid var(--ibn);
    color: var(--ibn);
    font-weight: 800;
    letter-spacing: .05em
}

.about-industries-section {
    background: #f6fafc;
    margin-inline: calc(var(--bs-gutter-x) * -.5);
    padding-inline: calc(var(--bs-gutter-x) * .5);
    border-radius: 1rem
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1rem
}

.industry-item {
    min-height: 118px;
    padding: 1.3rem;
    border-radius: .65rem;
    background: #fff;
    border: 1px solid #deeaef;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 .25rem .8rem rgba(16,35,51,.04)
}

    .industry-item span {
        font-size: 1.8rem;
        width: 46px;
        height: 46px;
        display: grid;
        place-items: center;
        background: var(--soft);
        border-radius: 50%
    }

    .industry-item strong {
        line-height: 1.25
    }

.process-grid {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 1.2rem;
    position: relative
}

.process-step {
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #dce7ec;
    border-radius: .75rem;
    background: #fff;
    position: relative
}

    .process-step > span {
        width: 46px;
        height: 46px;
        margin: 0 auto 1rem;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: var(--ibn);
        color: #fff;
        font-weight: 800;
        font-size: 1.1rem
    }

    .process-step h3 {
        font-size: 1.15rem;
        font-weight: 800
    }

    .process-step p {
        font-size: .94rem;
        color: #526674;
        margin: 0
    }

.partner-section {
    border-top: 1px solid #e0eaef
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1.25rem
}

.partner-placeholder {
    min-height: 145px;
    padding: 2rem;
    border: 1px dashed #95b9c9;
    border-radius: .8rem;
    background: #f9fcfd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--ibn)
}

    .partner-placeholder strong {
        font-size: 1.65rem
    }

    .partner-placeholder small {
        color: #617986;
        margin-top: .4rem
    }

.about-cta {
    padding: 3rem;
    border-radius: 1rem;
    background: linear-gradient(120deg,var(--ibn-dark),var(--ibn));
    color: #fff;
    margin-bottom: 1rem;
    box-shadow: 0 .8rem 2rem rgba(0,102,153,.18)
}

    .about-cta h2 {
        color: #fff;
        font-size: clamp(1.8rem,3vw,2.65rem);
        font-weight: 800;
        margin: .35rem 0 .6rem
    }

    .about-cta p {
        color: rgba(255,255,255,.9)
    }

.about-cta-kicker {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .14em;
    color: #cceaf5
}

@media(max-width:1199px) {
    .process-grid {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }
}

@media(max-width:991px) {
    .about-hero-image-wrap {
        min-height: 330px
    }

    .about-section, .about-values-section, .about-industries-section, .about-process-section, .partner-section {
        padding: 4rem 0
    }

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

@media(max-width:575px) {
    .about-hero-copy {
        padding: 2rem 1.25rem
    }

    .about-hero h1 {
        font-size: 2.35rem
    }

    .industry-grid, .partner-grid, .process-grid {
        grid-template-columns: 1fr
    }

    .about-value-card {
        padding: 1.5rem
    }

    .about-cta {
        padding: 2rem 1.25rem
    }
}

/* Product pages */
.product-page-hero {
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(120deg,#f8fbfc,#e9f4f8);
    box-shadow: 0 .8rem 2.5rem rgba(16,35,51,.08)
}

.product-page-copy {
    padding: clamp(2.25rem,6vw,5rem)
}

    .product-page-copy h1 {
        font-size: clamp(2.35rem,4.5vw,4.3rem);
        font-weight: 800;
        line-height: 1.05;
        margin: .7rem 0 1.25rem
    }

    .product-page-copy .lead {
        max-width: 720px;
        color: #405563
    }

.product-page-image-panel {
    min-height: 450px;
    background: linear-gradient(145deg,var(--ibn),var(--ibn-dark));
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center
}

    .product-page-image-panel img {
        width: 100%;
        max-width: 520px;
        max-height: 360px;
        object-fit: contain;
        background: #fff;
        border-radius: .85rem;
        padding: 1rem;
        filter: drop-shadow(0 1.25rem 1.5rem rgba(0,0,0,.25))
    }

.ribbons-hero .product-page-image-panel {
    background: linear-gradient(145deg,#004a70,#102333)
}

.page-section {
    padding: 5rem 0
}

.solution-card {
    padding: 2rem;
    border: 1px solid #dce7ec;
    border-radius: .8rem;
    background: #fff;
    box-shadow: 0 .4rem 1.3rem rgba(16,35,51,.06)
}

    .solution-card h3 {
        font-size: 1.3rem;
        font-weight: 800;
        margin: 1rem 0
    }

    .solution-card p, .solution-card li {
        color: #536875;
        line-height: 1.65
    }

    .solution-card ul {
        padding-left: 1.15rem;
        margin-bottom: 0
    }

.solution-number {
    font-weight: 800;
    color: var(--ibn);
    letter-spacing: .12em
}

.selection-guide, .compatibility-section {
    padding: 4rem;
    border-radius: 1rem;
    background: #f4f9fb
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1rem
}

    .check-grid > div, .spec-list > div {
        padding: 1.2rem;
        background: #fff;
        border: 1px solid #deeaef;
        border-radius: .65rem
    }

    .check-grid strong, .check-grid span, .spec-list strong, .spec-list span {
        display: block
    }

    .check-grid span, .spec-list span {
        color: #607583;
        margin-top: .25rem;
        font-size: .92rem
    }

.cross-sell-section, .ribbon-match-callout {
    margin-top: 5rem;
    padding: 3rem;
    border-radius: 1rem;
    background: linear-gradient(120deg,var(--ibn-dark),var(--ibn));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem
}

    .cross-sell-section h2, .ribbon-match-callout h2 {
        color: #fff;
        font-weight: 800
    }

.ribbon-type-card {
    padding: 2.2rem;
    border: 1px solid #dce7ec;
    border-radius: .9rem;
    background: #fff;
    box-shadow: 0 .4rem 1.3rem rgba(16,35,51,.06);
    position: relative
}

    .ribbon-type-card.featured {
        border: 2px solid var(--ibn);
        transform: translateY(-8px)
    }

.ribbon-badge {
    display: inline-block;
    padding: .35rem .75rem;
    background: var(--soft);
    color: var(--ibn);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    border-radius: 999px
}

.ribbon-type-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin: 1rem 0 .15rem
}

.ribbon-subtitle {
    font-weight: 700;
    color: var(--ibn)
}

.ribbon-type-card li {
    padding: .3rem 0;
    color: #536875
}

.compatibility-section {
    margin-top: 1rem
}

.spec-list {
    display: grid;
    gap: .85rem
}

/* Forms */
.form-page-hero {
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
    padding: 2rem 0 3rem
}

    .form-page-hero h1 {
        font-size: clamp(2.4rem,5vw,4.2rem);
        font-weight: 800;
        line-height: 1.05;
        margin: .7rem 0 1.2rem
    }

.form-page-layout {
    padding-bottom: 2rem
}

.form-card {
    padding: clamp(1.5rem,4vw,3rem);
    border: 1px solid #dce7ec;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 .6rem 1.8rem rgba(16,35,51,.07)
}

.form-section-title {
    font-size: 1.45rem;
    font-weight: 800;
    border-bottom: 1px solid #e2ebef;
    padding-bottom: .8rem
}

.form-label {
    font-weight: 700;
    color: #294150
}

.form-control, .form-select {
    min-height: 48px;
    border-color: #cfdde4
}

    .form-control:focus, .form-select:focus {
        border-color: var(--ibn);
        box-shadow: 0 0 0 .2rem rgba(0,102,153,.15)
    }

textarea.form-control {
    min-height: auto
}

.form-sidebar {
    position: sticky;
    top: 105px;
    padding: 2rem;
    border-radius: 1rem;
    background: #f1f8fb;
    border: 1px solid #d4e6ed
}

    .form-sidebar h2, .form-sidebar h3 {
        font-weight: 800
    }

    .form-sidebar li {
        padding: .35rem 0
    }

    .form-sidebar a {
        color: var(--ibn);
        font-weight: 800
    }

.submission-success {
    text-align: center;
    padding: 3rem 1rem
}

.success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ibn);
    color: #fff;
    font-size: 2rem;
    font-weight: 800
}

.submission-success h2 {
    font-weight: 800
}

.contact-info-card {
    height: 100%;
    padding: clamp(2rem,4vw,3rem);
    border-radius: 1rem;
    background: linear-gradient(145deg,var(--ibn-dark),var(--ibn));
    color: #fff;
    box-shadow: 0 .7rem 1.8rem rgba(0,102,153,.2)
}

    .contact-info-card h2, .contact-info-card h3 {
        color: #fff;
        font-weight: 800
    }

    .contact-info-card .eyebrow {
        color: #bfe4f2
    }

.contact-method {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,.18)
}

    .contact-method span, .contact-method a, .contact-method strong {
        display: block
    }

    .contact-method span {
        font-size: .8rem;
        text-transform: uppercase;
        letter-spacing: .1em;
        color: #cce7f1;
        margin-bottom: .3rem
    }

    .contact-method a {
        color: #fff;
        font-size: 1.35rem;
        font-weight: 800;
        text-decoration: none
    }

.validation-message {
    color: #b42318;
    font-size: .875rem;
    margin-top: .25rem
}

@media(max-width:991px) {
    .product-page-image-panel {
        min-height: 330px
    }

    .page-section {
        padding: 4rem 0
    }

    .selection-guide, .compatibility-section {
        padding: 2.5rem
    }

    .cross-sell-section {
        align-items: flex-start;
        flex-direction: column
    }

    .ribbon-type-card.featured {
        transform: none
    }

    .form-sidebar {
        position: static
    }
}

@media(max-width:575px) {
    .product-page-copy {
        padding: 2rem 1.25rem
    }

    .product-page-image-panel {
        padding: 2rem 1.25rem
    }

    .selection-guide, .compatibility-section {
        padding: 2rem 1.25rem
    }

    .check-grid {
        grid-template-columns: 1fr
    }

    .cross-sell-section, .ribbon-match-callout {
        padding: 2rem 1.25rem
    }

    .form-card {
        padding: 1.4rem
    }

    .form-page-hero {
        padding-top: .5rem
    }
}

/* Product category detail pages */
.category-detail-hero {
    overflow: hidden;
    border: 1px solid #dce8ee;
    border-radius: 1rem;
    background: linear-gradient(120deg,#ffffff 0%,#f3f9fc 62%,#e3f1f7 100%);
    box-shadow: 0 .8rem 2.4rem rgba(16,35,51,.07)
}

.category-detail-copy {
    padding: clamp(2.25rem,5vw,4.75rem)
}

    .category-detail-copy h1 {
        max-width: 800px;
        margin: .7rem 0 1.25rem;
        color: var(--ink);
        font-size: clamp(2.35rem,4.6vw,4.35rem);
        font-weight: 800;
        line-height: 1.05
    }

    .category-detail-copy .lead {
        max-width: 760px;
        color: #405765;
        line-height: 1.75
    }

.category-detail-image-wrap {
    min-height: 430px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg,var(--ibn),var(--ibn-dark));
    position: relative;
    overflow: hidden
}

    .category-detail-image-wrap:before,
    .category-detail-image-wrap:after {
        content: "";
        position: absolute;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 50%
    }

    .category-detail-image-wrap:before {
        width: 320px;
        height: 320px;
        top: -100px;
        right: -90px
    }

    .category-detail-image-wrap:after {
        width: 230px;
        height: 230px;
        bottom: -90px;
        left: -70px
    }

.category-detail-image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    max-height: 340px;
    object-fit: contain;
    padding: 1rem;
    border-radius: .85rem;
    background: #fff;
    filter: drop-shadow(0 1.25rem 1.5rem rgba(0,0,0,.22))
}

.category-detail-section {
    padding: 5rem 0
}

.category-detail-soft {
    margin-inline: calc(var(--bs-gutter-x) * -.5);
    padding-inline: calc(var(--bs-gutter-x) * .5);
    border-radius: 1rem;
    background: #f5fafc
}

.category-copy {
    color: #4b606d;
    font-size: 1.05rem;
    line-height: 1.8
}

.detail-feature-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1rem
}

.detail-feature-item {
    min-height: 128px;
    padding: 1.4rem;
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    border: 1px solid #dce8ee;
    border-radius: .75rem;
    background: #fff;
    color: #405765;
    line-height: 1.6;
    box-shadow: 0 .3rem 1rem rgba(16,35,51,.05)
}

.detail-check {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--soft);
    color: var(--ibn);
    font-weight: 900
}

.application-card {
    padding: 1.25rem 1.4rem;
    border: 1px solid #dce8ee;
    border-left: 4px solid var(--ibn);
    border-radius: .65rem;
    background: #fff;
    color: #304957;
    font-weight: 700;
    box-shadow: 0 .25rem .8rem rgba(16,35,51,.04)
}

.category-list {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none
}

    .category-list li {
        position: relative;
        padding: .8rem 0 .8rem 1.8rem;
        border-bottom: 1px solid #e4edf1;
        color: #405765
    }

        .category-list li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--ibn);
            font-weight: 900
        }

.industry-band {
    padding: 2.5rem;
    border: 1px solid #dbe8ee;
    border-radius: 1rem;
    background: linear-gradient(120deg,#f8fbfd,#eef7fb)
}

.industry-pill-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem
}

.industry-pill {
    padding: .7rem 1rem;
    border: 1px solid #cfe2eb;
    border-radius: 999px;
    background: #fff;
    color: var(--ibn-dark);
    font-weight: 700
}

.related-product-card {
    display: block;
    padding: 1.75rem;
    border: 1px solid #dce8ee;
    border-radius: .8rem;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 .3rem 1rem rgba(16,35,51,.05);
    transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease
}

    .related-product-card:hover {
        transform: translateY(-4px);
        border-color: #a9cfdf;
        box-shadow: 0 .75rem 1.7rem rgba(16,35,51,.1)
    }

    .related-product-card h3 {
        font-size: 1.25rem;
        font-weight: 800
    }

    .related-product-card p {
        color: #536875
    }

    .related-product-card span,
    .category-text-link,
    .category-card-link {
        color: var(--ibn);
        font-weight: 800;
        text-decoration: none
    }

        .category-card-link:hover,
        .category-text-link:hover {
            color: var(--ibn-dark)
        }

.category-text-link {
    display: inline-block;
    margin: -.25rem 0 1rem
}

.category-detail-cta {
    margin: 1rem 0 0;
    padding: clamp(2rem,4vw,3.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-radius: 1rem;
    background: var(--ibn);
    color: #fff
}

    .category-detail-cta h2 {
        margin: .45rem 0 .65rem;
        color: #fff;
        font-weight: 800
    }

@media(max-width:991px) {
    .category-detail-image-wrap {
        min-height: 320px
    }

    .detail-feature-grid {
        grid-template-columns: 1fr
    }

    .category-detail-cta {
        align-items: flex-start;
        flex-direction: column
    }
}

/* Resources / Learning Center */
.resources-hero {
    padding: clamp(2.5rem,6vw,5rem);
    border-radius: 1rem;
    background: linear-gradient(120deg,#f7fbfd 0%,#eaf5f9 60%,#dceef5 100%);
    box-shadow: 0 .8rem 2.5rem rgba(16,35,51,.08)
}

.resources-hero-copy {
    max-width: 900px
}

.resources-hero h1, .resource-guide-hero h1 {
    font-size: clamp(2.4rem,4.7vw,4.6rem);
    line-height: 1.05;
    font-weight: 800;
    margin: .7rem 0 1.25rem
}

.resources-hero .lead, .resource-guide-hero .lead {
    max-width: 820px;
    color: #405563
}

.resource-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    border: 1px solid #dce7ec;
    border-radius: .85rem;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 .35rem 1.2rem rgba(16,35,51,.06);
    transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease
}

    .resource-card[href]:hover {
        transform: translateY(-4px);
        border-color: #9cc9dc;
        box-shadow: 0 .8rem 1.8rem rgba(16,35,51,.1)
    }

    .resource-card h3 {
        font-size: 1.25rem;
        font-weight: 800;
        margin: .35rem 0 .7rem
    }

    .resource-card p {
        color: #586d7a;
        line-height: 1.65;
        margin-bottom: .75rem
    }

.resource-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--soft);
    border: 2px solid var(--ibn);
    color: var(--ibn);
    font-weight: 800
}

.resource-kicker {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--ibn)
}

.resource-link {
    color: var(--ibn);
    font-weight: 800
}

.resource-card-coming {
    background: #f8fbfc;
    border-style: dashed;
    opacity: .92
}

.coming-badge, .ribbon-level {
    display: inline-block;
    padding: .38rem .75rem;
    border-radius: 999px;
    background: var(--soft);
    color: var(--ibn);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em
}

.resource-feature-strip {
    padding: 1rem 0 5rem
}

.resource-coming-panel {
    padding: 2.25rem;
    border-radius: .9rem;
    border: 1px dashed #9abfce;
    background: #f7fbfd
}

    .resource-coming-panel h2 {
        font-weight: 800;
        margin: .5rem 0 .75rem
    }

    .resource-coming-panel p {
        color: #566c79;
        line-height: 1.7
    }

.resource-cta, .resource-guide-footer {
    margin: 1rem 0;
    padding: 3rem;
    border-radius: 1rem;
    background: linear-gradient(120deg,var(--ibn-dark),var(--ibn));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem
}

    .resource-cta h2, .resource-guide-footer h2 {
        color: #fff;
        font-weight: 800;
        margin: .4rem 0 .55rem
    }

.resource-guide-hero {
    max-width: 980px;
    padding: 2rem 0 3.5rem
}

.resource-back-link {
    color: var(--ibn);
    font-weight: 800;
    text-decoration: none
}

    .resource-back-link:hover {
        text-decoration: underline
    }

.resource-guide-section {
    padding: 3.5rem 0
}

    .resource-guide-section h2 {
        font-size: clamp(1.8rem,3vw,2.6rem);
        font-weight: 800;
        margin-bottom: 1.25rem
    }

    .resource-guide-section > p {
        color: #506572;
        line-height: 1.8;
        font-size: 1.05rem;
        max-width: 900px
    }

.resource-guide-soft {
    padding: 3rem;
    border-radius: 1rem;
    background: #f4f9fb
}

.resource-info-card {
    padding: 2rem;
    border-radius: .85rem;
    border: 1px solid #dce7ec;
    background: #fff;
    box-shadow: 0 .35rem 1.2rem rgba(16,35,51,.05)
}

    .resource-info-card h3 {
        font-size: 1.35rem;
        font-weight: 800;
        margin: .4rem 0 .9rem
    }

    .resource-info-card p, .resource-info-card li {
        color: #536875;
        line-height: 1.7
    }

    .resource-info-card li {
        margin: .3rem 0
    }

.featured-resource {
    border: 2px solid var(--ibn)
}

.resource-checklist-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1rem
}

    .resource-checklist-grid > div {
        padding: 1.35rem;
        border-radius: .7rem;
        background: #fff;
        border: 1px solid #dce7ec
    }

    .resource-checklist-grid strong, .resource-checklist-grid span {
        display: block
    }

    .resource-checklist-grid strong {
        color: var(--ibn);
        margin-bottom: .35rem
    }

    .resource-checklist-grid span {
        color: #5d727f
    }

.resource-comparison-table {
    border: 1px solid #dce7ec
}

    .resource-comparison-table thead th {
        background: var(--ibn);
        color: #fff;
        border-color: rgba(255,255,255,.15);
        padding: 1rem
    }

    .resource-comparison-table td {
        padding: 1rem;
        border-color: #dce7ec
    }

.resource-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: flex-end
}

.measurement-diagram {
    display: grid;
    grid-template-columns: minmax(280px,460px) 1fr;
    gap: 3rem;
    align-items: center
}

.measurement-label {
    aspect-ratio: 4 / 3;
    background: #fff;
    border: 2px solid #9ab8c6;
    box-shadow: 0 .5rem 1.4rem rgba(16,35,51,.08);
    display: grid;
    place-items: center;
    position: relative;
    font-size: 1.5rem
}

.measure-width {
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--ibn);
    font-weight: 800;
    font-size: .85rem
}

.measure-height {
    position: absolute;
    right: -4.4rem;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    color: var(--ibn);
    font-weight: 800;
    font-size: .85rem
}

.measurement-notes p {
    color: #536875;
    line-height: 1.7
}

.faq-list {
    display: grid;
    gap: 1rem
}

    .faq-list details {
        border: 1px solid #dce7ec;
        border-radius: .75rem;
        background: #fff;
        padding: 0 1.4rem
    }

    .faq-list summary {
        cursor: pointer;
        padding: 1.25rem 0;
        color: var(--ibn);
        font-size: 1.05rem;
        font-weight: 800
    }

    .faq-list p {
        color: #536875;
        line-height: 1.75;
        padding-bottom: 1.25rem;
        margin: 0
    }

@media(max-width:991px) {
    .resource-cta, .resource-guide-footer {
        align-items: flex-start;
        flex-direction: column
    }

    .resource-related-links {
        justify-content: flex-start
    }

    .measurement-diagram {
        grid-template-columns: 1fr;
        gap: 2rem
    }
}

@media(max-width:767px) {
    .resource-checklist-grid {
        grid-template-columns: 1fr
    }

    .resource-guide-soft, .resource-cta, .resource-guide-footer {
        padding: 2rem 1.25rem
    }

    .resource-card {
        padding: 1.4rem
    }
}


/* Privacy & compliance */
.legal-hero {
    padding: 3.25rem;
    border-radius: 1rem;
    background: linear-gradient(120deg,#f7fbfd,#e5f2f7);
    margin-bottom: 2.5rem
}

    .legal-hero h1 {
        font-size: clamp(2.4rem,4.5vw,4rem);
        font-weight: 800;
        margin: .55rem 0 1rem
    }

    .legal-hero .lead {
        max-width: 820px;
        color: #49606e
    }

.legal-page {
    max-width: 920px;
    margin: 0 auto 3rem;
    line-height: 1.75
}

    .legal-page h2 {
        font-size: 1.55rem;
        font-weight: 800;
        margin-top: 2.5rem;
        margin-bottom: .8rem
    }

    .legal-page li {
        margin: .45rem 0
    }

.legal-callout {
    padding: 1.2rem 1.35rem;
    border-left: 4px solid var(--ibn);
    background: #f3f9fb;
    border-radius: .35rem
}

.legal-table th {
    color: var(--ink);
    background: #eef7fb
}

.legal-link-button {
    border: 0;
    background: none;
    padding: 0;
    color: var(--bs-link-color);
    text-decoration: underline
}

.notice-at-collection {
    font-size: .88rem;
    line-height: 1.55;
    color: #536875;
    background: #f5f9fb;
    border-left: 3px solid var(--ibn);
    padding: .85rem 1rem
}

.footer-legal a, .footer-cookie-link {
    font-size: .82rem;
    color: #fff;
    text-decoration: underline;
    margin: 0
}

.footer-cookie-link {
    border: 0;
    background: none;
    padding: 0
}

.ois-consent-ui {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 99999 !important;
    background: #082c40;
    color: #fff;
    padding: 1.25rem 0;
    box-shadow: 0 -0.75rem 2rem rgba(0, 0, 0, 0.25);
    pointer-events: auto;
}

.ois-consent-ui-inner {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between
}

.ois-consent-ui h2 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: .4rem
}

.ois-consent-ui p {
    font-size: .9rem;
    max-width: 760px;
    margin-bottom: .25rem;
    color: #edf7fb
}

.ois-consent-ui a {
    color: #fff
}

.ois-consent-ui-actions {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 430px
}

.ois-settings-shell {
    position: fixed;
    z-index: 1090;
    inset: 0;
    background: rgba(0,20,32,.65);
    display: grid;
    place-items: center;
    padding: 1rem;
    overflow: auto
}

.ois-settings-panel {
    width: min(720px,100%);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1.5rem 4rem rgba(0,0,0,.3)
}

    .ois-settings-panel h2 {
        font-weight: 800;
        color: var(--ink)
    }

.ois-settings-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0;
    border-top: 1px solid #dfe8ed
}

    .ois-settings-option strong, .ois-settings-option small {
        display: block
    }

    .ois-settings-option small {
        color: #607583;
        margin-top: .25rem
    }

    .ois-settings-option .form-check-input {
        width: 2.5rem;
        height: 1.3rem;
        flex: 0 0 auto
    }

@media(max-width:991px) {
    .ois-consent-ui-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem
    }

    .ois-consent-ui-actions {
        min-width: 0;
        justify-content: flex-start
    }
}

@media(max-width:575px) {
    .legal-hero {
        padding: 2rem 1.25rem
    }

    .ois-consent-ui-actions .btn {
        width: 100%
    }

    .ois-consent-ui-actions {
        width: 100%
    }

    .ois-settings-panel {
        padding: 1.35rem
    }
}

/* Privacy UI is static DOM outside the Blazor route tree. */
#ois-consent-ui[hidden],
#privacy-preferences[hidden],
#privacy-gpc-note[hidden] {
    display: none !important;
}
