.launcher-landing {
  --launcher-ink: #101113;
  --launcher-gold: #f3bf60;
  --launcher-text: #f4eee6;
  --launcher-muted: #c2bbb1;
  --launcher-line: #bda98b3b;
  color: var(--launcher-text);
  background: var(--launcher-ink);
}

.launcher-landing :focus-visible { outline-color: var(--launcher-gold); }
.launcher-landing [hidden] { display: none; }

.launcher-masthead { position: relative; isolation: isolate; overflow: hidden; }
.launcher-scenery, .launcher-masthead::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.launcher-scenery { z-index: -2; object-fit: cover; object-position: 51% 59%; }
.launcher-masthead::before {
  content: "";
  z-index: -1;
  --launcher-shade: to right;
  background:
    linear-gradient(0deg, var(--launcher-ink), #10111332 46%, #1011135e),
    linear-gradient(var(--launcher-shade), #101113f0, #101113ba 30%, #1011130d 88%);
}
html[dir="rtl"] .launcher-masthead::before { --launcher-shade: to left; }

.launcher-intro {
  display: grid;
  grid-template-columns: minmax(0, 41fr) minmax(0, 59fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(58px, 8vw, 110px) clamp(46px, 7.5vw, 96px);
}
.launcher-intro-copy { container-type: inline-size; }
.launcher-intro #launcher-title {
  margin-block-end: 22px;
  font-family: Inter, system-ui, sans-serif;
  font-size: min(17.5cqi, 5.25rem);
  font-weight: 780;
  letter-spacing: -.025em;
  line-height: 1;
  text-transform: uppercase;
}
.launcher-intro h1 span { display: block; }
.launcher-intro h1 span + span { color: var(--launcher-gold); }
.launcher-intro-copy > p { max-width: 40ch; color: var(--launcher-muted); line-height: 1.7; }
.launcher-intro .actions { gap: 8px 18px; margin-block-start: 24px; }
.launcher-intro .button-primary {
  color: #21170a;
  background: var(--launcher-gold);
  border-color: var(--launcher-gold);
}
.launcher-intro .button-primary:hover { background: #ffda95; }
.launcher-setup-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: .82rem; }
.launcher-setup-link:hover { color: var(--launcher-gold); }
.launcher-intro-copy .launcher-version { margin-block-start: 12px; font-size: .8rem; }

.launcher-showcase {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--launcher-line);
  border-radius: 10px;
  background: #161617;
  box-shadow: 0 26px 70px #0008;
}
.launcher-preview-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0 16px;
  padding-inline: 14px;
}
.launcher-preview-switcher button {
  min-height: 44px;
  padding: 7px 4px;
  border: 0;
  border-block-end: 2px solid transparent;
  background: none;
  color: var(--launcher-muted);
  font: inherit;
  font-size: .8rem;
}
.launcher-preview-switcher button:hover { color: var(--launcher-text); }
.launcher-preview-switcher button[aria-pressed="true"] { color: var(--launcher-gold); border-block-end-color: currentColor; }
.launcher-preview { margin: 0; }
.launcher-preview a { display: block; position: relative; }
.launcher-preview a:focus-visible { outline-offset: -3px; }
.launcher-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.launcher-preview-zoom {
  position: absolute;
  inset-inline-end: 9px;
  inset-block-end: 9px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--launcher-line);
  border-radius: 5px;
  background: #101113e8;
}
.launcher-preview a:hover .launcher-preview-zoom { color: var(--launcher-gold); }
.launcher-preview-zoom .icon { width: 16px; height: 16px; }
.launcher-preview figcaption {
  min-height: 52px;
  padding: 11px 15px;
  border-block-start: 1px solid var(--launcher-line);
  color: var(--launcher-muted);
  font-size: .83rem;
  line-height: 1.52;
}

.launcher-release { padding-block: 6px clamp(55px, 8vw, 90px); }
.launcher-release-info, .launcher-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px clamp(25px, 5vw, 64px);
  padding-block: 23px;
  border-block-start: 1px solid var(--launcher-line);
}
.launcher-release h2 { margin-block-end: 7px; font-size: 1.15rem; }
.launcher-release h3 { margin-block: 16px 7px; font-size: 1rem; }
.launcher-release p { color: var(--launcher-muted); font-size: .9rem; line-height: 1.64; }
.launcher-release code {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-block-end: 7px;
  color: var(--launcher-gold);
  overflow-wrap: anywhere;
  user-select: all;
}
.launcher-support { align-items: center; }
.launcher-support .actions { justify-content: flex-end; }
.launcher-support .button { border-color: var(--launcher-line); background: #1a1917; }
.launcher-support .button:hover { border-color: var(--launcher-gold); }
.launcher-policy-links { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--launcher-muted); font-size: .82rem; }
.launcher-policy-links a { text-decoration: underline; text-underline-offset: .2em; }
.launcher-policy-links a:hover { color: var(--launcher-gold); }

@media (max-width: 860px) {
  .launcher-intro { grid-template-columns: 1fr; padding-block: 48px 38px; }
  .launcher-masthead::before {
    background: linear-gradient(0deg, var(--launcher-ink), #10111366 58%, #101113df);
  }
  .launcher-support .actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .launcher-release-info, .launcher-support { grid-template-columns: 1fr; }
  .launcher-preview-switcher { gap: 0 11px; padding-inline: 9px; }
  .launcher-preview-switcher button { font-size: .73rem; }
}
