* {
  box-sizing: border-box;
}

:root {
  --void: #050605;
  --ink: #f4f7f2;
  --muted: #b9c7ba;
  --phosphor: #00ff66;
  --amber: #ffb84d;
  --cyan: #80e8ff;
  --rule: rgb(244 247 242 / 20%);
  --grid-gap: 24px;
}

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

body {
  background: var(--void);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

code {
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  border-bottom: 2px solid var(--phosphor);
  background: #020302;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(
      to bottom,
      rgb(255 255 255 / 7%) 0,
      rgb(255 255 255 / 7%) 1px,
      transparent 1px,
      transparent 5px
    );
  mix-blend-mode: screen;
}

.landing-demo {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: clamp(16px, 3vw, 42px);
  overflow: hidden;
  color: rgb(140 255 177 / 78%);
  background: #020302;
  font: clamp(8px, 1.14vw, 16px) / 1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-shadow: 0 0 9px rgb(0 255 102 / 64%);
  white-space: pre;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 72px);
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px var(--grid-gap);
  align-content: end;
  padding: 44px 0 54px;
}

.eyebrow,
.summary,
.notes p,
.launch-item p {
  margin: 0;
}

.eyebrow {
  grid-column: 1 / 5;
  align-self: end;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  grid-column: 1 / 12;
  max-width: 11ch;
  color: var(--ink);
  font-size: clamp(56px, 11vw, 150px);
  line-height: 0.88;
  overflow-wrap: anywhere;
  text-shadow:
    0 0 18px rgb(0 255 102 / 42%),
    4px 0 0 rgb(128 232 255 / 32%);
}

h2 {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 0.95;
}

.summary {
  grid-column: 7 / 13;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: pretty;
}

.primary-actions {
  grid-column: 7 / 13;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.primary-link,
.secondary-link,
.tertiary-link,
.launch-item a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  border: 2px solid currentColor;
  padding: 10px 14px;
  color: var(--link-color, var(--phosphor));
  background: rgb(5 6 5 / 78%);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 140ms ease,
    color 140ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
}

.secondary-link {
  --link-color: var(--amber);
}

.tertiary-link {
  --link-color: var(--cyan);
}

.primary-link:hover,
.primary-link:focus-visible,
.secondary-link:hover,
.secondary-link:focus-visible,
.tertiary-link:hover,
.tertiary-link:focus-visible,
.launch-item a:hover,
.launch-item a:focus-visible {
  background: var(--link-color, var(--phosphor));
  color: var(--void);
  box-shadow: 6px 6px 0 var(--ink);
  outline: 0;
  transform: translate(-2px, -2px);
}

.launch-grid,
.notes {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--rule);
}

.launch-item {
  min-height: 288px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  gap: 20px;
  padding-top: 18px;
  border-top: 2px solid var(--phosphor);
  background: transparent;
}

.launch-item:nth-child(1) {
  grid-column: 1 / 5;
}

.launch-item:nth-child(2) {
  grid-column: 5 / 9;
  border-top-color: var(--amber);
}

.launch-item:nth-child(3) {
  grid-column: 9 / 13;
  border-top-color: var(--cyan);
}

.launch-item p,
.notes p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.launch-item a {
  align-self: end;
  justify-self: start;
  min-width: 150px;
}

.launch-item:nth-child(2) a {
  --link-color: var(--amber);
}

.launch-item:nth-child(3) a {
  --link-color: var(--cyan);
}

.notes {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  padding: 34px 0 64px;
}

.notes h2 {
  grid-column: 1 / 5;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
}

.notes p {
  grid-column: 6 / 13;
}

@media (prefers-reduced-motion: reduce) {
  .primary-link,
  .secondary-link,
  .tertiary-link,
  .launch-item a {
    transition: none;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: calc(100svh - 56px);
  }

  .landing-demo {
    font-size: 8px;
  }

  .hero-overlay,
  .launch-grid,
  .notes {
    width: min(100% - 28px, 1280px);
    grid-template-columns: 1fr;
  }

  .hero-overlay {
    min-height: calc(100svh - 56px);
    padding: 32px 0 38px;
  }

  .eyebrow,
  h1,
  .summary,
  .primary-actions,
  .launch-item:nth-child(1),
  .launch-item:nth-child(2),
  .launch-item:nth-child(3),
  .notes h2,
  .notes p {
    grid-column: 1;
  }

  .primary-actions {
    grid-template-columns: 1fr;
  }

  .launch-grid {
    padding-top: 38px;
  }

  .launch-item {
    min-height: 220px;
  }
}
