:root {
  --paper: #161616;
  --ink: #f4f1ea;
  --line: #2c2c2c;
  --desktop: #0c0c0c;
  --bar: #0c0c0c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100%;
  background: var(--desktop);
  color: var(--ink);
  font-family: Geneva, "Lucida Grande", "Trebuchet MS", sans-serif;
}

a {
  color: inherit;
}

.menubar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  min-height: 28px;
  padding: 8px 12px;
  background: var(--bar);
  border-bottom: 3px solid var(--line);
  font-size: 14px;
}

.mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: block;
}

.menu-word {
  text-decoration: none;
}

.download {
  margin-left: auto;
  font-weight: 700;
}

.cursor {
  width: 8px;
  height: 14px;
  background: var(--ink);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 16px 16px 40px;
}

.window {
  background: var(--paper);
  border: 3px solid var(--line);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--line);
}

.titlebar {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 3px solid var(--line);
  border-radius: 13px 13px 0 0;
  background: repeating-linear-gradient(to bottom, #161616 0 2px, #3a3a3a 2px 3px);
  position: relative;
  overflow: hidden;
}

.titlebar h1,
.titlebar p {
  justify-self: center;
  grid-column: 2;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 1px 14px;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.close {
  width: 14px;
  height: 14px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #0c0c0c;
  position: relative;
  z-index: 1;
}

.stripes {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  background-size: 40% 100%;
  background-repeat: no-repeat;
}

.window-body,
.features,
.steps {
  padding: 16px;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.headline {
  font-size: 32px;
  line-height: 1.05;
  font-weight: 700;
  margin: 10px 0 12px;
}

.pitch {
  font-size: 16px;
  line-height: 1.45;
}

.transcript {
  min-height: 1.4em;
  margin: 16px 0;
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
}

.btn {
  display: block;
  text-align: center;
  background: #fff;
  color: #000;
  border: 3px solid var(--line);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--line);
  padding: 12px 14px;
  text-decoration: none;
  font-weight: 700;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--line);
}

.meta {
  margin-top: 12px;
  font-size: 13px;
}

.features,
.steps {
  list-style: none;
  display: grid;
  gap: 10px;
}

.features li,
.steps li {
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  line-height: 1.4;
}

.features strong,
.steps strong {
  display: block;
  margin-bottom: 4px;
}

.steps {
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.foot {
  border-top: 3px solid var(--line);
  background: var(--bar);
  color: var(--ink);
  padding: 10px 16px 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reveal {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
  }

  .reveal.in {
    animation: rise 0.7s ease forwards;
  }

  .cursor {
    animation: blink 1.1s steps(1) infinite;
  }

  .stripes {
    animation: shimmer 3.6s linear infinite;
  }

  .transcript {
    transition: opacity 0.28s ease;
  }

  .transcript.out {
    opacity: 0;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

@keyframes shimmer {
  from {
    background-position: -40% 0;
  }
  to {
    background-position: 140% 0;
  }
}

@media (min-width: 860px) {
  .menubar {
    flex-wrap: nowrap;
    height: 28px;
    padding: 0 12px;
    gap: 18px;
  }

  .stack {
    gap: 28px;
    padding: 36px 24px 64px;
  }

  .headline {
    font-size: 40px;
  }

  .window-body,
  .features,
  .steps {
    padding: 22px;
  }

  .btn {
    display: inline-block;
  }
}
