/* Хаб «ссылка из профиля» FM. Бренд: fm-design (розовый #FF517F, Montserrat 800 заголовки, Ubuntu текст). */
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url(fonts/montserrat-800.woff2) format("woff2"); }
@font-face { font-family: "Ubuntu"; font-weight: 400; font-display: swap; src: url(fonts/ubuntu-400.woff2) format("woff2"); }
@font-face { font-family: "Ubuntu"; font-weight: 500; font-display: swap; src: url(fonts/ubuntu-500.woff2) format("woff2"); }
@font-face { font-family: "Ubuntu"; font-weight: 700; font-display: swap; src: url(fonts/ubuntu-700.woff2) format("woff2"); }

:root {
  --pink: #FF517F; --pink-2: #E8456F; --pink-text: #C42E5A; --pink-deep: #C42E5A; --pale: #FEF0F3; --soft: #F1B0C1;
  --ink: #1A1A1A; --gray-dark: #4A4A4A; --line: #F3D3DC; --card: #FFFFFF;
  --head: "Montserrat", "Arial Black", sans-serif; --text: "Ubuntu", system-ui, sans-serif;
  --white: #FFF; --pink-grad: #E23A6A; --sh-card: rgba(26, 26, 26, .04); --sh-avatar: rgba(232, 69, 111, .18); --sh-hover: rgba(232, 69, 111, .12); --sh-feat: rgba(232, 69, 111, .28); --sh-feat-h: rgba(232, 69, 111, .36); --glass: rgba(255, 255, 255, .22);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 400 16px/1.45 var(--text);
  background: linear-gradient(180deg, var(--pale) 0%, var(--white) 55%, var(--pale) 100%);
}
.wrap { max-width: 480px; margin: 0 auto; padding: 28px 16px calc(28px + env(safe-area-inset-bottom)); }

.head { text-align: center; position: relative; padding-top: 8px; }
.mark { position: absolute; top: 0; left: 0; width: 20px; height: 32px; }
.avatar {
  width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 50% 20%;
  border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--pink), 0 10px 24px var(--sh-avatar);
}
h1 { font: 800 26px/1.1 var(--head); margin: 14px 0 4px; letter-spacing: 0; }
.role { margin: 0; color: var(--pink-text); font-weight: 500; font-size: 15px; }
.bio { margin: 12px auto 0; max-width: 34ch; color: var(--gray-dark); font-size: 15px; }

section { margin-top: 26px; }
h2 { font: 800 13px/1.2 var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--gray-dark); margin: 0 0 10px 4px; }
.list { display: grid; gap: 10px; }

.card {
  display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 14px 14px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  color: inherit; text-decoration: none; box-shadow: 0 2px 8px var(--sh-card);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-1px); border-color: var(--soft); box-shadow: 0 8px 20px var(--sh-hover); }
.card:active { transform: translateY(0); }
.card:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.ico-wrap {
  flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--pale); color: var(--pink-2);
}
.ico { width: 22px; height: 22px; }
.txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.t { font: 700 16px/1.25 var(--text); }
.s { font-size: 14px; line-height: 1.35; color: var(--gray-dark); }
.arrow { flex: none; width: 20px; height: 20px; color: var(--pink); }

.featured {
  display: grid; gap: 6px; padding: 18px; border: 0; color: var(--white);
  background: linear-gradient(135deg, var(--pink-grad) 0%, var(--pink-deep) 100%);
  box-shadow: 0 12px 28px var(--sh-feat);
}
.featured:hover { box-shadow: 0 16px 32px var(--sh-feat-h); }
.featured:focus-visible { outline-color: var(--ink); }
.feat-top { display: flex; }
.ico-feat { width: 26px; height: 26px; }
.feat-tag { font: 700 12px/1 var(--text); background: var(--glass); padding: 6px 10px; border-radius: 999px; }
.feat-title { font: 800 21px/1.15 var(--head); margin-top: 4px; }
.feat-sub { font-size: 15px; opacity: .95; }
.feat-cta {
  margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px;
  background: var(--white); color: var(--pink-deep); border-radius: 14px; font: 700 15px/1.2 var(--text); padding: 12px;
}
.feat-cta .arrow { color: var(--pink-deep); }

.foot { margin-top: 32px; display: flex; justify-content: center; gap: 16px; font-size: 13px; color: var(--gray-dark); }
.foot { align-items: center; }
.foot a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }

@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }
