:root {
  color-scheme: dark;
  --bg: #14121b;
  --bg-2: #201b27;
  --panel: rgba(28, 24, 36, 0.90);
  --panel-2: rgba(35, 30, 46, 0.98);
  --line: rgba(255, 236, 209, 0.14);
  --text: #f6f1ea;
  --muted: #d6c9bb;
  --accent: #f2a35d;
  --accent-2: #ffcf72;
  --accent-3: #8dd6ff;
  --shadow: 0 26px 74px rgba(0, 0, 0, 0.38);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --container: min(1220px, calc(100% - 32px));
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 12%, rgba(242, 163, 93, 0.16), transparent 26%),
    radial-gradient(circle at 84% 14%, rgba(141, 214, 255, 0.14), transparent 22%),
    radial-gradient(circle at 62% 82%, rgba(255, 207, 114, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(15, 13, 21, 0.96), rgba(23, 19, 31, 1)),
    var(--bg);
  font-size: 17px;
  line-height: 1.82;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.03), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 20%);
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(15, 13, 21, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: 0.04em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.top-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.top-links a {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.top-links a.is-active,
.top-links a:hover,
.top-links a:focus-visible {
  color: var(--text);
}

.header-actions,
.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #f1a15d, #ffbe72);
  color: #22160b;
  box-shadow: 0 14px 28px rgba(242, 161, 93, 0.24);
}

.btn-ghost {
  border-color: rgba(255, 236, 209, 0.20);
  background: rgba(255, 255, 255, 0.03);
}

.btn-soft {
  border-color: rgba(141, 214, 255, 0.22);
  background: rgba(141, 214, 255, 0.08);
  color: #dff5ff;
}

main {
  padding-bottom: 42px;
}

.hero,
.section {
  padding: 34px 0 0;
}

.chronicle-panel,
.section-panel,
.cta-panel,
.site-footer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.chronicle-panel {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(141, 214, 255, 0.10), transparent 24%),
    radial-gradient(circle at left bottom, rgba(242, 163, 93, 0.12), transparent 26%),
    var(--panel);
}

.eyebrow {
  margin: 0 0 10px;
  color: #ffdcae;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.chronicle-copy h1,
.section-head h2,
.cta-panel h2,
.footer-grid h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

.chronicle-copy h1 {
  max-width: 12ch;
  font-size: clamp(42px, 5vw, 56px);
}

.section-head h2,
.cta-panel h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.lead,
.section-head p,
.timeline-card p,
.wall-card p,
.check-card p,
.note-card p,
.cta-panel p,
.footer-brand p,
.faq-body,
.version-chip small {
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

.lead {
  margin: 18px 0 0;
  max-width: 70ch;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  margin-top: 24px;
}

.version-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.version-chip {
  padding: 18px 20px;
  background: var(--panel-2);
  border: 1px solid rgba(255, 236, 209, 0.10);
  border-radius: 18px;
}

.version-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffe8c8;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.version-chip strong,
.timeline-card h3,
.wall-card h3,
.check-card h3,
.note-card h3 {
  display: block;
  line-height: 1.18;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

.version-chip strong {
  display: block;
  margin-top: 12px;
  font-size: 20px;
}

.version-chip small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.version-chip-current {
  background:
    linear-gradient(135deg, rgba(242, 163, 93, 0.16), rgba(255, 207, 114, 0.10)),
    var(--panel-2);
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.section-head p {
  margin: 0;
  max-width: 70ch;
  color: var(--muted);
  font-size: 16px;
}

.section-head-wide {
  max-width: 760px;
}

.timeline-wrap {
  position: relative;
  display: grid;
  gap: 22px;
  padding-left: 16px;
}

.timeline-line {
  position: absolute;
  left: 31px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, rgba(242, 163, 93, 0.35), rgba(141, 214, 255, 0.28));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(242, 163, 93, 0.94), rgba(255, 207, 114, 0.88));
  color: #22160b;
  font-weight: 800;
  box-shadow: 0 16px 24px rgba(242, 163, 93, 0.16);
}

.timeline-card {
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid rgba(255, 236, 209, 0.10);
  border-radius: 22px;
}

.timeline-date {
  margin: 0;
  color: #ffd7a5;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timeline-card h3 {
  margin: 12px 0 0;
  font-size: 22px;
}

.timeline-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.check-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.check-card,
.note-card {
  padding: 22px;
  background: var(--panel);
  border: 1px solid rgba(255, 236, 209, 0.10);
  border-radius: var(--radius-lg);
}

.check-card {
  position: relative;
  overflow: hidden;
}

.check-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -26px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 163, 93, 0.10), transparent 68%);
}

.check-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffe8c8;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.check-card h3,
.note-card h3 {
  margin: 12px 0 0;
  font-size: 22px;
}

.check-card p,
.note-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.check-side {
  display: grid;
  gap: 16px;
}

.side-image {
  width: 100%;
  min-height: 250px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 236, 209, 0.10);
}

.wall-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.wall-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: var(--panel);
  border: 1px solid rgba(255, 236, 209, 0.10);
  border-radius: var(--radius-lg);
}

.wall-card img {
  width: 180px;
  height: 118px;
  object-fit: cover;
  border-radius: 16px;
}

.wall-card h3 {
  margin: 0;
  font-size: 22px;
}

.wall-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-grid details {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 236, 209, 0.10);
  border-radius: 18px;
}

.faq-grid summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-body {
  margin-top: 10px;
  color: var(--muted);
}

.section-cta {
  padding-bottom: 18px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  background:
    radial-gradient(circle at top right, rgba(242, 163, 93, 0.08), transparent 24%),
    var(--panel);
}

.cta-panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 26px 0 8px;
  background:
    linear-gradient(180deg, rgba(25, 22, 34, 0.98), rgba(15, 13, 21, 0.99));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 0.8fr);
  gap: 22px;
}

.footer-brand p {
  margin: 16px 0 0;
  color: var(--muted);
}

.footer-grid h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li + li {
  margin-top: 10px;
}

.footer-grid a {
  color: var(--muted);
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--text);
}

@media (max-width: 1100px) {
  .header-inner,
  .check-layout,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .top-links {
    justify-content: flex-start;
  }

  .version-strip,
  .faq-grid,
  .wall-grid,
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .chronicle-panel,
  .timeline-card,
  .check-card,
  .note-card,
  .wall-card,
  .cta-panel {
    padding: 20px;
  }

  .chronicle-copy h1 {
    max-width: 14ch;
  }

  .version-strip,
  .faq-grid,
  .wall-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .wall-card {
    grid-template-columns: 1fr;
  }

  .wall-card img {
    width: 100%;
  }
}

.container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  width: 100% !important;
}

.image-wrapper {
  overflow: hidden;
  border-radius: 24px;
  background: #09111c;
}

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

.brand .image-wrapper.brand-image,
.brand-image {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  padding: 4px;
  border-radius: 16px;
  background: #0a1220;
  box-shadow: none;
}

.brand .image-wrapper.brand-image img,
.brand-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.top-links {
  gap: 14px;
}

.header-actions {
  gap: 10px;
}
