:root {
    --yla-charcoal: #17191d;
    --yla-charcoal-soft: #24272d;
    --yla-gold: #d7a51d;
    --yla-gold-bright: #f2c94c;
    --yla-cream: #f8f5ee;
    --yla-white: #ffffff;
    --yla-text: #25272b;
    --yla-muted: #676b73;
    --yla-red: #c4423c;
    --yla-yellow: #e0ad1d;
    --yla-blue: #3976a8;
    --yla-green: #338058;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--yla-text);
    background: #fff;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.yla-home,
.yla-home * {
    box-sizing: border-box;
}

.yla-home {
    overflow: hidden;
    color: var(--yla-text);
    background: #fff;
    font-size: 16px;
    line-height: 1.6;
}

.yla-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.yla-home h1,
.yla-home h2,
.yla-home h3,
.yla-home p {
    margin-top: 0;
}

.yla-home h1,
.yla-home h2,
.yla-home h3 {
    color: inherit;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.yla-home h1 {
    margin-bottom: 24px;
    font-size: clamp(43px, 5.3vw, 74px);
    font-weight: 780;
    letter-spacing: -0.048em;
    line-height: 0.98;
}

.yla-home h1 span {
    color: var(--yla-gold-bright);
}

.yla-home h2 {
    margin-bottom: 20px;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 760;
    letter-spacing: -0.038em;
    line-height: 1.06;
}

.yla-home h3 {
    margin-bottom: 12px;
    font-size: 21px;
    font-weight: 730;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.yla-alert {
    padding: 14px 20px;
    color: #fff;
    background: #8b2424;
    text-align: center;
    font-weight: 700;
}

.yla-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: 750 15px/1 Inter, "Segoe UI", sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.yla-button:hover,
.yla-button:focus-visible {
    text-decoration: none;
    transform: translateY(-2px);
}

.yla-button--gold {
    color: #17191d;
    background: var(--yla-gold-bright);
    border-color: var(--yla-gold-bright);
    box-shadow: 0 12px 28px rgba(215, 165, 29, 0.25);
}

.yla-button--gold:hover,
.yla-button--gold:focus-visible {
    color: #17191d;
    background: #e6b82f;
}

.yla-button--outline-light {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.55);
}

.yla-button--outline-light:hover,
.yla-button--outline-light:focus-visible {
    color: #17191d;
    background: #fff;
}

.yla-button--dark {
    color: #fff;
    background: var(--yla-charcoal);
    border-color: var(--yla-charcoal);
}

.yla-button--dark:hover,
.yla-button--dark:focus-visible {
    color: #fff;
    background: #000;
    box-shadow: 0 12px 24px rgba(23, 25, 29, 0.18);
}

.yla-section-label {
    display: inline-block;
    margin-bottom: 16px;
    color: #9a7210;
    font-size: 12px;
    font-weight: 820;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.yla-section-heading {
    max-width: 780px;
    margin: 0 auto 54px;
    text-align: center;
}

.yla-section-heading p {
    margin-bottom: 0;
    color: var(--yla-muted);
    font-size: 18px;
}

.yla-section-heading--light h2,
.yla-section-heading--light p {
    color: #fff;
}

.yla-section-heading--light p {
    color: rgba(255, 255, 255, 0.68);
}

.yla-hero {
    position: relative;
    min-height: 680px;
    display: grid;
    align-items: center;
    color: #fff;
    background: var(--yla-charcoal);
}

.yla-hero__image,
.yla-hero__overlay {
    position: absolute;
    inset: 0;
}

.yla-hero__image {
    background-image: url('../images/home/living-advantage-hero.webp');
    background-position: center center;
    background-size: cover;
}

.yla-hero__overlay {
    background:
        linear-gradient(90deg, rgba(14, 16, 19, 0.98) 0%, rgba(14, 16, 19, 0.9) 34%, rgba(14, 16, 19, 0.35) 64%, rgba(14, 16, 19, 0.08) 100%),
        linear-gradient(0deg, rgba(14, 16, 19, 0.28), rgba(14, 16, 19, 0.02));
}

.yla-hero__content {
    position: relative;
    z-index: 1;
    padding-block: 86px;
}

.yla-hero__content > p {
    max-width: 650px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.7;
}

.yla-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.yla-eyebrow__dots {
    display: flex;
    gap: 3px;
}

.yla-eyebrow__dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.yla-eyebrow__dots i:nth-child(1) { background: var(--yla-red); }
.yla-eyebrow__dots i:nth-child(2) { background: var(--yla-yellow); }
.yla-eyebrow__dots i:nth-child(3) { background: var(--yla-blue); }
.yla-eyebrow__dots i:nth-child(4) { background: var(--yla-green); }

.yla-hero__actions,
.yla-final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.yla-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 34px;
    margin-top: 38px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.yla-hero__trust span {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.yla-hero__trust strong {
    color: #fff;
    font-size: 25px;
    line-height: 1;
}

.yla-login-section {
    position: relative;
    z-index: 2;
    background: var(--yla-cream);
    border-bottom: 1px solid #e6e0d5;
}

.yla-login-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.7fr);
    align-items: center;
    gap: 48px;
    padding-block: 42px;
}

.yla-login-intro .yla-section-label {
    margin-bottom: 8px;
}

.yla-login-intro h2 {
    margin-bottom: 8px;
    font-size: 30px;
}

.yla-login-intro p {
    margin-bottom: 0;
    color: var(--yla-muted);
}

.yla-login-form {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(160px, 0.8fr) auto;
    align-items: end;
    gap: 12px;
}

.yla-field label {
    display: block;
    margin-bottom: 7px;
    color: #4d5057;
    font-size: 12px;
    font-weight: 750;
}

.yla-field input {
    width: 100%;
    height: 50px;
    padding: 10px 13px;
    color: var(--yla-text);
    background: #fff;
    border: 1px solid #cdc8bd;
    border-radius: 8px;
    outline: none;
    font: 16px/1.2 Inter, "Segoe UI", sans-serif;
}

.yla-field input:focus {
    border-color: var(--yla-gold);
    box-shadow: 0 0 0 3px rgba(215, 165, 29, 0.16);
}

.yla-login-form__links {
    grid-column: 1 / -1;
    display: flex;
    gap: 18px;
    justify-content: flex-end;
    margin-top: 2px;
}

.yla-login-form__links a {
    color: #4f535b;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.yla-login-form__links a:hover,
.yla-login-form__links a:focus-visible,
.yla-text-link:hover,
.yla-text-link:focus-visible {
    color: #000;
    text-decoration: underline;
}

.yla-audience,
.yla-insight,
.yla-video,
.yla-steps {
    padding-block: 110px;
}

.yla-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.yla-audience-card {
    position: relative;
    min-height: 310px;
    padding: 38px 34px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6e3dc;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(23, 25, 29, 0.07);
}

.yla-audience-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: var(--card-accent);
}

.yla-audience-card--red { --card-accent: var(--yla-red); }
.yla-audience-card--yellow { --card-accent: var(--yla-yellow); }
.yla-audience-card--blue { --card-accent: var(--yla-blue); }

.yla-audience-card__number {
    margin-bottom: 54px;
    color: var(--card-accent);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.yla-audience-card p {
    margin-bottom: 0;
    color: var(--yla-muted);
}

.yla-insight {
    background: var(--yla-cream);
}

.yla-insight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(48px, 7vw, 94px);
}

.yla-insight__image-wrap {
    position: relative;
    padding: 0 24px 36px 0;
}

.yla-insight__image-wrap::before {
    content: "";
    position: absolute;
    inset: 34px 0 0 34px;
    background: var(--yla-gold-bright);
    border-radius: 18px;
}

.yla-insight__image-wrap img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 24px 55px rgba(23, 25, 29, 0.18);
}

.yla-insight__image-note {
    position: absolute;
    z-index: 2;
    right: -16px;
    bottom: -15px;
    width: min(310px, 72%);
    padding: 20px 22px;
    color: #fff;
    background: var(--yla-charcoal);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(23, 25, 29, 0.2);
}

.yla-insight__image-note strong,
.yla-insight__image-note span {
    display: block;
}

.yla-insight__image-note strong {
    margin-bottom: 4px;
    font-size: 16px;
}

.yla-insight__image-note span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
}

.yla-insight__content > p {
    color: var(--yla-muted);
    font-size: 17px;
}

.yla-check-list {
    display: grid;
    gap: 13px;
    margin: 28px 0 30px;
    padding: 0;
    list-style: none;
}

.yla-check-list li {
    position: relative;
    padding-left: 32px;
}

.yla-check-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--yla-green);
    font-weight: 900;
}

.yla-text-link {
    color: var(--yla-text);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.yla-text-link span {
    display: inline-block;
    margin-left: 5px;
}

.yla-outcomes {
    padding-block: 110px;
    color: #fff;
    background: var(--yla-charcoal);
}

.yla-outcomes-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.yla-outcomes-grid article {
    min-height: 240px;
    padding: 30px 26px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.yla-outcomes-grid p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
}

.yla-outcomes-card__accent {
    display: block;
    width: 38px;
    height: 5px;
    margin-bottom: 52px;
    border-radius: 999px;
}

.yla-red { background: var(--yla-red); }
.yla-yellow { background: var(--yla-yellow); }
.yla-blue { background: var(--yla-blue); }
.yla-green { background: var(--yla-green); }

.yla-outcomes__link {
    margin-top: 38px;
    text-align: center;
}

.yla-video-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: 68px;
}

.yla-video__content p {
    color: var(--yla-muted);
    font-size: 18px;
}

.yla-video__frame {
    position: relative;
    padding: 12px;
    background: var(--yla-charcoal);
    border-radius: 16px;
    box-shadow: 0 24px 55px rgba(23, 25, 29, 0.18);
}

.yla-video__frame::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 4px;
    left: 12px;
    height: 5px;
    background: linear-gradient(90deg, var(--yla-red) 0 25%, var(--yla-yellow) 25% 50%, var(--yla-blue) 50% 75%, var(--yla-green) 75% 100%);
}

.yla-video__frame iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 8px;
}

.yla-steps {
    background: #f6f7f8;
}

.yla-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.yla-steps-grid li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px;
    background: #fff;
    border: 1px solid #e2e5e9;
    border-radius: 12px;
}

.yla-steps-grid > li > span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    color: #17191d;
    background: var(--yla-gold-bright);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 850;
}

.yla-steps-grid h3 {
    margin-bottom: 7px;
}

.yla-steps-grid p {
    margin-bottom: 0;
    color: var(--yla-muted);
    font-size: 14px;
}

.yla-final-cta {
    position: relative;
    padding-block: 105px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 0%, rgba(242, 201, 76, 0.18), transparent 32%),
        var(--yla-charcoal);
}

.yla-final-cta__colors {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: grid;
    width: 18px;
    grid-template-rows: repeat(4, 1fr);
}

.yla-final-cta__colors i:nth-child(1) { background: var(--yla-red); }
.yla-final-cta__colors i:nth-child(2) { background: var(--yla-yellow); }
.yla-final-cta__colors i:nth-child(3) { background: var(--yla-blue); }
.yla-final-cta__colors i:nth-child(4) { background: var(--yla-green); }

.yla-final-cta__content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.yla-final-cta__content p {
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
}

.yla-final-cta__actions {
    justify-content: center;
}

.yla-home-footer,
.yla-home-footer * {
    box-sizing: border-box;
}

.yla-home-footer {
    padding: 54px 20px 24px;
    color: rgba(255, 255, 255, 0.72);
    background: #111317;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.yla-home-footer__inner,
.yla-home-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.yla-home-footer__inner {
    padding-bottom: 36px;
}

.yla-home-footer__brand img {
    display: block;
    width: min(310px, 100%);
    height: auto;
    padding: 7px 10px;
    background: #fff;
    border-radius: 8px;
}

.yla-home-footer__brand p {
    max-width: 520px;
    margin: 17px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.7;
}

.yla-home-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-end;
    gap: 10px 22px;
    padding-top: 10px;
}

.yla-home-footer__links a {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.yla-home-footer__links a:hover,
.yla-home-footer__links a:focus-visible {
    color: var(--yla-gold-bright);
}

.yla-home-footer__bottom {
    padding-top: 21px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
}

@media (max-width: 980px) {
    .yla-hero {
        min-height: 650px;
    }

    .yla-hero__image {
        background-position: 58% center;
    }

    .yla-login-grid,
    .yla-video-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .yla-audience-grid,
    .yla-steps-grid {
        grid-template-columns: 1fr;
    }

    .yla-audience-card {
        min-height: auto;
    }

    .yla-audience-card__number {
        margin-bottom: 34px;
    }

    .yla-insight-grid {
        grid-template-columns: 1fr;
    }

    .yla-insight__image-wrap {
        width: min(680px, 100%);
        margin-inline: auto;
    }

    .yla-outcomes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .yla-container {
        width: min(100% - 28px, 1180px);
    }

    .yla-home h1 {
        font-size: clamp(40px, 12vw, 56px);
    }

    .yla-home h2 {
        font-size: clamp(31px, 9vw, 42px);
    }

    .yla-hero {
        min-height: 740px;
        align-items: end;
    }

    .yla-hero__image {
        background-position: 68% top;
    }

    .yla-hero__overlay {
        background: linear-gradient(0deg, rgba(14, 16, 19, 0.99) 0%, rgba(14, 16, 19, 0.92) 48%, rgba(14, 16, 19, 0.3) 100%);
    }

    .yla-hero__content {
        padding-block: 74px 48px;
    }

    .yla-hero__content > p {
        font-size: 16px;
        line-height: 1.6;
    }

    .yla-hero__actions,
    .yla-final-cta__actions {
        flex-direction: column;
    }

    .yla-hero__actions .yla-button,
    .yla-final-cta__actions .yla-button {
        width: 100%;
    }

    .yla-hero__trust {
        gap: 16px;
    }

    .yla-login-grid {
        padding-block: 36px;
    }

    .yla-login-form {
        grid-template-columns: 1fr;
    }

    .yla-login-form .yla-button {
        width: 100%;
    }

    .yla-login-form__links {
        grid-column: auto;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .yla-audience,
    .yla-insight,
    .yla-outcomes,
    .yla-video,
    .yla-steps,
    .yla-final-cta {
        padding-block: 78px;
    }

    .yla-section-heading {
        margin-bottom: 38px;
    }

    .yla-audience-card {
        padding: 30px 26px;
    }

    .yla-insight__image-wrap {
        padding: 0 12px 30px 0;
    }

    .yla-insight__image-wrap::before {
        inset: 22px 0 0 22px;
    }

    .yla-insight__image-note {
        right: 0;
        width: 82%;
    }

    .yla-outcomes-grid {
        grid-template-columns: 1fr;
    }

    .yla-outcomes-grid article {
        min-height: auto;
    }

    .yla-outcomes-card__accent {
        margin-bottom: 32px;
    }

    .yla-steps-grid li {
        padding: 24px 20px;
    }

    .yla-home-footer__inner,
    .yla-home-footer__bottom {
        flex-direction: column;
    }

    .yla-home-footer__links {
        justify-content: flex-start;
    }
}

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

    .yla-button {
        transition: none;
    }
}
