:root {
  --bg: #131313;
  --fg: #f5f1e8;
  --red: #dc6652;
  --purple: #c28abb;
  --scale: 1;
  --mono: 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
}

body { font-family: var(--mono); font-size: 12px; }
a { color: inherit; text-decoration: none; }
img { display: block; height: auto; max-width: 100%; }
::selection { background: #7b3772; color: var(--fg); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 55px 28px 85px;
}

.composition { display: flex; flex-direction: column; align-items: center; }
.lockup { width: calc(340px * var(--scale)); }

.links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(28px * var(--scale));
  margin-top: calc(38px * var(--scale));
  font: 11px/1.8 var(--mono);
  letter-spacing: .01em;
  color: #b7afac;
}
.links a { display: inline-block; padding: 6px 0; }
.links span { font-size: .85em; color: #746c70; }
.links a:hover {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 6px;
}
.links a:hover span { color: var(--purple); }
a:focus-visible { outline: 1px solid var(--red); outline-offset: 7px; }

@media (max-width: 600px) {
  .page { padding: 38px 22px 65px; }
  .composition { --scale: .83; }
}
@media (max-width: 370px) {
  .composition { --scale: .7; }
}
