:root {
  --ink: #0a0a0a;
  --paper: #f2f0e8;
  --acid: #e8ff00;
  --hot: #ff2d95;
  --cyan: #00e5ff;
  --warn: #ff4d00;
  --muted: #3a3a3a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Mono", monospace;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(0, 0, 0, 0.04) 47px,
      rgba(0, 0, 0, 0.04) 48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(0, 0, 0, 0.04) 47px,
      rgba(0, 0, 0, 0.04) 48px
    );
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem 0.4rem;
  border-bottom: 6px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.brand {
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transform: rotate(-1.5deg);
  margin-bottom: -1rem;
}

.brand-mark {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 3px solid var(--acid);
  outline: 2px solid var(--hot);
  outline-offset: 3px;
  transform: rotate(5deg);
}

.brand-text {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.1rem, 3.5vw, 1.8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--acid);
  margin-left: -0.8rem;
  margin-bottom: 0.25rem;
  text-shadow: 3px 3px 0 var(--hot);
}

.back-home {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px dashed var(--cyan);
  color: var(--cyan);
  padding: 0.45rem 0.6rem;
  transform: rotate(4deg);
  margin-bottom: 0.6rem;
  margin-right: 0.5rem;
}

.back-home:hover {
  background: var(--cyan);
  color: var(--ink);
}

.legal-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.legal-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--acid);
  border: 3px solid var(--ink);
  padding: 0.3rem 0.5rem;
  transform: rotate(-2deg);
  margin-bottom: 1rem;
}

.legal-wrap h1 {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  max-width: 16ch;
  transform: rotate(-1deg);
  margin-bottom: 0.75rem;
}

.legal-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 2rem;
  transform: rotate(0.5deg);
  border-left: 5px solid var(--hot);
  padding-left: 0.75rem;
}

.legal-lead {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.35;
  background: var(--ink);
  color: var(--acid);
  padding: 1rem;
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--hot);
  margin-bottom: 2.25rem;
  transform: rotate(-0.5deg);
}

.legal-section {
  margin-bottom: 1.75rem;
  padding: 1rem 1rem 1.1rem;
  border: 3px solid var(--ink);
  background: rgba(255, 255, 255, 0.35);
}

.legal-section:nth-child(odd) {
  transform: rotate(-0.4deg);
  border-left-width: 8px;
  border-left-color: var(--warn);
}

.legal-section:nth-child(even) {
  transform: rotate(0.4deg);
  border-left-width: 8px;
  border-left-color: var(--cyan);
  background: #fff8c8;
}

.legal-section h2 {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.legal-section p,
.legal-section li {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.legal-section ul {
  margin: 0.4rem 0 0.6rem 1.1rem;
}

.legal-section a {
  color: #0066aa;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.7rem 0.75rem;
  border: 3px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.85rem 1.1rem;
  border: 4px solid var(--ink);
  background: var(--hot);
  color: var(--paper);
  cursor: pointer;
  justify-self: start;
  transform: rotate(-1.5deg);
  box-shadow: 6px 6px 0 var(--ink);
}

.contact-form button:hover {
  background: var(--acid);
  color: var(--ink);
}

.support-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.support-card {
  border: 3px solid var(--ink);
  padding: 0.75rem;
  background: var(--paper);
  transform: rotate(-0.5deg);
}

.support-card:nth-child(even) {
  transform: rotate(0.8deg);
  background: #d9fbff;
}

.support-card strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 1.75rem 1.25rem;
  border-top: 8px solid var(--acid);
  font-size: 0.72rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.site-footer a {
  text-decoration: none;
  color: #aaa;
}

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

.site-footer .copy {
  color: #777;
}

@media (max-width: 520px) {
  .brand-mark {
    width: 52px;
    height: 52px;
  }

  .legal-wrap {
    padding-top: 2rem;
  }
}
