/* Homepage master layout — Desktop structure on every width.
   Loaded last. Media queries may scale size/gap/padding only. */

body.home {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

body.home .site-header {
    display: block;
    flex-direction: unset;
}

body.home .site-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    grid-template-columns: none;
}

body.home .rs-menu-btn,
body.home .site-menu-btn {
    display: none;
}

body.home .site-nav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    position: static;
    inset: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.home .hero-start-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    justify-content: center;
    column-gap: 0.7rem;
    width: 100%;
    max-width: min(36rem, 100%);
    margin: 1.4rem auto 0;
}

body.home .hero-start-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: auto;
    min-width: 0;
    max-width: none;
}

body.home .hero-start-actions .start-btn {
    width: 100%;
    min-width: 0;
    max-width: none;
}

body.home .hero-perks {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    width: 100%;
}

body.home .hero-perks li {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}

body.home .home-feature-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home .trial-track,
body.home .trial-track.is-with-guide {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

body.home .trial-track.is-with-guide .trial-design,
body.home .trial-design,
body.home .trial-design.is-focused,
body.home .trial-design.is-focused:hover {
    flex: 0 0 calc((100% - 2.55rem) / 4);
}

body.home .regular-invite-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: start;
}

body.home .info-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.home .art-footer .footer-brand {
    position: absolute;
    display: block;
    text-align: start;
}

@media (max-width: 1023.98px) {
    body.home .hero-start-actions {
        column-gap: 0.55rem;
        max-width: min(34rem, 100%);
    }

    body.home .hero-start-actions .start-btn {
        min-height: 2.35rem;
        padding: 0.62rem 0.45rem;
        font-size: clamp(0.68rem, 1.8vw, 0.88rem);
    }

    body.home .hero-preview-btn {
        min-height: 1.75rem;
        padding: 0.24rem 0.55rem;
        font-size: clamp(0.6rem, 1.6vw, 0.7rem);
    }

    body.home .hero-perks li {
        padding: 0 0.5rem;
        font-size: 0.74rem;
    }

    body.home .hero-perks strong {
        font-size: 0.78rem;
    }

    body.home .home-feature-cards {
        gap: 0.65rem;
    }

    body.home .trial-track.is-with-guide {
        gap: 0.55rem;
    }

    body.home .trial-track.is-with-guide .trial-design,
    body.home .trial-design,
    body.home .trial-design.is-focused,
    body.home .trial-design.is-focused:hover {
        flex: 0 0 calc((100% - 1.65rem) / 4);
    }
}

@media (max-width: 639.98px) {
    body.home .site-nav,
    body.home .site-nav-links {
        gap: clamp(0.45rem, 3vw, 1.1rem);
    }

    body.home .site-nav a {
        font-size: clamp(0.72rem, 2.8vw, 0.88rem);
    }

    body.home .art-header .login-link,
    body.home .login-link {
        min-width: 0;
        margin-left: 0.4rem;
        padding: 0.28rem 0.7rem;
        font-size: 0.78rem;
    }

    body.home .hero-start-actions {
        column-gap: 0.4rem;
        max-width: 100%;
        margin-top: 1.1rem;
    }

    body.home .hero-start-item {
        gap: 0.35rem;
    }

    body.home .hero-start-actions .start-btn {
        min-height: 2.1rem;
        padding: 0.48rem 0.28rem;
        font-size: clamp(0.58rem, 2.5vw, 0.74rem);
        gap: 0.2rem;
    }

    body.home .hero-preview-btn {
        min-height: 1.55rem;
        padding: 0.18rem 0.4rem;
        font-size: clamp(0.52rem, 2.1vw, 0.64rem);
    }

    body.home .hero-perks {
        margin-top: 1.2rem;
    }

    body.home .hero-perks li {
        padding: 0 0.28rem;
        font-size: 0.64rem;
    }

    body.home .hero-perks strong {
        font-size: 0.7rem;
    }

    body.home .hero-perks span:last-child {
        font-size: 0.6rem;
    }

    body.home .perk-icon {
        width: 20px;
        height: 20px;
    }

    body.home .home-feature-cards {
        gap: 0.4rem;
    }

    body.home .home-feature-cards article {
        padding: 0.65rem 0.3rem 0.75rem;
    }

    body.home .home-feature-cards h3 {
        font-size: clamp(0.68rem, 2.6vw, 0.86rem);
    }

    body.home .home-feature-cards p {
        font-size: clamp(0.58rem, 2.2vw, 0.72rem);
    }

    body.home .home-feature-icon {
        width: 26px;
        height: 26px;
    }

    body.home .info-row {
        height: auto;
        padding: 12px 0.5rem;
    }

    body.home .info-row article {
        padding: 0.3rem 0.2rem;
    }

    body.home .info-row h3 {
        font-size: clamp(0.62rem, 2.3vw, 0.78rem);
    }

    body.home .info-row p {
        font-size: clamp(0.54rem, 2vw, 0.68rem);
    }
}

body.home .desktop-trials,
body.home .desktop-basic {
    display: block;
}

body.home .desktop-trials .ws-demo-back {
    display: none;
}

body.home .mobile-trials,
body.home .mobile-basic {
    display: none;
}

@media (max-width: 768.98px) {
    body.home .desktop-trials,
    body.home .desktop-basic {
        display: none;
    }

    body.home .mobile-trials,
    body.home .mobile-basic {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body.home .home-features {
        margin-bottom: 0.55rem;
        padding: 1rem 0.75rem 1.05rem;
    }

    body.home .showcase {
        padding: 0.4rem 0 1.2rem;
    }

    body.home .trial-stage {
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        padding: 0.85rem 0 0;
        overflow-x: hidden;
    }

    body.home .regular-invite-stage {
        width: 100%;
        max-width: 100%;
        margin-top: 3.5rem;
        padding-inline: 0;
    }

    body.home .home-m-carousel {
        width: 100%;
        max-width: 100%;
        margin: 0.45rem 0 0;
        overflow: hidden;
    }

    body.home .home-m-carousel__viewport {
        width: 100%;
        overflow: hidden;
        direction: ltr;
        touch-action: pan-y pinch-zoom;
        overscroll-behavior-x: contain;
    }

    body.home .home-m-carousel__track {
        display: flex;
        width: max-content;
        transition: transform 0.35s ease;
    }

    body.home .home-m-carousel__slide {
        flex: 0 0 var(--carousel-w, 100%);
        width: var(--carousel-w, 100%);
        min-width: var(--carousel-w, 100%);
        box-sizing: border-box;
        padding-inline: 16px;
        direction: rtl;
    }

    body.home .home-m-carousel__slide.is-pair {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: center;
        justify-items: center;
        gap: 10px;
        align-items: start;
    }

    body.home .mobile-basic .home-m-carousel__slide.is-pair {
        padding-inline: 12px;
        gap: 8px;
    }

    body.home .home-m-carousel__slide.is-single {
        display: block;
    }

    body.home .home-m-carousel__item,
    body.home .mobile-basic .regular-invite-phone {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        text-align: center;
        position: static;
        left: auto;
        right: auto;
        float: none;
    }

    body.home .mobile-basic .regular-invite-phone {
        margin: 0;
    }

    body.home .home-m-carousel .ws-iphone,
    body.home .mobile-trials .ws-iphone,
    body.home .mobile-basic .ws-iphone {
        position: relative;
        left: auto;
        right: auto;
        float: none;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        transform: none;
    }

    body.home .mobile-basic .ws-iphone {
        width: 100%;
        max-width: 100%;
    }

    body.home .mobile-basic .regular-invite-phone.is-qr .ws-screen.regular-qr-screen {
        display: block;
        justify-content: flex-start;
        padding: 0;
        overflow: hidden;
    }

    body.home .mobile-basic .regular-invite-phone.is-qr .regular-qr-fit {
        box-sizing: border-box;
        width: 100%;
        padding: 2.15rem 0.42rem 0.85rem;
        gap: 0.45rem;
        transform-origin: top center;
    }

    body.home .mobile-basic .regular-invite-phone.is-qr .regular-qr-card,
    body.home .mobile-basic .regular-invite-phone.is-qr .regular-qr-count {
        width: 88%;
        padding: 0.55rem 0.4rem 0.6rem;
        border-radius: 14px;
    }

    body.home .mobile-basic .regular-invite-phone.is-qr .regular-qr-logo {
        width: 3.15rem;
        height: 3.15rem;
        margin-bottom: 0.3rem;
        object-fit: contain;
    }

    body.home .mobile-basic .regular-invite-phone.is-qr .regular-qr-card h3 {
        font-size: 0.82rem;
    }

    body.home .mobile-basic .regular-invite-phone.is-qr .regular-qr-type {
        margin-bottom: 0.4rem;
        font-size: 0.62rem;
    }

    body.home .mobile-basic .regular-invite-phone.is-qr .regular-qr-code {
        width: 4.4rem;
        height: 4.4rem;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        margin-bottom: 0.4rem;
    }

    body.home .mobile-basic .regular-invite-phone.is-qr .has-phone-shot .regular-phone-shot {
        object-fit: contain;
        object-position: top center;
    }

    body.home .regular-invite-stage,
    body.home .mobile-basic,
    body.home .mobile-basic .home-m-carousel {
        overflow-x: hidden;
    }

    body.home .home-m-carousel .ws-live-scale,
    body.home .home-m-carousel .ws-live-preview {
        pointer-events: none;
    }

    body.home .home-m-carousel .is-demo-open .ws-live-scale,
    body.home .home-m-carousel .is-demo-open .ws-live-preview {
        pointer-events: auto;
        touch-action: pan-y pinch-zoom;
    }

    body.home .home-m-carousel.is-invite-open .home-m-carousel__viewport {
        touch-action: pan-y pinch-zoom;
    }

    body.home .home-m-carousel .ws-demo-open,
    body.home .home-m-carousel .trial-send-video,
    body.home .home-m-carousel .ws-demo-back {
        pointer-events: auto;
        touch-action: manipulation;
    }

    body.home .home-m-carousel .ws-demo-back {
        position: absolute;
        top: 9%;
        left: 50%;
        z-index: 70;
        transform: translateX(-50%);
        min-height: 2rem;
        padding: 0.35rem 0.9rem;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.86);
        color: #241f1a;
        font: inherit;
        font-size: 0.78rem;
        font-weight: 800;
        box-shadow: 0 4px 14px rgba(20, 16, 12, 0.12);
    }

    body.home .home-m-carousel .ws-demo-open {
        z-index: 50;
        width: 78%;
        height: 20%;
        min-height: 3.25rem;
        top: auto;
        bottom: 12%;
        left: 50%;
        transform: translate(-50%, 0);
    }

    body.home .home-m-carousel__name,
    body.home .mobile-basic .trial-design-name {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        min-height: 2.5em;
        margin: 0.45rem 0 0;
        font-size: clamp(0.82rem, 3.2vw, 0.98rem);
        font-weight: 700;
        line-height: 1.25;
        text-align: center;
        overflow-wrap: anywhere;
    }

    body.home .home-m-carousel__dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.65rem;
        margin: 0.75rem 0 0;
    }

    body.home .home-m-carousel__dots button {
        width: 0.55rem;
        height: 0.55rem;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(169, 130, 67, 0.28);
    }

    body.home .home-m-carousel__dots button.is-active {
        background: var(--gold);
    }

    body.home .mobile-trials .home-m-carousel.is-coverflow {
        overflow: hidden;
    }

    body.home .mobile-trials .home-m-carousel.is-coverflow .home-m-carousel__viewport {
        position: relative;
        overflow: hidden;
    }

    body.home .mobile-trials .home-m-carousel.is-coverflow .home-m-carousel__track {
        display: block;
        position: relative;
        width: 100%;
        min-height: 22rem;
    }

    body.home .mobile-trials .home-m-carousel.is-coverflow .home-m-carousel__slide {
        position: absolute;
        top: 0;
        left: 0;
        flex: none;
        width: var(--slide-w, 68%);
        min-width: 0;
        padding-inline: 6px;
        transform-origin: center center;
        will-change: transform, opacity;
        opacity: 0.78;
    }

    body.home .mobile-trials .home-m-carousel.is-coverflow .home-m-carousel__slide.is-active {
        opacity: 1;
    }

    body.home .mobile-trials .home-m-carousel.is-coverflow .home-m-carousel__slide.is-far {
        opacity: 0.42;
        pointer-events: none;
    }

    body.home .mobile-trials .home-m-carousel.is-coverflow .home-m-carousel__item {
        width: 100%;
    }

    body.home .mobile-trials .home-m-carousel.is-coverflow .home-m-carousel__name {
        min-height: 2.3em;
        transition: font-size 0.35s ease, opacity 0.35s ease, font-weight 0.35s ease;
    }

    body.home .mobile-trials .home-m-carousel.is-coverflow .home-m-carousel__slide.is-active .home-m-carousel__name {
        opacity: 1;
        font-size: clamp(0.9rem, 3.6vw, 1.06rem);
        font-weight: 800;
    }

    body.home .mobile-trials .home-m-carousel.is-coverflow .home-m-carousel__slide:not(.is-active) .home-m-carousel__name {
        opacity: 0.52;
        font-size: clamp(0.68rem, 2.6vw, 0.8rem);
        font-weight: 600;
    }
}

body.home .vip-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    width: 100%;
    max-width: 22rem;
    margin: 1rem auto 0;
}

body.home .vip-picker-label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: min(20rem, 100%);
    color: #6d5a3a;
    font-size: 0.88rem;
    font-weight: 700;
}

body.home .vip-picker-select {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.55rem 0.9rem;
    border: 1.5px solid rgba(169, 130, 67, 0.42);
    border-radius: 999px;
    background: #fffdf8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a98243' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E") no-repeat left 1rem center;
    color: #3d2f18;
    font: inherit;
    font-weight: 700;
    appearance: none;
}

body.home .vip-picker-stage {
    width: 100%;
    display: flex;
    justify-content: center;
}

body.home .vip-picker-pane {
    width: 100%;
}

body.home .vip-picker-pane[hidden] {
    display: none;
}

body.home .vip-picker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
}

body.home .vip-picker-name {
    margin: 0;
    color: #6d5a3a;
    font-size: 0.95rem;
    font-weight: 800;
}

body.home .vip-picker .ws-iphone {
    margin-inline: auto;
}

@media (max-width: 768.98px) {
    body.home .vip-picker {
        max-width: min(20.5rem, 100%);
        padding-inline: 0.75rem;
    }
}

body.home .art-header {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

body.home .art-header-ui {
    min-height: 0;
}

body.home .art-header .hero-copy {
    width: min(calc(100% - 2rem), 1120px);
    margin-bottom: 2.4rem;
}

body.home .hero-start-actions.home-comparison-grid,
body.home .home-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(17.25rem, 100%), 1fr));
    align-items: stretch;
    gap: 1.15rem;
    width: 100%;
    max-width: none;
    margin: 1.6rem 0 0;
    min-width: 0;
    overflow-x: hidden;
    direction: ltr;
}

body.home .hero-start-item.home-plan-card,
body.home .home-plan-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
    max-width: none;
    padding: 1.35rem 1.2rem 1.3rem;
    border-radius: 28px;
    overflow: hidden;
    overflow-wrap: anywhere;
    text-align: center;
    direction: rtl;
}

body.home .home-plan-card.is-vip {
    border: 1px solid rgba(211, 172, 101, 0.42);
    background: #111010;
    color: #fff8ea;
    box-shadow: 0 22px 48px rgba(20, 16, 12, 0.18);
}

body.home .home-plan-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.42rem 1.15rem 0.5rem;
    border-bottom-right-radius: 16px;
    background: linear-gradient(180deg, #e6c27a, #c9a15d);
    color: #1a140c;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

body.home .home-plan-card.is-basic,
body.home .home-plan-card.is-qr {
    border: 1px solid rgba(169, 130, 67, 0.18);
    background: #fffdf9;
    color: #2a241d;
    box-shadow: 0 18px 40px rgba(68, 47, 25, 0.08);
}

body.home .home-plan-card.is-qr {
    background: #f7f1e6;
    border-color: rgba(169, 130, 67, 0.28);
}

body.home .home-plan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0.55rem;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #e6c27a, #c9a15d);
    color: #1a140c;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

body.home .home-plan-card.is-qr h3 {
    color: #8a6328;
}

body.home .home-plan-card.is-qr .home-plan-summary {
    color: #7b5b2b;
}

body.home .home-plan-card.is-qr ul {
    grid-template-columns: 1fr;
    justify-items: stretch;
    min-height: 0;
    text-align: start;
}

body.home .home-plan-card.is-qr li {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.55rem;
    font-size: 0.8rem;
    text-align: start;
}

body.home .home-plan-card.is-qr li svg {
    margin-top: 0.12rem;
}

body.home .home-plan-note {
    margin: 0;
    padding: 0.7rem 0.8rem;
    border-radius: 14px;
    background: rgba(169, 130, 67, 0.12);
    color: #6d5a3a;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.7;
}

body.home .home-plan-account-note {
    margin: 0;
    color: #7b5b2b;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.65;
}

body.home .home-plan-card.is-qr .home-plan-start-btn {
    text-decoration: none;
}

body.home .home-plan-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    min-width: 0;
    min-height: 6.25rem;
}

body.home .home-plan-copy {
    min-width: 0;
}

body.home .home-plan-card h3 {
    margin: 0;
    font-size: clamp(1.55rem, 2.4vw, 2.05rem);
    line-height: 1.25;
}

body.home .home-plan-card.is-vip h3 {
    color: #e6c27a;
}

body.home .home-plan-summary {
    margin: 0.45rem 0 0;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.75;
}

body.home .home-plan-card.is-vip .home-plan-summary {
    color: #f3e3c4;
}

body.home .home-plan-card.is-basic .home-plan-summary {
    color: #7b5b2b;
}

body.home .home-plan-preview {
    min-width: 0;
    display: grid;
    place-items: center;
}

body.home .home-plan-preview .ws-iphone,
body.home .home-plan-preview .regular-invite-phone .ws-iphone {
    width: min(9.4rem, 100%);
    margin-inline: auto;
}

body.home .home-plan-vip-screen {
    overflow: hidden;
    background: #101511;
}

body.home .home-plan-vip-screen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

body.home .home-plan-preview .regular-invite-phone {
    width: 100%;
    max-width: none;
}

body.home .home-plan-preview .trial-design-name {
    display: none;
}

body.home .home-plan-card ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5.6rem, 1fr));
    align-items: center;
    gap: 0.75rem 0.55rem;
    margin: 0.15rem 0 0;
    padding: 0.35rem 0 0.15rem;
    min-height: 5.6rem;
    border: 0;
    list-style: none;
}

body.home .home-plan-card.is-vip ul,
body.home .home-plan-card.is-basic ul {
    background: transparent;
}

body.home .home-plan-card li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.45;
}

body.home .home-plan-card li svg {
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 auto;
    color: #c9a15d;
}

body.home .home-plan-card li span {
    min-width: 0;
}

body.home .home-plan-buy {
    display: grid;
    gap: 0.7rem;
    margin-top: auto;
    width: 100%;
}

body.home .home-plan-qty {
    display: grid;
    gap: 0.45rem;
}

body.home .home-plan-qty > span {
    font-size: 0.82rem;
    font-weight: 700;
}

body.home .home-plan-card .quantity-stepper {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 3.25rem;
    overflow: hidden;
    border: 1px solid rgba(169, 130, 67, 0.3);
    border-radius: 16px;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(72, 48, 20, 0.04);
}

body.home .home-plan-card.is-vip .quantity-stepper {
    border-color: rgba(225, 189, 120, 0.38);
    background: #181716;
}

body.home .home-plan-card .quantity-stepper button {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 3.25rem;
    width: 3.25rem;
    min-width: 3.25rem;
    min-height: 3.25rem;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #f4ead9;
    color: #765321;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    transition: background 0.18s ease, color 0.18s ease;
}

body.home .home-plan-card .quantity-stepper button:first-child {
    border-inline-end: 1px solid rgba(169, 130, 67, 0.22);
}

body.home .home-plan-card .quantity-stepper button:last-child {
    border-inline-start: 1px solid rgba(169, 130, 67, 0.22);
}

body.home .home-plan-card .quantity-stepper button:hover,
body.home .home-plan-card .quantity-stepper button:focus-visible {
    background: #e5c98f;
    color: #2d2112;
}

body.home .home-plan-card.is-vip .quantity-stepper button {
    background: #24211d;
    color: #e6c27a;
}

body.home .home-plan-card.is-vip .quantity-stepper button:hover,
body.home .home-plan-card.is-vip .quantity-stepper button:focus-visible {
    background: #3a3021;
    color: #ffe2a1;
}

body.home .home-plan-card .quantity-stepper input {
    appearance: none;
    -webkit-appearance: none;
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    min-height: 3.25rem;
    padding: 0.65rem 0.3rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0;
    background: transparent !important;
    color: inherit !important;
    font-size: 1.25rem !important;
    font-weight: 800;
    line-height: 1 !important;
    text-align: center;
    box-shadow: none !important;
}

body.home .home-plan-unit {
    margin: 0;
    color: #c9a15d;
    font-size: 0.86rem;
    font-weight: 700;
}

body.home .home-plan-total {
    display: grid;
    justify-items: center;
    gap: 0.15rem;
    margin: 0;
    min-height: 3.4rem;
}

body.home .home-plan-total strong {
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    line-height: 1.1;
}

body.home .home-plan-total span {
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.72;
}

body.home .home-plan-card .home-plan-preview-btn,
body.home .home-plan-card .home-plan-start-btn,
body.home .hero-start-actions .home-plan-card .start-btn,
body.home .hero-start-actions .home-plan-card .hero-preview-btn {
    width: 100%;
    min-width: 0;
    min-height: 2.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.62rem 0.9rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
}

body.home .home-plan-card .home-plan-preview-btn svg {
    width: 1rem;
    height: 1rem;
}

body.home .home-plan-card.is-vip .home-plan-preview-btn {
    border: 1px solid rgba(225, 189, 120, 0.7);
    background: transparent;
    color: #e1bd78;
}

body.home .home-plan-card.is-basic .home-plan-preview-btn {
    border: 1px solid rgba(169, 130, 67, 0.35);
    background: #fff;
    color: #84632f;
}

body.home .home-plan-card .home-plan-preview-btn {
    margin-top: 0.15rem;
}

body.home .home-plan-card .home-plan-start-btn {
    width: 100%;
    border: 0;
    cursor: pointer;
    background: linear-gradient(180deg, #c99d52, #9c7335);
    color: #fffaf1;
    box-shadow: 0 10px 22px rgba(92, 62, 24, 0.18);
}

@media (max-width: 1023.98px) {
    body.home .hero-start-actions.home-comparison-grid,
    body.home .home-comparison-grid {
        gap: 0.9rem;
    }

}

@media (max-width: 639.98px) {
    body.home .art-header-ui,
    body.home .art-header .hero-copy,
    body.home .home-comparison {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body.home .art-header .hero-copy {
        padding-inline: 0.75rem;
        margin-inline: 0;
        box-sizing: border-box;
    }

    body.home .art-header .hero-mark {
        margin-bottom: 0.45rem;
    }

    body.home .art-header .hero-mark img {
        display: block;
        width: clamp(72px, 24vw, 108px);
        max-width: 100%;
        height: auto;
        aspect-ratio: auto;
    }

    body.home .art-header .hero-mark span {
        font-size: clamp(1.15rem, 4.2vw, 1.45rem);
    }

    body.home .home-comparison {
        margin-inline: 0;
        width: 100%;
        max-width: 100%;
    }

    body.home .hero-start-actions.home-comparison-grid,
    body.home .home-comparison-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        justify-content: stretch;
        gap: 0.95rem;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-top: 1rem;
        padding-inline: 0;
        padding-bottom: 0;
        overflow-x: hidden;
        overflow-y: visible;
        direction: ltr;
    }

    body.home .hero-start-item.home-plan-card,
    body.home .home-plan-card {
        flex: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        border-radius: 24px;
        padding: 1.2rem 1.1rem 1.15rem;
        gap: 0.9rem;
    }

    body.home .home-plan-intro {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        direction: rtl;
        text-align: center;
        min-height: 5.6rem;
    }

    body.home .home-plan-card h3 {
        font-size: clamp(1.45rem, 6.4vw, 1.85rem);
        text-align: center;
    }

    body.home .home-plan-summary {
        margin-top: 0.4rem;
        font-size: 0.9rem;
        line-height: 1.7;
        text-align: center;
    }

    body.home .home-plan-card ul {
        min-height: 5.4rem;
        gap: 0.65rem 0.45rem;
    }

    body.home .home-plan-card li {
        font-size: 0.78rem;
        gap: 0.35rem;
    }

    body.home .home-plan-card li svg {
        width: 1.3rem;
        height: 1.3rem;
    }

    body.home .home-plan-buy {
        gap: 0.65rem;
    }

    body.home .home-plan-qty > span {
        font-size: 0.82rem;
    }

    body.home .home-plan-card .quantity-stepper,
    body.home .home-plan-card .quantity-stepper input {
        min-height: 3.15rem;
    }

    body.home .home-plan-card .quantity-stepper button {
        flex-basis: 3.15rem;
        width: 3.15rem;
        min-width: 3.15rem;
        min-height: 3.15rem;
        font-size: 1.45rem;
    }

    body.home .home-plan-card .quantity-stepper input {
        font-size: 1.2rem !important;
    }

    body.home .home-plan-unit {
        font-size: 0.82rem;
    }

    body.home .home-plan-total {
        min-height: 2.9rem;
    }

    body.home .home-plan-total strong {
        font-size: clamp(1.45rem, 6vw, 1.85rem);
    }

    body.home .home-plan-preview .ws-iphone,
    body.home .home-plan-preview .regular-invite-phone .ws-iphone {
        width: min(8.4rem, 100%);
    }

    body.home .home-plan-card .home-plan-preview-btn,
    body.home .home-plan-card .home-plan-start-btn,
    body.home .hero-start-actions .home-plan-card .start-btn,
    body.home .hero-start-actions .home-plan-card .hero-preview-btn {
        min-height: 3rem;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    body.home .home-plan-card.is-qr li {
        font-size: 0.84rem;
    }

    body.home .home-plan-note,
    body.home .home-plan-account-note {
        font-size: 0.84rem;
    }
}

@media (min-width: 640px) and (max-width: 1023.98px) {
    body.home .hero-start-actions.home-comparison-grid,
    body.home .home-comparison-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(16.5rem, 100%), 1fr));
    }
}
