.how-page {
    background: #e9edf3;
    color: var(--text-color);
}

.how-page main {
    overflow: clip;
}

.how-hero {
    padding: 156px 0 48px;
}

.how-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.35rem;
    align-items: stretch;
}

.how-hero-copy {
    border-radius: 30px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.97), rgba(246, 251, 255, 0.93));
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.11);
    padding: clamp(1.2rem, 2vw, 1.8rem);
}

.how-hero-copy .badge {
    margin-bottom: 0.9rem;
}

.how-hero-copy h1 {
    font-size: clamp(2.2rem, 5.1vw, 4.25rem);
    line-height: 1.04;
    letter-spacing: -1.35px;
    margin-bottom: 0.9rem;
}

.how-hero-copy h1 span {
    color: transparent;
    background: linear-gradient(120deg, #2b99bd 0%, #4f9d3a 60%, #3fa03c 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.how-hero-copy p {
    margin-bottom: 1.15rem;
    color: rgba(15, 23, 42, 0.72);
    max-width: 62ch;
}

.how-kpi-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.62rem;
    margin-bottom: 1.2rem;
}

.how-kpi {
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.86);
    padding: 0.76rem 0.7rem;
}

.how-kpi strong {
    display: block;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #0f172a;
}

.how-kpi span {
    margin-top: 0.24rem;
    display: block;
    font-size: 0.8rem;
    color: rgba(15, 23, 42, 0.63);
    font-weight: 600;
}

.how-hero-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.how-hero-visual {
    position: relative;
    margin: 0;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
    min-height: 100%;
}

.how-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.how-hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 45%, rgba(15, 23, 42, 0.72) 100%);
}

.how-hero-visual figcaption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.9rem;
    z-index: 2;
    display: grid;
    gap: 0.18rem;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.3);
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    padding: 0.7rem 0.8rem;
}

.how-hero-visual strong {
    color: #ffffff;
    line-height: 1.2;
}

.how-hero-visual span {
    color: rgba(226, 232, 240, 0.84);
    font-size: 0.85rem;
}

.how-flow {
    padding-top: 1rem;
}

.how-step-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.how-step-card {
    position: relative;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: linear-gradient(160deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    padding: 0.9rem;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.how-step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.15);
    border-color: rgba(43, 153, 189, 0.28);
}

.how-step-no {
    position: absolute;
    top: 0.72rem;
    right: 0.72rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 30px;
    border-radius: 999px;
    padding-inline: 0.6rem;
    background: linear-gradient(135deg, #2b99bd, #4f9d3a);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    box-shadow: 0 10px 20px rgba(43, 153, 189, 0.28);
}

.how-step-media {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 0.72rem;
    aspect-ratio: 16 / 9;
}

.how-step-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.how-step-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.3rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.how-step-card p {
    margin: 0;
    color: rgba(15, 23, 42, 0.7);
}

.how-video {
    padding-top: 0.9rem;
}

.how-video-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1rem;
    align-items: stretch;
    border-radius: 28px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: linear-gradient(150deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.95));
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.22);
    padding: 1rem;
}

.how-video-copy {
    color: #e2e8f0;
    padding: 0.3rem;
}

.how-video-copy .subtitle {
    color: #93d5e9;
}

.how-video-copy h2 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: clamp(1.7rem, 3.4vw, 2.3rem);
    line-height: 1.1;
}

.how-video-copy p {
    color: rgba(226, 232, 240, 0.83);
    margin-bottom: 0.75rem;
}

.how-video-points {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
}

.how-video-points li {
    list-style: none;
    position: relative;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.34);
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
    padding: 0.36rem 0.68rem 0.36rem 1.36rem;
}

.how-video-points li::before {
    content: '';
    position: absolute;
    left: 0.52rem;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2b99bd, #4f9d3a);
    box-shadow: 0 0 0 3px rgba(79, 157, 58, 0.17);
}

.how-credit {
    margin: 0.75rem 0 0;
    font-size: 0.76rem;
    color: rgba(226, 232, 240, 0.66);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

.how-video-frame {
    margin: 0;
    display: grid;
    gap: 0.52rem;
}

.how-video-frame video {
    width: 100%;
    height: 100%;
    min-height: 360px;
    max-height: 480px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.42);
    background: #0f172a;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
}

.how-video-frame figcaption {
    color: rgba(226, 232, 240, 0.75);
    font-size: 0.82rem;
    font-weight: 600;
}

.how-gallery {
    padding-top: 0.95rem;
}

.how-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.84rem;
}

.how-gallery-card {
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: linear-gradient(170deg, #ffffff, #f8fbff);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
    overflow: hidden;
}

.how-gallery-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.how-gallery-card div {
    padding: 0.78rem 0.82rem 0.88rem;
}

.how-gallery-card h3 {
    margin: 0 0 0.24rem;
    font-size: 1.1rem;
    line-height: 1.2;
}

.how-gallery-card p {
    margin: 0;
    color: rgba(15, 23, 42, 0.69);
    font-size: 0.9rem;
}

.how-faq {
    padding-top: 0.95rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-list .accordion-header {
    width: 100%;
    text-align: left;
    margin: 0 0 0.54rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.92));
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
    color: #0f172a;
    font-family: var(--font-display);
    font-size: 1.01rem;
    font-weight: 700;
    line-height: 1.28;
    padding: 0.86rem 2.8rem 0.86rem 0.95rem;
    cursor: pointer;
}

.faq-list .accordion-body {
    margin-top: -0.1rem;
    margin-bottom: 0.68rem;
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-top: 0;
    background: rgba(255, 255, 255, 0.86);
}

.faq-list .accordion-body p {
    margin: 0;
    padding: 0.78rem 0.95rem 0.9rem;
    color: rgba(15, 23, 42, 0.72);
}

.how-cta {
    padding-top: 1rem;
}

.how-cta-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    border-radius: 28px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background:
        radial-gradient(circle at 6% 18%, rgba(60, 160, 193, 0.25), transparent 36%),
        radial-gradient(circle at 90% 0%, rgba(63, 160, 60, 0.25), transparent 42%),
        linear-gradient(150deg, #0f172a 0%, #1e293b 100%);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.24);
    padding: 1.2rem;
    color: #e2e8f0;
    overflow: hidden;
}

.how-cta-card .subtitle {
    color: #93d5e9;
    margin-bottom: 0.44rem;
}

.how-cta-card h2 {
    margin-bottom: 0.46rem;
    color: #ffffff;
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    line-height: 1.12;
}

.how-cta-card p {
    margin: 0;
    color: rgba(226, 232, 240, 0.82);
    max-width: 64ch;
}

.how-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.72rem;
}

.how-cta-actions .btn-outline {
    border-color: rgba(226, 232, 240, 0.46);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
}

.how-cta-actions .btn-outline:hover {
    border-color: rgba(226, 232, 240, 0.62);
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.how-hero-copy,
.how-hero-visual,
.how-step-card,
.how-video-shell,
.how-gallery-card,
.faq-list .accordion-header,
.how-cta-card {
    animation: riseIn 0.55s ease both;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1120px) {
    .how-hero-grid,
    .how-video-shell {
        grid-template-columns: 1fr;
    }

    .how-hero-visual img {
        max-height: 470px;
    }

    .how-video-frame video {
        max-height: 420px;
    }

    .how-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .how-cta-card {
        grid-template-columns: 1fr;
    }

    .how-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .how-kpi-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .how-step-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .how-hero {
        padding-top: 124px;
        padding-bottom: 26px;
    }

    .how-hero-copy,
    .how-hero-visual,
    .how-video-shell,
    .how-cta-card {
        border-radius: 22px;
    }

    .how-hero-copy h1 {
        font-size: clamp(2rem, 7.8vw, 2.86rem);
        letter-spacing: -0.8px;
    }

    .how-kpi-list {
        grid-template-columns: 1fr;
    }

    .how-gallery-grid {
        grid-template-columns: 1fr;
    }

    .how-video-frame video {
        min-height: 250px;
        max-height: 320px;
    }

    .how-cta-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
}
