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

:root{
  --ink:#192617;
  --ink-deep:#0d150c;
  --ink-soft:#16210f;
  --neon:#87ff71;
  --cyan:#01cdfe;
  --pink:#ff71ce;
  --violet:#b967ff;
  --paper:#eefbe6;
  --rail:284px;
  --r:28px;
  --font:"Outfit","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,-apple-system,sans-serif;
}

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

*{box-sizing:border-box;}

body{
  margin:0;
  padding-top:36px;
  font-family:var(--font);
  font-size:17px;
  line-height:1.78;
  color:var(--paper);
  overflow-x:hidden;
  background:
    radial-gradient(120% 70% at 88% 0%, rgba(255,113,206,.22), transparent 62%),
    radial-gradient(90% 60% at 0% 100%, rgba(1,205,254,.18), transparent 60%),
    linear-gradient(180deg,#1c2c19 0%, var(--ink) 55%, var(--ink-deep) 100%);
  background-attachment:fixed;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:1;
  background:
    repeating-linear-gradient(0deg, rgba(135,255,113,.055) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(1,205,254,.05) 0 1px, transparent 1px 72px);
  mix-blend-mode:screen;
  opacity:.75;
}

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

a{color:var(--neon);}

:focus-visible{outline:3px solid var(--cyan);outline-offset:2px;}

/* top thin bar */
.topline{
  position:fixed;
  top:0;left:0;right:0;
  height:36px;
  z-index:70;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 16px;
  font-size:13px;
  letter-spacing:.2em;
  color:var(--neon);
  text-transform:uppercase;
  background:linear-gradient(90deg, rgba(135,255,113,.16), rgba(1,205,254,.16) 50%, rgba(185,103,255,.16));
  border-bottom:1px solid rgba(135,255,113,.34);
  backdrop-filter:blur(8px);
}

.topline-tag{
  width:10px;height:10px;border-radius:50%;
  background:var(--neon);
  box-shadow:0 0 12px var(--neon);
  flex:0 0 auto;
}

.topline-txt{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* fixed left rail */
.rail{
  position:fixed;
  top:36px;left:0;bottom:0;
  width:var(--rail);
  z-index:60;
  display:flex;
  flex-direction:column;
  gap:24px;
  padding:24px 18px 30px;
  overflow-y:auto;
  border-right:1px solid rgba(135,255,113,.26);
  background:linear-gradient(180deg, var(--ink-soft), #101a10 68%, var(--ink-deep));
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  min-height:48px;
}

.brand-mark{
  width:44px;height:44px;
  flex:0 0 auto;
  border-radius:15px;
  display:block;
  object-fit:cover;
  background:linear-gradient(140deg, var(--pink), var(--violet) 45%, var(--cyan));
  box-shadow:0 0 20px rgba(1,205,254,.45);
}

.brand-txt{
  font-size:18px;
  font-weight:900;
  line-height:1.2;
  letter-spacing:.05em;
  color:var(--neon);
  text-shadow:0 0 14px rgba(135,255,113,.6);
}

.rail nav{margin-top:2px;}

.rail nav p{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:0;
}

.rail nav a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:10px 16px;
  font-size:16px;
  font-weight:600;
  line-height:1.4;
  text-decoration:none;
  color:var(--paper);
  border-radius:999px;
  border:1px solid rgba(1,205,254,.26);
  background:rgba(255,255,255,.055);
  transition:background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.rail nav a:hover,
.rail nav a:focus-visible{
  background:var(--neon);
  color:var(--ink);
  transform:translateX(3px);
  box-shadow:0 0 0 3px rgba(135,255,113,.22), 0 8px 24px rgba(135,255,113,.32);
}

.rail nav a.is-on{
  background:linear-gradient(100deg, var(--neon), var(--cyan));
  color:var(--ink);
  box-shadow:0 0 18px rgba(1,205,254,.45);
}

/* main */
main{
  margin-left:var(--rail);
  padding:32px 0 0;
  position:relative;
  z-index:2;
}

.hero{
  position:relative;
  min-height:45vh;
  height:45vh;
  margin:0 40px;
  border-radius:var(--r);
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  padding:28px;
  background:linear-gradient(160deg, #ff71ce 0%, #01cdfe 46%, #192617 100%);
  isolation:isolate;
}

.hero-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.08);
  will-change:transform;
  z-index:-2;
}

.hero-veil{
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(165deg, rgba(255,113,206,.62), rgba(1,205,254,.5) 44%, rgba(25,38,23,.92));
  mix-blend-mode:multiply;
}

.hero-badge{
  position:absolute;
  top:20px;right:20px;
  padding:8px 16px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ink);
  background:var(--neon);
  border-radius:999px;
  box-shadow:0 0 24px rgba(135,255,113,.6);
  z-index:3;
}

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

.hero-copy h1{
  margin:0;
  font-size:clamp(30px, 4.6vw, 58px);
  line-height:1.06;
  font-weight:900;
  letter-spacing:.01em;
  color:#fff;
  text-shadow:0 0 22px rgba(255,113,206,.85), 0 4px 0 rgba(25,38,23,.55);
}

/* doc grid */
.doc{
  display:grid;
  grid-template-columns:250px minmax(0,1fr) 208px;
  gap:36px;
  align-items:start;
  padding:52px 40px 72px;
}

.doc-aside{
  position:sticky;
  top:60px;
  padding:22px 18px;
  border-radius:var(--r);
  background:rgba(255,255,255,.06);
}

.aside-h{
  margin:0;
  font-size:15px;
  font-weight:700;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--cyan);
}

.doc-aside hr{
  margin:12px 0 16px;
  height:2px;
  border:0;
  background:linear-gradient(90deg, var(--cyan), transparent);
}

.aside-list{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.aside-list a{
  display:block;
  padding:9px 4px;
  min-height:40px;
  font-size:16px;
  line-height:1.5;
  color:var(--paper);
  text-decoration:none;
  border-bottom:1px dashed rgba(135,255,113,.28);
}

.aside-list a:hover,
.aside-list a:focus-visible{color:var(--neon);}

/* body copy */
.doc-body{
  min-width:0;
  max-width:74ch;
  overflow-wrap:anywhere;
}

.doc-body section[id],
aside[id],
section[id]{scroll-margin-top:64px;}

.doc-body section + section{margin-top:52px;}

.doc-body h2{
  margin:48px 0 12px;
  font-size:clamp(23px, 2.6vw, 32px);
  line-height:1.24;
  font-weight:900;
  letter-spacing:.01em;
  color:var(--neon);
  text-shadow:0 0 16px rgba(135,255,113,.4);
}

.doc-body section > h2:first-child{margin-top:0;}

.doc-body h3{
  margin:32px 0 10px;
  font-size:19px;
  line-height:1.4;
  font-weight:700;
  color:var(--cyan);
}

hr{
  height:2px;
  border:0;
  background:linear-gradient(90deg, var(--neon), var(--cyan) 42%, transparent);
  margin:12px 0 24px;
}

.doc-body p{margin:0 0 18px;}

.doc-body ul,
.doc-body ol{
  margin:0 0 20px;
  padding-left:22px;
}

.doc-body li{margin:0 0 8px;}

.doc-body li::marker{color:var(--neon);}

.doc-body blockquote{
  margin:0 0 22px;
  padding:16px 20px;
  border-left:4px solid var(--pink);
  border-radius:0 18px 18px 0;
  background:rgba(255,113,206,.1);
  color:var(--paper);
}

.doc-body blockquote p:last-child{margin:0;}

.doc-body a{
  color:var(--cyan);
  text-decoration:underline;
  text-decoration-color:rgba(1,205,254,.55);
  text-underline-offset:3px;
}

.doc-body a:hover{color:var(--neon);}

.doc-body strong{color:var(--neon);font-weight:700;}

.doc-body img{
  border-radius:20px;
  margin:0 0 20px;
}

.doc-body figure{margin:0 0 22px;}

.doc-body figcaption{
  font-size:14px;
  letter-spacing:.1em;
  color:rgba(238,251,230,.68);
  padding-top:8px;
}

.doc-body table{
  width:100%;
  border-collapse:collapse;
  margin:0 0 22px;
  font-size:16px;
}

.doc-body th,
.doc-body td{
  padding:10px 12px;
  text-align:left;
  border-bottom:1px solid rgba(1,205,254,.24);
}

.doc-body th{
  color:var(--ink);
  background:linear-gradient(90deg, var(--neon), var(--cyan));
}

.doc-body code{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:15px;
  padding:2px 6px;
  border-radius:6px;
  background:rgba(135,255,113,.14);
}

/* side figure */
.doc-fig{
  position:sticky;
  top:60px;
  margin:0;
}

.doc-fig img{
  width:100%;
  border-radius:var(--r);
  filter:hue-rotate(-6deg) saturate(1.15);
  box-shadow:0 18px 44px rgba(0,0,0,.45);
}

.doc-fig figcaption{
  margin-top:10px;
  font-size:13px;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--cyan);
}

/* reveal */
[data-reveal]{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s ease, transform .7s ease;
}

[data-reveal].is-in{
  opacity:1;
  transform:none;
}

/* footer */
.foot{
  margin-left:var(--rail);
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:28px;
  padding:46px 40px 34px;
  border-top:1px solid rgba(1,205,254,.3);
  background:linear-gradient(180deg, rgba(13,21,12,.6), rgba(13,21,12,.92));
  position:relative;
  z-index:2;
}

.foot-addr{
  font-style:normal;
  font-size:18px;
  font-weight:900;
  line-height:1.4;
  letter-spacing:.06em;
  color:var(--neon);
  text-shadow:0 0 16px rgba(135,255,113,.45);
}

.foot-links{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.foot-links a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:6px 0;
  font-size:16px;
  color:var(--paper);
  text-decoration:none;
  border-bottom:1px dashed rgba(135,255,113,.2);
}

.foot-links a:hover,
.foot-links a:focus-visible{color:var(--neon);border-bottom-color:var(--neon);}

.foot-copy{
  grid-column:1 / -1;
  margin:6px 0 0;
  padding-top:16px;
  font-size:14px;
  letter-spacing:.08em;
  color:rgba(238,251,230,.66);
  border-top:1px dashed rgba(1,205,254,.28);
}

/* to top */
.totop{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:80;
  min-height:44px;
  padding:10px 18px;
  font-family:var(--font);
  font-size:15px;
  font-weight:700;
  color:var(--ink);
  cursor:pointer;
  border:0;
  border-radius:999px;
  background:linear-gradient(100deg, var(--neon), var(--cyan));
  box-shadow:0 10px 30px rgba(1,205,254,.34);
}

.totop[hidden]{display:none;}

/* tablet */
@media (max-width:1180px){
  .doc{
    grid-template-columns:220px minmax(0,1fr);
    gap:28px;
    padding:44px 28px 60px;
  }
  .doc-fig{position:static;grid-column:1 / -1;}
  .doc-fig img{max-width:520px;}
  .hero{margin:0 28px;}
  .foot{grid-template-columns:1.4fr 1fr 1fr;padding:40px 28px 30px;}
}

/* mobile */
@media (max-width:860px){
  body{padding-top:32px;}
  .topline{height:32px;font-size:11px;}

  .rail{
    top:32px;
    width:auto;
    right:0;
    bottom:auto;
    max-height:none;
    flex-direction:row;
    align-items:center;
    flex-wrap:wrap;
    gap:10px 14px;
    padding:12px 14px;
    border-right:0;
    border-bottom:1px solid rgba(135,255,113,.26);
    overflow:visible;
  }

  .brand{gap:9px;min-height:44px;}

  .brand-mark{width:38px;height:38px;border-radius:13px;}

  .brand-txt{font-size:16px;}

  .rail nav{width:100%;margin:0;}

  .rail nav p{
    flex-direction:row;
    gap:8px;
    overflow-x:auto;
    padding-bottom:4px;
    -webkit-overflow-scrolling:touch;
  }

  .rail nav a{
    white-space:nowrap;
    padding:10px 14px;
    font-size:15px;
  }

  .rail nav a:hover{transform:none;}

  main{margin-left:0;padding-top:20px;}

  .hero{
    height:44vh;
    min-height:300px;
    margin:0 14px;
    padding:18px;
    border-radius:22px;
  }

  .hero-badge{top:14px;right:14px;font-size:11px;padding:7px 12px;}

  .doc{
    grid-template-columns:minmax(0,1fr);
    gap:24px;
    padding:32px 16px 48px;
  }

  .doc-aside{position:static;border-radius:22px;}

  .doc-fig{grid-column:auto;}

  .doc-fig img{max-width:100%;}

  .doc-body h2{margin-top:38px;}

  .foot{
    margin-left:0;
    grid-template-columns:1fr 1fr;
    gap:18px;
    padding:34px 16px 26px;
  }

  .foot-addr{grid-column:1 / -1;}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  [data-reveal]{opacity:1;transform:none;transition:none;}
  .hero-img{transform:none !important;}
  .rail nav a{transition:none;}
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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