:root {
  --bg: #fafafa;
  --text: #0f1115;
  --muted: #6b7280;
  --accent: #f0532d;
  --border: #e5e5e5;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */

header {
  border-bottom: 1px solid var(--border);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo img {
  height: 28px;
  display: block;
}

nav a {
  text-decoration: none;
  font-size: 16px;
  color: var(--text);
}

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

/* Hero */

.hero {
  padding: 120px 0 140px;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.08;
  font-weight: 800;
  margin: 0 0 28px;
  max-width: 780px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 40px;
}

.btn {
  display: inline-block;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.85;
}

/* Team page */

.team-header {
  padding: 90px 0 20px;
}

.team-header h1 {
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.team-header p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0 120px;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  background: #eee;
  display: block;
}

.team-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 18px 0 4px;
}

.team-card a.linkedin {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.team-card a.linkedin:hover {
  color: var(--accent);
}

/* Footer */

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

footer a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    padding: 72px 0 88px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 17px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .team-header {
    padding: 56px 0 12px;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 20px;
  }

  header .wrap {
    height: 68px;
  }

  .logo img {
    height: 22px;
  }

  .hero h1 {
    font-size: 34px;
  }
}
