:root {
  color-scheme: dark;
  --background: #0f0f0f;
  --surface: #181818;
  --surface-raised: #232323;
  --ink: #ffffff;
  --muted: #a0a0a0;
  --green: #39ff14;
  --green-soft: #adff9d;
  --cyan: #00fbff;
  --line: #363636;
  --red: #ff3b30;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  max-width: 1180px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 26px;
  color: var(--ink);
  background-color: var(--background);
  background-image:
    radial-gradient(circle at 82% 13%, rgb(57 255 20 / 13%), transparent 28rem),
    radial-gradient(circle at 12% 48%, rgb(0 251 255 / 8%), transparent 25rem),
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--green-soft);
  font-weight: 750;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--cyan);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  display: block;
  border: 1px solid rgb(57 255 20 / 55%);
  border-radius: 16px;
  box-shadow: 0 0 24px rgb(57 255 20 / 18%);
  object-fit: cover;
}

nav,
footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration-color: var(--green);
  text-decoration-thickness: 3px;
}

main {
  padding: 66px 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
  overflow: hidden;
  min-height: 610px;
  padding: clamp(34px, 6vw, 76px);
  border: 1px solid #424242;
  background:
    linear-gradient(120deg, rgb(20 20 20 / 98%), rgb(9 31 18 / 96%) 58%, rgb(5 20 21 / 98%));
  box-shadow: 12px 12px 0 var(--green);
}

.hero::before {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    125deg,
    transparent 0 32px,
    rgb(57 255 20 / 3%) 33px 34px
  );
  content: "";
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 7px 11px;
  border: 1px solid var(--green);
  color: #061004;
  background: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

h1,
h2 {
  line-height: 1.05;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  font-weight: 950;
  letter-spacing: -0.06em;
}

h1 span {
  color: var(--green);
  text-shadow: 0 0 28px rgb(57 255 20 / 28%);
  -webkit-text-stroke: 1px rgb(173 255 157 / 45%);
}

.lede {
  max-width: 700px;
  margin: 28px 0;
  color: #d8e3d7;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  font-weight: 620;
}

.button {
  display: inline-block;
  padding: 15px 22px;
  border: 2px solid var(--green);
  color: #061004;
  background: var(--green);
  box-shadow: 6px 6px 0 var(--cyan);
  font-weight: 950;
  letter-spacing: 0.025em;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  color: #001112;
  background: var(--cyan);
}

.hero-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
}

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

.scan-frame {
  position: relative;
  display: grid;
  width: min(100%, 360px);
  aspect-ratio: 1;
  place-items: center;
  background: rgb(0 0 0 / 55%);
  box-shadow:
    inset 0 0 70px rgb(57 255 20 / 8%),
    0 0 65px rgb(0 251 255 / 8%);
}

.scan-frame img {
  width: 92%;
  height: 92%;
  object-fit: cover;
}

.scan-line {
  position: absolute;
  left: 6%;
  width: 88%;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 16px 4px rgb(0 251 255 / 55%);
}

.corner {
  position: absolute;
  width: 54px;
  height: 54px;
  border-color: var(--green);
}

.corner-one {
  top: 0;
  left: 0;
  border-top: 4px solid;
  border-left: 4px solid;
}

.corner-two {
  top: 0;
  right: 0;
  border-top: 4px solid;
  border-right: 4px solid;
}

.corner-three {
  right: 0;
  bottom: 0;
  border-right: 4px solid;
  border-bottom: 4px solid;
}

.corner-four {
  bottom: 0;
  left: 0;
  border-bottom: 4px solid;
  border-left: 4px solid;
}

.status-chip {
  margin-top: -15px;
  padding: 7px 12px;
  color: var(--cyan);
  background: #061314;
  border: 1px solid var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 58px;
}

.feature-grid article,
.notice {
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--surface-raised), var(--surface));
}

.feature-grid article:nth-child(1) {
  box-shadow: 7px 7px 0 var(--green);
}

.feature-grid article:nth-child(2) {
  box-shadow: 7px 7px 0 var(--cyan);
}

.feature-grid article:nth-child(3) {
  box-shadow: 7px 7px 0 var(--red);
}

.feature-grid span {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 900;
}

.feature-grid h2,
.notice h2 {
  margin: 18px 0 9px;
}

.feature-grid p,
.notice > p {
  color: var(--muted);
}

.notice {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 50px;
  border-left: 8px solid var(--green);
}

.notice .eyebrow {
  margin-bottom: 4px;
}

.notice h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.notice > p {
  font-size: 1.05rem;
}

.legal {
  max-width: 850px;
  margin: 0 auto;
  padding-top: 56px;
  padding-bottom: 76px;
}

.legal h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 5.7rem);
}

.legal h2 {
  margin-top: 44px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--green-soft);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.legal p,
.legal li {
  color: #d2d8d2;
  font-size: 1.03rem;
}

.legal .updated {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.legal li + li {
  margin-top: 10px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    padding: 0 16px;
  }

  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    padding-top: 38px;
  }

  .hero {
    min-height: auto;
    box-shadow: 7px 7px 0 var(--green);
  }

  .feature-grid,
  .notice {
    grid-template-columns: 1fr;
  }

  .notice {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: translate 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
  }

  .button:hover {
    translate: 2px 2px;
    box-shadow: 4px 4px 0 var(--cyan);
  }

  .scan-line {
    animation: scan 3s ease-in-out infinite;
  }
}

@keyframes scan {
  0%,
  100% {
    top: 18%;
  }

  50% {
    top: 82%;
  }
}
