@font-face {
  font-family: Figtree;
  src: url('assets/figtree-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #fbf8fc;
  --text: #19141d;
  --outline: #d5b0ed;
  --accent: #8f24c4;
  --link-surface: #fff9ff;
  --link-hover: #f1e4fc;
  --text-secondary: #63516f;
}

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

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(ellipse at top left, #efe0fb, transparent 55%),
    radial-gradient(ellipse at top right, #d8f5f8, transparent 55%), var(--page);
  font-family: Figtree, Arial, sans-serif;
}

.profile {
  width: min(100%, 520px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  background: linear-gradient(110deg, #faf6fc, #fefcfe 65%, #faf9fc);
}

.hero, .bottom-wave {
  display: block;
  width: 100%;
  height: auto;
}

.hero { mask-image: linear-gradient(black 97%, transparent 100%); }

.links {
  margin: clamp(9px, 2.2vw, 13px) 0 0;
  padding: 0 6.55%;
  display: grid;
  gap: clamp(7px, 1.8vw, 9px);
  list-style: none;
}

.links a {
  position: relative;
  min-height: clamp(48px, 11vw, 53px);
  display: grid;
  place-content: center;
  padding: 8px clamp(30px, 8vw, 41px);
  border: 1px solid var(--outline);
  border-radius: 999px;
  background-color: var(--link-surface);
  color: inherit;
  font-size: clamp(16px, 4.1vw, 20px);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.links a::after {
  content: '';
  position: absolute;
  inset-inline-end: clamp(17px, 4.9vw, 26px);
  top: 50%;
  width: 8px;
  height: 8px;
  border: solid var(--accent);
  border-width: 2px 2px 0 0;
  border-radius: 1px;
  transform: translateY(-50%) rotate(45deg);
}

.links a:hover { background-color: var(--link-hover); }

.links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.detail {
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 0.72em;
}

.bottom-wave {
  margin-top: clamp(14px, 3.1vw, 24px);
  mask-image: linear-gradient(transparent, black 18px);
}

.profile::after {
  content: '';
  flex: auto;
  background: linear-gradient(90deg, #ebe0fd, #e5dbfc 25%, #dde5fc 50%, #c5eef9 75%, #c9f4f8);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
