:root {
  --bg: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ececf0;
  --line: rgba(15, 23, 42, 0.08);
  --text: #111111;
  --muted: rgba(17, 17, 17, 0.62);
  --accent: #000000;
  --accent-strong: #000000;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.95), transparent 35%),
    linear-gradient(180deg, #fbfbfd 0%, var(--bg) 100%);
}

.hero-shell {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 32px 20px;
}

.hero-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  width: min(760px, 100%);
}

.description-box {
  position: relative;
  width: min(420px, 100%);
  padding: 22px 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: var(--surface-strong);
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  text-align: left;
  opacity: 0;
  animation: social-fade-up 2200ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms ease;
  will-change: transform, box-shadow;
}

.description-box p {
  margin: 0;
  color: #111111;
  max-width: 36ch;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: -0.01em;
}

.description-box::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 16px;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.035), transparent 72%);
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 320ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.description-box:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.14);
  background: var(--surface-strong);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.description-box:hover::after {
  opacity: 1;
  transform: scale(1);
}

.social-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  padding-left: 28px;
  border-left: 2px solid rgba(17, 17, 17, 0.14);
}

.social-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  background: var(--surface-strong);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, box-shadow;
  opacity: 0;
  animation: social-fade-up 2200ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.social-button::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.045), transparent 72%);
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 320ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.social-button:hover,
.social-button:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.14);
  background: var(--surface-strong);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.social-button:focus-visible {
  outline: none;
}

.social-button:hover::after,
.social-button:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.social-button i {
  font-size: 2.35rem;
  color: #000000;
  line-height: 1;
}

@keyframes social-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .hero-card {
    gap: 28px;
    width: 100%;
  }

  .description-box {
    width: min(380px, 100%);
    padding: 20px;
  }

  .social-row {
    gap: 16px;
    padding-left: 20px;
  }

  .social-button {
    width: 80px;
    height: 80px;
  }

  .social-button i {
    font-size: 2.1rem;
  }
}

@media (max-width: 480px) {
  .hero-shell {
    padding: 16px;
  }

  .hero-card {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .description-box {
    width: 100%;
    font-size: 0.95rem;
    padding: 18px;
    border-radius: 8px;
  }

  .social-row {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 2px solid rgba(17, 17, 17, 0.14);
  }

  .social-button {
    width: 72px;
    height: 72px;
  }

  .social-button i {
    font-size: 1.9rem;
  }
}
