@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-var-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #F7F3EE;
  --surface: #FFFFFF;
  --surface-hover: #FCFAF7;
  --border: #E6DED4;
  --ink: #1A1A1A;
  --muted: #6E655C;
  --accent: #6B4F8C;
  --ring: transparent;
  --glow: rgba(107, 79, 140, .13);
  --shadow: 0 1px 2px rgba(38, 35, 32, .05), 0 6px 18px rgba(38, 35, 32, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1917;
    --surface: #262320;
    --surface-hover: #2D2926;
    --border: #3A3632;
    --ink: #F1EDE7;
    --muted: #B5ADA4;
    --accent: #B79BDD;
    --ring: rgba(241, 237, 231, .28);
    --glow: rgba(150, 110, 200, .16);
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(ellipse 110% 55% at 50% -12%, var(--glow), transparent 70%) no-repeat, var(--bg);
  color: var(--ink);
  font: 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(56px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.profile { text-align: center; margin-bottom: 32px; }
.avatar {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--border), var(--shadow);
}
h1 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font: 700 30px/1.15 "Playfair Display", Georgia, serif;
  letter-spacing: -.01em;
}
.tick { width: 20px; height: 20px; flex: none; color: var(--accent); }
.tick-check { stroke: var(--bg); }
.bio { max-width: 34ch; margin: 10px auto 0; color: var(--muted); }

.links { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.btn {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 11px 16px 11px 11px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--accent); background: var(--surface-hover); }
.btn:active { transform: none; }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.chip { width: 40px; height: 40px; flex: none; }
.chip .ring { stroke: var(--ring); }
.title { flex: 1; min-width: 0; }
.chev { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform .15s ease, color .15s ease; }
.btn:hover .chev { transform: translateX(2px); color: var(--accent); }

footer { margin-top: auto; padding-top: 40px; text-align: center; font-size: 13px; color: var(--muted); }
footer a { color: inherit; text-underline-offset: 3px; }
footer a:hover { color: var(--ink); }

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