/* Holding page for ctrlcore.co. Colours and type follow ctrlcore.net:
   brand red #ed1c24 on black, Roboto Condensed (Apache 2.0, self-hosted). */

@font-face {
  font-family: "Roboto Condensed";
  src: url("RobotoCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("RobotoCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --red: #ed1c24;
  --black: #000;
  --white: #fff;
  --grey: #ffffffa6;
  --line: #ffffff26;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  font-family: "Roboto Condensed", Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.top {
  padding: 1.5rem 5%;
  border-bottom: 1px solid var(--line);
}

/* The logo file has about 11% empty space on its left; pull it back so the
   wordmark lines up with the text below. */
.logo {
  display: block;
  width: 160px;
  height: auto;
  margin-left: -18px;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5%;
  max-width: 80rem;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--grey);
  font-size: 1.125rem;
  letter-spacing: .02em;
}

.prompt { color: var(--red); font-weight: 700; }

.cursor {
  display: inline-block;
  width: .55em;
  height: 1.1em;
  margin-left: .2em;
  vertical-align: text-bottom;
  background: var(--red);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

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

h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1.02;
  letter-spacing: -.01em;
}

.lead {
  margin: 1.75rem 0 2.5rem;
  max-width: 34rem;
  color: var(--grey);
  font-size: 1.25rem;
  letter-spacing: -.4px;
}

.button {
  align-self: flex-start;
  padding: .75rem 1.5rem;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.button:hover, .button:focus-visible {
  background: transparent;
  color: var(--white);
}

.button:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 5%;
  border-top: 1px solid var(--line);
  color: var(--grey);
  font-size: .875rem;
}

.foot a { color: inherit; }
