@font-face {
  font-family: "TASA Explorer";
  src: url("/fonts/TASAExplorer[wght].ttf") format("truetype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #05090c;
  --g1: #16242a;
  --g2: #0a1317;
  --hero: rgba(228, 238, 241, 0.92);
  --hero-muted: rgba(205, 222, 228, 0.62);
  --ft: rgba(214, 226, 230, 0.66);
  --ft-dim: rgba(196, 210, 216, 0.58);
  --ft-line: rgba(214, 226, 230, 0.09);
  --focus: #86cfd6;
  --font: "TASA Explorer", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

html {
  background-color: var(--bg);
  background-image: radial-gradient(120% 85% at 50% -12%, var(--g1) 0%, var(--g2) 48%, var(--bg) 100%);
  background-attachment: fixed;
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ft);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
}

.doc {
  width: min(68ch, 100% - 2 * max(24px, env(safe-area-inset-left, 0px)));
  margin: 0 auto;
  padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 1.1em;
}

.doc p, .doc ul {
  margin: 0;
}

.doc ul {
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

.top, .docfoot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  color: var(--ft);
}

.back {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(214, 226, 230, 0.18);
  background-color: rgba(214, 226, 230, 0.1);
  color: var(--hero);
  text-decoration: none;
}

.back:hover {
  background-color: rgba(214, 226, 230, 0.16);
}

.back:focus-visible {
  border-radius: 50%;
}

.back svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.docfoot .home {
  color: var(--hero);
  text-decoration-color: rgba(214, 226, 230, 0.4);
  text-underline-offset: 0.3em;
}

h1 {
  margin: 0.6em 0 0;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--hero);
}

h2 {
  margin: 1.4em 0 0;
  font-size: 0.82em;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ft-dim);
}

h3 {
  margin: 0.6em 0 0;
  font-size: 1em;
  font-weight: 500;
  color: var(--hero-muted);
}

strong {
  font-weight: 500;
  color: var(--hero-muted);
}

.dim {
  color: var(--ft-dim);
}

.docfoot {
  margin-top: 2em;
  padding-top: 1.2em;
  border-top: 1px solid var(--ft-line);
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--ft-line);
  text-underline-offset: 0.25em;
}

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

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
