.wf-public-home {
    --wf-head: var(--font-family);
    --wf-body: var(--font-family);
    font-family: var(--font-family);
    font-size: var(--font-base);
    line-height: 1.6;
}

.wf-public-home :where(h1, h2, h3, h4, p, strong, small, span, a, button, input, select) {
    font-family: var(--font-family);
}

.wf-public-home :where(h1, h2, h3, h4, p, strong, small, span) {
    overflow-wrap: anywhere;
}

.wf-section {
    padding-block: clamp(88px, 7.2vw, 120px);
}

.wf-heading {
    align-items: flex-end;
    gap: clamp(32px, 5vw, 64px);
    margin-bottom: clamp(40px, 4.5vw, 58px);
}

.wf-heading > div {
    min-width: 0;
}

.wf-heading h2,
.wf-section-copy h2 {
    margin-top: 16px;
    font-size: clamp(44px, 4.25vw, 56px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.04em;
}

.wf-heading > p,
.wf-section-copy > p {
    width: min(100%, 65ch);
    max-width: 680px;
    font-size: clamp(17px, 1.35vw, 19px);
    line-height: 1.65;
}

.wf-kicker {
    font-size: var(--font-xs);
    font-weight: 600;
    letter-spacing: .08em;
}

.wf-button,
.wf-button--small,
.wf-button--large {
    min-height: 46px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

.wf-button--large {
    min-height: 54px;
    font-size: var(--font-base);
}

.wf-header__nav a,
.wf-login {
    font-size: 15px;
    font-weight: 600;
}

.wf-language select {
    font-size: var(--font-sm);
}

.wf-hero h1 {
    font-size: clamp(48px, 5vw, 76px);
    font-weight: 700;
    line-height: 1.07;
    letter-spacing: -.03em;
}

.wf-hero__copy > p {
    width: min(100%, 65ch);
    max-width: 650px;
    font-size: clamp(18px, 1.4vw, 20px);
    line-height: 1.65;
}

.wf-hero__benefits {
    gap: 13px 22px;
    font-size: var(--font-sm);
    line-height: 1.45;
}

.wf-trust-strip strong {
    font-size: 15px;
    line-height: 1.35;
}

.wf-trust-strip small {
    margin-top: 5px;
    font-size: var(--font-sm) !important;
    line-height: 1.4;
    white-space: normal;
}

.wf-stats__grid {
    gap: 20px;
}

.wf-stats article {
    min-width: 0;
    padding: 28px;
}

.wf-stats article > span,
.wf-stats article > small {
    font-size: var(--font-xs) !important;
    line-height: 1.45;
}

.wf-stats article > strong {
    margin-block: 9px 6px;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.15;
}

.wf-check-list {
    gap: 20px;
}

.wf-check-list li {
    gap: 14px;
}

.wf-check-list strong {
    font-size: var(--font-lg);
    line-height: 1.35;
}

.wf-check-list small {
    margin-top: 8px;
    font-size: var(--font-base);
    line-height: 1.6;
}

.wf-journey__grid {
    gap: 24px;
}

.wf-step-card {
    padding: 30px;
}

.wf-step-card h3 {
    margin-bottom: 11px;
    font-size: clamp(20px, 1.8vw, 24px);
    line-height: 1.3;
}

.wf-step-card p {
    max-width: 65ch;
    font-size: var(--font-base);
    line-height: 1.65;
}

.wf-plan-benefits__grid {
    gap: 18px;
}

.wf-plan-benefits article {
    min-width: 0;
    padding: 22px 24px;
    align-items: flex-start;
    gap: 14px;
}

.wf-plan-benefits article > span {
    min-width: 0;
}

.wf-plan-benefits strong {
    font-size: var(--font-base);
    line-height: 1.35;
}

.wf-plan-benefits small {
    margin-top: 7px;
    font-size: var(--font-sm) !important;
    line-height: 1.5;
}

.wf-model-cards {
    gap: 20px;
}

.wf-model-cards > button {
    padding: 26px;
}

.wf-model-cards > button > span {
    font-size: var(--font-xs);
}

.wf-model-cards > button > strong {
    font-size: clamp(20px, 1.8vw, 24px);
    line-height: 1.25;
}

.wf-model-cards > button > small {
    margin-top: 10px;
    font-size: 15px !important;
    line-height: 1.6;
}

.wf-account-heading h3,
.wf-rule-column h4,
.wf-order-summary h4 {
    font-size: clamp(20px, 1.8vw, 24px);
    line-height: 1.3;
}

.wf-field-label,
.wf-account-heading > small,
.wf-selector-detail__header,
.wf-rule-column dt,
.wf-rule-column dd,
.wf-order-summary dt,
.wf-order-summary dd {
    font-size: var(--font-sm) !important;
    line-height: 1.5;
}

.wf-feature-showcase__stage h3 {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.2;
}

.wf-feature-showcase__stage p {
    max-width: 65ch;
    font-size: var(--font-base);
    line-height: 1.65;
}

.wf-feature-showcase__choices button strong {
    font-size: var(--font-base);
    line-height: 1.35;
}

.wf-feature-showcase__choices button small {
    margin-top: 7px;
    font-size: var(--font-sm);
    line-height: 1.5;
}

.wf-payout-process strong,
.wf-payout-wall strong,
.wf-payout-card strong,
.wf-success-card strong,
.wf-review-card strong,
.wf-certificate-types span,
.wf-platform__features span {
    font-size: var(--font-base);
    line-height: 1.4;
}

.wf-payout-process small,
.wf-payout-wall small,
.wf-payout-card small,
.wf-success-card small,
.wf-review-card small {
    font-size: var(--font-sm);
    line-height: 1.45;
}

.wf-review-card blockquote {
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.65;
}

.wf-certificate-search label,
.wf-certificate-search small,
.wf-text-link {
    font-size: var(--font-sm);
    line-height: 1.5;
}

.wf-certificate-search input {
    font-size: var(--font-base);
}

.wf-faq__item button {
    min-height: 72px;
    gap: 14px;
}

.wf-faq__item button strong {
    font-size: var(--font-md);
    line-height: 1.45;
}

.wf-faq__item p {
    max-width: 65ch;
    font-size: var(--font-base);
    line-height: 1.7;
}

.wf-final-cta h2 {
    font-size: clamp(40px, 4.4vw, 58px);
    line-height: 1.12;
}

.wf-final-cta p {
    max-width: 65ch;
    font-size: var(--font-lg);
    line-height: 1.65;
}

.wf-footer p,
.wf-footer a,
.wf-footer small,
.wf-footer__bottom {
    font-size: var(--font-sm) !important;
    line-height: 1.65;
}

.wf-footer nav > strong,
.wf-footer__newsletter > strong {
    font-size: var(--font-base);
}

.wf-reward-card label,
.wf-reward-card select,
.wf-reward-card output,
.wf-reward-disclaimer,
.wf-reward-result > span,
.wf-reward-result > small,
.wf-reward-assurances span {
    font-size: var(--font-base);
    line-height: 1.55;
}

.wf-reward-result > strong {
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.15;
}

.wf-community__stats strong {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
}

.wf-community__stats span,
.wf-community__badge strong,
.wf-community__badge small,
.wf-community__source {
    font-size: var(--font-sm);
    line-height: 1.5;
}

.wf-support-card h3 {
    margin-block: 9px 10px;
    font-size: clamp(20px, 1.8vw, 24px);
    line-height: 1.3;
}

.wf-support-card p {
    max-width: 65ch;
    font-size: var(--font-base);
    line-height: 1.65;
}

.wf-support-card small,
.wf-support-card .wf-text-link {
    font-size: var(--font-sm);
    line-height: 1.5;
}

/* Clear Rules */
.wf-rules {
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 8%, rgba(53, 207, 250, .13), transparent 31%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 52%, #ffffff 100%);
}

.wf-rules::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .34;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(18, 104, 243, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 104, 243, .045) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}

.wf-rules__decoration {
    width: min(620px, 48vw);
    height: min(620px, 48vw);
    position: absolute;
    z-index: -1;
    right: -260px;
    top: 80px;
    border-radius: 50%;
    opacity: .38;
    filter: blur(30px);
    background: radial-gradient(circle, rgba(22, 140, 255, .16), transparent 68%);
    animation: wfRulesGlow 14s ease-in-out infinite alternate;
}

.wf-rule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.wf-rule-card {
    min-width: 0;
    min-height: 230px;
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid #d5e5f4;
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 48px rgba(18, 73, 132, .08);
    transition: transform 450ms cubic-bezier(.22, 1, .36, 1), border-color 450ms ease, box-shadow 450ms ease;
}

.wf-rule-card:hover {
    transform: translateY(-3px);
    border-color: #8ec7f8;
    box-shadow: 0 24px 58px rgba(18, 104, 243, .14);
}

.wf-rule-card__icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border: 1px solid #b9daf7;
    border-radius: 50%;
    color: #0b63dc;
    background: linear-gradient(145deg, #eef8ff, #dceeff);
    box-shadow: inset 0 1px #fff, 0 8px 20px rgba(18, 104, 243, .11);
    font-size: var(--font-md);
    font-weight: 700;
    transition: transform 450ms cubic-bezier(.22, 1, .36, 1), background 450ms ease;
}

.wf-rule-card:hover .wf-rule-card__icon {
    transform: scale(1.06);
    background: linear-gradient(145deg, #e4f5ff, #cce8ff);
}

.wf-rule-card > div {
    min-width: 0;
}

.wf-rule-card h3 {
    margin: 1px 0 10px;
    color: var(--wf-navy);
    font-size: clamp(20px, 1.7vw, 23px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.wf-rule-card p {
    max-width: 65ch;
    margin: 0;
    color: var(--wf-copy);
    font-size: var(--font-base);
    line-height: 1.65;
}

.wf-prohibited {
    margin-top: 32px;
    padding: clamp(26px, 3vw, 36px);
    border: 1px solid #d4e5f5;
    border-radius: 22px;
    background: rgba(247, 251, 255, .9);
    box-shadow: 0 18px 50px rgba(18, 73, 132, .07);
}

.wf-prohibited__intro {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.wf-prohibited__intro > div {
    min-width: 0;
}

.wf-prohibited__intro h3 {
    margin: 1px 0 10px;
    color: var(--wf-navy);
    font-size: clamp(22px, 2.1vw, 28px);
    line-height: 1.3;
    letter-spacing: -.025em;
}

.wf-prohibited__intro p {
    max-width: 65ch;
    margin: 0;
    color: var(--wf-copy);
    font-size: var(--font-base);
    line-height: 1.65;
}

.wf-prohibited__list {
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 26px;
    list-style: none;
}

.wf-prohibited__list li {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #334d6b;
    font-size: 15px;
    line-height: 1.5;
}

.wf-prohibited__list li:not([hidden]) {
    animation: wfPracticeReveal 420ms cubic-bezier(.22, 1, .36, 1) both;
}

.wf-prohibited__list i {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #0b63dc;
    background: #e1f1ff;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.wf-prohibited__actions {
    margin-top: 30px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.wf-prohibited__actions .wf-button i {
    font-style: normal;
    transition: transform 300ms ease;
}

.wf-prohibited__actions .wf-button[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Reusable reveal variants */
.wf-reveal {
    transition-delay: var(--wf-reveal-delay, 0ms);
    transition-duration: 650ms;
    transition-timing-function: cubic-bezier(.22, 1, .36, 1);
}

.wf-reveal[data-reveal="fade-in"] {
    transform: none;
}

.wf-reveal[data-reveal="slide-left"] {
    transform: translate3d(24px, 0, 0);
}

.wf-reveal[data-reveal="slide-right"] {
    transform: translate3d(-24px, 0, 0);
}

.wf-reveal[data-reveal="scale-in"] {
    transform: scale(.97);
}

.wf-reveal.visible {
    transform: none;
}

@keyframes wfRulesGlow {
    from { transform: translate3d(0, -18px, 0) scale(.96); }
    to { transform: translate3d(-36px, 28px, 0) scale(1.04); }
}

@keyframes wfPracticeReveal {
    from { opacity: 0; transform: translate3d(0, 10px, 0); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
    .wf-heading h2,
    .wf-section-copy h2 {
        font-size: clamp(36px, 5vw, 44px);
    }

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

    .wf-rule-card {
        min-height: 220px;
    }
}

@media (max-width: 760px) {
    .wf-section {
        padding-block: clamp(64px, 13vw, 80px);
    }

    .wf-heading {
        gap: 0;
    }

    .wf-heading > p {
        margin-top: 22px;
    }

    .wf-heading h2,
    .wf-section-copy h2 {
        font-size: clamp(30px, 8vw, 36px);
        line-height: 1.15;
    }

    .wf-heading > p,
    .wf-section-copy > p,
    .wf-hero__copy > p {
        font-size: clamp(16px, 4vw, 18px);
    }

    .wf-rule-grid {
        grid-template-columns: 1fr;
    }

    .wf-rule-card {
        min-height: 0;
    }

    .wf-prohibited__list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .wf-public-home {
        font-size: 15px;
    }

    .wf-container {
        width: min(460px, calc(100% - 28px));
    }

    .wf-hero h1 {
        font-size: clamp(34px, 10.5vw, 42px);
        line-height: 1.1;
    }

    .wf-hero__actions {
        grid-template-columns: 1fr;
    }

    .wf-hero__actions .wf-button,
    .wf-final-cta__inner .wf-button {
        min-height: 48px;
        font-size: 15px;
    }

    .wf-heading h2,
    .wf-section-copy h2 {
        font-size: clamp(28px, 9vw, 34px);
    }

    .wf-rule-card,
    .wf-prohibited {
        padding: 24px;
        border-radius: 18px;
    }

    .wf-rule-card,
    .wf-prohibited__intro {
        gap: 14px;
    }

    .wf-rule-card__icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .wf-rule-card h3 {
        font-size: clamp(18px, 5.4vw, 21px);
    }

    .wf-rule-card p,
    .wf-prohibited__intro p {
        font-size: 15px;
    }

    .wf-prohibited__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .wf-prohibited__actions .wf-button,
    .wf-prohibited__actions .wf-text-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .wf-stats__grid {
        gap: 12px;
    }

    .wf-stats article {
        padding: 22px;
    }

    .wf-faq__item button strong {
        font-size: var(--font-base);
    }

    .wf-faq__item p,
    .wf-footer p,
    .wf-footer a,
    .wf-footer small {
        font-size: var(--font-sm) !important;
    }
}

@media (max-width: 360px) {
    .wf-container {
        width: calc(100% - 24px);
    }

    .wf-rule-card,
    .wf-prohibited {
        padding: 20px;
    }

    .wf-rule-card {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wf-reveal,
    .wf-reveal[data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .wf-rules__decoration,
    .wf-prohibited__list li,
    .wf-rule-card,
    .wf-rule-card__icon {
        animation: none !important;
        transition: none;
    }
}

/* Final homepage QA polish: preserve the design while improving legibility and interaction quality. */
.wf-public-home {
    --wf-radius-sm: 12px;
    --wf-radius-md: 18px;
    --wf-radius-lg: 26px;
    --wf-ease-premium: cubic-bezier(.22, 1, .36, 1);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.wf-public-home :where(a, button, input, select) {
    -webkit-tap-highlight-color: transparent;
}

.wf-public-home :where(button, a, input, select):focus-visible {
    outline: 3px solid #7cc7ff;
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(18, 104, 243, .14);
}

.wf-public-home :where(.wf-button, .wf-text-link, .wf-header__nav a, button) {
    transition-duration: 240ms;
    transition-timing-function: var(--wf-ease-premium);
}

.wf-button:active,
.wf-selector-utilities button:active,
.wf-model-cards > button:active,
.wf-account-cards > button:active {
    transform: translateY(0) scale(.985);
}

.wf-button[aria-busy="true"] {
    pointer-events: none;
    opacity: .72;
}

.wf-button[aria-busy="true"]::before {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: wfButtonSpin .7s linear infinite;
}

.wf-visual-card--balance > span,
.wf-visual-card--funded > span,
.wf-visual-card--payout span,
.wf-visual-card--payout small,
.wf-visual-card--funded small,
.wf-visual-chip,
.wf-terminal > header strong,
.wf-terminal > header em,
.wf-terminal__balance span,
.wf-terminal__balance small,
.wf-terminal__metrics span,
.wf-terminal__metrics strong {
    font-size: 12px;
    line-height: 1.4;
}

.wf-visual-chip {
    font-size: 12px;
}

.wf-brand-copy em,
.wf-public-home .brand-copy em {
    font-size: 10px;
}

.wf-offer__message,
.wf-offer__message strong,
.wf-offer__code strong,
.wf-offer__timer {
    font-size: 12px;
    line-height: 1.35;
}

.wf-offer__code span,
.wf-offer__code i {
    font-size: 11px;
}

.wf-offer__code,
.wf-offer__close {
    min-width: 40px;
    min-height: 40px;
}

.wf-header__toggle,
.wf-language select {
    min-height: 44px;
}

.wf-model-cards > button,
.wf-account-cards > button,
.wf-rule-card,
.wf-success-card,
.wf-review-card,
.wf-support-card,
.wf-faq__item,
.wf-stats article {
    transition: transform 260ms var(--wf-ease-premium), border-color 260ms ease, box-shadow 260ms ease, background-color 260ms ease;
}

.wf-journey__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wf-step-card {
    min-width: 0;
}

@media (hover: hover) and (pointer: fine) {
    .wf-stats article:hover,
    .wf-success-card:hover,
    .wf-review-card:hover,
    .wf-support-card:hover {
        transform: translateY(-5px);
        border-color: #afd4f5;
        box-shadow: 0 24px 58px rgba(18, 76, 137, .12);
    }
}

.wf-account-cards > button[aria-pressed="true"],
.wf-model-cards > button[aria-selected="true"] {
    border-color: #4ca8f8;
    box-shadow: 0 18px 44px rgba(18, 104, 243, .17), inset 0 0 0 1px rgba(255, 255, 255, .78);
}

.wf-rule-column dt button {
    min-width: 28px;
    min-height: 28px;
}

.wf-percentage-toggle {
    min-height: 44px;
}

.wf-addons label > span,
.wf-faq-filters button,
.wf-selector-utilities > * {
    min-height: 44px;
}

.wf-payout-wall :where(strong, small, time, em),
.wf-payout-card :where(span, small),
.wf-success-card :where(span, small),
.wf-feature-showcase__stage :where(span, em),
.wf-community__source,
.wf-certificate-search small,
.wf-order-summary > small {
    font-size: 12px !important;
    line-height: 1.45;
}

.wf-payout-wall > header strong,
.wf-payout-wall > article strong,
.wf-success-card header strong {
    font-size: 14px !important;
}

.wf-payout-wall__avatar {
    font-size: 11px !important;
}

.wf-payout-wall > article em {
    min-width: 44px;
    min-height: 28px;
    display: inline-grid;
    place-items: center;
}

.wf-footer a,
.wf-footer p,
.wf-footer small,
.wf-footer span {
    line-height: 1.55;
}

@media (max-width: 1180px) {
    .wf-header__inner {
        gap: 16px;
    }

    .wf-header__nav {
        gap: 14px;
    }

    .wf-header__nav a,
    .wf-login {
        font-size: 14px;
    }

    .wf-header__actions .wf-language {
        display: none;
    }
}

@media (max-width: 1024px) {
    .wf-offer__inner {
        padding-block: 8px;
        padding-right: 48px;
        flex-wrap: wrap;
        gap: 8px 14px;
    }

    .wf-offer__close {
        right: 8px;
    }

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

    .wf-step-card > b {
        display: none;
    }
}

@media (max-width: 760px) {
    .wf-public-home {
        overflow-wrap: break-word;
    }

    .wf-offer__message {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .wf-header__nav a,
    .wf-login,
    .wf-selector-utilities > *,
    .wf-category-tabs button,
    .wf-model-cards > button,
    .wf-account-cards > button,
    .wf-faq__item button,
    .wf-footer a {
        font-size: 15px;
    }

    .wf-journey__grid {
        grid-template-columns: 1fr;
    }

    .wf-step-card {
        min-height: 0;
    }

    .wf-account-cards {
        scroll-padding-inline: 14px;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
    }

    .wf-selector-modal {
        max-height: calc(100dvh - 24px);
        overflow: auto;
    }
}

@media (max-width: 520px) {
    .wf-offer__inner > .wf-button,
    .wf-offer__timer {
        display: none;
    }

    .wf-offer__message span {
        display: none;
    }

    .wf-hero {
        padding-top: 64px;
    }

    .wf-stats article > strong {
        font-size: clamp(27px, 9vw, 34px);
    }

    .wf-reward-card,
    .wf-selector,
    .wf-selector-detail,
    .wf-community__visual,
    .wf-platform__card {
        border-radius: 20px;
    }
}

@keyframes wfButtonSpin {
    to { transform: rotate(360deg); }
}

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

    .wf-public-home *,
    .wf-public-home *::before,
    .wf-public-home *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
