:root {
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #fbf7fa;
  background: #09070a;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: max(42px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) max(50px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #09070a url("/mist.webp") 50% 50% / cover no-repeat;
}

@media (prefers-reduced-motion: no-preference) {
  body::before {
    animation: drift 32s ease-in-out infinite alternate;
  }
  @keyframes drift {
    from { transform: scale(1.045) translate(-1.4%, .65%); }
    to { transform: scale(1.065) translate(1.4%, -.65%); }
  }
}

.profile { width: min(100%, 390px); padding: 16px 0; }
.brand { display: grid; justify-items: center; }
.logo {
  display: block;
  width: 94px;
  height: 94px;
  object-fit: contain;
  filter: drop-shadow(0 7px 17px rgb(182 17 68 / 21%));
}

h1 {
  margin: 17px 0 33px;
  font-size: clamp(1.125rem, 6.5vw, 1.875rem);
  text-align: center;
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.035em;
}

ul { list-style: none; margin: 0; padding: 0; }
.links { display: grid; gap: 11px; }
.link {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  min-height: 59px;
  padding: 12px 14px 12px 22px;
  border: 1px solid #50303e;
  border-radius: 17px;
  background: linear-gradient(110deg, rgb(46 26 37 / 91%), rgb(27 19 27 / 95%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 3%), 0 5px 16px rgb(0 0 0 / 16%);
  color: #fcf3f7;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}
.label { min-width: 0; overflow-wrap: anywhere; }
.arrow {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background: rgb(242 159 192 / 7%);
  color: #f5a7c5;
}
.links li:first-child .link {
  border-color: #ff5189;
  background: linear-gradient(104deg, #c91957, #ab1048);
  color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 13%), 0 6px 26px rgb(138 8 54 / 20%);
}
.links li:first-child .arrow { background: rgb(32 0 12 / 15%); color: #fff; }
.socials {
  margin: 19px auto 0;
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
.social {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #e3b8c9;
}
.social svg { width: 22px; height: 22px; }
a:focus-visible { outline: 2px solid #ffd1e2; outline-offset: 4px; }
@media (hover: hover) {
  .link:hover { border-color: #af597c; filter: brightness(1.12); }
  .social:hover { background: #321a26; color: #fff; }
}
.link:active { filter: brightness(.92); }
@media (prefers-reduced-motion: no-preference) {
  .link, .social, .arrow { transition: background-color .18s, color .18s, border-color .18s, filter .18s, transform .18s; }
  @media (hover: hover) { .link:hover .arrow { transform: translate(1px, -1px); } }
}
@media (max-width: 430px) {
  body::before { background-position: 55% center; }
  .logo { width: 86px; height: 86px; }
  h1 { margin-bottom: 30px; }
}
@media (forced-colors: active) {
  .link, .links li:first-child .link { border: 1px solid LinkText; color: LinkText; }
  .arrow, .links li:first-child .arrow, .social { color: LinkText; }
}
