
/* ========================================
   T4R — GLOBAL
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #111111;
    overflow-x: hidden;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
}


/* ========================================
   HEADER
======================================== */

.header {
    width: 100%;
    height: 80px;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    position: relative;
    z-index: 1000;
}

.header-container {
    width: 100%;
    height: 100%;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 105px;
    height: auto;
    display: block;
}


/* ========================================
   HAMBURGER MENU BUTTON
======================================== */

.menu-button {
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    cursor: pointer;
}

.menu-button span {
    display: block;
    height: 2px;
    background: #111111;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-button span:nth-child(1),
.menu-button span:nth-child(3) {
    width: 24px;
}

.menu-button span:nth-child(2) {
    width: 18px;
}

.menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ========================================
   NAVIGATION MENU
======================================== */

.menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
    padding: 32px 5%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu a {
    padding: 21px 0;
    border-bottom: 1px solid #eeeeee;
    color: #111111;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    transition: padding-left 0.2s ease;
}

.menu a:hover {
    padding-left: 8px;
}


/* ========================================
   HERO SECTION
======================================== */

.hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: clamp(540px, 43vw, 680px);
    min-height: 520px;
    overflow: hidden;
    background: #f0f1f3;
    color: #ffffff;
}

.hero-slides,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slides {
    z-index: -2;
}

.hero-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-image.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(8, 10, 15, 0.88) 0%,
        rgba(8, 10, 15, 0.75) 28%,
        rgba(8, 10, 15, 0.40) 48%,
        rgba(8, 10, 15, 0.04) 75%,
        rgba(8, 10, 15, 0.00) 100%
    );
}

.hero-content {
    width: 100%;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    padding: 65px 7%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero-eyebrow {
    margin-bottom: 22px;
    color: #c5d3ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    line-height: 1.7;
}

.hero-content h1 {
    max-width: 620px;
    font-size: clamp(48px, 5.2vw, 78px);
    line-height: 1.04;
    letter-spacing: -2.8px;
    font-weight: 800;
}

.hero-content h1 span {
    color: #8caaff;
}

.hero-content p {
    max-width: 430px;
    margin-top: 22px;
    color: #e0e2e9;
    font-size: 16px;
    line-height: 1.8;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
    padding: 15px 22px;
    background: #ffffff;
    color: #111111;
    border: 1px solid #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease;
}

.hero-cta:hover {
    background: #dce5ff;
    border-color: #dce5ff;
}

.hero-cta span {
    font-size: 18px;
}


/* ========================================
   CAROUSEL INDICATORS
======================================== */

.hero-indicators {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 36px;
}

.hero-dot {
    width: 24px;
    height: 4px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot.active {
    width: 42px;
    background: #ffffff;
}

.hero-counter {
    position: absolute;
    right: 6%;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 1px;
}

.counter-divider {
    width: 30px;
    height: 1px;
    background: rgba(255, 255, 255, 0.65);
}


/* ========================================
   USE-CASE CATEGORIES
======================================== */

.use-cases {
    width: 100%;
    padding: 66px 5% 74px;
    background: #ffffff;
    overflow: hidden;
}

.use-cases-heading {
    max-width: 1320px;
    margin: 0 auto 30px;
}

.section-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #68758c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.use-cases-heading h2 {
    color: #111827;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -1.2px;
}

.use-cases-heading p {
    margin-top: 12px;
    color: #737b89;
    font-size: 15px;
    line-height: 1.7;
}

.category-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    max-width: 1320px;
    margin: 0 auto;
}

.category-card {
    min-width: 0;
    min-height: 155px;
    padding: 23px 20px;
    border: 1px solid rgba(20, 30, 50, 0.05);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    color: #172033;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(20, 30, 50, 0.08);
    border-color: rgba(20, 30, 50, 0.12);
}

.category-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    line-height: 1;
}

.category-name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/* Pastel category colors */

.category-card.gaming {
    background: #fff0f2;
}

.category-card.coding {
    background: #eaf3ff;
}

.category-card.college {
    background: #e9f8ef;
}

.category-card.editing {
    background: #f3edff;
}

.category-card.ai-ml {
    background: #fff4e5;
}


/* ========================================
   FIND MY LAPTOP PLACEHOLDER
======================================== */

.home-placeholder {
    padding: 76px 24px;
    text-align: center;
    background: #f8f9fb;
}

.home-placeholder p {
    color: #626b7c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.8;
}

.home-placeholder h2 {
    margin-top: 14px;
    color: #111827;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -1.2px;
}


/* ========================================
   TABLET
======================================== */

@media (min-width: 601px) and (max-width: 1000px) {
    .header-container {
        padding: 0 30px;
    }

    .hero {
        height: 590px;
    }

    .hero-content {
        padding: 55px 5%;
    }

    .hero-content h1 {
        max-width: 520px;
        font-size: clamp(46px, 6vw, 62px);
    }

    .hero-content p {
        max-width: 370px;
        font-size: 15px;
    }

    .hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(8, 10, 15, 0.90) 0%,
            rgba(8, 10, 15, 0.76) 38%,
            rgba(8, 10, 15, 0.38) 65%,
            rgba(8, 10, 15, 0.05) 100%
        );
    }

    .use-cases {
        padding: 55px 30px 60px;
    }

    .category-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .category-card {
        min-height: 135px;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {
    .header {
        height: 68px;
    }

    .header-container {
        padding: 0 20px;
    }

    .logo img {
        width: 86px;
    }

    .menu {
        top: 68px;
        height: calc(100vh - 68px);
        height: calc(100dvh - 68px);
        padding: 24px;
    }

    .menu a {
        padding: 19px 0;
        font-size: 20px;
    }

    /* Mobile hero */

    .hero {
        height: auto;
        min-height: 660px;
        max-height: none;
        background: #11151e;
    }

    .hero-slides {
        overflow: hidden;
    }

    .hero-image {
        object-fit: cover;
        object-position: 72% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(8, 10, 15, 0.88) 0%,
                rgba(8, 10, 15, 0.75) 46%,
                rgba(8, 10, 15, 0.35) 100%
            ),
            linear-gradient(
                0deg,
                rgba(8, 10, 15, 0.45) 0%,
                rgba(8, 10, 15, 0.08) 70%
            );
    }

    .hero-content {
        min-height: 660px;
        height: 100%;
        padding: 58px 24px 100px;
        justify-content: center;
    }

    .hero-eyebrow {
        max-width: 270px;
        margin-bottom: 18px;
        font-size: 9px;
        letter-spacing: 1.8px;
        line-height: 1.8;
    }

    .hero-content h1 {
        max-width: 390px;
        font-size: clamp(39px, 10vw, 54px);
        line-height: 1.06;
        letter-spacing: -1.8px;
    }

    .hero-content p {
        max-width: 330px;
        margin-top: 18px;
        font-size: 14px;
        line-height: 1.75;
    }

    .hero-cta {
        margin-top: 24px;
        padding: 14px 18px;
        gap: 18px;
        font-size: 13px;
    }

    .hero-indicators {
        margin-top: 30px;
    }

    .hero-counter {
        right: 22px;
        bottom: 22px;
        font-size: 11px;
    }

    /* Mobile category section */

    .use-cases {
        padding: 44px 0 42px;
    }

    .use-cases-heading {
        padding: 0 22px;
        margin-bottom: 22px;
    }

    .section-eyebrow {
        margin-bottom: 10px;
        font-size: 9px;
        letter-spacing: 1.8px;
    }

    .use-cases-heading h2 {
        max-width: 340px;
        font-size: clamp(26px, 7vw, 31px);
        line-height: 1.2;
        letter-spacing: -0.9px;
    }

    .use-cases-heading p {
        margin-top: 9px;
        font-size: 13px;
    }

    /* Swipeable categories */

    .category-track {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 4px 22px 15px;
        margin: 0;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 22px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .category-track::-webkit-scrollbar {
        display: none;
    }

    .category-card {
        flex: 0 0 132px;
        width: 132px;
        min-height: 128px;
        padding: 17px 15px;
        border-radius: 13px;
        gap: 16px;
        scroll-snap-align: start;
    }

    .category-card:hover {
        transform: none;
        box-shadow: none;
    }

    .category-icon {
        width: 36px;
        height: 36px;
        font-size: 23px;
    }

    .category-name {
        font-size: 13px;
    }

    .home-placeholder {
        padding: 52px 22px;
    }

    .home-placeholder h2 {
        font-size: 29px;
    }
}


/* ========================================
   SMALL MOBILE SCREENS
======================================== */

@media (max-width: 380px) {
    .hero {
        min-height: 620px;
    }

    .hero-content {
        min-height: 620px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        max-width: 290px;
        font-size: 13px;
    }

    .use-cases-heading {
        padding: 0 20px;
    }

    .category-track {
        padding-left: 20px;
        padding-right: 20px;
    }

    .category-card {
        flex-basis: 124px;
        width: 124px;
    }
}


/* ========================================
   KEYBOARD ACCESSIBILITY
======================================== */

.menu-button:focus-visible,
.menu a:focus-visible,
.hero-cta:focus-visible,
.hero-dot:focus-visible,
.category-card:focus-visible {
    outline: 2px solid #597ce5;
    outline-offset: 4px;
}


/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* ========================================
   T4R — EXPLORE SECTION
======================================== */

.explore-t4r {
    width: 100%;
    padding: 90px 7%;
    background: #f7f7f8;
    color: #17181d;
}

.explore-heading {
    max-width: 1440px;
    margin: 0 auto 36px;
}

.explore-heading .section-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #747681;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.explore-heading h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1.8px;
}

.explore-heading h2 span {
    color: #8585ff;
}

.explore-heading p {
    margin: 14px 0 0;
    color: #686a75;
    font-size: 15px;
    line-height: 1.6;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1440px;
    margin: 0 auto;
}

.explore-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 245px;
    padding: 24px;
    color: #f8f8fb;
    text-decoration: none;
    background: #17181e;
    border: 1px solid #292a33;
    border-radius: 16px;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.explore-card:hover {
    transform: translateY(-5px);
    background: #20212a;
    border-color: #8585ff;
}

.explore-card:focus-visible {
    outline: 3px solid #8585ff;
    outline-offset: 4px;
}

.explore-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.explore-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #b3b3ff;
    background: #292938;
    border-radius: 12px;
    font-size: 28px;
}

.explore-arrow {
    color: #9b9ca8;
    font-size: 22px;
    transition: transform 0.25s ease;
}

.explore-card:hover .explore-arrow {
    transform: translate(3px, -3px);
}

.explore-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.35;
    letter-spacing: -0.4px;
}

.explore-card p {
    margin: 0 0 24px;
    color: #a9aab5;
    font-size: 13px;
    line-height: 1.7;
}

.explore-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #b3b3ff;
    font-size: 12px;
    font-weight: 700;
}

.explore-link span {
    font-size: 16px;
}

/* TABLET */

@media (max-width: 1050px) {
    .explore-t4r {
        padding: 72px 5%;
    }

    .explore-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .explore-card {
        min-height: 225px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .explore-t4r {
        padding: 58px 20px;
    }

    .explore-heading {
        margin-bottom: 26px;
    }

    .explore-heading h2 {
        font-size: 34px;
        letter-spacing: -1.2px;
    }

    .explore-heading p {
        max-width: 280px;
        font-size: 14px;
    }

    .explore-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .explore-card {
        min-height: 220px;
        padding: 16px 14px;
        border-radius: 13px;
    }

    .explore-card-top {
        margin-bottom: 24px;
    }

    .explore-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 24px;
    }

    .explore-arrow {
        font-size: 19px;
    }

    .explore-card h3 {
        font-size: 16px;
        letter-spacing: -0.3px;
    }

    .explore-card p {
        font-size: 12px;
        line-height: 1.6;
    }

    .explore-link {
        gap: 5px;
        font-size: 11px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .explore-card,
    .explore-arrow {
        transition: none;
    }

    .explore-card:hover {
        transform: none;
    }
}


/* ========================================
   T4R — COMPARE LAPTOPS
======================================== */

.compare-section {
    padding: 88px 7%;
    background: #101116;
    color: #f6f6fa;
}

.compare-container {
    max-width: 1440px;
    margin: 0 auto;
}

.compare-heading {
    max-width: 680px;
    margin-bottom: 36px;
}

.compare-heading .section-eyebrow,
.compare-results-heading .section-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #aaaab8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.compare-heading h2,
.compare-results-heading h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.1;
    letter-spacing: -1.7px;
}

.compare-heading h2 span {
    color: #a6a6ff;
}

.compare-heading > p,
.compare-results-heading > p {
    margin-top: 14px;
    color: #b5b5c1;
    font-size: 15px;
    line-height: 1.7;
}

.compare-laptop-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.compare-laptop-card {
    min-width: 0;
    margin: 0;
    padding: 24px;
    border: 1px solid #30313c;
    border-radius: 18px;
    background: #181920;
}

.compare-laptop-title {
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    padding: 0 0 22px;
    color: #f7f7fb;
    font-size: 21px;
    font-weight: 700;
}

.compare-number {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #292a3a;
    color: #b3b3ff;
    font-size: 12px;
    letter-spacing: 1px;
}

.compare-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
}

.compare-field {
    min-width: 0;
}

.compare-field-full {
    grid-column: 1 / -1;
}

.compare-field label {
    display: block;
    margin-bottom: 8px;
    color: #d7d7e1;
    font-size: 12px;
    font-weight: 600;
}

.compare-field input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 12px;
    border: 1px solid #383946;
    border-radius: 9px;
    outline: none;
    background: #101116;
    color: #f8f8fc;
    font: inherit;
    font-size: 13px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.compare-field input::placeholder {
    color: #777987;
}

.compare-field input:focus {
    border-color: #a6a6ff;
    box-shadow: 0 0 0 3px rgb(166 166 255 / 13%);
}

.compare-field input:invalid:not(:placeholder-shown) {
    border-color: #e98989;
}

.compare-required-note {
    margin: 16px 0 20px;
    color: #a8a8b5;
    font-size: 12px;
}

.compare-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 50px;
    padding: 0 25px;
    border: 0;
    border-radius: 10px;
    background: #a6a6ff;
    color: #101116;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.compare-submit:hover {
    transform: translateY(-2px);
    background: #bcbcfa;
}

.compare-submit:focus-visible,
.compare-reset:focus-visible {
    outline: 3px solid #c7c7ff;
    outline-offset: 4px;
}

.compare-submit span {
    font-size: 18px;
}

.compare-error {
    margin: 16px 0 0;
    color: #ffb1b1;
    font-size: 13px;
    line-height: 1.6;
}

.compare-results {
    margin-top: 72px;
    scroll-margin-top: 30px;
}

.compare-results-heading {
    margin-bottom: 26px;
}

.compare-table-wrap {
    overflow-x: auto;
    border: 1px solid #30313c;
    border-radius: 14px;
    background: #181920;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    text-align: left;
}

.compare-table th,
.compare-table td {
    padding: 17px 20px;
    border-bottom: 1px solid #30313c;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.compare-table thead th {
    background: #20212a;
    color: #f7f7fb;
    font-weight: 700;
}

.compare-table th:first-child {
    width: 25%;
    color: #c0c0cd;
}

.compare-table tbody th {
    font-weight: 600;
}

.compare-table td {
    color: #e4e4ec;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
    border-bottom: 0;
}

.compare-table .compare-different {
    background: rgb(166 166 255 / 7%);
}

.compare-table .compare-price-row td {
    color: #c5c5ff;
    font-weight: 750;
}

.compare-verdict {
    margin-top: 22px;
    padding: 24px;
    border: 1px solid #38394a;
    border-radius: 14px;
    background: #191a24;
}

.compare-verdict h3 {
    margin: 0 0 10px;
    font-size: 19px;
}

.compare-verdict p {
    margin: 0;
    color: #c4c4d0;
    font-size: 14px;
    line-height: 1.8;
}

.compare-disclaimer {
    margin-top: 18px;
    color: #9c9daa;
    font-size: 12px;
    line-height: 1.7;
}

.compare-reset {
    margin-top: 18px;
    padding: 11px 17px;
    border: 1px solid #494a59;
    border-radius: 9px;
    background: transparent;
    color: #f4f4fa;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.compare-reset:hover {
    border-color: #a6a6ff;
}

.compare-section [hidden] {
    display: none !important;
}

/* TABLET */

@media (max-width: 950px) {
    .compare-section {
        padding: 72px 5%;
    }

    .compare-laptop-grid {
        gap: 14px;
    }

    .compare-laptop-card {
        padding: 18px;
    }

    .compare-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .compare-field-full {
        grid-column: auto;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .compare-section {
        padding: 56px 18px;
    }

    .compare-heading {
        margin-bottom: 28px;
    }

    .compare-heading h2,
    .compare-results-heading h2 {
        font-size: 34px;
        letter-spacing: -1.2px;
    }

    .compare-heading > p,
    .compare-results-heading > p {
        font-size: 14px;
    }

    .compare-laptop-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .compare-laptop-card {
        padding: 19px 16px;
        border-radius: 14px;
    }

    .compare-laptop-title {
        padding-bottom: 20px;
        font-size: 19px;
    }

    .compare-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 11px;
    }

    .compare-field-full {
        grid-column: 1 / -1;
    }

    .compare-field label {
        font-size: 11px;
        line-height: 1.5;
    }

    .compare-field input {
        min-height: 44px;
        padding: 10px;
        font-size: 12px;
    }

    .compare-submit {
        width: 100%;
        min-height: 50px;
    }

    .compare-results {
        margin-top: 52px;
    }

    .compare-table th,
    .compare-table td {
        padding: 13px 12px;
        font-size: 12px;
    }

    .compare-verdict {
        padding: 19px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .compare-field input,
    .compare-submit {
        transition: none;
    }

    .compare-submit:hover {
        transform: none;
    }
}


/* T4R — CATALOGUE DROPDOWNS */

.compare-field select {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 12px;
    border: 1px solid #383946;
    border-radius: 9px;
    outline: none;
    background: #101116;
    color: #f8f8fc;
    font: inherit;
    font-size: 13px;
}

.compare-field select:focus {
    border-color: #a6a6ff;
    box-shadow: 0 0 0 3px rgb(166 166 255 / 13%);
}

.compare-spec-preview {
    grid-column: 1 / -1;
    padding: 16px;
    border: 1px solid #30313c;
    border-radius: 12px;
    background: #111218;
    color: #d9d9e4;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.compare-spec-preview strong {
    display: block;
    margin-bottom: 8px;
    color: #c5c5ff;
    font-size: 15px;
}

.compare-spec-preview ul {
    margin: 0;
    padding-left: 18px;
}

.compare-spec-preview small {
    display: block;
    margin-top: 10px;
    color: #b9b0a0;
    font-size: 11px;
}

@media (max-width: 600px) {
    .compare-field select {
        min-height: 44px;
        padding: 10px;
        font-size: 12px;
    }

    .compare-spec-preview {
        padding: 13px;
    }
}


/* ========================================
   T4R — WHAT CAN I DO? FEATURE
======================================== */
.what-page { max-width: 1180px; margin: 0 auto; padding: 54px 24px 90px; }
.what-hero { padding: clamp(28px, 6vw, 70px); border: 1px solid #e9e9f2; border-radius: 28px; background: radial-gradient(circle at 88% 15%, rgba(133,133,255,.18), transparent 36%), #fafaff; }
.what-kicker { color: #7777ec; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.what-hero h1 { margin: 14px 0; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.03; letter-spacing: -.055em; }
.what-hero h1 span { color: #8585ff; }
.what-hero p { max-width: 650px; color: #666675; line-height: 1.75; }
.what-panel { margin-top: 24px; padding: clamp(20px, 3vw, 32px); border: 1px solid #e8e8ef; border-radius: 22px; background: #fff; }
.what-panel-head { display:flex; gap:18px; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; margin-bottom:20px; }
.what-panel h2 { margin: 0 0 8px; font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing:-.035em; }
.what-muted { margin:0; color:#777783; line-height:1.6; }
.what-select { display:block; width:100%; max-width:720px; padding:15px 16px; border:1px solid #dcdce8; border-radius:12px; background:#fff; color:#17171f; font:inherit; }
.what-select:focus-visible,.what-tab:focus-visible,.what-reset:focus-visible { outline:3px solid #8585ff; outline-offset:3px; }
.what-specs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:18px; }
.what-spec { padding:14px; border-radius:14px; background:#f7f7fb; min-width:0; }
.what-spec small { display:block; margin-bottom:7px; color:#777783; font-size:.72rem; }
.what-spec strong { display:block; overflow-wrap:anywhere; font-size:.9rem; }
.what-status { margin-top:16px; padding:12px 14px; border-left:3px solid #8585ff; border-radius:8px; background:#f7f7ff; color:#535366; font-size:.86rem; line-height:1.6; }
.what-tabs { display:flex; gap:9px; flex-wrap:wrap; margin:24px 0 18px; }
.what-tab { border:1px solid #e2e2ed; border-radius:999px; padding:10px 14px; background:#fff; color:#454552; font:inherit; font-size:.86rem; cursor:pointer; transition:background .18s,color .18s,border-color .18s; }
.what-tab.active { background:#8585ff; color:#fff; border-color:#8585ff; }
.what-results-head { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:16px; }
.what-count { color:#777783; font-size:.82rem; }
.what-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.what-card { padding:20px; border:1px solid #e8e8ef; border-radius:18px; background:#fff; }
.what-card-top { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.what-card h3 { margin:0 0 7px; font-size:1.08rem; }
.what-card p { margin:0; color:#70707d; line-height:1.6; font-size:.9rem; }
.what-badge { flex-shrink:0; padding:6px 9px; border-radius:999px; background:#f0efff; color:#5554b6; font-size:.72rem; font-weight:750; }
.what-badge.limited { background:#fff3e7; color:#9a5a1b; }
.what-badge.unknown { background:#f1f1f4; color:#666675; }
.what-meta { display:flex; gap:7px; flex-wrap:wrap; margin-top:14px; }
.what-chip { padding:5px 8px; border-radius:7px; background:#f6f6fa; color:#686876; font-size:.72rem; }
.what-empty { padding:26px; text-align:center; border:1px dashed #d8d8e5; border-radius:16px; color:#777783; }
.what-footnote { margin:18px 2px 0; color:#777783; font-size:.78rem; line-height:1.7; }
.what-reset { border:0; background:transparent; color:#6666db; font:inherit; font-weight:700; cursor:pointer; }
@media(max-width:700px){.what-page{padding:28px 16px 60px}.what-specs{grid-template-columns:repeat(2,minmax(0,1fr))}.what-grid{grid-template-columns:1fr}.what-hero{border-radius:20px}}

/* ========================================
   T4R — FEATURED LAPTOP SETUPS
   Added without changing existing styles
======================================== */

.laptop-setups {
    width: 100%;
    padding: 88px 7%;
    background: #ffffff;
    color: #17181d;
}

.laptop-setups-container {
    max-width: 1440px;
    margin: 0 auto;
}

.laptop-setups-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.laptop-setups-heading h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1.8px;
}

.laptop-setups-heading h2 span {
    color: #8585ff;
}

.laptop-setups-heading p {
    margin-top: 14px;
    color: #686a75;
    font-size: 15px;
    line-height: 1.7;
}

.setups-view-all {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    padding-bottom: 5px;
    color: #242430;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    transition: color 0.2s ease;
}

.setups-view-all span {
    color: #8585ff;
    font-size: 19px;
    transition: transform 0.2s ease;
}

.setups-view-all:hover {
    color: #6b6be8;
}

.setups-view-all:hover span {
    transform: translateX(4px);
}

.featured-setups-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.featured-setup-card {
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8e8ee;
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.featured-setup-card:hover {
    transform: translateY(-4px);
    border-color: #d4d4ff;
    box-shadow: 0 16px 36px rgba(24, 24, 48, 0.09);
}

.featured-setup-card:focus-visible,
.setups-view-all:focus-visible {
    outline: 3px solid #8585ff;
    outline-offset: 4px;
}

.featured-setup-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f1f1f5;
}

.featured-setup-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.featured-setup-card:hover .featured-setup-image-wrap img {
    transform: scale(1.035);
}

.featured-setup-arrow {
    position: absolute;
    top: 15px;
    right: 15px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(16, 17, 22, 0.7);
    color: #fff;
    font-size: 19px;
    backdrop-filter: blur(8px);
}

.featured-setup-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 21px 22px 23px;
}

.featured-setup-info h3 {
    margin: 0;
    font-size: 19px;
    line-height: 1.35;
    letter-spacing: -0.35px;
}

.featured-setup-info p {
    margin: 7px 0 0;
    color: #777783;
    font-size: 13px;
    line-height: 1.6;
}

.featured-setup-link {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 7px;
    color: #6f6fe7;
    font-size: 12px;
    font-weight: 750;
}

.featured-setup-link span {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.featured-setup-card:hover .featured-setup-link span {
    transform: translateX(3px);
}

@media (max-width: 1050px) {
    .laptop-setups {
        padding: 72px 5%;
    }

    .featured-setups-grid {
        gap: 15px;
    }

    .featured-setup-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .laptop-setups {
        padding: 56px 20px;
    }

    .laptop-setups-heading {
        align-items: flex-start;
        margin-bottom: 24px;
    }

    .laptop-setups-heading h2 {
        font-size: 34px;
        letter-spacing: -1.2px;
    }

    .laptop-setups-heading p {
        max-width: 280px;
        font-size: 14px;
    }

    .setups-view-all {
        gap: 5px;
        margin-top: 27px;
        font-size: 12px;
    }

    .featured-setups-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .featured-setup-card {
        border-radius: 14px;
    }

    .featured-setup-info {
        flex-direction: row;
        align-items: center;
        padding: 17px 16px 19px;
    }

    .featured-setup-info h3 {
        font-size: 17px;
    }

    .featured-setup-info p {
        font-size: 12px;
    }

    .featured-setup-link {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .featured-setup-card,
    .featured-setup-image-wrap img,
    .setups-view-all span,
    .featured-setup-link span {
        transition: none;
    }

    .featured-setup-card:hover,
    .featured-setup-card:hover .featured-setup-image-wrap img {
        transform: none;
    }
}



/* ========================================
   T4R — FEATURED LAPTOPS + CATALOGUE
   Additive styles only; existing sections untouched.
======================================== */
.featured-laptops {
    padding: 82px 7%;
    background: #fff;
    color: #17181d;
}
.featured-laptops-container, .laptops-page-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}
.featured-laptops-heading, .laptops-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}
.featured-laptops-heading h2, .laptops-page-heading h1 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -1.6px;
}
.featured-laptops-heading h2 span { color: #8585ff; }
.featured-laptops-heading p, .laptops-page-heading p {
    margin-top: 12px;
    color: #747681;
    font-size: 15px;
    line-height: 1.7;
}
.laptops-view-all {
    flex-shrink: 0;
    color: #17181d;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding-bottom: 5px;
}
.laptops-view-all span { color: #8585ff; margin-left: 5px; }
.featured-laptops-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.laptop-product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8e8ee;
    border-radius: 14px;
    background: #fff;
    color: #17181d;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    cursor: pointer;
}
.laptop-product-card:hover {
    transform: translateY(-4px);
    border-color: #c8c8ff;
    box-shadow: 0 14px 34px rgba(25, 25, 55, .09);
}
.laptop-product-image {
    width: 100%;
    aspect-ratio: 5 / 3.7;
    display: block;
    object-fit: contain;
    padding: 18px;
    background: #f7f7fa;
}
.laptop-product-info { padding: 17px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.laptop-brand { color: #77798a; text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.laptop-product-info h3 { font-size: 16px; line-height: 1.4; letter-spacing: -.25px; }
.laptop-config { color: #686b78; font-size: 12px; line-height: 1.6; }
.laptop-price { margin-top: auto; padding-top: 5px; font-size: 17px; font-weight: 800; }
.laptop-card-action { margin-top: 3px; color: #6666e8; font-size: 12px; font-weight: 700; }
.laptops-loading { color: #77798a; padding: 20px 0; }
.laptops-page { min-height: 70vh; padding: 68px 7% 90px; background: #fff; }
.laptops-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.laptops-search, .laptops-filter {
    min-height: 46px; border: 1px solid #dedee8; border-radius: 8px; padding: 0 14px;
    background: #fff; color: #17181d; font: inherit; outline-offset: 3px;
}
.laptops-search { flex: 1 1 260px; }
.laptops-filter { flex: 0 1 190px; }
.laptops-results-count { color: #77798a; font-size: 13px; margin: -12px 0 20px; }
.laptops-catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.laptop-detail-overlay {
    position: fixed; inset: 0; z-index: 2000; padding: 22px; background: rgba(12, 13, 20, .72);
    display: none; align-items: center; justify-content: center; overflow-y: auto;
}
.laptop-detail-overlay.active { display: flex; }
.laptop-detail-dialog {
    position: relative; width: min(900px, 100%); max-height: 90vh; overflow-y: auto;
    border-radius: 16px; background: #fff; padding: 28px; display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px;
}
.laptop-detail-close {
    position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border: 0;
    border-radius: 50%; background: #f0f0f5; font-size: 24px; cursor: pointer;
}
.laptop-detail-image { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f7f7fa; border-radius: 10px; }
.laptop-detail-copy h2 { font-size: clamp(23px, 3vw, 32px); line-height: 1.2; padding-right: 24px; margin: 8px 0 10px; }
.laptop-detail-copy > p { color: #656777; font-size: 14px; line-height: 1.7; }
.laptop-spec-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 20px 0; }
.laptop-spec-item { padding: 11px; border-radius: 8px; background: #f7f7fa; min-width: 0; }
.laptop-spec-item small { display: block; color: #77798a; margin-bottom: 5px; }
.laptop-spec-item strong { font-size: 13px; overflow-wrap: anywhere; }
.laptop-buy-link { display: inline-flex; padding: 13px 17px; border-radius: 7px; background: #8585ff; color: #fff; text-decoration: none; font-size: 13px; font-weight: 800; }
.laptop-buy-link.disabled { opacity: .55; pointer-events: none; }
@media (max-width: 1050px) {
    .featured-laptops-grid, .laptops-catalog-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 700px) {
    .featured-laptops, .laptops-page { padding: 52px 22px 60px; }
    .featured-laptops-heading, .laptops-page-heading { align-items: flex-start; }
    .featured-laptops-heading h2, .laptops-page-heading h1 { font-size: 31px; }
    .featured-laptops-heading p, .laptops-page-heading p { font-size: 13px; }
    .featured-laptops-grid, .laptops-catalog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
    .laptop-product-image { padding: 10px; }
    .laptop-product-info { padding: 12px; gap: 7px; }
    .laptop-product-info h3 { font-size: 14px; }
    .laptop-config { font-size: 11px; }
    .laptop-price { font-size: 15px; }
    .laptop-detail-dialog { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
    .laptop-detail-image { max-height: 240px; }
}
@media (max-width: 380px) {
    .featured-laptops-grid, .laptops-catalog-grid { grid-template-columns: 1fr; }
    .featured-laptops-heading, .laptops-page-heading { flex-direction: column; }
}

/* T4R catalogue cards: clickable content without price labels */
.laptop-card-open { display:flex; flex-direction:column; width:100%; height:100%; padding:0; border:0; background:transparent; color:inherit; text-align:left; font:inherit; cursor:pointer; }
.laptop-card-open:focus-visible { outline:3px solid #8585ff; outline-offset:3px; border-radius:12px; }
.laptop-product-info h3 { margin:0; }
.laptop-card-action { margin-top:auto; padding-top:6px; }


/* ========================================
   T4R PREMIUM FOOTER
======================================== */

.t4r-footer {
  --t4r-accent: #8585ff;

  width: 100%;
  background: #101116;
  color: #ffffff;

  padding: 64px 5.5% 22px;

  border-top: 1px solid rgba(133, 133, 255, 0.15);

  font-family: inherit;
  box-sizing: border-box;
}

.t4r-footer *,
.t4r-footer *::before,
.t4r-footer *::after {
  box-sizing: border-box;
}

.t4r-footer-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* TOP SECTION */

.t4r-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 64px;
  padding-bottom: 48px;
}

/* BRAND */

.t4r-footer-brand {
  flex: 1;
  max-width: 360px;
}

/* LOGO IMAGE */

.t4r-footer-logo {
  display: inline-flex;
  align-items: center;

  max-width: 100%;
  text-decoration: none;
}

.t4r-footer-logo img {
  display: block;

  width: 150px;
  max-width: 100%;
  height: auto;

  object-fit: contain;
  object-position: left center;
}

.t4r-footer-description {
  margin: 16px 0 18px;

  color: #b2b3c0;
  font-size: 14px;
  line-height: 1.8;
}

.t4r-footer-tagline {
  color: #d7d7e2;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.t4r-footer-tagline span {
  color: var(--t4r-accent);
  padding: 0 4px;
}

/* NAVIGATION COLUMNS */

.t4r-footer-links {
  display: flex;
  gap: clamp(40px, 8vw, 120px);
}

.t4r-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 14px;
  min-width: 125px;
}

.t4r-footer-column h3 {
  margin: 0 0 7px;

  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.t4r-footer-column a {
  color: #b2b3c0;

  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;

  transition: color 0.2s ease;
}

.t4r-footer-column a:hover {
  color: var(--t4r-accent);
}

.t4r-footer a:focus-visible {
  outline: 2px solid var(--t4r-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* BOTTOM BAR */

.t4r-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 20px;
  padding-top: 22px;

  border-top: 1px solid #30313b;
}

.t4r-footer-bottom p {
  margin: 0;

  color: #9698a7;
  font-size: 11px;
  line-height: 1.8;
}

.t4r-footer-made span {
  color: var(--t4r-accent);
}

/* TABLET AND MOBILE */

@media (max-width: 700px) {
  .t4r-footer {
    padding: 46px 6% 20px;
  }

  .t4r-footer-top {
    flex-direction: column;
    gap: 38px;
    padding-bottom: 35px;
  }

  .t4r-footer-brand {
    max-width: 100%;
    width: 100%;
  }

  .t4r-footer-logo img {
    width: 140px;
  }

  .t4r-footer-links {
    width: 100%;
    justify-content: space-between;
    gap: 24px;
  }

  .t4r-footer-column {
    min-width: 0;
    gap: 15px;
  }

  .t4r-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* SMALL PHONES */

@media (max-width: 360px) {
  .t4r-footer {
    padding-right: 5%;
    padding-left: 5%;
  }

  .t4r-footer-links {
    gap: 16px;
  }

  .t4r-footer-column a {
    font-size: 12px;
  }

  .t4r-footer-logo img {
    width: 125px;
  }
}


/* ========================================
   HOMEPAGE MOBILE REFINEMENTS
======================================== */

@media (max-width: 600px) {
    .header {
        position: sticky;
        top: 0;
        height: 64px;
        box-shadow: 0 4px 18px rgba(16, 17, 22, 0.06);
    }

    .header-container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .menu {
        top: 64px;
        height: calc(100vh - 64px);
        height: calc(100dvh - 64px);
    }

    /* Compact mobile hero: prevent the banner from dominating the first screen */
    .hero {
        height: clamp(340px, 76vw, 395px);
        min-height: 0;
        max-height: 395px;
        border-radius: 0 0 16px 16px;
    }

    .hero-slides,
    .hero-overlay {
        height: 100%;
    }

    .hero-image {
        object-fit: cover;
        object-position: 67% center;
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(8, 10, 15, 0.9) 0%, rgba(8, 10, 15, 0.73) 52%, rgba(8, 10, 15, 0.2) 100%),
            linear-gradient(0deg, rgba(8, 10, 15, 0.45), transparent 55%);
    }

    .hero-content {
        min-height: 0;
        height: 100%;
        padding: 28px 22px 58px;
        justify-content: center;
    }

    .hero-eyebrow {
        margin-bottom: 10px;
        font-size: 8px;
        letter-spacing: 1.5px;
        line-height: 1.5;
    }

    .hero-content h1 {
        max-width: 360px;
        font-size: clamp(32px, 8.2vw, 39px);
        line-height: 1.04;
        letter-spacing: -1.3px;
    }

    .hero-content p {
        max-width: 310px;
        margin-top: 11px;
        font-size: 12px;
        line-height: 1.5;
    }

    .hero-cta {
        min-height: 42px;
        margin-top: 16px;
        padding: 10px 16px;
        gap: 14px;
        border-radius: 999px;
    }

    .hero-indicators {
        margin-top: 18px;
        gap: 7px;
    }

    .hero-dot {
        width: 20px;
        height: 3px;
    }

    .hero-dot.active {
        width: 34px;
    }

    .hero-counter {
        right: 16px;
        bottom: 13px;
        font-size: 10px;
    }

    .use-cases {
        padding: 34px 0 30px;
    }

    .use-cases-heading {
        padding: 0 19px;
        margin-bottom: 16px;
    }

    .use-cases-heading h2 {
        font-size: 24px;
        letter-spacing: -0.7px;
    }

    .use-cases-heading p {
        margin-top: 6px;
        font-size: 12px;
    }

    .category-track {
        gap: 8px;
        padding: 3px 19px 8px;
        scroll-padding-left: 19px;
    }

    .category-card {
        flex: 0 0 clamp(60px, calc((100vw - 70px) / 5), 90px);
        width: auto;
        min-height: 76px;
        padding: 9px 5px;
        align-items: center;
        justify-content: center;
        gap: 4px;
        border-radius: 13px;
        scroll-snap-align: start;
    }

    .category-icon {
        width: 30px;
        height: 30px;
        font-size: 21px;
    }

    .category-name {
        font-size: 10px;
        line-height: 1.15;
        text-align: center;
        overflow-wrap: normal;
    }

    .explore-t4r {
        padding: 40px 18px 42px;
    }

    .explore-heading {
        margin-bottom: 18px;
    }

    .explore-heading h2 {
        font-size: 29px;
        letter-spacing: -1px;
    }

    .explore-heading p {
        margin-top: 8px;
        font-size: 13px;
    }

    .explore-grid {
        gap: 9px;
    }

    .explore-card {
        min-height: 194px;
        padding: 14px 12px;
        border-radius: 14px;
        box-shadow: 0 8px 18px rgba(16, 17, 22, 0.08);
    }

    .explore-card-top {
        margin-bottom: 17px;
    }

    .explore-card h3 {
        margin-bottom: 7px;
        font-size: 15px;
        line-height: 1.3;
    }

    .explore-card p {
        margin-bottom: 16px;
        font-size: 11px;
        line-height: 1.5;
    }

    .explore-link {
        font-size: 10px;
    }

    .laptop-setups {
        padding: 42px 18px;
    }

    .laptop-setups-heading {
        margin-bottom: 18px;
    }

    .laptop-setups-heading h2 {
        font-size: 29px;
        letter-spacing: -1px;
    }

    .laptop-setups-heading p {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.55;
    }

    .setups-view-all {
        margin-top: 23px;
    }

    .featured-setups-grid {
        gap: 12px;
    }

    .featured-setup-card {
        border-color: #e5e6ed;
        box-shadow: 0 7px 18px rgba(16, 17, 22, 0.06);
    }

    .featured-setup-image-wrap {
        aspect-ratio: 16 / 8.5;
    }

    .featured-setup-info {
        padding: 14px 13px 15px;
    }

    .featured-laptops {
        padding: 42px 18px 48px;
        background: #f8f9fc;
    }

    .featured-laptops-heading {
        margin-bottom: 18px;
    }

    .featured-laptops-heading h2 {
        font-size: 29px;
        letter-spacing: -1px;
    }

    .featured-laptops-heading p {
        margin-top: 8px;
        font-size: 12px;
    }

    .laptops-view-all {
        margin-top: 24px;
        font-size: 12px;
    }

    .featured-laptops-grid {
        gap: 10px;
    }

    .laptop-product-card {
        border-radius: 13px;
        box-shadow: 0 6px 15px rgba(16, 17, 22, 0.05);
    }

    .laptop-product-image {
        aspect-ratio: 1.2;
        padding: 9px;
        background: #fff;
    }

    .home-placeholder {
        padding: 38px 18px;
    }

    .home-placeholder h2 {
        margin-top: 8px;
        font-size: 26px;
    }
}

@media (max-width: 380px) {
    .hero {
        height: clamp(325px, 84vw, 355px);
        min-height: 0;
    }

    .hero-content {
        padding: 24px 19px 52px;
    }

    .category-track {
        gap: 5px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .category-card {
        flex-basis: clamp(50px, calc((100vw - 48px) / 5), 60px);
    }

    .explore-t4r,
    .laptop-setups,
    .featured-laptops {
        padding-right: 15px;
        padding-left: 15px;
    }

    .featured-laptops-grid,
    .laptops-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .t4r-footer-column a {
    transition: none;
  }
}

/* ========================================
   T4R MOBILE SPACING + HERO FINAL TUNING
   Overrides only; desktop layout remains unchanged.
======================================== */
@media (max-width: 600px) {
    /* Shorter hero and square edges, matching the reference */
    .hero {
        height: clamp(270px, 62vw, 320px) !important;
        min-height: 0 !important;
        max-height: 320px !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }

    .hero-slides,
    .hero-overlay,
    .hero-image {
        border-radius: 0 !important;
    }

    .hero-image {
        object-position: 70% center;
    }

    .hero-content {
        min-height: 0 !important;
        padding: 16px 18px 39px !important;
    }

    .hero-eyebrow { margin-bottom: 8px !important; }
    .hero-content h1 {
        max-width: 330px;
        font-size: clamp(27px, 7vw, 33px) !important;
        line-height: 1.04 !important;
    }
    .hero-content p {
        max-width: 290px;
        margin-top: 7px !important;
        font-size: 11px !important;
        line-height: 1.45 !important;
    }
    .hero-cta { margin-top: 10px !important; }
    .hero-indicators { margin-top: 10px !important; }
    .hero-counter { bottom: 7px !important; }

    /* Reduce vertical gaps between homepage sections */
    .use-cases { padding-top: 17px !important; padding-bottom: 16px !important; }
    .explore-t4r { padding-top: 19px !important; padding-bottom: 20px !important; }
    .explore-heading { margin-bottom: 12px !important; }
    .explore-grid { gap: 9px !important; }
    .explore-card { min-height: 172px !important; padding: 13px 12px !important; }
    .explore-card-top { margin-bottom: 14px !important; }
    .explore-card p { margin-bottom: 12px !important; }

    .what-page { padding-top: 18px !important; padding-bottom: 20px !important; }
    .home-placeholder { padding-top: 19px !important; padding-bottom: 19px !important; }

    .laptop-setups { padding-top: 19px !important; padding-bottom: 20px !important; }
    .laptop-setups-heading { margin-bottom: 12px !important; }
    .featured-setups-grid { gap: 10px !important; }

    .featured-laptops { padding-top: 19px !important; padding-bottom: 20px !important; }
    .featured-laptops-heading { margin-bottom: 12px !important; }
    .featured-laptops-grid { gap: 9px !important; }

    .laptops-page { padding-top: 20px !important; padding-bottom: 24px !important; }
    .compare-section { padding-top: 20px !important; padding-bottom: 22px !important; }
}

@media (max-width: 380px) {
    .hero { height: 265px !important; max-height: 265px !important; }
    .hero-content { padding: 14px 16px 34px !important; }
    .hero-content h1 { font-size: 26px !important; }
    .hero-content p { font-size: 10px !important; }
}
