@font-face {
  font-family: "Luckymiya Sans SC";
  src: url("./NotoSansSC-Regular.otf") format("opentype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #172033;
  --muted: #5d6879;
  --navy: #153a66;
  --navy-deep: #0d2746;
  --line: #d6dde7;
  --paper: #ffffff;
  --canvas: #edf1f6;
  --soft: #e8eef6;
  --warning: #704b13;
  --warning-bg: #fff5da;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: "Luckymiya Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif; }
a { color: inherit; }
.site-header { min-height: 66px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: white; background: var(--navy-deep); }
.brand { font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.header-nav { display: flex; gap: 18px; align-items: center; font-size: 14px; }
.header-nav a { color: #dce7f4; text-decoration: none; }
.header-nav a:hover, .header-nav a:focus-visible { color: white; text-decoration: underline; text-underline-offset: 4px; }
.hero { padding: 72px 28px 54px; color: white; background: linear-gradient(135deg, #0d2746 0%, #153a66 66%, #31597f 100%); }
.hero-inner, .page-shell { width: min(1060px, 100%); margin: 0 auto; }
.kicker { margin: 0 0 16px; color: #bfd1e6; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.18; letter-spacing: -.035em; }
.hero-subtitle { max-width: 850px; margin: 22px 0 0; color: #e1ebf5; font-size: 20px; line-height: 1.7; }
.hero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.26); color: #f4f8fc; background: rgba(255,255,255,.08); font-size: 13px; }
.page-shell { padding: 34px 28px 80px; }
.notice { margin: 0 0 26px; padding: 18px 20px; border-left: 4px solid #b88024; color: var(--warning); background: var(--warning-bg); font-size: 18px; line-height: 1.7; }
.actions { margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 46px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--navy); text-decoration: none; font-weight: 750; white-space: nowrap; }
.button.primary { color: white; background: var(--navy); }
.button.secondary { color: var(--navy); background: white; }
.button:active { transform: translateY(1px); }
.paper { padding: clamp(26px, 5vw, 64px); border: 1px solid var(--line); background: var(--paper); box-shadow: 0 24px 70px rgba(22, 38, 62, .09); }
.legal-body { max-width: 880px; margin: 0 auto; font-family: "Luckymiya Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
.legal-body h2 { margin: 52px 0 18px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--navy-deep); font-family: "Luckymiya Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; font-size: 27px; line-height: 1.55; }
.legal-body h2:first-of-type { margin-top: 30px; }
.legal-body p, .legal-body li { font-size: 22px; line-height: 1.9; }
.legal-body p { margin: 0 0 1.15em; text-align: justify; text-indent: 2em; }
.legal-body .source-status { margin-bottom: 28px; padding: 10px 14px; color: var(--muted); background: var(--soft); text-align: center; text-indent: 0; font-family: "Luckymiya Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; font-size: 16px; }
.legal-body .case-line, .legal-body .addressing, .legal-body .salutation, .legal-body .signature-line { text-indent: 0; }
.legal-body .case-line { margin-bottom: .35em; }
.legal-body .addressing { margin-top: 2em; font-weight: 700; }
.legal-body .salutation { margin-top: 2.4em; margin-bottom: 0; }
.legal-body .signature-line { margin: .2em 0; text-align: right; }
.legal-body .claims { margin: 0 0 1.4em; padding-left: 2em; }
.legal-body .claims li { padding-left: .4em; margin-bottom: .75em; }
.document-name { font-weight: 700; }
.pending { color: #9b2c2c; font-weight: 800; }
.case-switcher { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.case-switcher a { padding: 14px; border: 1px solid var(--line); color: var(--navy); background: white; text-decoration: none; font-weight: 750; }
.case-switcher a[aria-current="page"] { color: white; background: var(--navy); border-color: var(--navy); }
.collection-intro { max-width: 820px; margin-bottom: 34px; font-size: 22px; line-height: 1.8; }
.case-list { border-top: 1px solid var(--line); }
.case-card { padding: 30px 0; display: grid; grid-template-columns: 1fr auto; gap: 28px; border-bottom: 1px solid var(--line); }
.case-card h2 { margin: 0 0 10px; color: var(--navy-deep); font-size: 28px; }
.case-card p { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.scores { display: flex; gap: 8px; align-items: flex-start; }
.score { min-width: 98px; padding: 11px; color: var(--navy-deep); background: var(--soft); text-align: center; }
.score strong, .score small { display: block; }
.score strong { font-size: 23px; }
.score small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.case-card .button { margin-top: 18px; }
.site-footer { padding: 28px; color: #bdcadd; background: var(--navy-deep); text-align: center; font-size: 13px; }
@media (max-width: 760px) {
  .site-header { padding: 0 18px; }
  .header-nav { gap: 12px; }
  .header-nav .optional { display: none; }
  .hero { padding: 48px 18px 38px; }
  .hero h1 { font-size: 35px; }
  .hero-subtitle { font-size: 18px; }
  .page-shell { padding: 22px 12px 56px; }
  .paper { padding: 28px 18px; }
  .legal-body h2 { font-size: 25px; }
  .legal-body p, .legal-body li, .collection-intro { font-size: 22px; }
  .case-switcher { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 1fr; gap: 16px; }
  .scores { order: -1; }
}
@media print {
  .site-header, .hero, .notice, .actions, .case-switcher, .site-footer { display: none !important; }
  body, .page-shell { background: white; }
  .page-shell { width: auto; padding: 0; }
  .paper { padding: 0; border: 0; box-shadow: none; }
}
