:root {
  --professional-panel: rgba(7, 16, 32, 0.88);
  --professional-panel-strong: rgba(9, 20, 39, 0.96);
  --professional-line: rgba(217, 179, 108, 0.24);
  --professional-copy: rgba(244, 240, 230, 0.86);
}

html {
  background: var(--night);
}

body {
  min-width: 320px;
  background: var(--night);
}

#root > div {
  background-position: center top !important;
}

#root > div > div[aria-hidden="true"]:first-of-type {
  background:
    linear-gradient(180deg, rgba(5, 13, 28, 0.72) 0%, rgba(5, 13, 28, 0.83) 48%, rgba(5, 13, 28, 0.96) 100%),
    radial-gradient(85% 48% at 50% 0%, rgba(217, 179, 108, 0.09), transparent 72%) !important;
}

.drift-star {
  opacity: 0.24 !important;
  animation-duration: 22s !important;
}

main {
  width: min(680px, calc(100% - 28px)) !important;
  max-width: 680px !important;
  margin: 28px auto !important;
  padding: 42px 38px 38px !important;
  border: 1px solid var(--professional-line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--professional-panel);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
}

main::before {
  content: "";
  position: absolute;
  inset: 0 28px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 212, 138, 0.72), transparent);
}

main > img:first-child {
  width: 48px !important;
  height: 48px !important;
  margin-bottom: 24px !important;
  object-fit: contain;
  opacity: 0.96;
  filter: drop-shadow(0 0 10px rgba(217, 179, 108, 0.28)) !important;
}

.portrait-ring {
  padding: 3px;
  border: 1px solid rgba(240, 212, 138, 0.38);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36), 0 0 0 7px rgba(217, 179, 108, 0.07);
  animation-duration: 12s;
}

.gold-text {
  letter-spacing: 0.015em !important;
}

main > h1 + p {
  max-width: 430px;
  color: rgba(244, 240, 230, 0.66) !important;
  line-height: 1.65;
  letter-spacing: 0.19em !important;
}

main > :nth-child(6) {
  max-width: 550px;
}

main > :nth-child(6) > p:first-child {
  font-style: normal !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
}

main > :nth-child(6) > p:last-child {
  color: var(--professional-copy) !important;
  font-size: 1rem !important;
  line-height: 1.78 !important;
}

main > :nth-child(7) {
  gap: 14px;
}

.cta-primary,
.cta-secondary {
  min-height: 86px;
  border-radius: 15px !important;
  padding: 18px 24px !important;
}

.cta-primary {
  border: 1px solid rgba(255, 239, 183, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -1px 0 rgba(104, 70, 12, 0.32),
    0 14px 34px rgba(164, 119, 35, 0.22);
}

.cta-secondary {
  background: linear-gradient(145deg, rgba(217, 179, 108, 0.11), rgba(217, 179, 108, 0.035));
  border-color: rgba(217, 179, 108, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.cta-primary span:first-child,
.cta-secondary span:first-child {
  font-size: 1.16rem !important;
  line-height: 1.18;
}

.cta-primary span:last-child,
.cta-secondary span:last-child {
  font-size: 0.86rem !important;
  line-height: 1.5;
}

main > :nth-child(9) {
  max-width: 450px !important;
  font-style: normal !important;
  color: rgba(244, 240, 230, 0.78) !important;
}

.social-chip {
  background: rgba(217, 179, 108, 0.075);
  border-color: rgba(217, 179, 108, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.social-chip:hover {
  background: rgba(217, 179, 108, 0.14);
}

main > p:last-child {
  color: rgba(244, 240, 230, 0.44) !important;
}

@media (min-width: 900px) {
  main {
    display: grid !important;
    grid-template-columns: 320px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto auto auto;
    column-gap: 58px;
    row-gap: 0;
    align-items: start !important;
    width: min(980px, calc(100% - 48px)) !important;
    max-width: 980px !important;
    min-height: 680px;
    margin: 42px auto !important;
    padding: 54px 58px 38px !important;
  }

  main > * {
    min-width: 0;
  }

  main > img:first-child {
    position: absolute;
    top: 48px;
    left: 194px;
    z-index: 2;
    margin: 0 !important;
  }

  main > :nth-child(2) {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    margin-top: 54px;
  }

  main > :nth-child(3) {
    grid-column: 1;
    grid-row: 2;
    margin-top: 22px !important;
    font-size: 2.8rem !important;
    white-space: nowrap;
  }

  main > :nth-child(4) {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-top: 86px !important;
  }

  main > :nth-child(5) {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-top: 146px !important;
  }

  main > :nth-child(6) {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin-top: 0 !important;
    text-align: left !important;
  }

  main > :nth-child(7) {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin-top: 18px !important;
  }

  main > :nth-child(8) {
    grid-column: 2;
    grid-row: 3;
    margin-top: 18px !important;
  }

  main > :nth-child(9) {
    grid-column: 2;
    grid-row: 4;
    justify-self: start;
    margin-top: 24px !important;
    text-align: left !important;
  }

  main > :nth-child(10) {
    grid-column: 2;
    grid-row: 5;
    justify-self: start;
    margin-top: 30px !important;
    text-align: left !important;
  }

  main > :nth-child(10) > div {
    justify-content: flex-start !important;
  }

  main > :nth-child(11) {
    grid-column: 1 / -1;
    grid-row: 6;
    margin-top: 42px !important;
  }

  .cta-primary,
  .cta-secondary {
    text-align: left !important;
  }
}

@media (max-width: 899px) {
  main {
    margin-block: 14px 24px !important;
  }
}

@media (max-width: 520px) {
  main {
    width: min(100% - 18px, 680px) !important;
    padding: 34px 22px 30px !important;
    border-radius: 22px;
  }

  main > :nth-child(6) > p:last-child {
    font-size: 0.94rem !important;
  }

  .cta-primary,
  .cta-secondary {
    min-height: 94px;
    padding-inline: 19px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drift-star,
  .portrait-ring,
  .cta-primary,
  .cta-primary::after,
  .cta-secondary,
  .cta-secondary::after {
    animation: none !important;
  }
}
