:root {
  --dl-bg: #141819;
  --dl-surface: #1d2425;
  --dl-elevated: #242b2c;
  --dl-text: #f2f3f5;
  --dl-muted: #b5bcbd;
  --dl-line: rgba(242, 243, 245, 0.12);
  --dl-accent: #ff6a00;
  --dl-accent-2: #ff3d00;
  --dl-font-display: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --dl-font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--dl-bg);
  color: var(--dl-text);
  font-family: var(--dl-font-body);
  letter-spacing: 0;
}

body {
  min-height: 100vh;
}

#desktop-landing {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #101314 0%, var(--dl-bg) 48%, #0b0e0f 100%);
}

#desktop-landing[hidden] {
  display: none;
}

.standalone-desktop {
  position: relative;
}

.dl-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.75) contrast(1.05);
  transform: scale(1.02);
  transition: opacity 0.28s ease;
}

.dl-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 24, 25, 0.92), rgba(20, 24, 25, 0.72) 46%, rgba(20, 24, 25, 0.94)),
    rgba(0, 0, 0, 0.34);
}

.dl-bg--loaded {
  opacity: 0.42;
}

.dl-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100vw - 64px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  align-items: center;
}

.dl-copy {
  min-width: 0;
}

.dl-logo {
  width: 168px;
  height: 168px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--dl-line);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
  margin-bottom: 24px;
}

.dl-kicker {
  margin: 0 0 12px;
  color: var(--dl-accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dl-title {
  max-width: 9.5ch;
  margin: 0;
  font-family: var(--dl-font-display);
  font-size: clamp(66px, 7.5vw, 112px);
  line-height: 0.86;
  font-weight: 1000;
  text-transform: lowercase;
}

.dl-subtitle {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--dl-muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
}

.dl-panel {
  border: 1px solid var(--dl-line);
  border-radius: 8px;
  background: rgba(29, 36, 37, 0.88);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  padding: 22px;
}

.dl-qr-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 18px;
}

.dl-qr,
.dl-qr img {
  width: 100%;
  height: 100%;
}

.dl-qr img {
  object-fit: contain;
}

.dl-instruction {
  margin: 16px 0 8px;
  font-family: var(--dl-font-display);
  font-size: 22px;
  line-height: 1;
  font-weight: 1000;
}

.dl-url {
  min-height: 36px;
  border: 1px solid var(--dl-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--dl-muted);
  display: flex;
  align-items: center;
  padding: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

@media (max-width: 840px) {
  .dl-content {
    grid-template-columns: 1fr;
    width: min(560px, calc(100vw - 32px));
  }

  .dl-panel {
    width: min(340px, 100%);
  }
}
