/* TechResQ public checklist homepage. All rules are scoped to the landing page. */
body:has(.trq-checklist-home) .tri-layout-sides {
    display: none;
}

body:has(.trq-checklist-home) .tri-layout-mobile-tabs {
    display: none;
}

body:has(.trq-checklist-home) .tri-layout-container {
    display: block;
}

body:has(.trq-checklist-home) .tri-layout-middle {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px 40px;
}

body:has(.trq-checklist-home) .tri-layout-middle-contents,
body:has(.trq-checklist-home) main.content-wrap {
    width: 100%;
    max-width: none;
}

body:has(.trq-checklist-home) .page-content,
body:has(.trq-checklist-home) .page-content > div {
    width: 100%;
    max-width: none;
}

body:has(.trq-checklist-home) main.content-wrap {
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, .16);
    background: #0d1723;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

body:has(.trq-checklist-home) .page-content > h1,
body:has(.trq-checklist-home) .page-content > .page-content-title,
body:has(.trq-checklist-home) .page-content #bkmrk-page-title {
    display: none;
}

.trq-checklist-home {
    --trq-cyan: #2dd4d0;
    --trq-cyan-strong: #22e1dc;
    --trq-blue: #3ba8ff;
    --trq-violet: #a78bfa;
    --trq-yellow: #fbbf24;
    --trq-ink: #07111b;
    --trq-panel: #101d2a;
    --trq-panel-soft: #142333;
    --trq-border: rgba(148, 163, 184, .18);
    --trq-text: #f3f7fb;
    --trq-muted: #9fb0c1;
    max-width: none;
    margin: 0;
    color: var(--trq-text);
    line-height: 1.55;
}

.trq-checklist-home * {
    box-sizing: border-box;
}

.trq-checklist-home a {
    text-decoration: none;
}

.trq-checklist-home .trq-home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr);
    gap: 44px;
    align-items: center;
    min-height: 410px;
    padding: 64px 68px;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 18%, rgba(45, 212, 208, .25), transparent 28%),
        radial-gradient(circle at 70% 92%, rgba(59, 168, 255, .18), transparent 35%),
        linear-gradient(135deg, #08131e 0%, #101f2e 58%, #0b1724 100%);
}

.trq-checklist-home .trq-home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(90deg, transparent, #000 55%);
}

.trq-checklist-home .trq-home-copy,
.trq-checklist-home .trq-home-visual {
    position: relative;
    z-index: 1;
}

.trq-checklist-home .trq-home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 7px 11px;
    border: 1px solid rgba(45, 212, 208, .35);
    border-radius: 999px;
    background: rgba(45, 212, 208, .10);
    color: #8ef2ee;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.trq-checklist-home .trq-home-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--trq-cyan-strong);
    box-shadow: 0 0 0 5px rgba(45, 212, 208, .12);
}

.trq-checklist-home .trq-home-hero h2 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -.045em;
}

.trq-checklist-home .trq-home-hero h2 span {
    color: var(--trq-cyan-strong);
}

.trq-checklist-home .trq-home-lead {
    max-width: 720px;
    margin: 22px 0 0;
    color: #b8c6d4;
    font-size: 18px;
}

.trq-checklist-home .trq-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.trq-checklist-home .trq-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 17px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 10px;
    color: #e6eef7;
    background: rgba(255, 255, 255, .045);
    font-weight: 700;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.trq-checklist-home .trq-home-button-primary {
    border-color: transparent;
    color: #031417;
    background: linear-gradient(135deg, #43e2dc, #24b8d1);
}

.trq-checklist-home .trq-home-button:hover,
.trq-checklist-home .trq-home-button:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(45, 212, 208, .65);
    background-color: rgba(45, 212, 208, .10);
}

.trq-checklist-home .trq-home-button-primary:hover,
.trq-checklist-home .trq-home-button-primary:focus-visible {
    background: linear-gradient(135deg, #61f0eb, #35cbe1);
}

.trq-checklist-home .trq-home-visual {
    display: grid;
    place-items: center;
}

.trq-checklist-home .trq-home-visual-frame {
    position: relative;
    width: min(280px, 100%);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(45, 212, 208, .26);
    border-radius: 34px;
    background: rgba(4, 15, 24, .46);
    box-shadow: inset 0 0 42px rgba(45, 212, 208, .08), 0 25px 70px rgba(0,0,0,.28);
    transform: rotate(3deg);
}

.trq-checklist-home .trq-home-visual-frame::before,
.trq-checklist-home .trq-home-visual-frame::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--trq-cyan-strong);
    box-shadow: 0 0 22px rgba(45, 212, 208, .85);
}

.trq-checklist-home .trq-home-visual-frame::before {
    top: 18px;
    right: 24px;
}

.trq-checklist-home .trq-home-visual-frame::after {
    bottom: 24px;
    left: 19px;
    width: 8px;
    height: 8px;
    background: var(--trq-blue);
}

.trq-checklist-home .trq-home-visual img {
    width: 78%;
    height: 78%;
    margin: 0;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: none;
    transform: rotate(-3deg);
}

.trq-checklist-home .trq-home-body {
    padding: 38px 48px 56px;
    background: linear-gradient(180deg, #0d1723 0%, #0a131d 100%);
}

.trq-checklist-home .trq-home-heading {
    margin: 0;
    color: #fff;
    font-size: 27px;
    letter-spacing: -.02em;
}

.trq-checklist-home .trq-home-subtitle {
    margin: 8px 0 0;
    color: var(--trq-muted);
}

.trq-checklist-home .trq-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.trq-checklist-home .trq-quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 13px 15px;
    border: 1px solid var(--trq-border);
    border-radius: 12px;
    color: #dce8f3;
    background: rgba(255,255,255,.025);
    font-weight: 700;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.trq-checklist-home .trq-quick-link:hover,
.trq-checklist-home .trq-quick-link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(45, 212, 208, .55);
    background: rgba(45, 212, 208, .075);
}

.trq-checklist-home .trq-quick-icon {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    color: #72e9e4;
    background: rgba(45, 212, 208, .10);
    font-size: 20px;
}

.trq-checklist-home .trq-home-sections {
    display: grid;
    gap: 20px;
    margin-top: 42px;
}

.trq-checklist-home .trq-section-card {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--trq-border);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(20,35,51,.88), rgba(12,24,36,.92));
}

.trq-checklist-home .trq-section-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--section-accent, var(--trq-cyan));
}

.trq-checklist-home .trq-section-card:nth-child(2) { --section-accent: #f472b6; }
.trq-checklist-home .trq-section-card:nth-child(3) { --section-accent: #60a5fa; }
.trq-checklist-home .trq-section-card:nth-child(4) { --section-accent: #a78bfa; }

.trq-checklist-home .trq-section-top {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.trq-checklist-home .trq-section-icon {
    width: 74px;
    height: 74px;
    margin: 0;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 17px;
    object-fit: cover;
    box-shadow: 0 12px 26px rgba(0,0,0,.24);
}

.trq-checklist-home .trq-section-number {
    display: block;
    margin-bottom: 3px;
    color: var(--section-accent, var(--trq-cyan));
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.trq-checklist-home .trq-section-title {
    margin: 0;
    color: #f5f9fd;
    font-size: 23px;
    line-height: 1.2;
}

.trq-checklist-home .trq-section-description {
    margin: 7px 0 0;
    color: var(--trq-muted);
}

.trq-checklist-home .trq-section-open {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 9px;
    color: #cce1ef;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 750;
}

.trq-checklist-home .trq-section-open:hover,
.trq-checklist-home .trq-section-open:focus-visible {
    color: #fff;
    border-color: var(--section-accent, var(--trq-cyan));
}

.trq-checklist-home .trq-article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 22px;
}

.trq-checklist-home .trq-article-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    min-height: 54px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, .13);
    border-radius: 10px;
    color: #dce7f1;
    background: rgba(3, 12, 20, .26);
    transition: border-color .16s ease, background .16s ease;
}

.trq-checklist-home .trq-article-link:hover,
.trq-checklist-home .trq-article-link:focus-visible {
    border-color: color-mix(in srgb, var(--section-accent, var(--trq-cyan)) 60%, transparent);
    background: rgba(255,255,255,.04);
}

.trq-checklist-home .trq-article-number {
    display: grid;
    min-width: 35px;
    height: 29px;
    place-items: center;
    padding: 0 7px;
    border-radius: 8px;
    color: var(--section-accent, var(--trq-cyan));
    background: rgba(255,255,255,.05);
    font-size: 12px;
    font-weight: 800;
}

.trq-checklist-home .trq-article-arrow {
    color: #64798e;
    font-size: 18px;
}

.trq-checklist-home .trq-home-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    margin-top: 28px;
    padding: 20px 22px;
    border: 1px solid rgba(45, 212, 208, .20);
    border-radius: 14px;
    background: rgba(45, 212, 208, .055);
}

.trq-checklist-home .trq-home-footer strong {
    display: block;
    margin-bottom: 4px;
    color: #effcfb;
    font-size: 17px;
}

.trq-checklist-home .trq-home-footer p {
    margin: 0;
    color: var(--trq-muted);
}

@media (max-width: 980px) {
    .trq-checklist-home .trq-home-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 48px;
    }

    .trq-checklist-home .trq-home-visual {
        display: none;
    }

    .trq-checklist-home .trq-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    body:has(.trq-checklist-home) .tri-layout-middle {
        padding: 0;
    }

    body:has(.trq-checklist-home) main.content-wrap {
        margin-top: 0;
        border-width: 0;
        border-radius: 0;
    }

    .trq-checklist-home .trq-home-hero {
        padding: 38px 22px;
    }

    .trq-checklist-home .trq-home-hero h2 {
        font-size: clamp(34px, 11vw, 48px);
    }

    .trq-checklist-home .trq-home-lead {
        font-size: 16px;
    }

    .trq-checklist-home .trq-home-actions,
    .trq-checklist-home .trq-home-button {
        width: 100%;
    }

    .trq-checklist-home .trq-home-body {
        padding: 30px 16px 42px;
    }

    .trq-checklist-home .trq-quick-grid,
    .trq-checklist-home .trq-article-grid {
        grid-template-columns: 1fr;
    }

    .trq-checklist-home .trq-section-card {
        padding: 20px 16px 18px;
    }

    .trq-checklist-home .trq-section-top {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 13px;
    }

    .trq-checklist-home .trq-section-icon {
        width: 58px;
        height: 58px;
        border-radius: 13px;
    }

    .trq-checklist-home .trq-section-title {
        font-size: 20px;
    }

    .trq-checklist-home .trq-section-open {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .trq-checklist-home .trq-home-footer {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trq-checklist-home a {
        transition: none !important;
    }
}
