:root {
    --bb-bg: #f5f3ec;
    --bb-bg-soft: #eef4ef;
    --bb-surface: rgba(255, 255, 255, 0.92);
    --bb-surface-strong: #ffffff;
    --bb-surface-muted: #f4f8f5;
    --bb-text: #18332e;
    --bb-text-muted: #5c726d;
    --bb-line: rgba(24, 51, 46, 0.1);
    --bb-line-strong: rgba(24, 51, 46, 0.18);
    --bb-primary: #0f766e;
    --bb-primary-strong: #0a5b55;
    --bb-accent: #d9a95b;
    --bb-dark: #10211e;
    --bb-radius: 30px;
    --bb-radius-sm: 22px;
    --bb-shadow: 0 22px 56px rgba(16, 33, 30, 0.1);
    --bb-shadow-soft: 0 12px 28px rgba(16, 33, 30, 0.06);
    --bb-transition: 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
    --bs-primary: #0f766e;
    --bs-primary-rgb: 15, 118, 110;
    --bs-body-color: #18332e;
    --bs-body-bg: #f5f3ec;
    --bs-link-color: #0f766e;
    --bs-link-hover-color: #0a5b55;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    color: var(--bb-text);
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 26%),
        radial-gradient(circle at top right, rgba(217, 169, 91, 0.12), transparent 24%),
        linear-gradient(180deg, #f5f3ec 0%, #f8f7f1 38%, #edf4ef 100%);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn,
.section-eyebrow,
.display-title {
    font-family: 'Sora', 'Segoe UI', sans-serif;
}

a {
    text-decoration: none;
    transition: color var(--bb-transition), opacity var(--bb-transition), transform var(--bb-transition), background-color var(--bb-transition), border-color var(--bb-transition), box-shadow var(--bb-transition);
}

img {
    display: block;
    max-width: 100%;
}

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

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bb-primary);
    font-weight: 700;
}

.section-title {
    color: var(--bb-text);
    font-size: clamp(2rem, 1.35rem + 2.4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.section-copy {
    color: var(--bb-text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.site-header {
    background: rgba(245, 243, 236, 0.84);
    backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid transparent;
    transition: background-color var(--bb-transition), box-shadow var(--bb-transition), border-color var(--bb-transition);
}

.site-header.is-scrolled {
    background: rgba(245, 243, 236, 0.96);
    border-color: var(--bb-line);
    box-shadow: 0 10px 28px rgba(16, 33, 30, 0.06);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-mark {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(180deg, var(--bb-primary) 0%, var(--bb-primary-strong) 100%);
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name {
    color: var(--bb-text);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.03em;
}

.brand-tag {
    color: var(--bb-text-muted);
    font-size: 0.68rem;
    max-width: 17rem;
}

.nav-link {
    color: var(--bb-text-muted);
    font-weight: 600;
    margin: 0 0.08rem;
    padding: 0.62rem 0.9rem !important;
    border-radius: 999px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--bb-text);
    background: rgba(16, 33, 30, 0.05);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.74rem 1rem;
    border: 1px solid var(--bb-line);
    background: rgba(255, 255, 255, 0.82);
    color: var(--bb-text);
    box-shadow: var(--bb-shadow-soft);
}

.language-switcher:hover,
.language-switcher:focus,
.language-switcher:active {
    border-color: var(--bb-line-strong) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--bb-text) !important;
    box-shadow: var(--bb-shadow-soft) !important;
}

.language-switcher__icon {
    font-size: 0.95rem;
    line-height: 1;
}

.language-switcher__value {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.language-switcher__menu {
    min-width: 12rem;
    border: 1px solid var(--bb-line);
    border-radius: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--bb-shadow-soft);
}

.language-switcher__item {
    border-radius: 0.8rem;
    padding: 0.7rem 0.85rem;
    color: var(--bb-text);
    font-weight: 600;
}

.language-switcher__item:hover,
.language-switcher__item.is-active {
    background: rgba(16, 33, 30, 0.06);
    color: var(--bb-text);
}

.navbar-toggler {
    border-radius: 999px;
}

.btn {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.92rem 1.4rem;
    letter-spacing: -0.02em;
    transition: transform var(--bb-transition), box-shadow var(--bb-transition), background-color var(--bb-transition), border-color var(--bb-transition), color var(--bb-transition);
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(180deg, var(--bb-primary) 0%, var(--bb-primary-strong) 100%);
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(180deg, #11857c 0%, var(--bb-primary) 100%);
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(15, 118, 110, 0.24);
}

.btn-outline-primary {
    border-width: 1px;
    border-color: var(--bb-line-strong);
    color: var(--bb-text);
    background: rgba(255, 255, 255, 0.65);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(16, 33, 30, 0.22);
    color: var(--bb-text);
    box-shadow: var(--bb-shadow-soft);
}

.btn-light {
    background: #ffffff;
    color: var(--bb-text);
    border-color: transparent;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem;
}

.page-home .hero {
    padding-top: 7rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -10% auto auto 50%;
    width: 54rem;
    height: 54rem;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.12) 0%, rgba(217, 169, 91, 0.06) 34%, transparent 70%);
    pointer-events: none;
}

.hero-shell,
.content-panel,
.info-card,
.assistant-card,
.timeline-card,
.contact-card,
.pricing-card,
.form-shell,
.faq-shell,
.legal-shell,
.highlight-panel,
.comparison-panel {
    background: var(--bb-surface);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--bb-radius);
    box-shadow: var(--bb-shadow);
    backdrop-filter: saturate(150%) blur(16px);
}

.hero-shell {
    position: relative;
    padding: 2.9rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 249, 244, 0.92)),
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 34%),
        radial-gradient(circle at bottom left, rgba(217, 169, 91, 0.1), transparent 28%);
}

.display-title {
    color: var(--bb-text);
    font-size: clamp(3rem, 2rem + 4vw, 5.6rem);
    line-height: 0.93;
    letter-spacing: -0.07em;
    font-weight: 800;
    max-width: 11ch;
}

.hero-copy {
    max-width: 42rem;
    font-size: 1.18rem;
    color: #35534d;
    line-height: 1.75;
}

.hero-note {
    color: var(--bb-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-aside {
    padding: 2rem;
    background:
        linear-gradient(180deg, rgba(16, 33, 30, 0.97), rgba(10, 21, 19, 0.95)),
        radial-gradient(circle at top right, rgba(217, 169, 91, 0.15), transparent 38%),
        radial-gradient(circle at bottom left, rgba(15, 118, 110, 0.18), transparent 34%);
    color: #ffffff;
    border-radius: calc(var(--bb-radius) - 4px);
    box-shadow: 0 22px 48px rgba(16, 33, 30, 0.18);
}

.hero-aside h2,
.hero-aside p,
.hero-aside li {
    color: #ffffff;
}

.hero-aside .section-eyebrow {
    color: rgba(255, 255, 255, 0.68);
}

.hero-aside__copy {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.label-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.label-pill,
.integration-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.68rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--bb-line);
    background: rgba(255, 255, 255, 0.82);
    color: var(--bb-text);
    font-weight: 600;
    font-size: 0.94rem;
    box-shadow: 0 8px 20px rgba(16, 33, 30, 0.04);
}

.hero-points,
.check-list,
.feature-list,
.comparison-list,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-points li,
.check-list li,
.feature-list li,
.comparison-list li {
    position: relative;
    padding-left: 1.45rem;
    color: inherit;
    margin-bottom: 0.95rem;
    line-height: 1.7;
}

.hero-points li::before,
.check-list li::before,
.feature-list li::before,
.comparison-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.68rem;
    width: 0.46rem;
    height: 0.46rem;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--bb-accent), var(--bb-primary));
    box-shadow: 0 0 0 6px rgba(15, 118, 110, 0.08);
}

.content-panel,
.pricing-card,
.form-shell,
.faq-shell,
.legal-shell,
.highlight-panel {
    padding: 2.4rem;
}

.info-card,
.assistant-card,
.timeline-card,
.comparison-panel,
.contact-card {
    padding: 1.9rem;
    height: 100%;
}

.info-card,
.assistant-card,
.timeline-card,
.comparison-panel,
.contact-card,
.highlight-panel,
.pricing-tier {
    transition: transform var(--bb-transition), box-shadow var(--bb-transition), border-color var(--bb-transition), background-color var(--bb-transition);
}

.info-card:hover,
.assistant-card:hover,
.timeline-card:hover,
.comparison-panel:hover,
.contact-card:hover,
.highlight-panel:hover,
.pricing-tier:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(16, 33, 30, 0.09);
}

.info-card h3,
.assistant-card h3,
.assistant-card h2,
.timeline-card h3,
.pricing-card h3,
.contact-card h3,
.form-shell h2,
.highlight-panel h3,
.comparison-panel h3 {
    color: var(--bb-text);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.assistant-card {
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 239, 0.92)),
        var(--bb-surface-strong);
}

.assistant-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: rgba(15, 118, 110, 0.12);
    color: var(--bb-primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.assistant-card__eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--bb-primary);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.assistant-card--wide {
    min-height: 100%;
}

.assistant-card__meta {
    color: var(--bb-text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.assistant-card__meta-label,
.assistant-card__meta-value {
    display: block;
}

.assistant-card__meta-label {
    margin-bottom: 0.2rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(24, 51, 46, 0.54);
}

.assistant-card__feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.assistant-card__feature-list li {
    position: relative;
    margin-bottom: 0.55rem;
    padding-left: 1rem;
    color: var(--bb-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.assistant-card__feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: var(--bb-primary);
}

.assistant-card__button {
    margin-top: auto;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: var(--bb-primary);
    font-weight: 800;
    margin-bottom: 1rem;
}

.integration-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.integration-cloud--dark {
    gap: 0.65rem;
}

.integration-pill--soft {
    background: rgba(255, 249, 239, 0.9);
    border-color: rgba(217, 169, 91, 0.18);
}

.integration-pill--dark {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: none;
}

.chat-board {
    display: grid;
    gap: 1rem;
    padding: 1.6rem;
    border-radius: var(--bb-radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 248, 0.92)),
        var(--bb-surface-strong);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--bb-shadow);
}

.chat-bubble {
    max-width: min(100%, 34rem);
    padding: 1.15rem 1.25rem;
    border-radius: 24px;
    box-shadow: var(--bb-shadow-soft);
}

.chat-bubble--left {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--bb-line);
}

.chat-bubble--right {
    justify-self: end;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.14), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(15, 118, 110, 0.16);
}

.chat-bubble__author {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--bb-primary);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-tier {
    height: 100%;
    padding: 1.9rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--bb-line);
    box-shadow: var(--bb-shadow-soft);
}

.pricing-tier--featured {
    background:
        linear-gradient(180deg, rgba(15, 118, 110, 0.1), rgba(255, 255, 255, 0.98)),
        #ffffff;
    border-color: rgba(15, 118, 110, 0.26);
    box-shadow: 0 18px 42px rgba(15, 118, 110, 0.14);
}

.pricing-tier__price {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.pricing-tier__price strong {
    font-size: 2.15rem;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--bb-text);
}

.pricing-tier__price--compact strong {
    font-size: 1.9rem;
}

.pricing-tier__price span {
    color: var(--bb-text-muted);
    font-size: 0.98rem;
}

.site-footer {
    padding: 4.2rem 0 2rem;
    background: linear-gradient(180deg, #10211e 0%, #081210 100%);
    color: rgba(255, 255, 255, 0.75);
}

.footer-brand .brand-name {
    color: #ffffff;
    margin-left: 0.8rem;
}

.footer-title {
    color: #ffffff;
    font-size: 0.98rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-copy,
.footer-note,
.footer-bottom,
.footer-links a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-links li + li {
    margin-top: 0.55rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    font-size: 0.94rem;
}

.cta-banner {
    background:
        radial-gradient(circle at top right, rgba(217, 169, 91, 0.22), transparent 24%),
        radial-gradient(circle at bottom left, rgba(15, 118, 110, 0.2), transparent 26%),
        linear-gradient(180deg, #10211e 0%, #081210 100%);
    border-radius: 34px;
    padding: 2.8rem;
    box-shadow: 0 24px 64px rgba(16, 33, 30, 0.18);
}

.accordion-item {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--bb-line);
    border-radius: 22px !important;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--bb-shadow-soft);
}

.accordion-button {
    font-family: 'Sora', 'Segoe UI', sans-serif;
    font-weight: 600;
    color: var(--bb-text);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(15, 118, 110, 0.08);
    color: var(--bb-text);
}

.accordion-body {
    color: #35534d;
    line-height: 1.75;
}

.form-label {
    color: var(--bb-text);
    font-weight: 700;
}

.form-control,
.form-select,
.form-control:focus,
.form-select:focus {
    border-radius: 18px;
    border-color: var(--bb-line);
    box-shadow: none;
}

.form-control,
.form-select {
    padding: 1rem 1.05rem;
    background: rgba(255, 255, 255, 0.94);
    transition: border-color var(--bb-transition), box-shadow var(--bb-transition), background-color var(--bb-transition);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(15, 118, 110, 0.4);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.08);
}

.small-note {
    color: var(--bb-text-muted);
    font-size: 0.95rem;
}

.pricing-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--bb-text);
    --bs-table-border-color: var(--bb-line);
}

.pricing-table thead th {
    color: var(--bb-text);
    font-weight: 700;
    border-bottom-width: 1px;
    white-space: nowrap;
}

.pricing-table tbody th,
.pricing-table tbody td {
    padding-top: 1rem;
    padding-bottom: 1rem;
    vertical-align: middle;
}

.pricing-table tbody th {
    color: var(--bb-text);
    font-weight: 700;
}

.pricing-table tbody td {
    color: var(--bb-text-muted);
}

.legal-shell h2,
.legal-shell h3 {
    color: var(--bb-text);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.legal-shell h2 {
    font-size: 1.42rem;
    margin-top: 2rem;
}

.legal-shell h2:first-child {
    margin-top: 0;
}

.legal-shell p,
.legal-shell li,
.legal-shell address {
    color: #35534d;
    line-height: 1.85;
}

.legal-shell address {
    font-style: normal;
}

body.motion-ready .reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

body.motion-ready .reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

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

    .hero-shell {
        padding: 2rem;
    }

    .brand-tag {
        max-width: 13rem;
    }
}

@media (max-width: 767.98px) {
    .section-space {
        padding: 4rem 0;
    }

    .hero {
        padding: 4.8rem 0 4rem;
    }

    .hero-shell,
    .content-panel,
    .pricing-card,
    .form-shell,
    .faq-shell,
    .legal-shell,
    .contact-card,
    .highlight-panel,
    .comparison-panel {
        padding: 1.5rem;
    }

    .assistant-card,
    .info-card,
    .timeline-card {
        padding: 1.5rem;
    }

    .cta-banner {
        padding: 1.9rem;
        border-radius: 28px;
    }

    .display-title {
        max-width: none;
    }

    .chat-board {
        padding: 1rem;
    }

    .chat-bubble {
        max-width: 100%;
    }

    .chat-bubble--right {
        justify-self: stretch;
    }
}
