:root {
  color-scheme: light;
  --color-bg: #ffffff;
  --color-text: #172033;
  --color-heading: #0f1728;
  --color-muted: #5f6b7c;
  --color-subtle: #f5f7fb;
  --color-border: #dce2ec;
  --color-border-strong: #b9c3d2;
  --color-accent: #145fe8;
  --color-accent-dark: #0d49b5;
  --shadow-header: 0 1px 0 rgba(15, 23, 40, 0.07);
  --shell: 70rem;
  --legal: 49rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-small: 0.4rem;
  --focus-ring: 0 0 0 3px rgba(20, 95, 232, 0.24);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-accent-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--color-accent);
}

a:focus-visible {
  border-radius: 0.2rem;
  outline: none;
  box-shadow: var(--focus-ring);
}

svg {
  display: block;
}

.page-shell {
  width: min(100% - (2 * var(--gutter)), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-small);
  background: var(--color-heading);
  color: #ffffff;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  color: #ffffff;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-header);
}

.site-header__inner {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  color: var(--color-heading);
  font-size: 1.12rem;
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover {
  color: var(--color-heading);
}

.site-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--color-text);
  font-size: 0.94rem;
  font-weight: 580;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--color-accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-accent-dark);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  display: grid;
  min-height: 32rem;
  align-items: center;
  padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3.75rem, 7vw, 6rem);
}

.hero__copy {
  max-width: 54rem;
}

.hero h1 {
  max-width: 50rem;
  margin: 0;
  color: var(--color-heading);
  font-size: clamp(2.35rem, 5.4vw, 4.65rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.14;
}

.hero__lead {
  max-width: 48rem;
  margin: 2rem 0 0;
  color: #364256;
  font-size: clamp(1.04rem, 1.7vw, 1.27rem);
  line-height: 1.85;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 2rem 0 0;
  color: #273247;
  font-size: 1rem;
}

.status-line__bar {
  width: 0.22rem;
  height: 1.55rem;
  flex: 0 0 auto;
  background: var(--color-accent);
}

.status-line strong {
  color: var(--color-accent);
  font-weight: 720;
}

.purpose {
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.trace-list {
  position: relative;
  max-width: 58rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trace-list::before {
  position: absolute;
  top: 1.75rem;
  bottom: 1.75rem;
  left: 1.45rem;
  width: 1px;
  background: var(--color-accent);
  content: "";
}

.trace-item {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-bottom: clamp(3.25rem, 7vw, 5rem);
}

.trace-item:last-child {
  padding-bottom: 0;
}

.trace-item__marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-accent);
}

.trace-item__marker svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.trace-item__content {
  padding-top: 0.15rem;
}

.trace-item h2 {
  margin: 0;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--color-border-strong);
  color: var(--color-heading);
  font-size: clamp(1.42rem, 2.5vw, 1.85rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.trace-item p {
  max-width: 47rem;
  margin: 0.9rem 0 0;
  color: #384459;
  font-size: 1.02rem;
}

.boundary-list {
  max-width: 47rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.boundary-list li {
  position: relative;
  padding: 0.72rem 0 0.72rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  color: #303b4f;
}

.boundary-list li::before {
  position: absolute;
  top: 1.4rem;
  left: 0.1rem;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--color-accent);
  content: "";
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  margin: clamp(2.75rem, 6vw, 4.5rem) 0 0 5.5rem;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-accent-dark);
  font-weight: 680;
  text-decoration: none;
}

.text-link svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 150ms ease;
}

.text-link:hover svg {
  transform: translateX(0.2rem);
}

.legal-shell {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.legal-document {
  width: min(100%, var(--legal));
  margin-inline: auto;
}

.legal-document__header {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.document-type {
  margin: 0 0 0.65rem;
  color: var(--color-accent-dark);
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.legal-document h1 {
  margin: 0;
  color: var(--color-heading);
  font-size: clamp(2.35rem, 6vw, 4rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.15;
}

.document-meta {
  margin: 1.15rem 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.document-intro {
  margin: 2rem 0 0;
  color: #374357;
  font-size: 1.08rem;
  line-height: 1.9;
}

.notice {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--color-accent);
  background: var(--color-subtle);
  color: #354157;
  font-size: 0.94rem;
}

.document-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.5rem;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  padding: 1.1rem 0;
  border-block: 1px solid var(--color-border);
}

.document-nav a {
  color: #465268;
  font-size: 0.88rem;
  font-weight: 610;
  text-decoration: none;
}

.document-nav a:hover {
  color: var(--color-accent-dark);
}

.legal-document section {
  margin-top: clamp(2.7rem, 6vw, 4rem);
}

.legal-document section:first-of-type {
  margin-top: 0;
}

.legal-document h2 {
  margin: 0 0 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-heading);
  font-size: clamp(1.3rem, 3vw, 1.62rem);
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.legal-document p,
.legal-document li {
  color: #3e4a5e;
}

.legal-document p {
  margin: 0.8rem 0 0;
}

.legal-document ul {
  margin: 0.9rem 0 0;
  padding-left: 1.35rem;
}

.legal-document li {
  padding-left: 0.25rem;
  margin: 0.45rem 0;
}

.legal-document li::marker {
  color: var(--color-accent);
}

.legal-document strong {
  color: #263248;
  font-weight: 690;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
  padding-block: 2rem;
}

.site-footer p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.site-footer__entity {
  color: #334056 !important;
  font-weight: 610;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: #4a566a;
  font-size: 0.82rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-accent-dark);
}

@media (max-width: 44rem) {
  html {
    scroll-padding-top: 8rem;
  }

  .site-header__inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
    padding-block: 1rem 0;
  }

  .site-nav {
    width: 100%;
    min-height: 3rem;
    gap: 1.25rem;
    overflow-x: auto;
  }

  .site-nav a {
    flex: 0 0 auto;
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
    padding-block: 4.25rem 4.5rem;
  }

  .hero h1 {
    font-size: clamp(2.18rem, 10.5vw, 3.1rem);
    letter-spacing: -0.05em;
  }

  .hero__lead {
    margin-top: 1.4rem;
    line-height: 1.75;
  }

  .status-line {
    margin-top: 1.65rem;
  }

  .trace-list::before {
    left: 1.2rem;
  }

  .trace-item {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 1rem;
  }

  .trace-item__marker {
    width: 2.5rem;
    height: 2.5rem;
  }

  .trace-item h2 {
    font-size: 1.4rem;
  }

  .trace-item p,
  .boundary-list li {
    font-size: 0.96rem;
  }

  .legal-links {
    gap: 0.65rem 1.5rem;
    margin-left: 3.5rem;
  }

  .legal-shell {
    padding-top: 3.5rem;
  }

  .document-type {
    margin-bottom: 0.5rem;
  }

  .document-intro {
    font-size: 1rem;
  }

  .document-nav {
    gap: 0.4rem 1rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .site-footer nav {
    margin-top: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

@media print {
  .skip-link,
  .site-header,
  .document-nav,
  .site-footer {
    display: none !important;
  }

  .legal-shell {
    padding-block: 0;
  }

  .legal-document {
    width: 100%;
    max-width: none;
  }

  .legal-document section {
    break-inside: avoid;
  }
}
