:root {
  --bg: #e6eef0;
  --bg-elev: #f7fbfc;
  --ink: #163044;
  --muted: #5d7384;
  --line: #c5d4da;
  --navy: #163044;
  --mark: #c46a32;
  --mark-ink: #f7fbfc;
  --sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --header: 64px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--mark); outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header-inner, .wrap, .footer-row {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.site-header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 32px; width: auto; display: block; }
.brand-en { font-size: 13px; color: var(--muted); }
.nav { display: flex; gap: 20px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 14px; padding: 6px 0; }
.nav a.on, .nav a:hover { color: var(--mark); }

.site-main { padding: 36px 0 80px; }
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-meta a { color: var(--mark); }

.kicker {
  font-size: 13px;
  color: var(--mark);
  margin: 0 0 10px;
}
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.15; font-weight: 650; margin: 0 0 16px; }
.lead { font-size: 18px; max-width: 38rem; color: var(--muted); margin: 0 0 28px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }

.hero {
  position: relative;
  margin-top: -36px;
  overflow: visible;
}
.hero-tunnel {
  --tunnel: min(460px, 42vw);
  position: absolute;
  top: 50%;
  right: max(16px, calc(50% - 520px));
  width: var(--tunnel);
  height: var(--tunnel);
  transform: translateY(calc(-50% + 70px));
  pointer-events: none;
}
.hero-tunnel img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 78%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  container-type: inline-size;
  padding-top: 28px;
  padding-bottom: 8px;
}
.hero-text {
  --hero-title: min(clamp(34px, 5vw, 56px), 10cqi);
  --copy-width: calc(var(--hero-title) * 10);
  width: min(100%, var(--copy-width));
}
.hero-text h1 { font-size: var(--hero-title); }
.hero-text .lead,
.hero-text p { max-width: none; }
.slogan-line { display: block; white-space: nowrap; }
.hero-copy .lead { margin-bottom: 10px; }
.hero-copy .lead + p { margin-top: 0; margin-bottom: 22px; color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  background: var(--navy);
  color: var(--mark-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--mark); }
.btn.ghost:hover { color: var(--mark); }
.btn[disabled], .btn.disabled { opacity: 0.4; pointer-events: none; }

.section { margin-top: 76px; }
.section-label { font-size: 13px; color: var(--mark); }
.section h2 { margin: 6px 0 18px; font-size: 26px; font-weight: 650; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card, .news-card, .price-card {
  background: var(--bg-elev);
  border: 0;
  box-shadow: inset 3px 0 0 var(--mark);
  padding: 18px 18px 16px;
  text-decoration: none;
}
.card h3, .news-card h2, .news-card h3, .price-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 650; }
.card p, .news-card p, .price-card p { margin: 0; color: var(--muted); }

.mock {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  background: var(--bg-elev);
  padding: 18px;
}
.mock-label { font-size: 13px; color: var(--mark); }
.prompt { margin: 8px 0 0; font-size: 16px; }
.swatch {
  min-height: 160px;
  background:
    linear-gradient(160deg, transparent 62%, var(--mark) 62% 64%, transparent 64%),
    #d5e3e8;
}
.lineage { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--muted); }
.lineage span { color: var(--ink); }

.plain { margin: 0; padding-left: 18px; color: var(--muted); }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; }
.platforms span { padding: 6px 10px; background: var(--bg-elev); font-size: 14px; }
.platforms .first { color: var(--mark-ink); background: var(--mark); }

.price { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.price-card strong { display: block; margin: 8px 0; font-size: 28px; color: var(--mark); }

.news-grid, .news-list { display: grid; gap: 12px; }
.news-card { display: grid; grid-template-columns: 216px 1fr; gap: 14px; align-items: center; }
.news-card:not(:has(img)) { grid-template-columns: 1fr; }
.news-card:hover { background: #f0f6f8; }
.news-cover { width: 100%; height: 122px; object-fit: cover; background: #d5e3e8; display: block; }
.article-cover { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; margin: 12px 0 20px; background: #d5e3e8; }
.news-meta, .muted, .crumb { color: var(--muted); font-size: 13px; }
.crumb a { color: var(--mark); }

.news-layout { display: grid; grid-template-columns: 1fr 240px; gap: 28px; }
.aside-title { font-size: 13px; margin: 0 0 10px; color: var(--mark); font-weight: 650; }
.aside-link { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.aside-link:hover { color: var(--mark); }
.cats, .pager { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 22px; }
.cats a, .pager a { text-decoration: none; padding: 4px 12px; font-size: 13px; background: var(--bg-elev); }
.cats a.on { background: var(--mark); color: var(--mark-ink); }
.prose { font-size: 17px; }
.prose a { color: var(--mark); }
.rights { color: var(--muted); font-size: 13px; }

.release { margin-top: 16px; }
.release .btn { margin-top: 14px; }

@media (max-width: 800px) {
  .hero { margin-top: 0; }
  .hero-tunnel {
    --tunnel: min(70vw, 300px);
    top: 50%;
    right: auto;
    left: 50%;
    transform: translate(-50%, calc(-50% + 36px));
  }
  .hero-copy { padding-top: 16px; padding-bottom: 4px; }
  .grid, .mock, .price, .news-layout, .news-card { grid-template-columns: 1fr; }
  .news-cover { height: auto; aspect-ratio: 16 / 9; }
  .nav { gap: 14px; flex-wrap: wrap; }
  .site-header-inner { align-items: flex-start; padding-top: 14px; padding-bottom: 14px; flex-direction: column; }
}
