.home-setup {
    padding-block: clamp(48px, 7vw, 96px);
    background: #fff;
}

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

.home-setup-step {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e3e3ee;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 8px 26px #1b165309;
}

.home-step-art {
    position: relative;
    display: grid;
    min-height: clamp(144px, 14vw, 184px);
    overflow: hidden;
    place-items: center;
    background:
        radial-gradient(ellipse at 70% 100%, var(--art-light), transparent 67%),
        linear-gradient(135deg, var(--art-dark), var(--art-middle));
}

.home-step-art::before {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#ffffff4d 1px, transparent 1px);
    background-size: 15px 15px;
    mask-image: linear-gradient(115deg, transparent 11%, #000 87%);
    opacity: .6;
    content: '';
}

.home-step-art--domain {
    --art-dark: #072d39;
    --art-middle: #075e65;
    --art-light: #159c93;
}

.home-step-art--payment {
    --art-dark: #271253;
    --art-middle: #4c209c;
    --art-light: #8e53d9;
}

.home-step-art--download {
    --art-dark: #10214d;
    --art-middle: #153b9b;
    --art-light: #366de2;
}

.home-step-illustration {
    position: relative;
    width: 238px;
    height: 133px;
}

.home-step-browser,
.home-step-receipt,
.home-step-folder,
.home-step-file,
.home-step-download {
    position: absolute;
    box-shadow: 0 12px 24px #080c234c;
}

.home-step-browser {
    inset: 13px 20px 22px 12px;
    overflow: hidden;
    transform: rotate(-5deg);
    border: 1px solid #bbf8ed;
    border-radius: 12px;
    background: #eafff9;
}

.home-step-browser-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 26px;
    padding-inline: 12px;
    background: #cef3eb;
}

.home-step-browser-bar i { width: 5px; height: 5px; border-radius: 50%; background: #388f8c; }

.home-step-address {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 13px 11px 0;
    padding: 5px 9px;
    border: 1px solid #c7e9e2;
    border-radius: 7px;
    background: #fff;
    color: #105454;
    font-size: .81rem;
}

.home-step-address .ui-icon,
.home-step-label .ui-icon,
.home-step-receipt .ui-icon { width: 16px; height: 16px; flex: none; }
.home-step-address .ui-icon:last-child { margin-left: auto; }

.home-step-label {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: .77rem;
    font-weight: 690;
    white-space: nowrap;
    box-shadow: 0 7px 18px #080c2340;
}

.home-step-label--domain { right: 2px; bottom: 14px; background: #9ff5dd; color: #104740; }

.home-step-receipt {
    top: 10px;
    left: 43px;
    width: 134px;
    min-height: 112px;
    padding: 13px 14px;
    transform: rotate(-8deg);
    border: 1px solid #fff;
    border-radius: 11px;
    background: #f8efff;
    color: #32185f;
}

.home-step-receipt span { display: flex; align-items: center; gap: 6px; font-size: .83rem; font-weight: 700; }
.home-step-receipt i { display: block; height: 5px; margin-top: 11px; border-radius: 4px; background: #d5bcee; }
.home-step-receipt i:nth-child(3) { width: 77%; }
.home-step-receipt i:last-child { width: 48%; }
.home-step-label--payment { right: 8px; bottom: 15px; background: #d3fcaa; color: #26450e; }

.home-step-folder {
    inset: 47px 37px 14px;
    transform: rotate(5deg);
    border: 1px solid #96bbff;
    border-radius: 9px;
    background: linear-gradient(145deg, #95bfff, #5280e9);
}

.home-step-folder::before {
    position: absolute;
    top: -9px;
    left: 0;
    width: 58px;
    height: 11px;
    border-radius: 7px 7px 0 0;
    background: #94bfff;
    content: '';
}

.home-step-file {
    top: 9px;
    left: 80px;
    display: grid;
    width: 65px;
    height: 88px;
    transform: rotate(-10deg);
    place-items: end center;
    padding-bottom: 11px;
    border: 1px solid #fff;
    border-radius: 8px;
    background: #eef6ff;
    color: #143d88;
    font-size: .85rem;
    font-weight: 780;
}

.home-step-file::before {
    position: absolute;
    top: 0;
    left: calc(50% - 4px);
    width: 8px;
    height: 39px;
    border-radius: 0 0 3px 3px;
    background: repeating-linear-gradient(#6285d6 0 4px, #d0dfff 4px 8px);
    content: '';
}

.home-step-download {
    right: 31px;
    bottom: 23px;
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border: 1px solid #a3eaff;
    border-radius: 11px;
    background: #92ecff;
    color: #0e3d79;
}

.home-step-download .ui-icon { width: 23px; height: 23px; }

.home-step-copy { min-width: 0; padding: clamp(17px, 2vw, 25px); overflow-wrap: anywhere; }
.home-step-copy h3 { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: clamp(1rem, 1.45vw, 1.28rem); line-height: 1.25; }
.home-step-number {
    flex: none;
    min-width: 28px;
    padding: 4px;
    border-radius: 6px;
    background: #f0eaff;
    color: #4d2797;
    font-size: .72rem;
    font-weight: 735;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.home-step-copy p { margin-top: 9px; color: var(--muted); font-size: .94rem; line-height: 1.55; }

.home-guide-card {
    display: grid;
    grid-template-columns: clamp(140px, 19vw, 224px) minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(18px, 2.8vw, 40px);
    margin-top: clamp(20px, 3vw, 36px);
    padding: 10px clamp(18px, 3.4vw, 48px) 10px 10px;
    border: 1px solid #dedffc;
    border-radius: 19px;
    background: linear-gradient(108deg, #eeedff, #f7f8ff 48%, #eff3ff);
    color: #22234f;
    box-shadow: 0 8px 26px #1b165308;
    text-decoration: none;
}

.home-guide-card:is(:hover, :focus-visible) { border-color: #9c9ce3; }
.home-guide-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.home-guide-art {
    position: relative;
    display: grid;
    min-height: 124px;
    align-self: stretch;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: radial-gradient(ellipse at 70% 80%, #f2f6ff 6%, transparent 61%), #e4e9ff;
}

.home-guide-art::before {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#8d94d155 1px, transparent 1px);
    background-size: 11px 11px;
    mask-image: linear-gradient(120deg, #000 14%, transparent 70%);
    content: '';
}

.home-guide-illustration { position: absolute; width: 146px; height: 101px; }

.home-guide-sheet, .home-guide-booklet, .home-guide-check { position: absolute; box-shadow: 0 8px 18px #2b347040; }

.home-guide-sheet {
    top: 13px;
    left: 23px;
    width: 72px;
    height: 76px;
    transform: rotate(13deg);
    border: 1px solid #c2cef8;
    border-radius: 9px;
    background: #f8faff;
}

.home-guide-booklet {
    top: 10px;
    left: 47px;
    display: grid;
    width: 72px;
    height: 81px;
    padding: 17px 0 0 16px;
    transform: rotate(-10deg);
    border: 1px solid #b7bcfa;
    border-radius: 8px 11px 11px 8px;
    background: linear-gradient(90deg, #3e3c95 0 8px, transparent 8px), linear-gradient(145deg, #7778e0, #4544ad);
    color: #fff;
}

.home-guide-booklet::after {
    position: absolute;
    inset: auto 17px 16px 16px;
    height: 10px;
    border-block: 2px solid #d9dcffb3;
    content: '';
}

.home-guide-booklet .ui-icon { width: 23px; height: 23px; }

.home-guide-check {
    right: 9px;
    bottom: 13px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #a7e6db;
    border-radius: 9px;
    background: #d0f9ed;
    color: #146155;
}

.home-guide-check .ui-icon { width: 18px; height: 18px; }
.home-guide-copy { min-width: 0; display: grid; gap: 5px; }
.home-guide-copy strong { font-size: clamp(1.08rem, 2.15vw, 1.6rem); line-height: 1.2; }
.home-guide-copy > span { color: #54567a; font-size: .94rem; line-height: 1.5; }
.home-guide-copy > * { overflow-wrap: anywhere; }

.home-guide-arrow {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid #cacbf5;
    border-radius: 12px;
    background: #fff;
    color: #4848a8;
}

.home-guide-arrow .ui-icon { width: 22px; height: 22px; }
.home-guide-card:is(:hover, :focus-visible) .home-guide-arrow { background: #4544ad; color: #fff; }

@media (max-width: 575px) {
    .home-guide-card { grid-template-columns: clamp(69px, 19vw, 100px) minmax(0, 1fr) auto; gap: 11px; padding: 9px 11px 9px 9px; }
    .home-guide-art { min-height: 90px; }
    .home-guide-illustration { scale: .59; }
    .home-guide-copy > span { font-size: .84rem; }
    .home-guide-arrow { width: 34px; height: 34px; border-radius: 9px; }
    .home-guide-arrow .ui-icon { width: 18px; height: 18px; }
}

@media (max-width: 800px) and (min-width: 681px) {
    .home-step-illustration { scale: .82; }
}

@media (max-width: 680px) {
    .home-setup-steps { grid-template-columns: minmax(0, 1fr); }
    .home-setup-step { display: grid; grid-template-columns: clamp(86px, 29vw, 172px) minmax(0, 1fr); }
    .home-step-art { min-height: 116px; }
    .home-step-illustration {
        position: absolute;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
        transform: scale(.47);
    }
    .home-step-copy { align-self: center; padding: 14px; }
    .home-step-copy h3 { gap: 7px; }
    .home-step-copy p { font-size: .875rem; }
}

@media (max-width: 380px) {
    .home-step-illustration { transform: scale(.38); }
}

@media (min-width: 510px) and (max-width: 680px) {
    .home-step-illustration { transform: scale(.61); }
}
