@font-face {
  font-family: "Iosevka";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url("https://cdn.jsdelivr.net/fontsource/fonts/iosevka@latest/latin-400-normal.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/fontsource/fonts/iosevka@latest/latin-400-normal.woff") format("woff");
}

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

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

@font-face {
  font-family: "Ioskeley Mono";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ioskeley/IoskeleyMono-Italic.woff2") format("woff2");
}

@font-face {
  font-family: "Ioskeley Mono";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ioskeley/IoskeleyMono-BoldItalic.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg-1: #252423;
  --bg-2: #7c746d;
  --fg: #dddeda;
  --fg-2: rgba(221, 222, 218, 0.76);
  --fg-3: rgba(221, 222, 218, 0.42);
  --line: rgba(221, 222, 218, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--fg);
  font-family: "Ioskeley Mono", "Iosevka", "Iosevka Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  background: var(--bg-1);
}

body {
  display: flex;
  justify-content: center;
  min-height: 100svh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  /* background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); */
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 86%);
  opacity: 0.22;
}

main {
  width: 100%;
  max-width: 760px;
  padding: clamp(64px, 8vw, 96px) 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  cursor: default;
}

h2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: default;
}

p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--fg-2);
  cursor: default;
  max-width: 64ch;
}

ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

li {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--fg-2);
  padding-left: 20px;
  position: relative;
  cursor: default;
}

li:not(:empty)::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--fg-3);
}

.scramble {
  text-wrap-style: pretty;
}

.scramble:hover {
  color: var(--fg);
}

.scramble::selection {
  background: rgba(221, 222, 218, 0.18);
}
