@font-face {
  font-family: "BerkeleyMono";
  src: url("fonts/BerkeleyMono-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "BerkeleyMono";
  src: url("fonts/BerkeleyMono-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "VG5000";
  src: url("fonts/VG5000-Regular_web.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Steps Mono";
  src: url("fonts/Steps-Mono.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --black: #10110f;
  --green: #00f43a;
  --cream: #fff1a4;
  --orange: #c85b08;
  --gray: #b8b8b0;
  --rule: rgba(255, 241, 164, 0.2);
}

* { box-sizing: border-box; }

html {
  color-scheme: dark;
  background: var(--black);
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background: var(--black);
  font-family: "BerkeleyMono", "Berkeley Mono", ui-monospace, monospace;
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration-color: var(--green);
  text-underline-offset: 0.2em;
}

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

a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 0.9rem;
  color: var(--black);
  background: var(--cream);
  font-weight: 700;
  transform: translateY(-200%);
}

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

.shell,
.site-header,
.legal,
.legal-footer {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  border-bottom: 1px solid var(--rule);
  font-family: "Steps Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand {
  color: var(--cream);
  text-decoration: none;
}

.brand:hover { color: var(--green); }
.breadcrumb { color: var(--green); }

.legal {
  max-width: 760px;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.legal h1 {
  max-width: none;
  margin: 0 0 0.75rem;
  color: var(--cream);
  font-family: "VG5000", sans-serif;
  font-size: clamp(2.35rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.meta {
  margin: 0 0 2.5rem !important;
  color: var(--green);
  font-family: "Steps Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meta + p {
  max-width: 72ch;
  margin-bottom: 2rem !important;
  color: #d5d1b3;
  font-size: 1rem;
  line-height: 1.65;
}

.legal h2 {
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.75rem;
  color: var(--green);
  border-top: 1px solid var(--rule);
  font-family: "Steps Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.legal h2::before { content: none; }

.legal p,
.legal ul {
  max-width: 72ch;
  margin: 0 0 1rem;
  color: #d5d1b3;
}

.legal ul {
  padding: 0;
  list-style: none;
}

.legal li {
  position: relative;
  margin: 0.55rem 0;
  padding-left: 1.5rem;
}

.legal li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "/";
  font-family: "Steps Mono", ui-monospace, monospace;
}

.notice {
  max-width: 72ch;
  margin: 2.5rem 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--orange);
  border-radius: 0.25rem;
}

.notice h2 {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.notice h2::before { content: ""; margin: 0; }
.notice p { margin: 0; color: var(--cream); }

.legal-footer {
  padding-block: 1.5rem 2.5rem;
  color: var(--gray);
  border-top: 1px solid #333;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-footer p { margin: 0; }

@media (max-width: 600px) {
  .shell,
  .site-header,
  .legal,
  .legal-footer { width: min(100% - 24px, 1180px); }

  .site-header {
    min-height: 54px;
    font-size: 0.62rem;
  }

  .legal { padding-block: 2.75rem 4rem; }
  .legal h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .legal h2 { margin-top: 2.25rem; }
  .notice { padding: 1rem 1.1rem; }
}
