:root { --coral: #f36b55; --ink: #171717; --muted: #666; --line: #dedede; --ease: cubic-bezier(.22, 1, .36, 1); }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: #f2f1ef;
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  letter-spacing: -.02em;
  -webkit-font-smoothing: antialiased;
}
.phone { min-height: 100vh; background: #fff; }
.page {
  width: min(100%, 480px);
  min-height: 100vh;
  margin: auto;
  padding: 72px 24px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.profile { text-align: center; }
.avatar {
  width: 108px; height: 108px; margin: 0 auto 20px;
  border-radius: 38%; overflow: hidden; background: #fff;
  box-shadow: 0 8px 28px #00000016;
}
.avatar img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.7); transform-origin: 50% 24%;
}
.name { margin: 0 0 8px; font-size: 23px; font-weight: 800; letter-spacing: -.04em; }
.tagline { margin: 0; color: var(--muted); font-size: 15px; }
.social-links { display: flex; justify-content: center; gap: clamp(20px, 7vw, 34px); margin: 34px 0 40px; }
.social-links a {
  width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink);
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.social-links a:hover, .social-links a:focus-visible { color: var(--coral); transform: translateY(-3px); }
.social-links svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.social-links svg .fill { fill: currentColor; stroke: none; }
.social-links svg text { fill: currentColor; stroke: none; font: 700 6px Arial, sans-serif; }
.social-links span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.links { display: grid; gap: 12px; }
.link-card {
  min-height: 58px; padding: 16px 20px; display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--ink); background: #fff; color: var(--ink);
  text-decoration: none; text-align: center; font-size: 16px; font-weight: 700;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.link-card.primary { border-color: var(--coral); background: var(--coral); color: #fff; }
.link-card:hover, .link-card:focus-visible { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.link-card span { font-size: 18px; font-weight: 400; }
.footer { margin-top: 42px; text-align: center; }
.footer a { color: var(--muted); font-size: 14px; text-underline-offset: 3px; }
.footer a:hover { color: var(--coral); }
a:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
@media (min-width: 640px) {
  body { padding: 40px 0; }
  .phone {
    width: 420px; height: min(860px, calc(100vh - 80px)); min-height: 0; margin: auto;
    border: 1px solid var(--line); border-radius: 34px; overflow-y: auto;
    box-shadow: 0 24px 80px #00000018;
  }
  .page { min-height: 100%; padding: 48px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .social-links a, .link-card { transition: none; }
}
