:root {
  color-scheme: dark;
  font-family: "Courier New", Courier, monospace;
  color: #e2e2e2;
  background: #060606;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

html { min-width: 280px; min-height: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100svh; }

.backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.car {
  position: absolute;
  width: min(1120px, 94vw);
  max-width: none;
  height: auto;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  opacity: .21;
  filter: grayscale(1) brightness(.7);
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 55%, transparent 13%, rgba(6, 6, 6, .45) 62%, #060606 100%);
}

main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 88px 24px 104px;
}

.identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-12px);
}

h1 { margin: 0; line-height: 0; }
.logo { display: block; width: 268px; max-width: 75vw; height: auto; }

nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 39px;
  gap: 3px;
}

a {
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.02em;
  transition: color 130ms ease;
}

nav a { padding: 6px 8px; min-height: 32px; }
a:hover { color: #e3191b; }
a:focus-visible { color: #fff; outline: 1px solid #d71a1a; outline-offset: 5px; }

footer {
  position: fixed;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: max(27px, env(safe-area-inset-bottom));
  text-align: center;
}

footer a { display: inline-block; padding: 8px; color: #8b8b8b; font-size: 10px; letter-spacing: .015em; }
footer span { margin-left: 2px; }

@media (max-width: 600px) {
  main { padding: 76px 20px 100px; }
  .identity { transform: translateY(-18px); }
  .logo { width: 238px; }
  .car { width: 166vw; left: 50%; top: 53%; opacity: .21; }
  nav { margin-top: 34px; gap: 1px; }
  nav a { min-height: 36px; padding-top: 8px; padding-bottom: 8px; }
  footer { bottom: max(21px, env(safe-area-inset-bottom)); }
}

@media (max-height: 490px) and (min-width: 601px) {
  main { padding-top: 35px; padding-bottom: 70px; }
  .identity { transform: none; }
  .logo { width: 210px; }
  nav { margin-top: 14px; gap: 0; }
  nav a { min-height: 28px; padding-top: 4px; padding-bottom: 4px; }
  footer { bottom: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  a { transition: none; }
}
