:root {
  --bg: #000000;
  --ink: #cbff00;
  --ink-dim: rgba(203, 255, 0, 0.65);
  --ink-faint: rgba(203, 255, 0, 0.24);
  --panel: #030303;
  --font: "Share Tech Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

.crt {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 2px,
      rgba(0, 0, 0, 0.14) 2px,
      rgba(0, 0, 0, 0.14) 4px
    ),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
  opacity: 0.55;
}

.shell {
  width: 100%;
  height: 100svh;
  margin: 0;
  padding: clamp(0.6rem, 1.4vw, 1rem) clamp(0.8rem, 2.2vw, 1.75rem);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.65rem;
  overflow: hidden;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0.15rem 0.55rem;
  border-bottom: 1px solid var(--ink-faint);
}

.top-l {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.chip {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  border: 1px solid var(--ink-faint);
  color: var(--ink-dim);
  font-size: 0.88rem;
  text-transform: lowercase;
}

.mark {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.xlink {
  font-size: 1rem;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.stage {
  min-height: 0;
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 4vw, 3.5rem);
  align-items: stretch;
  overflow: hidden;
}

.copy {
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  overflow: hidden;
  padding-right: 0.5rem;
  max-width: 46rem;
}

.boot {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-dim);
}

.dim {
  color: var(--ink-faint);
}

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

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

.brand {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgba(203, 255, 0, 0.18);
}

.line {
  margin: 0.15rem 0 0;
  min-height: 1.3em;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  color: var(--ink-dim);
}

.line.is-done::after {
  content: "";
  display: inline-block;
  width: 0.6ch;
  height: 1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--ink);
  animation: blink 1s steps(1) infinite;
}

.lead {
  margin: 0.2rem 0 0;
  max-width: 40ch;
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.cta {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-block;
  padding: 0.78rem 1.15rem;
  border: 1px solid var(--ink);
  background: rgba(203, 255, 0, 0.07);
  font-family: var(--font);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  background: rgba(203, 255, 0, 0.14);
}

.btn.ghost {
  border-style: dashed;
  border-color: var(--ink-dim);
  background: transparent;
  color: var(--ink-dim);
}

.btn.ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.pulse {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
  margin-top: 0.35rem;
}

.pulse .bar {
  width: 2px;
  height: 3px;
  background: var(--ink);
  animation: pulse 1.1s ease-in-out infinite;
}

.pulse .bar:nth-child(2) {
  animation-delay: 0.1s;
}
.pulse .bar:nth-child(3) {
  animation-delay: 0.2s;
}
.pulse .bar:nth-child(4) {
  animation-delay: 0.3s;
}
.pulse .bar:nth-child(5) {
  animation-delay: 0.4s;
}
.pulse .bar:nth-child(6) {
  animation-delay: 0.5s;
}

@keyframes pulse {
  0%,
  100% {
    height: 3px;
    opacity: 0.35;
  }
  50% {
    height: 13px;
    opacity: 1;
  }
}

.steps {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  border-top: 1px dashed var(--ink-faint);
}

.steps li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.55rem;
  align-items: baseline;
  color: var(--ink-dim);
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
}

.steps .n {
  color: var(--ink);
  font-size: 0.9rem;
}

.footline {
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  align-items: center;
  font-size: 0.92rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.media {
  min-height: 0;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  overflow: hidden;
}

.player {
  height: 100%;
  max-height: 100%;
  width: auto;
  aspect-ratio: 9 / 16;
  max-width: min(32vw, calc((100svh - 5rem) * 9 / 16));
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.28rem;
  padding: 0.5rem;
  border: 1px solid var(--ink-faint);
  background: var(--panel);
  overflow: hidden;
}

.player-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-dim);
}

.clip {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #000;
  border: 1px solid var(--ink-faint);
}

@media (min-width: 1200px) {
  body {
    font-size: 18px;
  }

  .brand {
    font-size: clamp(5rem, 7.5vw, 7.5rem);
  }

  .lead {
    font-size: 1.3rem;
    max-width: 38ch;
  }

  .btn {
    font-size: 1.05rem;
    padding: 0.9rem 1.3rem;
  }

  .steps li {
    font-size: 1.2rem;
  }
}

@media (max-width: 980px) {
  .player {
    max-width: min(36vw, calc((100svh - 5rem) * 9 / 16));
  }
}

@media (max-width: 760px) {
  body {
    overflow: hidden;
  }

  .shell {
    padding: 0.55rem 0.7rem 0.65rem;
    gap: 0.45rem;
  }

  .chip {
    display: none;
  }

  .stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.55rem;
  }

  .copy {
    justify-content: flex-start;
    gap: 0.25rem;
    padding-right: 0;
  }

  .brand {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .lead {
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .cta .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .pulse {
    display: none;
  }

  .steps {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    gap: 0.18rem;
  }

  .steps li {
    font-size: 0.76rem;
  }

  .footline {
    margin-top: 0.3rem;
  }

  .media {
    justify-content: center;
  }

  .player {
    height: 100%;
    max-width: min(46vw, 200px);
    max-height: 100%;
  }

  .note {
    display: none;
  }
}

@media (max-width: 760px) and (max-height: 740px) {
  .boot,
  .footline {
    display: none;
  }

  .steps {
    display: none;
  }

  .line {
    font-size: 0.9rem;
  }
}

@media (max-width: 420px) {
  .player {
    max-width: min(52vw, 180px);
  }

  .cta {
    flex-direction: column;
  }

  .cta .btn {
    width: 100%;
  }
}

@media (max-height: 680px) and (min-width: 761px) {
  .pulse {
    display: none;
  }

  .brand {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor,
  .line.is-done::after,
  .pulse .bar {
    animation: none;
  }

  .pulse .bar {
    height: 9px;
    opacity: 0.7;
  }
}
