/* ============================================================
   ContractorsIQ — "The 7:00 AM Terminal"
   Design system + landing page styles
   Display: Archivo · Body: Inter · Data: JetBrains Mono
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    /* ---- Ink (dark surfaces) ---- */
    --ink: #0E1417;
    --ink-2: #151F25;
    --ink-3: #1C2A31;
    --ink-line: rgba(255,255,255,.09);
    --on-ink: #EAF0EE;
    --on-ink-dim: #97A6A4;
    /* ---- Paper (light surfaces) ---- */
    --paper: #FBF9F5;
    --paper-2: #F2EEE6;
    --ink-text: #14201C;
    --ink-text-2: #4C5B57;
    --line: rgba(20,32,28,.13);
    --line-soft: rgba(20,32,28,.07);
    /* ---- Brand ---- */
    --brand: #1E56D6; /* ContractorsIQ blue — trust anchor */
    --brand-deep: #123A9E;
    --brand-tint: #E9F0FE;
    --signal: #FF6A2C; /* construction orange — action */
    --signal-deep: #E8551A;
    /* ---- Priority pills ---- */
    --p1: #FF6A2C; /* Best Window */
    --p2: #F5A623; /* Early Signal */
    --p3: #7C8A88; /* Replacement */
    --live: #3DDC84;
    /* ---- Type ---- */
    --display: 'Archivo', system-ui, sans-serif;
    --body: 'Inter', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
    --wrap: 1180px;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--body);
    color: var(--ink-text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Shared mono label used across sections */
.mono-label {
    font-family: var(--mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* ============================================================
   TOP TICKER
   ============================================================ */
.ciq-ticker {
    background: var(--ink);
    color: var(--on-ink-dim);
    border-bottom: 1px solid var(--ink-line);
    font-family: var(--mono);
    font-size: .72rem;
    letter-spacing: .06em;
    height: 34px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 60;
}

.ciq-ticker-flag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px 0 20px;
    height: 100%;
    color: var(--on-ink);
    background: var(--ink);
    border-right: 1px solid var(--ink-line);
    white-space: nowrap;
    z-index: 2;
    font-weight: 700;
    letter-spacing: .12em;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 0 0 rgba(61,220,132,.55);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(61,220,132,.5);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(61,220,132,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(61,220,132,0);
    }
}

.ciq-ticker-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    padding-left: 40px;
    animation: marquee 34s linear infinite;
}

    .ciq-ticker-track span b {
        color: var(--signal);
        font-weight: 700;
    }

    .ciq-ticker-track span {
        opacity: .85;
    }

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ============================================================
   NAV
   ============================================================ */
.ciq-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px clamp(18px, 4vw, 48px);
    background: rgba(14,20,23,.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--ink-line);
    color: var(--on-ink);
}

.ciq-nav-logo {
    display: flex;
    align-items: center;
}

    .ciq-nav-logo img {
        height: 30px;
        width: auto;
    }

.ciq-nav-links {
    list-style: none;
    display: flex;
    gap: 26px;
    margin: 0 auto 0 12px;
    padding: 0;
    font-size: .92rem;
    font-weight: 500;
}

    .ciq-nav-links a {
        color: var(--on-ink-dim);
        transition: color .16s;
    }

        .ciq-nav-links a:hover {
            color: var(--on-ink);
        }

.ciq-nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.btn-ghost {
    font-weight: 600;
    font-size: .9rem;
    color: var(--on-ink);
    padding: 9px 14px;
    border-radius: 9px;
    transition: background .16s;
}

    .btn-ghost:hover {
        background: rgba(255,255,255,.08);
    }

.btn-orange {
    font-weight: 700;
    font-size: .9rem;
    color: #fff;
    background: var(--signal);
    padding: 10px 18px;
    border-radius: 9px;
    box-shadow: 0 1px 0 rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.18);
    transition: transform .12s, background .16s;
}

    .btn-orange:hover {
        background: var(--signal-deep);
        transform: translateY(-1px);
    }

.ciq-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
    margin-left: 4px;
}

    .ciq-hamburger span {
        width: 22px;
        height: 2px;
        background: var(--on-ink);
        border-radius: 2px;
    }

/* Mobile menu */
.ciq-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 55;
}

.ciq-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(78vw, 320px);
    background: var(--ink);
    border-left: 1px solid var(--ink-line);
    z-index: 56;
    padding: 84px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--on-ink);
    animation: slideIn .22s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.ciq-mobile-menu a {
    padding: 14px 4px;
    font-size: 1.05rem;
    font-weight: 600;
    border-bottom: 1px solid var(--ink-line);
    color: var(--on-ink);
}

.ciq-mobile-menu-cta {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .ciq-mobile-menu-cta .btn-ghost {
        border: 1px solid var(--ink-line);
        text-align: center;
    }

    .ciq-mobile-menu-cta .btn-orange {
        text-align: center;
    }

/* ============================================================
   HERO
   ============================================================ */
.ciq-hero {
    position: relative;
    background: var(--ink);
    color: var(--on-ink);
    overflow: hidden;
    padding: clamp(48px, 7vw, 96px) clamp(18px, 4vw, 48px) clamp(40px, 5vw, 72px);
}
    /* blueprint grid */
    .ciq-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
        background-size: 46px 46px;
        mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 30%, transparent 78%);
        -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 30%, transparent 78%);
        opacity: .6;
        pointer-events: none;
    }
    /* warm glow */
    .ciq-hero::after {
        content: "";
        position: absolute;
        top: -12%;
        right: -6%;
        width: 620px;
        height: 620px;
        background: radial-gradient(circle, rgba(30,86,214,.28), transparent 62%);
        filter: blur(10px);
        pointer-events: none;
    }

.ciq-hero-grid {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(380px, 460px) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

.ciq-hero-copy {
    min-width: 0;
}

.ciq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--mono);
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--on-ink-dim);
    padding: 7px 12px;
    border: 1px solid var(--ink-line);
    border-radius: 999px;
    margin-bottom: 26px;
}

    .ciq-eyebrow .live-dot {
        margin-right: 1px;
    }

.ciq-hero-copy h1 {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(2.3rem, 3.6vw, 3.4rem);
    line-height: .98;
    letter-spacing: -.025em;
    margin: 0 0 22px;
}

    .ciq-hero-copy h1 em {
        font-style: normal;
        color: var(--signal);
        position: relative;
    }

        .ciq-hero-copy h1 em::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -.06em;
            height: .07em;
            background: var(--signal);
            opacity: .5;
        }

.ciq-hero-sub {
    font-size: clamp(.98rem, 1.1vw, 1.08rem);
    line-height: 1.6;
    color: #C9D3D1;
    max-width: 38ch;
    margin: 0 0 30px;
}

    .ciq-hero-sub strong {
        color: var(--on-ink);
        font-weight: 600;
    }

.ciq-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -.01em;
    color: #fff;
    background: var(--signal);
    padding: 16px 26px;
    border-radius: 12px;
    box-shadow: 0 12px 30px -10px rgba(255,106,44,.6), inset 0 1px 0 rgba(255,255,255,.22);
    transition: transform .13s, box-shadow .18s, background .16s;
}

    .btn-hero:hover {
        background: var(--signal-deep);
        transform: translateY(-2px);
        box-shadow: 0 18px 40px -12px rgba(255,106,44,.7), inset 0 1px 0 rgba(255,255,255,.22);
    }

.ciq-hero-note {
    font-family: var(--mono);
    font-size: .74rem;
    color: var(--on-ink-dim);
    letter-spacing: .02em;
}

/* proof stats */
.ciq-hero-proof {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 20px clamp(24px, 4vw, 44px);
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--ink-line);
}

.proof-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.proof-number {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    color: var(--on-ink);
    line-height: 1;
    letter-spacing: -.02em;
}

.proof-label {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--on-ink-dim);
}

/* ---- Hero product showcase ---- */
/* Right column of the hero grid — gets the lion's share of the width
   so the (very wide) dashboard screenshot renders large and legible. */
.ciq-hero-showcase {
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
    transform-origin: right center;
    position: relative;
    z-index: 2;
    min-width: 0;
}

.ciq-shot-frame {
    position: relative;
    border: 1px solid var(--ink-line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--ink-2);
    box-shadow: 0 55px 100px -38px rgba(0,0,0,.78), 0 0 0 1px rgba(255,255,255,.02);
    transition: transform .35s ease, box-shadow .35s ease;
}

    .ciq-shot-frame:hover {
        transform: translateY(-4px);
        box-shadow: 0 65px 120px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.03);
    }

.ciq-shot-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid var(--ink-line);
    font-family: var(--mono);
    font-size: .72rem;
    color: var(--on-ink-dim);
}

    .ciq-shot-bar .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        flex-shrink: 0;
    }

        .ciq-shot-bar .dot.r {
            background: #FF5F57;
        }

        .ciq-shot-bar .dot.y {
            background: #FEBC2E;
        }

        .ciq-shot-bar .dot.g {
            background: #28C840;
        }

    .ciq-shot-bar .path {
        margin-left: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ciq-shot-bar .stamp {
        margin-left: auto;
        color: var(--live);
        white-space: nowrap;
    }

.ciq-shot-img {
    display: block;
    width: 100%;
    height: auto;
}
/* subtle top vignette so the bright screenshot seats into the dark hero */
.ciq-shot-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 60px rgba(14,20,23,.12);
}

/* scroll cue */
.ciq-scroll-cue {
    position: relative;
    z-index: 2;
    max-width: var(--wrap);
    margin: 46px auto 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--on-ink-dim);
    justify-content: center;
}

    .ciq-scroll-cue svg {
        animation: bob 1.8s ease-in-out infinite;
    }

@keyframes bob {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

/* ============================================================
   COVERAGE STRIP (trades + boroughs)
   ============================================================ */
.ciq-coverage {
    background: var(--ink-2);
    border-top: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line);
    color: var(--on-ink-dim);
    padding: 20px clamp(18px, 4vw, 48px);
}

.ciq-coverage-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.ciq-coverage-label {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--on-ink);
    white-space: nowrap;
}

.ciq-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ciq-chip {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .03em;
    padding: 5px 11px;
    border-radius: 7px;
    border: 1px solid var(--ink-line);
    color: var(--on-ink-dim);
    background: rgba(255,255,255,.02);
}

    .ciq-chip.boro {
        border-color: rgba(30,86,214,.4);
        color: #9DBBF6;
    }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.ciq-section, .ciq-section-alt {
    padding: clamp(64px, 8vw, 108px) clamp(18px, 4vw, 48px);
}

.ciq-section {
    background: var(--paper);
}

.ciq-section-alt {
    background: var(--paper-2);
}

.ciq-inner {
    max-width: var(--wrap);
    margin: 0 auto;
}

.section-label {
    font-family: var(--mono);
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .section-label::before {
        content: "";
        width: 26px;
        height: 1px;
        background: var(--brand);
        display: inline-block;
    }

.section-title {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.02;
    letter-spacing: -.025em;
    margin: 0 0 18px;
    color: var(--ink-text);
}

.section-sub {
    font-size: clamp(1rem, 1.4vw, 1.14rem);
    line-height: 1.6;
    color: var(--ink-text-2);
    max-width: 56ch;
    margin: 0 0 52px;
}

/* ============================================================
   HOW IT WORKS — pipeline
   ============================================================ */
.ciq-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.ciq-step {
    position: relative;
    padding: 0 26px 0 0;
}

    .ciq-step:not(:last-child) {
        border-right: 1px solid var(--line-soft);
        margin-right: 26px;
    }

.step-num {
    font-family: var(--mono);
    font-weight: 700;
    font-size: .82rem;
    color: var(--brand);
    letter-spacing: .08em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

    .step-num::before {
        content: "";
        width: 11px;
        height: 11px;
        border-radius: 50%;
        border: 3px solid var(--brand);
        background: var(--paper);
    }

.step-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.12rem;
    letter-spacing: -.01em;
    color: var(--ink-text);
    margin-bottom: 10px;
    line-height: 1.2;
}

.step-body {
    font-size: .92rem;
    line-height: 1.58;
    color: var(--ink-text-2);
    margin: 0 0 16px;
}

    .step-body b {
        color: var(--ink-text);
        font-weight: 600;
    }

.step-tag {
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .04em;
    color: var(--brand);
    background: var(--brand-tint);
    padding: 4px 9px;
    border-radius: 6px;
}
/* connecting line behind the pipeline dots */
.ciq-steps::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    right: 26px;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}

/* ============================================================
   INSIDE THE DASHBOARD ("tour" section)
   ============================================================ */
.ciq-tour .section-sub {
    margin-bottom: 44px;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.tour-block {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 26px 22px;
}

.tour-block-head {
    font-family: var(--mono);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 18px;
}

.tour-block-note {
    font-size: .84rem;
    line-height: 1.55;
    color: var(--ink-text-2);
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
}

    .tour-block-note b {
        color: var(--ink-text);
        font-weight: 600;
    }

/* -- priority tiers -- */
.priority-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
}

.priority-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

    .priority-dot.p1 {
        background: var(--p1);
        box-shadow: 0 0 0 3px rgba(255,106,44,.16);
    }

    .priority-dot.p2 {
        background: var(--p2);
        box-shadow: 0 0 0 3px rgba(245,166,35,.16);
    }

    .priority-dot.p3 {
        background: var(--p3);
        box-shadow: 0 0 0 3px rgba(124,138,136,.16);
    }

.priority-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .priority-copy strong {
        font-size: .9rem;
        font-weight: 700;
        color: var(--ink-text);
    }

    .priority-copy span {
        font-size: .8rem;
        color: var(--ink-text-2);
        line-height: 1.4;
    }

/* -- job phase rail -- */
.phase-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0 2px;
}

.phase-step {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .02em;
    padding: 7px 11px;
    border-radius: 7px;
    border: 1px solid var(--line);
    color: var(--ink-text-2);
    background: var(--paper-2);
}

.ciq-tour .phase-step {
    background: var(--paper-2);
}

.phase-step.is-active {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
    font-weight: 700;
}

/* -- filing / amendment history -- */
.history-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line-soft);
}

    .history-row:last-of-type {
        border-bottom: 0;
    }

.history-tag {
    font-family: var(--mono);
    font-size: .66rem;
    font-weight: 700;
    color: var(--brand);
    background: var(--brand-tint);
    padding: 3px 7px;
    border-radius: 5px;
    letter-spacing: .03em;
}

.history-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

    .history-copy strong {
        font-size: .85rem;
        font-weight: 600;
        color: var(--ink-text);
    }

    .history-copy span {
        font-family: var(--mono);
        font-size: .7rem;
        color: var(--ink-text-2);
    }

.history-status {
    font-family: var(--mono);
    font-size: .68rem;
    font-weight: 600;
    color: #1B8A4A;
    white-space: nowrap;
}

.history-row.is-matched {
    background: var(--brand-tint);
    margin: 0 -10px;
    padding: 9px 10px;
    border-radius: 8px;
    border-bottom: 0;
}

    .history-row.is-matched .history-tag {
        background: var(--brand);
        color: #fff;
    }

/* -- contacts -- */
.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-soft);
}

    .contact-row:last-of-type {
        border-bottom: 0;
    }

.contact-role {
    font-family: var(--mono);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink-text-2);
    background: var(--paper-2);
    border: 1px solid var(--line);
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.contact-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

    .contact-copy strong {
        font-size: .87rem;
        font-weight: 600;
        color: var(--ink-text);
    }

    .contact-copy span {
        font-size: .78rem;
        color: var(--ink-text-2);
    }

/* -- quick filters -- */
.tour-quickfilters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.tour-qf-label {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-text-2);
}

.qf-pill {
    font-family: var(--mono);
    font-size: .72rem;
    font-weight: 600;
    color: var(--brand);
    background: var(--brand-tint);
    border: 1px solid rgba(30,86,214,.25);
    padding: 6px 12px;
    border-radius: 999px;
}

/* ============================================================
   BENEFITS
   ============================================================ */
.ciq-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: transform .16s, box-shadow .18s, border-color .16s;
}

.ciq-section .benefit-card {
    background: var(--paper-2);
}

.ciq-section-alt .benefit-card {
    background: var(--paper);
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -22px rgba(20,32,28,.4);
    border-color: rgba(30,86,214,.4);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    background: var(--brand-tint);
    border: 1px solid rgba(30,86,214,.2);
    margin-bottom: 18px;
}

.benefit-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.08rem;
    letter-spacing: -.01em;
    color: var(--ink-text);
    margin-bottom: 9px;
}

.benefit-body {
    font-size: .92rem;
    line-height: 1.58;
    color: var(--ink-text-2);
    margin: 0;
}

    .benefit-body b {
        color: var(--ink-text);
        font-weight: 600;
    }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.ciq-testimonial {
    background: var(--ink);
    color: var(--on-ink);
    padding: clamp(56px, 7vw, 92px) clamp(18px, 4vw, 48px);
    position: relative;
    overflow: hidden;
}

    .ciq-testimonial::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
        background-size: 46px 46px;
        mask-image: radial-gradient(ellipse 70% 90% at 80% 50%, #000, transparent 75%);
        -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 50%, #000, transparent 75%);
        opacity: .5;
    }

.ciq-testimonial-inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-label {
    font-family: var(--mono);
    font-size: .74rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--signal);
    margin: 0 0 22px;
}

.testimonial-quote {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 2.15rem);
    line-height: 1.3;
    letter-spacing: -.02em;
    margin: 0 0 24px;
    color: var(--on-ink);
}

    .testimonial-quote em {
        font-style: normal;
        color: var(--signal);
    }

.testimonial-attr {
    font-family: var(--mono);
    font-size: .8rem;
    color: var(--on-ink-dim);
    letter-spacing: .03em;
}

/* ============================================================
   SCENE STRIP
   ============================================================ */
.ciq-scene {
    background: var(--paper-2);
    padding: clamp(40px, 5vw, 64px) clamp(18px, 4vw, 48px);
    border-bottom: 1px solid var(--line-soft);
}

.ciq-scene-inner {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.ciq-scene-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.ciq-scene-text {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.1rem, 2.1vw, 1.5rem);
    line-height: 1.42;
    letter-spacing: -.01em;
    color: var(--ink-text);
    margin: 0;
}

    .ciq-scene-text strong {
        color: var(--brand);
        font-weight: 800;
    }

/* ============================================================
   PRICING
   ============================================================ */
.ciq-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

.ciq-plan {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    position: relative;
}

.ciq-section .ciq-plan {
    background: var(--paper);
}

.ciq-plan.featured {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--on-ink);
    box-shadow: 0 30px 60px -28px rgba(14,20,23,.6);
    transform: translateY(-8px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 22px;
    font-family: var(--mono);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--signal);
    color: #fff;
    padding: 5px 11px;
    border-radius: 999px;
}

.plan-name {
    font-family: var(--mono);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.plan-free {
    color: var(--ink-text-2);
}

.plan-starter {
    color: var(--brand);
}

.plan-plus {
    color: var(--signal);
}

.plan-premium {
    color: var(--brand);
}

.featured .plan-name {
    color: var(--signal);
}

.plan-price {
    font-family: var(--display);
    font-weight: 900;
    font-size: 2.4rem;
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: 8px;
}

    .plan-price span {
        font-family: var(--body);
        font-weight: 500;
        font-size: .9rem;
        color: var(--ink-text-2);
        letter-spacing: 0;
    }

.featured .plan-price span {
    color: var(--on-ink-dim);
}

.plan-tagline {
    font-size: .86rem;
    line-height: 1.45;
    color: var(--ink-text-2);
    margin: 0 0 20px;
    min-height: 3.2em;
}

.featured .plan-tagline {
    color: #C4CFCD;
}

.plan-features {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

    .plan-features li {
        font-size: .82rem;
        line-height: 1.45;
        color: var(--ink-text);
        padding-left: 24px;
        position: relative;
    }

        .plan-features li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 3px;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: var(--brand-tint);
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E56D6' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
            background-size: 10px;
            background-repeat: no-repeat;
            background-position: center;
        }

.featured .plan-features li {
    color: #DCE4E2;
}

    .featured .plan-features li::before {
        background-color: rgba(30,86,214,.25);
    }

.plan-features li.off {
    color: var(--ink-text-2);
    opacity: .7;
}

    .plan-features li.off::before {
        background-color: transparent;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA6A2' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
        background-size: 9px;
    }

.featured .plan-features li.off {
    color: var(--on-ink-dim);
}

.plan-btn {
    margin-top: auto;
    text-align: center;
    font-weight: 700;
    font-size: .9rem;
    padding: 13px 16px;
    border-radius: 10px;
    transition: transform .12s, background .16s, border-color .16s;
}

.plan-btn-outline {
    border: 1.5px solid var(--line);
    color: var(--ink-text);
}

    .plan-btn-outline:hover {
        border-color: var(--brand);
        color: var(--brand);
    }

.featured .plan-btn-outline {
    border-color: var(--ink-line);
    color: var(--on-ink);
}

.plan-btn-filled {
    background: var(--signal);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}

    .plan-btn-filled:hover {
        background: var(--signal-deep);
        transform: translateY(-1px);
    }

.pricing-note {
    text-align: center;
    margin: 40px 0 0;
    font-size: .9rem;
    color: var(--ink-text-2);
}

    .pricing-note strong {
        color: var(--ink-text);
    }

/* ============================================================
   FAQ
   ============================================================ */
.ciq-faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 40px;
}

.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 0;
}

    .faq-item summary {
        list-style: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 20px 2px;
        font-family: var(--display);
        font-weight: 700;
        font-size: 1.02rem;
        letter-spacing: -.01em;
        color: var(--ink-text);
    }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-item summary .plus {
            flex-shrink: 0;
            width: 22px;
            height: 22px;
            position: relative;
            transition: transform .2s;
        }

            .faq-item summary .plus::before,
            .faq-item summary .plus::after {
                content: "";
                position: absolute;
                background: var(--brand);
                top: 50%;
                left: 50%;
                transform: translate(-50%,-50%);
            }

            .faq-item summary .plus::before {
                width: 13px;
                height: 2px;
            }

            .faq-item summary .plus::after {
                width: 2px;
                height: 13px;
                transition: transform .2s;
            }

    .faq-item[open] summary .plus::after {
        transform: translate(-50%,-50%) rotate(90deg);
        opacity: 0;
    }

.faq-a {
    font-size: .92rem;
    line-height: 1.62;
    color: var(--ink-text-2);
    padding: 0 2px 22px;
    max-width: 52ch;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.ciq-cta {
    background: var(--ink);
    color: var(--on-ink);
    text-align: center;
    padding: clamp(72px, 9vw, 128px) clamp(18px, 4vw, 48px);
    position: relative;
    overflow: hidden;
}

    .ciq-cta::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
        background-size: 46px 46px;
        mask-image: radial-gradient(ellipse 60% 80% at 50% 40%, #000, transparent 72%);
        -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 40%, #000, transparent 72%);
        opacity: .5;
    }

    .ciq-cta::after {
        content: "";
        position: absolute;
        bottom: -40%;
        left: 50%;
        transform: translateX(-50%);
        width: 700px;
        height: 500px;
        background: radial-gradient(circle, rgba(255,106,44,.22), transparent 62%);
        pointer-events: none;
    }

    .ciq-cta h2 {
        position: relative;
        font-family: var(--display);
        font-weight: 900;
        font-size: clamp(2.2rem, 5vw, 3.6rem);
        line-height: 1;
        letter-spacing: -.03em;
        margin: 0 0 18px;
    }

    .ciq-cta p {
        position: relative;
        font-size: 1.1rem;
        color: #C4CFCD;
        margin: 0 0 34px;
    }

.btn-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    background: var(--signal);
    padding: 18px 32px;
    border-radius: 13px;
    box-shadow: 0 16px 40px -12px rgba(255,106,44,.6), inset 0 1px 0 rgba(255,255,255,.22);
    transition: transform .13s, background .16s;
}

    .btn-cta:hover {
        background: var(--signal-deep);
        transform: translateY(-2px);
    }

/* ============================================================
   FOOTER
   ============================================================ */
.ciq-footer {
    background: var(--ink);
    color: var(--on-ink-dim);
    border-top: 1px solid var(--ink-line);
    padding: 48px clamp(18px, 4vw, 48px);
}

.ciq-footer-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 32px;
}

.footer-logo img {
    height: 26px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 22px;
    font-size: .88rem;
}

    .footer-links a {
        color: var(--on-ink-dim);
        transition: color .15s;
    }

        .footer-links a:hover {
            color: var(--on-ink);
        }

.footer-legal {
    flex-basis: 100%;
    font-size: .74rem;
    line-height: 1.6;
    color: #6C7A78;
    margin: 8px 0 0;
    border-top: 1px solid var(--ink-line);
    padding-top: 20px;
}

    .footer-legal a {
        color: var(--on-ink-dim);
        text-decoration: underline;
        text-underline-offset: 2px;
    }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
    .ciq-hero-grid {
        grid-template-columns: 1fr;
    }

    .ciq-hero-showcase {
        margin-top: clamp(36px, 6vw, 56px);
    }
}

@media (max-width: 980px) {
    .ciq-nav-links {
        display: none;
    }

    .ciq-hamburger {
        display: flex;
    }

    .ciq-shot-frame:hover {
        transform: none;
    }

    .ciq-steps {
        grid-template-columns: 1fr 1fr;
        gap: 32px 0;
    }

    .ciq-step:nth-child(2) {
        border-right: 0;
        margin-right: 0;
    }

    .ciq-step {
        padding-right: 20px;
    }

    .ciq-steps::before {
        display: none;
    }

    .ciq-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ciq-pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ciq-plan.featured {
        transform: none;
    }

    .ciq-faq-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .ciq-nav {
        gap: 10px;
    }

    .ciq-hero-proof {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

    .ciq-steps {
        grid-template-columns: 1fr;
    }

    .ciq-step {
        border-right: 0 !important;
        margin-right: 0 !important;
        padding-right: 0;
    }

    .ciq-benefits-grid {
        grid-template-columns: 1fr;
    }

    .ciq-pricing-grid {
        grid-template-columns: 1fr;
    }

    .tour-grid {
        grid-template-columns: 1fr;
    }

    .ciq-scene-inner {
        flex-direction: column;
        gap: 12px;
    }

    .btn-ghost {
        display: none;
    }

    .footer-links {
        flex-basis: 100%;
    }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        scroll-behavior: auto !important;
    }

    .ciq-shot-frame {
        transform: none !important;
    }
}

/* focus visibility */
a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: 3px;
    border-radius: 4px;
}
