.te-ai-page {
    background: #ffffff;
    color: var(--te-text-body, #475569);
}

.te-ai-page__container {
    width: min(100% - 2rem, 1120px);
    margin-inline: auto;
}

.te-ai-hero {
    position: relative;
    display: flex;
    min-height: 470px;
    align-items: center;
    overflow: hidden;
    background: #08172b;
}

.te-ai-hero__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 44%;
}

.te-ai-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 18, 38, 0.97) 0%, rgba(5, 18, 38, 0.9) 43%, rgba(5, 18, 38, 0.5) 72%, rgba(5, 18, 38, 0.22) 100%),
        linear-gradient(0deg, rgba(5, 18, 38, 0.3), transparent 45%);
}

.te-ai-hero__content {
    position: relative;
    z-index: 2;
    width: min(100% - 2rem, 1120px);
    margin-inline: auto;
    padding-block: 4.5rem;
}

.te-ai-hero__body {
    max-width: 730px;
}

.te-ai-hero__eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    color: #ffb08b;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.te-ai-hero h1 {
    max-width: 780px;
    margin: 0 0 1.25rem;
    color: #ffffff;
    font-family: var(--te-font-heading, "Plus Jakarta Sans", sans-serif);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.08;
}

.te-ai-hero__answer {
    max-width: 720px;
    margin: 0;
    color: #e5edf7;
    font-size: 1.125rem;
    line-height: 1.7;
}

.te-ai-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.te-ai-hero__primary,
.te-ai-hero__secondary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 800;
    line-height: 1.2;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.te-ai-hero__primary {
    background: #ff6b35;
    color: #ffffff;
}

.te-ai-hero__primary:hover {
    background: #e95722;
    color: #ffffff;
}

.te-ai-hero__secondary {
    border-color: rgba(255, 255, 255, 0.52);
    background: rgba(5, 18, 38, 0.34);
    color: #ffffff;
}

.te-ai-hero__secondary:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.te-ai-hero__meta {
    margin: 1rem 0 0;
    color: #bfccdc;
    font-size: 0.8125rem;
}

.te-ai-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.4rem;
    margin: 1.25rem 0 0;
    padding: 0;
    color: #d7e1ee;
    font-size: 0.8125rem;
    list-style: none;
}

.te-ai-hero__proof li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.te-ai-hero__proof li::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2dd4bf;
    content: "";
}

.te-ai-intro {
    padding-block: 3rem;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

.te-ai-intro__layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
}

.te-ai-toc {
    position: sticky;
    top: 96px;
}

.te-ai-toc__title {
    margin: 0 0 0.8rem;
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.te-ai-toc ol {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.te-ai-toc a {
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.35;
}

.te-ai-toc a:hover {
    color: var(--te-accent, #0a66c2);
    text-decoration: underline;
}

.te-ai-intro h2,
.te-ai-section h2,
.te-ai-table-section h2,
.te-ai-faq h2,
.te-ai-related h2,
.te-ai-hub-section h2 {
    color: #0f172a;
    font-family: var(--te-font-heading, "Plus Jakarta Sans", sans-serif);
    font-weight: 800;
    line-height: 1.2;
}

.te-ai-intro h2 {
    margin: 0 0 0.8rem;
    font-size: 1.75rem;
}

.te-ai-intro p {
    max-width: 760px;
    margin: 0;
    color: #475569;
    font-size: 1.0625rem;
    line-height: 1.75;
}

.te-ai-section {
    padding-block: 4rem;
    scroll-margin-top: 100px;
}

.te-ai-section--muted,
.te-ai-table-section,
.te-ai-related {
    background: #f7f9fc;
}

.te-ai-section__grid {
    display: block;
}

.te-ai-section__grid--with-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 4rem;
    align-items: start;
}

.te-ai-section h2,
.te-ai-table-section h2,
.te-ai-faq h2,
.te-ai-related h2,
.te-ai-hub-section h2 {
    margin: 0 0 1.25rem;
    font-size: 2rem;
}

.te-ai-section__copy {
    max-width: 790px;
}

.te-ai-section__copy p {
    margin: 0 0 1.15rem;
    color: #526174;
    font-size: 1rem;
    line-height: 1.75;
}

.te-ai-section__copy p:last-child {
    margin-bottom: 0;
}

.te-ai-checklist {
    padding: 1.4rem;
    border: 1px solid #dbe4ee;
    border-top: 3px solid var(--te-accent, #0a66c2);
    border-radius: 6px;
    background: #ffffff;
}

.te-ai-checklist__label {
    margin: 0 0 0.9rem;
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.te-ai-checklist ul {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.te-ai-checklist li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 0.55rem;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.45;
}

.te-ai-checklist__mark {
    color: var(--te-accent, #0a66c2);
    font-weight: 900;
}

.te-ai-table-section,
.te-ai-faq,
.te-ai-related,
.te-ai-hub-section {
    padding-block: 4rem;
    scroll-margin-top: 100px;
}

.te-ai-table-wrap {
    overflow-x: auto;
    border: 1px solid #dbe4ee;
    border-radius: 6px;
    background: #ffffff;
}

.te-ai-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    text-align: left;
}

.te-ai-table th,
.te-ai-table td {
    padding: 1rem 1.15rem;
    border-top: 1px solid #e2e8f0;
    color: #526174;
    line-height: 1.5;
    vertical-align: top;
}

.te-ai-table thead th {
    border-top: 0;
    background: #eef3f8;
    color: #0f172a;
    font-weight: 800;
}

.te-ai-table tbody th {
    color: #0f172a;
    font-weight: 700;
}

.te-ai-faq {
    background: #ffffff;
}

.te-ai-faq details {
    border-bottom: 1px solid #dbe4ee;
}

.te-ai-faq summary {
    padding-block: 1.15rem;
    color: #0f172a;
    font-weight: 750;
    cursor: pointer;
}

.te-ai-faq details p {
    max-width: 800px;
    margin: 0;
    padding: 0 0 1.25rem;
    color: #526174;
    line-height: 1.7;
}

.te-ai-related__grid,
.te-ai-guide-grid,
.te-ai-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.te-ai-related__link,
.te-ai-guide-card,
.te-ai-service-card {
    display: block;
    padding: 1.35rem;
    border: 1px solid #dbe4ee;
    border-radius: 6px;
    background: #ffffff;
    color: #0f172a;
}

.te-ai-related__link:hover,
.te-ai-guide-card:hover,
.te-ai-service-card:hover {
    border-color: var(--te-accent, #0a66c2);
    color: var(--te-accent, #0a66c2);
}

.te-ai-related__link strong,
.te-ai-guide-card strong {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 800;
}

.te-ai-related__link span,
.te-ai-guide-card span {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
}

.te-ai-related__hub {
    display: inline-flex;
    margin-top: 1.5rem;
    color: var(--te-accent, #0a66c2);
    font-weight: 750;
}

.te-ai-page-cta {
    padding-block: 3.5rem;
    background: linear-gradient(110deg, #08172b 0%, #074c87 100%);
    color: #ffffff;
}

.te-ai-page-cta__layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.te-ai-page-cta h2 {
    margin: 0 0 0.6rem;
    color: #ffffff;
    font-family: var(--te-font-heading, "Plus Jakarta Sans", sans-serif);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.te-ai-page-cta p {
    max-width: 680px;
    margin: 0;
    color: #d6e2f0;
    line-height: 1.65;
}

.te-ai-page-cta__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.75rem;
}

.te-ai-hub-section__intro {
    max-width: 760px;
    margin-bottom: 2rem;
    color: #526174;
    line-height: 1.7;
}

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

.te-ai-service-card {
    color: #526174;
}

.te-ai-service-card h3 {
    margin: 0 0 0.65rem;
    color: #0f172a;
    font-family: var(--te-font-heading, "Plus Jakarta Sans", sans-serif);
    font-size: 1.2rem;
    font-weight: 800;
}

.te-ai-service-card p {
    margin: 0 0 0.9rem;
    line-height: 1.65;
}

.te-ai-service-card a {
    color: var(--te-accent, #0a66c2);
    font-weight: 750;
}

@media (max-width: 900px) {
    .te-ai-hero {
        min-height: 440px;
    }

    .te-ai-hero__overlay {
        background: rgba(5, 18, 38, 0.84);
    }

    .te-ai-hero h1 {
        font-size: 2.5rem;
    }

    .te-ai-intro__layout,
    .te-ai-section__grid--with-aside {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .te-ai-toc {
        position: static;
    }

    .te-ai-toc ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .te-ai-related__grid,
    .te-ai-guide-grid {
        grid-template-columns: 1fr;
    }

    .te-ai-page-cta__layout {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .te-ai-page__container,
    .te-ai-hero__content {
        width: min(100% - 1.5rem, 1120px);
    }

    .te-ai-hero {
        min-height: 0;
    }

    .te-ai-hero__content {
        padding-block: 3.5rem;
    }

    .te-ai-hero h1 {
        font-size: 2rem;
        line-height: 1.12;
    }

    .te-ai-hero__answer {
        font-size: 1rem;
    }

    .te-ai-hero__actions,
    .te-ai-page-cta__actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .te-ai-hero__primary,
    .te-ai-hero__secondary {
        width: 100%;
    }

    .te-ai-hero__proof {
        align-items: flex-start;
        flex-direction: column;
    }

    .te-ai-toc ol,
    .te-ai-service-grid {
        grid-template-columns: 1fr;
    }

    .te-ai-section,
    .te-ai-table-section,
    .te-ai-faq,
    .te-ai-related,
    .te-ai-hub-section {
        padding-block: 3rem;
    }

    .te-ai-section h2,
    .te-ai-table-section h2,
    .te-ai-faq h2,
    .te-ai-related h2,
    .te-ai-hub-section h2,
    .te-ai-page-cta h2 {
        font-size: 1.65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .te-ai-hero__primary,
    .te-ai-hero__secondary {
        transition: none;
    }
}
