/* ==========================================================================
   抗量子研习社 · 主样式
   ========================================================================== */

:root {
  --ink: #0b1526;
  --ink-soft: #16243c;
  --ink-70: rgba(11, 21, 38, 0.7);
  --paper: #f6f3ec;
  --paper-alt: #efeae0;
  --card: #fffdf8;
  --muted: #5b6473;
  --line: rgba(11, 21, 38, 0.13);
  --line-soft: rgba(11, 21, 38, 0.07);
  --accent: #0f766e;
  --accent-soft: rgba(15, 118, 110, 0.1);
  --bright: #34d399;
  --bright-soft: rgba(52, 211, 153, 0.12);
  --radius: 3px;
  --shadow: 0 18px 40px -28px rgba(11, 21, 38, 0.5);
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--ink);
  color: var(--bright);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  z-index: 99;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 21, 38, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: #fff;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(52, 211, 153, 0.55);
  color: var(--bright);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  position: relative;
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav a:hover {
  color: #fff;
}

.nav a.is-active {
  color: #fff;
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 2px;
  background: var(--bright);
}

.header-cta {
  flex: 0 0 auto;
  padding: 8px 16px;
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: var(--bright);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  transition: background 180ms ease, color 180ms ease;
}

.header-cta:hover {
  background: var(--bright);
  color: var(--ink);
}

/* ---------- 通用文字 ---------- */
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--bright);
}

.lead {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.lead-light {
  color: rgba(255, 255, 255, 0.72);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--bright);
  color: #06251a;
  font-weight: 600;
}

.btn-primary:hover {
  background: #4ee5ad;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.9);
}

.btn-ghost:hover {
  border-color: var(--bright);
  color: var(--bright);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 0;
  background:
    radial-gradient(900px 420px at 78% 18%, rgba(52, 211, 153, 0.16), transparent 62%),
    radial-gradient(700px 360px at 8% 92%, rgba(45, 86, 160, 0.28), transparent 65%),
    linear-gradient(160deg, #0b1526 0%, #0e1c33 55%, #0b1526 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 92%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-bottom: clamp(56px, 7vw, 88px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3vw, 38px);
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-media figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.65;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 20px 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  color: var(--bright);
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stat span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
}

/* ---------- 区块 ---------- */
.section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-alt {
  background: var(--paper-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-tight {
  padding: clamp(36px, 4vw, 56px) 0 clamp(56px, 7vw, 88px);
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.sec-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.7vw, 2.1rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.sec-note {
  margin: 0;
  max-width: 380px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
  text-align: right;
}

.more {
  flex: 0 0 auto;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-70);
  font-size: 13px;
  transition: color 160ms ease, border-color 160ms ease;
}

.more:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- 四板块 ---------- */
.section-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.section-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 24px;
  background: var(--card);
  transition: background 180ms ease, transform 180ms ease;
}

.section-card:hover {
  background: #fff;
  transform: translateY(-2px);
}

.section-no {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.section-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.section-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.section-count {
  margin-top: auto;
  padding-top: 14px;
  color: var(--accent);
  font-size: 12px;
}

/* ---------- 卡片 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.card-grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 21, 38, 0.22);
  box-shadow: var(--shadow);
}

.card-media {
  overflow: hidden;
  background: var(--paper-alt);
}

.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card-media img {
  transform: scale(1.035);
}

.card-media-square img {
  aspect-ratio: 1 / 1;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
}

.card-body h3 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.45;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags-wrap {
  margin-top: 2px;
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tag-soft {
  background: rgba(11, 21, 38, 0.06);
  color: var(--muted);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.price {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
}

/* ---------- 列表行（资讯） ---------- */
.row-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}

.row:hover {
  background: rgba(255, 255, 255, 0.55);
}

.row-main {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.row-main h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.45;
}

.row:hover .row-main h3 {
  color: var(--accent);
}

.row-main p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.row-media {
  overflow: hidden;
}

.row-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.row:hover .row-media img {
  transform: scale(1.04);
}

/* ---------- 人物卡 ---------- */
.card-person {
  flex-direction: row;
}

.person-media {
  flex: 0 0 38%;
  overflow: hidden;
  background: var(--paper-alt);
}

.person-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.person-line {
  color: var(--ink) !important;
  font-size: 12.5px !important;
  font-weight: 600;
}

/* ---------- 页面头 ---------- */
.page-hero {
  padding: clamp(48px, 6vw, 84px) 0 clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.page-hero-narrow .wrap {
  max-width: 800px;
}

.page-hero-slim {
  padding: clamp(36px, 4vw, 56px) 0 0;
  border-bottom: 0;
}

.page-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
}

/* ---------- 筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.filter-bar button {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12.5px;
  cursor: pointer;
  transition: all 160ms ease;
}

.filter-bar button:hover {
  border-color: var(--ink-70);
  color: var(--ink);
}

.filter-bar button.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- 正文 ---------- */
.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.9;
  color: #1c2432;
}

.prose > p {
  margin: 0 0 1.5em;
}

.prose h2 {
  position: relative;
  margin: 2.4em 0 0.8em;
  padding-top: 0.2em;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.4;
  scroll-margin-top: 88px;
}

.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.55em;
  width: 34px;
  height: 2px;
  background: var(--accent);
}

.prose ul,
.prose ol {
  margin: 0 0 1.6em;
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: 0.55em;
}

.prose li::marker {
  color: var(--accent);
}

.prose figure {
  margin: 2em 0;
}

.prose figure img {
  width: 100%;
  border: 1px solid var(--line);
}

.prose figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
  text-align: center;
}

.prose .cover {
  margin: 0 0 2.2em;
}

.prose .cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.callout {
  margin: 2em 0;
  padding: 20px 22px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}

.callout-title {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
}

.prose blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 24px;
  border-left: 1px solid var(--ink);
}

.prose blockquote p {
  margin: 0;
  font-size: 1.12em;
  line-height: 1.8;
  color: var(--ink);
}

.lead-quote {
  margin: 0 0 2.4em !important;
  padding: 26px 28px !important;
  border-left: 3px solid var(--accent) !important;
  background: var(--paper-alt);
}

.lead-quote p {
  font-size: 1.18rem !important;
  line-height: 1.75 !important;
  letter-spacing: -0.01em;
}

.table-wrap {
  margin: 2em 0;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.prose table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

.prose th,
.prose td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--paper-alt);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.prose tbody tr:last-child td {
  border-bottom: 0;
}

.prose tbody tr:hover {
  background: rgba(255, 255, 255, 0.6);
}

.prose-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 3em;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.back {
  color: var(--ink-70);
  font-size: 13px;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.back:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.related {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.related h2 {
  margin: 0 0 26px;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.related .card-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* ---------- 访谈人物头 ---------- */
.person-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--card);
}

.person-avatar {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  object-fit: cover;
  object-position: center top;
}

.person-name {
  margin: 0 0 3px;
  font-size: 16px;
  font-weight: 650;
}

.person-role {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
}

.person-bio {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* ---------- 商品详情 ---------- */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper-alt);
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.thumb {
  width: 74px;
  height: 74px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 160ms ease, border-color 160ms ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb.is-on,
.thumb:hover {
  opacity: 1;
  border-color: var(--accent);
}

.product-info h1 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.product-price {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
}

.product-point {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.product-spec {
  margin: 0 0 26px;
  border-top: 1px solid var(--line);
}

.product-spec > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.product-spec dt {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.product-spec dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
}

.shop-note {
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

/* ---------- 关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.about-main h2 {
  margin: 0 0 24px;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 650;
  letter-spacing: -0.025em;
}

.about-main h2:not(:first-child) {
  margin-top: clamp(44px, 5vw, 64px);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.principle {
  padding: 22px 22px 24px;
  background: var(--card);
}

.principle-no {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.principle h3 {
  margin: 10px 0 8px;
  font-size: 1rem;
  font-weight: 650;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.wechat-block {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--card);
}

.wechat-qr {
  width: 148px;
  height: 148px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #fff;
}

.wechat-name {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 650;
}

.wechat-id {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
}

.plain {
  margin: 0 0 14px;
  padding-left: 1.1em;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.plain li::marker {
  color: var(--accent);
}

.wechat-topics {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}

.contact-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.contact-list > div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.contact-list dd {
  margin: 0;
  font-size: 13.5px;
}

.contact-list a {
  border-bottom: 1px solid var(--line);
  transition: color 160ms ease, border-color 160ms ease;
}

.contact-list a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.about-side {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--card);
}

.about-side h3 {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-side h3:not(:first-child) {
  margin-top: 26px;
}

.about-side > a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  transition: color 160ms ease;
}

.about-side > a:hover {
  color: var(--accent);
}

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 80px) 0;
  background:
    radial-gradient(700px 320px at 82% 30%, rgba(52, 211, 153, 0.16), transparent 65%),
    linear-gradient(150deg, #0b1526, #13243c);
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.cta-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.cta-account {
  color: var(--bright);
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.cta-id {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: clamp(44px, 5vw, 64px) 0 28px;
  background: #08101d;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
}

.footer-name {
  margin: 0 0 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.footer-tag {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12.5px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col h3 {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12.5px;
  transition: color 160ms ease;
}

.footer-col a:hover {
  color: var(--bright);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 11.5px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-meta a:hover {
  color: var(--bright);
  border-color: var(--bright);
}

/* ---------- 404 ---------- */
.hero-404 {
  min-height: 64vh;
  display: flex;
  align-items: center;
  padding-bottom: clamp(56px, 7vw, 88px);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .section-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    aspect-ratio: 16 / 9;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-side {
    position: static;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    height: auto;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
  }

  .brand-text small {
    display: none;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .nav a {
    padding: 11px 0 12px;
    font-size: 12.5px;
    letter-spacing: 0;
  }

  .nav a.is-active::after {
    bottom: 6px;
  }

  .header-cta {
    display: none;
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .sec-note {
    text-align: left;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .row-media {
    order: -1;
  }

  .row-media img {
    aspect-ratio: 16 / 9;
  }

  .card-person {
    flex-direction: column;
  }

  .person-media {
    flex: none;
  }

  .person-media img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .wechat-block {
    grid-template-columns: 1fr;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .wechat-qr {
    width: 132px;
    height: 132px;
  }

  .prose {
    font-size: 16px;
  }

  .person-head {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .section-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .stat strong {
    font-size: 22px;
  }

  .prose blockquote {
    padding-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
