:root {
  --paper: #eef3f5;
  --ink: #102b3a;
  --muted: #60737b;
  --line: rgba(16, 43, 58, 0.18);
  --lime: #a8c83f;
  --blue: #abc9dd;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.ambient {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  filter: blur(1px);
  opacity: 0.72;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}

.ambient-one {
  top: -19rem;
  right: -14rem;
  width: 38rem;
  height: 38rem;
  background: radial-gradient(circle at 35% 45%, rgba(168, 200, 63, 0.42), rgba(168, 200, 63, 0));
}

.ambient-two {
  bottom: -22rem;
  left: -20rem;
  width: 45rem;
  height: 45rem;
  background: radial-gradient(circle at 60% 40%, rgba(171, 201, 221, 0.72), rgba(171, 201, 221, 0));
  animation-delay: -8s;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1180px);
  min-height: 100vh;
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 11px;
  letter-spacing: -0.02em;
}

.feature-image {
  margin: 56px 0 80px;
}

.feature-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.83 / 1;
  border-radius: 2px;
  object-fit: cover;
  object-position: center;
}

.connect {
  padding: 14px 0 70px;
  border-top: 1px solid var(--line);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.social-link {
  display: grid;
  grid-template-columns: 54px 1fr 28px;
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.32);
  text-decoration: none;
  transition: color 350ms var(--ease), background-color 350ms var(--ease), border-color 350ms var(--ease), transform 350ms var(--ease);
}

.social-link:hover,
.social-link:focus-visible {
  color: white;
  border-color: transparent;
  background: var(--brand);
  transform: translateY(-4px);
  outline: none;
}

.social-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 14px;
  background: var(--brand);
  color: white;
}

.social-icon svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.instagram .social-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram .social-icon .icon-fill {
  fill: currentColor;
  stroke: none;
}

.threads-mark {
  font-family: "Manrope", sans-serif;
  font-size: 34px;
  font-weight: 600;
}

.social-copy {
  display: grid;
  gap: 6px;
}

.linkedin {
  --brand: #0a66c2;
}

.instagram {
  --brand: #c13584;
}

.facebook {
  --brand: #1877f2;
}

.threads {
  --brand: #202020;
}

.social-name {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.social-note {
  color: var(--muted);
  font-size: 13px;
}

.arrow {
  font-size: 22px;
  transition: transform 350ms var(--ease);
}

.social-link:hover .arrow,
.social-link:focus-visible .arrow {
  transform: translate(3px, -3px);
}

.social-link:hover .social-icon,
.social-link:focus-visible .social-icon {
  background: rgba(255, 255, 255, 0.16);
}

.social-link:hover .social-note,
.social-link:focus-visible .social-note {
  color: rgba(255, 255, 255, 0.76);
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 26px 0 34px;
  color: var(--muted);
  font-size: 12px;
}

footer p {
  margin: 0;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2rem, 1rem, 0) scale(1.08);
  }
}

@media (max-width: 700px) {
  .page-shell {
    width: min(100% - 32px, 1180px);
  }

  .brand-name {
    display: none;
  }

  .connect {
    padding-top: 14px;
  }

  .feature-image {
    width: calc(100% + 32px);
    margin: 28px -16px 58px;
  }

  .feature-image img {
    min-height: 430px;
    border-radius: 0;
    object-position: 50% 50%;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .footer-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
