@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root{
  --ink:#0E1014;
  --slate:#2A303A;
  --amber:#E0A052;
  --line:rgba(224,160,82,.24);
  --hair:rgba(255,255,255,.07);
  --txt:#dfe3ea;
  --mute:#98a0ad;
  --pad:clamp(18px,4vw,44px);
  --max:1280px;
}

*,*::before,*::after{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  background:var(--ink);
  color:var(--txt);
  font-family:Inter,system-ui,-apple-system,'Segoe UI','PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  font-size:17px;
  line-height:1.75;
  font-weight:400;
  letter-spacing:.005em;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(70% 45% at 82% -8%,rgba(224,160,82,.10),transparent 70%),
    radial-gradient(50% 40% at 0% 100%,rgba(42,48,58,.85),transparent 72%);
}

img{max-width:100%}
a{color:inherit}

h1,h2,h3,h4{
  font-weight:600;
  letter-spacing:-.015em;
  line-height:1.25;
  margin:0;
}

a:focus-visible,
button:focus-visible{
  outline:2px solid var(--amber);
  outline-offset:3px;
}

/* ---------- 头部 ---------- */
.top{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(14,16,20,.86);
  backdrop-filter:blur(12px) saturate(120%);
  border-bottom:1px solid var(--hair);
}

.brandrow{
  padding:14px var(--pad) 0;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:40px;
  text-decoration:none;
  color:#fff;
}

.brand .mark{
  width:26px;
  height:26px;
  border-radius:3px;
  display:inline-block;
  object-fit:cover;
  background:linear-gradient(150deg,var(--amber),#8d5f27 70%,var(--slate));
}

.brandtxt{
  font-size:1.08rem;
  font-weight:600;
  letter-spacing:.22em;
}

.menurow{
  display:flex;
  align-items:center;
  gap:16px;
  padding:6px var(--pad) 12px;
}

.burger{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:10px 16px;
  font:inherit;
  font-size:.82rem;
  letter-spacing:.24em;
  color:var(--amber);
  background:transparent;
  border:1px solid var(--line);
  border-radius:999px;
  cursor:pointer;
  transition:background .25s ease,color .25s ease,border-color .25s ease;
}

.burger .bars{
  display:inline-flex;
  flex-direction:column;
  gap:4px;
  width:18px;
}

.burger .bars i{
  display:block;
  height:1px;
  background:currentColor;
  transition:transform .28s ease,opacity .2s ease;
}

.burger:hover{
  background:rgba(224,160,82,.12);
}

body.menu-open .burger .bars i:first-child{transform:translateY(2.5px) rotate(45deg)}
body.menu-open .burger .bars i:last-child{transform:translateY(-2.5px) rotate(-45deg)}

.rule{
  flex:1;
  height:1px;
  background:linear-gradient(90deg,var(--line),rgba(255,255,255,.03));
}

/* ---------- 骨架 ---------- */
.shell{
  position:relative;
  z-index:1;
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--pad);
  display:grid;
  grid-template-columns:246px minmax(0,1fr);
  gap:clamp(20px,3.4vw,52px);
  align-items:start;
}

/* ---------- 侧栏 ---------- */
.rail{
  position:sticky;
  top:132px;
  padding:28px 18px 30px 0;
  border-right:1px solid var(--hair);
  max-height:calc(100vh - 160px);
  overflow-y:auto;
  transition:opacity .3s ease,transform .3s ease,visibility .3s;
}

.rail-h{
  font-size:.74rem;
  letter-spacing:.3em;
  color:var(--amber);
  margin-bottom:14px;
}

.rail-h span::before{
  content:"";
  display:inline-block;
  width:20px;
  height:1px;
  margin-right:9px;
  vertical-align:middle;
  background:var(--amber);
}

.rail-list{
  list-style:none;
  margin:0;
  padding:0;
}

.rail-list a{
  display:flex;
  align-items:baseline;
  gap:10px;
  min-height:44px;
  padding:12px 6px 12px 0;
  text-decoration:none;
  color:var(--mute);
  font-size:.93rem;
  border-bottom:1px dashed var(--hair);
  transition:color .22s ease,transform .22s ease;
}

.rail-list .num{
  font-size:.72rem;
  letter-spacing:.14em;
  color:var(--amber);
  opacity:.66;
}

.rail-list a:hover,
.rail-list a:focus-visible{
  color:#fff;
  transform:translateX(4px);
}

body.menu-open .rail{
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  z-index:55;
  max-height:none;
  padding:126px var(--pad) 48px;
  overflow-y:auto;
  background:rgba(11,13,17,.975);
  backdrop-filter:blur(6px);
  border-right:0;
}

body.menu-open .rail-list{
  max-width:720px;
}

body.menu-open .rail-list a{
  font-size:1.32rem;
  min-height:56px;
  padding:16px 0;
  border-bottom:1px solid var(--hair);
}

body.menu-open{overflow:hidden}

/* ---------- 首屏 ---------- */
.wrap{
  padding:clamp(18px,2.6vw,30px) 0 0;
  min-width:0;
}

.hero{
  position:relative;
  overflow:hidden;
  min-height:70vh;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  padding:clamp(26px,5vw,64px) 0 clamp(24px,4vw,48px);
  border-bottom:1px solid var(--line);
}

.hero-media{
  position:absolute;
  inset:-14% 0;
  z-index:0;
  background:
    radial-gradient(58% 52% at 76% 78%,rgba(224,160,82,.20),transparent 72%),
    linear-gradient(155deg,var(--slate),var(--ink) 62%);
  will-change:transform;
}

.hero-img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.86) contrast(1.06) brightness(.9);
}

.hero-veil{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(198deg,rgba(14,16,20,.22) 0%,rgba(14,16,20,.72) 54%,var(--ink) 100%),
    linear-gradient(90deg,rgba(14,16,20,.55),transparent 62%);
}

.badge{
  position:absolute;
  top:clamp(18px,4vw,42px);
  right:0;
  z-index:2;
  padding:8px 17px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:.76rem;
  letter-spacing:.26em;
  color:var(--amber);
  background:rgba(14,16,20,.46);
  backdrop-filter:blur(8px);
}

.hero-copy{
  position:relative;
  z-index:2;
  max-width:36ch;
  text-align:right;
}

.hero h1{
  font-size:clamp(2rem,4.6vw,3.3rem);
  line-height:1.14;
  letter-spacing:-.03em;
  color:#fff;
  text-wrap:balance;
}

.lede{
  margin:16px 0 0;
  color:var(--mute);
  font-size:.98rem;
  line-height:1.7;
  font-weight:300;
}

/* ---------- 正文 ---------- */
.body{
  min-width:0;
}

.piece{
  display:block;
}

.piece > div{
  position:relative;
  padding:clamp(32px,5vw,66px) 0;
  border-top:1px solid var(--hair);
  scroll-margin-top:140px;
}

.piece > div:first-child{
  border-top:0;
  padding-top:clamp(30px,4vw,52px);
}

.piece > div::before{
  content:"";
  position:absolute;
  left:-16px;
  top:clamp(32px,5vw,66px);
  width:2px;
  height:28px;
  background:var(--amber);
  opacity:.8;
}

.piece > div.rv{
  opacity:0;
  transform:translateY(30px);
  transition:opacity .72s cubic-bezier(.2,.72,.2,1),transform .72s cubic-bezier(.2,.72,.2,1);
}

.piece > div.rv.in{
  opacity:1;
  transform:none;
}

.piece h2{
  font-size:clamp(1.36rem,2.6vw,1.92rem);
  color:#fff;
  margin:0 0 .62em;
}

.piece h2 span{
  position:relative;
  display:inline;
  padding-bottom:.16em;
  background-image:linear-gradient(var(--amber),var(--amber));
  background-repeat:no-repeat;
  background-size:34px 2px;
  background-position:0 100%;
}

.piece h3{
  font-size:1.1rem;
  color:var(--amber);
  margin:1.6em 0 .5em;
  letter-spacing:.01em;
}

.piece h3 span{
  border-left:2px solid var(--line);
  padding-left:10px;
}

.piece p{
  margin:0 0 1.15em;
  max-width:68ch;
  color:#cfd6e0;
}

.piece a{
  color:var(--amber);
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-thickness:1px;
  padding:4px 1px;
  transition:color .2s ease;
}

.piece a:hover{color:#fff}

.piece ul,
.piece ol{
  margin:0 0 1.25em;
  padding-left:1.25em;
  max-width:66ch;
}

.piece li{margin-bottom:.5em}

.piece li::marker{color:var(--amber)}

.piece blockquote{
  margin:0 0 1.3em;
  padding:18px 22px;
  border:1px solid var(--line);
  border-left:3px solid var(--amber);
  border-radius:10px;
  background:rgba(42,48,58,.34);
  color:#d8dfe8;
}

.piece blockquote p:last-child{margin-bottom:0}

.piece img{
  height:auto;
  border-radius:10px;
  border:1px solid var(--hair);
}

.piece figure{
  margin:0 0 1.4em;
  padding:12px;
  border:1px solid var(--hair);
  border-radius:10px;
}

.piece figcaption{
  font-size:.85rem;
  color:var(--mute);
  padding-top:8px;
}

.piece table{
  display:block;
  width:100%;
  overflow-x:auto;
  border-collapse:collapse;
  font-size:.94rem;
  margin-bottom:1.3em;
}

.piece th,
.piece td{
  border:1px solid var(--hair);
  padding:10px 12px;
  text-align:left;
}

.piece th{background:rgba(42,48,58,.5);color:#fff}

.piece hr{
  border:0;
  border-top:1px solid var(--hair);
  margin:2em 0;
}

/* ---------- 页脚 ---------- */
.foot{
  position:relative;
  z-index:1;
  max-width:var(--max);
  margin:clamp(44px,6vw,86px) auto 0;
  padding:clamp(28px,4vw,46px) var(--pad) 34px;
  border-top:1px solid var(--line);
  display:flex;
  flex-wrap:wrap;
  gap:clamp(18px,3vw,42px);
  align-items:flex-start;
}

.fcol{
  min-width:0;
}

.fbrand{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  font-size:1rem;
  font-weight:600;
  letter-spacing:.22em;
  color:#fff;
  text-decoration:none;
}

.foot h2{
  font-size:.72rem;
  letter-spacing:.28em;
  color:var(--amber);
  margin-bottom:8px;
}

.foot h2 span::before{
  content:"";
  display:inline-block;
  width:14px;
  height:1px;
  margin-right:8px;
  vertical-align:middle;
  background:var(--amber);
}

.foot nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:4px 18px;
}

.foot nav a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  font-size:.9rem;
  color:var(--mute);
  text-decoration:none;
  transition:color .2s ease;
}

.foot nav a:hover{color:var(--amber)}

.fcol-cta{
  flex:1 1 250px;
}

.cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:52px;
  padding:14px 22px;
  border:1px solid var(--amber);
  border-radius:10px;
  color:var(--amber);
  font-size:1.02rem;
  letter-spacing:.16em;
  text-decoration:none;
  transition:background .25s ease,color .25s ease,transform .25s ease;
}

.cta::after{
  content:"→";
  font-size:1.1rem;
  transition:transform .25s ease;
}

.cta:hover{
  background:var(--amber);
  color:var(--ink);
}

.cta:hover::after{transform:translateX(5px)}

.fcol-legal{
  margin-left:auto;
  align-self:flex-end;
}

.fcol-legal p{
  margin:0;
  font-size:.82rem;
  letter-spacing:.1em;
  color:#6f7885;
  min-height:40px;
  display:flex;
  align-items:center;
}

/* ---------- 断点 ---------- */
@media (max-width:980px){
  .shell{
    grid-template-columns:minmax(0,1fr);
    gap:0;
  }

  .rail{
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index:55;
    max-height:none;
    padding:126px var(--pad) 48px;
    overflow-y:auto;
    background:rgba(11,13,17,.975);
    border-right:0;
    opacity:0;
    visibility:hidden;
    transform:translateY(-10px);
  }

  body.menu-open .rail{
    opacity:1;
    visibility:visible;
    transform:none;
  }

  .rail-list{max-width:680px}

  .rail-list a{
    font-size:1.24rem;
    min-height:56px;
    padding:16px 0;
    border-bottom:1px solid var(--hair);
  }

  .fcol-legal{margin-left:0}
}

@media (max-width:640px){
  body{font-size:16.5px}

  .hero{min-height:64vh}

  .hero-copy{max-width:none}

  .badge{
    top:14px;
    font-size:.7rem;
    padding:6px 13px;
  }

  .piece > div::before{left:-10px}

  .foot{
    flex-direction:column;
    align-items:stretch;
    gap:22px;
  }

  .fcol-cta{order:-1}

  .foot nav ul{gap:2px 16px}

  .fcol-legal{align-self:flex-start}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important;animation:none!important}
  .hero-media{transform:none!important}
  .piece > div.rv{opacity:1;transform:none}
}

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