@font-face {
  font-family: "PublicPixel";
  src: url("./assets/PublicPixel-rv0pA.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #050305;
  --panel: #10080a;
  --line: #3c1115;
  --red: #ff3030;
  --red-soft: #ff7878;
  --red-deep: #8f1016;
  --text: #f5f1f1;
  --muted: #b9afaf;
  --pixel: "PublicPixel", "Courier New", monospace;
  --ui: "Segoe UI", "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(255, 40, 40, 0.14), transparent 34rem),
    var(--bg);
  background-size: 22px 22px, 22px 22px, auto, auto;
  font-family: var(--ui);
  line-height: 1.45;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0.025) 50%, transparent 50%);
  background-size: 100% 4px;
  opacity: 0.16;
  z-index: 5;
}

a {
  color: inherit;
}

.cursorAura,
.sparkLayer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.cursorAura {
  width: 360px;
  height: 360px;
  inset: auto;
  left: 0;
  top: 0;
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(-500px, -500px, 0);
  background:
    radial-gradient(circle, rgba(255, 245, 226, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255, 68, 68, 0.18), rgba(255, 68, 68, 0.075) 36%, transparent 70%);
  mix-blend-mode: screen;
  filter: blur(0.5px);
  will-change: transform, opacity;
}

.spark {
  position: fixed;
  width: 4px;
  height: 4px;
  pointer-events: none;
  border-radius: 50%;
  background: #fff1d6;
  box-shadow: 0 0 8px rgba(255, 64, 64, 0.95), 0 0 14px rgba(255, 230, 190, 0.55);
  transform: translate3d(var(--x), var(--y), 0) scale(var(--scale));
  animation: sparkFade 720ms ease-out forwards;
}

.spark::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(255, 48, 48, 0.72);
  transform: rotate(45deg);
}

@keyframes sparkFade {
  0% {
    opacity: 0;
    transform: translate3d(var(--x), var(--y), 0) scale(var(--scale));
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--tx), var(--ty), 0) scale(0);
  }
}

.siteShell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(42px, 6vw, 86px);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 80px) 0 48px;
}

.hero {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(16px, 2.4vw, 28px);
  width: 100%;
  min-width: 0;
  min-height: min(760px, 78vh);
  align-content: center;
  overflow: hidden;
}

.heroGrid {
  position: absolute;
  inset: 6% -8% auto;
  height: 72%;
  opacity: 0.32;
  background:
    linear-gradient(90deg, rgba(255, 48, 48, 0.16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 48, 48, 0.1) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black, transparent 68%);
}

.logoStage {
  position: relative;
  width: clamp(300px, 82vw, 1040px);
  max-width: 100%;
  min-width: 0;
  isolation: isolate;
}

.wordmark {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(255, 48, 48, 0.34));
  animation: neonBreath 5.8s ease-in-out infinite;
}

@keyframes neonBreath {
  0%,
  100% {
    filter: drop-shadow(0 0 12px rgba(255, 48, 48, 0.32));
  }
  50% {
    filter: drop-shadow(0 0 24px rgba(255, 48, 48, 0.58)) drop-shadow(0 0 42px rgba(255, 30, 30, 0.22));
  }
}

.heroCopy,
.sectionIntro,
.freeTest,
.contactBand {
  text-align: center;
}

.heroCopy {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.heroCopy h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.statusPill,
.eyebrow {
  margin: 0;
  color: var(--red-soft);
  font-family: var(--pixel);
  font-size: clamp(9px, 1.1vw, 12px);
  line-height: 1.45;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 48, 48, 0.72);
}

.statusPill {
  padding: 8px 10px;
  border: 1px solid rgba(255, 48, 48, 0.62);
  border-radius: 6px;
  background: rgba(24, 7, 9, 0.78);
}

.lead {
  width: min(100%, 760px);
  max-width: 760px;
  margin: 0;
  color: #f2e8e8;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.28;
}

.primaryCta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--red);
  border-radius: 6px;
  color: #fff;
  background: #1d080b;
  box-shadow: 0 0 22px rgba(255, 48, 48, 0.28), inset 0 0 14px rgba(255, 48, 48, 0.12);
  font-weight: 700;
  text-decoration: none;
}

.primaryCta:hover {
  border-color: #fff;
  background: #330d12;
}

.freeTest {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 4vw, 54px);
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: clamp(22px, 4vw, 34px) 0;
  border-block: 1px solid rgba(255, 48, 48, 0.32);
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 46px);
  line-height: 1.08;
}

.freeTest p,
.contactBand p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 18px);
}

.freeTest strong {
  color: #fff;
}

.workflow {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  min-width: 0;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  min-width: 0;
}

.step {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 260px;
  padding: 14px;
  border: 1px solid rgba(255, 48, 48, 0.32);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(19, 7, 9, 0.96), rgba(8, 4, 6, 0.94));
}

.step span {
  color: var(--red-soft);
  font-family: var(--pixel);
  font-size: 10px;
}

.step h3 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.18;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contactBand {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-width: 0;
  padding: clamp(24px, 5vw, 48px) 0 0;
}

.contactBand div {
  display: grid;
  gap: 8px;
  max-width: 820px;
}

@media (min-width: 921px) {
  .freeTest {
    grid-template-columns: minmax(220px, 0.86fr) minmax(0, 1.14fr);
  }

  .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .siteShell {
    width: min(calc(100% - 24px), 720px);
  }

  .hero {
    min-height: 72vh;
  }

  .step {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  body::before,
  .cursorAura,
  .sparkLayer {
    display: none;
  }

  .siteShell {
    padding-top: 34px;
  }

  .hero {
    min-height: 66vh;
  }

  .logoStage {
    width: min(72vw, 280px);
  }

  .lead {
    width: min(100%, 300px);
    font-size: 18px;
  }

  .freeTest > p,
  .contactBand p,
  .step p {
    width: min(100%, 300px);
    margin-inline: auto;
  }

  h2 {
    width: min(100%, 300px);
    margin-inline: auto;
    font-size: 24px;
    line-height: 1.15;
  }

  .primaryCta {
    width: min(100%, 280px);
  }
}

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

  .cursorAura,
  .sparkLayer {
    display: none;
  }
}
