:root {
  --bg: #16161A;
  --text: #ECECEE;
  --text-muted: #8A8A94;
  --text-dim: #6A6A72;
  --border: #26262C;
  --hover: #1D1D22;
}

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

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

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

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 96px 0 48px;
}

/* Hero */

.hero { margin-bottom: 72px; }

h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.tagline {
  font-size: 17px;
  color: var(--text-muted);
  font-weight: 400;
}

/* Sections */

section { margin-bottom: 56px; }

h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

section p {
  color: var(--text);
  margin-bottom: 12px;
  font-size: 16px;
}

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

/* Projects */

.project {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 16px 12px;
  margin: 0 -12px;
  border-radius: 4px;
  transition: background-color 0.12s ease;
  border-top: 1px solid var(--border);
}

.project:hover { background-color: var(--hover); }

.project:last-child { border-bottom: 1px solid var(--border); }

.project-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.project-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* Formats */

.formats { list-style: none; }

.formats li {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
}

.formats li:last-child { border-bottom: 1px solid var(--border); }

.formats strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
  font-size: 15.5px;
}

/* Footer */

footer {
  border-top: 1px solid var(--border);
  padding: 32px 96px;
  margin-top: 64px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-contacts {
  list-style: none;
  display: flex;
  gap: 24px;
}

.footer-contacts a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.footer-contacts a:hover {
  color: var(--text);
  border-bottom-color: var(--text-muted);
}

.footer-copy {
  color: var(--text-dim);
  font-size: 13px;
}

/* Responsive */

@media (max-width: 900px) {
  body { padding: 0 48px; }
  footer { padding: 32px 48px; }
}

@media (max-width: 600px) {
  body { padding: 0 20px; font-size: 15.5px; }
  main { padding: 64px 0 32px; }
  h1 { font-size: 34px; }
  .tagline { font-size: 15.5px; }
  .hero { margin-bottom: 56px; }
  section { margin-bottom: 48px; }
  h2 { font-size: 20px; }
  .project { margin: 0; padding: 14px 0; }
  footer { padding: 24px 20px; }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-contacts { gap: 20px; }
}
