:root {
  --fg: #1a1a1a;
  --fg-muted: #555;
  --bg: #fdfdfd;
  --accent: #0066cc;
  --rule: #e5e5e5;
  --max-width: 32rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e8e8e8;
    --fg-muted: #a0a0a0;
    --bg: #141414;
    --accent: #6aa9ff;
    --rule: #2a2a2a;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI",
    "Segoe UI", sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.7;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.25rem 6rem;
}

header {
  margin-bottom: 3.5rem;
}

.avatar {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  object-fit: cover;
}

h1 {
  font-size: 1.75rem;
  margin: 0 0 0.25rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 3rem 0 0.75rem;
}

.name-ja {
  margin: 0 0 0.75rem;
  color: var(--fg-muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.lede {
  margin: 0 0 0.25rem;
  color: var(--fg);
}

.role {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

section + section {
  margin-top: 1rem;
}

p {
  margin: 0 0 0.75rem;
}

ul {
  padding-left: 1.25rem;
  margin: 0;
}

li + li {
  margin-top: 0.25rem;
}

.link-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.link-list li + li {
  margin-top: 0;
}


a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

a:hover,
a:focus-visible {
  border-bottom-color: currentColor;
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--fg-muted);
  font-size: 0.875rem;
}

footer p {
  margin: 0;
}
