:root {
  color-scheme: dark;
  --bg: #05070a;
  --surface: #0d1218;
  --surface-2: #121923;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f4f7fb;
  --muted: #a8b4c3;
  --gold: #d8b96f;
  --blue: #9cc7ef;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); line-height: 1.75; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 20; padding: 10px 14px; color: #071019; background: #fff; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 10px clamp(20px, 5vw, 76px); border-bottom: 1px solid var(--line); background: rgba(5, 7, 10, 0.93); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 72px; height: 48px; object-fit: contain; background: #fff; }
.brand span { display: grid; line-height: 1.25; }
.brand strong { font-size: 16px; }
.brand small { color: var(--muted); font-size: 11px; }
.site-header nav { display: flex; align-items: center; gap: 24px; color: #c8d1dc; font-size: 14px; }
.site-header nav a:hover { color: #fff; }
.site-header .nav-cta { padding: 8px 14px; border: 1px solid rgba(216,185,111,.5); color: #f2db9f; }

main { overflow: hidden; }
.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 56px; align-items: end; max-width: 1280px; margin: 0 auto; padding: 110px clamp(24px, 5vw, 76px) 76px; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-size: clamp(44px, 6vw, 86px); line-height: 1.06; letter-spacing: 0; }
h2 { margin-bottom: 16px; font-size: clamp(30px, 4vw, 48px); line-height: 1.18; }
h3 { line-height: 1.35; }
.hero-lead { max-width: 790px; margin-bottom: 34px; color: #b8c5d4; font-size: 19px; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--line); font-weight: 750; }
.button:hover { border-color: rgba(216,185,111,.65); transform: translateY(-2px); }
.button-primary { color: #071019; background: linear-gradient(180deg, #fff, #dbe5ef); }
.fact-note { padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.fact-note strong { display: block; margin-bottom: 10px; color: #f0d594; font-size: 20px; }
.fact-note p { color: var(--muted); }
.fact-note span { color: #78889b; font-size: 13px; }

.metrics { display: grid; grid-template-columns: repeat(6, 1fr); max-width: 1180px; margin: 0 auto 84px; border: 1px solid var(--line); }
.metrics article { min-width: 0; min-height: 188px; padding: 24px 18px; border-right: 1px solid var(--line); }
.metrics article small { display: block; margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.metric-definition { max-width: 1180px; margin: -66px auto 72px; padding: 0 24px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.metrics article:last-child { border-right: 0; }
.metrics strong, .metrics span { display: block; }
.metrics strong { color: #efd58f; font-size: clamp(25px, 3vw, 39px); line-height: 1.15; }
.metrics span { margin-top: 8px; color: var(--muted); font-size: 13px; }

.section { padding: 96px clamp(24px, 5vw, 76px); }
.section-muted { border-block: 1px solid var(--line); background: #080c11; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; max-width: 1280px; border: 1px solid var(--line); background: var(--line); }
.service-card { min-height: 300px; padding: 30px; background: var(--surface); }
.service-card > span { color: #647385; font-size: 13px; }
.service-card h3 { margin: 32px 0 14px; font-size: 23px; }
.service-card p { color: var(--muted); }
.service-card:hover { background: var(--surface-2); }
.text-link { color: #efd58f; font-size: 14px; font-weight: 700; }
.section-more { margin: 30px 0 0; }

.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 1180px; }
.guide-grid article { min-height: 250px; padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.guide-grid span { color: var(--gold); font-size: 12px; letter-spacing: .08em; }
.guide-grid h3 { margin: 30px 0 12px; font-size: 23px; }
.guide-grid p { color: var(--muted); }

.case-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1280px; }
.case-list article { min-height: 190px; padding: 26px; border: 1px solid var(--line); background: var(--surface); }
.case-list span { color: var(--gold); font-size: 13px; }
.case-list h3 { margin: 28px 0 10px; font-size: 24px; }
.case-list strong { color: #dfe7f1; }

.two-column { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.process-list { margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); counter-increment: step; }
.process-list strong::before { content: "0" counter(step) " "; color: var(--gold); }
.process-list span { color: var(--muted); }

.faq-list { max-width: 980px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 22px 4px; font-size: 18px; font-weight: 760; cursor: pointer; }
.faq-list details p { max-width: 820px; padding: 0 4px 24px; color: var(--muted); }
.contact-band { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding: 88px clamp(24px, 5vw, 76px); background: linear-gradient(110deg, #101925, #0a0e14 70%); }
.contact-band p:not(.eyebrow) { color: var(--muted); }

.breadcrumb { display: flex; gap: 10px; max-width: 1180px; margin: 0 auto; padding: 36px 24px 0; color: var(--muted); font-size: 13px; }
.breadcrumb a:hover { color: #fff; }
.service-hero { max-width: 1180px; margin: 0 auto; padding: 84px 24px 70px; }
.service-hero h1 { max-width: 900px; }
.service-hero > p:not(.eyebrow) { max-width: 780px; margin-bottom: 30px; color: var(--muted); font-size: 20px; }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1180px; margin: 0 auto 96px; border: 1px solid var(--line); background: var(--line); gap: 1px; }
.detail-panel { min-height: 300px; padding: 34px; background: var(--surface); }
.detail-panel h2 { font-size: 28px; }
.detail-panel p, .detail-panel li { color: var(--muted); }
.detail-panel ul, .detail-panel ol { padding-left: 22px; }
.detail-panel li { margin: 10px 0; }
.boundary-panel { background: #11130f; }
.related-services { padding: 80px clamp(24px, 5vw, 76px); border-top: 1px solid var(--line); }
.related-links { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 980px; border-top: 1px solid var(--line); }
.related-links a { display: flex; justify-content: space-between; padding: 18px 4px; border-bottom: 1px solid var(--line); color: #c9d3df; }
.related-links a:hover { color: #fff; }

.guide-article { max-width: 980px; margin: 0 auto; padding: 72px 24px 110px; }
.guide-article > header { margin-bottom: 64px; }
.guide-article h1 { max-width: 900px; }
.guide-intro { max-width: 780px; color: var(--muted); font-size: 20px; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 16px; color: #718095; font-size: 13px; }
.answer-box { margin-bottom: 76px; padding: 34px; border: 1px solid rgba(216,185,111,.35); background: #11130f; }
.answer-box h2 { max-width: 760px; font-size: 31px; }
.answer-box p:last-child { color: var(--muted); }
.criteria-list { margin: 28px 0 76px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.criteria-list li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.criteria-list span { color: var(--gold); font-weight: 800; }
.criteria-list p { margin: 0; color: #c2cbd6; }
.fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 76px; }
.fit-grid article { padding: 30px; border: 1px solid var(--line); background: var(--surface); }
.fit-grid article:last-child { background: #11130f; }
.fit-grid h2 { font-size: 27px; }
.fit-grid p:last-child { color: var(--muted); }
.service-reference { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-bottom: 36px; padding: 34px; background: linear-gradient(110deg, #122033, #0d131b); }
.service-reference > div { max-width: 650px; }
.service-reference p:last-child { color: var(--muted); }
.editorial-note { padding: 24px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.025); }
.editorial-note p { margin: 6px 0 0; color: var(--muted); }

.evidence-hero { max-width: 1180px; margin: 0 auto; padding: 84px 24px 70px; }
.evidence-hero p:last-child { max-width: 820px; color: var(--muted); font-size: 18px; }
.evidence-section { padding: 76px clamp(24px, 5vw, 76px); }
.evidence-muted { border-block: 1px solid var(--line); background: #080c11; }
.evidence-list { max-width: 1100px; border-top: 1px solid var(--line); }
.evidence-list article { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center; padding: 24px 4px; border-bottom: 1px solid var(--line); }
.evidence-list article > span { color: var(--gold); font-size: 13px; }
.evidence-list h3 { margin: 0 0 4px; }
.evidence-list p { margin: 0; color: var(--muted); font-size: 13px; }
.evidence-list a { color: #d9e5f2; font-weight: 700; }
.evidence-rules { max-width: 900px; margin-top: 40px; padding: 30px; border: 1px solid var(--line); background: var(--surface); }
.evidence-rules li { margin: 8px 0; color: var(--muted); }

.policy-article { max-width: 920px; margin: 0 auto; padding: 76px 24px 110px; }
.policy-article header { margin-bottom: 52px; }
.policy-article header > p:last-child, .policy-article section p { color: var(--muted); }
.policy-article section { padding: 26px 0; border-top: 1px solid var(--line); }
.policy-article section h2 { margin-top: 0; font-size: 24px; }

.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 44px clamp(24px, 5vw, 76px); border-top: 1px solid var(--line); color: var(--muted); }
.site-footer p { margin-bottom: 0; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }

@media (max-width: 900px) {
  .site-header { position: static; align-items: flex-start; flex-direction: column; }
  .site-header nav { width: 100%; flex-wrap: wrap; gap: 8px 18px; }
  .hero { grid-template-columns: 1fr; padding-top: 68px; }
  .metrics { grid-template-columns: repeat(3, 1fr); margin-inline: 20px; }
  .metrics article:nth-child(3) { border-right: 0; }
  .metrics article:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .service-grid, .case-list { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .two-column { grid-template-columns: 1fr; gap: 20px; }
  .contact-band, .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .brand small { display: none; }
  .site-header nav a { flex: 1 1 42%; }
  .site-header .nav-cta { text-align: center; }
  h1 { font-size: 40px; }
  .hero { padding-bottom: 50px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics article { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
  .metrics article:nth-child(even) { border-right: 0 !important; }
  .metrics article:nth-last-child(-n+2) { border-bottom: 0; }
  .service-grid, .case-list, .service-detail-grid, .related-links { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .service-reference { align-items: flex-start; flex-direction: column; }
  .evidence-list article { grid-template-columns: 1fr; gap: 6px; }
  .section { padding-block: 68px; }
  .service-card { min-height: 0; }
  .process-list li { grid-template-columns: 1fr; gap: 5px; }
  .contact-actions, .contact-actions .button { width: 100%; }
}
