/* tspoonAI: native block composition, scoped to this page. */
.tspoonlab-ai-page {
    --bg: #ffffff;
    --section-bg: #faf9f7;
    --border: #eceae4;
    --text: #1e1e1c;
    --text-secondary: #6b6a64;
    --text-muted: #9a9891;
    --red: #d6362b;
    --red-bg: var(--wp--preset--color--ai-background);
    --red-border: #f0bdb7;
    --wp--preset--color--primary: #d6362b;
    color: var(--text);
    background: var(--bg);
    font-family: -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.45;
    margin-block: 0;
}
.tspoonlab-ai-page *,
.tspoonlab-ai-page *::before,
.tspoonlab-ai-page *::after {
    box-sizing: border-box;
}
.tspoonlab-ai-page
    :is(h1, h2, h3, h4, p:not(.tspoonlab-badge), a:not(.wp-block-button__link), td, th) {
    font-family: inherit !important;
    letter-spacing: normal;
}
.tspoonlab-ai-page.wp-block-group > *,
.tspoonlab-ai-page :is(.wp-block-group, .wp-block-columns, .wp-block-column) > * {
    margin-block-start: 0;
    margin-block-end: 0;
}
.wp-site-blocks:has(.tspoonlab-ai-page) > * {
    margin-block-start: 0;
}
.tspoonlab-ai-page .tspoonlab-aip-hero {
    padding: 64px 24px 52px;
    text-align: center;
    background: var(--section-bg);
    border-bottom: 1px solid var(--border);
}
.tspoonlab-ai-page .tspoonlab-aip-title {
    font-size: 38px;
    font-weight: 800;
    margin: 0 auto 14px;
    line-height: 1.2;
    max-width: 920px;
}
.tspoonlab-aip-title span {
    color: var(--red);
}
.tspoonlab-ai-page .tspoonlab-aip-lead {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: var(--wp--style--global--content-size, 740px);
    margin: 0 auto 40px;
}
.tspoonlab-ai-page .tspoonlab-aip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: var(--wp--style--global--wide-size, 1200px);
    margin: 0 auto;
}
.tspoonlab-ai-page .tspoonlab-aip-feature {
    position: relative;
    min-width: 0;
    text-align: center;
    padding: 18px 14px;
    background: var(--red-bg);
    border: 2px solid rgba(214, 39, 57, 0.8);
    border-radius: 14px;
}
.tspoonlab-ai-page .tspoonlab-aip-hero .tspoonlab-aip-feature {
    overflow: hidden;
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;
}
.tspoonlab-ai-page .tspoonlab-aip-hero .tspoonlab-aip-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top right,
        rgba(255, 255, 255, 0.42),
        rgba(255, 255, 255, 0) 48%
    );
    opacity: 0.8;
    pointer-events: none;
}
.tspoonlab-ai-page .tspoonlab-aip-hero .tspoonlab-aip-feature:hover,
.tspoonlab-ai-page .tspoonlab-aip-hero .tspoonlab-aip-feature:focus,
.tspoonlab-ai-page .tspoonlab-aip-hero .tspoonlab-aip-feature:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 26px 54px rgba(25, 18, 8, 0.16);
}
.tspoonlab-ai-page .tspoonlab-aip-hero .tspoonlab-aip-feature:hover::before,
.tspoonlab-ai-page .tspoonlab-aip-hero .tspoonlab-aip-feature:focus::before,
.tspoonlab-ai-page .tspoonlab-aip-hero .tspoonlab-aip-feature:focus-within::before {
    opacity: 1;
}
.tspoonlab-ai-page .tspoonlab-aip-icon {
    margin: 0 auto 14px;
}
.tspoonlab-ai-page .tspoonlab-aip-icon svg {
    width: 22px;
    height: 22px;
}
.tspoonlab-ai-page .tspoonlab-aip-feature-title {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
}
.tspoonlab-aip-feature-title a {
    color: inherit;
    text-decoration: none;
}
.tspoonlab-aip-feature-title a::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
}
.tspoonlab-aip-feature:focus-within {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}
.tspoonlab-ai-page .tspoonlab-aip-feature-description {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.45;
}
.tspoonlab-ai-page .tspoonlab-aip-solution {
    padding: 64px 24px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 100px;
}
.tspoonlab-aip-alt {
    background: var(--section-bg);
}
.tspoonlab-aip-solution-inner {
    max-width: var(--wp--style--global--wide-size, 1200px);
    margin: 0 auto;
}
.tspoonlab-ai-page .tspoonlab-aip-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.tspoonlab-ai-page .tspoonlab-aip-tags > p.tspoonlab-badge {
    margin: 0;
}
.tspoonlab-ai-page .tspoonlab-aip-solution-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.25;
    max-width: var(--wp--style--global--content-size, 740px);
}
.tspoonlab-ai-page .tspoonlab-aip-intro {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: var(--wp--style--global--content-size, 740px);
    margin: 0 0 22px;
}
.tspoonlab-ai-page .tspoonlab-aip-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    margin: 0;
}
.tspoonlab-aip-cols > .wp-block-column {
    min-width: 0;
}
.tspoonlab-ai-page .tspoonlab-aip-col-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    margin: 0 0 16px;
    line-height: 1.45;
}
.tspoonlab-ai-page .tspoonlab-aip-includes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tspoonlab-aip-includes li {
    position: relative;
    padding-left: 32px;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}
.tspoonlab-aip-includes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--red-bg) url('../icons/bullets/check.svg') center / 16px 16px no-repeat;
}
.tspoonlab-ai-page .tspoonlab-aip-faq {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.tspoonlab-ai-page .tspoonlab-aip-question {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 5px;
    line-height: 1.45;
}
.tspoonlab-ai-page .tspoonlab-aip-answer {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.55;
}
.tspoonlab-ai-page .tspoonlab-aip-summary-strip {
    margin: 36px 0 0;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.tspoonlab-ai-page .tspoonlab-aip-solution-foot {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
.tspoonlab-ai-page .tspoonlab-aip-belongs {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
}
.tspoonlab-aip-belongs b {
    color: var(--text);
}
.tspoonlab-ai-page .wp-block-button__link {
    font-family: var(--wp--preset--font-family--inter, var(--wp--preset--font-family--primary));
}
.tspoonlab-ai-page .tspoonlab-aip-cta-final {
    background: var(--section-bg);
    padding: 56px 24px;
    text-align: center;
}
.tspoonlab-ai-page .tspoonlab-aip-cta-final h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.25;
}
.tspoonlab-ai-page .tspoonlab-aip-cta-final p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0 0 24px;
}
.tspoonlab-ai-page .tspoonlab-aip-cta-final > h2,
.tspoonlab-ai-page .tspoonlab-aip-cta-final > p {
    max-width: var(--wp--style--global--content-size, 740px);
    margin-right: auto;
    margin-left: auto;
}
.tspoonlab-ai-page .tspoonlab-aip-cta-final > .wp-block-buttons {
    max-width: var(--wp--style--global--wide-size, 1200px);
    margin-right: auto;
    margin-left: auto;
}
@media (max-width: 900px) {
    .tspoonlab-ai-page .tspoonlab-aip-grid,
    .tspoonlab-ai-page .tspoonlab-aip-summary-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tspoonlab-ai-page .tspoonlab-aip-cols {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 600px) {
    .tspoonlab-ai-page .tspoonlab-aip-grid,
    .tspoonlab-ai-page .tspoonlab-aip-summary-strip {
        grid-template-columns: minmax(0, 1fr);
    }
    .tspoonlab-ai-page .tspoonlab-aip-hero,
    .tspoonlab-ai-page .tspoonlab-aip-solution,
    .tspoonlab-ai-page .tspoonlab-aip-cta-final {
        padding: 40px 24px;
    }
    .tspoonlab-ai-page .tspoonlab-aip-title {
        font-size: 30px;
    }
}
/* Keep the confirmed video behind the editable hero content. */
.tspoonlab-ai-page .tspoonlab-aip-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #080b26;
}
.tspoonlab-ai-page .tspoonlab-aip-hero > .wp-block-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    overflow: hidden;
    border-radius: inherit;
    z-index: 0;
    margin: 0;
    pointer-events: none;
}
.tspoonlab-ai-page .tspoonlab-aip-hero > .wp-block-video video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.tspoonlab-ai-page .tspoonlab-aip-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(4, 8, 30, 0.6);
}
.tspoonlab-ai-page .tspoonlab-aip-hero > :not(.wp-block-video) {
    position: relative;
    z-index: 2;
}
.tspoonlab-ai-page .tspoonlab-aip-title {
    color: #fff;
}
.tspoonlab-ai-page .tspoonlab-aip-lead {
    color: #eeeeef;
}
.tspoonlab-ai-page .tspoonlab-aip-feature-title {
    color: var(--text);
}
