@import url('https://fonts.googleapis.com/css2?family=Cousine:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  --background: #ffffff;
  --foreground: #1a1a1a;
  --link-color: #0066cc;
  --link-hover: #004499;
  --muted: #666666;
}

[data-theme="dark"] {
  --background: #111111;
  --foreground: #e0e0e0;
  --link-color: #6cb6ff;
  --link-hover: #89c4ff;
  --muted: #888888;
}

* {
  box-sizing: border-box;
  cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="3" fill="none" stroke="%23888" stroke-width="1"/><line x1="10" y1="0" x2="10" y2="6" stroke="%23888" stroke-width="1"/><line x1="10" y1="14" x2="10" y2="20" stroke="%23888" stroke-width="1"/><line x1="0" y1="10" x2="6" y2="10" stroke="%23888" stroke-width="1"/><line x1="14" y1="10" x2="20" y2="10" stroke="%23888" stroke-width="1"/></svg>') 10 10, crosshair;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Cousine', 'Cousine Fallback', monospace;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s, color 0.3s;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s;
  cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="4" fill="%236cb6ff"/></svg>') 10 10, pointer;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* Layout */
.main-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* Header */
.header {
  margin-bottom: 32px;
}

.header-content {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.header-text {
  flex: 1;
}

.name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 24px 0;
  letter-spacing: -0.01em;
}

.bio p {
  margin: 0 0 16px 0;
  font-size: 13px;
}

.bio p:last-child {
  margin-bottom: 0;
}

.bio strong {
  font-weight: 700;
}

.social-links {
  margin-top: 24px;
  font-size: 13px;
}

.social-links .separator {
  margin: 0 8px;
  color: var(--muted);
}

.header-photo {
  flex-shrink: 0;
}

.profile-photo {
  width: 140px;
  height: 140px;
  border-radius: 4px;
  object-fit: cover;
  filter: grayscale(100%);
}

.profile-photo:hover {
  filter: grayscale(0%);
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: none;
  border: 1px solid var(--muted);
  color: var(--foreground);
  font-family: inherit;
  font-size: 12px;
  padding: 6px 10px;
  cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="4" fill="%236cb6ff"/></svg>') 10 10, pointer;
  border-radius: 4px;
  transition: border-color 0.2s;
}

.theme-toggle:hover {
  border-color: var(--foreground);
}

/* Responsive */
@media (max-width: 600px) {
  .main-container {
    padding: 32px 20px;
  }

  .header-content {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .profile-photo {
    width: 100px;
    height: 100px;
  }
}
