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

@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/JetBrainsMono-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --green: #00ff41;
  --cyan: #00d9ff;
  --pink: #ff006e;
  --navy: #0a0e27;
  --navy-raised: #0e1433;
  --text: #e0e0e0;
  --muted: #858999;
  --line: rgba(0, 217, 255, 0.24);
  --header-height: 68px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(rgba(10, 14, 39, 0.95), rgba(10, 14, 39, 0.98)),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(0, 217, 255, 0.08) 80px),
    var(--navy);
  font-family: "JetBrains Mono", monospace;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(0, 217, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.16) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 10;
  opacity: 0.07;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, #00d9ff 4px);
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: var(--navy);
  background: var(--green);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px max(22px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(0, 255, 65, 0.38);
  background: rgba(10, 14, 39, 0.93);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand img { border-radius: 4px; }

nav { display: flex; gap: clamp(14px, 4vw, 42px); }

nav a {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

nav a:hover, nav a:focus-visible { color: var(--cyan); }

main, footer {
  width: min(1160px, calc(100% - 44px));
  margin-inline: auto;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  padding: 72px 0 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}

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

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
  text-shadow: 0 0 26px rgba(0, 217, 255, 0.18);
}

h1 span {
  color: var(--green);
  text-shadow: 0 0 25px rgba(0, 255, 65, 0.35);
}

.tagline {
  margin: 24px 0 18px;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.intro {
  max-width: 620px;
  color: #afb2bf;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 2px solid currentColor;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: color 140ms ease, background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.button:hover { transform: translateY(-2px); }

.button:focus-visible, a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.button-primary {
  color: var(--navy);
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 22px rgba(0, 255, 65, 0.16);
}

.button-primary:hover {
  background: #54ff7f;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

.button-secondary { color: var(--cyan); background: rgba(0, 217, 255, 0.03); }
.button-secondary:hover { color: var(--navy); background: var(--cyan); }

.button-cyan { color: var(--cyan); }
.button-cyan:hover { color: var(--navy); background: var(--cyan); }
.button-pink { color: var(--pink); }
.button-pink:hover { color: var(--navy); background: var(--pink); }

.button[aria-disabled="true"] {
  cursor: not-allowed;
  color: var(--muted);
  border-color: #44495c;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.build-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.73rem;
}

.hero-art { display: grid; place-items: center; }

.art-frame {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 217, 255, 0.34);
  background: radial-gradient(circle, rgba(0, 255, 65, 0.07), transparent 64%);
  box-shadow: inset 0 0 50px rgba(0, 217, 255, 0.035);
}

.art-frame::before,
.art-frame::after {
  content: "";
  position: absolute;
  background: rgba(0, 217, 255, 0.2);
}

.art-frame::before { width: 100%; height: 1px; }
.art-frame::after { width: 1px; height: 100%; }

.art-frame img {
  position: relative;
  z-index: 2;
  width: 75%;
  filter: drop-shadow(0 0 16px rgba(0, 255, 65, 0.17));
}

.art-frame p {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  left: 16px;
  margin: 0;
  color: var(--green);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
}

.corner {
  position: absolute;
  z-index: 4;
  width: 22px;
  height: 22px;
  border-color: var(--cyan);
}

.corner-tl { top: -2px; left: -2px; border-top: 3px solid; border-left: 3px solid; }
.corner-tr { top: -2px; right: -2px; border-top: 3px solid; border-right: 3px solid; }
.corner-bl { bottom: -2px; left: -2px; border-bottom: 3px solid; border-left: 3px solid; }
.corner-br { right: -2px; bottom: -2px; border-right: 3px solid; border-bottom: 3px solid; }

.cursor { animation: blink 1s steps(1) infinite; }

.section {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.section-heading { max-width: 760px; margin-bottom: 50px; }

h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child { color: #a8abb8; }

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 190px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(0, 217, 255, 0.26);
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.055), transparent 50%);
}

.step-number {
  align-self: start;
  color: var(--green);
  font-size: 1.15rem;
  font-weight: 700;
}

.steps h3, .notice h3, .feedback-card h3 { margin: 0 0 8px; line-height: 1.3; }
.steps p, .notice p, .feedback-card p { margin: 0; color: #9fa3b2; font-size: 0.9rem; }
.steps strong { color: var(--text); }

.notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 0, 110, 0.55);
  background: rgba(255, 0, 110, 0.045);
}

.notice-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--pink);
  font-weight: 700;
}

.notice h3 { color: var(--pink); }

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feedback-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(26px, 5vw, 44px);
  background: var(--navy-raised);
}

.feedback-card-cyan { border: 1px solid rgba(0, 217, 255, 0.55); }
.feedback-card-pink { border: 1px solid rgba(255, 0, 110, 0.55); }

.feedback-card .card-code {
  margin-bottom: 44px;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
}

.feedback-card-cyan .card-code, .feedback-card-cyan h3 { color: var(--cyan); }
.feedback-card-pink .card-code, .feedback-card-pink h3 { color: var(--pink); }
.feedback-card h3 { font-size: 1.45rem; }
.feedback-card .button { margin-top: auto; }

.final-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: 20px 0 100px;
  padding: 28px;
  border: 1px solid rgba(0, 255, 65, 0.45);
  background: rgba(0, 255, 65, 0.035);
}

.final-cta img { object-fit: cover; }
.final-cta .eyebrow { margin-bottom: 4px; color: var(--green); }
.final-cta h2 { margin: 0; font-size: clamp(1.45rem, 4vw, 2.4rem); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: #6f7383;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

footer p { margin: 0; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 50% { opacity: 0.45; box-shadow: 0 0 4px var(--green); } }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { text-align: center; }
  .intro { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; }
  .art-frame { width: min(72vw, 330px); }
  .steps, .feedback-grid { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: auto 1fr; }
  .final-cta .button { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  :root { --header-height: 60px; }
  main, footer { width: min(100% - 28px, 1160px); }
  .site-header { padding-inline: 14px; }
  .brand span { font-size: 0.82rem; }
  nav { gap: 12px; }
  nav a { font-size: 0.65rem; }
  .hero { gap: 38px; padding: 44px 0 70px; }
  .hero-art { order: initial; }
  .art-frame { width: min(88vw, 330px); }
  .section { padding: 80px 0; }
  .steps li { grid-template-columns: 42px 1fr; padding: 22px 18px; }
  .notice { grid-template-columns: 1fr; }
  .feedback-card { min-height: 300px; }
  .final-cta { grid-template-columns: 1fr; text-align: center; }
  .final-cta img { margin-inline: auto; }
  footer { flex-direction: column; text-align: center; }
}

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