:root {
  color-scheme: light;
  --ink: #162238;
  --muted: #59687b;
  --brand: #174b9b;
  --brand-strong: #103873;
  --accent: #dff4f2;
  --surface: #ffffff;
  --ground: #f4f7fa;
  --line: #d9e1ea;
  --focus: #0b6bcb;
  --error: #a12732;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; scrollbar-color: var(--muted) var(--ground); }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-underline-offset: 4px; }
a:hover { color: var(--brand-strong); }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
button:disabled { opacity: .68; }
*:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 650; }
h1 { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.3; letter-spacing: -.025em; }
h2 { font-size: clamp(25px, 2.35vw, 34px); line-height: 1.45; letter-spacing: -.025em; }
h3 { font-size: 19px; line-height: 1.5; }
p + p { margin-top: 12px; }
::selection { background: #dce9fc; color: var(--ink); }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 16px; transform: translateY(-160%); z-index: 10; background: var(--ink); color: white; padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); color: white; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-layout { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 12px; font-size: 19px; font-weight: 650; color: var(--ink); text-decoration: none; line-height: 1.35; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; color: white; font-size: 23px; border-radius: 12px; background: var(--brand); }
.brand-detail { display: block; font-size: 11px; font-weight: 500; letter-spacing: .21em; color: var(--muted); margin-top: 3px; }
.site-nav { display: flex; align-items: center; flex-wrap: nowrap; gap: 24px; }
.site-nav a { color: var(--muted); padding: 12px 0; text-decoration: none; font-size: 14px; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--brand); font-weight: 650; }
.hero { display: grid; grid-template-columns: .94fr 1.06fr; gap: 64px; align-items: center; padding-block: 72px 80px; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: #3b776c; border-radius: 50%; vertical-align: middle; }
.hero h1 { font-size: clamp(38px, 4.1vw, 56px); }
.hero h1 span { color: var(--brand); }
.hero-description { max-width: 29em; color: var(--muted); margin-top: 24px; font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 48px; border: 1px solid var(--brand); border-radius: 12px; background: var(--brand); color: white; padding: 10px 20px; font-size: 15px; font-weight: 600; line-height: 1.65; text-decoration: none; transition: background-color 150ms ease, border-color 150ms ease; }
.button:hover { background: var(--brand-strong); color: white; border-color: var(--brand-strong); }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.hero-boundary { color: var(--muted); font-size: 12px; line-height: 1.85; margin-top: 24px; }
.hero-footnote { border-top: 1px solid var(--line); display: flex; gap: 24px; padding-top: 20px; margin-top: 32px; color: var(--muted); font-size: 11px; letter-spacing: .035em; }
.hero-footnote span + span { border-left: 1px solid var(--line); padding-left: 24px; }
.demo { min-width: 0; border: 1px solid #c8d6e7; background: var(--surface); border-radius: 16px; overflow: clip; }
.desk-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px; background: var(--ground); border-bottom: 1px solid var(--line); }
.desk-heading h2 { font-size: 23px; margin-top: 4px; }
.version-tag { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 11px; padding: 3px 8px; font-variant-numeric: tabular-nums; }
.desk-body { padding: 24px; }
.field-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.field-heading label { font-size: 14px; font-weight: 600; }
#demo-count { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
textarea { display: block; width: 100%; min-height: 160px; resize: vertical; max-height: 600px; border: 1px solid #a9b8ca; border-radius: 12px; background: var(--surface); padding: 16px; font-size: 14px; line-height: 1.85; color: var(--ink); caret-color: var(--brand); scrollbar-color: var(--brand) var(--ground); }
textarea::placeholder { color: #617084; opacity: 1; }
textarea[aria-invalid="true"] { border-color: var(--error); }
.field-help { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 8px; }
.form-error { font-size: 13px; color: var(--error); margin-top: 8px; }
.form-error:empty { display: none; }
.demo-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.local-note { color: var(--muted); font-size: 12px; }
.desk-explainer { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.desk-step { font-size: 11px; font-weight: 600; color: var(--muted); }
.desk-explainer > p:not(.field-help) { color: var(--ink); font-size: 12px; margin-top: 4px; }
.desk-explainer > p span { color: var(--muted); margin-inline: 4px; }
.desk-bottom { display: flex; align-items: center; gap: 8px; background: var(--accent); padding: 12px 24px; color: #285950; font-size: 11px; }
.desk-bottom .status-dot { flex: 0 0 auto; }
.demo-result { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; overflow-wrap: anywhere; }
.demo-result h3 { font-size: 17px; }
.demo-result h3:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.demo-result p, .demo-result li, .demo-result dd, .demo-result dt { font-size: 13px; }
.demo-result dl { margin: 12px 0; }
.demo-result dd { margin: 0; }
.result-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.demo-result .result-summary { margin-top: 12px; }
.score-value { font-size: 40px; line-height: 1.2; font-weight: 650; color: var(--brand); font-variant-numeric: tabular-nums; }
.score-value small { font-size: 13px; color: var(--muted); font-weight: 400; }
.pool-badge { display: inline-block; background: var(--accent); color: #285950; border-radius: 6px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.pool-neutral { background: #e8edf4; color: #44546c; }
.result-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 12px 0; }
.result-meta dt { color: var(--muted); }
.evidence-list { padding: 0; list-style: none; margin: 16px 0 0; }
.evidence-list li, .evidence-row { border-top: 1px solid var(--line); padding: 12px 0; }
.evidence-row summary { cursor: pointer; min-height: 32px; font-size: 13px; font-weight: 600; }
.evidence-row p { color: var(--muted); padding-top: 8px; }
.result-note { color: var(--muted); margin-top: 12px; }
.section { padding-block: 72px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.section-heading h2 { margin-top: 8px; }
.section-heading > p { font-size: 13px; color: var(--muted); flex-shrink: 0; }
.workflow-section { border-block: 1px solid var(--line); background: var(--ground); }
.workflow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.workflow li { padding: 0 24px; border-left: 1px solid var(--line); }
.workflow li:first-child { padding-left: 0; border-left: 0; }
.workflow li:last-child { padding-right: 0; }
.step-number { display: block; color: var(--brand); font-size: 12px; font-variant-numeric: tabular-nums; margin-bottom: 16px; }
.workflow h3 { font-size: 18px; }
.workflow p { margin-top: 12px; font-size: 14px; color: var(--muted); }
.feature-ledger { border-top: 1px solid var(--line); }
.feature-ledger article { display: grid; grid-template-columns: 150px 1fr 120px; gap: 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.ledger-index { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.feature-ledger p { color: var(--muted); font-size: 14px; max-width: 43em; margin-top: 8px; }
.scope-label { justify-self: end; font-size: 11px; color: #285950; }
.scope-local { color: var(--muted); }
.boundary-section { background: var(--ground); border-block: 1px solid var(--line); }
.boundary-layout { display: grid; grid-template-columns: 1fr 1.65fr; gap: 64px; }
.boundary-layout h2 { margin-top: 12px; }
.boundary-layout .text-link { margin-top: 24px; }
.boundary-details article + article { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.boundary-details h3 { font-size: 18px; }
.boundary-details p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.contact-strip h2 { font-size: 28px; margin-top: 8px; }
.contact-strip p { color: var(--muted); font-size: 14px; margin-top: 12px; }
.contact-number { font-size: 28px; letter-spacing: -.025em; white-space: nowrap; font-variant-numeric: tabular-nums; text-decoration: none; }
.contact-number > span:first-child { display: block; color: var(--muted); font-size: 12px; letter-spacing: 0; }
.contact-number > span:last-child { font-size: 20px; }
.site-footer { border-top: 1px solid var(--line); background: var(--ground); padding: 40px 0 32px; font-size: 12px; color: var(--muted); }
.footer-layout { display: grid; grid-template-columns: 1fr auto; gap: 32px; }
.footer-name { color: var(--ink); font-size: 16px; font-weight: 650; text-decoration: none; }
.footer-layout > div > p { margin-top: 8px; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; align-content: start; }
.site-footer nav a { padding-block: 8px; }
.site-footer a:not(.footer-name) { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.footer-layout .legal p { margin: 0; font-size: 11px; }
.page-intro { padding-block: 72px 56px; border-bottom: 1px solid var(--line); }
.page-intro > p { margin-top: 24px; max-width: 43em; font-size: 17px; color: var(--muted); }
.page-intro .button { margin-top: 24px; }
.prose-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.prose-columns p { color: var(--muted); margin: 0; }
.product-visual-section { background: var(--ground); border-block: 1px solid var(--line); }
.product-snapshot { margin: 0; display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--line); border-radius: 16px; overflow: clip; background: var(--surface); }
.snapshot-source, .snapshot-result { padding: 32px; }
.snapshot-source { background: #e9eef5; border-right: 1px solid var(--line); }
.snapshot-label { color: var(--muted); font-size: 12px; }
.snapshot-source p { margin-top: 16px; font-size: 19px; line-height: 1.8; }
.snapshot-score { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.snapshot-score strong { color: var(--brand); font-size: 28px; font-variant-numeric: tabular-nums; }
.snapshot-result > p { color: var(--muted); font-size: 14px; }
.snapshot-result ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.snapshot-result li { border-top: 1px solid var(--line); padding-top: 8px; font-size: 13px; }
.product-snapshot figcaption { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 12px 32px; color: var(--muted); font-size: 12px; }
.rules-section { background: var(--ground); border-block: 1px solid var(--line); }
.rule-table-wrap { width: 100%; overflow-x: auto; }
.rule-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.rule-table caption { text-align: left; margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.rule-table th, .rule-table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rule-table thead { background: #e9eef5; }
.rule-table thead th { font-weight: 600; font-size: 12px; color: #44546c; }
.rule-table tbody th { font-weight: 500; width: 24%; }
.rule-table td:nth-child(2) { color: var(--brand); font-weight: 650; font-variant-numeric: tabular-nums; width: 12%; white-space: nowrap; }
.rule-table td:last-child { color: var(--muted); }
.section-note { color: var(--muted); font-size: 13px; margin-top: 16px; }
.pool-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.pool-layout h3 { margin-top: 16px; }
.pool-layout p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.comparison article { border-top: 2px solid var(--brand); padding-top: 24px; }
.comparison h3 { font-size: 23px; }
.comparison ul { padding-left: 20px; color: var(--muted); font-size: 15px; margin-bottom: 0; }
.comparison li + li { margin-top: 12px; }
.policy { max-width: 780px; padding-block: 64px 80px; overflow-wrap: anywhere; }
.policy-heading { padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.policy h1 { font-size: clamp(36px, 4vw, 48px); }
.policy-heading > p:last-child { margin-top: 24px; color: var(--muted); }
.effective-date { color: var(--muted); font-size: 12px; margin-top: 16px; }
.policy section + section { margin-top: 32px; }
.policy h2 { font-size: 21px; line-height: 1.55; margin-bottom: 12px; }
.policy p { line-height: 1.95; }
.policy-contact { padding: 24px; background: var(--ground); border-radius: 12px; }
.callout { padding: 32px; background: var(--ground); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 72px; }
.notice { padding: 20px 24px; background: var(--accent); border: 1px solid #c8e4e0; border-radius: 12px; margin-top: 24px; font-size: 14px; }
.contact-facts { margin: 0; }
.contact-facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-facts dt { font-size: 13px; color: var(--muted); padding-top: 2px; }
.contact-facts dd { margin: 0; }
.phone-link { font-size: 25px; font-variant-numeric: tabular-nums; text-decoration: none; }
.error-page { min-height: 58vh; padding-block: 80px; }
.error-page h1 { margin-top: 24px; }
.error-page > p { color: var(--muted); margin-top: 24px; }

@media (min-width: 761px) and (max-width: 1050px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .hero { gap: 32px; }
  .hero h1 { font-size: 40px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { gap: 12px; padding-inline: 16px; }
  .hero-actions .text-link { font-size: 13px; }
  .section-heading > p { flex-shrink: 1; }
  .contact-strip h2 { font-size: 24px; }
  .contact-number { font-size: 24px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header-layout { min-height: auto; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 16px; padding-bottom: 8px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 36px; height: 36px; font-size: 21px; border-radius: 10px; }
  .brand-detail { display: inline; margin-left: 8px; font-size: 12px; letter-spacing: 0; }
  .site-nav { flex-wrap: wrap; gap: 0 20px; width: 100%; }
  .site-nav a { min-height: 44px; padding-block: 10px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 48px; }
  .hero h1 { font-size: clamp(36px, 7vw, 48px); }
  .hero-description { font-size: 16px; margin-top: 20px; }
  .hero-actions { gap: 16px; margin-top: 24px; }
  .hero-footnote { margin-top: 24px; padding-top: 16px; }
  .desk-heading, .desk-body { padding: 20px; }
  .desk-heading h2 { font-size: 21px; }
  .desk-bottom { padding: 12px 20px; align-items: baseline; }
  .section { padding-block: 48px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { margin-top: 16px; }
  .section-heading > .text-link { margin-top: 12px; }
  .workflow { grid-template-columns: 1fr; }
  .workflow li, .workflow li:first-child, .workflow li:last-child { display: grid; grid-template-columns: 32px 1fr; gap: 4px 16px; padding: 20px 0; border: 0; border-top: 1px solid var(--line); }
  .workflow .step-number { grid-row: span 2; margin: 2px 0 0; }
  .workflow p { grid-column: 2; margin-top: 4px; }
  .feature-ledger article { grid-template-columns: 1fr auto; gap: 12px; padding: 24px 0; }
  .feature-ledger article > div { grid-column: 1 / -1; grid-row: 2; }
  .scope-label { grid-column: 2; grid-row: 1; }
  .boundary-layout { grid-template-columns: 1fr; gap: 32px; }
  .boundary-layout h2 br { display: none; }
  .boundary-layout .text-link { margin-top: 16px; }
  .contact-strip { align-items: flex-start; flex-direction: column; gap: 24px; }
  .contact-strip h2 { font-size: 26px; }
  .contact-number { font-size: 28px; }
  .footer-layout { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding-block: 32px; }
  .site-footer nav { gap: 4px 20px; }
  .site-footer nav a { min-height: 44px; padding-block: 12px; }
  .legal { flex-direction: column; gap: 8px; }
  .legal a { display: inline-block; padding-block: 4px; }
  .page-intro { padding-block: 40px; }
  .page-intro > p { font-size: 16px; }
  .prose-columns, .pool-layout, .comparison, .product-snapshot { grid-template-columns: 1fr; gap: 24px; }
  .product-snapshot { gap: 0; }
  .snapshot-source { border-right: 0; border-bottom: 1px solid var(--line); }
  .snapshot-source, .snapshot-result { padding: 24px; }
  .snapshot-result ul { grid-template-columns: 1fr; }
  .product-snapshot figcaption { padding-inline: 24px; }
  .rule-table { font-size: 12px; }
  .rule-table th, .rule-table td { padding: 12px 8px; }
  .rule-table tbody th { width: 29%; }
  .rule-table td:nth-child(2) { width: 15%; }
  .pool-layout { margin-top: 32px; padding-top: 24px; }
  .policy { padding-block: 40px 48px; }
  .policy-heading { padding-bottom: 24px; margin-bottom: 32px; }
  .policy h1 { font-size: 36px; }
  .policy h2 { font-size: 20px; }
  .policy-contact, .notice { padding: 20px; }
  .callout { padding: 24px; margin-bottom: 48px; }
  .contact-facts > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .error-page { padding-block: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
