/* templatein22 style.css | build 2026-09-07 cf22-v1 | original design, not cloned */

:root {
    --cf22-orange: #e67012;
    --cf22-orange-deep: #c85a0a;
    --cf22-orange-soft: #fdf1e7;
    --cf22-orange-line: #f5b08a;
    --cf22-ink: #1d1d22;
    --cf22-ink-soft: #5a5a66;
    --cf22-canvas: #f4f5f7;
    --cf22-paper: #ffffff;
    --cf22-border-ink: #1d1d22;
    --cf22-dash: #e67012;
    --cf22-radius: 12px;
    --cf22-radius-btn: 3px;
    --cf22-shadow: 0 4px 26px rgba(29, 29, 34, 0.14);
    --cf22-offset: 5px 6px 0 var(--cf22-border-ink);
    --cf22-offset-big: 13px 13px 0 var(--cf22-ink);
    --cf22-container: 1140px;
    --cf22-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ===================== 基础 ===================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

.cf22-body {
    margin: 0;
    font-family: var(--cf22-font);
    font-size: 17px;
    line-height: 1.7;
    color: var(--cf22-ink);
    background: var(--cf22-canvas);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

p:empty { display: none; }

.cf22-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--cf22-ink);
    color: #fff;
    padding: 10px 18px;
    z-index: 100;
}

.cf22-skip:focus { left: 12px; top: 12px; }

/* ===================== Header ===================== */

.cf22-header {
    background: var(--cf22-paper);
    border-bottom: 1px solid #e7e8ec;
    position: sticky;
    top: 0;
    z-index: 50;
}

.cf22-header__inner {
    max-width: var(--cf22-container);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cf22-branding__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--cf22-ink);
}

.cf22-branding__logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid var(--cf22-orange);
    background: var(--cf22-orange-soft);
    padding: 3px;
}

.cf22-branding__name {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.cf22-nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cf22-nav__link {
    display: inline-block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--cf22-ink);
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--cf22-radius-btn);
    transition: border-color 0.18s ease, color 0.18s ease;
}

.cf22-nav__link:hover,
.cf22-nav__link:focus-visible {
    color: var(--cf22-orange-deep);
    border-color: var(--cf22-orange);
    outline: none;
}

.cf22-nav__link--home { color: var(--cf22-orange-deep); }

.cf22-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: var(--cf22-paper);
    border: 2px solid var(--cf22-ink);
    border-radius: var(--cf22-radius-btn);
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--cf22-ink);
}

.cf22-menu-toggle__bar {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--cf22-ink);
    border-radius: 2px;
}

.cf22-menu-toggle[aria-expanded="true"] { box-shadow: none; transform: translate(3px, 3px); }

/* ===================== Hero ===================== */

.cf22-main { display: block; }

.cf22-hero {
    padding: 56px 24px 60px;
}

.cf22-hero__inner {
    max-width: 780px;
    margin: 0 auto;
    background: var(--cf22-paper);
    border-right: 8px solid var(--cf22-orange);
    border-left: 8px solid var(--cf22-orange);
    border-radius: var(--cf22-radius);
    box-shadow: var(--cf22-shadow);
    padding: 44px 40px 48px;
    text-align: center;
}

.cf22-hero__title {
    margin: 0 0 18px;
    font-size: clamp(26px, 4.2vw, 38px);
    line-height: 1.25;
    font-weight: 800;
}

.cf22-hero__icon {
    width: 119px;
    height: 119px;
    object-fit: contain;
    margin: 4px 0 18px;
}

.cf22-hero--special .cf22-hero__icon { width: 113px; height: 113px; }

.cf22-hero__lead {
    margin: 0 auto 22px;
    max-width: 640px;
    font-size: 18px;
    color: var(--cf22-ink-soft);
}

/* App 信息行（Hero 内） */

.cf22-appinfo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.cf22-appinfo__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--cf22-ink-soft);
    white-space: nowrap;
}

.cf22-appinfo__icon {
    width: 17px;
    height: 17px;
    color: var(--cf22-orange);
    flex: none;
}

/* ===================== 按钮 ===================== */

.cf22-hero__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cf22-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    background: var(--cf22-orange);
    text-decoration: none;
    border: 2px solid var(--cf22-ink);
    border-radius: var(--cf22-radius-btn);
    box-shadow: var(--cf22-offset);
    transition: box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.cf22-btn:hover,
.cf22-btn:focus-visible {
    background: var(--cf22-orange-deep);
    color: #fff;
    box-shadow: var(--cf22-offset-big);
    transform: translate(-4px, -4px);
    outline: none;
}

.cf22-btn__icon {
    width: 1.1em;
    height: 1.1em;
    flex: none;
}

.cf22-btn__text strong { font-weight: 800; }

/* ===================== App 信息表格（下载页） ===================== */

.cf22-apptable {
    max-width: 780px;
    margin: 0 auto 44px;
    padding: 0 24px;
}

.cf22-apptable__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--cf22-paper);
    border: 1px solid #d9dbe1;
    border-radius: var(--cf22-radius);
    overflow: hidden;
}

.cf22-apptable__row .cf22-apptable__label,
.cf22-apptable__row .cf22-apptable__data {
    padding: 11px 16px;
    font-size: 15px;
    border-bottom: 1px solid #eceef2;
    text-align: left;
    vertical-align: top;
}

.cf22-apptable__row:last-child .cf22-apptable__label,
.cf22-apptable__row:last-child .cf22-apptable__data { border-bottom: 0; }

.cf22-apptable__label {
    width: 38%;
    font-weight: 800;
    color: var(--cf22-ink);
    background: var(--cf22-orange-soft);
    border-right: 1px solid #eceef2;
}

.cf22-apptable__data { color: var(--cf22-ink-soft); }

/* ===================== 正文容器 ===================== */

.cf22-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px 72px;
}

/* ---- H2：橙底色块 + 左右黑粗边（首页正文机制） ---- */

.cf22-article { font-size: 17px; }

.cf22-home .cf22-article h2 {
    margin: 54px 0 24px;
    padding: 12px 34px;
    background: var(--cf22-orange);
    border-right: 18px solid var(--cf22-ink);
    border-left: 18px solid var(--cf22-ink);
    color: #fff;
    font-size: clamp(22px, 3.4vw, 30px);
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
}

/* 下载页正文 H2：纯加粗无装饰（参考页真实差异） */

.cf22-special .cf22-article h2 {
    margin: 48px 0 20px;
    font-size: clamp(21px, 3vw, 27px);
    font-weight: 800;
    line-height: 1.3;
    color: var(--cf22-ink);
}

/* H3：橙色虚线下划线机制 */

.cf22-article h3 {
    margin: 34px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px dashed var(--cf22-dash);
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 800;
    line-height: 1.35;
    color: var(--cf22-ink);
}

.cf22-article h1,
.cf22-article h4,
.cf22-article h5,
.cf22-article h6 {
    margin: 34px 0 14px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--cf22-ink);
}

.cf22-article h1 { font-size: clamp(24px, 3.4vw, 32px); }
.cf22-article h4 { font-size: 19px; }
.cf22-article h5 { font-size: 17px; }
.cf22-article h6 { font-size: 16px; }

.cf22-article p { margin: 0 0 18px; }

.cf22-article a {
    color: var(--cf22-orange-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cf22-article a:hover,
.cf22-article a:focus-visible { color: var(--cf22-ink); }

.cf22-article strong { font-weight: 800; }

.cf22-article img { border-radius: var(--cf22-radius); }

.cf22-figure {
    margin: 26px 0;
    text-align: center;
}

.cf22-figure img {
    max-width: min(100%, 560px);
    height: auto;
}

/* ---- 橙色勾图标列表机制（作用于正文真实 ul） ---- */

.cf22-article ul:not([class]) {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.cf22-article ul:not([class]) > li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 7px;
}

.cf22-article ul:not([class]) > li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.44em;
    width: 18px;
    height: 18px;
    background:
        linear-gradient(var(--cf22-orange), var(--cf22-orange)) content-box;
    border: 2px solid var(--cf22-orange);
    border-radius: 50%;
    padding: 0 0 4px 4px;
    background-clip: content-box;
    box-sizing: border-box;
    opacity: 0.96;
}

.cf22-article ul:not([class]) > li::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 0.58em;
    width: 9px;
    height: 5px;
    border-left: 2.5px solid #fff;
    border-bottom: 2.5px solid #fff;
    transform: rotate(-45deg);
}

.cf22-article ol {
    margin: 0 0 20px;
    padding-left: 30px;
}

.cf22-article ol > li { margin-bottom: 7px; }

.cf22-article table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 0 22px;
    border: 1px solid #d9dbe1;
    border-radius: var(--cf22-radius);
    overflow: hidden;
    font-size: 15px;
}

.cf22-article th,
.cf22-article td {
    padding: 9px 14px;
    border-bottom: 1px solid #eceef2;
    text-align: left;
    vertical-align: top;
}

.cf22-article th {
    font-weight: 800;
    background: var(--cf22-orange-soft);
    border-right: 1px solid #eceef2;
}

.cf22-article tr:last-child th,
.cf22-article tr:last-child td { border-bottom: 0; }

/* ===================== FAQ 手风琴 ===================== */

.cf22-faq {
    margin: 10px 0 26px;
}

.cf22-faq__item {
    margin-bottom: 10px;
    background: var(--cf22-paper);
    border: 1px solid #e3e4ea;
    border-right: 4px solid var(--cf22-orange);
    border-left: 4px solid var(--cf22-orange);
    border-radius: var(--cf22-radius);
    overflow: hidden;
}

.cf22-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    text-align: left;
    color: var(--cf22-ink);
    background: var(--cf22-paper);
    border: 0;
    cursor: pointer;
}

.cf22-faq__q:hover,
.cf22-faq__q:focus-visible { background: #fbfbfc; outline: none; }

.cf22-faq__trigger {
    position: relative;
    flex: none;
    width: 26px;
    height: 26px;
    background: var(--cf22-ink);
    border-radius: 4px;
}

.cf22-faq__trigger::before,
.cf22-faq__trigger::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.cf22-faq__trigger::before { width: 12px; height: 2.5px; }
.cf22-faq__trigger::after { width: 2.5px; height: 12px; }

.cf22-faq__item.is-open .cf22-faq__trigger::after { transform: translate(-50%, -50%) rotate(90deg); }

.cf22-faq__a {
    display: none;
    padding: 4px 18px 16px;
    border-top: 1px dashed #e3e4ea;
}

.cf22-faq__item.is-open .cf22-faq__a { display: block; }

.cf22-faq__a p { margin: 10px 0 0; }

/* ===================== 页脚 ===================== */

.cf22-footer {
    background: var(--cf22-orange);
    color: #fff;
    padding: 26px 24px;
}

.cf22-footer__inner {
    max-width: var(--cf22-container);
    margin: 0 auto;
    text-align: center;
}

.cf22-footer__copy {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
}

.cf22-footer__mail {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cf22-footer__mail:hover,
.cf22-footer__mail:focus-visible { color: #ffe9d8; }

.cf22-footer__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cf22-footer__link {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    opacity: 0.92;
}

.cf22-footer__link:hover,
.cf22-footer__link:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ===================== 返回顶部 ===================== */

.cf22-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cf22-orange);
    color: #fff;
    border: 2px solid var(--cf22-ink);
    border-radius: var(--cf22-radius-btn);
    box-shadow: 3px 3px 0 var(--cf22-ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 60;
}

.cf22-top.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cf22-top:hover,
.cf22-top:focus-visible { background: var(--cf22-orange-deep); outline: none; }

.cf22-top__icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ===================== 响应式 ===================== */

@media (max-width: 768px) {
    .cf22-header__inner { padding: 12px 18px; }

    .cf22-menu-toggle { display: flex; }

    .cf22-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cf22-paper);
        border-bottom: 3px solid var(--cf22-orange);
        box-shadow: 0 14px 26px rgba(29, 29, 34, 0.14);
    }

    .cf22-nav.is-open { display: block; }

    .cf22-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 18px 14px;
    }

    .cf22-nav__link {
        display: block;
        width: 100%;
        padding: 13px 8px;
        border-bottom: 1px dashed #e3e4ea;
    }

    .cf22-nav__item:last-child .cf22-nav__link { border-bottom: 0; }

    .cf22-hero { padding: 30px 14px 38px; }

    .cf22-hero__inner {
        padding: 30px 16px 34px;
        border-right-width: 5px;
        border-left-width: 5px;
    }

    .cf22-home .cf22-article h2 {
        margin: 40px 0 20px;
        padding: 10px 14px;
        border-right-width: 10px;
        border-left-width: 10px;
    }

    .cf22-apptable { padding: 0 14px; }

    .cf22-content { padding: 0 14px 56px; }

    .cf22-appinfo { gap: 8px 16px; }
}
