:root {
  --bg: #e6e6e0;
  --fg: #16161a;
  --muted: #787872;
  --chevron: #a8a8a0;
  --band-l: 0.6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a1c;
    --fg: #e2e2da;
    --muted: #84847e;
    --chevron: #6a6a64;
    --band-l: 0.62;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: "SF Mono", SFMono-Regular, Menlo, Consolas, ui-monospace, monospace;
  text-transform: uppercase;
  -webkit-text-size-adjust: 100%;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 88px;
}

h1 {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
}

.cursor {
  width: 0.5em;
  height: 1em;
  background: var(--fg);
  animation: blink 1.06s step-end infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1 }
  50%, 100% { opacity: 0 }
}

@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none }
}

.role {
  margin: 20px 0 0;
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 56px;
  font-size: 15px;
  letter-spacing: 0.14em;
}

.links a {
  display: flex;
  gap: 16px;
  width: fit-content;
  color: var(--fg);
  text-decoration: none;
}

.chevron {
  color: var(--chevron);
}

@media (hover: hover) {
  .links a:hover {
    background: var(--fg);
    color: var(--bg);
  }

  .links a:hover .chevron {
    color: var(--bg);
  }
}

.links a:focus-visible {
  background: var(--fg);
  color: var(--bg);
  outline: none;
}

.links a:focus-visible .chevron {
  color: var(--bg);
}

.band {
  display: flex;
  height: 8px;
  flex: none;
}

.band span {
  flex: 1;
}

.band span:nth-child(1) { background: oklch(var(--band-l) 0.12 30) }
.band span:nth-child(2) { background: oklch(var(--band-l) 0.12 95) }
.band span:nth-child(3) { background: oklch(var(--band-l) 0.12 155) }
.band span:nth-child(4) { background: oklch(var(--band-l) 0.12 235) }
.band span:nth-child(5) { background: oklch(var(--band-l) 0.12 320) }

@media (max-width: 700px) {
  main {
    padding: 40px 34px;
  }

  h1 {
    font-size: 25px;
    letter-spacing: 0.05em;
  }

  .role {
    margin-top: 14px;
    font-size: 12px;
    letter-spacing: 0.22em;
  }

  .links {
    gap: 2px;
    margin-top: 40px;
    letter-spacing: 0.13em;
  }

  .links a {
    align-items: center;
    width: auto;
    min-height: 48px;
  }

  .links a:active {
    opacity: 0.5;
  }
}
