/* Homepage walkthrough and localized phone illustration; scoped away from merchant menus. */
.hero-scene .orbit-two {
    /* Keep the existing decorative orbit inside the tablet and mobile viewport. */
    max-width: 100%;
}

.home-how {
    padding-block: 76px 72px;
}

.home-how-heading {
    max-width: 740px;
    margin-bottom: 36px;
}

.home-how-heading .eyebrow {
    color: #98603f;
    margin-bottom: 13px;
}

.home-how-heading h2 {
    font-size: clamp(34px, 3.7vw, 47px);
    margin-bottom: 16px;
}

.home-how-heading > p:last-child {
    color: #637065;
    margin-bottom: 0;
    font-size: 16px;
}

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

.home-step {
    overflow: hidden;
    border: 1px solid #dce2d5;
    border-radius: 20px;
    background: #fffefa;
}

.home-step-art {
    height: 215px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-step-photo {
    background: #ebe8dc;
}

.home-paper-menu {
    width: 160px;
    padding: 17px 15px 22px;
    transform: rotate(-7deg);
    background: #fffdf6;
    box-shadow: 4px 9px 25px #3446381a;
    border-radius: 3px;
}

.home-paper-menu > strong {
    display: block;
    margin-bottom: 13px;
    font: 25px/1.2 Georgia, serif;
}

.home-paper-menu > strong span {
    color: #e56843;
}

.home-paper-menu > div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 8px;
    padding-block: 5px;
    border-bottom: 1px solid #e3e5da;
}

.home-paper-menu > i {
    display: block;
    width: 60%;
    height: 3px;
    background: #e7e9df;
    margin-top: 10px;
}

.home-scan-corners {
    position: absolute;
    width: 190px;
    height: 160px;
    top: 20px;
}

.home-scan-corners span {
    position: absolute;
    width: 23px;
    height: 23px;
    border: solid #4b6b4d;
}

.home-scan-corners span:nth-child(1) {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
    border-radius: 7px 0 0;
}

.home-scan-corners span:nth-child(2) {
    top: 0;
    right: 0;
    border-width: 2px 2px 0 0;
    border-radius: 0 7px 0 0;
}

.home-scan-corners span:nth-child(3) {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 7px;
}

.home-scan-corners span:nth-child(4) {
    bottom: 0;
    left: 0;
    border-width: 0 0 2px 2px;
    border-radius: 0 0 0 7px;
}

.home-art-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    bottom: 15px;
    padding: 8px 13px;
    background: #183c31;
    color: #fffdf6;
    border-radius: 24px;
    font-size: 11px;
    box-shadow: 0 5px 18px #183c3120;
}

.home-art-badge .ui-icon {
    width: 17px;
    height: 17px;
}

.home-step-style {
    background: #e5ecdf;
}

.home-mini-menu {
    width: 161px;
    padding: 16px 15px 0;
    background: #1f3e33;
    border: 5px solid #365347;
    border-radius: 20px 20px 0 0;
    color: #f7f6ef;
    text-align: center;
    transform: rotate(5deg) translateY(26px);
    box-shadow: 6px 9px 20px #183c3122;
}

.home-mini-monogram {
    display: block;
    margin: 0 auto 4px;
    font: 26px Georgia, serif;
}

.home-mini-menu > strong {
    display: block;
    font: 16px/1.25 Georgia, serif;
}

.home-mini-menu > span:last-of-type {
    font-size: 7px;
    color: #d0d8c5;
}

.home-mini-photo {
    position: relative;
    height: 83px;
    margin-top: 12px;
    border-radius: 7px 7px 0 0;
    background: #456346;
    overflow: hidden;
}

.home-mini-photo img {
    position: absolute;
    right: 8px;
    top: 2px;
}

.home-mini-photo span {
    position: absolute;
    left: 12px;
    top: 27px;
    width: 20px;
    height: 3px;
    background: #aab995;
}

.home-mini-photo span:last-child {
    top: 35px;
    width: 28px;
}

.home-style-swatches {
    position: absolute;
    display: flex;
    gap: 7px;
    bottom: 18px;
    padding: 9px 12px;
    border-radius: 24px;
    background: #fffdf6;
    box-shadow: 0 5px 18px #183c311a;
}

.home-style-swatches span {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    font-size: 14px;
    text-align: center;
    line-height: 23px;
}

.home-swatch-green {
    background: #183c31;
    color: white;
}

.home-swatch-cream {
    background: #dfd4b4;
}

.home-swatch-plum {
    background: #5b3d56;
}

.home-swatch-orange {
    background: #ce7953;
}

.home-step-qr {
    background: #f1e2d1;
}

.home-qr-stand {
    width: 143px;
    padding: 12px 12px 9px;
    border: 1px solid #e5dac7;
    border-radius: 5px;
    background: #fffdf6;
    box-shadow: 9px 10px 0 #cbbc9d66, 12px 14px 24px #493d251a;
    transform: rotate(-5deg);
    text-align: center;
}

.home-qr-stand > strong {
    display: block;
    font: 13px/1.3 Georgia, serif;
    margin-bottom: 8px;
}

.home-qr-stand [data-qr] {
    width: 88px;
    min-height: 88px;
    margin: auto;
}

.home-qr-stand svg {
    display: block;
    width: 88px;
    height: 88px;
}

.home-qr-stand > span {
    display: block;
    font: bold 17px/1.5 Georgia, serif;
    margin-top: 6px;
}

.home-download-mark {
    position: absolute;
    bottom: 20px;
    left: calc(50% + 44px);
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    background: #183c31;
    border: 4px solid #f1e2d1;
    border-radius: 50%;
    color: #fffdf6;
}

.home-download-mark svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-step-copy {
    padding: 25px 26px 29px;
}

.home-step-number {
    display: block;
    color: #9d5c3b;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 12px;
}

.home-step h3 {
    font: 26px/1.2 Georgia, serif;
    letter-spacing: -.5px;
    margin-bottom: 13px;
}

.home-step p {
    color: #5d6c60;
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 0;
}

.home-how-action {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.home-how-action p {
    margin: 0;
}

.home-voice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    align-items: center;
    padding: 34px;
    margin-bottom: 84px;
    background: #183c31;
    border-radius: 26px;
    color: #f7f6ef;
}

.home-voice-copy {
    padding: 18px 6px 18px 12px;
}

.home-voice-copy .eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e8bc7f;
    margin-bottom: 20px;
    letter-spacing: 1.7px;
}

.home-voice-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    background: #e8bc7f;
    border-radius: 50%;
}

.home-voice h2 {
    font-size: clamp(34px, 3.8vw, 49px);
    margin-bottom: 23px;
}

.home-voice-intro {
    color: #ced8c9;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.home-voice-question {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 25px;
    padding: 16px 18px;
    border: 1px solid #557264;
    border-radius: 13px;
    background: #214539;
}

.home-voice-question svg {
    flex: 0 0 22px;
    width: 22px;
    height: 26px;
    fill: none;
    stroke: #e8bc7f;
    stroke-width: 1.7;
    stroke-linecap: round;
}

.home-voice-question p {
    font: italic 20px/1.4 Georgia, serif;
    margin: 0;
}

.home-voice-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 27px;
    font-size: 13px;
}

.home-voice-benefits li {
    display: flex;
    align-items: baseline;
    gap: 11px;
    margin-bottom: 8px;
}

.home-voice-benefits span {
    color: #e8bc7f;
}

.home-voice .home-voice-cta {
    color: #183c31;
    background: #f7f6ef;
    border-color: #f7f6ef;
}

.home-voice .home-voice-cta:hover {
    background: #e8bc7f;
    border-color: #e8bc7f;
}

.home-voice-note {
    margin: 12px 0 0;
    font-size: 11px;
    color: #c0d0be;
}

.home-voice-figure {
    min-width: 0;
    margin: 0;
}

.home-voice-photo {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.home-voice-photo > img {
    display: block;
    width: 100%;
    height: auto;
}

/* Percentage bounds match the generated phone's blank display, independent of its rendered size. */
.home-voice-screen {
    position: absolute;
    top: 9.05%;
    left: 24.9%;
    width: 48.15%;
    height: 77.75%;
    padding: 4% 2.8% 3.2%;
    background: #192923;
    border-radius: 11% / 5.5%;
    color: #f0e9d9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .65em;
    font-size: clamp(8px, .92vw, 11px);
    line-height: 1.4;
    overflow: hidden;
}

.home-voice-screen-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-bottom: 1em;
    border-bottom: 1px solid #3a4c40;
}

.home-voice-screen-top strong {
    font: bold 1.5em Georgia, serif;
}

.home-voice-screen-top > span {
    color: #d9decf;
    font-size: .9em;
}

.home-voice-screen-heading > span {
    display: block;
    font-size: .86em;
    color: #e7b874;
    margin-bottom: .45em;
}

.home-voice-screen-heading strong {
    display: block;
    font: 2.05em/1.1 Georgia, serif;
}

.home-voice-screen-face {
    margin: 0 auto;
    width: 4.7em;
    flex-shrink: 0;
    height: 4.7em;
}

.home-voice-screen-face svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #e7b874;
    stroke-width: 3.2;
    stroke-linecap: round;
}

.home-voice-screen-face rect {
    fill: #253930;
}

.home-voice-screen-answer {
    text-align: center;
    color: #d9dfd1;
    margin: 0;
    font-size: 1.06em;
}

.home-voice-result {
    background: #253930;
    border: 1px solid #536747;
    border-radius: 9px;
    padding: 1em;
}

.home-voice-result > span {
    display: block;
    color: #e7b874;
    font-size: .82em;
    margin-bottom: .7em;
}

.home-voice-result > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5em;
}

.home-voice-result strong {
    font: bold 1.4em/1.2 Georgia, serif;
}

.home-voice-result b {
    font-size: 1.04em;
    white-space: nowrap;
}

.home-voice-result p {
    margin: .6em 0 0;
    color: #c6d0bc;
    font-size: .92em;
}

.home-voice-screen-action {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: .5em;
}

.home-voice-microphone {
    display: grid;
    place-items: center;
    width: 4.9em;
    height: 4.9em;
    margin: .4em 0;
    border: .5em solid #3b4935;
    border-radius: 50%;
    color: #192923;
    background: #e7b874;
    box-shadow: 0 0 0 .4em #293a2d;
}

.home-voice-microphone svg {
    width: 2.3em;
    height: 2.3em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

.home-voice-screen-action > strong {
    font-size: 1.05em;
}

.home-voice-screen-action > span:last-child {
    color: #c6d0bc;
    font-size: .85em;
}

.home-voice-figure figcaption {
    margin-top: 10px;
    color: #c0d0be;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 1000px) {
    .home-steps {
        gap: 15px;
    }

    .home-step-copy {
        padding: 22px 19px 25px;
    }

    .home-step h3 {
        font-size: 23px;
    }

    .home-voice {
        padding: 28px;
        gap: 25px;
    }

    .home-voice-copy {
        padding: 0;
    }

    .home-voice h2 {
        font-size: 35px;
    }
}

@media (max-width: 860px) {
    .home-voice {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .home-voice-figure {
        width: 100%;
        max-width: 490px;
        margin: auto;
    }

    .home-voice-screen {
        font-size: 10px;
    }
}

@media (max-width: 700px) {
    .home-how {
        padding-block: 50px;
    }

    .home-how-heading {
        margin-bottom: 26px;
    }

    .home-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-step-art {
        height: 205px;
    }

    .home-step h3 {
        font-size: 27px;
    }

    .home-step-copy {
        padding: 23px 25px 27px;
    }

    .home-how-action {
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .home-voice {
        padding: 28px 22px 20px;
        margin-bottom: 52px;
        border-radius: 20px;
        overflow: hidden;
    }

    .home-voice h2 {
        font-size: 38px;
    }

    .home-voice-question {
        padding: 14px;
    }

    .home-voice-question p {
        font-size: 19px;
    }

    .home-voice-figure {
        width: calc(100% + 44px);
        max-width: none;
        margin: 0 -22px;
    }

    .home-voice-photo {
        border-radius: 0;
    }

    .home-voice-figure figcaption {
        padding-inline: 16px;
    }

    .home-voice-screen {
        font-size: clamp(6.5px, 2.1vw, 10px);
    }
}

@media (max-width: 360px) {
    /* Give long translated login labels their own row without hiding the language picker. */
    .site-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 9px 14px;
    }

    .site-header .brand {
        grid-column: 1;
        grid-row: 1;
    }

    .site-header .language-picker {
        grid-column: 2;
        grid-row: 1;
    }

    .site-header .top-links {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-left: 0;
        justify-content: flex-end;
    }

    .home-voice {
        padding: 25px 16px 18px;
    }

    .home-voice h2 {
        font-size: 34px;
    }

    .home-voice-figure {
        width: calc(100% + 32px);
        margin-inline: -16px;
    }
}
