/* Modern CSS Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

:root {
  --accent: #64b5f6;
  --accent-hover: #90caf9;
  --bg: #121212;
  --text: #e0e0e0;
  --muted: #888;
}

@media (prefers-color-scheme: light) {
  :root {
    --accent: #1565c0;
    --accent-hover: #0d47a1;
    --bg: #ffffff;
    --text: #000000;
    --muted: #666;
  }
}

body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  font-size: 18px;
  line-height: 1.75;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

p {
  margin-bottom: 1rem;
}

/* Links */
a {
  text-decoration: none;
  color: var(--accent);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Navigation */
nav {
  padding: 1.5rem 0 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.nav-links {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Main content */
main {
  flex: 1;
  padding: 1.5rem 0;
}

main ul,
main ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

main li {
  margin-bottom: 0.4rem;
  list-style: disc;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0 1rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(128, 128, 128, 0.2);
  color: var(--muted);
  font-size: 0.85rem;
}

/* Lists reset for nav only */
ul,
ol {
  padding: 0;
  margin: 0;
}

/* Media */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  margin: 0;
}

table {
  border-collapse: collapse;
}

[hidden] {
  display: none !important;
}

:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

/* Hero / Homepage */
.home {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.hero {
  text-align: center;
  padding: 4rem 1rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero-role {
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-role strong {
  color: var(--text);
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}

.hero-location {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Responsive nav */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero {
    padding: 2.5rem 0.5rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav {
    text-align: center;
  }

  body {
    padding: 16px;
  }
}

/* Utility */
.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-fill {
  flex: 1;
}
