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

:root {
  font-family: Ubuntu, system-ui, sans-serif;
  line-height: 1.65;
  font-weight: 400;
  color: #2d2d2d;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body { margin: 0; padding: 0; }

a { color: #1a6fb5; text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 10;
  padding: .45rem .7rem;
  background: #fff;
  border: 1px solid #1a6fb5;
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

.home {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 0 1.5rem;
}

.subhome {
  width: 100%;
  max-width: 780px;
  padding: 2rem 0 3rem;
  text-align: left;
}

.header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-picture {
  width: 220px;
  height: 220px;
  border: 3px solid #888;
  border-radius: 50%;
  object-fit: cover;
}

.header-text { flex: 1; min-width: 260px; }
.header-text h1 { margin: 0 0 .2rem; color: #1a1a1a; font-size: 1.8rem; font-weight: 700; }
.header-text h2 { margin: 0 0 .15rem; color: #555; font-size: 1.05rem; font-weight: 400; }
.header-text h3 { margin: 0 0 .5rem; font-size: .95rem; font-weight: 400; }
.header-text h3 a { color: #777; }

.social-links { display: flex; align-items: center; gap: .6rem; }
.social-links a { display: flex; align-items: center; color: #555; }
.social-links a:hover { color: #1a6fb5; text-decoration: none; }
.social-links svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }

.nav-links { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; font-size: .95rem; }
.nav-links a { color: #555; }
.nav-links a:hover { color: #1a6fb5; text-decoration: none; }

.content p { margin: 0 0 1rem; color: #555; font-size: 1rem; }
.content h2 {
  margin: 2rem 0 1rem;
  padding-bottom: .3rem;
  border-bottom: 1.5px solid #e0e0e0;
  color: #1a1a1a;
  font-size: 1.2rem;
  font-weight: 700;
}

.content h3 { margin: 1.15rem 0 .25rem; color: #1a1a1a; font-size: 1rem; font-weight: 700; }
.content h3 + p { margin-top: 0; }
.content em { color: #777; font-size: .9rem; }
.content ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.content li { margin-bottom: .4rem; color: #555; font-size: .95rem; }
.content ul ul { margin: .3rem 0 .1rem; padding-left: 1.2rem; }
.content ul ul li { margin-bottom: .2rem; color: #555; font-size: .9rem; }
.content img { max-width: 100%; height: auto; border-radius: 4px; }
.content hr { margin: 1.5rem 0; border: 0; border-top: 1px solid #eee; }

footer {
  width: min(780px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
  border-top: 1px solid #eee;
  color: #888;
  font-size: .82rem;
  text-align: center;
}

footer p { margin: .15rem 0; }

:focus-visible { outline: 3px solid rgb(26 111 181 / 35%); outline-offset: 3px; }

@media (max-width: 600px) {
  .home { padding: 0 1rem; }
  .header { flex-direction: column; align-items: center; text-align: center; }
  .header-text { min-width: 0; }
  .social-links { justify-content: center; }
  .nav-links { justify-content: center; }
  footer { width: calc(100% - 2rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
