:root {
  --social-blue: #0c5ca8;
  --social-chevron: #087ed1;
  --social-ink: #17324d;
  --social-muted: #505c68;
  --social-bg: #f3f9fd;
  --social-card: #ffffff;
}

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

html {
  min-width: 320px;
  background: var(--social-bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--social-ink);
  background:
    radial-gradient(circle at 12% 20%, rgba(202, 229, 248, 0.5), transparent 27%),
    radial-gradient(circle at 88% 72%, rgba(213, 237, 251, 0.48), transparent 30%),
    linear-gradient(155deg, #fbfdff 0%, var(--social-bg) 54%, #edf7fd 100%);
  font-family: "Rubik", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.social-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  justify-content: center;
}

.social-hub {
  width: min(92%, 430px);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(22px, 4.8svh, 42px) 0 22px;
}

.social-logo-link {
  display: block;
  border-radius: 4px;
  line-height: 0;
}

.social-logo-link:focus-visible,
.social-domain:focus-visible {
  outline: 3px solid rgba(8, 126, 209, 0.28);
  outline-offset: 3px;
}

.social-logo {
  width: clamp(184px, 52vw, 218px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.social-intro {
  margin-top: 17px;
  text-align: center;
}

.social-intro h1 {
  margin: 0;
  color: var(--social-ink);
  font-size: clamp(21px, 5.6vw, 24px);
  font-weight: 600;
  letter-spacing: -0.45px;
  line-height: 1.2;
}

.social-intro p {
  margin: 8px 0 0;
  color: var(--social-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.social-links {
  width: 100%;
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.social-link {
  min-height: 82px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 19px;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(133, 175, 207, 0.14);
  border-radius: 19px;
  padding: 12px 18px 12px 15px;
  color: var(--social-blue);
  background: var(--social-card);
  box-shadow: 0 8px 22px rgba(37, 92, 133, 0.1), 0 2px 5px rgba(49, 92, 124, 0.05);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 11px 28px rgba(37, 92, 133, 0.15), 0 3px 7px rgba(49, 92, 124, 0.07);
}

.social-link:focus-visible {
  outline: 3px solid rgba(8, 126, 209, 0.28);
  outline-offset: 3px;
}

.social-link:active {
  transform: scale(0.99);
}

.social-link__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
}

.social-link__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.social-link__label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: var(--social-blue);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.15px;
  line-height: 1.18;
}

.social-link__chevron {
  width: 19px;
  height: 24px;
  fill: none;
  stroke: var(--social-chevron);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-footer {
  margin-top: auto;
  padding-top: 20px;
  text-align: center;
}

.social-thanks {
  margin: 0;
  color: var(--social-blue);
  font-family: "Sacramento", "Brush Script MT", cursive;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.05;
}

.social-thanks__underline {
  width: 64px;
  height: 10px;
  display: block;
  margin: -1px auto 4px;
  border-top: 2px solid var(--social-blue);
  border-radius: 50%;
  transform: rotate(-3deg);
}

.social-domain {
  display: inline-block;
  margin: 0;
  color: #738393;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.65px;
  text-decoration: none;
}

.social-domain:hover {
  color: var(--social-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 370px) {
  .social-hub {
    width: 91%;
    padding-top: 18px;
  }

  .social-logo {
    width: 178px;
  }

  .social-intro {
    margin-top: 13px;
  }

  .social-links {
    gap: 10px;
    margin-top: 15px;
  }

  .social-link {
    min-height: 76px;
    grid-template-columns: 49px minmax(0, 1fr) 17px;
    gap: 13px;
    border-radius: 17px;
    padding-inline: 13px 15px;
  }

  .social-link__icon {
    width: 49px;
    height: 49px;
  }

  .social-link__label {
    font-size: 16px;
  }

  .social-footer {
    padding-top: 17px;
  }
}

@media (min-width: 700px) {
  .social-hub {
    padding-top: 48px;
    padding-bottom: 32px;
  }
}

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