* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: #050505;
  color: #fff;
  font-family: 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

[hidden] {
  display: none !important;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ccff00;
  outline-offset: 4px;
}

.dl-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: radial-gradient(ellipse at 50% 0%, rgba(204, 255, 0, 0.1), transparent 55%);
}

.dl-card {
  width: min(100%, 480px);
  min-width: 0;
  padding: clamp(20px, 5vw, 36px);
  background: #141414;
  border: 1px solid #303030;
  border-radius: 24px;
  text-align: center;
  overflow-wrap: anywhere;
}

.dl-logo {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
}

.dl-logo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.dl-badge {
  display: inline-block;
  margin-bottom: 14px;
  color: #ccff00;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dl-heading {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.dl-desc {
  margin: 0 0 20px;
  color: #c6c6c6;
  font-size: 1rem;
}

.dl-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.dl-features li {
  color: #b6b6ba;
  font-size: 0.875rem;
}

.dl-features li::before {
  content: '✓';
  margin-right: 6px;
  color: #ccff00;
}

.dl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 52px;
  margin-bottom: 12px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}

.dl-btn--primary {
  color: #000;
  background: #ccff00;
}

.dl-btn--primary:hover {
  background: #d8ff40;
}

.dl-btn--secondary {
  color: #fff;
  background: #202020;
  border-color: #555;
}

.dl-btn--secondary:hover,
.dl-btn--share:hover {
  border-color: #ccff00;
  background: #2a2a2a;
}

.dl-btn--share {
  color: #ccff00;
  background: transparent;
  border-color: #555;
  font-size: 0.875rem;
}

.dl-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.dl-btn--share svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.store-icon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
}

.store-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.dl-plan-note {
  margin: 20px 0;
  color: #b6b6ba;
  font-size: 0.875rem;
}

.dl-plan-note a,
.dl-footer a {
  color: #ccff00;
  text-underline-offset: 3px;
}

.dl-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 20px;
  color: #b6b6ba;
  font-size: 0.875rem;
}

.dl-divider::before,
.dl-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #444;
}

.dl-qr {
  width: fit-content;
  margin: 0 auto 12px;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  line-height: 0;
}

.dl-qr svg {
  display: block;
  width: 140px;
  max-width: 100%;
  height: auto;
}

.dl-qr-label,
.dl-share-status {
  margin: 0 0 16px;
  color: #b6b6ba;
  font-size: 0.875rem;
}

.dl-share-status:empty {
  margin: 0;
}

.dl-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #303030;
  color: #b6b6ba;
  font-size: 0.875rem;
}

.dl-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.dl-footer span {
  width: 100%;
  font-size: 0.75rem;
}
