:root {
  --red: #FF6B1D;
  --bg-dark: #0f0d0d;
  --card: #141112;
  --text-main: #f6f6f6;
  --text-sub: #979494;
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}

html {
  /* Match 16px at 1920px viewport and scale down proportionally with a sensible floor */
  font-size: clamp(10px, calc(100vw / 120), 16px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 6.25rem 0 0 19.375rem;
  overflow: hidden;
  background: url('assets/webBg.png') center/cover no-repeat;
}

.overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  /* background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.78) 100%); */
  mix-blend-mode: multiply;
  z-index: 1;
}

.brand {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  left: 2.4375rem;
  top: 2.8125rem;
}

.brand-mark {
  width: 1rem;
  height: 1rem;
  background: url('assets/logo.png') center/cover no-repeat;
  margin-right: 0.5rem;
}

.brand-text {
  width: 3.75rem;
  height: 0.875rem;
  background: url('assets/ddlogo.png') center/cover no-repeat;
  margin-right: 0.5rem;
}

.content {
  position: relative;
  z-index: 2;
  /* max-width: 40rem; */
  /* margin-top: 4.5rem; */
}

.headline {
  display: grid;
  gap: 0.75rem;
}

.kicker {
  font-size: 5.625rem;
  font-weight: bold;
  line-height: 7.5rem;
}

.title {
  font-size: 5.625rem;
  font-weight: bold;
  color: var(--red);
  text-shadow: 0 0.625rem 1.375rem rgba(0, 0, 0, 0.35);
  line-height: 7.5rem;
}

.subhead {
  font-size: 1.875rem;
  color: var(--text-sub);
  letter-spacing: 0.375rem;
}

.qr-card-box {
  display: flex;
  /* justify-content: center; */
  /* align-items: center; */
}

.qr-card {
  margin-top: 2.375rem;
  width: 15rem;
  padding: 1.375rem 1.375rem 1rem;
  background: var(--card);
  border-radius: 1.5rem;
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.45);
  border: 0.0625rem solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 0.75rem;
}

.qr-card-app {
  margin-left: 1rem;
}

.qr-card-app .contact-item span {
  text-align: center;
}

.qr-title {
  text-align: center;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.0312rem;
}

.qr-image {
  width: 100%;
  border-radius: 0.75rem;
  background: #fff;
}

.contact-list {
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-sub);
}

.contact-item .label {
  color: #e5e5e5;
  font-weight: 600;
}

.contact-item .value {
  text-align: right;
  flex: 1;
  word-break: break-all;
}

.contact-number {
  color: var(--text-main);
  font-weight: 600;
}

.phones {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12.8125rem;
  /* gap: clamp(0.75rem, 4vw, 2.5rem); */
  z-index: 1;
  pointer-events: none;
}

.phone {
  width: 45.4375rem;
  filter: drop-shadow(0 1.125rem 2.25rem rgba(0, 0, 0, 0.45));
  opacity: 1;
  padding-bottom: 8rem;
}

.phone-secondary {
  transform: translateY(1.25rem) scale(0.92);
  opacity: 1;
}

.legal {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  /* margin-top: 7.5rem; */
  font-size: 0.75rem;
  background: #262422;
  padding: 2.25rem 1.75rem;
  width: 100%;
  text-align: center;
  /* margin-left: calc(-1 * clamp(1.5rem, 5vw, 4.5rem));
  margin-right: calc(-1 * clamp(1.5rem, 5vw, 4.5rem)); */
}

.legal p {
  color: #a5a5a5;
  line-height: 1.8;
  letter-spacing: 0.0312rem;
}

.legal a {
  color: inherit;
  text-decoration: none;
}

.legal a:hover {
  color: #ffffff;
}

@media (max-width: 60rem) {
  body {
    background: #0c0a0a;
  }

  .hero {
    /* padding: 2rem 1.25rem 2.5rem; */
  }

  .content {
    /* margin-top: 3.5rem; */
  }

  .phones {
    position: static;
    margin-top: 2rem;
    justify-content: center;
  }

  .phone {
    width: clamp(13.75rem, 40vw, 17.5rem);
  }

  .phone-secondary {
    display: none;
  }

  .legal {
    margin-top: 3rem;
  }
}

@media (max-width: 37.5rem) {
  .headline {
    text-align: center;
    justify-items: center;
  }

  .qr-card {
    margin-inline: auto;
  }
}