:root {
    --faq-green: #79ee9d;
    --faq-ink: #101010;
    --faq-sub: #676767;
    --faq-line: #dddddd;
    --faq-bg: #f3f4f5;
}

html {
    background: var(--faq-bg);
}

.faq-page {
    background: var(--faq-bg);
    color: var(--faq-ink);
}

.faq-page .faq-navbar {
    padding: 18px 0;
    border-color: rgba(255, 255, 255, .16);
    background: #090909;
    box-shadow: none;
}

.faq-page .faq-navbar .logo {
    height: 28px;
}

.faq-page .faq-navbar .logo-light {
    display: block;
}

.faq-page .faq-navbar .logo-dark {
    display: none;
}

.faq-page .faq-navbar .nav-youtube {
    border-color: rgba(255, 255, 255, .36);
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
}

.faq-page .faq-navbar .nav-youtube:hover {
    border-color: var(--faq-green);
    background: #ffffff;
    color: #000000;
}

.faq-main {
    padding-top: 74px;
}

.faq-container {
    width: min(920px, calc(100% - 48px));
    margin: 0 auto;
}

.faq-hero {
    padding: 112px 0 92px;
    background:
        radial-gradient(circle at 78% 20%, rgba(121, 238, 157, .16), transparent 34%),
        #ffffff;
    border-bottom: 1px solid var(--faq-line);
}

.faq-kicker {
    margin: 0 0 22px;
    color: #4ca26a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}

.faq-hero h1 {
    max-width: 780px;
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.16;
    word-break: keep-all;
}

.faq-hero-copy {
    max-width: 760px;
    margin-top: 42px;
    color: var(--faq-sub);
    font-size: 17px;
    line-height: 1.9;
    word-break: keep-all;
}

.faq-hero-copy p {
    margin: 0;
}

.faq-hero-copy p + p {
    margin-top: 12px;
}

.faq-hero-copy strong {
    color: var(--faq-ink);
    font-weight: 700;
}

.faq-content {
    padding: 78px 0 88px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    overflow: clip;
    border: 1px solid #e1e1e1;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .025);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-item:hover {
    border-color: #c8c8c8;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .055);
    transform: translateY(-1px);
}

.faq-item[open] {
    border-color: #b9d9c3;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .07);
}

.faq-item summary {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 20px;
    min-height: 112px;
    padding: 26px 32px;
    color: var(--faq-ink);
    cursor: pointer;
    list-style: none;
}

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

.faq-item summary:focus-visible {
    outline: 2px solid var(--faq-green);
    outline-offset: -4px;
}

.faq-number {
    color: #4ca26a;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.faq-question {
    font-size: clamp(18px, 2.2vw, 23px);
    font-weight: 650;
    letter-spacing: -.035em;
    line-height: 1.45;
    word-break: keep-all;
}

.faq-toggle {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
}

.faq-toggle::before,
.faq-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: #111111;
    content: "";
    transform: translate(-50%, -50%);
    transition: transform 180ms ease;
}

.faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg) scaleX(0);
}

.faq-answer {
    margin: 0 32px 0 106px;
    padding: 0 0 36px;
    border-top: 1px solid #eeeeee;
    color: var(--faq-sub);
    font-size: 15.5px;
    line-height: 1.95;
    letter-spacing: -.015em;
    word-break: keep-all;
}

.faq-answer p {
    max-width: 700px;
    margin: 26px 0 0;
}

.faq-answer p + p {
    margin-top: 12px;
}

.faq-related {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #e7e7e7;
}

.faq-related-label {
    display: block;
    color: #4ca26a;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
}

.faq-related-links {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.faq-related-links a {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 62px;
    padding: 13px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #f7f8f8;
    color: #111111;
    text-decoration: none;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.faq-related-links a:hover {
    border-color: #79ee9d;
    background: #f0fff5;
    transform: translateX(3px);
}

.faq-related-links a:focus-visible {
    outline: 2px solid #79ee9d;
    outline-offset: 2px;
}

.faq-related-number {
    color: #4ca26a;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.faq-related-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
    word-break: keep-all;
}

.faq-contact {
    padding: 0 0 96px;
}

.faq-contact-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
    padding: 48px 52px;
    border-radius: 16px;
    background: #0a0a0a;
    color: #ffffff;
    box-shadow: 0 24px 68px rgba(0, 0, 0, .16);
}

.faq-contact-box h2 {
    margin: 0;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.4;
    word-break: keep-all;
}

.faq-contact-box p {
    max-width: 590px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .62);
    font-size: 14px;
    line-height: 1.8;
    word-break: keep-all;
}

.faq-contact-box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 182px;
    min-height: 50px;
    padding: 13px 24px;
    border: 1px solid var(--faq-green);
    border-radius: 4px;
    background: var(--faq-green);
    color: #000000;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
    white-space: nowrap;
}

.faq-contact-box a:hover {
    border-color: #ffffff;
    background: #ffffff;
    transform: translateY(-2px);
}

.faq-contact-box a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 5px;
}

@media (max-width: 767px) {
    .faq-page .faq-navbar {
        padding: 18px 0;
    }

    .faq-page .faq-navbar .logo {
        height: 20px;
    }

    .faq-main {
        padding-top: 64px;
    }

    .faq-container {
        width: min(100% - 32px, 920px);
    }

    .faq-hero {
        padding: 72px 0 62px;
    }

    .faq-kicker {
        margin-bottom: 18px;
        font-size: 10px;
    }

    .faq-hero h1 {
        font-size: clamp(34px, 10vw, 44px);
        line-height: 1.2;
    }

    .faq-hero-copy {
        margin-top: 30px;
        font-size: 15px;
        line-height: 1.8;
    }

    .faq-content {
        padding: 46px 0 56px;
    }

    .faq-list {
        gap: 10px;
    }

    .faq-item {
        border-radius: 10px;
    }

    .faq-item summary {
        grid-template-columns: 34px minmax(0, 1fr) 24px;
        gap: 10px;
        min-height: 90px;
        padding: 22px 18px;
    }

    .faq-number {
        font-size: 14px;
    }

    .faq-question {
        font-size: 17px;
        line-height: 1.5;
    }

    .faq-toggle {
        width: 20px;
        height: 20px;
    }

    .faq-toggle::before,
    .faq-toggle::after {
        width: 15px;
    }

    .faq-answer {
        margin: 0 18px 0 62px;
        padding-bottom: 26px;
        font-size: 14px;
        line-height: 1.85;
    }

    .faq-answer p {
        margin-top: 20px;
    }

    .faq-answer p + p {
        margin-top: 10px;
    }

    .faq-related {
        margin-top: 24px;
        padding-top: 20px;
    }

    .faq-related-links a {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 9px;
        min-height: 58px;
        padding: 11px 12px;
    }

    .faq-related-number {
        font-size: 12px;
    }

    .faq-related-title {
        font-size: 12.5px;
        line-height: 1.5;
    }

    .faq-contact {
        padding-bottom: 64px;
    }

    .faq-contact-box {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 34px 26px;
        border-radius: 12px;
    }

    .faq-contact-box h2 {
        font-size: 23px;
    }

    .faq-contact-box a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-toggle::before,
    .faq-toggle::after,
    .faq-contact-box a {
        transition: none;
    }
}
