:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --text: #18181b;
  --muted: #52525b;
  --border: #e4e4e7;
  --accent: #2563eb;
  --accent-text: #ffffff;
  --hover: #f4f4f5;
  --radius: 999px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Outfit", var(--font);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #18181b;
    --surface: #202024;
    --text: #fafafa;
    --muted: #a1a1aa;
    --border: #3f3f46;
    --accent: #60a5fa;
    --accent-text: #0b1220;
    --hover: #27272a;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}

.card {
  width: 100%;
  max-width: 560px;
  text-align: center;
}

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 8vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.wave {
  display: inline-block;
  transform-origin: 70% 70%;
  animation: wave 2.4s ease-in-out 0.6s 2;
}

@keyframes wave {
  0%, 60%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
}

.role {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 500;
}

.bio {
  margin: 20px auto 0;
  max-width: 46ch;
  color: var(--muted);
}

.links,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.links {
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
}

.button:hover {
  background: var(--hover);
  transform: translateY(-1px);
}

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

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}

.button-primary:hover {
  background: var(--accent);
  filter: brightness(1.08);
}

.button-ghost {
  background: transparent;
  color: var(--muted);
  font-weight: 400;
}

.contact {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.contact h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.contact p {
  margin: 8px 0 20px;
  color: var(--muted);
}

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