﻿:root {
  --paper: #fbf3df;
  --paper-soft: #f6ecd2;
  --paper-deep: #efe2be;
  --ink: #191510;
  --muted: #6e6455;
  --line: #d8c9a6;
  --accent: #f2c12e;
  --accent-deep: #a97e00;
  --white: #fffdf7;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(25, 21, 16, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%; height: auto; }

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

/* 页头 */
.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 243, 223, 0.94);
  border-bottom: 1px solid var(--ink);
  backdrop-filter: blur(6px);
}

.head-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent);
  flex: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.brand-text {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-domain {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-bottom-color: var(--ink);
}

.site-nav .nav-cta {
  padding: 9px 20px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--accent);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  padding: 8px 16px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
}

/* 首屏 */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.kicker {
  margin: 0 0 18px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  margin-bottom: 26px;
}

.h1-brand {
  display: inline-block;
  background-image: linear-gradient(transparent 64%, var(--accent) 64%);
}

.lede {
  max-width: 34em;
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-solid {
  background: var(--ink);
  color: var(--paper);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: var(--accent);
  color: var(--ink);
}

.btn-line {
  background: transparent;
}

.btn-line:hover,
.btn-line:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.facts dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.facts dd {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.hero-aside {
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 18px;
}

.portrait {
  border: 1px solid var(--ink);
  overflow: hidden;
  background: var(--paper-deep);
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.aside-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.aside-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.aside-list span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.aside-list strong {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
}

/* 通用区块 */
.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-tint {
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec-head {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.sec-head h2 {
  font-size: clamp(27px, 3.4vw, 40px);
  max-width: 24em;
}

.sec-desc {
  max-width: 44em;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.sec-head-light .kicker {
  color: var(--accent);
}

.sec-head-light .sec-desc {
  color: rgba(251, 243, 223, 0.68);
}

/* 角色广场列表 */
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.row-num {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--accent-deep);
  line-height: 1;
}

.row-body h3 {
  font-size: clamp(20px, 2.2vw, 25px);
  margin-bottom: 8px;
}

.row-body p {
  max-width: 46em;
  color: var(--muted);
  font-size: 15px;
}

/* 表格 */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ink);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 14.5px;
}

thead th {
  text-align: left;
  padding: 14px 20px;
  background: var(--ink);
  color: var(--paper);
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
}

tbody th,
tbody td {
  padding: 16px 20px;
  text-align: left;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

tbody th {
  font-family: var(--serif);
  font-size: 17px;
  white-space: nowrap;
}

tbody td {
  color: var(--muted);
}

.table-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* 截图 */
.band {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 200px));
  justify-content: center;
  gap: clamp(14px, 2.4vw, 30px);
}

.shot {
  border: 1px solid rgba(251, 243, 223, 0.24);
  border-radius: 16px;
  overflow: hidden;
  background: #0f0d0a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* 步骤 */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
}

.step {
  padding: 26px 22px 8px 0;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step-num {
  display: block;
  margin-bottom: 14px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
}

.step h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
  padding-right: 4px;
}

/* 场景 */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.scene {
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 26px 24px;
}

.scene h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.scene p {
  font-size: 14.5px;
  color: var(--muted);
}

/* 问答 */
.faq-wrap {
  max-width: 900px;
}

.faq {
  border-top: 1px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  max-width: 46em;
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
}

/* 下载 */
.download {
  background: var(--accent);
  border-top: 1px solid var(--ink);
}

.download .kicker {
  color: rgba(25, 21, 16, 0.56);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.channel {
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.channel:not([hidden]) {
  display: flex;
}

.channel:hover,
.channel:focus-visible {
  transform: translateY(-3px);
  background: var(--ink);
  color: var(--paper);
}

.channel-tag {
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
}

.channel:hover .channel-tag,
.channel:focus-visible .channel-tag {
  color: var(--accent);
}

.channel strong {
  font-family: var(--serif);
  font-size: 22px;
}

.channel-note {
  font-size: 13px;
  color: var(--muted);
}

.channel:hover .channel-note,
.channel:focus-visible .channel-note {
  color: rgba(251, 243, 223, 0.72);
}

/* 页脚 */
.site-foot {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(44px, 6vw, 72px) 0 36px;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px 48px;
  align-items: start;
}

.brand-foot .brand-mark {
  border-color: rgba(251, 243, 223, 0.5);
}

.foot-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}

.foot-domain {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(251, 243, 223, 0.6);
}

.foot-desc {
  max-width: 30em;
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(251, 243, 223, 0.62);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 14px;
}

.foot-links a {
  text-decoration: none;
  color: rgba(251, 243, 223, 0.82);
  border-bottom: 1px solid transparent;
}

.foot-links a:hover,
.foot-links a:focus-visible {
  border-bottom-color: var(--accent);
}

.foot-legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 243, 223, 0.18);
  font-size: 12px;
  color: rgba(251, 243, 223, 0.5);
}

/* 入场动效 */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .channel {
    transition: none;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-aside {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
  }

  .aside-list {
    margin: 0;
  }

  .aside-list li:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:nth-child(2) {
    border-right: 0;
  }

  .step:nth-child(1),
  .step:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .scene-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .head-inner {
    min-height: 68px;
  }

  .brand-text {
    font-size: 19px;
  }

  .brand-domain {
    font-size: 10px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    padding: 14px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 15px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 10px;
    text-align: center;
    border-bottom: 1px solid var(--ink);
  }

  .hero {
    padding-top: 40px;
  }

  .facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .facts div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
  }

  .facts dd {
    margin: 0;
    text-align: right;
  }

  .hero-aside {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .aside-list strong {
    font-size: 12.5px;
  }

  .row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
  }

  .row-num {
    font-size: 24px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
  }

  .step:last-child {
    border-bottom: 0;
  }

  .shots {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 4px 0 14px;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .shot {
    flex: 0 0 190px;
    scroll-snap-align: center;
  }

  .site-foot {
    padding-top: 40px;
  }
}

@media (max-width: 420px) {
  .shot {
    flex-basis: 170px;
  }

  .hero-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .portrait {
    max-width: 190px;
  }
}

/* 404 */
.error-main {
  display: flex;
  align-items: center;
  min-height: 62vh;
  padding: 64px 0;
}

.error-card {
  border: 1px solid var(--ink);
  background: var(--white);
  padding: clamp(28px, 5vw, 56px);
  max-width: 640px;
}

.error-code {
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent-deep);
}

.error-card h1 {
  margin: 14px 0 16px;
  font-size: clamp(30px, 4.4vw, 44px);
}

.error-card p {
  color: var(--muted);
  font-size: 15px;
}

.error-card .btn {
  margin-top: 26px;
}
