/* Product-led homepage polish
 * R-ID: R-TOPAZ-MARKETING-POLISH-20260729
 * Scope: homepage presentation only; comparison and checkout contracts stay intact.
 */

.techart-home {
    --market-paper: #f6f7f4;
    --market-white: #ffffff;
    --market-ink: #101214;
    --market-muted: #5c6368;
    --market-line: #dfe2dd;
    --market-accent: #d8ae4e;
    --market-accent-soft: #f5e4ad;
    --market-coral: #e65f47;
    --market-radius: 6px;
}

.techart-home .showcase {
    padding: clamp(28px, 3.4vw, 58px) 0 0;
    overflow: clip;
    border-bottom: 1px solid var(--market-line);
    background: var(--market-paper);
    color: var(--market-ink);
}

.techart-home .hero-inner {
    width: min(1740px, calc(100% - clamp(36px, 5vw, 112px)));
    max-width: 1740px;
    margin: 0 auto;
}

.techart-home .hero-stage {
    display: grid !important;
    grid-template-columns: minmax(350px, 0.72fr) minmax(600px, 1.38fr);
    gap: clamp(42px, 5vw, 92px);
    align-items: center;
    overflow: visible !important;
    background: transparent;
}

.techart-home .hero-stage::after {
    display: none !important;
}

.techart-home .showcase-header {
    position: relative !important;
    inset: auto !important;
    z-index: 2;
    width: auto !important;
    max-width: 580px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--market-ink) !important;
}

.techart-home .showcase-header .eyebrow,
.techart-home .showcase .eyebrow {
    display: block;
    margin: 0 0 22px;
    color: var(--market-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
}

.techart-home .record-light {
    width: 8px;
    height: 8px;
    margin-right: 9px;
    background: var(--market-coral);
    box-shadow: 0 0 0 4px rgba(230, 95, 71, 0.13);
}

.techart-home .showcase .showcase-header h1.headline {
    max-width: 10.5ch !important;
    margin: 0;
    color: var(--market-ink) !important;
    font-size: clamp(52px, 4.4vw, 76px) !important;
    font-weight: 850;
    line-height: 0.98 !important;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-shadow: none !important;
}

.techart-home .showcase .showcase-header .lead {
    display: block;
    max-width: 510px;
    margin: 24px 0 0;
    color: var(--market-muted);
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.55;
    text-shadow: none;
}

.techart-home .showcase-header .hero-actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.techart-home .showcase-header .hero-actions a {
    min-height: 54px;
    padding: 0 22px;
}

.techart-home .showcase-header .hero-actions .btn-primary {
    border-color: var(--market-ink);
    background: var(--market-ink);
    color: var(--market-white);
    box-shadow: 0 10px 26px rgba(16, 18, 20, 0.17);
}

.techart-home .showcase-header .hero-actions .btn-primary:hover {
    border-color: #2a2e31;
    background: #2a2e31;
    color: var(--market-white);
    box-shadow: 0 14px 32px rgba(16, 18, 20, 0.22);
}

.techart-home .showcase-header .hero-actions .btn-outline {
    border: 0 !important;
    background: transparent !important;
    color: var(--market-ink) !important;
    text-decoration: underline;
    text-decoration-color: #a8ada9;
    text-underline-offset: 5px;
    box-shadow: none;
}

.techart-home .showcase-header .hero-trustline {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 16px;
    margin-top: 20px;
    color: var(--market-muted);
    font-size: 12px;
}

.techart-home .showcase-header .hero-trustline span {
    white-space: nowrap;
}

.techart-home .showcase-header .hero-trustline span::before {
    margin-right: 8px;
    color: var(--market-accent);
    content: "\2022";
}

.techart-home .hero-stage .workbench-main {
    position: relative;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: visible;
}

.techart-home .hero-stage .video-wrapper {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden;
    border: 1px solid #252a2d;
    border-radius: var(--market-radius);
    background: #07090a;
    box-shadow: 0 24px 70px rgba(15, 18, 20, 0.18);
}

.techart-home .video-wrapper::before,
.techart-home .video-wrapper::after {
    display: none;
}

.techart-home .comparison-video {
    object-fit: cover;
}

.techart-home .video-vignette {
    background:
        linear-gradient(0deg, rgba(4, 5, 6, 0.24) 0, transparent 28%),
        linear-gradient(90deg, rgba(4, 5, 6, 0.12), transparent 16%, transparent 84%, rgba(4, 5, 6, 0.12));
}

.techart-home .video-labels {
    top: 16px;
    right: 16px;
    left: 16px;
}

.techart-home .video-label {
    min-height: 32px;
    padding: 6px 10px;
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(8, 10, 11, 0.78);
    font-size: 11px;
}

.techart-home .video-label-sub,
.techart-home .tape-label,
.techart-home .presentation-status,
.techart-home .zoom-indicator {
    display: none;
}

.techart-home .video-control-dock {
    right: 14px;
    bottom: 14px;
    gap: 5px;
    padding: 5px;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(8, 10, 11, 0.74);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.techart-home .video-motion-toggle,
.techart-home .zoom-toggle,
.techart-home .video-next-toggle {
    width: 48px;
    min-width: 48px;
    height: 48px;
}

.techart-home .slider-handle {
    width: 52px;
    height: 52px;
    border-width: 2px;
    background: rgba(10, 12, 13, 0.92);
}

.techart-home .presentation-progress {
    height: 2px;
}

.techart-home .showcase-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 18px;
    min-height: 94px;
    margin: clamp(22px, 2.2vw, 34px) 0 0;
    padding: 10px 0 12px;
    border-top: 1px solid var(--market-line);
    border-bottom: 0;
    background: transparent;
    color: var(--market-ink);
}

.techart-home .hero-reels {
    gap: 7px;
}

.techart-home .hero-reel {
    grid-template-columns: 60px minmax(0, 1fr);
    min-height: 66px;
    padding: 5px;
    border-color: transparent;
    background: transparent;
}

.techart-home .hero-reel:hover,
.techart-home .hero-reel.active,
.techart-home .hero-reel[aria-selected="true"] {
    border-color: #cfd3ce;
    background: var(--market-white);
    box-shadow: 0 8px 24px rgba(16, 18, 20, 0.06);
}

.techart-home .hero-reel span,
.techart-home .hero-reel strong {
    color: var(--market-ink);
}

.techart-home .hero-reel small {
    color: var(--market-muted);
}

.techart-home .hero-reel img {
    width: 60px;
    height: 48px;
}

.techart-home .hero-price {
    min-width: 130px;
    border-color: var(--market-line);
}

.techart-home .hero-price strong {
    color: var(--market-ink);
}

.techart-home .showcase-meta .meta-link {
    color: var(--market-ink);
}

.techart-home .capability-strip {
    border-bottom: 1px solid var(--market-line);
    background: var(--market-white);
}

.techart-home .capability-strip-inner {
    display: grid;
    width: min(1740px, calc(100% - clamp(36px, 5vw, 112px)));
    min-height: 112px;
    margin: 0 auto;
    grid-template-columns: minmax(190px, 0.7fr) minmax(0, 2fr);
    gap: clamp(28px, 4vw, 74px);
    align-items: center;
}

.techart-home .capability-strip p {
    margin: 0;
    color: var(--market-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
    text-transform: uppercase;
}

.techart-home .capability-strip ul {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    list-style: none;
}

.techart-home .capability-strip li {
    min-width: 0;
    padding: 10px 16px;
    border-left: 1px solid var(--market-line);
    color: var(--market-ink);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
}

@media (max-width: 1180px) {
    .techart-home .hero-stage {
        grid-template-columns: minmax(300px, 0.78fr) minmax(500px, 1.3fr);
        gap: 34px;
    }

    .techart-home .showcase .showcase-header h1.headline {
        font-size: clamp(46px, 5vw, 60px) !important;
    }

    .techart-home .hero-reel {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .techart-home .hero-reel img {
        width: 48px;
        height: 42px;
    }
}

@media (max-width: 900px) {
    .techart-home .showcase {
        padding-top: 34px;
    }

    .techart-home .hero-inner {
        width: min(100% - 40px, 820px);
    }

    .techart-home .hero-stage {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .techart-home .showcase-header {
        grid-row: 1;
        max-width: 660px;
    }

    .techart-home .hero-stage .workbench-main {
        grid-row: 2;
    }

    .techart-home .showcase .showcase-header h1.headline {
        max-width: 12ch !important;
        font-size: 54px !important;
    }

    .techart-home .showcase .showcase-header .lead {
        max-width: 590px;
    }

    .techart-home .hero-stage .video-wrapper {
        aspect-ratio: 16 / 9 !important;
    }

    .techart-home .showcase-meta {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .techart-home .showcase-meta .meta-link {
        display: none;
    }

    .techart-home .capability-strip-inner {
        width: min(100% - 40px, 820px);
        padding: 24px 0;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .techart-home .capability-strip ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 10px;
    }
}

@media (max-width: 680px) {
    .techart-home .showcase {
        padding: 26px 0 0 !important;
    }

    .techart-home .hero-inner {
        width: calc(100% - 28px);
    }

    .techart-home .hero-stage {
        display: grid !important;
        grid-template-rows: auto auto;
        gap: 24px;
    }

    .techart-home .showcase-header {
        position: relative !important;
        inset: auto !important;
        grid-row: 1 !important;
        width: 100% !important;
        max-width: none;
        padding: 0 !important;
        color: var(--market-ink) !important;
    }

    .techart-home .showcase-header .eyebrow,
    .techart-home .showcase .eyebrow {
        display: block;
        margin-bottom: 14px;
        color: var(--market-muted);
        font-size: 10px;
    }

    .techart-home .showcase .showcase-header h1.headline {
        width: 100% !important;
        max-width: 100% !important;
        color: var(--market-ink) !important;
        font-size: clamp(36px, 10vw, 40px) !important;
        line-height: 1 !important;
        text-shadow: none !important;
    }

    .techart-home .showcase .showcase-header .lead {
        display: block;
        max-width: 40ch;
        margin-top: 14px;
        color: var(--market-muted);
        font-size: 14px;
        line-height: 1.48;
        text-shadow: none;
    }

    .techart-home .showcase-header .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 7px;
        margin-top: 18px;
    }

    .techart-home .showcase-header .hero-actions a {
        min-height: 52px;
        padding: 0 14px;
        font-size: 13px;
    }

    .techart-home .showcase-header .hero-actions .btn-outline {
        display: none !important;
    }

    .techart-home .showcase-header .hero-actions .btn-outline::before {
        display: none;
    }

    .techart-home .showcase-header .hero-trustline {
        display: flex;
        gap: 5px 11px;
        margin-top: 13px;
        font-size: 10px;
    }

    .techart-home .hero-stage .workbench-main {
        grid-row: 2;
    }

    .techart-home .hero-stage .video-wrapper {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 4 / 3 !important;
    }

    .techart-home .video-labels {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .techart-home .video-label {
        min-height: 30px;
        padding: 5px 8px;
        font-size: 10px;
    }

    .techart-home .video-control-dock {
        right: 9px;
        bottom: 9px;
        padding: 4px;
    }

    .techart-home .video-motion-toggle,
    .techart-home .zoom-toggle,
    .techart-home .video-next-toggle {
        width: 44px;
        min-width: 44px;
        height: 44px;
    }

    .techart-home .slider-handle {
        width: 48px;
        height: 48px;
    }

    .techart-home .showcase-meta {
        grid-template-columns: 1fr;
        min-height: 72px;
        margin-top: 14px;
        padding: 8px 0 10px;
    }

    .techart-home .hero-reels {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 4px;
        overflow: visible;
    }

    .techart-home .hero-reel {
        display: block;
        min-width: 0;
        min-height: 55px;
        padding: 3px;
    }

    .techart-home .hero-reel img {
        width: 100%;
        height: 47px;
        border-radius: 3px;
    }

    .techart-home .hero-reel span,
    .techart-home .hero-price,
    .techart-home .showcase-meta .meta-link {
        display: none;
    }

    .techart-home .capability-strip-inner {
        width: calc(100% - 28px);
        min-height: 0;
        padding: 24px 0;
        gap: 12px;
    }

    .techart-home .capability-strip ul {
        display: flex;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .techart-home .capability-strip li {
        min-width: 46%;
        padding: 8px 12px;
        scroll-snap-align: start;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .techart-home .showcase-header .hero-actions {
        grid-template-columns: 1fr !important;
    }

    .techart-home .showcase-header .hero-actions .btn-outline {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .techart-home .comparison-video {
        transition: none;
    }
}

/* Real-project feature chapters
 * The hero keeps the active video proof; these large static pairs make each
 * capability legible without adding more autoplay traffic.
 */
.techart-home .feature-showcase {
    overflow: clip;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #0d1012;
    color: #f5f6f2;
}

.techart-home .feature-showcase-inner {
    width: min(1740px, calc(100% - clamp(36px, 5vw, 112px)));
    margin: 0 auto;
}

.techart-home .feature-showcase-header {
    display: grid;
    grid-template-columns: minmax(380px, 0.9fr) minmax(320px, 0.7fr);
    gap: clamp(44px, 8vw, 150px);
    align-items: end;
    padding: clamp(82px, 9vw, 146px) 0 clamp(64px, 7vw, 112px);
}

.techart-home .feature-kicker,
.techart-home .feature-index {
    margin: 0;
    color: #78d6bd;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
}

.techart-home .feature-showcase-header .feature-kicker {
    grid-column: 1 / -1;
    margin-bottom: calc(clamp(44px, 8vw, 150px) * -0.86);
}

.techart-home .feature-showcase-header h2 {
    max-width: 12ch;
    margin: 0;
    color: #f5f6f2;
    font-size: clamp(45px, 5vw, 78px);
    font-weight: 820;
    line-height: 0.98;
}

.techart-home .feature-showcase-header > p:last-child {
    max-width: 54ch;
    margin: 0;
    color: #aeb5b5;
    font-size: clamp(16px, 1.2vw, 20px);
    line-height: 1.6;
}

.techart-home .feature-story {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(400px, 0.65fr);
    gap: clamp(40px, 5vw, 96px);
    align-items: center;
    padding: clamp(72px, 8vw, 128px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.techart-home .feature-story--reverse {
    grid-template-columns: minmax(400px, 0.65fr) minmax(0, 1.35fr);
}

.techart-home .feature-story--reverse .feature-compare {
    order: 2;
}

.techart-home .feature-story--reverse .feature-copy {
    order: 1;
}

.techart-home .feature-compare {
    --feature-split: 50%;
    position: relative;
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--market-radius);
    background: #050607;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
    isolation: isolate;
}

.techart-home .feature-compare--five-four {
    aspect-ratio: 5 / 4;
}

.techart-home .feature-compare:focus-within {
    outline: 3px solid #78d6bd;
    outline-offset: 4px;
}

.techart-home .feature-after,
.techart-home .feature-before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}

.techart-home .feature-before {
    z-index: 1;
    clip-path: inset(0 calc(100% - var(--feature-split)) 0 0);
}

.techart-home .feature-label {
    position: absolute;
    z-index: 3;
    top: 16px;
    min-height: 32px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 4px;
    background: rgba(7, 9, 10, 0.78);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.45;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.techart-home .feature-label--before {
    left: 16px;
}

.techart-home .feature-label--after {
    right: 16px;
    border-color: rgba(216, 174, 78, 0.72);
    color: #f2cb71;
}

.techart-home .feature-divider {
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;
    left: var(--feature-split);
    width: 2px;
    background: #e8bd56;
    box-shadow: 0 0 16px rgba(232, 189, 86, 0.52);
    transform: translateX(-1px);
    pointer-events: none;
}

.techart-home .feature-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 54px;
    height: 54px;
    border: 2px solid #e8bd56;
    border-radius: 50%;
    place-items: center;
    background: rgba(8, 10, 11, 0.9);
    color: #f5cf74;
    font-size: 22px;
    font-weight: 800;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.42);
}

.techart-home .feature-range {
    position: absolute;
    z-index: 5;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    touch-action: pan-y;
}

.techart-home .feature-copy {
    min-width: 0;
}

.techart-home .feature-copy h3 {
    max-width: 13ch;
    margin: 20px 0 24px;
    color: #f5f6f2;
    font-size: clamp(35px, 3vw, 54px);
    font-weight: 790;
    line-height: 1.04;
}

.techart-home .feature-copy > p:not(.feature-index):not(.feature-source) {
    max-width: 46ch;
    margin: 0;
    color: #aeb5b5;
    font-size: clamp(15px, 1vw, 18px);
    line-height: 1.65;
}

.techart-home .feature-source {
    margin: 30px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #d6d9d6;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
    text-transform: uppercase;
}

.techart-home .feature-showcase-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: clamp(54px, 6vw, 88px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.techart-home .feature-showcase-cta p {
    max-width: 66ch;
    margin: 0;
    color: #aeb5b5;
}

.techart-home .feature-showcase-cta strong {
    color: #f5f6f2;
}

.techart-home .feature-showcase-cta .btn-primary {
    min-height: 54px;
    border-color: #e8bd56;
    background: #e8bd56;
    color: #111315;
    box-shadow: 0 14px 34px rgba(216, 174, 78, 0.2);
}

@media (max-width: 900px) {
    .techart-home .feature-showcase-inner {
        width: min(100% - 40px, 820px);
    }

    .techart-home .feature-showcase-header {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .techart-home .feature-showcase-header .feature-kicker {
        grid-column: auto;
        margin-bottom: 0;
    }

    .techart-home .feature-story,
    .techart-home .feature-story--reverse {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .techart-home .feature-story--reverse .feature-compare,
    .techart-home .feature-story--reverse .feature-copy {
        order: initial;
    }

    .techart-home .feature-copy {
        max-width: 650px;
    }

    .techart-home .feature-copy h3 {
        max-width: 16ch;
    }
}

@media (max-width: 680px) {
    .techart-home .feature-showcase-inner {
        width: calc(100% - 28px);
    }

    .techart-home .feature-showcase-header {
        padding: 64px 0 44px;
        gap: 20px;
    }

    .techart-home .feature-showcase-header h2 {
        max-width: 11ch;
        font-size: clamp(38px, 10.5vw, 48px);
    }

    .techart-home .feature-showcase-header > p:last-child {
        font-size: 15px;
        line-height: 1.55;
    }

    .techart-home .feature-story {
        gap: 24px;
        padding: 48px 0 56px;
    }

    .techart-home .feature-compare,
    .techart-home .feature-compare--five-four {
        aspect-ratio: 4 / 3;
    }

    .techart-home .feature-label {
        top: 10px;
        min-height: 30px;
        padding: 6px 8px;
        font-size: 10px;
    }

    .techart-home .feature-label--before {
        left: 10px;
    }

    .techart-home .feature-label--after {
        right: 10px;
    }

    .techart-home .feature-handle {
        width: 48px;
        height: 48px;
    }

    .techart-home .feature-copy h3 {
        max-width: 14ch;
        margin: 14px 0 18px;
        font-size: clamp(32px, 9.2vw, 42px);
    }

    .techart-home .feature-copy > p:not(.feature-index):not(.feature-source) {
        font-size: 15px;
        line-height: 1.58;
    }

    .techart-home .feature-source {
        margin-top: 22px;
        padding-top: 14px;
        font-size: 10px;
    }

    .techart-home .feature-showcase-cta {
        grid-template-columns: 1fr;
        padding: 46px 0 58px;
    }

    .techart-home .feature-showcase-cta .btn-primary {
        width: 100%;
    }
}
