:root {
  --charcoal: #2c2f36;
  --charcoal-soft: #3c4049;
  --accent: #5b6470;
  --accent-dark: #3d434d;
  --ink: #2c2f36;
  --muted: #6c727d;
  --line: #e4e6e9;
  --bg: #ffffff;
  --bg-soft: #f4f5f6;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

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

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

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--charcoal);
}
.brand:hover { text-decoration: none; }
.brand .logo-img {
  height: 38px;
  width: auto;
  display: block;
}
nav.main {
  display: flex;
  align-items: center;
  gap: 26px;
}
nav.main a {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
nav.main a:hover { color: var(--charcoal); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--charcoal) 0%, var(--charcoal-soft) 100%);
  color: #fff;
  padding: 96px 0 104px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.5px;
  max-width: 740px;
}
.hero p.lead {
  margin-top: 22px;
  font-size: 19px;
  color: #c3c7cd;
  max-width: 640px;
}
.hero .actions { margin-top: 34px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
}
.btn-primary { background: var(--charcoal); color: #fff; }
.btn-primary:hover { background: #1c1f24; text-decoration: none; }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  margin-left: 12px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); text-decoration: none; }

/* Sections */
section { padding: 78px 0; }
section.soft { background: var(--bg-soft); }
.section-head { max-width: 660px; margin-bottom: 44px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.3px;
  margin-top: 8px;
}
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.card h3 { font-size: 19px; color: var(--charcoal); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Prose */
.prose { max-width: 720px; }
.prose h2 { margin-top: 36px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 16px; color: var(--ink); }
.prose ul { margin-top: 16px; padding-left: 22px; color: var(--ink); }
.prose li { margin-top: 8px; }

/* Values strip */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value h3 { color: var(--charcoal); font-size: 18px; }
.value p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* CTA band */
.cta-band {
  background: var(--charcoal);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c3c7cd; margin: 14px auto 26px; max-width: 520px; }
.cta-band .btn-primary { background: #fff; color: var(--charcoal); }
.cta-band .btn-primary:hover { background: #e9eaec; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-grid .label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 700;
  margin-top: 22px;
}
.contact-grid .label:first-child { margin-top: 0; }
.contact-grid .val { font-size: 17px; color: var(--ink); margin-top: 4px; }

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: #9aa0a8;
  padding: 44px 0;
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer a { color: #c3c7cd; }
.site-footer .foot-links a { margin-left: 20px; }

@media (max-width: 760px) {
  .hero { padding: 64px 0 72px; }
  .hero h1 { font-size: 32px; }
  .grid, .values, .contact-grid { grid-template-columns: 1fr; }
  /* Stack the header: brand on top, nav links wrapped + centred below —
     so the menu never collides with the logo on a narrow screen. */
  .site-header .wrap {
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  nav.main {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
  }
  nav.main a { font-size: 14px; }
  .btn-ghost { margin-left: 0; margin-top: 10px; }
  .hero .actions .btn { display: block; text-align: center; }
}
