:root {
    --yellow: #f9bb07;
    --yellow-dark: #d99f00;
    --steel: #2b2b2b;
    --black: #111214;
    --white: #ffffff;
    --muted: #69707a;
    --border: #dfe2e5;
    --shadow: 0 24px 70px rgba(0, 0, 0, .18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: #f3f4f5;
    color: var(--steel);
    font-family: Inter, Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.steel-smoke {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 10%, #44484d 0, transparent 32%),
        radial-gradient(circle at 85% 25%, #292c30 0, transparent 36%),
        linear-gradient(135deg, #111214, #30343a);
}

.steel-smoke span {
    position: absolute;
    width: 55vw;
    height: 55vw;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    filter: blur(80px);
    animation: smoke-drift 18s ease-in-out infinite alternate;
}

.steel-smoke span:nth-child(1) {
    top: -20%;
    left: -10%;
}

.steel-smoke span:nth-child(2) {
    top: 15%;
    right: -20%;
    animation-delay: -7s;
    animation-duration: 23s;
}

.steel-smoke span:nth-child(3) {
    bottom: -30%;
    left: 30%;
    animation-delay: -12s;
    animation-duration: 27s;
}

@keyframes smoke-drift {
    from {
        transform: translate3d(-6%, -3%, 0) scale(.9);
        opacity: .35;
    }
    to {
        transform: translate3d(9%, 8%, 0) scale(1.2);
        opacity: .7;
    }
}

.landing-top {
    display: flex;
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 22px 28px;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.landing-brand {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.landing-brand strong {
    color: var(--yellow);
    font-size: 2rem;
    font-weight: 950;
    letter-spacing: -.06em;
}

.landing-brand span {
    font-size: .9rem;
    font-weight: 800;
}

.landing-trust {
    color: #d5d7d9;
    font-size: .88rem;
    font-weight: 650;
}

main {
    position: relative;
    z-index: 1;
}

.landing-hero {
    display: grid;
    max-width: 1240px;
    min-height: 470px;
    margin: 0 auto;
    padding: 55px 28px 75px;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr);
    gap: 70px;
    align-items: center;
    color: #fff;
}

.hero-kicker,
.section-kicker {
    margin: 0 0 10px;
    color: var(--yellow);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.landing-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.landing-hero h1 span {
    display: block;
    color: var(--yellow);
}

.hero-intro {
    max-width: 690px;
    margin: 25px 0;
    color: #d9dde0;
    font-size: 1.12rem;
}

.hero-points {
    display: flex;
    gap: 10px 24px;
    flex-wrap: wrap;
    color: #f2f2f2;
    font-size: .92rem;
    font-weight: 700;
}

.hero-card {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-top: 5px solid var(--yellow);
    border-radius: 14px;
    background: rgba(20, 21, 23, .72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.hero-card span {
    color: var(--yellow);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.hero-card strong {
    display: block;
    margin: 12px 0;
    font-size: 1.45rem;
    line-height: 1.2;
}

.hero-card p {
    margin: 0;
    color: #cfd2d5;
}

.journey {
    position: relative;
    padding: 70px max(28px, calc((100% - 1184px) / 2)) 105px;
    background: #fff;
    text-align: center;
}

.journey h2,
.quote-intro h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: -.04em;
}

.journey-grid {
    display: grid;
    margin-top: 38px;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.journey-grid article {
    position: relative;
    min-height: 150px;
    padding: 22px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f7f8f8;
}

.journey-grid article:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 3;
    top: 48px;
    right: -19px;
    width: 24px;
    height: 3px;
    background: var(--yellow);
}

.journey-grid b {
    display: grid;
    width: 47px;
    height: 47px;
    margin: 0 auto 15px;
    border-radius: 50%;
    place-items: center;
    background: var(--yellow);
    color: #171717;
    font-size: 1.15rem;
}

.journey-grid strong {
    display: block;
    font-size: .92rem;
    line-height: 1.35;
}

.form-cue {
    display: flex;
    position: absolute;
    z-index: 4;
    bottom: -72px;
    left: 50%;
    width: min(560px, calc(100% - 32px));
    min-height: 126px;
    padding: 20px 30px 42px;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: center;
    border: 0;
    border-radius: 16px;
    background: var(--yellow);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
    color: #161616;
    text-decoration: none;
}

.form-cue strong {
    font-size: 1.08rem;
}

.form-cue span {
    margin-top: 3px;
    font-size: .86rem;
}

.form-cue i {
    position: absolute;
    bottom: 20px;
    width: 17px;
    height: 17px;
    transform: rotate(45deg);
    border-right: 4px solid #171717;
    border-bottom: 4px solid #171717;
    animation: arrow-pulse 1.5s infinite;
}

.form-cue i:nth-of-type(2) {
    bottom: 11px;
    animation-delay: .18s;
}

.form-cue i:nth-of-type(3) {
    bottom: 2px;
    animation-delay: .36s;
}

@keyframes arrow-pulse {
    0%, 100% { opacity: .25; }
    50% { opacity: 1; }
}

.quote-section {
    max-width: 980px;
    margin: 125px auto 70px;
    padding: 42px;
    scroll-margin-top: 25px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.quote-intro {
    margin-bottom: 28px;
    text-align: center;
}

.quote-intro > p:last-child {
    color: var(--muted);
}

.form-error {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #ba5d5d;
    border-radius: 8px;
    background: #faeaea;
    color: #792626;
    font-weight: 750;
}

.quote-form {
    display: grid;
    gap: 22px;
}

.quote-form fieldset {
    margin: 0;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.quote-form legend {
    padding: 0 9px;
    color: #242629;
    font-size: 1.05rem;
    font-weight: 850;
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.quote-form label {
    display: grid;
    gap: 7px;
    color: #444a51;
    font-size: .84rem;
    font-weight: 750;
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #cfd3d7;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font: inherit;
}

.quote-form textarea {
    resize: vertical;
}

.quote-form input:focus,
.quote-form textarea:focus {
    border-color: var(--yellow-dark);
    outline: 3px solid rgba(249, 187, 7, .2);
}

.choice-grid {
    display: grid;
    gap: 10px;
}

.choice-grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.choice-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.choice-grid.products {
    grid-template-columns: repeat(3, 1fr);
}

.choice-card {
    display: block !important;
    cursor: pointer;
}

.choice-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.choice-card span {
    display: flex;
    min-height: 58px;
    padding: 12px 14px;
    align-items: center;
    justify-content: center;
    border: 2px solid #d9dcdf;
    border-radius: 9px;
    background: #f7f8f8;
    text-align: center;
    transition: .18s ease;
}

.choice-card input:checked + span {
    border-color: var(--yellow-dark);
    background: #fff3c6;
    color: #191919;
    box-shadow: inset 0 0 0 1px var(--yellow);
}

.full-field {
    margin-top: 16px;
}

.privacy-choice {
    display: grid !important;
    grid-template-columns: auto 1fr;
    gap: 11px !important;
    align-items: start;
}

.privacy-choice input {
    width: 19px;
    min-height: 19px;
    margin-top: 2px;
    accent-color: var(--yellow-dark);
}

.submit-button {
    padding: 16px 24px;
    border: 0;
    border-radius: 10px;
    background: var(--yellow);
    box-shadow: 0 10px 25px rgba(217, 159, 0, .27);
    color: #171717;
    font-size: 1.05rem;
    font-weight: 900;
    cursor: pointer;
}

.submit-button:hover {
    background: #e8ad00;
    transform: translateY(-1px);
}

.submit-button span {
    display: block;
    margin-top: 2px;
    font-size: .72rem;
    font-weight: 650;
}

.form-reassurance {
    margin: -8px 0 0;
    color: var(--muted);
    font-size: .78rem;
    text-align: center;
}

.honeypot {
    position: absolute;
    left: -10000px;
}

.success-page {
    max-width: 720px;
    margin: 90px auto;
    padding: 55px 40px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    text-align: center;
}

.success-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    place-items: center;
    background: var(--yellow);
    color: #171717;
    font-size: 2.3rem;
    font-weight: 950;
}

.success-page h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.success-reference {
    margin: 25px 0;
    padding: 14px;
    border-radius: 8px;
    background: #f1f2f3;
}

.success-note {
    color: var(--muted);
}

footer {
    display: flex;
    padding: 25px;
    gap: 8px 18px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background: #151618;
    color: #d8d8d8;
    font-size: .82rem;
}

footer strong {
    color: var(--yellow);
}

@media (max-width: 900px) {
    .landing-hero {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .journey-grid {
        grid-template-columns: 1fr;
    }

    .journey-grid article {
        min-height: auto;
    }

    .journey-grid article::after {
        display: none;
    }

    .choice-grid.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .landing-top {
        padding: 17px;
    }

    .landing-trust {
        max-width: 165px;
        text-align: right;
    }

    .landing-hero {
        min-height: auto;
        padding: 40px 18px 65px;
    }

    .journey {
        padding: 55px 18px 105px;
    }

    .quote-section {
        margin: 115px 12px 45px;
        padding: 25px 16px;
    }

    .field-grid,
    .choice-grid.two,
    .choice-grid.three,
    .choice-grid.products {
        grid-template-columns: 1fr;
    }

    .quote-form fieldset {
        padding: 18px 13px;
    }

    .success-page {
        margin: 55px 12px;
        padding: 42px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .steel-smoke span,
    .form-cue i {
        animation: none;
    }
}


/* BAiSE official identity */

.landing-brand {
    display: flex;
    align-items: center;
}

.landing-brand img {
    display: block;
    width: auto;
    height: 64px;
}

footer.landing-footer {
    padding: 32px clamp(20px, 5vw, 70px);
    justify-content: space-between;
    gap: 32px;
}

.footer-identity {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: block;
    width: 88px;
    height: auto;
    flex: 0 0 auto;
}

.footer-contact {
    display: grid;
    gap: 4px;
    font-style: normal;
    line-height: 1.45;
}

.footer-contact strong {
    font-size: 1rem;
}

.footer-contact a {
    color: #ffffff;
    text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
    color: var(--yellow);
    text-decoration: underline;
}

.footer-socials {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.footer-social-label {
    color: #ffffff;
    font-weight: 700;
}

.social-list {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.social-link img {
    width: 19px;
    height: 19px;
}

a.social-link:hover,
a.social-link:focus-visible {
    transform: translateY(-3px);
    background: var(--yellow);
    border-color: var(--yellow);
}

.social-link.pending {
    opacity: .55;
}

@media (max-width: 620px) {
    .landing-brand img {
        height: 52px;
    }

    footer.landing-footer,
    .footer-identity {
        flex-direction: column;
        text-align: center;
    }

    .footer-socials {
        justify-items: center;
    }
}


/* BAiSE identity refinements */

.landing-top {
    min-height: 112px;
    padding: 12px clamp(22px, 5vw, 76px);
    border-bottom: 3px solid var(--yellow);
}

.landing-brand img {
    width: auto;
    height: 88px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .18));
}

.landing-trust {
    max-width: none;
    color: #f4f4f4;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: .84rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.landing-trust::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 3px;
    margin: 0 11px 3px 0;
    background: var(--yellow);
}

footer.landing-footer {
    padding: 40px clamp(24px, 6vw, 90px);
    background:
        linear-gradient(135deg, #151618 0%, #292b2e 100%);
    border-top: 4px solid var(--yellow);
}

.footer-identity {
    gap: 28px;
}

.footer-logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 5px 14px rgba(0, 0, 0, .22));
}

.footer-contact {
    gap: 5px;
    color: #d8d8d8;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: .88rem;
    letter-spacing: .015em;
}

.footer-contact strong {
    color: var(--yellow);
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-contact a {
    font-weight: 650;
}

.footer-social-label {
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

a.social-link {
    width: 46px;
    height: 46px;
    text-decoration: none;
}

a.social-link:hover img,
a.social-link:focus-visible img {
    filter: brightness(0);
}

@media (max-width: 620px) {
    .landing-top {
        min-height: 94px;
        padding: 10px 16px;
    }

    .landing-brand img {
        height: 70px;
    }

    .landing-trust {
        max-width: 150px;
        font-size: .67rem;
        letter-spacing: .045em;
    }

    .landing-trust::before {
        display: none;
    }

    .footer-logo {
        width: 155px;
    }

    footer.landing-footer {
        padding: 36px 20px;
    }
}


/* Google Ads consent */

.ads-consent[hidden],
.ads-consent-settings[hidden] {
    display: none;
}

.ads-consent {
    position: fixed;
    z-index: 9999;
    right: 22px;
    bottom: 22px;
    left: 22px;
    display: flex;
    max-width: 760px;
    margin-left: auto;
    padding: 20px;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(249, 187, 7, .55);
    border-radius: 12px;
    background: #202225;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .3);
    color: #ffffff;
}

.ads-consent-copy {
    max-width: 480px;
}

.ads-consent-copy strong {
    display: block;
    margin-bottom: 7px;
    color: var(--yellow);
    font-size: .95rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ads-consent-copy p {
    margin: 0;
    color: #dedede;
    font-size: .84rem;
    line-height: 1.55;
}

.ads-consent-actions {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
}

.ads-consent button,
.ads-consent-settings {
    min-height: 42px;
    padding: 10px 15px;
    border: 1px solid #6c6e72;
    border-radius: 7px;
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-size: .8rem;
    font-weight: 750;
    cursor: pointer;
}

.ads-consent button.primary {
    border-color: var(--yellow);
    background: var(--yellow);
    color: #202225;
}

.ads-consent button:hover,
.ads-consent button:focus-visible,
.ads-consent-settings:hover,
.ads-consent-settings:focus-visible {
    border-color: var(--yellow);
    outline: 2px solid transparent;
}

.ads-consent-settings {
    position: fixed;
    z-index: 9998;
    right: 14px;
    bottom: 14px;
    min-height: auto;
    padding: 7px 11px;
    border-color: #5a5c60;
    background: #202225;
    color: #ffffff;
    font-size: .72rem;
}

@media (max-width: 680px) {
    .ads-consent {
        right: 12px;
        bottom: 12px;
        left: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .ads-consent-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
