.home-band {
    --home-ink: #271d32;
    --home-muted: #584b63;
    --home-border: #e7ddef;
    color: var(--home-ink);
    padding-block: clamp(2.5rem, 5vw, 4.75rem);
    scroll-margin-top: 5.5rem;
}

.home-band--tint { background: #f6f1fb; }

.home-band--dark {
    --home-ink: #f4edf9;
    --home-muted: #dacde5;
    --home-border: #493755;
    --home-link: #e0b8ff;
    background: #201927;
}

.home-wrap {
    width: min(100% - 2rem, 72rem);
    margin-inline: auto;
}

.home-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.12;
    text-wrap: balance;
}

.home-band p {
    max-width: 62ch;
    margin-top: .75rem;
    color: var(--home-muted);
    line-height: 1.6;
}

.home-action {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    color: var(--home-link, #6934a6);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.home-action--primary {
    padding: .7rem 1.15rem;
    border-radius: .65rem;
    color: #fff;
    background: #713eb8;
    text-decoration: none;
}

.home-action--primary:hover { background: #5c2d9c; }

.home-action:focus-visible,
.home-band a:focus-visible,
.home-faq summary:focus-visible {
    outline: 2px solid #9955f6;
    outline-offset: 4px;
}

.home-cabinet {
    display: grid;
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
}

.home-cabinet__copy .home-action { margin-top: .5rem; }

.home-cabinet__screens {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    gap: clamp(.65rem, 2vw, 1.25rem);
    width: min(100%, 38rem);
    margin-inline: auto;
}

.home-cabinet__video {
    grid-row: span 2;
    align-self: center;
}

.home-cabinet__screens a { display: block; }

.home-cabinet__screens img,
.home-reviews img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--home-border);
    border-radius: .85rem;
}

.home-band figcaption {
    margin-top: .5rem;
    color: var(--home-muted);
    font-size: .875rem;
}

.home-cabinet__screens figcaption { text-align: center; }

.home-services,
.home-reviews {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.home-services li {
    padding-top: 1rem;
    border-top: 1px solid var(--home-border);
}

.home-services h3 { font-size: 1.15rem; font-weight: 700; }
.home-services p { margin-top: .4rem; }
.home-services__links { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.home-reviews { max-width: 51rem; }
.home-reviews figure { padding-top: 1rem; border-top: 1px solid var(--home-border); }
.home-reviews blockquote { font-size: 1.15rem; line-height: 1.5; }

.home-author {
    display: grid;
    align-items: center;
    gap: clamp(1.5rem, 6vw, 5rem);
}

.home-author__portrait {
    position: relative;
    isolation: isolate;
    width: min(100%, 30rem);
}

.home-author__portrait::before,
.home-author__portrait::after {
    position: absolute;
    z-index: -1;
    content: '';
}

.home-author__portrait::before {
    inset: -.875rem 54% -.875rem -1rem;
    border-radius: 0 1.5rem 1.5rem 0;
    background: #faeefb;
}

.home-author__portrait::after {
    inset: -1.125rem -.75rem auto auto;
    width: 11rem;
    height: 12rem;
    background-image: radial-gradient(circle, rgb(153 85 246 / .4) 1.5px, transparent 1.8px);
    background-size: 1rem 1rem;
}

.home-author__photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 55%;
    border-radius: 1rem;
}

.home-author__vignette {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    pointer-events: none;
}

.home-author__portrait figcaption {
    position: absolute;
    inset: auto 0 0;
    margin: 0;
    padding: 0 clamp(1rem, 3vw, 2rem) 1.25rem;
    color: #fff;
    font-weight: 650;
    text-shadow: 0 1px 4px #301b49;
}

.home-author__copy p { font-size: 1.0625rem; }
.home-author__copy .home-action { margin-top: .75rem; }
.home-faq {
    --home-faq-accent: #9955f6;
    --home-faq-padding: clamp(.9rem, 3vw, 1.5rem);
    max-width: 48rem;
    text-align: center;
}

.home-faq > p { margin-inline: auto; }

.home-faq__list {
    display: grid;
    gap: .65rem;
    margin-block: clamp(1.5rem, 4vw, 2.25rem) 1rem;
    text-align: start;
}

.home-faq details {
    border: 1px solid var(--home-border);
    border-radius: .875rem;
    background: #fff;
}

.home-faq details[open] { border-color: var(--home-faq-accent); }

.home-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .875rem var(--home-faq-padding);
    border-radius: inherit;
    cursor: pointer;
    font-weight: 650;
    list-style: none;
}

.home-faq summary::-webkit-details-marker { display: none; }

.home-faq__chevron {
    display: grid;
    flex: 0 0 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    color: var(--home-faq-accent);
    background: rgb(153 85 246 / .1);
}

.home-faq summary:hover .home-faq__chevron { background: rgb(153 85 246 / .16); }

.home-faq__chevron::before {
    width: .5rem;
    height: .5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-1px) rotate(45deg);
    content: '';
}

.home-faq details[open] .home-faq__chevron::before { transform: translateY(1px) rotate(225deg); }

.home-faq details p {
    margin: 0;
    padding: 0 var(--home-faq-padding) 1.125rem;
}

@media (min-width: 36rem) {
    .home-cabinet__screens { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-cabinet__video { grid-row: auto; align-self: start; }
}

@media (min-width: 48rem) {
    .home-wrap { width: min(100% - 3rem, 72rem); }
    .home-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-author:has(.home-author__portrait) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
    .home-author__portrait::before { inset: -1.5rem 54% -1.5rem min(-1.5rem, calc((72rem - 100vw) / 2)); }
    .home-author__portrait::after { inset: -1.75rem -1.75rem auto auto; }
    .home-author__photo { aspect-ratio: 6 / 5; }
}

@media (min-width: 64rem) {
    .home-cabinet { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
}
