@font-face {
  font-family: "System UI";
  src: local("Inter"), local("SF Pro Display"), local("Segoe UI");
  font-display: swap;
}
:root {
  color-scheme: dark;
  font-family: "System UI", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --background: #101113;
  --surface: #191a1c;
  --text: #eeefef;
  --muted: #999b9f;
  --line: #ffffff12;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid #d9dcdf; outline-offset: 5px; }
::selection { color: #fff; background: #4e535a; }

.atmosphere {
  --pattern-width: 420px;
  --pattern-height: 336px;
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, #23262866, transparent 65%);
}
.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0 0 calc(-1 * var(--pattern-height)) calc(-1 * var(--pattern-width));
  background: url("assets/background-pattern.png?v=3") repeat;
  background-size: var(--pattern-width) var(--pattern-height);
  opacity: .17;
  animation: drift 36s linear infinite;
}
.profile {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  width: min(100%, 816px);
  border: 1px solid #ffffff16;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 28px 75px -32px #000a, 0 1px 0 #ffffff05 inset;
  animation: arrive 900ms var(--ease) both;
}
.identity {
  padding: 48px 40px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.portrait {
  width: 164px;
  aspect-ratio: 1;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  animation: arrive 1000ms 80ms var(--ease) both;
}
.portrait__frame {
  padding: 6px;
  border: 1px solid #ffffff24;
  border-radius: 50%;
  background: #141517;
}
.portrait__crop { aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #282a2e; }
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
h1 { margin: 22px 0 0; font-size: 27px; font-weight: 550; letter-spacing: -.9px; }
.handle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 5px;
  text-decoration: none;
  animation: arrive 1000ms 130ms var(--ease) both;
}
.handle > img { width: 18px; height: 18px; opacity: .65; transition: opacity 250ms; }
.handle > span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: #ffffff30; transition: text-decoration-color 250ms; }
.handle__arrow { margin-left: 1px; color: #92969a; transition: transform 350ms var(--ease), color 250ms; }
.links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; width: 100%; max-width: 264px; margin-top: 30px; }
.links, .links * {
  -webkit-user-select: none;
  user-select: none;
}
.social {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  height: 52px;
  border-radius: 12px;
  text-decoration: none;
  animation: arrive 800ms var(--delay, 200ms) var(--ease) both;
}
.social:nth-child(2) { --delay: 235ms; }
.social:nth-child(3) { --delay: 270ms; }
.social:nth-child(4) { --delay: 305ms; }
.social:nth-child(5) { --delay: 340ms; }
.social:nth-child(6) { --delay: 375ms; }
.social:nth-child(7) { --delay: 410ms; }
.social:nth-child(8) { --delay: 445ms; }
.social__surface {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid #ffffff10;
  border-radius: inherit;
  background: #ffffff03;
  transition: transform 400ms var(--ease), border-color 250ms, background 250ms, box-shadow 250ms;
}
.social img { position: relative; width: 23px; height: 23px; pointer-events: none; opacity: .66; transition: opacity 250ms, transform 400ms var(--ease); }
.social:focus-visible .social__surface { background: #ffffff09; border-color: #ffffff32; }
.social:focus-visible img { opacity: 1; }
.social:active .social__surface { transform: scale(.91); background: #ffffff0f; }
.ripple { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #ffffff22; pointer-events: none; animation: ripple 600ms ease-out forwards; }
.setup { position: relative; padding: 38px 38px 34px; animation: arrive 1000ms 190ms var(--ease) both; }
.setup::before { content: ""; position: absolute; top: 36px; bottom: 36px; left: 0; width: 1px; background: var(--line); }
.setup__header { display: flex; align-items: center; margin-bottom: 14px; min-height: 44px; }
.setup h2 { margin: 0; font-size: 17px; font-weight: 550; letter-spacing: -.35px; }
.setup__specs { margin: 0; }
.spec { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 65px; padding: 13px 0 13px 35px; }
.spec + .spec { border-top: 1px solid var(--line); }
.spec::before { content: ""; position: absolute; inset: 6px -12px; z-index: -1; border-radius: 9px; background: #ffffff04; opacity: 0; transform: scale(.97); transition: opacity 250ms, transform 350ms var(--ease); }
.spec dt { font-size: 10px; font-weight: 500; letter-spacing: .7px; color: var(--muted); }
.spec dt svg { position: absolute; top: calc(50% - 10px); left: 0; width: 20px; height: 20px; color: #8c9196; transition: color 250ms, transform 450ms var(--ease); }
.spec dd { margin: 5px 0 0; color: #d9dadd; font-size: 13px; font-weight: 450; line-height: 1.4; letter-spacing: -.1px; transition: color 250ms, transform 350ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .handle:hover > img { opacity: 1; }
  .handle:hover > span { text-decoration-color: #ffffff99; }
  .handle:hover .handle__arrow { transform: translate(2px, -2px); color: #fff; }
  .social:hover { z-index: 3; }
  .social:hover .social__surface { transform: translateY(-2px); background: #ffffff09; border-color: #ffffff32; box-shadow: 0 4px 12px #0002; }
  .social:hover img { opacity: 1; transform: scale(1.08); }
  .spec:hover::before { opacity: 1; transform: scale(1); }
  .spec:hover dt svg { color: #e0e3e6; transform: translateY(-1px); }
  .spec:hover dd { color: #fff; transform: translateX(2px); }
}
@media (max-width: 700px) {
  body { padding: 28px 20px; }
  .atmosphere {
    --pattern-width: 350px;
    --pattern-height: 280px;
  }
  .profile { width: min(100%, 404px); grid-template-columns: 1fr; border-radius: 22px; }
  .identity { padding: 32px 32px 30px; }
  .portrait { width: 142px; }
  h1 { margin-top: 15px; font-size: 25px; }
  .links { max-width: 280px; margin-top: 24px; gap: 8px; }
  .social { height: 48px; }
  .setup { padding: 21px 32px 27px; }
  .setup::before { top: 0; bottom: auto; left: 32px; right: 32px; width: auto; height: 1px; }
  .setup__header { margin-bottom: 6px; }
  .spec { min-height: 60px; padding-block: 11px; }
}
@media (max-width: 360px) {
  body { padding: 18px 12px; }
  .identity { padding-inline: 24px; }
  .setup { padding-inline: 24px; }
  .setup::before { left: 24px; right: 24px; }
  .spec { padding-left: 31px; }
  .spec dd { font-size: 12px; }
}
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes drift {
  to { transform: translate(var(--pattern-width), calc(-1 * var(--pattern-height))); }
}
@keyframes ripple { from { opacity: .7; transform: translate(-50%, -50%) scale(0); } to { opacity: 0; transform: translate(-50%, -50%) scale(12); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .social__surface, .portrait__frame, .portrait img, .handle__arrow, .spec dd, .spec dt svg { transform: none !important; }
}
