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

:root{
  --ink:#001e3c;
  --ink-2:#001227;
  --mint:#99ffcc;
  --neon:#00ff41;
  --text:#e2f7ee;
  --muted:#a6c8bf;
  --line:rgba(153,255,204,.18);
  --panel:rgba(10,48,72,.62);
  --r:10px;
  --shadow:0 12px 34px -16px rgba(0,10,24,.95);
}

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

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

body{
  margin:0;
  background-color:var(--ink);
  color:var(--text);
  font-family:"Roboto","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  font-size:17px;
  line-height:1.75;
  background-image:
    radial-gradient(circle at 10% 6%, rgba(0,255,65,.12), transparent 34%),
    radial-gradient(circle at 90% 16%, rgba(153,255,204,.13), transparent 38%),
    radial-gradient(circle at 46% 92%, rgba(0,255,65,.09), transparent 44%);
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.4;
  background-image:radial-gradient(circle, rgba(153,255,204,.16) 1.4px, transparent 1.5px);
  background-size:32px 32px;
  -webkit-mask-image:radial-gradient(circle at 50% 26%, #000 12%, transparent 74%);
  mask-image:radial-gradient(circle at 50% 26%, #000 12%, transparent 74%);
}

.stripe,.topbar,.anchorbar,main,.foot{position:relative;z-index:1}

img{max-width:100%}
a{color:var(--mint)}
:focus-visible{outline:2px solid var(--neon);outline-offset:3px}

.skip{
  position:absolute;
  left:10px;
  top:-64px;
  z-index:90;
  padding:10px 16px;
  border-radius:8px;
  background:var(--neon);
  color:#00160a;
  text-decoration:none;
  font-weight:700;
  transition:top .18s ease;
}
.skip:focus{top:8px}

.stripe{
  padding:7px 16px;
  background:linear-gradient(90deg, rgba(0,255,65,.2), rgba(153,255,204,.06) 55%, rgba(0,255,65,.16));
  border-bottom:1px solid rgba(0,255,65,.22);
  overflow:hidden;
  white-space:nowrap;
}
.stripe-run{
  display:block;
  text-align:center;
  font-size:16px;
  letter-spacing:.24em;
  color:#d8ffe8;
  text-overflow:ellipsis;
  overflow:hidden;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:10px clamp(16px,4vw,40px);
  border-bottom:1px solid var(--line);
  background:rgba(0,18,39,.55);
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  text-decoration:none;
  color:#f2fffa;
  font-weight:700;
  font-size:21px;
  letter-spacing:.04em;
}
.brand-img{
  width:38px;
  height:38px;
  border-radius:50%;
  object-fit:cover;
  display:block;
  border:1px solid rgba(153,255,204,.45);
}
.brand-name{
  border-bottom:2px solid rgba(0,255,65,.55);
  padding-bottom:2px;
}

.sheet{position:relative}
.sheet-btn{
  list-style:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(153,255,204,.35);
  background:rgba(153,255,204,.1);
  color:var(--mint);
  font-size:16px;
  letter-spacing:.12em;
}
.sheet-btn::-webkit-details-marker{display:none}
.sheet-body{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  z-index:70;
  width:min(80vw,320px);
  padding:14px;
  display:grid;
  gap:14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#012a4d;
  box-shadow:0 22px 44px -18px #000;
}
.sheet-group .gname{
  display:block;
  font-size:16px;
  color:var(--mint);
  letter-spacing:.16em;
  margin-bottom:4px;
}
.sheet-group .glinks{display:grid;gap:2px}
.sheet-group a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:6px 10px;
  border-radius:8px;
  text-decoration:none;
  color:var(--text);
}
.sheet-group a:hover{background:rgba(0,255,65,.14);color:#eaffef}

.anchorbar{
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  gap:8px;
  padding:9px clamp(12px,4vw,40px);
  overflow-x:auto;
  scrollbar-width:none;
  background:rgba(0,16,34,.94);
  border-bottom:1px solid var(--line);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.anchorbar::-webkit-scrollbar{display:none}
.chip{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:8px 16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(153,255,204,.06);
  color:var(--mint);
  font-size:16px;
  text-decoration:none;
  white-space:nowrap;
}
.chip:hover{border-color:rgba(0,255,65,.6);color:#eaffef}
.chip.on,
.rail-list a.on{background:rgba(0,255,65,.18);color:#eaffef;border-color:rgba(0,255,65,.6)}

main{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:clamp(20px,3vw,34px);
  padding:18px clamp(14px,4vw,40px) 52px;
}
.hero{order:1}
article{order:2}
.rail{order:3}

.hero{
  position:relative;
  display:grid;
  place-items:center;
  min-height:min(46vh,380px);
  padding:30px 16px;
  overflow:hidden;
  border-radius:calc(var(--r) + 8px);
  background:
    radial-gradient(120% 120% at 18% 8%, rgba(0,255,65,.16), transparent 58%),
    radial-gradient(120% 120% at 88% 92%, rgba(153,255,204,.16), transparent 60%);
}

.cell{
  position:absolute;
  width:clamp(104px,25vw,210px);
  aspect-ratio:1;
  overflow:hidden;
  border-radius:52% 48% 44% 56% / 54% 46% 54% 46%;
  background:linear-gradient(150deg, rgba(0,255,65,.3), rgba(153,255,204,.12));
  box-shadow:var(--shadow);
  border:1px solid rgba(153,255,204,.25);
  animation:morph 15s ease-in-out infinite;
}
.cell-a{left:-2%;top:6%;animation-delay:-3s}
.cell-b{right:-2%;bottom:4%;animation-delay:-9s}
.cell-a{transform:rotate(-4deg)}
.cell-b{transform:rotate(5deg)}
.hero-img{display:block;width:100%;height:100%;object-fit:cover}

.hero-core{
  position:relative;
  z-index:2;
  display:grid;
  justify-items:center;
  gap:14px;
  max-width:36ch;
  text-align:center;
}
.badge{
  display:inline-flex;
  align-items:center;
  padding:5px 16px;
  border-radius:999px;
  font-size:16px;
  letter-spacing:.18em;
  color:#e6fff0;
  border:1px solid rgba(0,255,65,.5);
  background:rgba(0,255,65,.16);
  animation:breathe 6s ease-in-out infinite;
}
.hero-title{
  margin:0;
  font-size:clamp(27px,6.6vw,50px);
  line-height:1.16;
  letter-spacing:-.01em;
  font-weight:700;
  color:#f4fffb;
  text-shadow:0 0 30px rgba(0,255,65,.3);
}

.rail{
  align-self:start;
  padding:16px 14px;
  border-radius:var(--r);
  border:1px solid var(--line);
  background:var(--panel);
  box-shadow:var(--shadow);
}
.rail-h{
  margin:0 0 10px;
  font-size:16px;
  letter-spacing:.2em;
  color:var(--mint);
  font-weight:500;
}
.rail-list{list-style:none;margin:0;padding:0;display:grid;gap:3px}
.rail-list a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:7px 10px;
  border-radius:8px;
  border:1px solid transparent;
  color:var(--text);
  font-size:16px;
  text-decoration:none;
}
.rail-list a:hover{background:rgba(153,255,204,.12);color:#eaffef}

article{
  counter-reset:sec;
  max-width:70ch;
  min-width:0;
  padding-bottom:20px;
}
.art-h{
  margin:0 0 8px;
  font-size:clamp(21px,3.4vw,29px);
  line-height:1.32;
  font-weight:700;
}
.subtitle{
  margin:0 0 24px;
  color:var(--muted);
  font-size:17px;
  padding-left:14px;
  border-left:3px solid rgba(0,255,65,.6);
}

article > section{
  counter-increment:sec;
  padding:clamp(28px,4.2vw,46px) 0;
  border-top:1px solid var(--line);
  scroll-margin-top:92px;
}
article > section:first-of-type{border-top:0;padding-top:6px}
article > section:nth-of-type(odd){
  background:radial-gradient(120% 90% at 100% 0, rgba(0,255,65,.07), transparent 62%);
}

article section h2{
  position:relative;
  margin:0 0 14px;
  font-size:clamp(20px,2.9vw,26px);
  line-height:1.36;
  font-weight:700;
  color:#f0fff8;
}
article section h2::before{
  content:"";
  display:inline-block;
  width:.55em;
  height:.55em;
  margin-right:.5em;
  border-radius:50%;
  background:var(--neon);
  box-shadow:0 0 12px var(--neon);
  vertical-align:middle;
}
article section h2::after{
  content:counter(sec,decimal-leading-zero);
  position:absolute;
  right:0;
  top:.1em;
  font-size:16px;
  font-weight:400;
  letter-spacing:.14em;
  color:rgba(153,255,204,.5);
}

article p{margin:0 0 16px}
article p:last-child{margin-bottom:0}
article ul,article ol{margin:0 0 18px;padding-left:1.3em}
article li{margin:0 0 9px}
article strong{color:var(--mint)}
article a{color:var(--neon);text-decoration-thickness:1px;text-underline-offset:3px}
article blockquote{
  margin:0 0 18px;
  padding:16px 18px;
  border-radius:var(--r);
  border-left:3px solid var(--neon);
  background:rgba(153,255,204,.08);
  box-shadow:var(--shadow);
}
article blockquote p:last-child{margin:0}
article figure{
  margin:0 0 18px;
  padding:12px;
  border-radius:var(--r);
  background:var(--panel);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
article table{width:100%;border-collapse:collapse;margin:0 0 18px;font-size:16px}
article th,article td{border-bottom:1px solid var(--line);padding:10px;text-align:left}
article th{color:var(--mint);font-weight:500}

.foot{
  margin-top:26px;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg, rgba(0,20,42,.55), rgba(0,10,24,.95));
}
.foot-inner{
  display:flex;
  flex-wrap:wrap;
  gap:26px;
  justify-content:space-between;
  padding:28px clamp(16px,4vw,40px);
}
.foot-nav dl{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(128px,1fr));
  gap:18px;
  margin:0;
}
.foot-nav dt{
  color:var(--mint);
  font-size:16px;
  letter-spacing:.18em;
  margin-bottom:6px;
}
.foot-nav dd{margin:0;display:grid;gap:1px}
.foot-nav dd a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:var(--text);
  text-decoration:none;
  font-size:16px;
}
.foot-nav dd a:hover,.foot-list a:hover{color:var(--neon)}
.foot-addr{
  font-style:normal;
  display:grid;
  gap:2px;
  color:#d7f3e7;
}
.foot-brand{font-weight:700;letter-spacing:.08em}
.foot-host{color:var(--muted);font-size:16px}
.foot-list{
  list-style:none;
  margin:8px 0 0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:4px 18px;
}
.foot-list a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:var(--text);
  text-decoration:none;
  font-size:16px;
}
.foot-base{
  margin:0;
  padding:12px clamp(16px,4vw,40px) 16px;
  border-top:1px solid rgba(153,255,204,.12);
  text-align:center;
  color:var(--muted);
  font-size:16px;
}

.js article > section{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .6s ease, transform .6s ease;
}
.js article > section.in{opacity:1;transform:none}

@keyframes morph{
  0%,100%{border-radius:52% 48% 44% 56% / 54% 46% 54% 46%}
  50%{border-radius:44% 56% 58% 42% / 46% 58% 42% 54%}
}
@keyframes breathe{
  0%,100%{transform:scale(1);opacity:.95}
  50%{transform:scale(1.05);opacity:1}
}

@media (max-width:719px){
  .hero{min-height:40vh;padding:24px 12px}
  .cell{width:96px;opacity:.85}
  .cell-a{top:4%}
  .cell-b{bottom:3%}
  .foot-inner{flex-direction:column;gap:20px}
}

@media (min-width:920px){
  main{
    grid-template-columns:15.5rem minmax(0,1fr);
    grid-template-areas:
      "hero hero"
      "rail art";
    align-items:start;
  }
  .hero{grid-area:hero}
  .rail{grid-area:rail;position:sticky;top:76px}
  article{grid-area:art}
}

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

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