@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("assets/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("assets/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f7f4ec;
  --paper: #fffdf8;
  --ink: #302a36;
  --muted: #77707d;
  --border: #e5dfd8;
  --purple: #826598;
  --purple-soft: #eae0f2;
  --purple-border: #d8c6e8;
  --coral: #c76f60;
  --coral-soft: #f4dcd1;
  --coral-border: #e9bdb0;
  --shadow: 0 5px 0 rgba(65, 46, 65, .035), 0 12px 24px -18px rgba(65, 46, 65, .16);
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --display: "Unbounded", "Onest", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
::selection { background: #dcc9eb; color: var(--ink); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.background { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(1px); }
.glow-one {
  width: 680px;
  height: 680px;
  top: -260px;
  left: calc(50% - 710px);
  background: radial-gradient(circle, rgba(223, 207, 239, .57), rgba(223, 207, 239, 0) 70%);
}
.glow-two {
  width: 620px;
  height: 620px;
  bottom: -160px;
  left: calc(50% + 100px);
  background: radial-gradient(circle, rgba(240, 211, 187, .46), rgba(240, 211, 187, 0) 70%);
}
.dot-field {
  position: absolute;
  inset: 0;
  opacity: .3;
  background-image: radial-gradient(#c9bdce .7px, transparent .7px);
  background-size: 24px 24px;
  mask-image: linear-gradient(transparent, #000 30%, #000 75%, transparent);
}

.page {
  position: relative;
  width: min(100% - 40px, 560px);
  margin-inline: auto;
  padding-top: max(26px, env(safe-area-inset-top));
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.6px;
}
.wordmark span:last-child { font-family: var(--font); font-size: 18px; font-weight: 600; letter-spacing: -.5px; }
.wordmark-mark { color: var(--purple); }
.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255, 253, 248, .72);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 180ms var(--ease-standard), border-color 180ms var(--ease-standard), transform 160ms var(--ease-out);
}
.share-button .icon { width: 17px; height: 17px; }
.share-button:active { transform: scale(.97); }

.profile { text-align: center; padding-top: 37px; }
.avatar-wrap { position: relative; width: 120px; height: 120px; margin: 0 auto 25px; }
.avatar-ring {
  position: absolute;
  inset: -6px;
  border: 1px solid #d7c7e1;
  border-radius: 50%;
}
.avatar {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--purple-soft);
  color: #6f5684;
  box-shadow: 0 8px 25px rgba(95, 65, 120, .08);
  font-family: var(--display);
  font-size: 55px;
  font-weight: 600;
  line-height: 120px;
  letter-spacing: -5px;
}
.avatar-dot { color: var(--coral); font-size: .65em; letter-spacing: 0; }
.avatar-dot::after { content: "."; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-heading { display: flex; flex-direction: column; align-items: center; gap: 5px; }
h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 7vw, 43px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -1.8px;
  overflow-wrap: anywhere;
}
.verified {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--paper);
}
.verified .icon { width: 13px; height: 13px; stroke-width: 2.3; }
.handle { color: var(--muted); font-size: 15px; font-weight: 500; }
.bio { margin: 19px 0 0; color: #6c6471; font-size: 15px; line-height: 1.75; white-space: pre-line; text-wrap: balance; }

.links-section { margin-top: 39px; }
.section-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 19px; }
.section-heading h2 {
  flex-shrink: 0;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.heading-line { width: 100%; height: 1px; background: var(--border); }
.links { display: grid; gap: 13px; }
.link-card {
  --card-bg: var(--paper);
  --card-border: var(--border);
  --icon-color: var(--purple);
  --icon-bg: #f4eff7;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 91px;
  padding: 20px;
  border: 1px solid var(--card-border);
  border-radius: 22px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  transition: transform 160ms var(--ease-out), box-shadow 180ms var(--ease-standard), border-color 180ms var(--ease-standard);
}
.link-card:active { transform: scale(.985); }
.card-lavender { --card-bg: var(--purple-soft); --card-border: var(--purple-border); --icon-bg: #f7f1fb; }
.card-mint { --card-bg: #e4efeb; --card-border: #c5dcd4; --icon-color: #3e7566; --icon-bg: #f4faf7; min-height: 108px; }
.card-coral { --card-bg: var(--coral-soft); --card-border: var(--coral-border); --icon-color: #a95547; --icon-bg: #fcebe3; min-height: 108px; }
.card-mint .eyebrow { color: #3e7566; }
.link-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--icon-bg);
  color: var(--icon-color);
}
.link-icon .icon { width: 25px; height: 25px; }
.link-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.link-copy strong { font-size: 16px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.link-copy > span:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.45; }
.link-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  margin-left: auto;
  border-radius: 50%;
  color: var(--muted);
  transition: color .2s, background-color .2s, transform .2s;
}
.link-arrow .icon { width: 20px; height: 20px; }
.link-card:hover .link-arrow { color: var(--ink); background: rgba(255, 255, 255, .6); transform: translateX(3px); }
.card-coral:hover { border-color: #d89d8c; }
.card-coral:hover .link-arrow { transform: translate(2px, -2px); }
.eyebrow { margin-bottom: 3px; color: #985243; font-size: 10px; font-weight: 700; line-height: 1.3; letter-spacing: 1.8px; }

.footer { padding: 38px 0 max(28px, env(safe-area-inset-bottom)); text-align: center; color: var(--muted); }
.footer p { margin: 0 0 6px; font-size: 13px; }
.footer-domain { color: #968c9b; font-size: 11px; letter-spacing: .8px; }
.noscript-note { color: var(--muted); font-size: 13px; text-align: center; }

.share-dialog {
  width: min(calc(100% - 40px), 420px);
  padding: 34px 26px 26px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(48, 42, 54, .2);
}
.share-dialog::backdrop { background: rgba(48, 42, 54, .3); backdrop-filter: blur(6px); }
.share-dialog[open] { animation: dialog-in 220ms var(--ease-out); }
.dialog-close { position: absolute; top: 12px; right: 12px; }
.dialog-close .icon { width: 20px; height: 20px; }
.dialog-mark { display: grid; place-items: center; width: 60px; height: 60px; margin: 4px auto 20px; border-radius: 18px; background: var(--purple-soft); color: var(--purple); }
.dialog-mark .icon { width: 28px; height: 28px; }
.share-dialog h2 { margin: 0; text-align: center; font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -1px; }
.share-dialog p { margin: 10px 0 25px; text-align: center; font-size: 14px; color: var(--muted); }
.copy-row { display: flex; gap: 10px; }
.copy-row input { width: 100%; min-width: 0; height: 50px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 13px; background: var(--bg); color: var(--muted); font-size: 14px; }
.icon-button { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 13px; background: var(--purple-soft); transition: background-color .2s, transform .2s; }
.icon-button:hover { background: #ddccec; }
.icon-button:active { transform: scale(.95); }
.copy-main { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin-top: 12px; border: 0; border-radius: 14px; background: var(--purple); color: var(--paper); font-size: 14px; font-weight: 600; transition: background-color .2s, transform .2s; }
.copy-main .icon { width: 18px; height: 18px; }
.copy-main:hover { background: #725586; }
.copy-main:active { transform: scale(.98); }
.toast {
  position: fixed;
  width: max-content;
  bottom: max(25px, env(safe-area-inset-bottom));
  top: auto;
  margin: 0;
  inset-inline: 0;
  left: 50%;
  z-index: 30;
  max-width: calc(100% - 40px);
  padding: 13px 21px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  box-shadow: 0 5px 20px rgba(48, 42, 54, .2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .2s, transform .2s;
  text-align: center;
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.share-dialog .toast {
  position: static;
  width: 100%;
  max-width: 100%;
  min-height: 45px;
  margin: 18px 0 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #675673;
  box-shadow: none;
  font-size: 13px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms var(--ease-standard), transform 180ms var(--ease-out);
}
.share-dialog .toast.visible { opacity: 1; transform: translateY(0); }

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 800px) and (min-height: 800px) {
  .page { padding-top: 34px; }
  .profile { padding-top: 45px; }
  .links-section { margin-top: 45px; }
  .footer { padding-top: 45px; }
}
@media (max-width: 480px) {
  .page { width: calc(100% - 36px); padding-top: max(19px, env(safe-area-inset-top)); }
  .wordmark { font-size: 14px; gap: 6px; }
  .wordmark .icon { width: 24px; height: 24px; }
  .share-button { min-height: 44px; padding: 9px 13px; font-size: 12px; gap: 7px; }
  .profile { padding-top: 32px; }
  .avatar-wrap { width: 108px; height: 108px; margin-bottom: 23px; }
  .avatar { font-size: 50px; line-height: 108px; }
  h1 { letter-spacing: -1.3px; }
  .bio { font-size: 14px; line-height: 1.7; }
  .links-section { margin-top: 31px; }
  .links { gap: 11px; }
  .link-card { min-height: 84px; gap: 13px; padding: 16px 14px; border-radius: 19px; }
  .link-icon { width: 46px; height: 46px; border-radius: 14px; }
  .link-icon .icon { width: 23px; height: 23px; }
  .link-copy strong { font-size: 15px; }
  .link-copy > span:not(.eyebrow) { font-size: 12px; }
  .link-arrow { width: 28px; height: 32px; }
  .link-arrow .icon { width: 18px; height: 18px; }
  .card-coral { min-height: 103px; }
  .footer { padding-top: 33px; }
}
@media (max-width: 350px) {
  .page { width: calc(100% - 28px); }
  .share-button span { display: none; }
  .share-button { width: 44px; padding: 0; }
  .share-button .icon { width: 19px; height: 19px; }
  .link-card { gap: 10px; padding-inline: 12px; }
  .link-icon { width: 42px; height: 42px; }
  .link-arrow { width: 22px; }
}
@media (hover: hover) and (pointer: fine) {
  .share-button:hover { background: var(--paper); border-color: var(--purple-border); }
  .link-card:hover {
    border-color: var(--purple-border);
    box-shadow: 0 6px 0 rgba(65, 46, 65, .035), 0 17px 25px -16px rgba(65, 46, 65, .23);
  }
  .link-card:hover .link-arrow { color: var(--ink); background: rgba(255, 255, 255, .65); }
  .card-coral:hover { border-color: #d89d8c; }
  .icon-button:hover { background: #ddccec; }
  .copy-main:hover { background: #725586; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-property: opacity, color, background-color, border-color !important;
    transition-duration: 120ms !important;
    transform: none !important;
  }
  .toast { transform: translateX(-50%) !important; }
  .share-dialog .toast { transform: none !important; }
}
