@import url('https://fonts.googleapis.com/css2?family=Lexend+Mega:wght@100..900&family=Public+Sans:wght@100..900&display=swap');

:root{
  --red:#ff0000;
  --pink:#ff006e;
  --ink:#1a1a2e;
  --bg:#07070e;
  --txt:#f7f0f8;
  --mute:#a99cb8;
  --line:rgba(255,0,110,.34);
  --line2:rgba(255,0,110,.72);
  --r:28px;
  --pad:clamp(18px,3.2vw,34px);
  --head:'Lexend Mega','Public Sans',system-ui,sans-serif;
  --body:'Public Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
}

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

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

body{
  margin:0;
  max-width:100%;
  color:var(--txt);
  font-family:var(--body);
  font-size:17px;
  line-height:1.75;
  overflow-x:hidden;
  overflow-wrap:break-word;
  background-color:var(--bg);
  background-image:
    radial-gradient(90% 62% at 88% -12%,rgba(255,0,0,.22),transparent 62%),
    radial-gradient(72% 52% at 4% 10%,rgba(255,0,110,.17),transparent 60%),
    linear-gradient(rgba(255,0,110,.075) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,0,110,.075) 1px,transparent 1px);
  background-size:auto,auto,72px 72px,72px 72px;
  background-attachment:fixed,fixed,fixed,fixed;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:99;
  pointer-events:none;
  background:repeating-linear-gradient(180deg,rgba(255,255,255,.05) 0 1px,transparent 1px 3px);
  opacity:.6;
}

img{max-width:100%;height:auto;display:block}
a{color:var(--pink)}
a:focus-visible,button:focus-visible{outline:2px solid var(--pink);outline-offset:3px;border-radius:8px}
::selection{background:var(--pink);color:#07070e}

.wrap{
  width:100%;
  max-width:1420px;
  margin:0 auto;
  padding:22px clamp(14px,2.6vw,40px) 46px;
  display:grid;
  grid-template-columns:236px minmax(0,1fr);
  gap:clamp(20px,3vw,46px);
}

.stack{
  min-width:0;
  max-width:100%;
  display:flex;
  flex-direction:column;
  gap:clamp(24px,4vw,52px);
}

.rail{
  position:sticky;
  top:22px;
  align-self:start;
  z-index:40;
  display:flex;
  flex-direction:column;
  gap:16px;
  min-width:0;
  max-width:100%;
  padding:14px;
  max-height:calc(100vh - 44px);
  overflow-y:auto;
  overflow-x:hidden;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:linear-gradient(180deg,rgba(26,26,46,.95),rgba(8,8,18,.95));
  backdrop-filter:blur(8px);
}

.mark{
  display:flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  flex:none;
  border:1px solid var(--line2);
  border-radius:16px;
  text-decoration:none;
  background:radial-gradient(circle at 30% 25%,rgba(255,0,110,.3),transparent 72%);
  transition:transform .25s ease,box-shadow .25s ease;
}
.mark:hover{transform:translateY(-2px) rotate(-4deg);box-shadow:0 0 0 1px var(--pink),0 0 22px rgba(255,0,110,.6)}
.mark-img{width:34px;height:34px;object-fit:contain}

.glyph{
  width:16px;height:16px;
  background:var(--pink);
  border-radius:3px;
  transform:rotate(45deg);
  box-shadow:0 0 14px var(--pink),inset 0 0 0 3px rgba(7,7,14,.85);
}

.rail-nav{min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.rail-nav::-webkit-scrollbar{display:none}
.rail-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;width:100%}

.pill{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  min-height:44px;
  padding:10px 16px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--txt);
  text-decoration:none;
  font-size:16px;
  line-height:1.35;
  font-weight:500;
  transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.pill:hover{
  background:var(--pink);
  border-color:var(--pink);
  color:#08080f;
  transform:translateX(3px);
  box-shadow:0 0 20px rgba(255,0,110,.55);
}

.hero{
  min-height:100svh;
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  align-items:center;
  gap:clamp(20px,4vw,54px);
  padding:clamp(20px,4vw,48px) 0;
}

.hero-copy{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;min-width:0}

.hero-title{
  position:relative;
  margin:0;
  max-width:100%;
  font-family:var(--head);
  font-weight:900;
  font-size:clamp(2.05rem,5.4vw,4.3rem);
  line-height:1.05;
  letter-spacing:-.03em;
  text-shadow:0 0 18px rgba(255,0,110,.55),0 0 46px rgba(255,0,0,.32);
}
.hero-title::before,.hero-title::after{
  content:attr(data-text);
  position:absolute;
  left:0;right:0;top:0;
  pointer-events:none;
  opacity:.85;
}
.hero-title::before{color:var(--pink);clip-path:inset(0 0 58% 0);animation:gA 6s infinite steps(1)}
.hero-title::after{color:var(--red);clip-path:inset(56% 0 0 0);animation:gB 6s infinite steps(1)}
@keyframes gA{0%,84%,100%{transform:translate(-2px,0)}86%{transform:translate(-8px,-2px)}90%{transform:translate(6px,1px)}}
@keyframes gB{0%,84%,100%{transform:translate(2px,0)}88%{transform:translate(7px,2px)}93%{transform:translate(-5px,-1px)}}

.hero-media{
  position:relative;
  min-width:0;
  max-width:100%;
  border:1px solid var(--line2);
  border-radius:var(--r);
  overflow:hidden;
  background:
    repeating-linear-gradient(45deg,rgba(255,0,110,.1) 0 12px,transparent 12px 24px),
    rgba(16,16,36,.7);
  box-shadow:inset 0 0 60px rgba(255,0,110,.16);
}
.hero-img{width:100%;max-width:100%;aspect-ratio:4/5;object-fit:cover;filter:saturate(1.15) contrast(1.05)}
.hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,transparent 54%,rgba(7,7,14,.78));
}

.badge{
  position:absolute;
  left:16px;
  bottom:16px;
  z-index:2;
  display:inline-block;
  max-width:calc(100% - 32px);
  padding:8px 16px;
  font-size:16px;
  line-height:1.4;
  border:1px solid var(--pink);
  border-radius:999px;
  color:#08080f;
  background:linear-gradient(90deg,var(--red),var(--pink));
  box-shadow:0 0 22px rgba(255,0,110,.6);
}

main{min-width:0;max-width:100%}

.doc{display:flex;flex-direction:column;gap:clamp(16px,2.6vw,26px);min-width:0;max-width:100%}
.doc > div{
  min-width:0;
  max-width:100%;
  overflow-wrap:break-word;
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:var(--pad);
  background:linear-gradient(180deg,rgba(26,26,46,.62),rgba(9,9,20,.62));
  scroll-margin-top:26px;
  transition:border-color .2s ease;
}
.doc > div:hover{border-color:var(--line2)}
.doc > .lead{
  border-left:6px solid var(--red);
  background:linear-gradient(120deg,rgba(255,0,110,.14),rgba(9,9,20,.72));
}

.doc h2{
  font-family:var(--head);
  font-weight:800;
  font-size:clamp(1.45rem,3.4vw,2.05rem);
  line-height:1.22;
  letter-spacing:-.02em;
  margin:0 0 14px;
  text-shadow:0 0 16px rgba(255,0,110,.42);
}
.doc h3{
  font-family:var(--head);
  font-weight:700;
  font-size:clamp(1.15rem,2.4vw,1.35rem);
  line-height:1.35;
  margin:26px 0 10px;
  color:#fff;
}
.doc p{margin:0 0 1.05em;overflow-wrap:break-word}
.doc p:last-child{margin-bottom:0}

.subtitle{color:var(--mute);font-size:17px;margin:0;max-width:62ch}
.doc .subtitle{margin:-6px 0 4px}

.doc ul,.doc ol{margin:0 0 1.1em;padding-left:1.3em}
.doc li{margin:.45em 0}
.doc li::marker{color:var(--pink)}
.doc strong{color:#fff}
.doc a{text-underline-offset:3px;text-decoration-color:rgba(255,0,110,.55);overflow-wrap:anywhere}
.doc a:hover{color:#fff}
.doc blockquote{
  margin:0 0 1.1em;
  padding:12px 0 12px 18px;
  border-left:3px solid var(--pink);
  color:var(--mute);
}
.doc hr{border:0;border-top:1px dashed var(--line);margin:22px 0}
.doc img{max-width:100%;height:auto}
.doc table{
  width:100%;
  max-width:100%;
  border-collapse:collapse;
  font-size:16px;
  display:block;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.doc th,.doc td{border:1px solid var(--line);padding:10px 12px;text-align:left}
.doc pre{
  display:block;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  font-size:15px;
  line-height:1.6;
}
.doc pre code{white-space:pre}
.doc iframe,.doc video{max-width:100%}

footer{
  border-top:1px solid var(--line);
  padding:clamp(34px,7vw,72px) 20px clamp(26px,4vw,44px);
  text-align:center;
  background:linear-gradient(180deg,transparent,rgba(255,0,110,.09));
}
footer p{
  margin:0 0 12px;
  font-family:var(--head);
  font-weight:900;
  font-size:clamp(1.5rem,5.4vw,2.7rem);
  line-height:1.12;
  letter-spacing:-.02em;
  text-shadow:0 0 22px rgba(255,0,110,.6),0 0 60px rgba(255,0,0,.35);
}
footer p a{color:var(--txt);text-decoration:none}
footer p a:hover{color:var(--pink)}
footer small{display:block;font-size:16px;color:var(--mute)}

.reveal{opacity:0;transform:translateY(24px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.75,.3,1)}
.reveal.is-in{opacity:1;transform:none}

@media (max-width:1020px){
  .wrap{grid-template-columns:minmax(0,1fr);padding:12px 14px 40px;gap:20px}
  .rail{
    flex-direction:row;
    align-items:center;
    gap:10px;
    top:0;
    padding:9px 11px;
    border-radius:20px;
    max-height:none;
    overflow:visible;
    z-index:50;
  }
  .mark{width:44px;height:44px;border-radius:13px}
  .rail-nav{flex:1 1 0;min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .rail-nav::-webkit-scrollbar{display:none}
  .rail-nav ul{flex-direction:row;flex-wrap:nowrap;gap:8px;width:max-content;min-width:100%}
  .pill{white-space:nowrap;min-height:42px;padding:8px 14px}
  .pill:hover{transform:none}
  .hero{grid-template-columns:minmax(0,1fr);min-height:0;padding:24px 0 8px;gap:22px}
  .hero-img{aspect-ratio:16/11}
  .doc > div{padding:18px;scroll-margin-top:86px}
}

@media (max-width:520px){
  .hero-title{font-size:clamp(1.95rem,8.4vw,2.6rem)}
  .doc > .lead{padding:16px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hero-title::before,.hero-title::after{animation:none}
  .reveal{transition:none}
  .mark,.pill,.doc > div{transition:none}
}

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