:root {
  --bg: #080808;
  --bg-soft: #111111;
  --ink: #f4f0e8;
  --muted: rgba(244, 240, 232, 0.7);
  --accent: #f25c2a;
  --accent-soft: rgba(242, 92, 42, 0.15);
  --line: rgba(244, 240, 232, 0.14);
  --success: #c0ff67;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(242, 92, 42, 0.22), transparent 28rem),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 24rem),
    var(--bg);
  color: var(--ink);
  font-family: "Syne", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 6px
    );
  opacity: 0.18;
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 100%),
    radial-gradient(circle, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 100%);
  background-size: 14px 14px, 19px 19px;
  mix-blend-mode: screen;
  opacity: 0.18;
  animation: shimmer 5s linear infinite;
  pointer-events: none;
}

.poster {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 22rem);
  gap: clamp(2rem, 4vw, 5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  align-items: end;
}

.hero,
.detail,
.microcopy {
  position: relative;
  z-index: 1;
}

.hero {
  padding: clamp(1rem, 2vw, 1.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(4.5rem, 18vw, 11rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

h1::after {
  content: "INSTALL";
  display: block;
  margin-top: 0.32em;
  color: var(--accent);
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.45em;
}

.lede {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button,
.ghost {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button {
  padding: 0.95rem 1.45rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.ghost {
  padding: 0.95rem 1.2rem;
  background: transparent;
  color: var(--ink);
}

.button:hover,
.ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 240, 232, 0.35);
}

.button[aria-disabled="true"],
.ghost[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.status-wrap {
  margin-top: 1.35rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 0.92rem;
}

.status-pill::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(192, 255, 103, 0.4);
  animation: pulse 1.6s ease infinite;
}

.status-pill.is-warning::before {
  background: var(--accent);
  box-shadow: none;
  animation: none;
}

.helper {
  max-width: 32rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.detail {
  align-self: center;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--bg-soft);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.detail-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.detail-line:first-child {
  padding-top: 0;
  border-top: 0;
}

.detail-line:last-child {
  padding-bottom: 0;
}

.detail-line span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.detail-line p,
.microcopy p {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
}

.microcopy {
  grid-column: 1 / -1;
  align-self: start;
  color: var(--muted);
  font-size: 0.92rem;
}

code {
  font-family: "Courier New", monospace;
  color: var(--accent);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(192, 255, 103, 0.35);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(192, 255, 103, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(192, 255, 103, 0);
  }
}

@keyframes shimmer {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  to {
    transform: translate3d(2rem, -1rem, 0) rotate(1deg);
  }
}

@media (max-width: 900px) {
  .poster {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .detail {
    max-width: 32rem;
  }
}

@media (max-width: 640px) {
  .poster {
    padding: 1rem;
  }

  .hero {
    padding-bottom: 1rem;
  }

  h1 {
    font-size: clamp(3.8rem, 25vw, 6rem);
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .ghost {
    text-align: center;
  }
}
