@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');
:root {
  --lime: #c6ff4d;
  --ink: #171717;
  --paper: #f2f0e8;
  --pink: #ff6bcb;
  --blue: #7bdcff;
  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Space Grotesk',sans-serif;
  overflow-x: hidden;
}
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.top {
  height: 68px;
  padding: 0 max(5vw,18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--line);
  background: var(--lime);
  position: relative;
  z-index: 2;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -1px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid;
  background: var(--ink);
  color: var(--lime);
  font-family: 'Space Mono';
  font-size: 13px;
  transform: rotate(-5deg);
}
.muted {
  opacity: .5;
}
.status,.eyebrow,.panel-head,.chip,label,.hero-stamp,button,.summary,.file-meta,footer,.notice>b {
  font-family: 'Space Mono',monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status i {
  width: 8px;
  height: 8px;
  background: #198b35;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #198b3525;
  animation: pulse 1.5s infinite;
}
.dev {
  color: var(--ink);
  font: 700 11px 'Space Mono';
  text-decoration: none;
  border: 2px solid;
  padding: 8px 10px;
  box-shadow: 3px 3px 0;
}
.dev:active {
  transform: translate(2px,2px);
  box-shadow: 1px 1px 0;
}
main {
  max-width: 940px;
  margin: auto;
  padding: 0 20px;
}
.hero {
  min-height: 390px;
  padding: 66px 0 48px;
  position: relative;
  overflow: hidden;
}
.eyebrow {
  color: #626262;
}
.hero h1 {
  font-size: clamp(68px,15vw,130px);
  line-height: .78;
  letter-spacing: -.095em;
  margin: 25px 0 20px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.hero h1 em,h2 em {
  font-style: normal;
  color: var(--lime);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 4px 4px 0 var(--ink);
}
.intro {
  max-width: 420px;
  font-size: 15px;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}
.hero-stamp {
  position: absolute;
  right: 3%;
  bottom: 57px;
  background: var(--pink);
  padding: 13px;
  border: var(--line);
  box-shadow: var(--shadow);
  transform: rotate(7deg);
  z-index: 1;
  line-height: 1.7;
}
.orbit {
  position: absolute;
  border: 2px dashed #17171735;
  border-radius: 50%;
  animation: spin 22s linear infinite;
}
.orbit-a {
  width: 230px;
  height: 230px;
  right: 0;
  top: 70px;
}
.orbit-b {
  width: 160px;
  height: 160px;
  right: 35px;
  top: 105px;
  animation-direction: reverse;
}
.panel {
  background: white;
  border: var(--line);
  box-shadow: var(--shadow);
}
.scan-panel {
  padding: 22px;
  margin: 0 0 60px;
  position: relative;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #ddd;
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.chip {
  font-size: 9px;
  background: var(--lime);
  padding: 6px 8px;
  border: 1px solid;
}
.scan-panel label {
  display: block;
  margin-bottom: 9px;
}
.url-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid;
  padding: 0 12px;
  height: 54px;
  background: var(--paper);
  font: 700 15px 'Space Mono';
}
.url-wrap input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: 500 14px 'Space Mono';
  color: var(--ink);
}
.check {
  display: flex !important;
  gap: 9px;
  align-items: flex-start;
  margin: 17px 0 !important;
  font: 11px 'Space Grotesk' !important;
  line-height: 1.5;
}
.check input {
  accent-color: #171717;
  width: 17px;
  height: 17px;
  margin: 0;
  flex: none;
}
button {
  cursor: pointer;
  border: var(--line);
  background: var(--lime);
  color: var(--ink);
  padding: 15px 17px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s,box-shadow .15s;
}
button:active {
  transform: translate(3px,3px);
  box-shadow: 1px 1px 0;
}
#scanBtn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
#scanBtn:disabled {
  opacity: .6;
  cursor: wait;
}
.progress {
  margin-top: 20px;
  font: 11px 'Space Mono';
}
.progress-line {
  height: 7px;
  border: 1px solid;
  margin-bottom: 9px;
  overflow: hidden;
}
.progress-line i {
  display: block;
  height: 100%;
  width: 30%;
  background: var(--pink);
  animation: loading 1.2s ease-in-out infinite alternate;
}
.hidden {
  display: none !important;
}
.results {
  margin-bottom: 55px;
}
.result-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 18px;
  gap: 12px;
}
h2 {
  font-size: clamp(32px,8vw,54px);
  letter-spacing: -.07em;
  margin: 7px 0;
}
.outline {
  background: white;
  box-shadow: 3px 3px 0;
  font-size: 10px;
  padding: 10px;
}
.summary {
  background: var(--blue);
  border: 2px solid;
  padding: 12px;
  margin-bottom: 12px;
  line-height: 1.8;
}
.file-list {
  display: grid;
  gap: 9px;
  margin-bottom: 15px;
}
.file-item {
  border: 2px solid;
  background: white;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  box-shadow: 3px 3px 0 #171717;
  cursor: pointer;
}
.file-item.active {
  background: var(--lime);
  transform: translate(-2px,-2px);
  box-shadow: 5px 5px 0;
}
.file-name {
  font: 700 12px 'Space Mono';
  overflow-wrap: anywhere;
}
.file-meta {
  font-size: 9px;
  color: #666;
  white-space: nowrap;
}
.viewer {
  overflow: hidden;
}
.viewer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 2px solid;
  font: 700 10px 'Space Mono';
  gap: 10px;
}
.viewer pre {
  margin: 0;
  padding: 16px;
  max-height: 430px;
  overflow: auto;
  background: #171717;
  color: #c6ff4d;
  font: 11px/1.6 'Space Mono';
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.small {
  padding: 7px 10px;
}
.features {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  margin: 0 0 38px;
}
.feature {
  background: var(--pink);
  border: 2px solid;
  padding: 13px 10px;
  box-shadow: 4px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  animation: float 4s ease-in-out infinite;
}
.feature:nth-child(2) {
  background: var(--blue);
  animation-delay: .4s;
}
.feature:nth-child(3) {
  background: var(--lime);
  animation-delay: .8s;
}
.feature:nth-child(4) {
  background: white;
  animation-delay: 1.2s;
}
.feature b {
  font: 700 17px 'Space Mono';
}
.feature span {
  font-size: 10px;
}
.notice {
  border: 2px dashed;
  padding: 16px;
  margin-bottom: 45px;
  background: #fff9d9;
}
.notice b {
  color: #b44a00;
}
.notice p {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 0;
}
footer {
  border-top: 2px solid;
  padding: 20px 0 30px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
footer a {
  color: var(--ink);
}
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%,20px);
  background: var(--ink);
  color: var(--lime);
  padding: 12px 16px;
  font: 11px 'Space Mono';
  opacity: 0;
  pointer-events: none;
  transition: .2s;
  z-index: 20;
  max-width: 90%;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%,0);
}
@keyframes pulse {
  50% {
    opacity: .35;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes loading {
  to {
    width: 95%;
  }
}
@keyframes float {
  0%,100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-7px) rotate(1deg);
  }
}
@media (max-width:600px) {
  .top {
    height: 60px;
    padding: 0 14px;
  }
  .status {
    font-size: 9px;
  }
  .dev {
    font-size: 9px;
    padding: 7px;
  }
  .hero {
    min-height: 370px;
    padding-top: 65px;
  }
  .hero h1 {
    font-size: clamp(67px,18vw,100px);
  }
  .hero-stamp {
    right: 5px;
    bottom: 25px;
    font-size: 9px;
  }
  .orbit-a {
    right: -105px;
    top: 70px;
  }
  .orbit-b {
    right: -70px;
    top: 105px;
  }
  .intro {
    max-width: 80%;
    font-size: 13px;
  }
  .scan-panel {
    padding: 16px;
    margin-bottom: 48px;
  }
  .panel-head {
    font-size: 9px;
  }
  .chip {
    font-size: 8px;
  }
  .features {
    grid-template-columns: repeat(2,1fr);
  }
  .result-head {
    align-items: center;
  }
  .outline {
    font-size: 9px;
    padding: 9px 8px;
  }
  footer {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
/* V4 motion layer + successful-scan channel invitation */
.top {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
}
.hero h1 {
  animation: heroRise .8s cubic-bezier(.2,.8,.2,1) both;
}
.hero-stamp {
  animation: stampFloat 5s ease-in-out infinite;
}
.scan-panel {
  transition: transform .25s,box-shadow .25s;
}
.scan-panel:focus-within {
  transform: translateY(-3px);
  box-shadow: 9px 9px 0 var(--ink);
}
.feature {
  position: relative;
  overflow: hidden;
}
.feature:after {
  content: "";
  position: absolute;
  inset: -80% auto -80% -40%;
  width: 25%;
  background: #ffffff70;
  transform: rotate(25deg);
  animation: sheen 6s ease-in-out infinite;
}
.file-item {
  transition: transform .16s,background .16s;
}
.file-item:hover {
  transform: translate(-2px,-2px);
  background: #f2ffd8;
}
.join-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #101010d9;
  backdrop-filter: blur(8px);
  animation: fadeIn .25s ease both;
}
.join-card {
  width: min(100%,440px);
  position: relative;
  overflow: hidden;
  background: var(--lime);
  border: 3px solid #111;
  box-shadow: 10px 10px 0 var(--pink);
  padding: 28px 24px;
  text-align: center;
  animation: popIn .45s cubic-bezier(.2,1.4,.4,1) both;
}
.join-card:before,.join-card:after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border: 2px dashed #1115;
  border-radius: 50%;
  pointer-events: none;
}
.join-card:before {
  top: -85px;
  left: -65px;
}
.join-card:after {
  right: -90px;
  bottom: -85px;
}
.join-spark {
  font-size: 26px;
  letter-spacing: 12px;
  animation: sparkPulse 1.4s ease-in-out infinite;
}
.join-tag {
  font: 700 10px 'Space Mono';
  margin-top: 10px;
}
.join-card h2 {
  font-size: clamp(46px,12vw,66px);
  line-height: .88;
  margin: 18px 0;
}
.join-card h2 em {
  color: var(--pink);
  text-shadow: 3px 3px #111;
}
.join-card p {
  max-width: 330px;
  margin: 0 auto 22px;
  font-size: 14px;
  line-height: 1.55;
}
.join-action {
  display: block;
  padding: 16px 12px;
  background: #111;
  color: var(--lime);
  border: 2px solid #111;
  box-shadow: 5px 5px 0 var(--pink);
  font: 700 12px 'Space Mono';
  text-decoration: none;
  animation: ctaPulse 1.8s ease-in-out infinite;
}
.join-action:active {
  transform: translate(3px,3px);
  box-shadow: 2px 2px 0 var(--pink);
}
.join-later {
  margin-top: 18px;
  background: transparent;
  box-shadow: none;
  border: 0;
  text-decoration: underline;
  font-size: 10px;
  padding: 8px;
}
.join-confetti {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  pointer-events: none;
  font-size: 20px;
  letter-spacing: 9px;
  opacity: .45;
  animation: confettiDrift 4s linear infinite;
}
.modal-open {
  overflow: hidden;
}
@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes stampFloat {
  0%,100% {
    transform: rotate(7deg) translateY(0);
  }
  50% {
    transform: rotate(3deg) translateY(-9px);
  }
}
@keyframes sheen {
  0%,70%,100% {
    left: -45%;
  }
  85% {
    left: 130%;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(.82) rotate(-3deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
@keyframes sparkPulse {
  50% {
    transform: scale(1.18);
    filter: drop-shadow(0 0 7px #fff);
  }
}
@keyframes ctaPulse {
  50% {
    box-shadow: 7px 7px 0 #111;
  }
}
@keyframes confettiDrift {
  0% {
    transform: translateX(-18px);
  }
  100% {
    transform: translateX(18px);
  }
}
@media (max-width:600px) {
  .join-card {
    padding: 24px 18px;
  }
  .join-card p {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .join-modal,.join-card,.join-spark,.join-action,.join-confetti,.hero h1,.hero-stamp,.feature:after {
    animation: none !important;
  }
}
.join-wa {
  background: #171717;
  color: #c6ff4d;
  box-shadow: 5px 5px 0 #7bdcff;
  margin-bottom: 12px;
}
.join-telegram {
  background: #229ed9;
  color: #fff;
  box-shadow: 5px 5px 0 #171717;
}
.join-wa:active,.join-telegram:active {
  transform: translate(3px,3px);
  box-shadow: 2px 2px 0 #171717;
}
.captcha-wrap {
  margin: 18px 0 20px;
  padding: 14px;
  border: 2px dashed #171717;
  background: #f2f0e8;
}
.captcha-label {
  font: 700 10px 'Space Mono';
  margin-bottom: 12px;
}
.captcha-wrap .cf-turnstile {
  min-height: 65px;
  max-width: 100%;
  overflow: hidden;
}
.captcha-help {
  display: block;
  margin-top: 8px;
  font: 10px 'Space Mono';
  color: #555;
  line-height: 1.5;
}

.self-captcha{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px;border:1px solid #bbb;border-radius:8px}.self-captcha input{max-width:180px}
