.landing-body {
    min-height: 100%;
    background:
        radial-gradient(circle at 50% 36%, rgba(230, 135, 34, 0.035), transparent 34%),
        #fafafa;
    color: #111;
    user-select: auto;
}

.landing-page {
    box-sizing: border-box;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    padding: 42px 20px 56px;
}

.mega-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #e58024;
}

.mega-brand__logo {
    display: block;
    width: 200px;
    height: auto;
    fill: currentColor;
}

.mega-brand__tagline {
    display: flex;
    width: min(100%, 460px);
    margin: 16px 0 0;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #6f6f6f;
    font-size: 13px;
    font-weight: 520;
    letter-spacing: 0.01em;
    line-height: 1.45;
    text-align: center;
}

.mega-brand__tagline > span {
    display: block;
    white-space: nowrap;
}

.mega-brand__tagline::before,
.mega-brand__tagline::after {
    width: 28px;
    height: 1px;
    flex: 0 0 auto;
    background: #e7c3a2;
    content: "";
}

.setup-card {
    box-sizing: border-box;
    width: min(100%, 760px);
    margin: clamp(96px, 20vh, 260px) auto 0;
    padding: 58px 72px 46px;
    border: 1px solid #dfe2e6;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 24px 45px rgba(27, 31, 35, 0.055),
        0 3px 8px rgba(27, 31, 35, 0.025);
}

.setup-card__header {
    text-align: center;
}

.setup-card__step {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff5eb;
    color: #c9650b;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.setup-card h1 {
    margin: 0;
    color: #050505;
    font-size: 46px;
    font-weight: 700;
    letter-spacing: -1.7px;
    line-height: 1.08;
}

.setup-card__header p {
    max-width: 520px;
    margin: 22px auto 0;
    color: #60646c;
    font-size: 18px;
    line-height: 1.55;
}

.masking-field {
    margin-top: 46px;
}

.landing-body .pwa-icons > div {
    cursor: default;
}

.masking-field__label {
    display: block;
    margin-bottom: 14px;
    color: #171717;
    font-size: 16px;
    font-weight: 600;
}

.mask-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mask-option {
    position: relative;
    display: flex;
    min-width: 0;
    padding: 18px 12px 16px;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    border: 1px solid #e4e5e7;
    border-radius: 20px;
    background: #fff;
    color: #1b1b1b;
    font: inherit;
    cursor: pointer;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease,
        background-color 160ms ease;
    -webkit-tap-highlight-color: transparent;
}

.mask-option:hover {
    border-color: #c9cbd0;
    transform: translateY(-2px);
}

.mask-option:focus-visible {
    outline: 3px solid rgba(229, 128, 36, 0.24);
    outline-offset: 2px;
}

.mask-option[aria-pressed="true"] {
    border-color: #e58024;
    background: #fffaf5;
    box-shadow: 0 0 0 3px rgba(229, 128, 36, 0.12);
}

.mask-option__icon {
    display: block;
    width: 72px;
    height: 72px;
    aspect-ratio: 1;
    border-radius: 18px;
}

.mask-option__icon img {
    display: block;
    filter: saturate(0) opacity(0.58);
    transition: filter 160ms ease, transform 160ms ease;
}

.mask-option:hover .mask-option__icon img,
.mask-option[aria-pressed="true"] .mask-option__icon img {
    filter: none;
}

.mask-option[aria-pressed="true"] .mask-option__icon img {
    transform: scale(1.035);
}

.mask-option__name {
    overflow: hidden;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mask-option__check {
    position: absolute;
    top: 9px;
    right: 9px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: #e58024;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    transform: scale(0.75);
    transition: opacity 160ms ease, transform 160ms ease;
}

.mask-option[aria-pressed="true"] .mask-option__check {
    opacity: 1;
    transform: scale(1);
}

.privacy-choice {
    position: relative;
    margin-top: 30px;
    overflow: hidden;
    border: 1px solid #ead8c8;
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(37, 27, 18, 0.08);
}

.privacy-choice::before {
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 0;
    z-index: 2;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: #e58024;
    content: "";
}

.privacy-choice__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    min-height: 24px;
    padding: 4px 9px;
    align-items: center;
    border-radius: 999px;
    background: #171717;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.mask-option--calculator {
    width: 100%;
    padding: 17px 68px 17px 17px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    border: 0;
    border-radius: 20px;
    background: #fff;
    text-align: left;
}

.mask-option--calculator:hover {
    border-color: transparent;
    box-shadow: none;
}

.mask-option--calculator[aria-pressed="true"] {
    border-color: transparent;
    background: #fffaf5;
    box-shadow: inset 0 0 0 2px rgba(229, 128, 36, 0.3);
}

.mask-option--calculator .mask-option__check {
    top: auto;
    right: 12px;
    bottom: 12px;
}

.mask-option--calculator .mask-option__icon {
    flex: 0 0 auto;
    box-shadow: 0 10px 22px rgba(24, 22, 20, 0.16);
}

.mask-option__icon--calculator img {
    filter: none;
}

.privacy-choice__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.privacy-choice__copy strong {
    color: #111;
    font-size: 16px;
    font-weight: 700;
}

.privacy-choice__copy > span {
    color: #777;
    font-size: 12px;
    line-height: 1.4;
}

.setup-card .setup-card__submit {
    display: flex;
    width: min(100%, 360px);
    height: 58px;
    margin: 46px auto 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #050505;
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.setup-card .setup-card__submit:hover:not(:disabled) {
    background: #252525;
    transform: translateY(-1px);
}

.setup-card .setup-card__submit:focus-visible {
    outline: 3px solid rgba(229, 128, 36, 0.3);
    outline-offset: 3px;
}

.setup-card .setup-card__submit:disabled {
    background: #e8e8e8;
    color: #a6a6a6;
    cursor: not-allowed;
}

.setup-card__skip {
    display: block;
    margin: 15px auto 0;
    padding: 7px 12px;
    border: 0;
    background: transparent;
    color: #777b82;
    font: inherit;
    font-size: 13px;
    font-weight: 550;
    cursor: pointer;
    transition: color 160ms ease;
}

.setup-card__skip:hover:not(:disabled) {
    color: #171717;
}

.setup-card__skip:focus-visible {
    border-radius: 8px;
    outline: 3px solid rgba(229, 128, 36, 0.25);
    outline-offset: 1px;
}

.setup-card__skip:disabled {
    color: #aaa;
    cursor: wait;
}

@media (min-width: 768px) {
    .landing-page {
        --brand-card-gap: clamp(34px, 4.5vh, 54px);
        padding-top: clamp(88px, 10vh, 120px);
    }

    .mega-brand__tagline {
        margin-top: var(--brand-card-gap);
    }

    .setup-card {
        margin-top: var(--brand-card-gap);
    }
}

@media (max-width: 767px) {
    .landing-body {
        height: 100vh;
        height: 100svh;
        overflow: hidden;
    }

    .landing-page {
        display: flex;
        height: 100vh;
        height: 100svh;
        min-height: 0;
        padding:
            max(8px, env(safe-area-inset-top))
            12px
            max(8px, env(safe-area-inset-bottom));
        flex-direction: column;
        overflow: hidden;
    }

    .mega-brand__logo {
        width: clamp(110px, 16svh, 144px);
    }

    .mega-brand__tagline {
        width: 100%;
        max-width: none;
        margin-top: clamp(5px, 1svh, 10px);
        justify-content: center;
        gap: 6px;
        font-size: clamp(9px, 2.55vw, 10.5px);
        letter-spacing: 0;
    }

    .mega-brand__tagline::before,
    .mega-brand__tagline::after {
        width: clamp(8px, 3vw, 14px);
    }

    .setup-card {
        margin-top: clamp(12px, 3svh, 30px);
        padding:
            clamp(14px, 2.4svh, 24px)
            14px
            clamp(12px, 2svh, 20px);
        border-radius: 20px;
    }

    .setup-card__step {
        margin-bottom: clamp(8px, 1.6svh, 13px);
        padding: 6px 10px;
        font-size: clamp(10px, 1.5svh, 12px);
    }

    .setup-card h1 {
        font-size: clamp(26px, 4.5svh, 32px);
        letter-spacing: -0.04em;
    }

    .setup-card__header p {
        margin-top: clamp(8px, 1.5svh, 13px);
        font-size: clamp(12px, 1.9svh, 15px);
        line-height: 1.35;
    }

    .masking-field {
        margin-top: clamp(12px, 2.4svh, 24px);
    }

    .masking-field__label {
        margin-bottom: clamp(6px, 1.2svh, 10px);
        font-size: clamp(11px, 1.7svh, 14px);
    }

    .mask-options {
        gap: clamp(5px, 1.5vw, 8px);
    }

    .mask-option {
        padding: clamp(7px, 1.3svh, 12px) 5px;
        gap: clamp(4px, 0.9svh, 7px);
        border-radius: 14px;
    }

    .mask-option__icon {
        width: clamp(40px, 8svh, 58px);
        height: clamp(40px, 8svh, 58px);
        border-radius: 13px;
    }

    .mask-option__name {
        font-size: clamp(9.5px, 1.55svh, 12px);
    }

    .mask-option__check {
        top: 5px;
        right: 5px;
        width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .privacy-choice {
        margin-top: clamp(10px, 2svh, 18px);
        border-radius: 15px;
    }

    .mask-option--calculator {
        padding: clamp(8px, 1.4svh, 12px) 52px clamp(8px, 1.4svh, 12px) 10px;
        gap: 10px;
        border-radius: 14px;
    }

    .mask-option--calculator .mask-option__icon {
        width: clamp(40px, 7.5svh, 54px);
        height: clamp(40px, 7.5svh, 54px);
    }

    .privacy-choice__copy strong {
        font-size: clamp(12px, 1.9svh, 15px);
    }

    .privacy-choice__copy > span {
        font-size: clamp(9px, 1.45svh, 11px);
    }

    .privacy-choice__badge {
        top: 8px;
        right: 8px;
        min-height: 20px;
        padding: 3px 7px;
        font-size: 8px;
    }

    .setup-card .setup-card__submit {
        height: clamp(40px, 6.8svh, 52px);
        margin-top: clamp(12px, 2.2svh, 24px);
        font-size: clamp(14px, 2svh, 16px);
    }

    .setup-card__skip {
        margin-top: clamp(2px, 0.6svh, 6px);
        padding: 4px 10px;
        font-size: 11px;
    }

}

@media (max-width: 360px) {
    .landing-page {
        padding-right: 10px;
        padding-left: 10px;
    }

    .setup-card {
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mask-option,
    .mask-option__icon img,
    .mask-option__check,
    .setup-card .setup-card__submit,
    .setup-card__skip {
        transition: none;
    }
}
