/**
 * SolidMeta marketing — spacing, rhythm, and visual calm
 */

:root {
    --section-y: clamp(5rem, 11vh, 8.5rem);
    --section-y-lg: clamp(6rem, 14vh, 10rem);
    --content-max: 72rem;
    --copy-max: 38rem;
    --text-muted: rgba(156, 163, 175, 0.88);
    --border-subtle: rgba(255, 255, 255, 0.06);
}

/* Calmer atmosphere */
.global-noise {
    opacity: 0.12 !important;
}

.ambient-blob {
    opacity: 0.18 !important;
}

/* Layout primitives */
.site-container {
    width: 100%;
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.25rem, 4vw, 2rem);
    padding-right: clamp(1.25rem, 4vw, 2rem);
}

.site-section {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}

.site-section--lg {
    padding-top: var(--section-y-lg);
    padding-bottom: var(--section-y-lg);
}

/* First-visit collapse — keep DOM/IDs, hide from the page path */
.is-collapsed-section {
    display: none !important;
}

.section-head {
    max-width: var(--copy-max);
    margin-bottom: clamp(2.75rem, 6vw, 4.5rem);
}

.section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin-bottom: 1rem;
}

.section-head p,
.section-lead {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.section-eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #05c7bb;
    margin-bottom: 1rem;
}

/* Hero */
/* Hero — full viewport like original landing page */
#hero {
    min-height: 100vh;
    min-height: 100dvh;
}

.hero-inner {
    width: 100%;
    padding-top: 5rem;
    padding-bottom: clamp(3rem, 8vh, 5rem);
}

.hero-bg-video {
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-bg-video.hero-video-active {
    opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-video {
        opacity: 0.5;
        transition: none;
    }
}

.hero-glass {
    background: rgba(11, 29, 40, 0.46);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.25),
        0 24px 64px -16px rgba(0, 0, 0, 0.55),
        0 0 64px -20px rgba(5, 199, 187, 0.12);
}

.hero-glass-card {
    width: 100%;
    max-width: 44rem;
    padding: 2rem 2rem 1rem;
}

@media (min-width: 768px) {
    .hero-glass-card {
        padding: 3.5rem 3rem 1.5rem;
    }
}

.hero-glass-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-glass-footer.hero-supported {
    margin-top: 1.25rem;
}

@media (min-width: 768px) {
    .hero-glass-footer.hero-supported {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1.25rem;
    }
}

.hero-pros {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    color: rgba(156, 163, 175, 0.92);
    cursor: pointer;
    text-align: center;
    max-width: 18rem;
}

@media (min-width: 768px) {
    .hero-pros {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        text-align: left;
    }
}

.hero-pros:hover,
.hero-pros:focus-visible {
    color: rgba(255, 255, 255, 0.92);
}

.hero-pros:focus-visible {
    outline: 1px solid rgba(5, 199, 187, 0.55);
    outline-offset: 4px;
    border-radius: 2px;
}

.hero-supported-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .hero-supported-meta {
        flex-direction: row;
        gap: 1rem;
    }
}

.hero-supported {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .hero-supported {
        flex-direction: row;
        gap: 1rem;
    }
}

.hero-supported-label {
    font-size: 10px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(156, 163, 175, 0.85);
}

.hero-supported-badges {
    opacity: 0.88;
    transition: opacity 0.25s ease;
}

.hero-supported-badges:hover {
    opacity: 1;
}

.hero-supported-badges img {
    height: 3.5rem;
    width: auto;
}

@media (min-width: 768px) {
    .hero-supported-badges img {
        height: 4.25rem;
    }
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #05c7bb;
}

.hero-inner h1 {
    font-size: clamp(2rem, 4.4vw, 3.75rem);
    font-weight: 800;
    line-height: 1.06;
    max-width: 18ch;
    text-wrap: balance;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #e5e7eb, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}

.hero-inner .hero-subtitle {
    max-width: 38rem;
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.hero-inner .hero-commercial {
    max-width: 34rem;
    margin: 0 auto 2.5rem;
    font-size: clamp(1rem, 1.7vw, 1.125rem);
    line-height: 1.55;
    font-weight: 500;
    color: #fff;
}

.hero-actions {
    gap: 1rem;
    margin-bottom: 0;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

.hero-cta-icon--down {
    color: #00C0B4;
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.hero-cta--ghost:hover .hero-cta-icon--down {
    transform: translateY(3px);
}

.hero-cta-icon--key {
    font-size: 0.875rem;
    opacity: 0.95;
}

.hero-cta-icon--lg {
    font-size: 1.125rem;
}

.hero-compliance {
    display: inline-block;
    margin-top: 1.25rem;
    margin-bottom: 0;
    padding: 0.625rem 1.25rem;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.5;
    color: rgba(209, 213, 219, 0.95);
    background: rgba(5, 199, 187, 0.07);
    border: 1px solid rgba(5, 199, 187, 0.22);
    border-radius: 0.75rem;
    box-shadow: 0 0 24px -8px rgba(5, 199, 187, 0.15);
}

/* IDE showcase */
.ide-showcase .section-head {
    max-width: 42rem;
}

#ide-showcase .ide-showcase-wide {
    width: min(calc(100% - 2.5rem), 84rem, max(60rem, calc((100vh - 13rem) * 1.6)));
    margin: 0 auto;
}

#ide-showcase .ide-showcase-stage {
    position: relative;
    width: 100%;
}

#ide-showcase .ide-showcase-frame {
    border-radius: 16px;
    cursor: pointer;
}

#ide-showcase .ide-showcase-frame:focus-visible {
    outline: 2px solid rgba(5, 199, 187, 0.75);
    outline-offset: 4px;
}

#ide-showcase .product-showcase-chrome {
    position: relative;
}

#ide-showcase .ide-click-hint {
    position: absolute;
    right: 14px;
    top: 50%;
    z-index: 2;
    max-width: 11rem;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-align: right;
    color: rgba(156, 163, 175, 0.95);
    background: none;
    border: 0;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

#ide-showcase .ide-click-hint.is-visible {
    opacity: 1;
    visibility: visible;
}

#ide-showcase .ide-showcase-arrow {
    appearance: none;
    flex: none;
    gap: 0.4rem;
    min-width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(13, 17, 23, 0.72);
    color: #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

#ide-showcase .ide-showcase-arrow:hover:not(:disabled) {
    color: #05c7bb;
    border-color: rgba(5, 199, 187, 0.45);
}

#ide-showcase .ide-showcase-arrow:disabled {
    opacity: 0.28;
    cursor: default;
}

#ide-showcase .ide-showcase-arrow--hint:not(:disabled) {
    color: #05c7bb;
    border-color: rgba(5, 199, 187, 0.55);
    animation: ide-arrow-hint 1.4s ease-in-out infinite;
}

@keyframes ide-arrow-hint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

#ide-showcase .ide-showcase-arrow--next:not(:disabled) {
    padding: 0 0.85rem 0 1.1rem;
}

#ide-showcase .ide-showcase-arrow--next:disabled .ide-chapter-nav-label {
    display: none;
}

#ide-showcase .ide-showcase-chapters {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0 0 1rem;
}

#ide-showcase .ide-showcase-chapter {
    appearance: none;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    min-width: 0;
    padding: 0.85rem 0.25rem 0.35rem;
    text-align: left;
    background: none;
    border: 0;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: border-color 0.25s ease;
}

#ide-showcase .ide-step-num {
    padding-top: 0.2rem;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: #6b7280;
}

#ide-showcase .ide-step-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

#ide-showcase .ide-step-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#ide-showcase .ide-step-verb {
    font-size: 0.8125rem;
    color: #6b7280;
}

#ide-showcase .ide-showcase-chapter:hover .ide-step-label {
    color: #e5e7eb;
}

#ide-showcase .ide-showcase-chapter:focus-visible {
    outline: 2px solid rgba(5, 199, 187, 0.6);
    outline-offset: 2px;
}

#ide-showcase .ide-showcase-chapter.is-done {
    border-top-color: rgba(5, 199, 187, 0.35);
}

#ide-showcase .ide-showcase-chapter.is-done .ide-step-num {
    color: rgba(5, 199, 187, 0.7);
}

#ide-showcase .ide-showcase-chapter.is-active {
    border-top-color: #05c7bb;
}

#ide-showcase .ide-showcase-chapter.is-active .ide-step-num {
    color: #05c7bb;
}

#ide-showcase .ide-showcase-chapter.is-active .ide-step-label {
    color: #fff;
}

#ide-showcase .ide-showcase-chapter.is-active .ide-step-verb {
    color: #9ca3af;
}

#ide-showcase .ide-showcase-track {
    display: flex;
    height: 100%;
    width: 500%;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

#ide-showcase[data-ide-chapter="loom"] .ide-showcase-track {
    transform: translateX(0);
}

#ide-showcase[data-ide-chapter="storyboard"] .ide-showcase-track {
    transform: translateX(-20%);
}

#ide-showcase[data-ide-chapter="stage"] .ide-showcase-track {
    transform: translateX(-40%);
}

#ide-showcase[data-ide-chapter="canvas"] .ide-showcase-track {
    transform: translateX(-60%);
}

#ide-showcase[data-ide-chapter="datahub"] .ide-showcase-track {
    transform: translateX(-80%);
}

#ide-showcase .ide-showcase-panel {
    flex: 0 0 20%;
    width: 20%;
    min-width: 0;
    max-width: 20%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    #ide-showcase .ide-showcase-track {
        transition: none;
    }

    #ide-showcase .ide-showcase-arrow--hint:not(:disabled) {
        animation: none;
    }
}

#ide-showcase[data-ide-chapter="loom"] .ide-showcase-hotspots,
#ide-showcase[data-ide-chapter="storyboard"] .ide-showcase-hotspots,
#ide-showcase[data-ide-chapter="stage"] .ide-showcase-hotspots,
#ide-showcase[data-ide-chapter="datahub"] .ide-showcase-hotspots {
    display: none;
}

#ide-showcase .ide-product-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 32px 100px -24px rgba(0, 0, 0, 0.85),
        0 0 80px -16px rgba(5, 199, 187, 0.28);
}

#ide-showcase .ide-showcase-media {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0d1117;
    position: relative;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas {
    font-size: 11px;
    padding: 0;
    gap: 0;
    box-sizing: border-box;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-loom,
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub {
    height: 100%;
    max-height: 100%;
    position: relative;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-storyboard .sm-main--datahub {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 5px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-sidebar--product,
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-sidebar--product {
    width: 40px;
    height: calc(100% - 28px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-self: stretch;
    min-height: 0;
    padding: 6px 0 6px 6px;
    box-sizing: border-box;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-sidebar--product .sm-nav-item,
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-sidebar--product .sm-nav-item {
    width: 100%;
    height: 20px;
    min-height: 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    font-size: 0;
    border-radius: 5px;
    border: 1px solid transparent;
    box-sizing: border-box;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-sidebar--product .sm-nav-item i,
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-sidebar--product .sm-nav-item i {
    font-size: 9px;
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-sidebar--product .sm-nav-item span:not(.sm-ico),
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-sidebar--product .sm-nav-item span:not(.sm-ico) {
    display: none;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub [data-dh-step] {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-1 [data-dh-step="1"],
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-2 [data-dh-step="1"],
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-3 [data-dh-step="1"],
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-4 [data-dh-step="1"],
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-5 [data-dh-step="1"],
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-2 [data-dh-step="2"],
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-3 [data-dh-step="2"],
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-4 [data-dh-step="2"],
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-5 [data-dh-step="2"],
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-3 [data-dh-step="3"],
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-4 [data-dh-step="3"],
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-5 [data-dh-step="3"],
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-4 [data-dh-step="4"],
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-5 [data-dh-step="4"],
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-5 [data-dh-step="5"],
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-complete [data-dh-step] {
    opacity: 1;
    visibility: visible;
    transform: none;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-4 .sm-dh-file[data-dh-step="4"]:nth-child(3) { transition-delay: 0.05s; }
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-4 .sm-dh-file[data-dh-step="4"]:nth-child(4) { transition-delay: 0.1s; }
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-4 .sm-dh-file[data-dh-step="4"]:nth-child(5) { transition-delay: 0.16s; }
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-4 .sm-dh-file[data-dh-step="4"]:nth-child(6) { transition-delay: 0.22s; }
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-4 .sm-dh-file[data-dh-step="4"]:nth-child(7) { transition-delay: 0.28s; }
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.dh-flow-phase-4 .sm-dh-file[data-dh-step="4"]:nth-child(8) { transition-delay: 0.34s; }

@media (prefers-reduced-motion: reduce) {
    :is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub [data-dh-step] {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-main--datahub {
    flex: 1;
    min-height: 0;
    height: calc(100% - 28px);
    gap: 6px;
    padding: 6px 8px 8px 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-toolbar-row--projects {
    flex-wrap: wrap;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-tab {
    font-size: 9px;
    padding: 3px 7px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-tab-divider {
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 2px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-search-field,
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-file-meta,
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-back,
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-project-chip,
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-browser-crumb,
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-selection-copy span,
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-selection-action {
    font-size: 8px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-project-title,
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-selection-copy strong {
    font-size: 11px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-project-head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-project-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-project-meta {
    margin: 0;
    font-size: 8px;
    color: #74919c;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-back {
    color: #74919c;
    white-space: nowrap;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-project-title {
    margin: 0;
    font-weight: 700;
    color: #d5e2ea;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-project-chip {
    margin-left: auto;
    color: #05c7bb;
    border: 1px solid rgba(5, 199, 187, 0.28);
    border-radius: 999px;
    padding: 1px 7px;
    font-size: 8px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-toolbar-row--tabs {
    flex-wrap: nowrap;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-workspace {
    flex: 1;
    min-height: 0;
    min-width: 0;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(160px, 22vw, 205px);
    grid-template-rows: minmax(0, 1fr);
    gap: 6px;
    overflow: hidden;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-browser {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-detail {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    z-index: 6;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px 8px 10px;
    overflow: hidden;
    border: 1px solid var(--sm-border);
    border-radius: 6px;
    background: rgba(13, 17, 23, 0.85);
    box-shadow: none;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub.is-detail-open .sm-dh-detail {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-file--press {
    transform: scale(0.93);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-file--clicking::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 8px;
    box-shadow: 0 0 0 1.5px #05c7bb, 0 0 12px rgba(5, 199, 187, 0.45);
    pointer-events: none;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-detail-head {
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--sm-border);
    padding-bottom: 4px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-detail-title {
    flex: 1;
    min-width: 0;
    font-size: 8.5px;
    font-weight: 700;
    color: #d5e2ea;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-detail-close {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #74919c;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-detail-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--sm-border);
    padding-bottom: 3px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-detail-tab {
    font-size: 7px;
    color: var(--sm-muted);
    padding-bottom: 2px;
    border-bottom: 1.5px solid transparent;
    cursor: pointer;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-detail-tab.is-active {
    color: #05c7bb;
    border-bottom-color: #05c7bb;
    font-weight: 600;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-detail-preview {
    border-radius: 5px;
    overflow: hidden;
    background: #12181c;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-detail-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-detail-rows {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 6px;
    border-radius: 4px;
    border: 1px solid var(--sm-border);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    font-size: 6.5px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-detail-row span {
    color: #74919c;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-detail-row strong {
    color: #d5e2ea;
    font-weight: 600;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-browser-crumb {
    color: #9ba5b0;
    font-size: 8px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-file-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    align-content: start;
    overflow: auto;
    min-height: 0;
    flex: 1;
    padding: 2px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-file {
    appearance: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 4px 2px 5px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    min-width: 0;
    transition: transform 0.16s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-file:hover {
    background: rgba(255, 255, 255, 0.04);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-file--active {
    background: rgba(5, 199, 187, 0.12);
    border-color: rgba(5, 199, 187, 0.45);
    box-shadow: 0 0 10px rgba(5, 199, 187, 0.15);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-file-thumb {
    width: 100%;
    max-width: 90px;
    height: 48px;
    border-radius: 5px;
    overflow: hidden;
    background: #12181c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-file-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-file-thumb--folder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 199, 187, 0.08);
    color: #05c7bb;
    font-size: 18px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-file-name,
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-file-meta {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-file-name {
    font-size: 7.5px;
    font-weight: 600;
    color: #d5e2ea;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-dh-file-meta {
    color: #74919c;
    font-size: 6.5px;
}

/* Hero + project rail — collapsed solid-ui sidebar (icon only) */
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-sidebar--product,
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--ide-datahub .sm-sidebar--product {
    width: 40px;
    height: calc(100% - 28px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-self: stretch;
    min-height: 0;
    padding: 6px 0 6px 6px;
    box-sizing: border-box;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-sidebar--product .sm-sidebar-card {
    background: var(--sm-glass);
    border: 1px solid var(--sm-border);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-sidebar-card--nav {
    flex: 1;
    min-height: 0;
    padding: 3px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    overflow: hidden;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-sidebar-card--foot {
    flex-shrink: 0;
    padding: 3px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-sidebar--product .sm-nav-item {
    width: 100%;
    height: 20px;
    min-height: 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border-radius: 5px;
    border: 1px solid transparent;
    box-sizing: border-box;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-sidebar--product .sm-nav-item i {
    font-size: 9px;
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-sidebar--product .sm-nav-item span:not(.sm-ico) {
    display: none;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-sidebar--product .sm-nav-item.active {
    background: linear-gradient(90deg, rgba(23, 29, 33, 0.2) 0%, rgba(0, 192, 180, 0.2) 100%);
    border-color: rgba(5, 196, 184, 0.3);
    color: var(--sm-teal);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-main {
    flex: 1;
    min-width: 0;
    min-height: 0;
    height: calc(100% - 28px);
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
    box-sizing: border-box;
    padding: 6px 6px 6px 0;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-breadcrumb {
    height: 20px;
    padding: 0 8px;
    font-size: 8px;
    flex-shrink: 0;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-board-toolbar {
    font-size: 8px;
    padding: 3px 6px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-canvas-area--hero {
    position: relative;
    overflow: hidden;
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
    min-width: 0;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-canvas-hero-wires {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: visible;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-hero-wire {
    fill: none;
    vector-effect: non-scaling-stroke;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-hero-wire--glow {
    stroke: rgba(80, 173, 87, 0.22);
    stroke-width: 3.5;
    stroke-linecap: round;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-hero-wire--main {
    stroke: rgba(80, 173, 87, 0.72);
    stroke-width: 1.1;
    stroke-linecap: round;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-hero-wire--pulse {
    stroke: url(#heroWirePulse);
    stroke-width: 0.85;
    stroke-linecap: round;
    stroke-dasharray: 3 5;
    opacity: 0.85;
    animation: ide-hero-wire-pulse 2.4s linear infinite;
}

@keyframes ide-hero-wire-pulse {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -18; }
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-hero-wire-dot {
    fill: rgba(80, 173, 87, 0.9);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-workspace {
    grid-template-columns: minmax(0, 1fr) clamp(160px, 22vw, 205px);
    grid-template-rows: auto 1fr;
    gap: 6px;
    min-width: 0;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-board-toolbar {
    grid-column: 1 / span 2;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-canvas-hero-input {
    position: absolute;
    left: 4%;
    top: 48%;
    transform: translateY(-50%);
    z-index: 3;
    width: 23%;
    min-width: 100px;
    max-width: 175px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(37, 99, 235, 0.4);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-canvas-hero-input img {
    display: block;
    width: 100%;
    height: auto;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-canvas-hero-preview {
    position: absolute;
    left: 64%;
    top: 48%;
    transform: translateY(-50%);
    z-index: 3;
    width: 24%;
    min-width: 110px;
    max-width: 195px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-canvas-hero-preview img {
    display: block;
    width: 100%;
    height: auto;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-node--hero-edit {
    position: absolute;
    left: 36%;
    top: 48%;
    transform: translateY(-50%);
    width: 18%;
    min-width: 130px;
    max-width: 185px;
    z-index: 4;
    border-radius: 6px;
    background: rgba(13, 17, 23, 0.9);
    border: 1px solid rgba(80, 173, 87, 0.45);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 14px rgba(80, 173, 87, 0.15);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-node--hero-edit .sm-node-head {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 6px;
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #86efac;
    background: rgba(80, 173, 87, 0.15);
    border-bottom: 1px solid rgba(80, 173, 87, 0.3);
    border-radius: 5px 5px 0 0;
    position: relative;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-node-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: rgba(80, 173, 87, 0.3);
    color: #4ade80;
    font-size: 7px;
    flex-shrink: 0;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-node-status-dot {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-node-body--prompt {
    padding: 5px 6px 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-node-prompt {
    margin: 0;
    font-size: 7.5px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.85);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-node-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-node-model-tag--green {
    background: rgba(80, 173, 87, 0.18);
    color: #8fd894;
    border: 1px solid rgba(80, 173, 87, 0.35);
    border-radius: 3px;
    padding: 1px 3px;
    font-size: 6px;
    font-weight: 500;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-node-soma-badge {
    font-size: 5.5px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-node-port {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 14px;
    border-radius: 2px;
    background: #50ad57;
    box-shadow: 0 0 8px rgba(80, 173, 87, 0.7);
    z-index: 5;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-node-port--in {
    left: -2.5px;
    border-radius: 2px 0 0 2px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-node-port--out {
    right: -2.5px;
    border-radius: 0 2px 2px 0;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-inspector {
    grid-column: 2;
    grid-row: 2;
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    margin: 0;
    z-index: 1;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(13, 17, 23, 0.85);
    border: 1px solid var(--sm-border);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-inspector-head {
    padding: 5px 6px;
    font-size: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid var(--sm-border);
    background: rgba(255, 255, 255, 0.02);
    flex-shrink: 0;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-inspector-head .sm-node-badge {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    flex-shrink: 0;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-inspector-tabs {
    padding: 2px 5px 0;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
    display: flex;
    border-bottom: 1px solid var(--sm-border);
    flex-shrink: 0;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-inspector-tab {
    font-size: 6px;
    padding: 2px 4px;
    white-space: nowrap;
    color: var(--sm-muted);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-inspector-tab.active {
    color: #50ad57;
    border-bottom: 1.5px solid #50ad57;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-inspector-body {
    flex: 1;
    padding: 5px 6px;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-field-label {
    font-size: 5.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-model-picker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    padding: 2px 4px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--sm-border);
    font-size: 6.5px;
    color: var(--sm-text);
    white-space: nowrap;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-node-status-dot--inline {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 2px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-model-tag {
    font-size: 5px;
    padding: 1px 3px;
    border-radius: 2px;
    font-weight: 600;
    line-height: 1;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-desc-section {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-desc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-desc-label {
    font-size: 5.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-desc-enhance {
    font-size: 5px;
    padding: 1px 3px;
    border-radius: 2px;
    border: 1px solid rgba(80, 173, 87, 0.35);
    color: #7dd683;
    background: rgba(80, 173, 87, 0.1);
    white-space: nowrap;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-prompt-box {
    font-size: 6.5px;
    line-height: 1.35;
    padding: 3px 4px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--sm-border);
    color: rgba(255, 255, 255, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 20px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-seg-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-seg {
    font-size: 5px;
    padding: 1px 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-seg.iso {
    background: rgba(52, 211, 153, 0.15);
    color: #6ee7b7;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-seg.light {
    background: rgba(251, 191, 36, 0.12);
    color: #fcd34d;
    border-color: rgba(251, 191, 36, 0.25);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-image-slot {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px;
    border-radius: 3px;
    border: 1px solid rgba(80, 173, 87, 0.35);
    background: rgba(80, 173, 87, 0.08);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-image-slot img {
    width: 20px;
    height: 20px;
    border-radius: 2px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-image-slot-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-image-slot-status {
    color: #50ad57;
    font-weight: 600;
    font-size: 5px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-image-slot-name {
    color: rgba(255, 255, 255, 0.7);
    font-size: 5.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-ratio-row {
    display: flex;
    align-items: center;
    gap: 2px;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-ratio-chip {
    font-size: 5px;
    padding: 1px 3px;
    border-radius: 2px;
    border: 1px solid var(--sm-border);
    color: var(--sm-muted);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-ratio-chip.active {
    border-color: rgba(80, 173, 87, 0.45);
    color: #7dd683;
    background: rgba(80, 173, 87, 0.12);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-ratio-res {
    margin-left: auto;
    font-size: 5px;
    color: var(--sm-muted);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-inspector-foot {
    flex: 0 0 auto;
    margin-top: auto;
    padding: 4px 6px;
    gap: 3px;
    min-width: 0;
    display: flex;
    border-top: 1px solid var(--sm-border);
    background: rgba(0, 0, 0, 0.25);
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-btn-primary--green {
    background: #50ad57;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-btn-primary,
:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-btn-secondary {
    font-size: 6.5px;
    height: 18px;
    min-width: 0;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

:is(#ide-showcase .ide-showcase-mock, .sm-real-ui) .sm-app-shell--hero-canvas .sm-btn-secondary {
    padding: 0 4px;
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 6px;
}

/* IDE showcase — the mock is laid out at a fixed design width and scaled to fit (initIdeMockScale) */
#ide-showcase .ide-showcase-mock .sm-app-shell {
    transform: scale(var(--ide-mock-scale, 1));
    transform-origin: top left;
    width: calc(100% / var(--ide-mock-scale, 1));
    height: calc(100% / var(--ide-mock-scale, 1));
}

/* IDE hero canvas — sequential storytelling phases */
#ide-showcase .sm-canvas-area--hero .sm-canvas-hero-input,
#ide-showcase .sm-canvas-area--hero .sm-node--hero-edit,
#ide-showcase .sm-canvas-area--hero .sm-canvas-hero-preview {
    opacity: 0;
    visibility: hidden;
}

#ide-showcase .sm-canvas-area--hero .sm-canvas-hero-wires {
    visibility: hidden;
    pointer-events: none;
}

#ide-showcase .sm-canvas-area--hero .sm-node--hero-edit,
#ide-showcase .sm-canvas-area--hero .sm-canvas-hero-preview {
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#ide-showcase .sm-canvas-area--hero .sm-hero-wire--seg1,
#ide-showcase .sm-canvas-area--hero .sm-hero-wire--seg2,
#ide-showcase .sm-canvas-area--hero .sm-hero-wire-dot--seg1,
#ide-showcase .sm-canvas-area--hero .sm-hero-wire-dot--seg2 {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Phase 0 / idle — empty canvas */
#ide-showcase.ide-flow-phase-0 .sm-canvas-area--hero .sm-canvas-hero-input,
#ide-showcase.ide-flow-phase-0 .sm-canvas-area--hero .sm-node--hero-edit,
#ide-showcase.ide-flow-phase-0 .sm-canvas-area--hero .sm-canvas-hero-preview {
    opacity: 0;
    visibility: hidden;
}

/* Phase 1 — CAD input drag-drop in */
#ide-showcase.ide-flow-phase-1 .sm-canvas-area--hero .sm-canvas-hero-input {
    visibility: visible;
    animation: ide-flow-drop-in 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

#ide-showcase.ide-flow-phase-1 .sm-canvas-area--hero .sm-node--hero-edit,
#ide-showcase.ide-flow-phase-1 .sm-canvas-area--hero .sm-canvas-hero-preview {
    opacity: 0;
    visibility: hidden;
}

#ide-showcase.ide-flow-phase-2 .sm-canvas-area--hero .sm-canvas-hero-input,
#ide-showcase.ide-flow-phase-3 .sm-canvas-area--hero .sm-canvas-hero-input,
#ide-showcase.ide-flow-complete .sm-canvas-area--hero .sm-canvas-hero-input {
    visibility: visible;
    opacity: 1;
    transform: translateY(-50%) scale(1);
    animation: none;
}

#ide-showcase.ide-flow-phase-2 .sm-canvas-area--hero .sm-canvas-hero-preview {
    opacity: 0;
    visibility: hidden;
}

#ide-showcase.ide-flow-phase-2 .sm-canvas-area--hero .sm-node--hero-edit {
    visibility: visible;
    opacity: 1;
    animation: ide-flow-node-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#ide-showcase.ide-wire-seg1-visible .sm-canvas-area--hero .sm-canvas-hero-wires {
    visibility: visible;
}

#ide-showcase.ide-wire-seg1-visible .sm-canvas-area--hero .sm-hero-wire--seg1,
#ide-showcase.ide-wire-seg1-visible .sm-canvas-area--hero .sm-hero-wire-dot--seg1 {
    visibility: visible;
    animation: ide-flow-fade-in 0.6s ease forwards;
}

#ide-showcase.ide-flow-phase-3 .sm-canvas-area--hero .sm-node--hero-edit {
    visibility: visible;
    opacity: 1;
}

#ide-showcase.ide-flow-phase-3:not(.ide-flow-complete) .sm-canvas-area--hero .sm-canvas-hero-preview {
    visibility: visible;
    animation: ide-flow-preview-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#ide-showcase.ide-wire-seg2-visible .sm-canvas-area--hero .sm-canvas-hero-wires {
    visibility: visible;
}

#ide-showcase.ide-wire-seg2-visible .sm-canvas-area--hero .sm-hero-wire--seg2,
#ide-showcase.ide-wire-seg2-visible .sm-canvas-area--hero .sm-hero-wire-dot--seg2 {
    visibility: visible;
    animation: ide-flow-fade-in 0.6s ease forwards;
}

#ide-showcase.ide-flow-complete .sm-canvas-area--hero .sm-canvas-hero-preview {
    visibility: visible;
    opacity: 1;
    transform: translateY(-50%) scale(1);
    animation: none;
}

#ide-showcase.ide-flow-complete .sm-canvas-area--hero .sm-node--hero-edit {
    visibility: visible;
    opacity: 1;
    transform: translateY(-50%) scale(1);
    animation: none;
}

#ide-showcase.ide-flow-complete.ide-wire-seg1-visible .sm-canvas-area--hero .sm-hero-wire--seg1,
#ide-showcase.ide-flow-complete.ide-wire-seg1-visible .sm-canvas-area--hero .sm-hero-wire-dot--seg1,
#ide-showcase.ide-flow-complete.ide-wire-seg2-visible .sm-canvas-area--hero .sm-hero-wire--seg2,
#ide-showcase.ide-flow-complete.ide-wire-seg2-visible .sm-canvas-area--hero .sm-hero-wire-dot--seg2 {
    visibility: visible;
    opacity: 1;
    animation: none;
}

@keyframes ide-flow-drop-in {
    0% {
        opacity: 0;
        transform: translateY(calc(-50% - 32px)) scale(0.85);
    }
    65% {
        opacity: 1;
        transform: translateY(calc(-50% + 5px)) scale(1.03);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

@keyframes ide-flow-node-in {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

@keyframes ide-flow-preview-in {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

@keyframes ide-flow-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

#ide-showcase .sm-btn-primary--green {
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

#ide-showcase .sm-btn-primary--green.is-pressed {
    transform: scale(0.93);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.28);
    filter: brightness(0.92);
}

#ide-showcase .ide-hotspot {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

#ide-showcase .ide-hotspot.ide-hotspot--visible {
    opacity: 1;
    visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
    #ide-showcase .sm-canvas-area--hero .sm-canvas-hero-input,
    #ide-showcase .sm-canvas-area--hero .sm-canvas-hero-preview,
    #ide-showcase .sm-canvas-area--hero .sm-node--hero-edit {
        opacity: 1 !important;
        visibility: visible !important;
        animation: none !important;
        transform: translateY(-50%);
    }

    #ide-showcase.ide-wire-seg1-visible .sm-canvas-area--hero .sm-hero-wire--seg1,
    #ide-showcase.ide-wire-seg1-visible .sm-canvas-area--hero .sm-hero-wire-dot--seg1,
    #ide-showcase.ide-wire-seg2-visible .sm-canvas-area--hero .sm-hero-wire--seg2,
    #ide-showcase.ide-wire-seg2-visible .sm-canvas-area--hero .sm-hero-wire-dot--seg2 {
        opacity: 1 !important;
        visibility: visible !important;
        animation: none !important;
    }

    #ide-showcase .ide-hotspot.ide-hotspot--visible {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Floating hotspot callouts */
#ide-showcase .ide-showcase-hotspots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 30;
}

#ide-showcase .ide-hotspot {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, -100%);
    max-width: none;
    white-space: nowrap;
    padding: clamp(3px, 0.4vw, 5px) clamp(6px, 0.7vw, 10px);
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: clamp(9px, 0.8vw, 11.5px);
    font-weight: 500;
    line-height: 1.25;
    color: rgba(243, 244, 246, 0.95);
    background: rgba(10, 16, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.45rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 0, 0, 0.2);
}

@media (max-width: 639px) {
    #ide-showcase .ide-showcase-hotspots {
        display: none;
    }
}

/* Chapter panel — the step's story and its before/after */
#ide-showcase .ide-chapter-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

#ide-showcase .ide-chapter-copy h3 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

#ide-showcase .ide-chapter-copy p {
    max-width: 32rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #9ca3af;
}

#ide-showcase .ide-chapter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

#ide-showcase .ide-chapter-nav {
    display: flex;
    gap: 0.5rem;
    margin-top: 0;
}

#ide-showcase .ide-compare {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

#ide-showcase .ide-compare-head,
#ide-showcase .ide-compare-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1.25rem minmax(0, 1fr);
    column-gap: 0.65rem;
    align-items: center;
}

#ide-showcase .ide-compare-head {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#ide-showcase .ide-compare-head span:first-child {
    text-align: right;
    color: #6b7280;
}

#ide-showcase .ide-compare-head span:last-child {
    grid-column: 3;
    color: #05c7bb;
}

#ide-showcase .ide-compare-old,
#ide-showcase .ide-compare-new {
    font-size: 1rem;
    line-height: 1.45;
}

#ide-showcase .ide-compare-old {
    text-align: right;
    color: #9ca3af;
}

#ide-showcase .ide-compare-arrow {
    color: rgba(5, 199, 187, 0.85);
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: center;
}

#ide-showcase .ide-compare-new {
    color: #7eefe6;
}

@media (max-width: 1023px) {
    #ide-showcase .ide-chapter-panel {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }
}

@media (max-width: 560px) {
    #ide-showcase .ide-click-hint {
        display: none;
    }

    #ide-showcase .ide-compare-head,
    #ide-showcase .ide-compare-row {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0.15rem;
    }

    #ide-showcase .ide-compare-head span:first-child,
    #ide-showcase .ide-compare-old {
        text-align: left;
    }

    #ide-showcase .ide-compare-head span:last-child {
        grid-column: auto;
    }

    #ide-showcase .ide-compare-arrow {
        display: none;
    }
}

/* Idea — context, agents, control */
#idea {
    background-color: #0b1d28;
    background-image: radial-gradient(
        ellipse 78% 46% at 50% 11%,
        rgba(5, 199, 187, 0.14) 0%,
        rgba(5, 199, 187, 0.045) 40%,
        transparent 70%
    );
}

.idea-grid,
.idea-audiences {
    display: grid;
    min-width: 0;
}

.idea-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.75rem);
}

.idea-card {
    margin: 0;
    min-width: 0;
    padding: 1.25rem 0 0;
    border: 0;
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
}

.idea-card-tag {
    display: block;
    margin-bottom: 0.9rem;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #05c7bb;
}

.idea-card h3 {
    margin: 0 0 0.7rem;
    font-family: 'Plus Jakarta Sans', Inter, sans-serif;
    font-size: clamp(1.2rem, 1.7vw, 1.45rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #fff;
}

.idea-card p {
    margin: 0;
    max-width: 36ch;
    color: rgba(156, 163, 175, 0.92);
    font-size: 1rem;
    line-height: 1.65;
}

.idea-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
    padding: 0;
    border: 0;
    background: none;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #05c7bb;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.idea-card-link:hover,
.idea-card-link:focus-visible {
    color: #fff;
    transform: translateX(2px);
}

.idea-audiences {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: clamp(3.25rem, 6vw, 4.75rem);
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.idea-audiences--cases {
    margin-top: 0;
    margin-bottom: clamp(2.25rem, 4vw, 3rem);
    padding: clamp(1.25rem, 2.5vw, 1.6rem) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.idea-audiences article {
    margin: 0;
    min-width: 0;
    padding: 0 1.35rem;
    border: 0;
    border-radius: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
}

.idea-audiences article:first-child {
    padding-left: 0;
    border-left: 0;
}

.idea-audiences article:last-child {
    padding-right: 0;
}

.idea-audiences h3 {
    margin: 0 0 0.35rem;
    font-family: 'Plus Jakarta Sans', Inter, sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
    color: #fff;
}

.idea-audiences p {
    margin: 0;
    color: rgba(156, 163, 175, 0.78);
    font-size: 0.875rem;
    line-height: 1.5;
}

.enterprise-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.ide-deep-dive {
    margin-top: 0.9rem;
    padding: 0;
    border: 0;
    background: none;
    color: #05c7bb;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.ide-deep-dive:hover {
    color: #fff;
}

.ide-drill-nav,
.ide-drill-signup-row {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.ide-drill-signup-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    border-radius: 0.75rem;
    background: linear-gradient(to right, #05c7bb, #04a096);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 900px) {
    .idea-grid,
    .idea-audiences {
        grid-template-columns: minmax(0, 1fr);
    }

    .idea-grid {
        gap: 2rem;
    }

    .idea-card p {
        max-width: none;
    }

    .idea-audiences article {
        padding: 1.05rem 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .idea-audiences article:first-child {
        padding-top: 0;
        border-top: 0;
    }
}

/* Trust — light band */
.trust-band {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.trust-band .trust-label {
    margin: 0 auto 2rem;
    max-width: 36rem;
    text-align: center;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.01em;
    text-transform: none;
    color: #9ca3af;
}

.trust-band .trust-logos {
    gap: 2.5rem 3.5rem;
}

.trust-cert {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem 0.9rem;
    width: fit-content;
    max-width: 100%;
    margin: 2rem auto 0;
    padding: 0.55rem 1rem;
    border: 1px solid rgba(5, 199, 187, 0.25);
    border-radius: 999px;
    background: rgba(5, 199, 187, 0.06);
    font-size: 0.78rem;
    line-height: 1.4;
    text-align: center;
}

.trust-cert-mark {
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
}

.trust-cert-body {
    color: #9ca3af;
}

.trust-cert-id {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.7rem;
    color: #6b7280;
}

@media (max-width: 639px) {
    .trust-cert {
        border-radius: 1rem;
        flex-direction: column;
        gap: 0.2rem;
    }
}

.enterprise-agency {
    max-width: 36rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #9ca3af;
}

/* Workspace — unified contrast + rhythms */
.workspace-unified {
    background: linear-gradient(180deg, rgba(5, 199, 187, 0.03) 0%, transparent 28%);
}

.workspace-unified .section-head {
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.workspace-contrast {
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.workspace-rhythms {
    margin-top: 0;
}

/* Rhythm cards */
.rhythm-card {
    padding: clamp(2rem, 4vw, 2.75rem) !important;
    border-radius: 1.5rem !important;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.closing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

@media (min-width: 900px) {
    .closing-grid {
        grid-template-columns: 1.25fr 1fr;
        gap: 1.5rem;
    }
}

.closing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(2rem, 3.5vw, 2.75rem) !important;
    border-radius: 1.5rem !important;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    min-height: 0;
    text-align: left;
}

.closing-card--enterprise {
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(5, 199, 187, 0.07), transparent 60%),
        rgba(11, 29, 40, 0.45);
    border-color: rgba(5, 199, 187, 0.18);
}

.closing-card-body {
    display: flex;
    flex-direction: column;
}

.closing-lead {
    margin: 0 0 1.25rem;
    font-size: 0.96875rem;
    line-height: 1.65;
    color: rgba(209, 213, 219, 0.9);
}

.closing-note {
    margin: 0 0 1.35rem;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(209, 213, 219, 0.88);
}

.closing-deploy {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

/* Deployment options as tags: mono caps on a hairline, no fill. */
.closing-deploy li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.35rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 2px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(229, 231, 235, 0.9);
    line-height: 1.25;
    white-space: nowrap;
}

/* Plans at a glance: each row opens its plan on /pricing. */
.plan-ladder {
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.plan-ladder a {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 1rem;
    padding: 0.8rem 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: inherit;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.plan-ladder a:hover {
    background: rgba(255, 255, 255, 0.04);
}

.plan-ladder a:focus-visible {
    outline: 2px solid #05c7bb;
    outline-offset: -2px;
    border-radius: 3px;
}

.pl-name {
    font-weight: 600;
    color: #fff;
}

.pl-who {
    font-size: 0.875rem;
    line-height: 1.45;
    color: rgba(209, 213, 219, 0.75);
}

.pl-price {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.8125rem;
    color: #fff;
    white-space: nowrap;
    text-align: right;
}

.plan-ladder + .pricing-teaser-list {
    padding-top: 0;
    border-top: 0;
}

@media (max-width: 539.98px) {
    .plan-ladder a {
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 0.2rem;
    }

    .pl-who {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

.closing-note-inline {
    margin: 0;
    width: 100%;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(156, 163, 175, 0.88);
}

.closing-cert {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.closing-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.closing-card--enterprise .closing-actions {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.pricing-teaser-list {
    list-style: none;
    padding: 1.1rem 0 0;
    margin: 0 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    text-align: left;
}

.pricing-teaser-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgb(209 213 219);
}

.pricing-teaser-list li:last-child {
    margin-bottom: 0;
}

.pricing-teaser-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.1em;
    color: rgba(209, 213, 219, 0.55);
    font-weight: 700;
}

.rhythm-card p {
    font-size: 1rem;
    line-height: 1.75;
}

/* Feature showcase — breathing room */
#features .section-head {
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

#featureShowcase {
    gap: clamp(2.5rem, 5vw, 4rem) !important;
}

.feature-tab {
    padding: 1rem 1.25rem !important;
    border-radius: 0.75rem !important;
    border-left: none !important;
    margin-bottom: 0.25rem;
}

.feature-tab.is-active {
    background: rgba(255, 255, 255, 0.04);
    border-left: none !important;
}

.feature-tab-num {
    display: none;
}

#featureCopyPanel {
    margin-top: 0 !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

.feature-showcase-nav {
    position: sticky;
    top: 6rem;
    align-self: start;
}

.feature-showcase-main {
    gap: clamp(1.25rem, 3vw, 2rem);
}

.feature-copy h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.feature-copy p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.feature-showcase-visual {
    min-height: 260px;
    aspect-ratio: 16 / 10;
}

.feature-specs-toggle {
    display: none;
}

.feature-drill-cta {
    margin-top: 1.5rem;
    font-size: 12px;
}

/* Cases — responsive grid (works on desktop + mobile, no horizontal trap) */
.case-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }
}

.case-card {
    border-radius: 1.25rem !important;
    min-width: 0;
}

.case-card .p-5 {
    padding: 1.35rem 1.5rem 1.5rem !important;
}

.case-card h3 {
    font-size: 1.125rem;
}

.case-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Enterprise — compact */
.enterprise-band .bento-card {
    padding: clamp(2rem, 4vw, 3rem) !important;
    border-radius: 1.5rem !important;
}

/* Side nav — desktop only, subtler */
.side-nav-dots {
    display: none;
}

@media (min-width: 1280px) {
    .side-nav-dots {
        display: flex;
    }
}

.side-nav-dots {
    gap: 1.25rem;
}

.side-nav-dots .nav-dot-circle {
    width: 5px;
    height: 5px;
}

/* Invite — original landing aesthetic */
.invite-section {
    padding-top: 5rem;
    padding-bottom: 3.5rem;
    background: #0b1d28;
}

.invite-bg-video {
    opacity: 0.6;
}

.invite-badge {
    display: inline-block;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #05c7bb;
    border: 1px solid rgba(5, 199, 187, 0.2);
    background: rgba(5, 199, 187, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.invite-form-card {
    background: rgba(11, 29, 40, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1.75rem 1.75rem 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.invite-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2305c7bb' d='M1 1.2l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.invite-select option {
    background: #0b1d28;
    color: #fff;
}

@media (min-width: 768px) {
    .invite-form-card {
        padding: 2rem 2rem 1.625rem;
        border-radius: 1.5rem;
    }
}

#request-invite.site-section {
    padding-top: var(--section-y-lg);
    padding-bottom: var(--section-y-lg);
}

/* Leadership — board of directors drill-down */
body.company-detail-open {
    overflow: hidden;
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(0.875rem, 2vw, 1.25rem);
}

@media (min-width: 480px) {
    .leadership-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.leadership-card {
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 29, 40, 0.35);
    overflow: hidden;
    opacity: 0;
    transform: translateY(14px);
    transition: border-color 0.3s ease, opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.company-detail-backdrop.is-open .leadership-card {
    opacity: 1;
    transform: translateY(0);
}

.company-detail-backdrop.is-open .leadership-card:nth-child(2) { transition-delay: 0.06s; }
.company-detail-backdrop.is-open .leadership-card:nth-child(3) { transition-delay: 0.12s; }
.company-detail-backdrop.is-open .leadership-card:nth-child(4) { transition-delay: 0.18s; }

.leadership-card:hover {
    border-color: rgba(5, 199, 187, 0.35);
    transform: translateY(-2px);
}

.leadership-portrait {
    position: relative;
    aspect-ratio: 3 / 4;
    background: linear-gradient(160deg, rgba(5, 199, 187, 0.1), rgba(11, 29, 40, 0.9));
    overflow: hidden;
}

.leadership-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.25) contrast(1.05);
    transition: filter 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.leadership-card:hover .leadership-portrait img {
    filter: grayscale(0) contrast(1.05);
    transform: scale(1.03);
}

.leadership-initials {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.28);
}

.leadership-portrait.is-empty img {
    display: none;
}

.leadership-portrait.is-empty .leadership-initials {
    display: flex;
}

.leadership-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
    padding: 1.25rem 1.25rem 1.375rem;
}

.leadership-name {
    font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.leadership-role {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #05c7bb;
}

.leadership-seat {
    font-size: 11.5px;
    letter-spacing: 0.01em;
    color: rgba(156, 163, 175, 0.7);
}

.leadership-bio {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.leadership-link {
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(156, 163, 175, 0.9);
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.leadership-link:hover {
    color: #fff;
    border-color: rgba(5, 199, 187, 0.45);
    background: rgba(5, 199, 187, 0.1);
}

.leadership-footnote {
    margin-top: clamp(1.75rem, 4vw, 2.5rem);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: rgba(156, 163, 175, 0.55);
}

.company-team-section {
    margin-top: clamp(2rem, 5vw, 3rem);
    padding-top: clamp(1.75rem, 4vw, 2.5rem);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.company-section-heading {
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.company-team-section .leadership-card:nth-child(1) { transition-delay: 0.22s; }
.company-team-section .leadership-card:nth-child(2) { transition-delay: 0.28s; }

.make-band {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}

.make-head {
    max-width: 40rem;
    margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
}

.make-head h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    letter-spacing: -0.025em;
    line-height: 1.12;
}

.make-lead {
    margin: 0 auto;
    max-width: 38rem;
    color: rgba(209, 213, 219, 0.9);
    font-size: 1.02rem;
    line-height: 1.65;
}

.make-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.make-card {
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.35rem 1.2rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    text-align: left;
}

.make-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: #fff;
}

.make-card p {
    flex: 1;
    margin: 0 0 1rem;
    color: rgba(156, 163, 175, 0.92);
    font-size: 0.92rem;
    line-height: 1.55;
}

.make-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.78rem;
    color: #9ca3af;
}

@media (min-width: 800px) {
    .make-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.make-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.make-name {
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #9ca3af;
    font-size: 0.82rem;
    cursor: pointer;
}

.make-name.is-active {
    color: #fff;
    border-color: rgba(5, 199, 187, 0.55);
    background: rgba(5, 199, 187, 0.1);
}

.make-window {
    max-width: 52rem;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0d1117;
    box-shadow: 0 24px 64px -28px rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.make-window-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.make-window-title {
    flex: 1;
    text-align: center;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    color: rgba(156, 163, 175, 0.95);
}

.make-window-est {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    color: #7eefe6;
}

.make-screen {
    display: none;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 280px;
}

.make-screen.is-active {
    display: grid;
}

.make-form,
.make-happens {
    padding: 1.1rem 1.25rem 1.25rem;
}

.make-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.make-form label {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    margin: 0;
}

.make-form span {
    font-size: 0.75rem;
    color: #9ca3af;
}

.make-form img {
    width: 100%;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(5, 199, 187, 0.45);
}

.make-field-text em {
    font-style: normal;
    color: #fff;
    font-size: 0.92rem;
}

.make-happens p {
    margin: 0 0 0.75rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7eefe6;
}

.make-happens ol {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.make-happens li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #e5e7eb;
    font-size: 0.92rem;
}

.make-happens li::before {
    content: counter(step);
    counter-increment: step;
    position: absolute;
    left: 0;
    top: 0.5rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    color: #05c7bb;
}

.make-happens ol {
    counter-reset: step;
}

.make-run {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    background: #05c7bb;
    color: #04201d;
    font-size: 0.82rem;
    font-weight: 700;
}

.make-open-note {
    margin: 0.85rem auto 0;
    max-width: 52rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.88rem;
}

@media (max-width: 720px) {
    .make-screen.is-active {
        grid-template-columns: 1fr;
    }

    .make-form {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
}

/* Campaign page */
.campaign-page {
    padding-top: 8.5rem;
    padding-bottom: 5rem;
}

.campaign-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.campaign-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.75rem, 5.4vw, 4.75rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 0.98;
    color: #fff;
    margin: 0 0 1rem;
}

.campaign-lead {
    max-width: 36rem;
    margin: 0 0 1.6rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(209, 213, 219, 0.88);
}

.campaign-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.campaign-hero-frame,
.campaign-frame,
.campaign-pair figure,
.campaign-range figure,
.campaign-proof-card {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0d161c;
}

.campaign-hero-frame {
    aspect-ratio: 4 / 3;
}

.campaign-hero-frame img,
.campaign-frame img,
.campaign-range img,
.campaign-proof-card img,
.campaign-pair img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campaign-hero-frame img {
    transform: scale(1.08);
    animation: campaign-drift 16s ease-in-out infinite alternate;
}

@keyframes campaign-drift {
    from { transform: scale(1.08) translate3d(0, 0, 0); }
    to { transform: scale(1) translate3d(0, -1.5%, 0); }
}

.campaign-motion [data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.campaign-motion [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

.campaign-motion [data-reveal-delay="1"] { transition-delay: 0.1s; }
.campaign-motion [data-reveal-delay="2"] { transition-delay: 0.2s; }
.campaign-motion [data-reveal-delay="3"] { transition-delay: 0.32s; }

.campaign-stat strong:not([data-count]) {
    font-size: clamp(1.35rem, 2.1vw, 1.75rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.campaign-stats {
    display: grid;
    grid-template-columns: 0.7fr 1.1fr 1fr;
    gap: 1rem;
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.campaign-stat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 8.5rem;
    padding: 1.35rem 1.4rem 1.2rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    text-decoration: none;
}

.campaign-stat strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 0.95;
    color: #fff;
}

.campaign-stat span,
.campaign-stat em {
    color: rgba(209, 213, 219, 0.88);
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.4;
}

.campaign-stat em {
    color: #05c7bb;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.campaign-beat .campaign-k {
    transition: color 0.45s ease;
}

.campaign-motion .campaign-pair figure:last-child {
    opacity: 0;
    transform: translateX(18px);
}

.campaign-motion .campaign-beat.is-in .campaign-pair figure:last-child {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease 0.18s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}

.campaign-frame--heal .campaign-scan {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 18%;
    background: linear-gradient(180deg, transparent, rgba(5, 199, 187, 0.45), transparent);
    opacity: 0;
    pointer-events: none;
}

.campaign-beat.is-in .campaign-scan {
    animation: campaign-scan 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.15s 1;
}

@keyframes campaign-scan {
    0% { top: -10%; opacity: 0; }
    18% { opacity: 1; }
    100% { top: 92%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .campaign-motion [data-reveal],
    .campaign-motion [data-reveal].is-in,
    .campaign-pair figure:last-child,
    .campaign-range figure[data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .campaign-hero-frame img,
    .campaign-beat.is-in .campaign-scan {
        animation: none;
    }
}

.campaign-motion .campaign-range figure[data-reveal] {
    transform: translateY(24px) scale(0.98);
}

.campaign-motion .campaign-range figure[data-reveal].is-in {
    transform: none;
}

.campaign-proofs {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 1rem;
    margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.campaign-proof-card {
    display: block;
    min-height: 280px;
    text-decoration: none;
    color: #fff;
}

.campaign-proof-card img {
    position: absolute;
    inset: 0;
}

.campaign-proof-card:first-child img {
    object-position: center 42%;
}

.campaign-proof-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 4.5rem 1.25rem 1.15rem;
    background: linear-gradient(180deg, transparent, rgba(6, 12, 16, 0.92) 58%);
    font-size: 0.95rem;
    line-height: 1.45;
}

.campaign-proof-copy strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.75rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
}

.campaign-story {
    display: flex;
    flex-direction: column;
    gap: clamp(3.5rem, 7vw, 5.5rem);
}

.campaign-beat {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(1.5rem, 4vw, 3.25rem);
    align-items: center;
}

.campaign-beat--flip {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.campaign-k {
    display: block;
    margin-bottom: 0.65rem;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    letter-spacing: 0.16em;
    color: #05c7bb;
}

.campaign-beat h2,
.campaign-range-block h2 {
    margin: 0 0 0.7rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.7rem, 2.6vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #fff;
}

.campaign-beat p,
.campaign-range-block p {
    margin: 0;
    max-width: 34rem;
    color: rgba(209, 213, 219, 0.86);
    font-size: 1.02rem;
    line-height: 1.65;
}

.campaign-frame {
    aspect-ratio: 16 / 11;
}

.campaign-frame--film {
    aspect-ratio: 3 / 4;
    max-width: 26rem;
    justify-self: start;
}

.campaign-frame--film figcaption,
.campaign-pair figcaption {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.28rem 0.55rem;
    border-radius: 0.4rem;
    background: rgba(6, 12, 16, 0.78);
    color: #e5e7eb;
    font: 600 11px/1.2 Inter, system-ui, sans-serif;
    letter-spacing: 0.04em;
}

.campaign-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.campaign-pair figure {
    aspect-ratio: 4 / 5;
}

.campaign-pair figure:first-child {
    background: #05080a;
}

.campaign-pair figure:first-child img {
    object-fit: cover;
    object-position: center 46%;
}

.campaign-range-block .campaign-beat-copy {
    max-width: 40rem;
    margin-bottom: 1.25rem;
}

.campaign-range {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1.15fr;
    gap: 0.7rem;
}

.campaign-range figure {
    aspect-ratio: 4 / 5;
}

.campaign-proof {
    display: inline-flex;
    margin-top: 0.95rem;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    line-height: 1.45;
    color: #05c7bb;
    text-decoration: none;
    border-bottom: 1px solid rgba(5, 199, 187, 0.4);
}

.campaign-proof:hover,
.campaign-proof:focus-visible,
.campaign-proof-card:hover .campaign-proof-copy {
    color: #fff;
}

.campaign-proof:hover,
.campaign-proof:focus-visible {
    border-color: rgba(255, 255, 255, 0.7);
}

.campaign-more {
    margin-top: 0.9rem;
}

.campaign-points {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.campaign-points li {
    position: relative;
    margin-top: 0.45rem;
    padding-left: 0.95rem;
    color: #f3f4f6;
    font-size: 0.95rem;
    line-height: 1.45;
}

.campaign-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: #05c7bb;
}

.campaign-section-head {
    max-width: 40rem;
    margin-bottom: 1.4rem;
}

.campaign-section-head h2,
.campaign-agency h2 {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
}

.campaign-problem {
    margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.campaign-problem-grid,
.campaign-ship,
.campaign-case-grid {
    display: grid;
    gap: 1rem;
}

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

.campaign-problem-grid article,
.campaign-ship article,
.campaign-agency {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.03);
}

.campaign-problem-grid article {
    padding: 1.35rem 1.35rem 1.5rem;
}

.campaign-problem-grid h3,
.campaign-ship h3,
.campaign-case h3 {
    margin: 0 0 0.45rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
}

.campaign-problem-grid p,
.campaign-ship p,
.campaign-case p,
.campaign-agency p {
    margin: 0;
    color: rgba(209, 213, 219, 0.88);
    font-size: 0.95rem;
    line-height: 1.6;
}

.campaign-ship-wrap,
.campaign-cases,
.campaign-agency {
    margin-top: clamp(3.5rem, 7vw, 5.5rem);
}

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

.campaign-ship article {
    overflow: hidden;
}

.campaign-ship img {
    display: block;
    width: 100%;
    height: 9.5rem;
    object-fit: cover;
}

.campaign-ship article div,
.campaign-ship-note {
    padding: 1.1rem 1.15rem 1.25rem;
}

.campaign-ship-note {
    display: flex;
    align-items: flex-end;
    min-height: 100%;
    background:
        linear-gradient(160deg, rgba(5, 199, 187, 0.14), transparent 55%),
        rgba(255, 255, 255, 0.03);
}

.campaign-case-grid {
    grid-template-columns: 1fr 1fr;
}

.campaign-case {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    text-decoration: none;
}

.campaign-case img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.campaign-case div {
    padding: 1.2rem 1.25rem 1.35rem;
}

.campaign-case .campaign-proof {
    margin-top: 0.9rem;
}

.campaign-agency {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2rem;
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.campaign-agency-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.campaign-agency-list li {
    padding: 0.7rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #f3f4f6;
    font-size: 1rem;
}

.campaign-agency-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.campaign-close {
    margin-top: clamp(3.5rem, 7vw, 5.5rem);
}

.campaign-close-panel {
    max-width: 40rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.campaign-close h2 {
    margin: 0 0 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #fff;
}

.campaign-close p {
    margin: 0 0 0.85rem;
    color: rgba(209, 213, 219, 0.86);
    line-height: 1.65;
}

.campaign-close .hero-cta {
    margin-top: 0.6rem;
}

@media (max-width: 900px) {
    .campaign-hero,
    .campaign-beat,
    .campaign-beat--flip,
    .campaign-proofs,
    .campaign-stats,
    .campaign-range,
    .campaign-pair,
    .campaign-problem-grid,
    .campaign-ship,
    .campaign-case-grid,
    .campaign-agency {
        grid-template-columns: 1fr;
    }

    .campaign-frame--film {
        max-width: 18rem;
    }

    .campaign-proof-card {
        min-height: 240px;
    }

    .campaign-range figure {
        aspect-ratio: 16 / 10;
    }
}

/* Where the cost sits: two bars, CG/AI and SolidMeta (js/home.js plays them).
   A segment's width is its share of a classic CG still, out of 100 (--w).
   The run, as classes on .cost-chart:
     .is-in   the CG/AI bar draws, with the background (shoot or 3D) in it
     .is-ai   the background shrinks to an AI backplate (--w2) and light
              matching grows; nothing else moves
     .is-sm   the SolidMeta bar draws as a grey copy of the CG/AI bar
     .is-sm2  it collapses into SolidMeta's four steps (--w3) and turns teal;
              the "−80%" counts up at its end (js/home.js)
   Every segment carries its number; the legends are numbered to match. */
.cost-chart {
    --cc-ease: cubic-bezier(0.22, 1, 0.36, 1);
    display: grid;
    gap: 1rem;
    max-width: 64rem;
    margin: 2.5rem auto 0;
}

.cc-row {
    display: grid;
    grid-template-columns: 13rem minmax(0, 1fr);
    gap: 0.75rem 1.5rem;
    align-items: center;
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.cc-row--sm {
    border-color: rgba(5, 199, 187, 0.35);
    background: rgba(5, 199, 187, 0.06);
}

.cc-head { display: flex; flex-direction: column; gap: 0.15rem; }
.cc-head strong { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.125rem; font-weight: 700; color: #fff; }
.cc-head span { font-size: 0.875rem; color: rgba(156, 163, 175, 0.95); }

.cc-track { position: relative; min-width: 0; }

/* The full length of a classic CG still, behind each bar */
.cc-ghost {
    position: absolute;
    inset: 0 0 auto 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 2.75rem;
    padding: 0 0.75rem;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 0.6rem;
    font-size: 0.75rem;
    color: rgba(156, 163, 175, 0.85);
}

.cc-bar {
    position: relative;
    z-index: 1;
    display: flex;
    height: 2.75rem;
    overflow: hidden;
    border-radius: 0.6rem;
    clip-path: inset(0 100% 0 0 round 0.6rem);
    transition: clip-path 1s var(--cc-ease);
}

.cost-chart.is-in .cc-row--cgai .cc-bar,
.cost-chart.is-sm .cc-row--sm .cc-bar { clip-path: inset(0 0 0 0 round 0.6rem); }

.cc-seg {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 calc(var(--w) * 1%);
    min-width: 0;
    padding: 0 0.6rem;
    overflow: hidden;
    box-shadow: inset -1px 0 0 rgba(11, 29, 40, 0.65);
    transition: flex-basis 0.7s var(--cc-ease), background-color 0.4s ease;
}

.cost-chart.is-ai .cc-row--cgai .cc-seg { flex-basis: calc(var(--w2) * 1%); }

/* SolidMeta: the grey copy collapses into four teal steps */
.cc-row--sm .cc-seg { transition: flex-basis 0.8s var(--cc-ease), background-color 0.5s ease 0.2s, padding 0.8s var(--cc-ease); }
.cost-chart.is-sm2 .cc-row--sm .cc-seg { flex-basis: calc(var(--w3) * 1%); }
.cost-chart.is-sm2 .cc-row--sm .cc-gone { padding: 0; box-shadow: none; }
.cost-chart.is-sm2 .cc-to-s1 { background-color: #0b8f87; }
.cost-chart.is-sm2 .cc-to-s2 { background-color: #05c7bb; }
.cost-chart.is-sm2 .cc-to-s3 { background-color: #0b8f87; }
.cost-chart.is-sm2 .cc-to-s4 { background-color: #05a99f; }
.cc-row--sm .cc-bg { background-color: #f5b450; }

/* Numbers: one per segment, matching the legend */
.cc-num {
    flex: none;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.cc-seg.cc-wide .cc-num { margin-right: 0.45rem; }
.cc-bg .cc-num { color: #1b1407; }
.cc-num--after { display: none; color: #04201d; }
.cost-chart.is-sm2 .cc-row--sm .cc-num--before { display: none; }
.cost-chart.is-sm2 .cc-row--sm .cc-num--after { display: inline; }

.cc-seg:not(.cc-wide) .cc-lab,
.cc-lab.is-clipped { display: none; }

.cc-lab {
    overflow: hidden;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.86);
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Classic CG steps in slate; the background in amber; SolidMeta in teal */
.cc-c1 { background-color: #2f4250; }
.cc-c2 { background-color: #384c5a; }
.cc-c3 { background-color: #2f4250; }
.cc-c5 { background-color: #384c5a; }
.cc-c6 { background-color: #2f4250; }
.cc-c7 { background-color: #384c5a; }
.cc-c8 { background-color: #2f4250; }
.cc-bg { background-color: rgba(245, 180, 80, 0.55); }
.cost-chart.is-ai .cc-bg { background-color: #f5b450; }
.cc-s1 { background-color: #0b8f87; }
.cc-s2 { background-color: #05c7bb; }
.cc-s3 { background-color: #0b8f87; }
.cc-s4 { background-color: #05a99f; }
.cc-row--sm .cc-lab { color: #04201d; font-weight: 600; }

/* The background segment says "Location shoot", then "AI backplate" */
.cc-lab--after { display: none; }
.cost-chart.is-ai .cc-lab--before { display: none; }
.cost-chart.is-ai .cc-lab--after { display: inline; }
.cost-chart.is-ai .cc-bg .cc-lab { display: none; }
.cc-bg .cc-lab { color: #1b1407; }

.cc-end {
    position: absolute;
    left: 20%;
    top: 50%;
    margin-left: 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #05c7bb;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-6px, -50%);
    transition: opacity 0.4s ease 0.7s, transform 0.4s var(--cc-ease) 0.7s;
}

.cost-chart.is-sm2 .cc-end { opacity: 1; transform: translate(0, -50%); }

.cc-legend {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cc-legend li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: rgba(209, 213, 219, 0.9);
}

.cc-legend i { flex: none; width: 0.6rem; height: 0.6rem; border-radius: 2px; }
.cc-legend b { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.6875rem; font-weight: 600; color: rgba(156, 163, 175, 0.9); }
.cc-key-bg { color: #f5d08a !important; }

.cc-caption {
    grid-column: 2;
    margin: 0.25rem 0 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #f5d08a;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.4s ease 0.4s, transform 0.4s var(--cc-ease) 0.4s;
}

.cost-chart.is-ai .cc-caption { opacity: 1; transform: none; }
.cc-caption--sm { color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.0625rem; }
.cost-chart:not(.is-sm2) .cc-caption--sm { opacity: 0; transform: translateY(4px); }
.cost-chart.is-sm2 .cc-caption--sm { opacity: 1; transform: none; transition-delay: 1s; }

/* The conclusion, once SolidMeta's bar has landed */
.cc-conclusion {
    margin: 0.75rem 0 0.25rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    color: #fff;
}

/* The footnote fades in with it */
.cc-conclusion,
.cc-note {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s ease 1.4s, transform 0.5s var(--cc-ease) 1.4s;
}

.cost-chart:not(.is-sm2) :is(.cc-conclusion, .cc-note) { transition-delay: 0s; }
.cost-chart.is-sm2 :is(.cc-conclusion, .cc-note) { opacity: 1; transform: none; }

.cc-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding: 0 0.25rem;
    font-size: 0.75rem;
    color: #8b949e;
}

.cc-replay {
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: none;
    font: inherit;
    color: rgba(229, 231, 235, 0.9);
    cursor: pointer;
}

.cc-replay:hover { border-color: rgba(5, 199, 187, 0.5); color: #fff; }
.cc-replay:focus-visible { outline: 2px solid #05c7bb; outline-offset: 2px; }

@media (max-width: 767.98px) {
    .cc-row { grid-template-columns: minmax(0, 1fr); padding: 1.1rem 1rem; }
    .cc-legend, .cc-caption { grid-column: 1; }
    .cc-bar, .cc-ghost { height: 2rem; }
    .cc-row--cgai .cc-ghost span { display: none; }
    .cc-seg { padding: 0; }
    .cc-lab { display: none !important; }
    .cc-num { font-size: 0.5625rem; }
    .cc-bg .cc-num, .cc-row--sm .cc-num { display: none !important; }
    .cc-end { font-size: 1rem; }
}

/* Reduced motion: the end state, nothing moves (js/home.js sets every class at once) */
@media (prefers-reduced-motion: reduce) {
    .cost-chart *, .cost-chart *::before, .cost-chart *::after { transition: none !important; }
}

/* Enterprise card: the agent's guardrails in one paragraph */
.closing-agent {
    margin-top: 1.25rem;
    padding-left: 0.9rem;
    border-left: 2px solid rgba(5, 199, 187, 0.6);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(229, 231, 235, 0.88);
}

/* Hero on full-bleed footage: copy on the left over a scrim, the made-in chip bottom-right.
   The copy runs the full width and starts at the privacy banner's left edge
   (left-4, md:left-8), so the two share one margin. */
#hero.hero--footage .hero-inner {
    max-width: none;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: left;
}

@media (min-width: 768px) {
    #hero.hero--footage .hero-inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

#hero.hero--footage .hero-glass-card {
    max-width: 40rem;
    margin: 0 auto 0 0;
    padding: 0;
}

/* Over footage the headline is solid white: the white-to-grey gradient fill went
   grey exactly where the video brightens. */
#hero.hero--footage .hero-inner h1 {
    max-width: 16ch;
    margin-left: 0;
    background: none;
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

#hero.hero--footage .hero-inner .hero-subtitle {
    max-width: 34rem;
    margin-left: 0;
    color: #e5e7eb;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

#hero.hero--footage .hero-actions {
    justify-content: flex-start;
}

/* Hero reel (js/home.js): two video layers. The incoming clip fades in on top while it
   settles from a slight zoom; the outgoing one stays opaque underneath and drifts
   forward, so the blend never dips to the background. --reel-fade matches FADE_MS. */
.hero-reel {
    --reel-fade: 1.4s;
    position: absolute;
    inset: 0;
    overflow: hidden;
    isolation: isolate;
    background: #0b1d28;
}

.hero-reel__clip {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* Bright skies and white paint shouldn't outshine the copy. */
    filter: brightness(0.9);
    transform: scale(1.06);
    transition: opacity var(--reel-fade) ease, transform 7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.hero-reel__clip.is-on {
    z-index: 2;
    opacity: 1;
    transform: scale(1);
}

.hero-reel__clip.is-leaving {
    z-index: 1;
    opacity: 1;
    transform: scale(1.03);
    transition: opacity 0s, transform var(--reel-fade) ease-in;
}

@media (prefers-reduced-motion: reduce) {
    .hero-reel__clip,
    .hero-reel__clip.is-on {
        transform: none;
        transition: opacity var(--reel-fade) ease;
    }
}

/* A band at the top behind the nav, one at the bottom behind the trust row, and a
   left-to-right fade that keeps the copy on dark and the product on the right bright. */
.hero-scrim {
    background:
        linear-gradient(180deg, rgba(9, 20, 28, 0.7) 0%, rgba(9, 20, 28, 0) 24%),
        linear-gradient(0deg, rgba(9, 20, 28, 0.55) 0%, rgba(9, 20, 28, 0) 30%),
        linear-gradient(90deg, rgba(11, 29, 40, 0.94) 0%, rgba(11, 29, 40, 0.88) 36%, rgba(11, 29, 40, 0.55) 56%, rgba(11, 29, 40, 0.12) 80%, rgba(11, 29, 40, 0) 100%);
}

.hero-made-chip {
    position: absolute;
    right: max(1.5rem, env(safe-area-inset-right, 0px));
    bottom: 1.75rem;
    z-index: 10;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(11, 29, 40, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.8125rem;
    color: #fff;
    text-decoration: none;
}

.hero-made-chip:hover,
.hero-made-chip:focus-visible {
    border-color: rgba(5, 199, 187, 0.7);
}

@media (max-width: 767.98px) {
    .hero-scrim {
        background: rgba(11, 29, 40, 0.8);
    }

    .hero-made-chip {
        position: relative;
        right: auto;
        bottom: auto;
        align-self: flex-start;
        margin: 0 1.5rem 2rem;
    }
}

/* Who it's for: four doors under the hero */
.site-section--tight {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.doors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 1rem;
}

.door-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.25rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
    color: rgba(209, 213, 219, 0.9);
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.door-card:hover,
.door-card:focus-visible {
    border-color: rgba(5, 199, 187, 0.55);
    background: rgba(5, 199, 187, 0.05);
}

.door-tag {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #05c7bb;
}

.door-card strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    line-height: 1.3;
    color: #fff;
}

.door-body {
    font-size: 0.875rem;
    line-height: 1.55;
}

.door-go {
    position: absolute;
    right: 1.25rem;
    bottom: 1rem;
    color: #05c7bb;
}

/* Auto Heal: the copy over the scene on the left, page one of its PDF report on the right */
.heal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    grid-template-areas:
        "copy sheet"
        "scene sheet";
    gap: 2.5rem 3.5rem;
    align-items: start;
}

.heal-copy {
    grid-area: copy;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.heal-visual { grid-area: scene; }

.heal-sheet {
    grid-area: sheet;
    align-self: end;
}

.heal-proof {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.8125rem;
    color: #05c7bb;
    text-decoration: none;
}

/* Start with a Skill: four across, two by two below that, never three and one */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

@media (max-width: 1199.98px) {
    .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639.98px) {
    .skills-grid { grid-template-columns: minmax(0, 1fr); }
}

.skill-tile {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
}

.skill-tile__media > img,
.skill-tile__media > .temp-asset {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 0.75rem;
}

.skill-tile h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
}

.skill-tile p {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(209, 213, 219, 0.85);
}

.skill-tile__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tile__btn {
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.6rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

.skill-tile__btn--primary {
    border-color: transparent;
    background: #05c7bb;
    color: #0b1d28;
}

/* Questions */
.faq-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
    gap: 3rem;
}

/* One answer open at a time: the <details> share name="home-faq". */
.faq-list {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.1rem 0;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: #fff;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover .faq-mark {
    color: #fff;
}

.faq-item summary:focus-visible {
    outline: 2px solid #05c7bb;
    outline-offset: 4px;
    border-radius: 3px;
}

/* Plus when closed, minus when open: the upright bar folds flat. */
.faq-mark {
    position: relative;
    flex: none;
    width: 0.75rem;
    height: 0.75rem;
    color: rgba(209, 213, 219, 0.6);
    transition: color 0.2s ease;
}

.faq-mark::before,
.faq-mark::after {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    height: 1.5px;
    margin-top: -0.75px;
    background: currentColor;
    transition: transform 0.25s ease;
}

.faq-mark::after {
    transform: rotate(90deg);
}

.faq-item[open] .faq-mark {
    color: #05c7bb;
}

.faq-item[open] .faq-mark::after {
    transform: rotate(0deg);
}

.faq-item p {
    margin: -0.3rem 0 1.25rem;
    max-width: 44rem;
    line-height: 1.65;
    color: rgba(209, 213, 219, 0.85);
}

.faq-item[open] p {
    animation: faqIn 0.25s ease both;
}

@keyframes faqIn {
    from { opacity: 0; transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
    .faq-mark,
    .faq-mark::before,
    .faq-mark::after { transition: none; }
    .faq-item[open] p { animation: none; }
}

/* People and closing */
/* Six people: one row on wide screens, then 3 × 2, then 2 × 3. */
.people-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .people-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
    .people-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.person {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
}

.person img {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.4rem;
}

.person strong {
    color: #fff;
}

.person span {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(209, 213, 219, 0.8);
}

.people-more {
    margin-top: 1.75rem;
    text-align: center;
}

.closing-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

/* The page's last word: section-title size, like every heading above it. */
.closing-band .closing-title {
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin: 0;
}

.closing-band .section-lead {
    margin: 0 0 1rem;
}

/* Finished frames under the closing band: one slow, seamless drift. */
.closing-strip {
    --cs-h: clamp(6.5rem, 11vw, 9.5rem);
    margin-top: clamp(3rem, 6vw, 4.5rem);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.closing-strip__track {
    display: flex;
    width: max-content;
    animation: closingDrift 70s linear infinite;
}

.closing-strip:not(.is-playing) .closing-strip__track {
    animation-play-state: paused;
}

.closing-strip__set {
    display: flex;
    align-items: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Margin, not gap, so both sets are the same width and -50% lands exactly. */
.cs-frame {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-right: 1rem;
}

.cs-frame img {
    display: block;
    height: var(--cs-h);
    aspect-ratio: var(--ar);
    width: auto;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    background: #0f1418;
}

.cs-cap {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: rgba(209, 213, 219, 0.55);
}

.cs-cap i {
    font-size: 8px;
}

@keyframes closingDrift {
    to { transform: translateX(-50%); }
}

/* Still: the first set sits centred, the copy is not needed. */
@media (prefers-reduced-motion: reduce) {
    .closing-strip__track {
        animation: none;
        margin-left: 50%;
        transform: translateX(-25%);
    }
}

@media (max-width: 899.98px) {
    .heal-grid,
    .faq-wrap {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .heal-grid { grid-template-areas: "copy" "scene" "sheet"; }

    .heal-sheet {
        justify-self: center;
        width: min(100%, 24rem);
    }
}

.heal-copy h2 {
    font-size: clamp(2rem, 3.6vw, 2.75rem);
    line-height: 1.1;
    text-wrap: balance;
}

/* Small placeholders inside skill tiles */
.skill-tile__media > .temp-asset {
    min-height: 0;
    padding: 0.75rem;
    justify-content: flex-end;
}

.skill-tile__media > .temp-asset .temp-asset__tag {
    position: static;
    align-self: flex-start;
    margin-bottom: auto;
}

.skill-tile__media > .temp-asset .temp-asset__title {
    font-size: 0.75rem;
    line-height: 1.35;
}

.skill-tile__media > .temp-asset .temp-asset__spec {
    display: none;
}


/* Footer links: a hit area of at least 24px everywhere (an invisible pad, so the
   desktop row looks the same), and the 40px control height on phones. */
footer a,
footer button {
    position: relative;
}

footer a::after,
footer button::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: max(100%, 24px);
    height: max(100%, 24px);
    transform: translate(-50%, -50%);
}

@media (max-width: 767px) {
    footer a,
    footer button {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
    }
}
