:root {
    --ink: #172033;
    --muted: #667085;
    --line: #d9e0ea;
    --blue: #2477e8;
    --cyan: #00c8d7;
    --green: #17a673;
    --orange: #f59e0b;
    --surface: #ffffff;
    --soft: #f5f8fc;
    --deep: #0b1b38;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    color: var(--ink);
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(217, 224, 234, 0.8);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.nav {
    width: min(1180px, calc(100% - 32px));
    min-height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
}

.brand img {
    width: 34px;
    height: 34px;
    object-fit: cover;
    object-position: left center;
    border-radius: 8px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.brand-title {
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
}

.brand-name {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #344054;
    font-size: 14px;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-links .nav-cta:hover {
    color: #ffffff;
    background: #1c64d8;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 6px;
    color: #ffffff;
    background: var(--blue);
    font-weight: 700;
}

.page-hero {
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(7, 24, 55, 0.94), rgba(10, 60, 105, 0.82)),
        url("https://zhide-hongkong.oss-cn-hongkong.aliyuncs.com/ysmen/www/img_bg.png") center / cover no-repeat;
}

.page-hero-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 86px 0 92px;
}

.eyebrow {
    color: #82edf5;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-hero h1 {
    max-width: 860px;
    margin-top: 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: 0;
}

.page-hero p {
    max-width: 760px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.section {
    padding: 68px 0;
}

.section.alt {
    background: var(--soft);
}

.section-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

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

.section-head h2 {
    max-width: 760px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.14;
}

.section-head p {
    max-width: 430px;
    color: var(--muted);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card,
.tool-panel,
.article-card,
.legal-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.card,
.article-card,
.legal-card {
    padding: 24px;
}

.card h3,
.article-card h3,
.tool-panel h3,
.legal-card h3 {
    color: var(--ink);
    line-height: 1.25;
}

.card p,
.article-card p,
.tool-panel p,
.legal-card p,
.legal-card li {
    margin-top: 10px;
    color: var(--muted);
    font-size: 15px;
}

.article-card {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    justify-content: space-between;
}

.article-card small {
    color: var(--green);
    font-weight: 800;
    text-transform: uppercase;
}

.article-card a,
.inline-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--blue);
    font-weight: 700;
}

.tool-panel {
    padding: 24px;
}

.tools-layout {
    display: grid;
    grid-template-columns: 430px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    color: #475467;
    font-size: 13px;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: var(--ink);
    background: #ffffff;
}

.field textarea {
    min-height: 136px;
    padding: 12px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(36, 119, 232, 0.13);
    outline: none;
}

.result-box {
    min-height: 92px;
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    color: #344054;
    background: #eef7ff;
    font-size: 14px;
}

.result-box strong {
    display: block;
    color: var(--blue);
    font-size: 24px;
    line-height: 1.15;
}

.copy-box {
    width: 100%;
    min-height: 132px;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: var(--ink);
    background: #ffffff;
    resize: vertical;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #d7dee9;
    border-radius: 6px;
    color: #344054;
    background: #f8fafc;
    font-size: 13px;
}

.check-item input {
    width: 16px;
    height: 16px;
    accent-color: var(--blue);
    flex: 0 0 auto;
}

.progress-bar {
    height: 9px;
    overflow: hidden;
    margin-top: 14px;
    border-radius: 999px;
    background: #e5eaf1;
}

.progress-bar span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: var(--green);
    transition: width 0.2s ease;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 320px;
    gap: 42px;
    align-items: start;
}

.article-body {
    font-size: 17px;
}

.article-body h2 {
    margin-top: 38px;
    font-size: 30px;
    line-height: 1.2;
}

.article-body h3 {
    margin-top: 28px;
    font-size: 22px;
}

.article-body p,
.article-body li {
    margin-top: 14px;
    color: #344054;
}

.article-body ul,
.article-body ol {
    margin-top: 14px;
    padding-left: 22px;
}

.article-body table {
    width: 100%;
    margin-top: 18px;
    border-collapse: collapse;
    font-size: 15px;
}

.article-body th,
.article-body td {
    padding: 12px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.article-body th {
    background: #f2f6fb;
}

.sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px;
}

.sidebar-box {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.sidebar-box h3 {
    font-size: 18px;
}

.sidebar-box a {
    display: block;
    margin-top: 10px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
}

.ad-slot {
    margin: 28px 0;
    padding: 18px;
    border: 1px dashed #b8c4d4;
    border-radius: 8px;
    color: var(--muted);
    background: #f8fafc;
    font-size: 13px;
    text-align: center;
}

.cta-band {
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(9, 27, 56, 0.96), rgba(10, 67, 116, 0.88)),
        url("https://zhide-hongkong.oss-cn-hongkong.aliyuncs.com/ysmen/www/img_bg2.png") center / cover no-repeat;
}

.cta-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 58px 0;
}

.cta-inner h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.14;
}

.cta-inner p {
    max-width: 690px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.78);
}

.download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 7px;
    color: #ffffff;
    background: rgba(20, 102, 210, 0.42);
    box-shadow: inset 0 0 26px rgba(43, 157, 255, 0.58);
    font-weight: 700;
}

.download:hover {
    background: rgba(20, 102, 210, 0.64);
}

.footer {
    padding: 34px 0;
    color: #c7d7ef;
    background: var(--deep);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer a:hover {
    color: #ffffff;
}

@media (max-width: 980px) {
    .nav {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .card-grid,
    .tools-layout,
    .content-layout,
    .cta-inner {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .page-hero-inner {
        padding: 58px 0 64px;
    }

    .section {
        padding: 52px 0;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-grid,
    .checklist-grid {
        grid-template-columns: 1fr;
    }

    .download {
        width: 100%;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
