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

:root{
  --ink:#192617;
  --ink-2:#12201a;
  --neon:#87ff71;
  --sun:#ffce5c;
  --paper:#f2f9e8;
  --mute:#b7cbaa;
  --r:10px;
}

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

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

body{
  margin:0;
  background:var(--ink);
  color:#e6f3dc;
  font-family:'Plus Jakarta Sans',system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;
  font-size:17px;
  line-height:1.75;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:radial-gradient(rgba(135,255,113,.18) 1px,transparent 1px);
  background-size:22px 22px;
  opacity:.5;
}

img{max-width:100%;height:auto;display:block}

a{color:var(--sun)}

main,header,footer{position:relative;z-index:1}

section[id]{scroll-margin-top:118px}

/* ---------- 顶部条 ---------- */
.ticker{
  margin:0;
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:center;
  padding:6px 14px;
  background:var(--neon);
  color:var(--ink);
  font-size:16px;
  line-height:1.5;
  font-weight:700;
  letter-spacing:.06em;
  border-bottom:2px dashed var(--ink);
}

.tick-dot{
  width:12px;
  height:12px;
  flex:0 0 12px;
  background:var(--ink);
  clip-path:polygon(50% 0,100% 100%,0 100%);
}

/* ---------- 页头 ---------- */
.site-head{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(25,38,23,.92);
  backdrop-filter:blur(10px);
  border-bottom:3px solid var(--neon);
}

.head-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px clamp(12px,3vw,26px);
  max-width:1240px;
  margin:0 auto;
}

.brand-mark{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  background:var(--sun);
  border:3px solid var(--ink);
  border-radius:var(--r);
  color:var(--ink);
  text-decoration:none;
  transform:rotate(-6deg);
  transition:transform .18s ease,background .18s ease;
}

.brand-mark:hover{transform:rotate(0) scale(1.05);background:var(--neon)}
.mark-shape{
  width:16px;height:16px;background:var(--ink);
  clip-path:polygon(50% 0,100% 100%,0 100%);
}
.brand-mark img{width:26px;height:26px}

.site-head nav{flex:1 1 auto;min-width:0}

.site-head nav p{
  margin:0;
  display:flex;
  gap:6px;
  justify-content:flex-end;
  overflow-x:auto;
  scrollbar-width:none;
}
.site-head nav p::-webkit-scrollbar{display:none}

.site-head nav a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:8px 11px;
  color:var(--paper);
  font-size:16px;
  font-weight:500;
  text-decoration:none;
  border:2px solid transparent;
  border-radius:var(--r);
  white-space:nowrap;
  transition:background .16s ease,color .16s ease,transform .16s ease,border-color .16s ease;
}

.site-head nav a:hover,
.site-head nav a:focus-visible{
  background:var(--sun);
  color:var(--ink);
  border-color:var(--ink);
  transform:rotate(-1.5deg);
}

.site-head nav a.is-on{
  background:var(--neon);
  color:var(--ink);
  border-color:var(--ink);
}

/* ---------- 首屏 ---------- */
.hero{
  position:relative;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  overflow:hidden;
  background:
    radial-gradient(120% 90% at 85% 8%,#22422b 0%,#152219 58%,#101b14 100%);
  clip-path:polygon(0 0,100% 0,100% calc(100% - 96px),0 100%);
  padding-bottom:24px;
}

.hero-media{
  position:absolute;
  inset:0;
  z-index:0;
}

.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.42;
  filter:saturate(.75) contrast(1.05);
}

.hero-deco{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  mix-blend-mode:screen;
}

.hero-deco span{position:absolute;display:block;will-change:transform}

.hero-deco .tri{
  top:12%;
  left:8%;
  width:clamp(90px,16vw,190px);
  height:clamp(90px,16vw,190px);
  background:var(--neon);
  clip-path:polygon(50% 0,100% 100%,0 100%);
  opacity:.85;
}

.hero-deco .ring{
  right:10%;
  top:18%;
  width:clamp(120px,20vw,240px);
  height:clamp(120px,20vw,240px);
  border-radius:50%;
  border:6px dotted var(--sun);
  opacity:.85;
}

.hero-deco .wave{
  left:26%;
  bottom:22%;
  width:clamp(140px,26vw,300px);
  height:clamp(60px,10vw,110px);
  background:repeating-linear-gradient(90deg,var(--sun) 0 6px,transparent 6px 18px);
  border-radius:999px;
  opacity:.7;
}

.hero-deco .dotgrid{
  right:6%;
  bottom:10%;
  width:clamp(120px,20vw,220px);
  height:clamp(120px,20vw,220px);
  background-image:radial-gradient(var(--neon) 2px,transparent 2px);
  background-size:18px 18px;
  opacity:.45;
}

.hero-in{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1240px;
  margin-left:auto;
  text-align:right;
  padding:0 clamp(18px,5vw,60px) clamp(120px,16vh,180px);
}

.hero h1{
  margin:0 0 0 auto;
  max-width:18ch;
  font-size:clamp(2rem,7vw,4.4rem);
  line-height:1.06;
  letter-spacing:-.02em;
  font-weight:700;
  color:#fff;
  text-shadow:5px 5px 0 rgba(135,255,113,.45);
}

.hero h1::after{
  content:"";
  display:block;
  width:110px;
  height:14px;
  margin:18px 0 0 auto;
  background:var(--sun);
  clip-path:polygon(0 0,100% 30%,100% 100%,0 70%);
}

/* ---------- 正文布局 ---------- */
.wrap{
  max-width:1200px;
  margin:0 auto;
  padding:clamp(34px,6vw,68px) clamp(14px,3vw,28px) clamp(50px,8vw,90px);
}

.content-col{
  display:grid;
  grid-template-columns:minmax(0,1fr) 296px;
  gap:clamp(20px,3vw,38px);
  align-items:start;
}

/* ---------- 正文卡片 ---------- */
.prose{min-width:0}

.prose > section{
  position:relative;
  margin:0 0 26px;
  padding:clamp(18px,3vw,28px);
  background:rgba(255,255,255,.062);
  border:2px solid rgba(135,255,113,.32);
  border-radius:var(--r);
  backdrop-filter:blur(9px);
  box-shadow:0 18px 40px -30px rgba(0,0,0,.9);
}

.prose > section:nth-of-type(even){transform:rotate(-.32deg)}
.prose > section:last-child{margin-bottom:0}

.prose h2{
  margin:0 0 12px;
  font-size:clamp(1.22rem,2.4vw,1.55rem);
  line-height:1.32;
  letter-spacing:-.01em;
  color:var(--neon);
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.prose h2::before{
  content:"";
  flex:0 0 14px;
  height:14px;
  margin-top:.5em;
  background:var(--sun);
  clip-path:polygon(0 0,100% 50%,0 100%);
}

.prose h2 + p.subtitle,
.prose h2 + p.subhead,
.prose h2 + p.desc,
.prose h2 + p.lead{
  margin-top:-4px;
  color:var(--sun);
  font-size:16px;
}

.prose h3{
  margin:22px 0 8px;
  font-size:1.06rem;
  color:var(--paper);
}

.prose p{margin:0 0 14px}
.prose p:last-child{margin-bottom:0}

.prose ul,
.prose ol{margin:0 0 16px;padding-left:1.25em}
.prose li{margin-bottom:8px}
.prose li::marker{color:var(--neon)}

.prose a{
  color:var(--sun);
  text-decoration:underline;
  text-decoration-style:wavy;
  text-decoration-thickness:1.5px;
  text-underline-offset:3px;
}
.prose a:hover{background:rgba(255,206,92,.18)}

.prose strong{color:#fff}

.prose blockquote{
  margin:16px 0;
  padding:12px 16px;
  border-left:5px solid var(--neon);
  border-radius:0 var(--r) var(--r) 0;
  background:rgba(135,255,113,.09);
  color:var(--paper);
}

.prose time{
  display:inline-block;
  padding:2px 8px;
  background:rgba(255,206,92,.16);
  border:2px dotted rgba(255,206,92,.6);
  border-radius:8px;
  font-size:16px;
  color:var(--sun);
}

/* ---------- 侧栏 ---------- */
.side{
  position:sticky;
  top:112px;
  padding:20px 18px 22px;
  background:rgba(255,255,255,.07);
  border:2px dashed rgba(255,206,92,.6);
  border-radius:var(--r);
  backdrop-filter:blur(10px);
}

.side-title{
  margin:0 0 6px;
  font-size:1.05rem;
  letter-spacing:.02em;
  color:var(--paper);
}

.side .subtitle{
  margin:0 0 14px;
  font-size:16px;
  color:var(--sun);
  font-weight:700;
  letter-spacing:.05em;
}

.side-list{display:flex;flex-direction:column;gap:4px}

.side-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:44px;
  padding:6px 10px;
  color:var(--paper);
  font-size:16px;
  text-decoration:none;
  border-bottom:2px dotted rgba(135,255,113,.35);
  border-radius:8px;
  transition:background .16s ease,color .16s ease,padding-left .16s ease;
}

.side-link::after{content:"→";color:var(--neon);font-size:15px}

.side-link:hover{
  background:var(--neon);
  color:var(--ink);
  padding-left:14px;
}
.side-link:hover::after{color:var(--ink)}

/* ---------- 页脚 ---------- */
.site-foot{
  background:var(--sun);
  color:var(--ink);
  border-top:4px solid var(--ink);
  padding:clamp(32px,6vw,56px) max(16px,calc((100% - 1140px)/2)) 24px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px 24px;
  align-items:start;
}

.f-cta{
  grid-column:1/-1;
  margin:0 0 14px;
  font-size:clamp(1.5rem,5.5vw,2.6rem);
  font-weight:700;
  line-height:1.15;
  letter-spacing:-.02em;
}

.f-cta a{
  color:var(--ink);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  min-height:48px;
  padding-right:44px;
  background:linear-gradient(currentColor,currentColor) right .55em / 30px 3px no-repeat;
}

.f-cta a::after{
  content:"";
  margin-left:12px;
  width:22px;height:22px;
  background:var(--ink);
  clip-path:polygon(0 0,100% 50%,0 100%);
}

.f-col{
  margin:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.f-col a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:var(--ink);
  font-size:16px;
  text-decoration:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:3px;
}

.f-col a:hover{background:var(--neon)}

.f-legal{
  grid-column:1/-1;
  display:block;
  margin-top:18px;
  padding-top:14px;
  border-top:2px dotted rgba(25,38,23,.45);
  text-align:center;
  font-size:16px;
  letter-spacing:.08em;
  font-weight:700;
}

/* ---------- 断点 ---------- */
@media (max-width:900px){
  .content-col{grid-template-columns:minmax(0,1fr)}
  .side{position:static;order:2}
  .prose > section:nth-of-type(even){transform:none}
  .hero{clip-path:polygon(0 0,100% 0,100% calc(100% - 60px),0 100%)}
}

@media (max-width:640px){
  body{font-size:16px}
  .ticker{font-size:16px;padding:5px 10px}
  .head-row{padding:8px 10px;gap:8px}
  .brand-mark{width:42px;height:42px}
  .site-head nav a{padding:8px 9px}
  .hero-in{padding-bottom:110px}
  .hero-deco .wave{left:8%}
  .hero-deco .dotgrid{right:4%;bottom:6%}
  .site-foot{grid-template-columns:repeat(2,minmax(0,1fr))}
  .f-cta a{padding-right:0;background:none}
}

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

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