:root {
  --black: #020402;
  --black-2: #071006;
  --panel: rgba(5, 12, 6, 0.78);
  --panel-strong: rgba(3, 8, 4, 0.94);
  --green: #20ff43;
  --green-2: #00b72f;
  --green-soft: rgba(32, 255, 67, 0.18);
  --silver: #e7ece8;
  --silver-dim: rgba(231, 236, 232, 0.74);
  --steel: #7f8a82;
  --line: rgba(32, 255, 67, 0.28);
  --danger: #ff2a2a;
}

* { box-sizing: border-box; }
html {
  min-height: 100%;
  background: var(--black);
  overflow-x: hidden;
}
body {
  min-height: 100%;
  margin: 0;
  color: var(--silver);
  font-family: "JetBrains Mono", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--black);
  overflow-x: clip;
}
button, a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px) 14px;
  isolation: isolate;
  overflow: hidden;
}

.forest,
.shade,
.embers,
.glass-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.forest {
  z-index: -5;
  background:
    radial-gradient(circle at 50% 30%, rgba(32, 255, 67, 0.2), transparent 23rem),
    radial-gradient(circle at 20% 16%, rgba(0, 183, 47, 0.16), transparent 18rem),
    radial-gradient(circle at 80% 84%, rgba(32, 255, 67, 0.13), transparent 18rem),
    linear-gradient(155deg, #020402 0%, #071407 44%, #020402 100%);
}
.forest::before {
  content: "";
  position: absolute;
  inset: -18%;
  background:
    linear-gradient(115deg, transparent 0 44%, rgba(32,255,67,.07) 45%, transparent 47%),
    linear-gradient(65deg, transparent 0 50%, rgba(255,255,255,.055) 51%, transparent 53%),
    repeating-linear-gradient(90deg, rgba(32,255,67,.055) 0 1px, transparent 1px 78px);
  opacity: .68;
  transform: rotate(-5deg);
}
.forest::after {
  content: "";
  position: absolute;
  inset: auto -10vw -20vh;
  height: 54vh;
  background:
    linear-gradient(138deg, transparent 42%, rgba(0,0,0,.84) 43% 50%, transparent 51%),
    linear-gradient(222deg, transparent 42%, rgba(0,0,0,.84) 43% 50%, transparent 51%);
  background-size: 310px 100%;
  opacity: .58;
}
.tree {
  position: absolute;
  bottom: -12vh;
  width: 30vw;
  height: 74vh;
  opacity: .24;
  filter: blur(.3px);
  background: linear-gradient(44deg, transparent 48%, rgba(32,255,67,.2) 49% 50%, rgba(0,0,0,.54) 51%, transparent 53%);
}
.tree-a { left: -7vw; }
.tree-b { right: -3vw; transform: scaleX(-1); }
.tree-c { left: 20vw; height: 56vh; opacity: .18; }
.tree-d { right: 22vw; height: 58vh; opacity: .16; transform: scaleX(-1); }

.shade {
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 42%, transparent 0 34%, rgba(0,0,0,.36) 62%, rgba(0,0,0,.78) 100%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.72));
}

.embers,
.glass-field {
  z-index: -1;
  overflow: hidden;
}
.embers span {
  position: absolute;
  bottom: -36px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(32,255,67,.9);
  opacity: .6;
  animation: emberRise 8s linear infinite;
}
.embers span:nth-child(1) { left: 9%; animation-delay: -1s; }
.embers span:nth-child(2) { left: 26%; animation-delay: -4s; transform: scale(.8); }
.embers span:nth-child(3) { left: 43%; animation-delay: -2.5s; transform: scale(1.25); }
.embers span:nth-child(4) { left: 61%; animation-delay: -6s; }
.embers span:nth-child(5) { left: 76%; animation-delay: -3s; transform: scale(.75); }
.embers span:nth-child(6) { left: 90%; animation-delay: -5s; transform: scale(1.1); }

.glass-field span {
  position: absolute;
  width: clamp(24px, 4vw, 56px);
  aspect-ratio: 1.25;
  clip-path: polygon(14% 6%, 90% 22%, 66% 94%, 0 62%);
  border: 1px solid rgba(231,236,232,.3);
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(32,255,67,.08) 45%, rgba(255,255,255,.03));
  box-shadow: inset 0 0 22px rgba(255,255,255,.12), 0 0 18px rgba(32,255,67,.12);
  opacity: .22;
  animation: shardFloat 9s ease-in-out infinite;
}
.glass-field span:nth-child(1) { left: 8%; top: 21%; transform: rotate(18deg); animation-delay: -1s; }
.glass-field span:nth-child(2) { right: 11%; top: 19%; transform: rotate(-28deg) scale(.8); animation-delay: -4s; }
.glass-field span:nth-child(3) { left: 17%; bottom: 21%; transform: rotate(-14deg) scale(1.1); animation-delay: -2s; }
.glass-field span:nth-child(4) { right: 18%; bottom: 19%; transform: rotate(32deg); animation-delay: -5s; }
.glass-field span:nth-child(5) { left: 48%; top: 9%; transform: rotate(40deg) scale(.65); animation-delay: -7s; }
.glass-field span:nth-child(6) { right: 35%; bottom: 8%; transform: rotate(-36deg) scale(.72); animation-delay: -3s; }

.center {
  position: relative;
  width: min(100%, 770px);
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(22px, 4.6vw, 44px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), transparent 24%),
    linear-gradient(145deg, rgba(6,18,7,.84), rgba(2,6,3,.92));
  box-shadow:
    0 28px 92px rgba(0,0,0,.62),
    0 0 0 1px rgba(255,255,255,.045) inset,
    0 0 82px rgba(32,255,67,.13);
  backdrop-filter: blur(16px);
}
.center::before,
.center::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.center::before {
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(125deg, transparent 0 28%, rgba(32,255,67,.28) 42%, transparent 52% 100%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  opacity: .72;
}
.center::after {
  width: 58%;
  height: 1px;
  top: 0;
  left: 21%;
  background: linear-gradient(90deg, transparent, rgba(32,255,67,.72), transparent);
}

.brand-logo {
  width: clamp(218px, 34vw, 360px);
  max-width: min(88vw, 360px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 26px;
  filter:
    drop-shadow(0 22px 34px rgba(0,0,0,.52))
    drop-shadow(0 0 26px rgba(32,255,67,.42));
  animation: logoHover 4.8s ease-in-out infinite;
}
.kicker {
  margin: 14px 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(32,255,67,.48);
}
h1 {
  margin: 0;
  font-family: "Orbitron", "Russo One", system-ui, sans-serif;
  font-size: clamp(40px, 8vw, 90px);
  line-height: .92;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1 span,
h1 strong {
  display: block;
}
h1 span {
  color: transparent;
  background:
    linear-gradient(180deg, #f9fff9 0%, #7cff8e 35%, #16d73e 56%, #061907 58%, #38ff55 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(214,255,220,.18);
  text-shadow: 0 0 34px rgba(32,255,67,.2);
}
h1 strong {
  margin-top: 4px;
  color: transparent;
  font-size: .68em;
  font-family: "Russo One", "Orbitron", system-ui, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #d7ded8 46%, #707a73 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 26px rgba(255,255,255,.13);
}
.welcome {
  margin: 14px 0 0;
  color: var(--silver);
  font-family: "Russo One", system-ui, sans-serif;
  font-size: clamp(17px, 2.4vw, 24px);
  letter-spacing: 0;
}
.welcome span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.welcome span::before,
.welcome span::after {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green));
  box-shadow: 0 0 14px rgba(32,255,67,.7);
}
.welcome span::after { transform: scaleX(-1); }

.work-button {
  position: relative;
  margin-top: 24px;
  min-height: 82px;
  width: min(100%, 500px);
  padding: 13px 18px;
  border: 1px solid rgba(32,255,67,.58);
  border-radius: 16px;
  color: var(--silver);
  background:
    linear-gradient(90deg, rgba(32,255,67,.14), transparent 18% 82%, rgba(32,255,67,.14)),
    linear-gradient(145deg, #102015, #061008 45%, #020402);
  box-shadow:
    0 18px 50px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 0 34px rgba(32,255,67,.22);
  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease;
  animation: ctaPulse 2.6s ease-in-out infinite;
}
.work-button::before {
  content: "";
  position: absolute;
  inset: -80% auto -80% -30%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transform: rotate(18deg);
  animation: sheen 3s ease-in-out infinite;
}
.work-button span,
.work-button strong {
  position: relative;
  z-index: 1;
  display: block;
}
.work-button span {
  color: #bbffc5;
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 800;
  text-shadow: 0 0 16px rgba(32,255,67,.24);
}
.work-button strong {
  margin-top: 4px;
  color: #f8fff9;
  font-family: "Orbitron", system-ui, sans-serif;
  font-size: clamp(25px, 5vw, 38px);
  font-weight: 900;
}
.work-button em {
  color: var(--danger);
  font-style: normal;
  text-shadow: 0 0 12px rgba(255,42,42,.7);
}
.work-button:hover {
  transform: translateY(-2px);
  border-color: rgba(32,255,67,.9);
  filter: brightness(1.08);
}
.work-button:active { transform: translateY(1px) scale(.99); }

.restore-notice {
  width: min(100%, 540px);
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(32,255,67,.34);
  border-radius: 14px;
  background: rgba(4,12,5,.72);
}
.restore-notice-copy { display: grid; gap: 4px; }
.restore-notice strong { color: var(--green); font-size: 15px; }
.restore-notice small { color: var(--silver-dim); font-size: 13px; line-height: 1.45; }

.pulse-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 680px);
  min-height: 74px;
  margin-top: 22px;
}
.pulse-grid-loading::before,
.pulse-grid-loading::after {
  content: "";
  min-height: 70px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(32,255,67,.07), rgba(255,255,255,.13), rgba(32,255,67,.07));
  animation: skeleton 1.2s ease-in-out infinite;
}
.pulse-grid-loading::before { grid-column: span 2; }
.pulse-grid-loading::after { grid-column: span 2; animation-delay: -.45s; }
.pulse-link {
  position: relative;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 12px 14px;
  overflow: hidden;
  color: var(--silver);
  border: 1px solid rgba(32,255,67,.28);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(32,255,67,.18), transparent 38%),
    linear-gradient(145deg, rgba(11,35,14,.88), rgba(4,11,5,.94));
  box-shadow: 0 12px 30px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
  text-decoration: none;
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.pulse-link::after {
  content: "";
  position: absolute;
  inset: -70% auto -70% -36%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: rotate(18deg);
  animation: sheen 3.4s ease-in-out infinite;
}
.pulse-link:hover {
  transform: translateY(-3px);
  border-color: rgba(32,255,67,.72);
  box-shadow: 0 18px 38px rgba(0,0,0,.34), 0 0 24px rgba(32,255,67,.12);
}
.pulse-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(32,255,67,.11), 0 0 22px rgba(32,255,67,.72);
}
.pulse-label {
  min-width: 0;
  overflow-wrap: anywhere;
  text-shadow: 0 0 14px rgba(32,255,67,.18);
}
.pulse-link-long { font-size: 13px; }
.pulse-link-tight { font-size: 12px; line-height: 1.22; }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
}
.modal-panel {
  position: relative;
  width: min(100%, 760px);
  max-height: min(84svh, 760px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  padding: 28px;
  border: 1px solid rgba(32,255,67,.34);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(32,255,67,.12), transparent 32%),
    linear-gradient(180deg, rgba(8,22,9,.98), rgba(2,5,3,.98));
  box-shadow: 0 34px 90px rgba(0,0,0,.58), 0 0 46px rgba(32,255,67,.12);
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(32,255,67,.28);
  border-radius: 50%;
  color: var(--silver);
  background: rgba(255,255,255,.07);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}
.modal-kicker {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.modal-panel h2 {
  margin: 0 0 18px;
  font-family: "Orbitron", system-ui, sans-serif;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.05;
}
.vacancy-list {
  display: grid;
  gap: 14px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: rgba(32,255,67,.55) rgba(255,255,255,.06);
}
.vacancy {
  padding: 18px;
  border: 1px solid rgba(32,255,67,.2);
  border-radius: 14px;
  background: rgba(255,255,255,.052);
  text-align: left;
}
.vacancy h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-family: "Orbitron", system-ui, sans-serif;
  font-size: 18px;
}
.vacancy p {
  margin: 0;
  color: var(--silver-dim);
  line-height: 1.58;
  white-space: pre-line;
}
.vacancy-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 14px;
  padding: 0 20px;
  border: 1px solid rgba(32,255,67,.55);
  border-radius: 999px;
  color: #031005;
  background: linear-gradient(135deg, #dffff0, #20ff43 46%, #00a82b);
  box-shadow: 0 0 24px rgba(32,255,67,.2);
  text-decoration: none;
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 900;
}

@keyframes emberRise {
  from { transform: translateY(0); opacity: 0; }
  18% { opacity: .68; }
  to { transform: translateY(-105svh) translateX(30px); opacity: 0; }
}
@keyframes shardFloat {
  0%, 100% { translate: 0 0; opacity: .12; }
  50% { translate: 12px -18px; opacity: .32; }
}
@keyframes logoHover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes ctaPulse {
  50% { box-shadow: 0 22px 58px rgba(0,0,0,.5), 0 0 0 9px rgba(32,255,67,.08), 0 0 42px rgba(32,255,67,.3); }
}
@keyframes sheen {
  0%, 45% { transform: translateX(0) rotate(18deg); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: translateX(430%) rotate(18deg); opacity: 0; }
}
@keyframes skeleton { 50% { opacity: .55; } }

@media (max-width: 720px) {
  .hero {
    min-height: 100svh;
    padding: 14px 10px 18px;
    place-items: start center;
  }
  .center {
    width: min(100%, 430px);
    margin-top: 8px;
    padding: 18px 12px;
    border-radius: 18px;
  }
  .brand-logo {
    width: clamp(178px, 64vw, 260px);
    max-width: 86vw;
    border-radius: 22px;
  }
  .kicker {
    margin-top: 10px;
    font-size: 10px;
    letter-spacing: .16em;
  }
  h1 {
    font-size: clamp(34px, 11vw, 52px);
  }
  .welcome {
    margin-top: 10px;
    font-size: 17px;
  }
  .welcome span::before,
  .welcome span::after {
    width: 28px;
  }
  .work-button {
    margin-top: 18px;
    min-height: 72px;
    border-radius: 15px;
    padding: 12px 14px;
  }
  .work-button strong {
    font-size: clamp(25px, 8vw, 34px);
  }
  .pulse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    min-height: 148px;
    margin-top: 18px;
  }
  .pulse-link {
    min-height: 64px;
    padding: 10px 10px;
    grid-template-columns: 12px minmax(0, 1fr);
    font-size: 13px;
  }
  .glass-field span:nth-child(1),
  .glass-field span:nth-child(2),
  .glass-field span:nth-child(5) {
    display: none;
  }
  .modal { padding: 10px; }
  .modal-panel {
    max-height: 88svh;
    padding: 24px 16px 18px;
    border-radius: 18px;
  }
}

@media (max-width: 380px) {
  .hero { padding-inline: 8px; }
  .center { padding-inline: 10px; }
  .brand-logo { width: clamp(160px, 66vw, 228px); }
  .pulse-grid { gap: 8px; }
  .pulse-link {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    min-height: 62px;
  }
  .pulse-marker {
    width: 10px;
    height: 10px;
  }
}

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