:root {
  --primary: #1167b1;
  --primary-dark: #0a497f;
  --navy: #071d33;
  --green: #25d366;
  --white: #ffffff;
  --muted: #607484;
  --line: #dce8f0;
}

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

html {
  color-scheme: light;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  padding: 38px 18px;
  background:
    radial-gradient(circle at 50% -15%, #1984d8 0, transparent 39%),
    linear-gradient(155deg, var(--primary-dark), var(--navy) 70%);
  color: #172532;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.background-shape {
  position: fixed;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.shape-one {
  width: 320px;
  height: 320px;
  top: -150px;
  right: -130px;
}

.shape-two {
  width: 220px;
  height: 220px;
  bottom: -110px;
  left: -90px;
}

.bio-card {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 90px rgba(0, 12, 26, 0.38);
}

.profile {
  text-align: center;
}

.logo-frame {
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  margin: -4px auto 18px;
  overflow: hidden;
  border: 5px solid var(--white);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 12px 35px rgba(11, 63, 106, 0.18);
}

.profile-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.availability span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.14);
}

h1 {
  font-size: clamp(1.75rem, 8vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.profile p {
  max-width: 370px;
  margin: 14px auto 26px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.links {
  display: grid;
  gap: 13px;
}

.link-button {
  min-height: 76px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(24, 55, 75, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.link-button:hover,
.link-button:focus-visible {
  transform: translateY(-2px);
  border-color: #9dc6e4;
  box-shadow: 0 12px 30px rgba(24, 55, 75, 0.12);
}

.link-button:focus-visible {
  outline: 3px solid rgba(17, 103, 177, 0.22);
  outline-offset: 3px;
}

.link-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #25d366, #20bd5b);
  color: #062f18;
  box-shadow: 0 12px 30px rgba(23, 156, 76, 0.22);
}

.link-primary:hover,
.link-primary:focus-visible {
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(23, 156, 76, 0.3);
}

.button-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--primary);
  font-size: 1.3rem;
}

.button-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.link-primary .button-icon {
  color: #087833;
}

.icon-google {
  background: #fff6d8;
  color: #e9a600;
}

.icon-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 58%, #fcb045);
  color: var(--white);
}

.icon-site {
  background: #eaf4fc;
}

.button-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.button-copy strong {
  font-size: 1rem;
}

.button-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.link-primary .button-copy small {
  color: #0a602d;
}

.button-arrow {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 800;
}

.link-primary .button-arrow {
  color: #087833;
}

.brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.brands span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf5fa;
  color: #466273;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.03em;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

footer strong {
  color: #314656;
}

@media (max-width: 520px) {
  body {
    align-items: start;
    padding: 16px 12px;
  }

  .bio-card {
    padding: 25px 18px;
    border-radius: 24px;
  }

  .logo-frame {
    width: 108px;
    height: 108px;
  }

  .profile p {
    margin-bottom: 22px;
  }

  .link-button {
    padding: 11px 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .link-button {
    transition: none;
  }
}
