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

:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #666666;
  --border: #e5e5e5;
  --accent: #000000;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 6vw;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 1rem;
}

.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero {
  padding: 5rem 6vw 3rem;
}

.hero-text {
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin: 0 0 0.75rem;
}

.tagline {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.section {
  padding: 2.5rem 6vw;
  border-top: 1px solid var(--border);
}

.section h2 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

.section-contact {
  background: #fafafa;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 0.5rem;
  font-size: 0.96rem;
}

.contact-list span {
  font-weight: 500;
  margin-right: 0.25rem;
}

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

.contact-list a:hover {
  text-decoration: underline;
}

.footer {
  margin-top: auto;
  padding: 1.5rem 6vw 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav a {
    margin-left: 0;
    margin-right: 1rem;
  }

  .hero {
    padding-top: 3rem;
  }
}