@font-face {
    font-family: "Navigation Latin";
    src: url("navigation-latin-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
}

@font-face {
    font-family: "Navigation Latin";
    src: url("navigation-latin-700.woff2") format("woff2");
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
}

@font-face {
    font-family: "Navigation Sans";
    src: url("navigation-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Navigation Sans";
    src: url("navigation-500.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Navigation Sans";
    src: url("navigation-600.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Navigation Sans";
    src: url("navigation-700.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

/* 按 PC 1920 / H5 750 定稿还原；H5 标注为 2 倍图。 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    color-scheme: dark;
    background: #242424;
}

body {
    min-width: 320px;
    color: #c7c7c7;
    background: #242424;
    font-family: "Navigation Latin", "Navigation Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 18px;
    line-height: 32px;
    -webkit-text-size-adjust: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out;
}

a:focus-visible,
summary:focus-visible {
    outline: 2px solid #f49a34;
    outline-offset: 4px;
}

.page-wrap {
    width: calc(100% - 64px);
    max-width: 1072px;
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.icon {
    display: block;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-page {
    background: #242424 url("../images/home-background.webp") no-repeat top center / 1920px auto;
}

.hero {
    padding: 98px 0 56px;
    text-align: center;
}

.hero-logo {
    display: block;
    width: 316px;
    height: 84px;
    object-fit: contain;
    margin: 0 auto;
}

.hero-title {
    margin-top: 32px;
    color: #fff;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.5;
}

.hero-subtitle {
    margin-top: 26px;
    color: #b4b4b4;
    font-size: 20px;
    line-height: 1.6;
}

.line-list {
    display: grid;
    gap: 12px;
}

.line-card {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 98px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, .05);
}

.line-card:hover {
    border-color: #f49a34;
    background-color: rgba(255, 255, 255, .07);
}

.line-number {
    display: flex;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #2c2a2a;
    color: #f49a34;
    font-size: 20px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.line-content {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.line-title {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
}

.line-domain {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #ffb52c;
    font-size: 28px;
    line-height: 1.6;
}

.line-arrow {
    color: #f78600;
}

.app-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.app-button {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border: 1px solid #51402e;
    border-radius: 12px;
    background: #1f1813;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
}

.app-button-primary {
    border-color: #f78600;
    background: linear-gradient(110deg, #ffb900, #f78600);
    color: #080808;
}

.app-button:hover {
    border-color: #f49a34;
}

.contact-panel,
.nav-faq {
    margin-top: 32px;
    padding: 32px;
    border-radius: 12px;
    background: #2f2f2f;
}

.panel-title {
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.6;
}

.contact-panel {
    padding-bottom: 24px;
}

.contact-panel .panel-title {
    line-height: 1.5;
    text-align: center;
}

.email-box {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid #383736;
    border-radius: 12px;
    background: #2d2c2b;
    text-align: center;
    line-height: 28px;
}

.email-link {
    display: block;
    margin-top: 12px;
    overflow-wrap: anywhere;
    color: #f49a34;
    font-size: 32px;
    font-weight: 600;
    line-height: 46px;
}

.contact-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 42px;
    margin-top: 24px;
    text-align: center;
}

.contact-link {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    font-size: 20px;
    line-height: 1.6;
}

.contact-link:hover,
.footer-links a:hover {
    color: #f49a34;
}

.contact-icon {
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #383838;
    color: #ccc;
}

.contact-icon svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.nav-faq {
    padding-bottom: 24px;
}

.nav-faq .panel-title {
    line-height: 42px;
}

.nav-faq-item + .nav-faq-item {
    border-top: 1px solid #444;
}

.nav-faq-q {
    display: flex;
    min-height: 80px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    list-style: none;
    cursor: pointer;
}

.nav-faq-q::-webkit-details-marker {
    display: none;
}

.faq-toggle {
    position: relative;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    color: #f78600;
}

.faq-toggle::before,
.faq-toggle::after {
    position: absolute;
    top: 11px;
    left: 4px;
    width: 16px;
    height: 2px;
    background: currentColor;
    content: "";
}

.faq-toggle::after {
    transform: rotate(90deg);
}

.nav-faq-item[open] .faq-toggle::after {
    display: none;
}

.nav-faq-a {
    padding: 16px 0;
    color: #b4b4b4;
    font-size: 18px;
    line-height: 34px;
}

.site-footer {
    margin-top: 32px;
    padding: 32px 0 37px;
    border-top: 1px solid #3a3a3a;
}

.footer-nav {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 42px;
}

.footer-label {
    margin-bottom: 24px;
    color: #7b7b7b;
    font-size: 16px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    font-size: 18px;
    line-height: 32px;
}

.footer-notice,
.footer-copyright {
    color: #737373;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
}

.footer-notice {
    margin-top: 32px;
}

.footer-copyright {
    margin-top: 24px;
}

.footer-copyright a:hover {
    color: #b4b4b4;
}

.legal-page .site-footer {
    padding-bottom: 80px;
}

.legal-header {
    padding: 58px 0 26px;
    border-bottom: 1px solid #3a3a3a;
}

.legal-logo {
    display: block;
    width: 158px;
    height: 40px;
    object-fit: contain;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin: 40px 0;
    color: #f78600;
    font-size: 20px;
    line-height: 1.8;
}

.legal-back:hover {
    color: #ffb52c;
}

.legal-layout {
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr);
    align-items: start;
    gap: 40px;
}

.legal-nav-label {
    margin-bottom: 16px;
    color: #7b7b7b;
    font-size: 18px;
    line-height: 1.2;
}

.legal-nav-links {
    display: grid;
    gap: 12px;
}

.legal-nav-item {
    display: block;
    padding: 12px 24px;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    font-size: 20px;
    line-height: 1.8;
}

.legal-nav-item:hover,
.legal-nav-item.is-active {
    border-color: #f49a34;
    background: #2f2f2f;
    color: #f49a34;
}

.legal-nav-item.is-active {
    font-weight: 600;
}

.legal-card {
    min-width: 0;
    padding: 32px 32px 36px;
    border-radius: 12px;
    background: #2f2f2f;
    overflow-wrap: anywhere;
}

.legal-card h1 {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #444;
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.4;
}

.legal-card h2 {
    margin: 32px 0 20px;
    color: #f49a34;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
}

.legal-card h1 + h2 {
    margin-top: 36px;
}

.legal-card p,
.legal-card ul {
    margin-bottom: 20px;
}

.legal-card li + li {
    margin-top: 20px;
}

.legal-card ul {
    padding-left: 22px;
}

.legal-card strong {
    font-weight: 500;
}

.legal-card > :last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    html,
    body {
        background-color: #262626;
    }

    body {
        font-size: 14px;
        line-height: 23px;
    }

    .page-wrap {
        width: calc(100% - 32px);
    }

    .home-page {
        background-image: url("../images/home-background-mobile.webp");
        background-size: 375px auto;
    }

    .hero {
        padding: 33px 0 24.5px;
    }

    .hero-logo {
        width: 158px;
        height: 42px;
    }

    .hero-title {
        margin-top: 12px;
        font-size: 20px;
        line-height: 27px;
    }

    .hero-subtitle {
        margin-top: 10.5px;
        font-size: 12px;
        line-height: 20px;
    }

    .line-list {
        gap: 6px;
    }

    .line-card {
        min-height: 67px;
        gap: 12px;
        padding: 10px 12px;
        border-width: .5px;
        border-radius: 6px;
    }

    .line-number {
        width: 32px;
        height: 32px;
        border-radius: 4px;
        font-size: 14px;
    }

    .line-content {
        display: block;
    }

    .line-title {
        font-size: 12px;
        line-height: 20px;
    }

    .line-domain {
        margin-top: 4px;
        font-size: 14px;
        line-height: 20px;
    }

    .line-arrow {
        width: 16px;
        height: 16px;
    }

    .app-buttons {
        gap: 12px;
        margin-top: 16px;
    }

    .app-button {
        min-height: 44px;
        gap: 8px;
        padding: 8px;
        border-radius: 6px;
        font-size: 14px;
    }

    .app-button .icon {
        width: 16px;
        height: 16px;
    }

    .contact-panel,
    .nav-faq {
        margin-top: 16px;
        padding: 16px 12px;
        border-radius: 6px;
        background: #313131;
    }

    .panel-title {
        font-size: 16px;
        line-height: 1.5;
    }

    .contact-panel {
        padding-bottom: 12px;
    }

    .contact-panel .panel-title {
        margin: 0;
        font-size: 18px;
        line-height: 28.5px;
    }

    .email-box {
        margin-top: 8px;
        padding: 12px;
        border-radius: 6px;
        background: #2f2e2d;
        font-size: 12px;
        line-height: 21px;
    }

    .email-instruction-tail {
        display: block;
    }

    .email-link {
        margin-top: 8px;
        font-size: 17px;
        line-height: 25px;
    }

    .contact-list {
        gap: 8px;
        margin-top: 12px;
    }

    .contact-link {
        gap: 8px;
        font-size: 12px;
        line-height: 19px;
        white-space: nowrap;
    }

    .contact-icon {
        width: 32px;
        height: 32px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .nav-faq {
        padding: 16px 12px 12px;
    }

    .nav-faq .panel-title {
        margin-bottom: 0;
        line-height: 24px;
    }

    .nav-faq-item + .nav-faq-item {
        border-top: 0;
        padding-top: .5px;
        background: linear-gradient(#454545, #454545) top / 100% .5px no-repeat;
    }

    .nav-faq-q {
        min-height: 45.5px;
        gap: 8px;
        padding: 12px 0;
        font-size: 14px;
        line-height: 1.5;
    }

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

    .faq-toggle::before,
    .faq-toggle::after {
        top: 7px;
        left: 4px;
        width: 8px;
        height: 1px;
    }

    .nav-faq-a {
        padding: 8px 0;
        font-size: 12px;
        line-height: 21px;
    }

    .site-footer {
        margin-top: 16px;
        padding: 16.5px 0 57px;
        border-top: 0;
        background: linear-gradient(#3c3c3c, #3c3c3c) top / 100% .5px no-repeat;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer-label {
        margin-bottom: 12px;
        font-size: 12px;
        line-height: 1.5;
    }

    .footer-links {
        gap: 16px;
        font-size: 14px;
        line-height: 23px;
    }

    .footer-notice,
    .footer-copyright {
        font-size: 10px;
        line-height: 1.6;
    }

    .footer-notice {
        margin-top: 16px;
        font-size: 9px;
        line-height: 13px;
    }

    .footer-copyright {
        margin-top: 16px;
    }

    .legal-page .site-footer {
        padding-bottom: 39.5px;
    }

    .legal-header {
        padding: 16px 0 12px;
        border-color: #3c3c3c;
    }

    .legal-logo {
        width: 79px;
        height: 21px;
    }

    .legal-back {
        gap: 8px;
        margin: 24px 0;
        font-size: 14px;
        line-height: 17.5px;
    }

    .legal-back .icon {
        width: 16px;
        height: 16px;
    }

    .legal-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .legal-nav-label {
        display: none;
    }

    .legal-nav-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px 10px;
    }

    .legal-nav-item {
        padding: 8px 2px;
        border-width: .5px;
        border-radius: 4px;
        font-size: 12px;
        line-height: 21px;
        text-align: center;
        white-space: nowrap;
    }

    .legal-card {
        padding: 16px 16px 17px;
        border-radius: 6px;
        background: #313131;
    }

    .legal-card h1 {
        margin-bottom: 12px;
        padding-bottom: 12px;
        font-size: 22px;
        line-height: 31px;
    }

    .legal-card h2 {
        margin: 16px 0 10px;
        font-size: 16px;
        line-height: 1.5;
    }

    .legal-card h1 + h2 {
        margin-top: 18px;
    }

    .legal-card p,
    .legal-card ul {
        margin-bottom: 10px;
    }

    .legal-card li + li {
        margin-top: 10px;
    }

    .legal-card ul {
        padding-left: 18px;
    }
}
