@font-face {
  font-family: "Pixel";
  src: url("assets/fonts/Pixel.ttf") format("truetype");
  font-display: swap;
}

:root {
  --page-bg: #ffffff;
  --text-main: #111111;
  --text-muted: #666666;
  --line-soft: rgba(17, 17, 17, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top, rgba(17, 17, 17, 0.04), transparent 28%),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.02), rgba(17, 17, 17, 0));
  background-color: var(--page-bg);
  color: var(--text-main);
  font-family: "Pixel", monospace;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.landing-shell {
  width: min(100%, 320px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 52px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.brand-link {
  display: inline-flex;
}

.brand-logo {
  width: min(212px, 56vw);
  display: block;
}

.brand-time,
.site-footer p,
.site-footer a,
.landing-nav a {
  margin: 0;
  font-size: .9rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.brand-time,
.site-footer p,
.site-footer a:last-child {
  color: var(--text-muted);
}

.landing-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.landing-nav a {
  position: relative;
  transition: color 160ms ease, transform 160ms ease;
}

.landing-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--text-main);
  transform: translateX(-50%);
  transition: width 160ms ease;
}

.landing-nav a:hover,
.landing-nav a:focus-visible {
  color: #000000;
  transform: translateY(-1px);
}

.landing-nav a:hover::after,
.landing-nav a:focus-visible::after {
  width: 100%;
}

.site-footer {
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.site-footer a {
  position: relative;
}

.site-footer a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--text-main);
  transform: translateX(-50%);
  transition: width 160ms ease;
}

.site-footer a:hover::after,
.site-footer a:focus-visible::after {
  width: 100%;
}

@media (max-width: 480px) {
  .landing-shell {
    gap: 44px;
  }

  .brand-logo {
    width: min(184px, 60vw);
  }

  .brand-time,
  .site-footer p,
  .site-footer a,
  .landing-nav a {
    font-size: 1rem;
  }
}
