/*
 * ID贷专题页视觉系统：沿用主站的深蓝、蓝紫签名色和核对标记母题。
 * 静态 HTML 优先保证搜索抓取、中文可读性、账号安全提示与响应式布局。
 */
:root {
  --ink: #111a39;
  --ink-2: #283453;
  --muted: #66718b;
  --line: #dfe6f3;
  --paper: #fbfcff;
  --pale: #f2f6ff;
  --blue: #3156ee;
  --indigo: #6638df;
  --cyan: #57c9eb;
  --navy: #101936;
  --ease: cubic-bezier(.23, 1, .32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: inherit; }
img, svg { display: block; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.trust-bar { color: #dce5ff; background: var(--navy); font-size: 12px; }
.trust-bar .shell, .trust-bar span { display: flex; align-items: center; }
.trust-bar .shell { min-height: 36px; justify-content: space-between; gap: 20px; }
.trust-bar span { gap: 7px; }
.trust-bar svg { width: 15px; height: 15px; color: var(--cyan); }
.trust-bar a { color: white; font-weight: 700; text-underline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(223, 230, 243, .88); background: rgba(251, 252, 255, .93); backdrop-filter: blur(18px); }
.header-inner { display: flex; min-height: 76px; align-items: center; gap: 28px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand > span { display: flex; flex-direction: column; }
.brand strong { color: var(--ink); font-size: 16px; line-height: 1.2; }
.brand strong em { display: inline-grid; min-width: 27px; height: 22px; margin-right: 3px; place-items: center; border-radius: 6px 2px 6px 2px; color: white; background: linear-gradient(135deg, var(--blue), var(--indigo)); font-family: "DM Sans", sans-serif; font-size: 11px; font-style: normal; letter-spacing: -.02em; vertical-align: 1px; }
.brand small { margin-top: 3px; color: #7d87a0; font-size: 9px; letter-spacing: .08em; }
.site-header nav { display: flex; margin-left: auto; align-items: center; gap: 24px; }
.site-header nav a { color: #56617b; font-size: 13px; font-weight: 700; text-decoration: none; transition: color 180ms var(--ease); }
.site-header nav a:hover { color: var(--blue); }
.home-link { display: inline-flex; min-height: 42px; padding: 0 15px; align-items: center; gap: 7px; border-radius: 10px; color: white; background: var(--navy); font-size: 12px; font-weight: 800; text-decoration: none; transition: transform 150ms var(--ease), background 180ms var(--ease); }
.home-link:hover { background: var(--blue); }
.home-link:active { transform: scale(.97); }
.home-link svg { width: 15px; height: 15px; }

.page-hero { position: relative; overflow: hidden; padding: 70px 0 74px; background: radial-gradient(circle at 78% 25%, rgba(82, 203, 235, .16), transparent 28%), linear-gradient(135deg, #fff, #f1f5ff); }
.hero-grid { position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(rgba(214, 223, 242, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(214, 223, 242, .5) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, #000, transparent 78%); }
.hero-orb { position: absolute; right: 8%; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(85, 93, 230, .18), transparent 67%); }
.hero-inner { position: relative; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #8490a9; font-size: 10px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs strong { color: #596781; }
.eyebrow { display: flex; margin-top: 40px; align-items: center; gap: 9px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.eyebrow span { width: 28px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.page-hero h1 { max-width: 850px; margin: 18px 0 0; color: var(--ink); font-size: clamp(40px, 6vw, 68px); font-weight: 900; line-height: 1.12; letter-spacing: -.055em; }
.page-hero p { max-width: 770px; margin: 24px 0 0; color: #5b6782; font-size: 15px; line-height: 1.9; }
.hero-meta { display: flex; margin-top: 28px; flex-wrap: wrap; gap: 8px; }
.hero-meta span { padding: 7px 10px; border: 1px solid #d7e0f2; color: #65708a; background: rgba(255, 255, 255, .7); font-size: 9px; font-weight: 650; }

.safety-note { color: #dce6ff; background: var(--navy); }
.safety-note .shell, .safety-note .shell > div { display: flex; align-items: center; }
.safety-note .shell { min-height: 82px; justify-content: space-between; gap: 25px; }
.safety-note .shell > div { gap: 13px; }
.safety-note svg { flex: 0 0 auto; width: 24px; height: 24px; color: #77d8f4; }
.safety-note span { color: #aeb9d6; font-size: 11px; line-height: 1.55; }
.safety-note strong { display: block; color: white; font-size: 13px; }
.safety-note a { flex: 0 0 auto; color: #89def6; font-size: 11px; font-weight: 800; text-decoration: none; }

.article-layout { display: grid; padding-top: 72px; padding-bottom: 100px; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 48px; }
.article-card { min-width: 0; padding: 44px; border: 1px solid var(--line); background: white; box-shadow: 0 22px 70px rgba(32, 48, 96, .07); }
.article-lead { display: grid; padding: 20px; grid-template-columns: 90px 1fr; gap: 18px; border-left: 3px solid var(--cyan); background: var(--pale); }
.article-lead span { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.article-lead p { margin: 0; color: #5b6780; font-size: 11px; line-height: 1.8; }
.article-body { margin-top: 42px; color: #424e69; font-size: 14px; line-height: 2; }
.article-body h2 { position: relative; margin: 50px 0 17px; padding-top: 5px; color: var(--ink); font-size: 26px; line-height: 1.4; letter-spacing: -.025em; }
.article-body h2::before { position: absolute; top: -7px; left: 0; width: 42px; height: 3px; content: ""; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.article-body h3 { margin: 30px 0 10px; color: var(--ink-2); font-size: 18px; line-height: 1.55; }
.article-body p { margin: 0 0 18px; }
.article-body strong { color: #182442; }
.article-body a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin: 7px 0; padding-left: 4px; }
.article-body table { width: 100%; margin: 26px 0; border-collapse: collapse; font-size: 12px; line-height: 1.75; }
.article-body th { padding: 13px 14px; border: 1px solid #d5deef; color: #233154; background: #eef3ff; font-weight: 800; text-align: left; }
.article-body td { padding: 13px 14px; border: 1px solid #e0e6f1; vertical-align: top; }
.article-body tr:nth-child(even) td { background: #fafbfe; }
.article-body blockquote { margin: 25px 0; padding: 17px 20px; border-left: 3px solid var(--blue); color: #52607c; background: #f4f7ff; }

aside { position: sticky; top: 105px; display: flex; flex-direction: column; gap: 14px; }
.side-card { padding: 22px; border: 1px solid var(--line); background: white; }
.side-label { display: block; margin-bottom: 12px; color: #8a94aa; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.toc-card a { display: block; padding: 10px 0; border-bottom: 1px solid #edf0f6; color: #4d5872; font-size: 11px; font-weight: 650; line-height: 1.55; text-decoration: none; }
.toc-card a:last-child { border-bottom: 0; }
.toc-card a:hover { color: var(--blue); }
.verify-card { color: white; background: var(--navy); }
.verify-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: #18334a; background: #82def5; }
.verify-icon svg { width: 20px; height: 20px; }
.verify-card h2 { margin: 18px 0 0; font-size: 17px; }
.verify-card p { margin: 10px 0 0; color: #aeb9d4; font-size: 10px; line-height: 1.75; }
.verify-card a { display: inline-flex; margin-top: 17px; color: #8bdff6; font-size: 10px; font-weight: 800; text-decoration: none; }
.disclaimer-card strong { color: var(--blue); font-size: 11px; }
.disclaimer-card p { margin: 8px 0 0; color: #748098; font-size: 9px; line-height: 1.7; }

.related-section { margin-top: 54px; padding-top: 38px; border-top: 1px solid var(--line); }
.section-label { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.related-section h2 { margin: 8px 0 0; color: var(--ink); font-size: 24px; }
.related-grid { display: grid; margin-top: 20px; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.related-card { position: relative; min-height: 135px; padding: 18px; border: 1px solid var(--line); color: var(--ink); background: #fbfcff; text-decoration: none; transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease); }
.related-card:hover { border-color: #bdcbef; transform: translateY(-4px); box-shadow: 0 14px 30px rgba(39, 57, 112, .1); }
.related-card span { display: block; color: #8a94aa; font-size: 8px; letter-spacing: .1em; }
.related-card strong { display: block; max-width: 130px; margin-top: 12px; font-size: 13px; line-height: 1.55; }
.related-card svg { position: absolute; right: 15px; bottom: 15px; width: 16px; height: 16px; color: var(--blue); }

footer { padding: 60px 0 24px; color: #9ba7c4; background: #0d1530; }
.footer-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.footer-brand .brand strong { color: white; }
.footer-brand p { max-width: 420px; margin: 17px 0 0; font-size: 10px; line-height: 1.8; }
.footer-topics > strong { color: white; font-size: 11px; }
.footer-topics > div { display: grid; margin-top: 16px; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; }
.footer-topics a { color: #919dbb; font-size: 10px; text-decoration: none; }
.footer-topics a:hover { color: #89def6; }
.footer-bottom { display: flex; margin-top: 45px; padding-top: 20px; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .09); color: #707e9f; font-size: 9px; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .home-link { margin-left: auto; }
  .article-layout { grid-template-columns: 1fr; }
  aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .toc-card { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 30px, 1180px); }
  .trust-bar .shell { min-height: 40px; }
  .trust-bar a { display: none; }
  .trust-bar span { font-size: 10px; }
  .header-inner { min-height: 66px; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 8px; }
  .home-link { min-height: 38px; padding: 0 11px; font-size: 10px; }
  .page-hero { padding: 50px 0 55px; }
  .eyebrow { margin-top: 30px; }
  .page-hero h1 { margin-top: 15px; font-size: 38px; }
  .page-hero p { margin-top: 18px; font-size: 13px; line-height: 1.8; }
  .safety-note .shell { min-height: 100px; }
  .safety-note a { display: none; }
  .article-layout { padding-top: 42px; padding-bottom: 70px; }
  .article-card { padding: 24px 18px; }
  .article-lead { grid-template-columns: 1fr; gap: 8px; padding: 16px; }
  .article-body { margin-top: 32px; font-size: 13px; line-height: 1.9; }
  .article-body h2 { margin-top: 42px; font-size: 23px; }
  .article-body table { display: block; overflow-x: auto; white-space: normal; }
  .related-grid, aside { grid-template-columns: 1fr; }
  .toc-card { grid-column: auto; }
  .related-card { min-height: 105px; }
  .footer-topics > div { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-inner { animation: enter .55s var(--ease) both; }
}

@keyframes enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

