:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #090b10;
  color: #f5f7fb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at 50% 42%, rgba(80, 107, 156, 0.13), transparent 30rem), #090b10;
}

.landing {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 2rem 1.25rem;
  text-align: center;
}

.content { width: min(100%, 46rem); }

h1 {
  margin: 0;
  font-size: clamp(3.75rem, 13vw, 8rem);
  font-weight: 720;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.byline {
  margin: 1.75rem 0 0;
  color: #aeb6c5;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.7;
}

.byline strong { color: #f5f7fb; font-weight: 600; }
.name-fa::before { content: " · "; color: #596273; }

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2rem;
  padding: 0.75rem 1rem;
  border: 1px solid #29303d;
  border-radius: 0.75rem;
  color: #dce2ec;
  font-size: 1rem;
  text-decoration: none;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.github-link:hover { border-color: #4a5568; background: #121721; color: #fff; }
.github-link:focus-visible { outline: 3px solid #8aabef; outline-offset: 4px; }
.github-link svg { width: 1.35rem; height: 1.35rem; flex: none; }
.github-link span { overflow-wrap: anywhere; }

@media (max-width: 30rem) {
  .name-fa { display: block; margin-top: 0.15rem; }
  .name-fa::before { content: ""; }
  .github-link { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .github-link { transition: none; }
}
