/* ==========================================================================
   fintraq.html page styles (loaded after /style.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero: split with phone screens, soft blue wash behind the headline
   -------------------------------------------------------------------------- */

.fq-hero {
    padding-top: calc(var(--header-height) + clamp(48px, 8vw, 96px));
    padding-bottom: clamp(48px, 7vw, 88px);
    background:
        radial-gradient(1100px 540px at 82% -12%, rgba(37, 99, 235, 0.10), transparent 70%),
        radial-gradient(720px 420px at -8% 36%, rgba(37, 99, 235, 0.05), transparent 70%);
}

.fq-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(36px, 6vw, 88px);
    align-items: center;
}

.fq-hero h1 {
    max-width: 14ch;
}

.fq-hero .lede {
    max-width: 40ch;
    margin-bottom: 30px;
}

.fq-hero-status {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
}

.fq-hero-shots .caption {
    text-align: center;
}

/* --------------------------------------------------------------------------
   Month plan deep dive: portrait store shot, kept phone-sized
   -------------------------------------------------------------------------- */

.fq-shot {
    display: block;
    width: min(100%, 380px);
    margin-inline: auto;
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    box-shadow: 0 24px 56px rgba(37, 99, 235, 0.14);
}

/* --------------------------------------------------------------------------
   Capability bento: 4 columns, two tall screenshot cells on the flanks
   -------------------------------------------------------------------------- */

.fq-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(225px, auto);
    gap: clamp(16px, 2vw, 24px);
}

.fq-cell {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: clamp(22px, 2.6vw, 32px);
    box-shadow: 0 14px 36px rgba(22, 24, 29, 0.06);
}

.fq-cell h3 {
    font-size: 1.18rem;
    margin-bottom: 0.45em;
}

.fq-cell p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Tall cells with a real screenshot behind a bottom shade */
.fq-cell-shot {
    position: relative;
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: flex-end;
    grid-row: span 2;
}

.fq-cell-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.fq-cell-shot-copy {
    position: relative;
    width: 100%;
    padding: clamp(20px, 2.4vw, 28px);
    padding-top: 110px;
    background: linear-gradient(to top, rgba(10, 16, 31, 0.92) 0%, rgba(10, 16, 31, 0.6) 55%, rgba(10, 16, 31, 0) 100%);
}

/* Solid blue feature cell (brand accent, white copy) */
.fq-cell-accent {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #1e50c8 100%);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 18px 44px rgba(37, 99, 235, 0.22);
}

.fq-cell-shot-copy h3,
.fq-cell-accent h3 {
    color: #ffffff;
}

.fq-cell-shot-copy p,
.fq-cell-accent p {
    color: rgba(255, 255, 255, 0.82);
}

/* --------------------------------------------------------------------------
   Privacy panel: one calm tinted surface, centered
   -------------------------------------------------------------------------- */

.fq-privacy {
    max-width: 880px;
    margin-inline: auto;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-card);
    background: linear-gradient(160deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
    padding: clamp(32px, 5vw, 64px);
}

.fq-privacy .hook-list {
    margin-bottom: 24px;
}

.fq-privacy-note {
    font-size: 0.9rem;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Screenshot gallery: CSS-only horizontal scroll snap
   -------------------------------------------------------------------------- */

.fq-gallery {
    display: flex;
    gap: clamp(14px, 2vw, 22px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
}

.fq-gallery::-webkit-scrollbar {
    height: 8px;
}

.fq-gallery::-webkit-scrollbar-thumb {
    background: var(--line-strong);
    border-radius: var(--radius-pill);
}

.fq-gallery::-webkit-scrollbar-track {
    background: transparent;
}

.fq-gallery img {
    flex: 0 0 auto;
    width: clamp(200px, 24vw, 256px);
    height: auto;
    scroll-snap-align: start;
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Grouped facts row
   -------------------------------------------------------------------------- */

.fq-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 36px);
    margin: 0;
}

.fq-facts > div {
    border-top: 2px solid var(--accent);
    padding-top: 14px;
}

.fq-facts dt {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--muted);
}

.fq-facts dd {
    margin: 6px 0 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1020px) {
    .fq-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
    }

    .fq-cell-shot {
        grid-row: auto;
        min-height: 440px;
    }
}

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

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

    .fq-cell-accent {
        grid-column: auto;
    }

    .fq-cell-shot {
        min-height: 400px;
    }

    .fq-facts {
        grid-template-columns: minmax(0, 1fr);
    }
}
