/* styles.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif;
  background-color: #ffffff;
  color: #1a202c;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  line-height: 1.6;
}

.content {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.tag {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9ca3af;
  font-weight: 500;
}

.name {
  margin: 0 0 0.75rem;
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.role {
  margin: 0 0 3rem;
  font-size: 1.15rem;
  color: #64748b;
  font-weight: 400;
}

.summary {
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.75;
  font-weight: 400;
  max-width: 65ch;
}

.details {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  font-size: 0.95rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.details li::before {
  content: "—";
  color: #cbd5e1;
  font-weight: normal;
  font-size: 1rem;
}

.links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.icon-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.lang-switcher {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s ease;
  font-family: inherit;
  font-weight: 400;
  text-decoration: none;
}

.lang-switcher:hover {
  color: #64748b;
}

.lang-switcher:active {
  transform: scale(0.98);
}

.icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #64748b;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.icon-link:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}

.icon-link:active {
  transform: scale(0.95);
}

.icon-link svg {
  width: 18px;
  height: 18px;
}

a {
  color: #0f172a;
  text-decoration: none;
}

@media (max-width: 768px) {
  body {
    padding: 2rem 1.5rem;
  }

  .name {
    font-size: 2.25rem;
  }

  .role {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
  }

  .summary {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .details {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 1.5rem 1rem;
  }

  .name {
    font-size: 1.875rem;
  }

  .role {
    font-size: 1rem;
  }

  .summary {
    font-size: 0.95rem;
  }
}
