* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text: #1a1a1a;
  --text-secondary: #555;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --bg: #fafafa;
  --border: #e5e5e5;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

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

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

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
nav {
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .nav-links {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--text-secondary);
  font-size: 15px;
}

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

.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-links a {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.social-links a:hover {
  color: var(--text);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

/* Hero */
.hero {
  padding: 48px 0 0;
}

.hero .greeting {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero .tagline {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Sections */
section {
  padding: 24px 0;
}

section h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

/* Resume */
.job {
  margin-bottom: 32px;
}

.job-header {
  margin-bottom: 4px;
}

.company {
  font-weight: 600;
  font-size: 17px;
}

.company-desc {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 8px;
}

.role {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 2px;
}

.role-title {
  font-weight: 500;
}

.role-date {
  font-size: 14px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.job ul {
  margin-top: 8px;
  padding-left: 20px;
}

.job li {
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--text-secondary);
}

.resume-link {
  margin-top: 8px;
  font-size: 15px;
}

/* Skills */
.skills {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Education */
.education {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Contact */
.contact p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.contact .contact-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Footer */
footer {
  padding: 48px 0 32px;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 480px) {
  .hero .greeting {
    font-size: 26px;
  }

  .hero .tagline {
    font-size: 16px;
  }

  nav {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .role {
    flex-direction: column;
  }
}
