* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #14211f;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.92) 0 16%, transparent 32%),
    linear-gradient(180deg, #c7efe8 0%, #f6e2eb 53%, #fff8ed 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-shell,
.site-shell main {
  min-height: 100vh;
}

.site-shell main {
  padding-bottom: 0 !important;
}

.beacons-page {
  display: grid;
  min-height: 100vh;
  place-items: start center;
  padding: 36px 16px 28px;
}

.beacons-card {
  position: relative;
  width: min(100%, 430px);
  display: grid;
  justify-items: center;
  padding: 18px 0 0;
}

.share-button {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(20, 33, 31, 0.14);
  border-radius: 50%;
  color: #14211f;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 22px rgba(20, 33, 31, 0.08);
  cursor: pointer;
}

.profile-logo {
  display: block;
  width: 192px;
  height: 192px;
  padding: 0;
  object-fit: contain;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: #ffffff;
  background: transparent;
  box-shadow: none;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0;
}

.beacons-card h1 {
  max-width: 100%;
  margin: 18px 0 6px;
  color: #14211f;
  font-size: 1.42rem;
  line-height: 1.18;
  letter-spacing: 0;
  text-align: center;
}

.profile-handle {
  margin: 0;
  color: #48615d;
  font-size: 0.98rem;
  font-weight: 700;
}

.profile-bio {
  max-width: 340px;
  margin: 14px 0 0;
  color: #314844;
  font-size: 0.97rem;
  line-height: 1.48;
  text-align: center;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 22px 0 20px;
}

.social-bubble {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(20, 33, 31, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(20, 33, 31, 0.08);
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.beacon-links {
  display: grid;
  width: 100%;
  gap: 14px;
}

.beacon-link {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 28px;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(20, 33, 31, 0.13);
  border-radius: 22px;
  padding: 11px 16px 11px 12px;
  color: #14211f;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(20, 33, 31, 0.1);
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.beacon-link-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
}

.beacon-link-text {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.beacon-link-text strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.25;
}

.beacon-link-text small {
  color: #607570;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.beacon-link-arrow {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #607570;
}

.link-status {
  width: 100%;
  min-height: 76px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(20, 33, 31, 0.2);
  border-radius: 22px;
  color: #314844;
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.beacons-footer {
  margin: 22px 0 0;
  color: rgba(49, 72, 68, 0.78);
  font-size: 0.83rem;
  font-weight: 700;
}

.share-button:focus-visible,
.social-bubble:focus-visible,
.beacon-link:focus-visible {
  outline: 3px solid rgba(0, 127, 122, 0.32);
  outline-offset: 4px;
}

.social-bubble:hover,
.beacon-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(20, 33, 31, 0.14);
}

.beacon-link:hover {
  background: #ffffff;
}

@media (min-width: 760px) {
  .beacons-page {
    align-items: center;
    padding-top: 42px;
  }

  .beacons-card {
    padding-top: 20px;
  }
}

@media (max-width: 420px) {
  .beacons-page {
    padding: 28px 12px 24px;
  }

  .share-button {
    width: 40px;
    height: 40px;
  }

  .profile-logo {
    width: 176px;
    height: 176px;
  }

  .beacon-link {
    grid-template-columns: 46px minmax(0, 1fr) 24px;
    min-height: 72px;
    gap: 10px;
    border-radius: 20px;
    padding: 10px 13px 10px 10px;
  }

  .beacon-link-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
}
