@import url("https://fonts.googleapis.com/css2?family=Quantico:ital,wght@0,400;0,700;1,400;1,700&display=swap");

:root {
  --bg: #0a0a0f;
  --fg: #b9b9c2;
  --muted: #686875;
  --accent: #927dff;
  --line: #282633;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
  width: 600px;
  max-width: 100%;
  margin: 0 auto;
  padding: 12vh 1.25rem 3rem;
  color: var(--fg);
  background: transparent;
  font:
    15px/1.7 "Quantico",
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  text-align: left;
}

header {
  margin-bottom: 4.5rem;
}

h1 {
  margin: 0;
  color: var(--accent);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.motd {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

section {
  margin: 0 0 3.25rem;

  & h2 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  color: var(--accent);
  font-size: 0.8rem;
  line-height: 1;
}

p {
  margin: 0 0 0.75rem;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

li::before,
.row::before {
  content: "→";
  display: inline-block;
  width: 1.7rem;
  color: var(--accent);
}

li {
  margin: 0.65rem 0;
}

a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px dotted #4a38b3;

  &:hover,
  &:focus-visible {
    color: var(--accent);
    border-color: var(--accent);
    outline: none;
    border-bottom: solid 1px;
  }
}

.row {
  margin: 0.7rem 0;

  & .label {
    color: var(--muted);
  }
}

.indent {
  display: block;
  margin: 0.2rem 0 0 1.7rem;
}

.indent.muted {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.025em;
  line-height: 1.8;
}

.note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.copy {
  display: inline;
  padding: 0;
  border: none;
  border-bottom: 1px dotted #4a38b3;
  color: var(--fg);
  background: none;
  font: inherit;
  cursor: pointer;

  &:hover,
  &:focus-visible {
    color: var(--accent);
    border-color: var(--accent);
    outline: none;
    border-bottom: solid 1px;
  }

  & .done {
    color: var(--accent);
  }
}

#pgp-key {
  display: none;
}

footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  .page {
    padding-top: 3rem;
  }

  header {
    margin-bottom: 3.5rem;
  }
}
