@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --deep: #0F1020;
  --panel: #171A31;
  --coral: #E8623C;
  --ink: #F4F1EA;
  --line: rgba(244, 241, 234, .15);
  --muted: rgba(244, 241, 234, .72);
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  padding-bottom: 104px;
  overflow-x: hidden;
}

a { color: #F2A98C; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
img { max-width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 视差背景层 */
.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.stage i { position: absolute; display: block; will-change: transform; }
.stage .b1 {
  inset: -18% -12% auto -12%; height: 74%;
  background: radial-gradient(58% 52% at 16% 6%, rgba(232, 98, 60, .32), transparent 68%);
  transform: translate3d(0, calc(var(--s, 0) * .05px), 0);
}
.stage .b2 {
  inset: auto -22% -22% -22%; height: 78%;
  background: radial-gradient(50% 52% at 84% 84%, rgba(124, 116, 220, .26), transparent 70%);
  transform: translate3d(0, calc(var(--s, 0) * -.07px), 0);
}
.stage .b3 {
  inset: 26% 30% auto 30%; height: 44%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(244, 241, 234, .07), transparent 72%);
  transform: translate3d(0, calc(var(--s, 0) * .12px), 0);
}

/* 角落品牌图标 */
.mast { position: fixed; top: 14px; left: 14px; z-index: 50; }
.mast a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 10px; background: var(--coral); color: var(--deep);
  font-weight: 800; font-size: 16px; text-decoration: none; overflow: hidden;
}
.mast img { width: 100%; height: 100%; object-fit: cover; }

/* Hero */
.hero {
  position: relative; z-index: 1; min-height: 70vh; perspective: 1px;
  display: grid; grid-template-rows: 1fr auto;
  padding: 104px 20px 0; overflow: hidden;
}
.hero-copy {
  align-self: center; text-align: center; max-width: 780px; margin: 0 auto;
  transform: translate3d(0, calc(var(--s, 0) * -.1px), 0); will-change: transform;
}
.hero h1 {
  margin: 0 0 16px; font-size: clamp(32px, 7.2vw, 60px);
  line-height: 1.14; letter-spacing: -.02em;
}
.lede {
  max-width: 560px; margin: 0 auto; color: var(--muted);
  font-size: clamp(16px, 2.2vw, 19px); line-height: 1.65;
}
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; margin-top: 26px; padding: 0 26px;
  background: var(--coral); color: #16100C; font-weight: 700;
  border-radius: 10px; text-decoration: none;
}
.hero-media {
  position: relative; z-index: 1; height: clamp(150px, 26vh, 230px);
  margin-top: 36px; overflow: hidden;
  background: linear-gradient(180deg, rgba(232, 98, 60, .2), rgba(15, 16, 32, .92));
}
.hero-media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transform: translate3d(0, calc(var(--s, 0) * .04px), 0) scale(1.12);
  will-change: transform;
}
.hero-band {
  position: absolute; left: 0; right: 0; bottom: 0; height: 78px; z-index: 2;
  background: linear-gradient(100deg, #E8623C, #A63D25);
  clip-path: polygon(0 44%, 100% 0, 100% 100%, 0 100%);
}

/* 主体三段式 */
main {
  position: relative; z-index: 1; max-width: 1160px; margin: 0 auto;
  padding: 64px 20px 40px; display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 44px; align-items: start;
}
div { min-width: 0; }
div > article {
  background: var(--panel); border-radius: 10px;
  padding: 26px 24px 20px; margin-bottom: 20px;
}
div > article:last-child { margin-bottom: 0; }
article[id] { scroll-margin-top: 84px; }

h1, h2, h3 { line-height: 1.26; letter-spacing: -.01em; }
div h2 { font-size: clamp(21px, 3.2vw, 29px); margin: 0 0 10px; }
div h3 { font-size: 19px; margin: 22px 0 10px; }
hr { border: 0; height: 1px; background: var(--line); margin: 0 0 18px; }
p { margin: 0 0 14px; }
div ul, div ol { margin: 0 0 16px; padding-left: 1.25rem; }
div li { margin-bottom: 6px; }
div a { text-decoration: underline; text-underline-offset: 3px; }
div img { border-radius: 8px; height: auto; }
div blockquote {
  margin: 0 0 16px; padding: 4px 0 4px 16px;
  border-left: 3px solid var(--coral); color: var(--muted);
}

/* 侧栏 */
.side {
  position: sticky; top: 82px; background: var(--panel);
  border-radius: 10px; padding: 22px 20px;
}
.side h2 { font-size: 18px; margin: 0 0 10px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a {
  display: flex; align-items: center; min-height: 40px;
  color: var(--ink); text-decoration: none; font-size: 16px;
}
.side-list a:hover { color: var(--coral); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.side-list li { animation: rise .5s ease both; }
.side-list li:nth-child(1) { animation-delay: .05s; }
.side-list li:nth-child(2) { animation-delay: .11s; }
.side-list li:nth-child(3) { animation-delay: .17s; }
.side-list li:nth-child(4) { animation-delay: .23s; }
.side-list li:nth-child(5) { animation-delay: .29s; }

/* 页脚 */
footer { position: relative; z-index: 1; background: #0A0B15; border-top: 1px solid var(--line); margin-top: 56px; }
.foot-grid {
  max-width: 1160px; margin: 0 auto; padding: 52px 20px 36px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px;
}
address { font-style: normal; display: block; margin-bottom: 18px; }
.foot-brand { display: block; font-weight: 800; font-size: 19px; margin-bottom: 6px; }
.foot-host { display: block; color: var(--muted); font-size: 15px; word-break: break-all; }
.sub { display: flex; gap: 8px; flex-wrap: wrap; }
.sub input {
  flex: 1 1 140px; min-height: 44px; padding: 0 12px; font: inherit; font-size: 16px;
  border-radius: 10px; border: 1px solid var(--line); background: #121426; color: var(--ink);
}
.sub button {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px;
  background: var(--coral); color: #16100C; font: inherit; font-weight: 700; cursor: pointer;
}
.foot-grid dl { margin: 0; }
.foot-grid dt { margin: 0; }
.foot-grid dd { margin: 0; }
.foot-grid nav a, .foot-grid dt a {
  display: flex; align-items: center; min-height: 40px;
  color: var(--muted); text-decoration: none; font-size: 16px;
}
.foot-grid dt a { color: var(--ink); font-weight: 700; }
.foot-grid nav a:hover, .foot-links a:hover { color: var(--coral); }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a {
  display: flex; align-items: center; min-height: 40px;
  color: var(--muted); text-decoration: none; font-size: 16px;
}
.foot-base {
  max-width: 1160px; margin: 0 auto; padding: 14px 20px 26px;
  border-top: 1px solid var(--line); display: flex;
  justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 15px; color: var(--muted);
}
.foot-base p { margin: 0; }
.foot-base a { color: var(--muted); display: flex; align-items: center; min-height: 40px; text-decoration: none; }

/* 底部固定条 */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; align-items: center;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 11, 21, .94); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.dock-btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; border: 0; border-radius: 10px;
  background: #191C33; color: var(--ink); text-decoration: none;
  font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
}
.dock-burger { background: var(--coral); color: #16100C; }

/* 全屏遮罩菜单 */
.drawer {
  position: fixed; inset: 0; z-index: 65;
  background: rgba(15, 16, 32, .97); backdrop-filter: blur(8px);
  display: grid; align-content: center; justify-items: center; gap: 26px;
  padding: 80px 24px 120px;
  visibility: hidden; opacity: 0;
  transition: opacity .28s ease, visibility .28s ease;
}
.drawer[data-open="1"] { visibility: visible; opacity: 1; }
.drawer-nav ol { list-style: none; margin: 0; padding: 0; text-align: center; }
.drawer-nav li { margin: 2px 0; }
.drawer-nav a {
  display: block; padding: 12px 18px; min-height: 48px;
  font-size: clamp(18px, 4.6vw, 24px); font-weight: 700;
  color: var(--ink); text-decoration: none;
}
.drawer-nav a:hover { color: var(--coral); }
.drawer-x {
  min-height: 44px; padding: 0 22px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent;
  color: var(--ink); font: inherit; cursor: pointer;
}

/* 滚动触发 */
html.reveal div > article {
  opacity: 0; transform: translateY(26px);
  transition: opacity .55s ease, transform .55s ease;
}
html.reveal div > article.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  main { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 44px; }
  .side { position: static; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero { padding-top: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

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