/*
 * calculator-redesign.css — Phase T fintech-diagnostic styling.
 * Additive layer over base.html design tokens; no overrides.
 * Reuses --gv-primary / --gv-accent / --gv-bg / --gv-slate-* from :root.
 */

/* T.2 first-screen hero ---------------------------------------------------- */

.gv-tdiag-hero {
    padding: 3rem 0 1.5rem;
    background:
        radial-gradient(900px 420px at 22% 15%, rgba(13,110,102,0.06), transparent 65%),
        radial-gradient(900px 420px at 80% 85%, rgba(201,148,26,0.05), transparent 65%);
}

.gv-tdiag-h1 {
    font-size: clamp(1.55rem, 3.2vw, 2.35rem);
    line-height: 1.2;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin-bottom: .75rem;
}

.gv-tdiag-sub {
    font-size: clamp(.98rem, 1.4vw, 1.1rem);
    line-height: 1.55;
    color: var(--gv-slate-700, #334155);
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.gv-tdiag-trust {
    font-size: .85rem;
    color: var(--gv-slate-500, #6b7280);
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
}

.gv-tdiag-pin {
    background: rgba(201,148,26,0.10);
    border: 1px solid rgba(201,148,26,0.35);
    color: #1a1a1a;
    border-radius: 12px;
    padding: .55rem 1rem;
    font-size: .9rem;
    line-height: 1.4;
}

.gv-tdiag-pin-soft {
    background: rgba(13,110,102,0.08);
    border-color: rgba(13,110,102,0.30);
    color: #0c5b54;
}

.gv-tdiag-pin a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gv-tdiag-pin-icon {
    flex-shrink: 0;
    color: currentColor;
}

/* T.2 primary CTA --------------------------------------------------------- */

.gv-tdiag-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .95rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    background: var(--gv-primary, #0d6e66);
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(13,110,102,0.25);
    transition: transform 150ms ease-out, box-shadow 150ms ease-out, background 150ms ease-out;
    cursor: pointer;
    min-height: 48px;     /* tap target ≥44px */
    min-width: 240px;
}

.gv-tdiag-cta:hover {
    background: var(--gv-primary-dark, #084d48);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(13,110,102,0.30);
}

.gv-tdiag-cta:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(13,110,102,0.25);
}

.gv-tdiag-cta:focus-visible {
    outline: 3px solid rgba(13,110,102,0.4);
    outline-offset: 3px;
}

.gv-tdiag-disclaimer {
    font-size: .8rem;
    color: var(--gv-slate-500, #6b7280);
    line-height: 1.5;
    max-width: 50ch;
    margin-left: auto;
    margin-right: auto;
}

/* T.2 has-credits card ---------------------------------------------------- */

.gv-tdiag-credits-card {
    background: linear-gradient(135deg, var(--gv-primary, #0d6e66), var(--gv-primary-dark, #084d48));
    color: #fff;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 6px 20px rgba(13,110,102,0.18);
}

.gv-tdiag-credits-card .gv-tdiag-credits-cta {
    border-radius: 10px;
    color: var(--gv-primary, #0d6e66);
}

/* Mobile breakpoints (360 / 414 / 768 / 1024 / 1440) --------------------- */

@media (max-width: 575.98px) {
    .gv-tdiag-hero { padding: 2rem 0 1rem; }
    .gv-tdiag-h1   { font-size: 1.55rem; }
    .gv-tdiag-cta  { width: 100%; min-width: 0; }
}

/* Reduced-motion -- T.2 ships only one transition; respect user preference */
@media (prefers-reduced-motion: reduce) {
    .gv-tdiag-cta { transition: none; }
    .gv-tdiag-cta:hover { transform: none; }
}
