:root {
  --orange: #FF5A36;
  --navy: #12263A;
  --paper: #F2E9DC;
  --navy-soft: #1E3B57;
  --orange-soft: #FFD8CD;
  --line: rgba(18, 38, 58, 0.18);
  --glass: rgba(255, 255, 255, 0.5);
  --glass-line: rgba(255, 255, 255, 0.75);
  --radius: 28px;
  --dock-h: 74px;
  --body: "Open Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --head: "Poppins", "Open Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: clip;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--head);
  line-height: 1.18;
  letter-spacing: -0.012em;
  margin: 0 0 0.55em;
}

figure {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 6px;
}

section[id] {
  scroll-margin-top: 16px;
}

/* ---------- 底部固定导航条 ---------- */
.dock {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  background: var(--navy);
  border-top: 3px solid var(--orange);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}

.dock-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.dock-nav::-webkit-scrollbar {
  display: none;
}

.dock-group {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(242, 233, 220, 0.32);
  border-radius: 999px;
  color: var(--paper);
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.pill:hover,
.pill:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.pill[aria-current="true"] {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--navy);
}

.dock-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: var(--head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.dock-brand:hover,
.dock-brand:focus-visible {
  background: var(--paper);
  color: var(--navy);
}

/* ---------- 首屏 ---------- */
.hero {
  display: grid;
  gap: 22px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px 20px 10px;
  min-height: 45vh;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 3.3rem);
  font-weight: 700;
  margin: 0 0 14px;
}

.hero-lead {
  margin: 0 auto;
  max-width: 44ch;
  font-size: 17px;
  color: var(--navy-soft);
}

.hero-art {
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- 正文区 ---------- */
.body-area {
  display: grid;
  gap: 26px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 20px 8px;
}

.stream {
  counter-reset: sec;
  min-width: 0;
}

.stream-head {
  background: var(--navy);
  color: var(--paper);
  border-radius: var(--radius);
  border-left: 10px solid var(--orange);
  padding: 24px 22px;
  margin-bottom: 10px;
}

.stream-head h2 {
  font-size: clamp(1.35rem, 4.6vw, 1.9rem);
  margin: 0;
  color: var(--paper);
}

.subtitle {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(242, 233, 220, 0.82);
}

.stream > section {
  counter-increment: sec;
  border-top: 3px solid var(--navy);
  padding: 24px 0 26px;
}

.stream > section::before {
  content: counter(sec, decimal-leading-zero);
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 11px;
  border: 1px solid rgba(255, 90, 54, 0.55);
  border-radius: 999px;
  background: rgba(255, 90, 54, 0.12);
  color: var(--orange);
  font-family: var(--head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.stream h2 {
  font-size: clamp(1.35rem, 4.6vw, 1.95rem);
  margin: 0 0 0.5em;
}

.stream h3 {
  font-size: 1.15rem;
  margin-top: 1.4em;
  color: var(--navy-soft);
}

.stream p {
  margin: 0 0 1em;
}

.stream a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.stream ul,
.stream ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
}

.stream li {
  margin-bottom: 0.4em;
}

.stream li::marker {
  color: var(--orange);
}

.stream strong {
  font-weight: 600;
  background: linear-gradient(transparent 62%, var(--orange-soft) 62%);
}

.stream blockquote {
  margin: 0 0 1.1em;
  padding: 14px 18px;
  background: var(--glass);
  border-left: 6px solid var(--orange);
  border-radius: 0 20px 20px 0;
  backdrop-filter: blur(8px);
}

.stream blockquote p:last-child {
  margin-bottom: 0;
}

.stream figure {
  margin: 0 0 1.1em;
}

.stream img {
  border-radius: 20px;
  display: block;
}

.stream table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.1em;
  font-size: 16px;
}

.stream th,
.stream td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
}

.stream th {
  font-family: var(--head);
  font-weight: 600;
}

/* ---------- 右侧栏 ---------- */
.rail {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  padding: 18px 16px 20px;
  backdrop-filter: blur(10px);
}

.rail-title {
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.rail-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.rail-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--navy);
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.rail-nav a:hover,
.rail-nav a:focus-visible,
.rail-nav a[aria-current="true"] {
  background: var(--orange);
  color: #fff;
}

/* ---------- 页脚 ---------- */
.foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  background: var(--navy);
  color: var(--paper);
  padding: 34px 20px calc(100px + env(safe-area-inset-bottom));
}

.brand-block {
  grid-column: 1 / -1;
}

.foot-brand {
  margin: 0;
  font-family: var(--head);
  font-size: clamp(2rem, 9vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--orange);
}

.foot-nav {
  display: contents;
}

.foot dl {
  margin: 0;
  min-width: 0;
}

.foot dt {
  font-size: 16px;
  letter-spacing: 0.14em;
  color: rgba(242, 233, 220, 0.6);
  margin-bottom: 6px;
}

.foot dd {
  margin: 0;
}

.foot dd a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 16px;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.foot dd a:hover,
.foot dd a:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
}

.foot-base {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(242, 233, 220, 0.2);
  padding-top: 14px;
  text-align: center;
}

.foot-base p {
  margin: 0;
  font-size: 16px;
  color: rgba(242, 233, 220, 0.75);
}

/* ---------- 入场动效 ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-copy,
.hero-art,
.stream-head,
.stream > section,
.rail {
  animation: rise 0.42s ease both;
}

.hero-art,
.stream > section:nth-child(2) {
  animation-delay: 0.04s;
}

.stream > section:nth-child(3) {
  animation-delay: 0.08s;
}

.stream > section:nth-child(4) {
  animation-delay: 0.12s;
}

.stream > section:nth-child(5) {
  animation-delay: 0.16s;
}

.stream > section:nth-child(6) {
  animation-delay: 0.2s;
}

.stream > section:nth-child(7) {
  animation-delay: 0.24s;
}

.stream > section:nth-child(n + 8) {
  animation-delay: 0.28s;
}

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  .foot {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 26px;
    padding: 46px 28px 106px;
  }

  .brand-block {
    grid-column: auto;
  }
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    padding: 34px 28px 12px;
  }

  .dock-nav {
    justify-content: center;
    overflow: visible;
  }
}

@media (min-width: 980px) {
  .body-area {
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 32px;
    padding: 24px 28px 8px;
    align-items: start;
  }

  .rail {
    position: sticky;
    top: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
