:root {
  color-scheme: dark;
  --ink: #10140f;
  --panel: #f8ffe4;
  --panel-2: #e8ffd2;
  --muted: #526052;
  --paper: #10140f;
  --band: #172318;
  --line: #050805;
  --acid: #b7ff31;
  --cyan: #50e7ff;
  --purple: #9c6bff;
  --ember: #ff6b35;
  --white: #fffdf2;
  --shadow: 12px 12px 0 #050805;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    repeating-linear-gradient(90deg, rgba(183, 255, 49, 0.08) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(80, 231, 255, 0.045) 0 1px, transparent 1px 34px),
    var(--paper);
  color: var(--panel);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 3px solid var(--line);
  background: rgba(10, 14, 10, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  color: var(--acid);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 var(--purple);
}

.brand img {
  filter: drop-shadow(3px 3px 0 var(--purple));
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: rgba(248, 255, 228, 0.8);
  font-size: 0.93rem;
  font-weight: 800;
}

.site-nav a,
.site-footer a {
  text-underline-offset: 0.22em;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--cyan);
}

.hero,
.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100svh - 71px);
  padding: clamp(52px, 8vw, 96px) 0 clamp(34px, 5vw, 62px);
}

.hero::before {
  position: absolute;
  top: 36px;
  left: -8px;
  z-index: -1;
  color: rgba(183, 255, 49, 0.08);
  content: "MISCREANTS";
  font-size: 8rem;
  font-weight: 950;
  line-height: 0.8;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.hero::after {
  position: absolute;
  right: 28%;
  bottom: 42px;
  z-index: -1;
  width: 210px;
  height: 32px;
  border: 3px solid var(--line);
  background:
    repeating-linear-gradient(45deg, var(--cyan) 0 10px, var(--purple) 10px 20px);
  box-shadow: 8px 8px 0 var(--line);
  content: "";
  transform: rotate(-5deg);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 9px;
  border: 2px solid var(--line);
  background: var(--ember);
  color: var(--line);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--line);
}

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

h1 {
  max-width: 850px;
  margin: 0;
  color: var(--panel);
  font-size: 5.45rem;
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow:
    3px 3px 0 var(--purple),
    6px 6px 0 var(--line);
}

h2 {
  margin: 0;
  color: var(--acid);
  font-size: 3.25rem;
  line-height: 1.03;
  letter-spacing: 0;
  text-shadow: 3px 3px 0 var(--line);
}

h3 {
  margin: 0 0 12px;
  color: var(--line);
  font-size: 1.18rem;
  line-height: 1.25;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(248, 255, 228, 0.86);
  font-size: 1.24rem;
}

.lead.small {
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border: 3px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.button:hover,
.contact-link:hover {
  box-shadow: 8px 8px 0 var(--line);
  transform: translate(-2px, -2px) rotate(-1deg);
}

.button.primary,
.contact-link {
  background: var(--acid);
  color: var(--line);
}

.button.secondary {
  background: var(--cyan);
  color: var(--line);
}

.identity-panel,
.card,
.product-card {
  border: 3px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--line);
}

.identity-panel {
  position: relative;
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 32px);
  transform: rotate(1deg);
}

.identity-panel::before {
  position: absolute;
  top: -18px;
  right: 22px;
  width: 86px;
  height: 28px;
  border: 3px solid var(--line);
  background: var(--cyan);
  box-shadow: 5px 5px 0 var(--line);
  content: "";
  transform: rotate(6deg);
}

.panel-mark {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  place-items: center;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  color: var(--acid);
  font-size: 2.4rem;
  font-weight: 950;
  text-shadow: 3px 3px 0 var(--purple);
}

dl,
dd {
  margin: 0;
}

.identity-panel dl {
  display: grid;
  gap: 19px;
}

dt,
.details-table span {
  color: var(--muted);
  font-size: 0.84rem;
}

dd,
.details-table strong {
  color: var(--line);
  font-size: 1rem;
}

.section {
  padding: clamp(54px, 8vw, 92px) 0;
}

.band {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - 1120px) / 2));
  padding-left: max(20px, calc((100% - 1120px) / 2));
  border-top: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
  background:
    repeating-linear-gradient(-45deg, rgba(183, 255, 49, 0.1) 0 8px, transparent 8px 18px),
    var(--band);
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 820px;
  margin-bottom: 32px;
}

.text-grid,
.product-layout,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 5vw, 64px);
}

.text-grid p,
.contact-layout p,
.legal-copy p {
  margin: 0;
  color: rgba(248, 255, 228, 0.82);
}

.product-layout p {
  margin: 0;
  color: rgba(248, 255, 228, 0.88);
}

.product-card p,
.product-card strong {
  color: var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 174px;
  padding: 24px;
  box-shadow: 8px 8px 0 var(--line);
}

.card:nth-child(2) {
  background: var(--panel-2);
  transform: rotate(-1deg);
}

.card:nth-child(3) {
  background: #e9dcff;
  transform: rotate(1deg);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.product-section {
  border-top: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
  background:
    linear-gradient(90deg, rgba(80, 231, 255, 0.16), transparent 38%),
    linear-gradient(270deg, rgba(156, 107, 255, 0.16), transparent 42%);
}

.product-card {
  align-self: start;
  padding: 26px;
  background: var(--cyan);
  box-shadow: 9px 9px 0 var(--line);
}

.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--acid);
}

.product-card p {
  margin-top: 10px;
}

.details-table {
  display: grid;
  overflow: hidden;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--line);
  box-shadow: 10px 10px 0 var(--line);
}

.details-table > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.4fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 22px;
}

.details-table > div + div {
  border-top: 3px solid var(--line);
}

.contact-section {
  padding-bottom: clamp(70px, 9vw, 110px);
}

.contact-link {
  justify-self: start;
  align-self: start;
}

.legal-page {
  min-height: 66svh;
}

.legal-page h1 {
  font-size: 4.4rem;
}

.legal-copy {
  display: grid;
  max-width: 820px;
  gap: 14px;
  margin-top: 36px;
}

.legal-copy h2 {
  margin-top: 18px;
  color: var(--cyan);
  font-size: 1.34rem;
  line-height: 1.25;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 3px solid var(--line);
  background: var(--line);
  color: rgba(248, 255, 228, 0.88);
  font-size: 0.92rem;
}

.site-footer p {
  max-width: 850px;
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .text-grid,
  .product-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    top: 28px;
    font-size: 4.4rem;
  }

  .hero::after {
    right: 24px;
    bottom: 12px;
    width: 150px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero,
  .section {
    width: min(100% - 28px, 1120px);
  }

  .band {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  h1 {
    font-size: 3rem;
    text-shadow:
      2px 2px 0 var(--purple),
      4px 4px 0 var(--line);
  }

  h2,
  .legal-page h1 {
    font-size: 2.35rem;
  }

  .hero::before {
    font-size: 2.45rem;
  }

  .hero::after {
    display: none;
  }

  .identity-panel,
  .card:nth-child(2),
  .card:nth-child(3) {
    transform: none;
  }

  .hero-actions,
  .button,
  .contact-link {
    width: 100%;
  }

  .details-table > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
