@font-face { font-family: "Anton"; src: url("/assets/anton.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Space Mono"; font-weight: 700; src: url("/assets/space-mono-bold.ttf") format("truetype"); font-display: swap; }

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #000; }

.card {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0.55vmin;
  background: #000;
}

.hero {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffe600;
  overflow: hidden;
}

h1 {
  margin: 0;
  font-family: "Anton", "Impact", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: min(21vw, 32vh);
  line-height: 1;
  letter-spacing: -0.01em;
  color: #000;
  text-shadow: 0.045em 0.045em 0 #fff;
}

.actions {
  display: flex;
  gap: 2.4vmin;
  margin-top: 6vmin;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  min-width: 14ch;
  padding: 1.1em 1.8em;
  border: 0;
  background: #000;
  color: #fff;
  font: 700 clamp(16px, 2vw, 28px) / 1 "Space Mono", ui-monospace, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  /* Same white backdrop as the title. */
  box-shadow: 0.2em 0.2em 0 #fff;
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover, .btn:focus-visible {
  transform: translate(-0.08em, -0.08em);
  box-shadow: 0.3em 0.3em 0 #fff;
  outline: 3px solid #000;
  outline-offset: 4px;
}
.btn:active { transform: translate(0.12em, 0.12em); box-shadow: 0.08em 0.08em 0 #fff; }

.shell {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  background: #000;
}
.shell[hidden] { display: none; }
.shell header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  background: #ffe600;
  color: #000;
  font: 700 14px / 1 "Space Mono", ui-monospace, monospace;
}
.shell header button {
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
#term { flex: 1; min-height: 0; padding: 0.5rem 0.75rem; }
