/* Follow That Car child-theme overrides */

:root {
    --ftc-red: #d62828;
    --ftc-red-bright: #ef3340;
    --ftc-black: #08090b;
    --ftc-surface: #111318;
    --ftc-text-soft: #b8bec9;

    --q2-accent: var(--ftc-red);
    --q2-link: var(--ftc-red-bright);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ftc-black);
}

#header {
    backdrop-filter: blur(14px);
    background: rgb(8 9 11 / 72%);
    border-bottom: 1px solid rgb(255 255 255 / 8%);
}

#hero {
    min-height: 88vh;
    display: grid;
    align-items: center;
    padding: 9rem 1.5rem 5rem;
    color: white;

    background:
        radial-gradient(
            circle at 70% 30%,
            rgb(214 40 40 / 25%),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #08090b 0%,
            #111318 55%,
            #08090b 100%
        );

    /* Prevent the hero image from repeating */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#hero h1 {
    max-width: 12ch;
    margin-inline: auto;
    font-size: clamp(3.5rem, 10vw, 8rem);
    line-height: 0.92;
    letter-spacing: -0.055em;
}

#hero h2 {
    color: var(--ftc-text-soft);
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 400;
}

.ftc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 2rem;
}

.ftc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
}

.ftc-button:hover {
    transform: translateY(-2px);
}

.ftc-button-primary {
    color: white;
    background: var(--ftc-red);
}

.ftc-button-secondary {
    color: white;
    background: rgb(255 255 255 / 5%);
    border-color: rgb(255 255 255 / 25%);
}

.ftc-section {
    padding-block: clamp(5rem, 9vw, 9rem);
}

.ftc-lead {
    max-width: 760px;
    color: var(--ftc-text-soft);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

/* ---------- FTC content sections ---------- */

.ftc-section {
    width: min(1120px, calc(100% - 3rem));
    margin-inline: auto;
    padding-block: clamp(5rem, 9vw, 9rem);
}

.ftc-section h2 {
    max-width: 860px;
    margin-top: 0.4rem;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.ftc-section > p {
    max-width: 760px;
}

.ftc-eyebrow {
    color: #65d9df;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.ftc-lead {
    color: var(--ftc-text-soft);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.65;
}

/* ---------- Process ---------- */

.ftc-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.ftc-process-card {
    min-height: 270px;
    padding: 1.6rem;
    background: rgb(255 255 255 / 4%);
    border: 1px solid rgb(255 255 255 / 9%);
    border-radius: 1rem;
}

.ftc-process-number {
    display: block;
    margin-bottom: 3rem;
    color: #65d9df;
    font-size: 0.85rem;
    font-weight: 800;
}

.ftc-process-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.45rem;
}

.ftc-process-card p {
    color: var(--ftc-text-soft);
    line-height: 1.6;
}

/* ---------- Results ---------- */

.ftc-results {
    position: relative;
}

.ftc-result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.ftc-result-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.7rem;
    background: rgb(101 217 223 / 5%);
    border: 1px solid rgb(101 217 223 / 18%);
    border-radius: 1rem;
}

.ftc-result-card strong {
    font-size: 1.15rem;
}

.ftc-result-card span {
    color: var(--ftc-text-soft);
    line-height: 1.55;
}

.ftc-result-actions {
    margin-top: 2rem;
}

.ftc-status {
    display: inline-flex;
    padding: 0.65rem 1rem;
    color: var(--ftc-text-soft);
    background: rgb(255 255 255 / 5%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 999px;
    font-size: 0.9rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .ftc-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ftc-result-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .ftc-section {
        width: min(100% - 2rem, 1120px);
    }

    .ftc-process {
        grid-template-columns: 1fr;
    }

    .ftc-process-card {
        min-height: auto;
    }

    .ftc-process-number {
        margin-bottom: 1.5rem;
    }
}
