.home-page {
    background: #f6f4ef;
}

.home-page main {
    max-width: var(--page, 1676px);
    padding-top: 28px;
}

@media (min-width: 768px) {
    .home-page main {
        padding-bottom: 72px;
    }
}

.hero-switch-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.hero-switch {
    display: inline-flex;
    gap: 2px;
    padding: 4px;
    border: 1px solid #ece8e3;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgb(23 19 26 / 6%);
}

.hero-switch button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #17131a;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.hero-switch button .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.hero-switch button.is-on {
    background: #17131a;
    color: #fff;
}

.hero-grid {
    display: grid;
    gap: 28px;
    align-items: start;
}

.hero-copy {
    display: grid;
}

.hero-pane {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
    pointer-events: none;
}

.hero-pane.is-on {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

.hero-title,
.hero-rotate {
    margin: 0;
    color: #17131a;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.45;
}

.hero-title {
    white-space: nowrap;
}

.hero-rotate {
    height: 1.6em;
    overflow: hidden;
    color: #c13281;
    line-height: 1.6;
}

.hero-word {
    display: inline-block;
    transition: opacity 0.45s ease, transform 0.45s ease;
    opacity: 1;
    transform: translateY(0);
}

.hero-word.is-changing {
    opacity: 0;
    transform: translateY(10px);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    column-gap: 16px;
    row-gap: 16px;
    margin-top: 32px;
    text-align: start;
}

.hero-stats strong {
    display: block;
    color: #17131a;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    direction: rtl;
}

.hero-stats span {
    display: block;
    margin-top: 6px;
    color: #8a847e;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 14px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin-top: 32px;
    padding: 0 18px;
    border-radius: 10px;
    background: #c13281;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.hero-cta .icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.hero-photo {
    position: relative;
    align-self: center;
    overflow: hidden;
    width: min(260px, 78%);
    height: 220px;
    margin-inline: auto;
    border-radius: 24px;
}

.hero-photo img,
.hero-lottie {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-lottie {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.hero-lottie.is-on {
    opacity: 1;
}

.hero-lottie svg,
.join-lottie svg {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.hero-lottie--hire {
    inset: 12% 8% 14%;
}

.home-block {
    margin-top: 72px;
}

.home-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.home-head h2,
.home-block > h2 {
    margin: 0 0 18px;
    color: #17131a;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.home-head h2 { margin-bottom: 0; }

.home-more {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    color: #c13281;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
}

.home-more .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.home-project {
    width: min(300px, 82vw);
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.feature-row,
.news-row {
    display: flex;
    gap: 16px;
    margin-inline: 0;
    padding-inline: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.feature-card {
    width: min(340px, 86vw);
    flex: 0 0 auto;
    scroll-snap-align: start;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 30px rgb(23 19 26 / 6%);
}

.home-faq {
    margin-top: 72px;
}

.home-faq__inner {
    width: min(var(--page, 1676px), 100%);
    margin-inline: auto;
}

.home-faq h2 {
    margin: 0 0 18px;
    color: #17131a;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid #ece7e3;
    border-radius: 16px;
    background: #fff;
    padding: 0 16px;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    color: #17131a;
    font-weight: 700;
    line-height: 24px;
    cursor: pointer;
    list-style: none;
}

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

.faq-item summary .icon {
    flex: 0 0 auto;
    color: #6f6863;
    transition: transform 160ms ease;
}

.faq-item[open] summary .icon { transform: rotate(90deg); }

.faq-item p {
    margin: 0 0 16px;
    color: #3d3834;
    font-size: 13px;
    line-height: 24px;
}

.join-band {
    width: 100%;
    margin-top: 72px;
    background: #fff;
    border-top: 1px solid color-mix(in srgb, #17131a 12%, #fff);
}

.join-card {
    display: grid;
    gap: 20px;
    align-items: center;
    width: min(var(--page, 1676px), 100%);
    margin-inline: auto;
    padding-block: 32px;
}

.join-card img,
.join-lottie {
    display: block;
    width: 220px;
    height: 220px;
    margin-inline: auto;
    object-fit: contain;
    border-radius: 20px;
}

.join-copy h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.join-copy > p {
    margin: 12px 0 0;
    color: #3d3834;
    font-size: 12px;
    line-height: 24px;
}

.join-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.join-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    color: #17131a;
    font-size: 12px;
    line-height: 24px;
}

.join-list .icon {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #c13281;
}

.news-card {
    display: flex;
    width: min(280px, 78vw);
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    scroll-snap-align: start;
    color: inherit;
    text-decoration: none;
}

.news-card__thumb {
    display: flex;
    width: 92px;
    height: 92px;
    flex: 0 0 auto;
    align-items: flex-end;
    border-radius: 16px;
    background: #17131a;
    padding: 8px;
    color: #f3d5e6;
    font-size: 11px;
    font-weight: 700;
    line-height: 15px;
}

.news-card__title {
    color: #c13281;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
}

.quote-carousel__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.quote-carousel__head h2 { margin: 0; }

.quote-carousel__nav {
    display: flex;
    gap: 8px;
}

.quote-carousel__nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #17131a;
    cursor: pointer;
    box-shadow: 0 8px 20px rgb(23 19 26 / 8%);
}

.quote-carousel__nav button[data-dir="-1"] .icon { transform: scaleX(-1); }

.quote-carousel__nav button:disabled {
    opacity: 0.35;
    cursor: default;
}

.quote-carousel__view { overflow: hidden; }

.quote-carousel__track {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.45s ease;
}

.t-card {
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    margin: 0;
    border-radius: 24px;
    background: #d7efe4;
    padding: 16px 18px 14px;
}

.t-card__quote {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.t-card__mark {
    flex-shrink: 0;
    margin-top: 8px;
    color: #17131a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.t-card blockquote {
    margin: 0;
    color: #17131a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.t-card figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.t-card__avatar {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #f6f4ef;
    color: #c13281;
    font-size: 16px;
    font-weight: 800;
    object-fit: cover;
}

.t-card figcaption strong {
    display: block;
    color: #17131a;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
}

.t-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.t-card__meta b {
    color: #17131a;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
}

.t-card__meta a {
    color: #3d6b58;
    font-size: 11px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
}

.quote-grid {
    display: grid;
    gap: 16px;
}

.quote-card {
    margin: 0;
    border-radius: 28px;
    background: #d7efe4;
    padding: 24px;
}

.quote-card p {
    margin: 0;
    color: #17131a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.quote-card figcaption {
    margin-top: 16px;
    color: #3d6b58;
    font-size: 12px;
}

.quote-card a {
    color: #3d6b58;
    font-weight: 700;
    text-decoration: none;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
        gap: 32px;
        align-items: stretch;
    }

    .hero-title,
    .hero-rotate {
        font-size: 22px;
    }

    .hero-photo {
        align-self: stretch;
        width: auto;
        max-height: none;
        min-height: 0;
        height: auto;
        margin-inline: 0;
    }

    .join-card {
        grid-template-columns: minmax(0, 1fr) 260px;
        align-items: center;
        padding-block: 48px;
        gap: 24px;
    }

    .join-lottie {
        width: 240px;
        height: 240px;
    }

    .join-copy h2 {
        font-size: 16px;
    }

    .t-card { flex-basis: calc((100% - 32px) / 3); }
    .quote-carousel__track .t-card:only-child { flex-basis: 100%; }

    .quote-grid {
        grid-template-columns: 1fr 1fr;
    }
}
