:root {
  color-scheme: dark;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #151515;
  color: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
}

.landing {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.background,
.shade {
  position: absolute;
  inset: 0;
}

.background {
  z-index: -2;
  background-image: url("assets/fiona.png");
  background-position: center 28%;
  background-size: cover;
  transform: scale(1.015);
}

.shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03) 25%, rgba(0, 0, 0, 0.18) 54%, rgba(9, 9, 9, 0.95) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 35%, transparent 65%, rgba(0, 0, 0, 0.12));
}

.profile {
  width: min(100%, 520px);
  padding: 32px 22px max(30px, env(safe-area-inset-bottom));
}

.profile__identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  margin-bottom: 16px;
}

.avatar-wrap {
  position: relative;
  width: 58px;
  height: 58px;
}

.avatar {
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 24%;
}

.status-dot {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 15px;
  height: 15px;
  border: 3px solid #181818;
  border-radius: 50%;
  background: #3ddb73;
}

h1 {
  margin: 0 0 5px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.username {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.online {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #6ee797;
  font-size: 12px;
  font-weight: 600;
}

.online::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.message-card {
  margin-bottom: 14px;
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(28, 28, 28, 0.76);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.message {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.55;
}

.privacy {
  display: flex;
  gap: 11px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy strong,
.privacy small {
  display: block;
}

.privacy strong {
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 600;
}

.privacy small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.lock {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.lock span {
  position: relative;
  width: 13px;
  height: 11px;
  margin-top: 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.8);
}

.lock span::before {
  position: absolute;
  top: -7px;
  left: 2px;
  width: 7px;
  height: 8px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  content: "";
}

.cta {
  display: grid;
  grid-template-columns: 22px 1fr 22px;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  align-items: center;
  padding: 0 20px;
  border-radius: 16px;
  background: #229ed9;
  box-shadow: 0 12px 30px rgba(34, 158, 217, 0.3);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.cta:hover {
  background: #1f95cc;
  transform: translateY(-1px);
}

.cta:active {
  transform: scale(0.985);
}

.cta svg {
  width: 22px;
  fill: currentColor;
}

.arrow {
  font-size: 21px;
  font-weight: 400;
}

@media (min-width: 700px) {
  .landing {
    align-items: center;
  }

  .background {
    background-position: center 30%;
  }

  .profile {
    margin-top: min(40vh, 360px);
  }
}

@media (max-height: 650px) {
  .profile {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .avatar-wrap {
    width: 50px;
    height: 50px;
  }

  .message-card {
    padding: 15px 17px;
  }
}
