/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f6f8;
  --bg-tertiary: #ffffff;
  --text-primary: #1a1d23;
  --text-secondary: #5c6170;
  --accent: #2b5ea7;
  --accent-hover: #1d4a8a;
  --border: #dfe1e6;
  --max-width: 960px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ===== Main Content ===== */

section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===== Home / Hero ===== */
.hero-logo {
  display: block;
  width: 220px;
  height: auto;
  margin-bottom: 3.5rem;
}

.hero {
  padding: 2.5rem 1.5rem 5rem;
}

.hero .section-inner {
  max-width: var(--max-width);
}

.hero h1 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
}

/* ===== About ===== */
.about {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.about .lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.capability {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
}

.capability h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.capability p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.contact p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 540px;
}

.contact-email {
  display: inline-block;
  font-size: 1.0625rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-email:hover {
  background-color: var(--accent);
  color: #ffffff;
}

.contact-links {
  margin-top: 1.5rem;
}

.contact-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
}

.site-footer p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
  .hero {
    padding: 1.5rem 1.5rem 3rem;
  }

  .hero-logo {
    width: 160px;
    margin-bottom: 2.5rem;
  }

  .contact-email {
    font-size: 0.875rem;
    padding: 0.625rem 1rem;
    word-break: break-all;
  }

  .hero h1 {
    font-size: 1.375rem;
  }

  section {
    padding: 3.5rem 1.5rem;
  }

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