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

:root {
  --text: #1a1a1a;
  --muted: #6b7280;
  --accent: #0f766e;
  --accent-light: #ccfbf1;
  --border: #e5e7eb;
  --bg: #ffffff;
  --max-width: 720px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "JetBrains Mono", "Fira Mono", "Cascadia Code", monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  border-top: 4px solid var(--accent);
}

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */
nav {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
}

nav ul a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}

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

/* Hero */
.hero {
  padding: 5rem 0 3.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.hero .title {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero .tagline {
  font-size: 1.15rem;
  max-width: 560px;
  color: var(--text);
}

/* Sections */
section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

section h2 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

section p {
  margin-bottom: 1rem;
  color: var(--text);
}

section p:last-child {
  margin-bottom: 0;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2.5rem;
}

.skill-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.skill-item span {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Link table */
.link-table {
  border-collapse: collapse;
  width: 100%;
}

.link-table td {
  padding: 0.5rem 0;
  vertical-align: top;
  font-size: 0.9rem;
}

.link-table td:first-child {
  white-space: nowrap;
  padding-right: 2rem;
  width: 1%;
}

.link-table td:last-child {
  color: var(--muted);
}

.link-table tr + tr td {
  border-top: 1px solid var(--border);
}

/* Contact */
.contact-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-links a {
  font-size: 0.95rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 1rem;
}

footer p {
  font-size: 0.825rem;
  color: var(--muted);
}

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

  .skills-grid {
    grid-template-columns: 1fr;
  }

  nav ul {
    gap: 1rem;
  }
}
