:root {
    --os-navy: #061a33;
    --os-navy-soft: #0d2b4d;
    --os-blue: #176cf7;
    --os-teal: #08bfc3;
    --os-teal-dark: #087d88;
    --os-ink: #102033;
    --os-muted: #5f6f82;
    --os-line: #dbe4ec;
    --os-surface: #f5f8fb;
    --os-white: #ffffff;
    --os-warm: #f4b860;
    --bs-body-font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    color: var(--os-ink);
    background: var(--os-white);
    letter-spacing: 0;
}

a {
    color: var(--os-teal-dark);
}

.site-navbar {
    min-height: 78px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--os-line);
}

.navbar-brand {
    width: 176px;
    height: 60px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.navbar-brand img {
    width: 176px;
    height: 58px;
    object-fit: contain;
}

.navbar-toggler {
    width: 44px;
    height: 44px;
    border: 1px solid var(--os-line);
    border-radius: 6px;
    color: var(--os-navy);
    font-size: 1.5rem;
    display: inline-grid;
    place-items: center;
}

.nav-link {
    color: #34465a;
    font-weight: 650;
    padding: 0.7rem 0.8rem !important;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--os-teal-dark);
}

.btn {
    border-radius: 6px;
    font-weight: 700;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.btn-brand {
    color: #ffffff;
    background: var(--os-teal-dark);
    border-color: var(--os-teal-dark);
}

.btn-brand:hover,
.btn-brand:focus {
    color: #ffffff;
    background: #056b75;
    border-color: #056b75;
}

.btn-outline-brand {
    color: var(--os-teal-dark);
    background: #ffffff;
    border-color: var(--os-teal-dark);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    color: #ffffff;
    background: var(--os-teal-dark);
    border-color: var(--os-teal-dark);
}

.product-hero {
    position: relative;
    height: 72vh;
    min-height: 570px;
    max-height: 720px;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--os-navy);
    background-image: url("../img/odontoos-brand-board.png");
    background-size: cover;
    background-position: center 30%;
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(3, 20, 42, 0.76);
}

.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #ffffff;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.hero-kicker,
.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--os-teal);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.product-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: 4.8rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 610px;
    margin: 1.25rem 0 0;
    font-size: 1.28rem;
    line-height: 1.55;
    color: #f1f7fb;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.btn-hero-secondary {
    color: #ffffff;
    background: rgba(6, 26, 51, 0.72);
    border-color: rgba(255, 255, 255, 0.72);
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
    color: var(--os-navy);
    background: #ffffff;
    border-color: #ffffff;
}

.hero-note {
    margin: 1rem 0 0;
    color: #d7e6ef;
    font-size: 0.92rem;
}

.trust-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--os-line);
}

.trust-grid {
    min-height: 78px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 1.5rem;
}

.trust-grid span {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #445568;
    font-size: 0.92rem;
    font-weight: 650;
}

.trust-grid i {
    color: var(--os-teal-dark);
    font-size: 1.25rem;
}

.section-space {
    padding: 6rem 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.section-heading h2,
.product-view-copy h2,
.demo-layout h2,
.final-cta h2 {
    margin: 0;
    color: var(--os-navy);
    font-size: 2.35rem;
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: 0;
}

.section-heading > p:last-child,
.product-view-copy > p:last-child,
.demo-layout > div > p:last-child {
    margin: 0.9rem 0 0;
    color: var(--os-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

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

.feature-card {
    min-height: 244px;
    padding: 1.6rem;
    border: 1px solid var(--os-line);
    border-radius: 8px;
    background: #ffffff;
}

.feature-card > i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: var(--os-navy-soft);
    border-radius: 6px;
    font-size: 1.35rem;
}

.feature-card:nth-child(2n) > i {
    background: var(--os-teal-dark);
}

.feature-card h3 {
    margin: 1.25rem 0 0.55rem;
    font-size: 1.15rem;
    font-weight: 800;
}

.feature-card p {
    margin: 0;
    color: var(--os-muted);
    line-height: 1.65;
}

.product-view-band {
    display: grid;
    grid-template-columns: minmax(300px, 0.75fr) minmax(520px, 1.25fr);
    align-items: stretch;
    background: var(--os-surface);
    border-top: 1px solid var(--os-line);
    border-bottom: 1px solid var(--os-line);
}

.product-view-copy {
    align-self: center;
    max-width: 560px;
    padding: 5rem 3.5rem max(5rem, calc((100vw - 1320px) / 2));
}

.product-view-band > img {
    width: 100%;
    height: 570px;
    object-fit: cover;
    object-position: center bottom;
    border-left: 1px solid var(--os-line);
}

.demo-band {
    padding: 4rem 0;
    color: #ffffff;
    background: var(--os-navy);
}

.demo-layout {
    display: grid;
    grid-template-columns: minmax(300px, 1.3fr) minmax(320px, 1fr) auto;
    align-items: center;
    gap: 2.25rem;
}

.demo-layout h2 {
    color: #ffffff;
}

.demo-layout > div > p:last-child {
    color: #c7d8e6;
}

.demo-limits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.demo-limits div {
    min-width: 92px;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 6px;
    text-align: center;
}

.demo-limits strong {
    font-size: 1.85rem;
    color: var(--os-teal);
}

.demo-limits span {
    font-size: 0.83rem;
    color: #dce8f0;
}

.demo-cta {
    white-space: nowrap;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1rem;
}

.price-card {
    position: relative;
    padding: 2rem;
    border: 1px solid var(--os-line);
    border-radius: 8px;
    background: #ffffff;
}

.price-card.featured {
    border: 2px solid var(--os-teal-dark);
}

.price-badge {
    position: absolute;
    top: 0;
    right: 1.5rem;
    padding: 0.4rem 0.65rem;
    color: var(--os-navy);
    background: #dff6f4;
    border-radius: 0 0 6px 6px;
    font-size: 0.76rem;
    font-weight: 800;
}

.plan-name {
    margin: 0 0 1rem;
    color: var(--os-teal-dark);
    font-weight: 800;
}

.price {
    min-height: 56px;
    display: flex;
    align-items: center;
    color: var(--os-navy);
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 800;
}

.price-card > p:not(.plan-name) {
    color: var(--os-muted);
}

.price-card ul {
    min-height: 138px;
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.price-card li {
    display: flex;
    gap: 0.55rem;
    margin: 0.7rem 0;
    color: #425366;
}

.price-card li i {
    color: var(--os-teal-dark);
}

.faq-band {
    padding: 5.5rem 0;
    background: var(--os-surface);
    border-top: 1px solid var(--os-line);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.65fr) minmax(420px, 1.35fr);
    gap: 4rem;
}

.accordion-item {
    background: transparent;
    border-color: #ccd8e2;
}

.accordion-button {
    min-height: 70px;
    padding-left: 0;
    padding-right: 0;
    color: var(--os-navy);
    background: transparent;
    box-shadow: none !important;
    font-weight: 750;
}

.accordion-button:not(.collapsed) {
    color: var(--os-teal-dark);
    background: transparent;
}

.accordion-body {
    padding: 0 0 1.5rem;
    color: var(--os-muted);
    line-height: 1.65;
}

.final-cta {
    padding: 5rem 0;
    text-align: center;
    background: #ffffff;
}

.final-cta p {
    margin: 0.75rem 0 1.5rem;
    color: var(--os-muted);
}

.site-footer {
    padding: 4rem 0 1.5rem;
    color: #c9d6e0;
    background: #071525;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo {
    width: 190px;
    height: 86px;
    padding: 0.35rem;
    object-fit: contain;
    background: #ffffff;
    border-radius: 6px;
}

.footer-grid p {
    margin: 1rem 0 0;
}

.footer-grid h2 {
    margin: 0 0 1rem;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
}

.footer-grid a {
    display: block;
    margin: 0.6rem 0;
    color: #c9d6e0;
    text-decoration: none;
}

.footer-grid a:hover {
    color: var(--os-teal);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.82rem;
}

.modal-content {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(6, 26, 51, 0.25);
}

.modal-header,
.modal-footer {
    padding: 1.4rem 1.6rem;
    border-color: var(--os-line);
}

.modal-body {
    padding: 1.6rem;
}

.modal-title {
    color: var(--os-navy);
    font-size: 1.55rem;
    font-weight: 800;
}

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

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

.form-control:focus,
.form-select:focus {
    border-color: var(--os-teal-dark);
    box-shadow: 0 0 0 0.2rem rgba(8, 125, 136, 0.15);
}

.invalid-feedback {
    display: block;
}

.legal-main {
    min-height: 70vh;
    padding: 4.5rem 0 6rem;
    background: var(--os-surface);
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    border: 1px solid var(--os-line);
    border-radius: 8px;
    background: #ffffff;
}

.legal-document h1 {
    margin: 0 0 0.5rem;
    color: var(--os-navy);
    font-size: 2.3rem;
    font-weight: 800;
}

.legal-document h2 {
    margin: 2.1rem 0 0.7rem;
    color: var(--os-navy-soft);
    font-size: 1.25rem;
    font-weight: 800;
}

.legal-document p,
.legal-document li {
    color: #4f6072;
    line-height: 1.75;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0 1.25rem;
        border-top: 1px solid var(--os-line);
    }

    .product-hero {
        height: 68vh;
        min-height: 560px;
        background-position: 58% center;
    }

    .product-hero h1 {
        font-size: 4rem;
    }

    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }

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

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

    .product-view-copy {
        max-width: none;
        padding: 4rem 1.5rem;
    }

    .product-view-band > img {
        height: 480px;
        border-top: 1px solid var(--os-line);
        border-left: 0;
    }

    .demo-layout {
        grid-template-columns: 1fr 1fr;
    }

    .demo-cta {
        grid-column: 1 / -1;
        justify-self: start;
    }

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

    .price-card ul {
        min-height: 0;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 767.98px) {
    .product-hero {
        height: auto;
        min-height: 620px;
        background-position: 60% center;
    }

    .hero-shade {
        background: rgba(3, 20, 42, 0.82);
    }

    .product-hero h1 {
        font-size: 3.15rem;
    }

    .hero-copy {
        font-size: 1.05rem;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

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

    .trust-grid,
    .feature-grid,
    .demo-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        gap: 1rem;
    }

    .section-space {
        padding: 4rem 0;
    }

    .section-heading h2,
    .product-view-copy h2,
    .demo-layout h2,
    .final-cta h2 {
        font-size: 1.85rem;
    }

    .feature-card {
        min-height: 0;
    }

    .product-view-band > img {
        height: 360px;
    }

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

    .demo-cta {
        justify-self: stretch;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .legal-main {
        padding: 2rem 0 4rem;
    }

    .legal-document {
        padding: 1.5rem;
    }

    .legal-document h1 {
        font-size: 1.85rem;
    }
}

@media (max-width: 420px) {
    .navbar-brand,
    .navbar-brand img {
        width: 148px;
    }

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

    .demo-limits {
        grid-template-columns: 1fr;
    }
}
