/* quick2funding.com — Avenue Link */

:root {
    /* Shared with header + (formerly) promo band — solid fallback + diagonal gradient */
    --q2f-brand-gradient: linear-gradient(142deg, #5fb09a 0%, #55a590 45%, #4d9785 100%);
    --q2f-brand-solid: #55a590;

    /* Pill CTAs — band “Get started” + path “Start now” */
    --q2f-cta-bg: #742dfa;
    --q2f-cta-hover: #6525e0;
    /* Mint-tinted shadow — reads on steps section #edfbf7 */
    --q2f-cta-shadow: #adc2bd;
    /* Neutral elevation — band CTA on white (#ffffff) */
    --q2f-cta-shadow-white: rgba(15, 23, 42, 0.12);
    --q2f-cta-shadow-white-hover: rgba(15, 23, 42, 0.18);

    --aim-teal-500: #14b8a6;
    --aim-teal-700: #0f766e;
    --aim-teal-600: #0d9488;
    --aim-ink: #0f172a;
    --aim-slate: #334155;
    --aim-muted: #64748b;
    --aim-border: #e2e8f0;

    --aim-bubble-pink: #fb7185;
    --aim-bubble-coral: #fb7185;
    --aim-bubble-sun: #fbbf24;

    --aim-amount-orange: #f6891e;
    --aim-amount-orange-light: #ffb04a;
    --aim-amount-orange-deep: #e07812;

    --aim-radius-lg: 18px;
    --aim-radius-md: 14px;
   
    --aim-shadow-card: 0 14px 42px rgba(90, 45, 12, 0.12);
    --aim-shadow-lift: 0 12px 28px rgba(15, 23, 42, 0.18);
    --aim-focus: 0 0 0 4px rgba(20, 184, 166, 0.22), 0 0 0 7px rgba(251, 113, 133, 0.18);

    /* Section titles (q2f-band, q2f-path, etc.) */
    --aim-font-headline: 'Caprasimo', Georgia, serif;
}

.site-title::before {
    content: none;
    display: none;
}

.site-header {
    box-shadow: none;
    background: #ffffff;
    border-bottom: none;
    position: relative;
    z-index: 10;
}

.header-content {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 0 var(--spacing, 1rem);
}

.site-title {
    font-family: var(--aim-font-headline);
    font-weight: 600;
    color: #0f172a;
    letter-spacing: 0.02em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 0;
    font-size: 0;
}

/* Header logo — logo-icon + #site-title-text; no img.site-logo (config-manager safe) */
.site-title .logo-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 0;
}

.site-title .logo-icon img {
    display: block;
    height: 4.35rem;
    width: auto;
    max-width: min(100%, 460px);
    object-fit: contain;
    object-position: left center;
}


@media (max-width: 767.98px) {
    #main-content {
        display: flex;
        flex-direction: column;
    }

    #main-content > .q2f-hero {
        order: 1;
    }

    #main-content > #q2f-band {
        order: 2;
    }

    #main-content > #q2f-path {
        order: 3;
    }

    #main-content > .additional-content {
        order: 4;
    }
}

@media (min-width: 768px) {
    #main-content > .q2f-hero,
    #main-content > #q2f-band,
    #main-content > #q2f-path,
    #main-content > .additional-content {
        order: unset;
    }
}


@media (prefers-reduced-motion: reduce) {
    .step-icon--fa {
        transition: none;
    }

    .step-icon--fa:hover {
        transform: none;
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
    }

}

.q2f-hero {
    --q2f-hero-art: url("https://res.cloudinary.com/dbtcg826q/image/upload/v1776455615/common/sp-buckets/img/quick2-hero.jpg");
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Stacks form + (on tablet/mobile) art strip below; orange layer only covers this block */
.q2f-hero-stage {
    position: relative;
    min-height: 420px;
}

.q2f-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 420px;
    background: #f95b2c;
    z-index: 1;
    overflow: hidden;
}

/* Desktop: hero art in-layer, right / vertically centered */
.q2f-hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--q2f-hero-art);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    pointer-events: none;
}

.q2f-hero-bg::after {
    content: none;
}

/* Tablet + mobile: no in-layer photo — solid orange behind form only; image is .q2f-hero-art */
.q2f-hero-art {
    display: none;
}

@media (max-width: 1023.98px) {
    .q2f-hero-bg::before {
        content: none;
    }

    .q2f-hero-art {
        display: block;
        position: relative;
        width: 100%;
        background-color: #f95b2c;
        padding: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .q2f-hero-art-img {
        display: block;
        width: 120%;
        max-width: none;
        margin-left: -10%;
        height: auto;
        vertical-align: top;
        object-fit: contain;
        object-position: center top;
    }
}

/* Hero: form — centered by default (mobile / tablet); desktop left-align in min-width 1024px */
.q2f-hero-form {
    position: relative;
    min-width: 0;
    width: min(100%, 640px);
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    justify-self: center;
}

.q2f-hero-layout {
    position: relative;
    z-index: 2;
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 2.25rem 1rem 3.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.q2f-form {
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 1rem;
    min-height: 0;
    max-width: none;
    margin: 0 auto;
    box-shadow: none;
    border-radius: 0;
}

/* Greenbranch iframe embed (same param set as doublepay.net; site-specific host/name) */
.q2f-hero-layout .q2f-form#loan-form-container {
    width: min(100%, 600px);
    max-width: min(100%, 600px);
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    background: #ffffff;
    border-radius: var(--aim-radius-lg);
    box-shadow: var(--aim-shadow-card);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-sizing: border-box;
    overflow: hidden;
}

#loan-form-container #form-frame {
    display: block;
    width: 100%;
    min-height: 500px;
    border: none;
    overflow: hidden;
}

/* TESTING: dummy form — drop outer iframe “card” shell so #dummy-form-container is the only card */
.q2f-hero-layout .q2f-form#loan-form-container:has(#dummy-form-container) {
    background: transparent;
    box-shadow: none;
    border: none;
    overflow: visible;
}

#dummy-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2.25rem 1.25rem;
    background: #ffffff;
    border-radius: var(--aim-radius-lg);
    box-shadow: var(--aim-shadow-card);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-sizing: border-box;
    backdrop-filter: blur(6px);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step.hidden {
    display: none;
}

#step-1 {
    text-align: center;
}

.form-step-title {
    font-family: var(--aim-font-headline);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--aim-ink);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.amount-btn {
    position: relative;
    padding: 1.25rem 1rem;
    background: #f8fafc;
    border: 2px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--aim-radius-md);
    font-size: 1rem;
    font-weight: 500;
    color: var(--aim-ink);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
    font-family: 'Inter', system-ui, sans-serif;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.amount-btn::after {
    content: "\27A4";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.05rem;
    color: rgba(20, 184, 166, 0.85);
    transition: transform 180ms ease, color 180ms ease;
    pointer-events: none;
}

.amount-btn:hover {
    border-color: var(--aim-teal-500);
    transform: translateY(-3px);
    box-shadow: var(--aim-shadow-lift);
}

.amount-btn:hover::after {
    transform: translateY(-50%) translateX(2px);
}

.amount-btn.active {
    background: linear-gradient(135deg, var(--aim-teal-700) 0%, var(--aim-teal-500) 100%);
    border-color: var(--aim-teal-600);
    color: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 118, 110, 0.28);
}

.amount-btn.active::after {
    color: rgba(255, 255, 255, 0.98);
}

.amount-btn:focus-visible {
    outline: none;
    box-shadow: var(--aim-focus), var(--aim-shadow-lift);
}

.ssl-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #10b981;
    color: #ffffff;
    border-radius: 4px;
    font-size: 0.875rem;
    margin: 0 auto 0.5rem auto;
    font-weight: 600;
}

.ssl-text-bold {
    font-weight: 700;
}

.ssl-text-normal {
    font-weight: 400;
}

.ssl-icon {
    flex-shrink: 0;
}

.ssl-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0.5rem 0 1rem 0;
    text-align: center;
}

.advertising-disclosure {
    text-align: center;
    margin-top: 1rem;
}

.advertising-disclosure a {
    color: var(--aim-teal-700);
    text-decoration: none;
    font-size: 0.875rem;
}

.advertising-disclosure a:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #0f172a;
    font-size: 0.875rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Inter', system-ui, sans-serif;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--aim-teal-500);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.form-group input:focus-visible {
    outline: none;
    box-shadow: var(--aim-focus);
    border-color: var(--aim-teal-500);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--aim-teal-700) 0%, var(--aim-teal-500) 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
    font-family: 'Inter', system-ui, sans-serif;
    box-shadow: 0 16px 36px rgba(15, 118, 110, 0.22);
}

.btn-submit:hover {
    filter: brightness(1.05);
    box-shadow: 0 18px 44px rgba(20, 184, 166, 0.28);
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(1px);
}

.btn-submit:focus-visible {
    outline: none;
    box-shadow: var(--aim-focus), 0 18px 44px rgba(20, 184, 166, 0.24);
}

.success-content {
    text-align: center;
    padding: 2rem 0;
}

.success-content h2 {
    font-family: var(--aim-font-headline);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--aim-teal-700);
    margin-bottom: 1rem;
}

.success-content p {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.selected-amount-display {
    margin-top: 1.5rem;
    font-size: 1.125rem;
}

.selected-amount-display strong {
    color: var(--aim-teal-700);
    font-size: 1.25rem;
}

@media (max-width: 640px) {
    .amount-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .amount-btn {
        padding: 1rem;
        font-size: 0.9375rem;
    }

    .form-step-title {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .q2f-hero {
        overflow: visible;
    }

    .q2f-hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: var(--max-width, 1200px);
        padding: 2.25rem 1rem 3rem;
        margin: 0 auto;
        align-items: center;
    }

    .q2f-hero-form {
        width: min(100%, 640px);
        max-width: 100%;
    }

    .q2f-hero-layout .q2f-form#loan-form-container {
        padding: 0;
        width: min(100%, 600px);
        max-width: min(100%, 600px);
        padding-bottom: 0;
    }
}

/* Desktop: form left-aligned (tablet/mobile centered + art below — see max-width 1023.98px) */
@media (min-width: 1024px) {
    .q2f-hero-layout {
        justify-items: start;
    }

    .q2f-hero-form {
        justify-self: start;
    }

    .q2f-hero-layout .q2f-form#loan-form-container {
        margin-left: 0;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .q2f-hero-layout {
        gap: 1.5rem;
        padding: 1.5rem 1rem 2rem;
    }
}

.post-steps-cta {
    display: inline-block;
    padding: 1.125rem 2.75rem;
    min-width: min(100%, 280px);
    background: linear-gradient(135deg, #58a95f 0%, #3d7a45 100%);
    background-color: #3d7a45;
    color: #ffffff;
    border: none;
    border-radius: var(--aim-radius-md);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    box-shadow: 0 12px 28px rgba(61, 122, 69, 0.35);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.post-steps-cta:hover {
    filter: brightness(1.05) saturate(1.05);
    box-shadow: 0 16px 36px rgba(61, 122, 69, 0.42);
    transform: translateY(-1px);
}

.post-steps-cta:active {
    transform: translateY(1px);
}

.post-steps-cta:focus-visible {
    outline: none;
    box-shadow: var(--aim-focus), 0 16px 36px rgba(61, 122, 69, 0.42);
}

/* Steps */
.steps-section {
    background: #ffffff;
    padding: 3rem 1rem;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

.step {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem 1.125rem;
    text-align: left;
    padding: 1.35rem 1.4rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background:
        radial-gradient(ellipse 130% 95% at 14% 8%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.22) 34%, rgba(255, 255, 255, 0) 54%),
        linear-gradient(168deg, #f0fdf4 0%, #dcfce7 40%, #bbf7d0 100%);
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.95),
        inset 0 -12px 28px rgba(61, 122, 69, 0.08),
        0 22px 50px rgba(61, 122, 69, 0.14),
        0 10px 22px rgba(15, 23, 42, 0.06);
}

/* Specular “balloon” highlight above the gradient */
.step::before {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    width: 46%;
    height: 42%;
    left: 5%;
    top: 2%;
    border-radius: 50%;
    transform: rotate(-14deg);
    background: radial-gradient(
        circle at 32% 28%,
        rgba(255, 255, 255, 0.78) 0%,
        rgba(255, 255, 255, 0.18) 42%,
        rgba(255, 255, 255, 0) 68%
    );
}

.step > * {
    position: relative;
    z-index: 1;
}

/* Line-art / raster icons (see site-config iconUrl) */
.step-icon--img {
    position: relative;
    flex-shrink: 0;
    width: auto;
    height: auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.step-icon-img {
    display: block;
    width: 72px;
    height: 72px;
    max-width: 20vw;
    object-fit: contain;
}

.step-body {
    flex: 1;
    min-width: 0;
}

/* Font Awesome Pro notdog tiles (same icon family as doublepay.net; green theme) */
.step-icon--fa {
    position: relative;
    width: 4.25rem;
    height: 4.25rem;
    flex-shrink: 0;
    border-radius: 1.15rem;
    color: #ffffff;
    font-size: 1.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
    transition:
        transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.24s ease;
}

.step-icon--fa:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 20px 40px rgba(61, 122, 69, 0.22);
}

.step-icon--fa.step-icon--1 {
    background: linear-gradient(168deg, #7bc47f 0%, #58a95f 45%, #3d7a45 100%);
}

.step-icon--fa.step-icon--2 {
    background: linear-gradient(168deg, #2dd4bf 0%, #14b8a6 40%, #0f766e 100%);
}

.step-icon--fa.step-icon--3 {
    background: linear-gradient(
        145deg,
        #58a95f 0%,
        #3d7a45 38%,
        #0d9488 72%,
        #0f766e 100%
    );
}

/* Notdog layer colors (see doublepay.net .brand-promo-icon i) */
.step-icon--fa i {
    --fa-primary-color: rgba(255, 255, 255, 0.98);
    --fa-secondary-color: #d1fae5;
    --fa-secondary-opacity: 1;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.2));
}

.step-title {
    font-family: var(--aim-font-headline);
    font-size: 1.0625rem;
    font-weight: 500;
    margin: 0 0 0.4rem;
    color: #0f766e;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.step-description {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

@media (min-width: 768px) {
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* ---------------------------
   Hero steps: section#hero-steps + left visual + div.steps-section (right column)
   --------------------------- */
#hero-steps.hero-steps-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
    align-content: start;
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 3rem 1rem 1.5rem;
    box-sizing: border-box;
    /* Prevent a taller steps column from leaving a tinted strip under the photo column */
    background: #ffffff;
}

.hero-steps-visual {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    /* White so letterboxing with object-fit: contain matches typical artboard (not gray bars) */
    background: #ffffff;
    display: block;
}

/* Mobile: show full image (no short strip + cover crop that cuts off faces) */
.hero-steps-visual-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(72vh, 560px);
    object-fit: contain;
    object-position: center top;
}

#hero-steps .steps-section {
    min-width: 0;
    margin: 0;
    padding: 0 0 2rem;
    box-sizing: border-box;
}

/* steps-container = column: stacked step cards + CTA under step 3 */
#hero-steps .steps-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    width: 100%;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

#hero-steps .hero-steps-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
}

#hero-steps .steps-container .post-steps-cta {
    align-self: center;
    margin-top: 0;
}

@media (min-width: 768px) {
    #hero-steps.hero-steps-split {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
        align-items: start;
        align-content: start;
    }

    .hero-steps-visual {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        width: auto;
        max-width: none;
        max-height: none;
        align-self: start;
        height: fit-content;
    }

    #hero-steps .steps-section {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        min-height: 0;
    }

    .hero-steps-visual-img {
        width: 100%;
        min-height: 0;
        max-height: none;
        height: auto;
        object-fit: cover;
        object-position: center top;
    }
}

/* Hero step cards + CTA: layout via #hero-steps .hero-steps-cards + .steps-container flex above */

#hero-steps .step-icon--fa {
    width: 5.1rem;
    height: 5.1rem;
    border-radius: 1.38rem;
    font-size: 1.65rem;
}

/* Promo band (below hero): white surface — brand green moved to .site-header */
.q2f-band {
    position: relative;
    overflow: visible;
    background: #ffffff;
    padding: 2.75rem clamp(1.25rem, 5vw, 2.75rem) 3rem;
}

.q2f-band-inner {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
}

.q2f-band-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem 2.5rem;
    align-items: start;
}

.q2f-band-aside {
    min-width: 0;
    padding: 0.5rem 0.75rem 0;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Animated amount tile — brand green (same as .q2f-band-title); white type */
.q2f-band-amount {
    width: 100%;
    max-width: min(100%, 280px);
    margin-inline: auto;
    aspect-ratio: 1;
    max-height: min(72vw, 320px);
    background: var(--q2f-brand-solid, #55a590);
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 32px rgba(77, 151, 133, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.q2f-band-amount-inner {
    padding: 1rem 0.75rem;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.q2f-band-amount-label {
    display: block;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: clamp(0.85rem, 2.6vw, 1.05rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    color: #ffffff;
}

.q2f-band-amount-value {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.65rem, 5.5vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.q2f-band-main {
    min-width: 0;
    text-align: center;
}

.q2f-band-title {
    margin: 0 0 0.75rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--q2f-brand-solid, #55a590);
}

.q2f-band-lead {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.55;
    color: #64748b;
}

.q2f-band-cta {
    margin-top: 1.35rem;
    padding: 0.88rem 1.75rem 0.88rem 1.85rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
    background: var(--q2f-cta-bg);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--q2f-cta-shadow-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition:
        background-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.q2f-band-cta:hover {
    background: var(--q2f-cta-hover);
    box-shadow: 0 6px 24px var(--q2f-cta-shadow-white-hover);
    transform: translateY(-1px);
}

.q2f-band-cta:active {
    transform: translateY(0);
}

.q2f-band-cta:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px #ffffff,
        0 0 0 6px rgba(116, 45, 250, 0.55),
        0 4px 20px rgba(15, 23, 42, 0.14);
}

@media (min-width: 768px) {
    .q2f-band {
        padding: 3rem clamp(1.75rem, 4.5vw, 3rem) 3.25rem;
    }

    .q2f-band-main {
        text-align: left;
    }

    /* Mascot left, copy right (DOM stays copy-first for narrow screens) */
    .q2f-band-aside {
        order: -1;
    }

    .q2f-band-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: 2rem 3rem;
        align-items: center;
    }
}

/* How it works — vertical timeline (numbered circles + dashed rail) */
.q2f-path--timeline {
    --q2f-accent: #55a590;
    --q2f-rail: color-mix(in srgb, var(--q2f-cta-bg) 42%, transparent);
    --q2f-node-fill: var(--q2f-cta-bg);
    --q2f-node-text: #ffffff;
    --q2f-body: #374151;
}

.q2f-path {
    background: #edfbf7;
    padding: 3rem 1rem 3.5rem;
}

.q2f-path-inner {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
}

.q2f-path-header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.5rem;
}

.q2f-path-title {
    margin: 0 0 0.75rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--q2f-accent, #55a590);
}

.q2f-path-lead {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.55;
    color: #64748b;
}

.q2f-path-flow {
    max-width: 38rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    align-items: stretch;
}

.q2f-path-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.q2f-path-step {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 1rem 1.25rem;
    align-items: start;
    margin: 0;
    padding: 0;
}

.q2f-path-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 3.25rem;
    min-height: 100%;
}

.q2f-path-badge {
    flex-shrink: 0;
    width: 2.625rem;
    height: 2.625rem;
    border-radius: 50%;
    background: var(--q2f-node-fill, #55a590);
    color: var(--q2f-node-text, #ffffff);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(116, 45, 250, 0.28);
    transform-origin: center;
    transition:
        transform 0.32s cubic-bezier(0.34, 1.45, 0.64, 1),
        box-shadow 0.28s ease;
    position: relative;
    z-index: 0;
}

.q2f-path-step:hover .q2f-path-badge {
    transform: scale(1.2);
    box-shadow: 0 10px 24px rgba(85, 165, 144, 0.45);
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .q2f-path-badge {
        transition: box-shadow 0.2s ease;
    }

    .q2f-path-step:hover .q2f-path-badge {
        transform: none;
    }
}

.q2f-path-connector {
    flex: 1 1 auto;
    width: 0;
    min-height: 1.35rem;
    margin: 0.35rem 0 0;
    border-left: 2px dashed var(--q2f-rail, rgba(116, 45, 250, 0.42));
    opacity: 0.95;
}

.q2f-path-step:last-child .q2f-path-connector {
    display: none;
}

.q2f-path-step-body {
    padding-bottom: 1.75rem;
}

.q2f-path-step:last-child .q2f-path-step-body {
    padding-bottom: 0;
}

.q2f-path-step-title {
    margin: 0 0 0.45rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--q2f-accent, #55a590);
}

.q2f-path-step-text {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--q2f-body, #374151);
}

.q2f-path-step-text sup {
    font-size: 0.65em;
    font-weight: 600;
}

.q2f-path-cta {
    align-self: center;
    margin: 0.25rem 0 0;
    padding: 0.88rem 1.75rem 0.88rem 1.85rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
    background: var(--q2f-cta-bg);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--q2f-cta-shadow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition:
        background-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.q2f-path-cta-label,
.q2f-band-cta-label {
    flex: 0 0 auto;
}

.q2f-path-cta-arrows,
.q2f-band-cta-arrows {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    flex: 0 0 auto;
    line-height: 1;
}

.q2f-path-cta-dot,
.q2f-band-cta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ffffff;
    flex-shrink: 0;
    opacity: 0.95;
}

.q2f-path-cta-chev,
.q2f-band-cta-chev {
    font-weight: 400;
    font-size: 1.2em;
    letter-spacing: -0.12em;
    line-height: 1;
    transform: translateY(-0.02em);
}

.q2f-path-cta:hover {
    background: var(--q2f-cta-hover);
    box-shadow: 0 6px 24px var(--q2f-cta-shadow);
    transform: translateY(-1px);
}

.q2f-path-cta:active {
    transform: translateY(0);
}

.q2f-path-cta:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px #ffffff,
        0 0 0 6px rgba(116, 45, 250, 0.55),
        0 4px 20px var(--q2f-cta-shadow);
}

@media (prefers-reduced-motion: reduce) {
    .q2f-band-cta,
    .q2f-path-cta {
        transition: none;
    }

    .q2f-band-cta:hover,
    .q2f-path-cta:hover {
        transform: none;
    }
}

@media (max-width: 899.98px) {
    .q2f-band-cta,
    .q2f-path-cta {
        align-self: stretch;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}

@media (min-width: 900px) {
    .q2f-path {
        padding: 3.5rem 1rem 4rem;
    }

    .q2f-path-flow {
        max-width: 42rem;
    }
}

/* Footer */
.disclaimer .disclaimer-content {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
}

.site-footer .footer-content {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    text-align: center;
}

.site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1.1rem;
    margin-bottom: 1.25rem;
}

.site-footer .footer-info p {
    margin: 0.35rem 0;
}

.site-footer .copyright {
    margin: 0.75rem 0 0;
}

.site-footer .footer-links a {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer .footer-links a:hover {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
}

#footer-company,
#footer-site-name {
    font-style: normal;
}
