.ai-page {
    --ai-border: 1px solid rgba(71, 0, 47, 0.09);
    --ai-shadow: 0 20px 44px rgba(71, 0, 47, 0.08);
    --ai-soft-orange: #fbf4ed;
    --ai-soft-orange-strong: #fff0e1;
    --ai-soft-surface: rgba(255, 255, 255, 0.94);
    --ai-muted: rgba(71, 0, 47, 0.72);
}

/* Match the tighter section-to-section rhythm used on the homepage. */
.ai-page .home-section:not(.header__hero):not(.home-section--clients):not(.home-section--value-prop):not(.home-section--testimonials):not(.home-section--contact) {
    padding-top: clamp(42px, 5vw, 68px);
}

.ai-page .ai-final-cta {
    padding-bottom: clamp(40px, 5vw, 60px);
}

.ai-page .header__hero-container {
    background:
        radial-gradient(circle at 76% 18%, rgba(255, 215, 168, 0.26) 0%, rgba(255, 215, 168, 0) 28%),
        radial-gradient(circle at 20% 86%, rgba(255, 232, 210, 0.42) 0%, rgba(255, 232, 210, 0) 34%),
        linear-gradient(135deg, rgba(255, 247, 239, 0.98) 0%, rgba(255, 255, 255, 1) 38%, rgba(255, 250, 244, 0.98) 70%, rgba(251, 245, 238, 0.98) 100%);
}

.ai-page .header__hero-wrapper {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 0.92fr);
    gap: clamp(34px, 5vw, 74px);
}

.ai-page .header__hero-content-container {
    display: grid;
    align-content: center;
    gap: 18px;
    max-width: 680px;
}

.ai-page .header__hero-title {
    max-width: 10.8ch;
}

.ai-page .ai-hero-title__accent {
    color: var(--primary-bg-orange);
}

.ai-page .header__hero-content {
    max-width: 37ch;
}

.ai-page .header__hero-actions {
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.ai-page .ai-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 56px;
    padding: 0 28px;
    border: 1px solid rgba(71, 0, 47, 0.14);
    border-radius: 999px;
    color: var(--bordeaux-bg);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 16px 30px rgba(71, 0, 47, 0.05);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.ai-page .ai-button-secondary:hover,
.ai-page .ai-button-secondary:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(237, 114, 3, 0.3);
    box-shadow: 0 18px 34px rgba(71, 0, 47, 0.08);
    color: var(--primary-bg-orange);
}

.ai-page .ai-button-secondary:focus-visible {
    outline: 2px solid rgba(237, 114, 3, 0.45);
    outline-offset: 4px;
}

.ai-page .ai-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}

.ai-page .ai-device-stage,
.ai-page .ai-device-stage__frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.ai-page .perspective-container {
    perspective: 1200px;
    width: 100%;
}

.ai-page .device-scene {
    position: relative;
    width: 290px;
    height: 500px;
    transform-style: preserve-3d;
    transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 0.05s linear;
    will-change: transform;
    touch-action: auto;
}

.ai-page .device-frame {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

.ai-page .device-edge {
    position: absolute;
    inset: 0;
    border-radius: 40px;
    background: linear-gradient(to right, #d1d5db, #f3f4f6, #9ca3af);
    border: 1px solid #d1d5db;
    pointer-events: none;
}

.ai-page .device-face {
    position: absolute;
    inset: 0;
    border-radius: 40px;
    overflow: hidden;
    backface-visibility: hidden;
    box-shadow: 0 30px 80px -24px rgba(50, 50, 93, 0.24), 0 18px 40px -28px rgba(0, 0, 0, 0.25);
}

.ai-page .device-front {
    background: #ffffff;
    border: 6px solid #f9fafb;
    outline: 2px solid #e5e7eb;
    transform: translateZ(13px);
    z-index: 10;
}

.ai-page .device-back {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    border: 1px solid #d1d5db;
    transform: rotateY(180deg) translateZ(13px);
    z-index: 9;
}

.ai-page .device-back::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 60%);
    opacity: 0.7;
}

.ai-page .screen-bg {
    position: absolute;
    inset: 2px;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    border-radius: 32px;
    overflow: hidden;
    z-index: 0;
}

.ai-page .screen-deco {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    transition: transform 0.2s linear;
}

.ai-page .deco-1 {
    top: -10%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(253, 186, 116, 0.4);
    transform: translate(calc(var(--mouse-x, 0) * -15px), calc(var(--mouse-y, 0) * -15px));
}

.ai-page .deco-2 {
    bottom: 10%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: rgba(229, 231, 235, 0.6);
    transform: translate(calc(var(--mouse-x, 0) * -10px), calc(var(--mouse-y, 0) * -10px));
}

.ai-page .screen-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateZ(20px);
    z-index: 20;
}

.ai-page .ai-device-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 12px;
    border-radius: 999px;
    background: #ffedd5;
    color: #ea580c;
}

.ai-page .ai-device-avatar .material-symbols-outlined {
    font-size: 20px;
}

.ai-page .ai-device-header-copy {
    display: grid;
    gap: 2px;
}

.ai-page .ai-device-header-title {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.ai-page .ai-device-header-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #22c55e;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.ai-page .ai-device-header-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: currentColor;
}

.ai-page .camera-bump {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 100px;
    height: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.ai-page .lens {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #111827;
    border: 2px solid #4b5563;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.ai-page .lens::after {
    content: "";
    position: absolute;
    top: 25%;
    left: 25%;
    width: 20%;
    height: 20%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    filter: blur(1px);
}

.ai-page .camera-bump__sensor {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: rgba(209, 213, 219, 0.9);
    opacity: 0.5;
}

.ai-page .device-logo {
    position: relative;
    width: 60px;
    height: 60px;
    opacity: 0.8;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.ai-page .device-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.8;
}

.ai-page .chat-layer {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    transform-style: preserve-3d;
    padding: 4rem 1rem 1.25rem;
    display: flex;
    flex-direction: column;
}

.ai-page .bubble-wrapper {
    transform-style: preserve-3d;
    transition: transform 0.1s linear;
    will-change: transform;
}

.ai-page .chat-bubble {
    position: relative;
    max-width: 85%;
    margin-bottom: 1rem;
    padding: 10px 14px;
    border-radius: 18px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    color: #374151;
    font-size: 0.8rem;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px) translateZ(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    backface-visibility: hidden;
    --tz: 20px;
}

.ai-page .bubble-user {
    align-self: flex-end;
    background-color: #1f2937;
    color: #ffffff;
    border-bottom-right-radius: 4px;
    transform-origin: center right;
    --tz: 60px;
}

.ai-page .bubble-ai {
    align-self: flex-start;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 4px;
    transform-origin: center left;
    --tz: 40px;
}

.ai-page .bubble-thinking {
    align-self: flex-start;
    width: fit-content;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    border-bottom-left-radius: 4px;
    background-color: #ffffff;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05);
    transform-origin: center left;
    --tz: 50px;
}

.ai-page .hero-bubble-kicker {
    margin-bottom: 4px;
    color: #ea580c;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ai-page .hero-bubble-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #111827;
    font-weight: 600;
}

.ai-page .chart-container {
    width: 100%;
    height: 3rem;
    margin-top: 0.5rem;
    color: #f97316;
    opacity: 0.8;
}

.ai-page .chart-container svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ai-page .typing-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #ea580c;
    animation: typing 1.4s infinite ease-in-out both;
}

.ai-page .typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.ai-page .typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.ai-page .typing-dot-gray {
    width: 3px;
    height: 3px;
    background-color: #9ca3af;
}

.ai-page .ai-hero-stack {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    grid-template-areas:
        "support status"
        "workflow knowledge";
    gap: 18px;
    min-height: clamp(560px, 58vw, 680px);
}

.ai-page .ai-mockup {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    border: var(--ai-border);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 248, 246, 0.92) 100%);
    box-shadow: var(--ai-shadow);
    overflow: hidden;
}

.ai-page .ai-mockup::before,
.ai-page .ai-feature-card::before,
.ai-page .ai-use-case::before,
.ai-page .ai-hardening__item::before,
.ai-page .ai-proof__board::before,
.ai-page .ai-final-cta__panel::before,
.ai-page .ai-faq__item::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(237, 114, 3, 0.75) 0%, rgba(237, 114, 3, 0) 88%);
}

.ai-page .ai-mockup--support {
    grid-area: support;
    min-height: 332px;
}

.ai-page .ai-mockup--status {
    grid-area: status;
    min-height: 250px;
}

.ai-page .ai-mockup--workflow {
    grid-area: workflow;
    min-height: 270px;
}

.ai-page .ai-mockup--knowledge {
    grid-area: knowledge;
    min-height: 270px;
}

.ai-page .ai-window-bar {
    display: inline-flex;
    gap: 6px;
}

.ai-page .ai-window-bar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(71, 0, 47, 0.14);
}

.ai-page .ai-window-bar span:first-child {
    background: rgba(237, 114, 3, 0.48);
}

.ai-page .ai-window-bar span:nth-child(2) {
    background: rgba(237, 114, 3, 0.28);
}

.ai-page .ai-window-bar span:nth-child(3) {
    background: rgba(71, 0, 47, 0.14);
}

.ai-page .ai-mockup__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    align-items: start;
}

.ai-page .ai-showcase-card__content {
    display: grid;
    gap: 8px;
}

.ai-page .ai-mockup__header h2,
.ai-page .ai-showcase-card__content h3,
.ai-page .ai-feature-card h3,
.ai-page .ai-use-case h3,
.ai-page .ai-hardening__item h3 {
    margin: 0;
    color: var(--bordeaux-bg);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.ai-page .ai-mini-label,
.ai-page .ai-showcase-card__eyebrow,
.ai-page .ai-section__eyebrow {
    margin: 0;
    color: var(--primary-bg-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ai-page .ai-status-dot {
    align-self: start;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(71, 0, 47, 0.08);
    color: var(--bordeaux-bg);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ai-page .ai-status-dot--live {
    background: rgba(237, 114, 3, 0.12);
    color: var(--primary-bg-orange);
}

.ai-page .ai-chat-thread,
.ai-page .ai-pill-row,
.ai-page .ai-knowledge-answer,
.ai-page .ai-search,
.ai-page .ai-stat-list,
.ai-page .ai-stat-meter,
.ai-page .ai-board,
.ai-page .ai-support-layout,
.ai-page .ai-knowledge-layout,
.ai-page .ai-ops-layout,
.ai-page .ai-customer-layout {
    min-width: 0;
}

.ai-page .ai-chat-thread {
    display: grid;
    gap: 12px;
}

.ai-page .ai-chat-row {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid rgba(71, 0, 47, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.ai-page .ai-chat-row--request {
    background: rgba(71, 0, 47, 0.04);
}

.ai-page .ai-chat-row--response {
    background: rgba(255, 244, 234, 0.95);
}

.ai-page .ai-chat-role {
    color: rgba(71, 0, 47, 0.56);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-page .ai-chat-row p,
.ai-page .ai-feature-card p,
.ai-page .ai-use-case p,
.ai-page .ai-showcase-card__content p,
.ai-page .ai-hardening__item p,
.ai-page .ai-proof__body,
.ai-page .ai-faq__content p {
    margin: 0;
    color: rgba(71, 0, 47, 0.88);
    font-family: "Metropolis Light", sans-serif;
    font-size: 17px;
    line-height: 1.62;
}

.ai-page .ai-citation {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(237, 114, 3, 0.12);
    color: var(--primary-bg-orange);
    font-size: 11px;
    font-weight: 700;
}

.ai-page .ai-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai-page .ai-pill-row span,
.ai-page .ai-proof__chips span,
.ai-page .ai-proof__location-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(71, 0, 47, 0.05);
    color: var(--bordeaux-bg);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.ai-page .ai-stat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ai-page .ai-stat-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(71, 0, 47, 0.04);
}

.ai-page .ai-stat-list span,
.ai-page .ai-stat-meter span,
.ai-page .ai-support-ticket span,
.ai-page .ai-support-panel__footer span,
.ai-page .ai-ops-step span:last-child {
    color: rgba(71, 0, 47, 0.62);
    font-family: "Metropolis Light", sans-serif;
    font-size: 13px;
    line-height: 1.45;
}

.ai-page .ai-stat-list strong,
.ai-page .ai-ops-step span:first-child {
    color: var(--bordeaux-bg);
    font-size: 16px;
    font-weight: 700;
}

.ai-page .ai-stat-meter {
    display: grid;
    gap: 12px;
}

.ai-page .ai-progress {
    width: 100%;
    height: 10px;
    margin-top: 6px;
    border-radius: 999px;
    background: rgba(71, 0, 47, 0.08);
    overflow: hidden;
}

.ai-page .ai-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(237, 114, 3, 0.8) 0%, rgba(245, 151, 82, 0.95) 100%);
}

.ai-page .ai-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ai-page .ai-board__column {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(71, 0, 47, 0.04);
}

.ai-page .ai-board__column > p,
.ai-page .ai-support-list p,
.ai-page .ai-ops-stage > p {
    margin: 0;
    color: var(--bordeaux-bg);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.ai-page .ai-support-panel p,
.ai-page .ai-ops-assistant p,
.ai-page .ai-answer-card p,
.ai-page .ai-knowledge-answer p {
    margin: 0;
    color: rgba(71, 0, 47, 0.88);
    font-family: "Metropolis Light", sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

.ai-page .ai-board__card,
.ai-page .ai-support-ticket,
.ai-page .ai-ops-step {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(71, 0, 47, 0.06);
}

.ai-page .ai-board__card {
    color: rgba(71, 0, 47, 0.86);
    font-family: "Metropolis Light", sans-serif;
    font-size: 13px;
    line-height: 1.45;
}

.ai-page .ai-board__card--accent,
.ai-page .ai-support-ticket--active {
    background: rgba(255, 242, 228, 0.96);
    border-color: rgba(237, 114, 3, 0.18);
}

.ai-page .ai-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(71, 0, 47, 0.05);
    color: rgba(71, 0, 47, 0.84);
    font-family: "Metropolis Light", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.ai-page .ai-knowledge-answer,
.ai-page .ai-answer-card,
.ai-page .ai-support-panel,
.ai-page .ai-ops-assistant {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 244, 234, 0.92);
    border: 1px solid rgba(237, 114, 3, 0.12);
}

.ai-page .ai-knowledge-answer ul,
.ai-page .ai-source-list,
.ai-page .ai-proof__list,
.ai-page .ai-final-cta__cues {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ai-page .ai-knowledge-answer ul,
.ai-page .ai-source-list {
    display: grid;
    gap: 8px;
}

.ai-page .ai-knowledge-answer li,
.ai-page .ai-source-list li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--bordeaux-bg);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.ai-page .ai-knowledge-answer li::before,
.ai-page .ai-source-list li::before,
.ai-page .ai-proof__list li::before,
.ai-page .ai-final-cta__cues li::before {
    content: "";
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--primary-bg-orange);
}

.ai-page .ai-section__header {
    display: grid;
    gap: 12px;
    max-width: 760px;
    margin-bottom: 30px;
}

.ai-page .ai-section__title,
.ai-page .clients__title,
.ai-page .ai-testimonials .testimonials__title {
    margin: 0;
    color: var(--bordeaux-bg);
    font-size: var(--home-title-size);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.ai-page .ai-section__intro {
    margin: 0;
    color: rgba(71, 0, 47, 0.9);
    font-family: "Metropolis Light", sans-serif;
    font-size: 17px;
    line-height: 1.68;
    max-width: 56ch;
}

.ai-page .ai-capabilities__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
        "production production rag product"
        "conversational augmentation agentic agentic";
    gap: 22px;
    align-items: stretch;
}

.ai-page .ai-use-cases__grid,
.ai-page .ai-hardening__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ai-page .ai-feature-card,
.ai-page .ai-use-case,
.ai-page .ai-hardening__item,
.ai-page .ai-proof__board,
.ai-page .ai-final-cta__panel,
.ai-page .ai-faq__item {
    position: relative;
    overflow: hidden;
    border: var(--ai-border);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(251, 248, 246, 0.94) 100%);
    box-shadow: var(--ai-shadow);
}

.ai-page .ai-feature-card,
.ai-page .ai-use-case,
.ai-page .ai-hardening__item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
    text-align: left;
    min-width: 0;
}

.ai-page .ai-feature-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ai-page .ai-feature-card--featured {
    padding: 30px;
}

.ai-page .ai-feature-card:hover,
.ai-page .ai-feature-card:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(71, 0, 47, 0.08);
    border-color: rgba(71, 0, 47, 0.16);
}

.ai-page .ai-feature-card--production {
    grid-area: production;
    background: linear-gradient(180deg, rgba(255, 236, 218, 0.96) 0%, rgba(255, 250, 245, 1) 100%);
}

.ai-page .ai-feature-card--agentic {
    grid-area: agentic;
    background: linear-gradient(180deg, rgba(255, 248, 236, 0.98) 0%, rgba(255, 253, 249, 1) 100%);
}

.ai-page .ai-feature-card--rag {
    grid-area: rag;
}

.ai-page .ai-feature-card--product {
    grid-area: product;
}

.ai-page .ai-feature-card--conversational {
    grid-area: conversational;
}

.ai-page .ai-feature-card--augmentation {
    grid-area: augmentation;
}

.ai-page .ai-feature-card__icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
}

.ai-page .ai-feature-card__icon-wrap::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 10px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(245, 197, 126, 0.72);
}

.ai-page .ai-feature-card__icon-wrap .ai-feature-card__icon {
    position: relative;
    z-index: 1;
}

.ai-page .ai-feature-card__icon,
.ai-page .ai-hardening__item .material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 0;
    background: transparent;
    color: var(--bordeaux-bg);
    font-size: 42px;
}

.ai-page .ai-hardening__item .material-symbols-outlined {
    border-radius: 18px;
    background: rgba(237, 114, 3, 0.12);
    color: var(--primary-bg-orange);
    font-size: 28px;
}

.ai-page .ai-feature-card__divider {
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: rgba(71, 0, 47, 0.12);
}

.ai-page .ai-feature-card h3 {
    font-size: 22px;
    line-height: 1.1;
}

.ai-page .ai-feature-card--featured h3 {
    font-size: 30px;
}

.ai-page .ai-feature-card p {
    max-width: 26ch;
    font-size: 16px;
    line-height: 1.58;
}

.ai-page .ai-feature-card--featured p {
    max-width: 40ch;
    font-size: 17px;
    line-height: 1.62;
}

.ai-page .ai-capabilities__cta {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.ai-page .ai-use-cases {
    background: linear-gradient(180deg, rgba(255, 248, 236, 0.62) 0%, rgba(255, 255, 255, 0) 100%);
}

.ai-page .ai-use-case__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(237, 114, 3, 0.1);
    color: var(--primary-bg-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.ai-page .ai-workflows__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ai-page .ai-workflows__subsection {
    display: grid;
    gap: 18px;
}

.ai-page .ai-workflows__subsection + .ai-workflows__subsection {
    margin-top: 42px;
}

.ai-page .ai-workflows__label,
.ai-page .ai-assessment-callout__eyebrow {
    margin: 0;
    color: var(--primary-bg-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ai-page .ai-showcase-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: var(--ai-border);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(71, 0, 47, 0.05);
    overflow: hidden;
}

.ai-page .ai-showcase-card__mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    padding: 18px 18px 0;
    background: #ffffff;
}

.ai-page .ai-showcase-card__content {
    padding: 22px 28px 28px;
}

.ai-page .ai-showcase-card__meta {
    color: rgba(71, 0, 47, 0.56);
    font-size: 12px;
    line-height: 1.5;
}

.ai-page .ai-showcase-card__content .ai-showcase-card__eyebrow {
    color: var(--primary-bg-orange);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ai-page .ai-showcase-card__content .ai-showcase-card__meta {
    color: rgba(71, 0, 47, 0.56);
    font-size: 12px;
    line-height: 1.5;
}

.ai-page .mockup-surface {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #ececec;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff7f2 0%, #f3f4f6 45%, #ffffff 100%);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.08);
}

.ai-page .card-3d-trigger {
    perspective: 900px;
}

.ai-page .ai-conversational-surface {
    width: 100%;
    min-height: 300px;
}

.ai-page .ai-showcase-card .mockup-surface {
    min-height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.ai-page .ui-scene {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: var(--scene-height, 260px);
    margin: 0 auto;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

.ai-page .ui-scene--phone {
    max-width: 490px;
}

.ai-page .ui-scene--tablet {
    max-width: 472px;
}

.ai-page .ipad-landscape {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(88%, 424px);
    aspect-ratio: 2360 / 1640;
    transform: translate(-50%, -50%);
    padding: 14px;
    border-radius: 34px;
    background: linear-gradient(135deg, #d2d6de 0%, #bcc1cb 52%, #aeb4c0 100%);
    box-shadow: 0 24px 50px rgba(18, 18, 24, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.ai-page .ipad-landscape::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    pointer-events: none;
}

.ai-page .ipad-landscape__screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #e9edf2;
}

.ai-page .ipad-landscape__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.96) contrast(1.02);
}

.ai-page .ipad-landscape__screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 18, 28, 0.05) 0%, rgba(12, 18, 28, 0.2) 100%);
    pointer-events: none;
}

.ai-page .ipad-landscape__overlay {
    position: absolute;
    z-index: 3;
    display: grid;
    gap: 8px;
    min-width: 180px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.ai-page .ipad-landscape__overlay--top {
    top: 18px;
    left: 18px;
    max-width: 210px;
}

.ai-page .ipad-landscape__overlay--bottom {
    right: 18px;
    bottom: 18px;
    max-width: 214px;
}

.ai-page .ipad-landscape__pill {
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(237, 114, 3, 0.12);
    color: var(--primary-bg-orange);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-page .ipad-landscape__overlay strong,
.ai-page .ipad-landscape__metric strong {
    color: #101828;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.ai-page .ipad-landscape__metric {
    display: grid;
    gap: 4px;
    color: rgba(16, 24, 40, 0.76);
    font-size: 12px;
    line-height: 1.45;
}

.ai-page .iphone-landscape {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(96%, 448px);
    aspect-ratio: 874 / 402;
    transform: translate(-50%, -50%);
    padding: 9px;
    border-radius: 34px;
    background: linear-gradient(135deg, #1f1f23 0%, #0b0c10 100%);
    box-shadow: 0 24px 50px rgba(18, 18, 24, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ai-page .iphone-landscape::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.ai-page .iphone-landscape__screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 26px;
    background: #e9edf2;
}

.ai-page .iphone-landscape__screen--black {
    background: #050608;
}

.ai-page .iphone-landscape__island {
    position: absolute;
    top: 50%;
    left: max(12px, 1.4%);
    z-index: 4;
    width: 4.25%;
    height: 31.35%;
    transform: translateY(-50%);
    border-radius: 999px;
    background: rgba(5, 6, 10, 0.96);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.ai-page .iphone-landscape__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.96) contrast(1.02);
}

.ai-page .iphone-landscape__image--contain {
    object-fit: contain;
    background: #050608;
}

.ai-page .iphone-landscape__screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 18, 28, 0.06) 0%, rgba(12, 18, 28, 0.22) 100%);
    pointer-events: none;
}

.ai-page .iphone-landscape__overlay {
    position: absolute;
    z-index: 3;
    display: grid;
    gap: 8px;
    min-width: 180px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.ai-page .iphone-landscape__overlay--top {
    top: 18px;
    left: 18px;
    max-width: 210px;
}

.ai-page .iphone-landscape__overlay--bottom {
    right: 18px;
    bottom: 18px;
    max-width: 214px;
}

.ai-page .iphone-landscape__pill {
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(237, 114, 3, 0.12);
    color: var(--primary-bg-orange);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-page .iphone-landscape__overlay strong,
.ai-page .iphone-landscape__metric strong,
.ai-page .iphone-landscape__action {
    color: #101828;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.ai-page .iphone-landscape__metric,
.ai-page .iphone-landscape__caption {
    display: grid;
    gap: 4px;
    color: rgba(16, 24, 40, 0.76);
    font-size: 12px;
    line-height: 1.45;
}

.ai-page .iphone-landscape__action {
    width: fit-content;
    margin-top: 4px;
    padding: 9px 12px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.08);
}

.ai-page .iphone-landscape--field-app {
    width: min(94%, 432px);
    padding: 10px 12px 10px 22px;
    border-radius: 30px;
    background: linear-gradient(180deg, #202124 0%, #0f1114 100%);
}

.ai-page .iphone-landscape--field-app::before {
    inset: 5px;
    border-radius: 26px;
    border-color: rgba(255, 255, 255, 0.1);
}

.ai-page .iphone-landscape--field-app .iphone-landscape__screen {
    border-radius: 18px;
}

.ai-page .iphone-landscape__sensor-band {
    position: absolute;
    top: 50%;
    left: 8px;
    z-index: 4;
    display: grid;
    justify-items: center;
    gap: 7px;
    transform: translateY(-50%);
}

.ai-page .iphone-landscape__sensor {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(22, 28, 37, 0.96);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.ai-page .iphone-landscape__sensor--lens {
    width: 9px;
    height: 9px;
}

.ai-page .iphone-landscape__sensor--small {
    width: 5px;
    height: 5px;
}

.ai-page .iphone-landscape__overlay--field {
    top: 12px;
    left: 16px;
    max-width: 180px;
    padding: 10px 12px;
}

.ai-page .iphone-landscape__lesson-panel {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    display: grid;
    gap: 10px;
    width: min(76%, 272px);
    padding: 12px 14px;
    border-radius: 16px;
    border: 2px solid #7be0d1;
    background: rgba(70, 206, 188, 0.9);
    box-shadow: 0 16px 28px rgba(17, 24, 39, 0.18);
}

.ai-page .iphone-landscape__lesson-header {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ai-page .iphone-landscape__lesson-chip,
.ai-page .iphone-landscape__lesson-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #27a79a;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.ai-page .iphone-landscape__lesson-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.ai-page .iphone-landscape__lesson-pill {
    min-width: 56px;
    border-radius: 10px;
}

.ai-page .iphone-landscape__lesson-pill--muted {
    background: rgba(255, 255, 255, 0.74);
}

.ai-page .iphone-landscape--warm .iphone-landscape__screen::after {
    background: linear-gradient(180deg, rgba(43, 22, 10, 0.04) 0%, rgba(43, 22, 10, 0.18) 100%);
}

.ai-page .ui-window {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(26, 26, 26, 0.12), 0 0 0 1px rgba(16, 16, 16, 0.05);
}

.ai-page .floating-element {
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.ai-page .wa-header {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 14px;
    background: #008069;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.ai-page .wa-avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    color: #008069;
    font-size: 10px;
    font-weight: 700;
}

.ai-page .wa-contact-meta {
    display: grid;
    line-height: 1.2;
}

.ai-page .wa-contact-meta div:last-child {
    opacity: 0.8;
    font-size: 9px;
    font-weight: 500;
}

.ai-page .wa-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: #e5ddd5;
    background-image: radial-gradient(#d4cdc5 8%, transparent 0);
    background-size: 12px 12px;
    font-size: 11px;
}

.ai-page .wa-date {
    align-self: center;
    padding: 2px 8px;
    border-radius: 6px;
    background: #e1f3fb;
    color: #4b5563;
    font-size: 9px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.ai-page .wa-msg {
    position: relative;
    max-width: 90%;
    padding: 7px 10px;
    border-radius: 10px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
    opacity: 0;
    animation: msg-pop 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.ai-page .wa-msg.user {
    align-self: flex-end;
    background: #dcf8c6;
    border-top-right-radius: 0;
    animation-delay: 0.15s;
}

.ai-page .wa-msg.agent {
    align-self: flex-start;
    background: #fff;
    border-top-left-radius: 0;
    animation-delay: 0.35s;
}

.ai-page .wa-rag-status {
    display: flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    color: #6b7280;
    font-size: 10px;
    opacity: 0;
    animation: fade-in 0.4s 0.25s forwards;
}

.ai-page .wa-rag-status svg {
    width: 12px;
    height: 12px;
    animation: ai-spin 1s linear infinite;
}

.ai-page .wa-citation {
    display: inline-block;
    margin-top: 5px;
    padding: 2px 4px;
    border: 1px solid #b2f5ea;
    border-radius: 4px;
    background: #e6fffa;
    color: #008069;
    font-size: 9px;
    font-weight: 600;
}

.ai-page .wa-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 12px;
    background: #f0f2f5;
}

.ai-page .wa-footer__plus {
    color: #9ca3af;
    font-size: 20px;
    line-height: 1;
}

.ai-page .wa-input {
    display: flex;
    align-items: center;
    flex: 1;
    height: 28px;
    padding: 0 10px;
    border-radius: 14px;
    background: #fff;
    color: #9ca3af;
    font-size: 11px;
}

.ai-page .slack-layout {
    display: flex;
    height: 100%;
}

.ai-page .slack-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 54px;
    padding: 14px 10px 10px;
    background: #3f0e40;
}

.ai-page .slack-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.22);
}

.ai-page .slack-icon--accent {
    margin-top: auto;
    background: #f96220;
}

.ai-page .slack-main {
    display: flex;
    flex: 1;
    flex-direction: column;
    background: #fff;
}

.ai-page .slack-header {
    display: flex;
    align-items: center;
    height: 42px;
    padding: 0 14px;
    border-bottom: 1px solid #e5e7eb;
    color: #1f2937;
    font-size: 11px;
    font-weight: 700;
}

.ai-page .slack-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    font-size: 11px;
}

.ai-page .slack-msg {
    display: flex;
    gap: 10px;
}

.ai-page .slack-pfp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}

.ai-page .slack-pfp--employee {
    background: #e5e7eb;
    color: #374151;
}

.ai-page .slack-pfp--agent {
    background: #ffedd5;
    color: #f97316;
}

.ai-page .slack-msg__body {
    color: #1f2937;
}

.ai-page .slack-msg__body p {
    margin: 0;
    color: #1f2937;
    font-size: 11px;
    line-height: 1.5;
}

.ai-page .slack-msg__name {
    display: block;
    margin-bottom: 4px;
    color: #111827;
    font-size: 11px;
    font-weight: 700;
}

.ai-page .slack-msg__name--agent {
    color: #f96220;
}

.ai-page .slack-msg__subtle {
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 10px;
}

.ai-page .slack-bubble-content {
    margin-top: 6px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    font-size: 10px;
}

.ai-page .slack-bubble-content__label {
    margin-bottom: 4px;
    color: #6b7280;
    font-size: 10px;
}

.ai-page .slack-bubble-content__question {
    margin-top: 8px;
    color: #1f2937;
    font-size: 10px;
    font-weight: 600;
}

.ai-page .slack-stat-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    border-bottom: 1px solid #eee;
    color: #111827;
    font-size: 10px;
    font-weight: 700;
}

.ai-page .slack-stat-row--accent {
    color: #f96220;
}

.ai-page .slack-stat-row--strong {
    font-weight: 800;
}

.ai-page .slack-action-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.ai-page .slack-action {
    padding: 4px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    color: #111827;
    font-size: 10px;
    font-weight: 600;
}

.ai-page .slack-action--confirm {
    border-color: #16a34a;
    background: #16a34a;
    color: #fff;
}

.ai-page .hub-layout {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

.ai-page .hub-nav {
    display: flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    background: #2e3f50;
}

.ai-page .hub-logo {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ff7a59;
}

.ai-page .hub-board {
    display: flex;
    flex: 1;
    gap: 8px;
    padding: 12px;
    background: #f5f8fa;
    filter: blur(1.4px);
    opacity: 0.6;
}

.ai-page .hub-col {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    border-radius: 6px;
    background: #eaf0f6;
}

.ai-page .hub-card-bg {
    height: 32px;
    border-radius: 2px;
    background: #fff;
}

.ai-page .hub-copilot-window {
    position: absolute;
    top: 12px;
    right: 12px;
    bottom: 12px;
    width: 210px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.ai-page .hub-copilot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    background: #ff7a59;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.ai-page .hub-copilot-header__dots {
    opacity: 0.8;
}

.ai-page .hub-copilot-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    overflow-y: auto;
    font-size: 10px;
}

.ai-page .copilot-msg {
    max-width: 100%;
    padding: 6px 8px;
    border-radius: 6px;
}

.ai-page .copilot-msg.user {
    align-self: flex-end;
    background: #f3f4f6;
    color: #374151;
}

.ai-page .copilot-msg.ai {
    color: #374151;
    background: #fff5f2;
    border-left: 2px solid #ff7a59;
}

.ai-page .copilot-msg--success {
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.ai-page .copilot-stat-box {
    margin-top: 4px;
    padding: 6px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f9fafb;
}

.ai-page .bar-chart-mini {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 22px;
}

.ai-page .bar-chart-mini .bar {
    width: 6px;
    border-radius: 2px;
    background: #ff7a59;
}

.ai-page .bar-chart-mini .bar--success {
    background: #22c55e;
}

.ai-page .copilot-stat-row {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    color: #6b7280;
    font-size: 9px;
}

.ai-page .copilot-stat-row__value {
    color: #16a34a;
    font-weight: 700;
}

.ai-page .web-frame {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

.ai-page .web-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    padding: 0 8px;
    border-bottom: 1px solid #e5e7eb;
    background: #f3f4f6;
}

.ai-page .web-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d1d5db;
}

.ai-page .web-url {
    flex: 1;
    height: 10px;
    margin-left: 8px;
    border-radius: 2px;
    background: #fff;
}

.ai-page .web-body {
    position: relative;
    flex: 1;
    background: #fff;
}

.ai-page .web-hero-bg {
    height: 110px;
    padding: 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
}

.ai-page .web-heading {
    width: 40%;
    height: 10px;
    margin-bottom: 8px;
    border-radius: 3px;
    background: #1e3a8a;
    opacity: 0.25;
}

.ai-page .web-sub {
    width: 30%;
    height: 8px;
    border-radius: 3px;
    background: #93c5fd;
    opacity: 0.35;
}

.ai-page .web-chat-expanded {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 220px;
    height: 260px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.ai-page .web-chat-header {
    display: flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    background: #2563eb;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.ai-page .web-chat-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: #f9fafb;
    font-size: 11px;
}

.ai-page .web-msg {
    max-width: 95%;
    padding: 6px 9px;
    border-radius: 7px;
}

.ai-page .web-msg.human {
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    background: #2563eb;
    color: #fff;
}

.ai-page .web-msg.bot {
    align-self: flex-start;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 2px;
    background: #fff;
    color: #111827;
}

.ai-page .web-typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
    font-size: 10px;
}

.ai-page .ai-support-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 16px;
}

.ai-page .ai-support-list,
.ai-page .ai-ops-stage {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(71, 0, 47, 0.05);
}

.ai-page .ai-support-panel {
    align-content: start;
}

.ai-page .ai-support-panel__footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 6px;
}

.ai-page .ai-knowledge-layout {
    display: grid;
    gap: 16px;
    align-content: start;
}

.ai-page .ai-ops-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 16px;
}

.ai-page .ai-ops-assistant {
    align-content: start;
}

.ai-page .ai-customer-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 16px;
}

.ai-page .ai-customer-shell {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(71, 0, 47, 0.05);
}

.ai-page .ai-customer-hero,
.ai-page .ai-customer-card {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(71, 0, 47, 0.06);
}

.ai-page .ai-customer-hero {
    min-height: 96px;
    background:
        radial-gradient(circle at 80% 10%, rgba(237, 114, 3, 0.18) 0%, rgba(237, 114, 3, 0) 28%),
        linear-gradient(180deg, rgba(255, 247, 239, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.ai-page .ai-customer-card {
    min-height: 74px;
}

.ai-page .ai-customer-card--small {
    min-height: 56px;
}

.ai-page .ai-customer-chat {
    display: grid;
    gap: 10px;
    align-content: start;
}

.ai-page .ai-hardening {
    background: linear-gradient(180deg, rgba(255, 248, 236, 0.72) 0%, rgba(255, 255, 255, 0) 100%);
}

.ai-page .ai-assessment-callout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 30px;
    padding: 32px;
    border: var(--ai-border);
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(237, 114, 3, 0.14) 0%, rgba(237, 114, 3, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(251, 248, 246, 0.96) 100%);
    box-shadow: var(--ai-shadow);
}

.ai-page .ai-assessment-callout__content {
    display: grid;
    gap: 10px;
}

.ai-page .ai-assessment-callout .button--primary {
    align-self: center;
    justify-self: end;
    white-space: nowrap;
}

.ai-page .ai-assessment-callout h3 {
    margin: 0;
    color: var(--bordeaux-bg);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.ai-page .ai-assessment-callout p,
.ai-page .ai-proof__credential {
    margin: 0;
    color: rgba(71, 0, 47, 0.88);
    font-family: "Metropolis Light", sans-serif;
    font-size: 17px;
    line-height: 1.62;
}

.ai-page .ai-proof {
    --ai-proof-reveal: 0;
}

.ai-page .ai-proof__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.82fr);
    gap: 56px;
    align-items: stretch;
}

.ai-page .ai-proof__content {
    display: grid;
    gap: 18px;
}

.ai-page .ai-proof__credential {
    color: rgba(71, 0, 47, 0.64);
    font-size: 14px;
    line-height: 1.6;
}

.ai-page .ai-proof__rail {
    display: grid;
    justify-items: stretch;
    align-self: stretch;
}

.ai-page .ai-proof__image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.ai-page .ai-proof__image {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: var(--ai-border);
    background: #f4eee7;
    height: 100%;
    min-height: 0;
    box-shadow: 0 18px 40px rgba(82, 35, 56, 0.12);
}

.ai-page .ai-proof__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-page .ai-proof__img--workshop {
    object-position: 24% center;
}

.ai-page .ai-proof__img--team2 {
    object-position: 82% center;
}

.ai-page .ai-proof__board {
    display: grid;
    gap: 22px;
    padding: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(237, 114, 3, 0.12) 0%, rgba(237, 114, 3, 0) 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(251, 248, 246, 0.96) 100%);
}

.ai-page .ai-proof__board-header {
    display: grid;
    gap: 14px;
}

.ai-page .ai-proof__location-row,
.ai-page .ai-proof__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai-page .ai-proof__list {
    display: grid;
    gap: 14px;
}

.ai-page .ai-proof__list li,
.ai-page .ai-final-cta__cues li {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(71, 0, 47, 0.9);
    font-family: "Metropolis Light", sans-serif;
    font-size: 17px;
    line-height: 1.55;
}

.ai-page .ai-testimonials .testimonials__title {
    margin-bottom: 0;
}

.ai-page .ai-faq__list {
    display: grid;
    gap: 12px;
    max-width: 980px;
}

.ai-page .ai-faq__item {
    padding: 0 20px;
}

.ai-page .ai-faq__item summary {
    position: relative;
    display: block;
    padding: 18px 42px 18px 0;
    color: var(--bordeaux-bg);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    list-style: none;
}

.ai-page .ai-faq__item summary::-webkit-details-marker {
    display: none;
}

.ai-page .ai-faq__item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    color: var(--primary-bg-orange);
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease;
}

.ai-page .ai-faq__item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.ai-page .ai-faq__content {
    padding: 0 0 18px;
}

.ai-page .ai-final-cta__panel {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: clamp(40px, 5vw, 58px);
    text-align: center;
    background:
        radial-gradient(circle at 16% 18%, rgba(237, 114, 3, 0.12) 0%, rgba(237, 114, 3, 0) 28%),
        radial-gradient(circle at 86% 82%, rgba(255, 231, 205, 0.44) 0%, rgba(255, 231, 205, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(251, 248, 246, 0.96) 100%);
}

.ai-page .ai-final-cta__panel .ai-section__intro {
    max-width: 46rem;
}

.ai-page .ai-final-cta__cues {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
    max-width: 58rem;
    margin-top: 4px;
}

.ai-page .ai-final-cta__cues li::before {
    content: none;
}

.ai-page .ai-final-cta__cues li {
    align-items: center;
    gap: 10px;
    color: rgba(71, 0, 47, 0.72);
    font-size: 15px;
    line-height: 1.5;
}

.ai-page .ai-final-cta__cues .material-symbols-outlined {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-bg-orange);
    font-size: 18px;
    flex-shrink: 0;
}

.ai-page #ai-bot-chat-window,
.ai-page #ai-bot-chat-bubble {
    right: 16px;
}

.ai-page .ia-bot-message-box {
    right: calc(100% + 14px);
    bottom: 4px;
    width: min(260px, calc(100vw - 108px));
}

.ai-page .ia-bot-message-box::after {
    top: 50%;
    right: -8px;
    border-right: 0;
    border-bottom: 0;
    border-left: 1px solid rgba(71, 0, 47, 0.08);
    border-top: 1px solid rgba(71, 0, 47, 0.08);
    transform: translateY(-50%) rotate(45deg);
}

.ai-page .ai-thesis-section .value-prop__diagram {
    --ai-thesis-line-x: 34px;
    width: min(100%, 38rem);
    min-height: 0;
    margin: clamp(10px, 1.5vw, 18px) 0 0 0;
    padding: 8px 0;
}

.ai-page .ai-thesis-section .value-prop__diagram::before {
    content: "";
    position: absolute;
    top: 34px;
    bottom: 34px;
    left: calc(var(--ai-thesis-line-x) - 1px);
    width: 1px;
    background: linear-gradient(180deg, rgba(237, 114, 3, 0.18) 0%, rgba(237, 114, 3, 0.38) 50%, rgba(237, 114, 3, 0.18) 100%);
    z-index: 0;
}

.ai-page .ai-thesis-section .ol-nodes__svg-lines {
    display: none;
}

.ai-page .ai-thesis-section .ol-nodes__item,
.ai-page .ai-thesis-section .ol-nodes__item--left,
.ai-page .ai-thesis-section .ol-nodes__item--right,
.ai-page .ai-thesis-section .ol-nodes__item--left:last-child {
    --node-shift: 0px;
    padding-left: 0;
}

.ai-page .ai-thesis-section .ol-nodes__item {
    align-items: start;
    transform-origin: var(--ai-thesis-line-x) center;
}

.ai-page .ai-thesis-section .ol-nodes__copy {
    width: min(100%, 24rem);
    padding-top: 6px;
}

.ai-page .ai-thesis-section .ol-nodes__item:hover,
.ai-page .ai-thesis-section .ol-nodes__item:focus-within,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="1"] .ol-nodes__item[data-node="1"],
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="2"] .ol-nodes__item[data-node="2"],
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="3"] .ol-nodes__item[data-node="3"],
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="4"] .ol-nodes__item[data-node="4"] {
    opacity: 1;
    filter: none;
    transform: scale(1.08);
}

.ai-page .ai-thesis-section .ol-nodes__item:hover .ol-nodes__node,
.ai-page .ai-thesis-section .ol-nodes__item:focus-within .ol-nodes__node,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="1"] .ol-nodes__item[data-node="1"] .ol-nodes__node,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="2"] .ol-nodes__item[data-node="2"] .ol-nodes__node,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="3"] .ol-nodes__item[data-node="3"] .ol-nodes__node,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="4"] .ol-nodes__item[data-node="4"] .ol-nodes__node {
    transform: scale(1.16);
    background: rgba(237, 114, 3, 0.08);
}

.ai-page .ai-thesis-section .ol-nodes__item:hover .ol-nodes__node::after,
.ai-page .ai-thesis-section .ol-nodes__item:focus-within .ol-nodes__node::after,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="1"] .ol-nodes__item[data-node="1"] .ol-nodes__node::after,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="2"] .ol-nodes__item[data-node="2"] .ol-nodes__node::after,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="3"] .ol-nodes__item[data-node="3"] .ol-nodes__node::after,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="4"] .ol-nodes__item[data-node="4"] .ol-nodes__node::after {
    opacity: 0.42;
    transform: scale(1.16);
    border-color: rgba(237, 114, 3, 0.22);
}

.ai-page .ai-thesis-section .ol-nodes__item:hover .ol-nodes__question,
.ai-page .ai-thesis-section .ol-nodes__item:focus-within .ol-nodes__question,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="1"] .ol-nodes__item[data-node="1"] .ol-nodes__question,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="2"] .ol-nodes__item[data-node="2"] .ol-nodes__question,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="3"] .ol-nodes__item[data-node="3"] .ol-nodes__question,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="4"] .ol-nodes__item[data-node="4"] .ol-nodes__question {
    color: #47002f;
}

.ai-page .ai-thesis-section .ol-nodes__item:hover .ol-nodes__description,
.ai-page .ai-thesis-section .ol-nodes__item:focus-within .ol-nodes__description,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="1"] .ol-nodes__item[data-node="1"] .ol-nodes__description,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="2"] .ol-nodes__item[data-node="2"] .ol-nodes__description,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="3"] .ol-nodes__item[data-node="3"] .ol-nodes__description,
.ai-page .ai-thesis-section .value-prop__diagram[data-active-node="4"] .ol-nodes__item[data-node="4"] .ol-nodes__description {
    color: rgba(71, 0, 47, 0.78);
}

@media screen and (max-width: 1180px) {
    .ai-page .header__hero-wrapper,
    .ai-page .ai-proof__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ai-page .header__hero-wrapper {
        gap: clamp(28px, 4vw, 42px);
        min-height: auto;
        align-items: start;
    }

    .ai-page .header__hero-content-container {
        max-width: min(100%, 42rem);
    }

    .ai-page .ai-hero-visual {
        min-height: 0;
    }

    .ai-page .device-scene {
        width: clamp(260px, 32vw, 292px);
        height: clamp(452px, 48vw, 500px);
    }

    .ai-page .ai-proof__rail {
        justify-items: center;
    }

    .ai-page .ai-proof__image-grid {
        height: auto;
        min-height: 0;
    }

    .ai-page .ai-proof__image {
        aspect-ratio: 1 / 1;
    }

    .ai-page .ai-capabilities__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "production production"
            "rag product"
            "conversational augmentation"
            "agentic agentic";
    }

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

    .ai-page .ai-workflows__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media screen and (max-width: 960px) {
    .ai-page .ai-hero-stack {
        min-height: auto;
    }

    .ai-page .ai-proof__image-grid {
        gap: 12px;
    }

    .ai-page .ai-support-layout,
    .ai-page .ai-ops-layout,
    .ai-page .ai-customer-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ai-page .hub-copilot-window,
    .ai-page .web-chat-expanded {
        width: 190px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1120px) {
    .ai-page .header__hero-wrapper {
        grid-template-columns: minmax(0, 0.98fr) minmax(260px, 0.82fr);
        gap: clamp(30px, 4vw, 48px);
        min-height: min(720px, calc(100svh - var(--home-nav-height) - 28px));
        align-items: center;
    }

    .ai-page .header__hero-content-container {
        align-content: center;
        max-width: min(100%, 34rem);
    }

    .ai-page .ai-hero-visual {
        align-self: center;
    }

    .ai-page .device-scene {
        width: 272px;
        height: 468px;
    }

    .ai-page .ia-bot-message-box {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .ai-page .header__hero-container {
        min-height: auto;
        padding-bottom: clamp(40px, 8vw, 64px);
    }

    .ai-page .header__hero-wrapper {
        gap: 24px;
        min-height: auto;
    }

    .ai-page .header__hero-content-container {
        gap: 16px;
    }

    .ai-page .device-scene {
        width: min(100%, 272px);
        height: 468px;
    }

    .ai-page .header__hero-actions > * {
        width: 100%;
    }

    .ai-page .header__hero-actions .ai-button-secondary,
    .ai-page .header__hero-actions .button--primary,
    .ai-page .ai-capabilities__cta .button--primary,
    .ai-page .ai-assessment-callout .button--primary,
    .ai-page .ai-final-cta__panel .button--primary {
        width: 100%;
    }

    .ai-page .ai-hero-stack,
    .ai-page .ai-use-cases__grid,
    .ai-page .ai-hardening__grid,
    .ai-page .testimonials__items-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .ai-page .ai-assessment-callout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ai-page .ai-hardening__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .ai-page .ai-capabilities__grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "production"
            "rag"
            "product"
            "conversational"
            "augmentation"
            "agentic";
        gap: 14px;
    }

    .ai-page .ai-feature-card,
    .ai-page .ai-feature-card--featured {
        padding: 18px;
        gap: 10px;
    }

    .ai-page .ai-feature-card__icon-wrap {
        width: 56px;
        height: 56px;
    }

    .ai-page .ai-feature-card__icon-wrap::before {
        top: 6px;
        left: 8px;
        width: 38px;
        height: 38px;
    }

    .ai-page .ai-feature-card__icon-wrap .ai-feature-card__icon {
        width: 48px;
        height: 48px;
        font-size: 30px;
    }

    .ai-page .ai-feature-card h3,
    .ai-page .ai-feature-card--featured h3 {
        font-size: 19px;
        line-height: 1.08;
    }

    .ai-page .ai-feature-card p,
    .ai-page .ai-feature-card--featured p {
        max-width: none;
        font-size: 15px;
        line-height: 1.54;
    }

    .ai-page .ai-hardening__item {
        padding: 18px;
        gap: 10px;
    }

    .ai-page .ai-hardening__item h3 {
        font-size: 19px;
        line-height: 1.12;
    }

    .ai-page .ai-hardening__item p {
        font-size: 15px;
        line-height: 1.54;
    }

    .ai-page .ai-hardening__item .material-symbols-outlined {
        font-size: 30px;
    }

    .ai-page .ai-board {
        grid-template-columns: minmax(0, 1fr);
    }

    .ai-page .ai-thesis-section .value-prop__diagram {
        width: 100%;
    }

    .ai-page .ai-thesis-section .ol-nodes__copy {
        width: 100%;
    }

    .ai-page .ai-faq__item summary {
        font-size: 17px;
    }

    .ai-page .ai-final-cta__cues {
        gap: 10px 14px;
    }

    .ai-page .ai-final-cta__cues li {
        font-size: 14px;
    }

    .ai-page .ia-bot-message-box {
        display: none;
    }
}

@media screen and (max-width: 575px) {
    .ai-page .header__hero-container {
        min-height: calc(100svh + 220px);
        padding-top: 12px;
        padding-bottom: 120px;
        overflow: hidden;
    }

    .ai-page .header__hero-wrapper {
        gap: 30px;
        padding-top: 118px;
    }

    .ai-page .header__hero-content-container {
        gap: 18px;
        padding-top: 38px;
    }

    .ai-page .header__hero-actions {
        margin-top: 10px;
    }

    .ai-page .ai-hero-visual {
        margin-top: 14px;
    }

    .ai-page .device-scene {
        width: min(calc(100vw - 48px), 282px);
        height: auto;
        aspect-ratio: 290 / 500;
        transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    }

    .ai-page .chat-layer {
        padding: 3.4rem 0.8rem 1rem;
    }

    .ai-page .screen-header {
        height: 56px;
        padding: 0 14px;
    }

    .ai-page .ai-device-avatar {
        width: 28px;
        height: 28px;
    }

    .ai-page .ai-device-header-title {
        font-size: 13px;
    }

    .ai-page .ai-device-header-status {
        font-size: 11px;
    }

    .ai-page .chat-bubble {
        margin-bottom: 0.9rem;
        font-size: 0.74rem;
    }

    .ai-page .mockup-surface {
        padding: 14px;
    }

    .ai-page .ui-scene {
        height: 290px;
    }

    .ai-page .iphone-landscape {
        width: min(98%, 384px);
        padding: 8px;
        border-radius: 28px;
    }

    .ai-page .iphone-landscape--field-app {
        width: min(94%, 350px);
        padding: 8px 9px 8px 16px;
        border-radius: 24px;
    }

    .ai-page .ipad-landscape {
        width: min(88%, 320px);
        padding: 10px;
        border-radius: 26px;
    }

    .ai-page .ipad-landscape::before {
        inset: 4px;
        border-radius: 22px;
    }

    .ai-page .ipad-landscape__screen {
        border-radius: 18px;
    }

    .ai-page .ipad-landscape__overlay {
        min-width: 0;
        padding: 10px 12px;
        border-radius: 14px;
    }

    .ai-page .ipad-landscape__overlay--top {
        top: 14px;
        left: 12px;
        max-width: 152px;
    }

    .ai-page .ipad-landscape__overlay--bottom {
        right: 12px;
        bottom: 12px;
        max-width: 164px;
    }

    .ai-page .ipad-landscape__overlay strong,
    .ai-page .ipad-landscape__metric strong {
        font-size: 12px;
    }

    .ai-page .ipad-landscape__metric {
        font-size: 10px;
    }

    .ai-page .iphone-landscape::before {
        inset: 3px;
        border-radius: 24px;
    }

    .ai-page .iphone-landscape__screen {
        border-radius: 22px;
    }

    .ai-page .iphone-landscape__island {
        left: max(10px, 1.4%);
        width: 4.25%;
        height: 31.35%;
    }

    .ai-page .iphone-landscape__overlay {
        min-width: 0;
        padding: 10px 12px;
        border-radius: 14px;
    }

    .ai-page .iphone-landscape__sensor-band {
        left: 6px;
        gap: 5px;
    }

    .ai-page .iphone-landscape__sensor {
        width: 6px;
        height: 6px;
    }

    .ai-page .iphone-landscape__sensor--lens {
        width: 8px;
        height: 8px;
    }

    .ai-page .iphone-landscape__sensor--small {
        width: 4px;
        height: 4px;
    }

    .ai-page .iphone-landscape__overlay--field {
        top: 10px;
        left: 10px;
        max-width: 132px;
        padding: 8px 10px;
    }

    .ai-page .iphone-landscape__overlay--top {
        top: 14px;
        left: 12px;
        max-width: 152px;
    }

    .ai-page .iphone-landscape__overlay--bottom {
        right: 12px;
        bottom: 12px;
        max-width: 164px;
    }

    .ai-page .iphone-landscape__overlay strong,
    .ai-page .iphone-landscape__metric strong,
    .ai-page .iphone-landscape__action {
        font-size: 12px;
    }

    .ai-page .iphone-landscape__metric,
    .ai-page .iphone-landscape__caption {
        font-size: 10px;
    }

    .ai-page .iphone-landscape__lesson-panel {
        right: 10px;
        bottom: 10px;
        width: min(76%, 208px);
        padding: 9px 10px;
        border-radius: 14px;
        gap: 8px;
    }

    .ai-page .iphone-landscape__lesson-chip,
    .ai-page .iphone-landscape__lesson-pill {
        min-width: 20px;
        padding: 4px 6px;
        font-size: 8px;
    }

    .ai-page .iphone-landscape__lesson-pill {
        min-width: 44px;
    }

    .ai-page .ai-proof__image-grid {
        gap: 10px;
        aspect-ratio: auto;
    }

    .ai-page .ai-hardening__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ai-page .testimonials__carousel-viewport,
    .ai-page .testimonials__item,
    .ai-page .testimonials__item_link,
    .ai-page .ai-showcase-card,
    .ai-page .ai-showcase-card__mockup,
    .ai-page .mockup-surface,
    .ai-page .ui-scene,
    .ai-page .ui-window {
        overflow: hidden;
        isolation: isolate;
    }

    .ai-page .testimonials__item,
    .ai-page .testimonials__item_link,
    .ai-page .ai-showcase-card,
    .ai-page .ai-showcase-card__mockup {
        border-radius: 24px;
        background-clip: padding-box;
    }

    .ai-page .ai-thesis-section .value-prop__diagram {
        --ai-thesis-line-x: 30px;
    }

    .ai-page .ai-thesis-section .value-prop__diagram::before {
        top: 30px;
        bottom: 30px;
    }

    .ai-page .ai-thesis-section .ol-nodes__item {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 16px;
    }

    .ai-page .ai-thesis-section .ol-nodes__svg-lines {
        display: none;
    }

    .ai-page .web-chat-expanded,
    .ai-page .hub-copilot-window {
        width: 178px;
    }

    .ai-page .ai-mockup,
    .ai-page .ai-showcase-card__mockup,
    .ai-page .ai-feature-card,
    .ai-page .ai-use-case,
    .ai-page .ai-hardening__item,
    .ai-page .ai-proof__board,
    .ai-page .ai-final-cta__panel,
    .ai-page .ai-faq__item {
        border-radius: 24px;
    }

    .ai-page .ai-mockup__header h2,
    .ai-page .ai-showcase-card__content h3,
    .ai-page .ai-use-case h3,
    .ai-page .ai-hardening__item h3 {
        font-size: 20px;
    }

    .ai-page .ai-feature-card h3,
    .ai-page .ai-feature-card--featured h3 {
        font-size: 18px;
        line-height: 1.12;
    }

    .ai-page .ai-feature-card p,
    .ai-page .ai-feature-card--featured p {
        font-size: 14px;
        line-height: 1.5;
    }

    .ai-page .ai-feature-card,
    .ai-page .ai-feature-card--featured {
        padding: 16px;
        gap: 9px;
    }

    .ai-page .ai-hardening__item {
        padding: 16px;
        gap: 9px;
    }

    .ai-page .ai-feature-card__icon-wrap {
        width: 48px;
        height: 48px;
    }

    .ai-page .ai-feature-card__icon-wrap::before {
        top: 5px;
        left: 6px;
        width: 32px;
        height: 32px;
    }

    .ai-page .ai-feature-card__icon-wrap .ai-feature-card__icon {
        width: 42px;
        height: 42px;
        font-size: 24px;
    }

    .ai-page .ai-hardening__item h3 {
        font-size: 18px;
        line-height: 1.12;
    }

    .ai-page .ai-hardening__item p {
        font-size: 14px;
        line-height: 1.5;
    }

    .ai-page .ai-hardening__item .material-symbols-outlined {
        font-size: 24px;
    }

.ai-page .ai-section__title,
.ai-page .clients__title,
.ai-page .ai-testimonials .testimonials__title {
        font-size: clamp(30px, 9vw, 38px);
    }

    .ai-page .ai-section__intro,
    .ai-page .ai-chat-row p,
    .ai-page .ai-use-case p,
    .ai-page .ai-showcase-card__content p,
    .ai-page .ai-proof__body,
    .ai-page .ai-faq__content p {
        font-size: 15px;
    }
}

@media (min-width: 400px) {
    .ai-page .device-scene {
        width: 330px;
        height: 560px;
    }

    .ai-page .chat-layer {
        padding: 4.5rem 1.5rem 2rem;
    }

    .ai-page .screen-header {
        height: 80px;
        padding: 0 24px;
    }

    .ai-page .ai-device-avatar {
        width: 40px;
        height: 40px;
        margin-right: 14px;
    }

    .ai-page .ai-device-header-title {
        font-size: 16px;
    }

    .ai-page .ai-device-header-status {
        font-size: 13px;
    }

    .ai-page .chat-bubble {
        margin-bottom: 1.5rem;
        padding: 14px 18px;
        font-size: 0.9rem;
    }

    .ai-page .bubble-thinking {
        padding: 12px 16px;
    }
}

@media (min-width: 1024px) {
    .ai-page .device-scene {
        width: 300px;
        height: 520px;
    }
}

@keyframes msg-pop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}

@keyframes typing {
    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

@keyframes ai-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
