:root{
  --bg: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --border: #e5e7eb;
  --accent: #0f172a;
  --radius: 14px;
}

* { box-sizing: border-box; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.container{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header{
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.header-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.brand{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.brand-mark{
  min-width: 56px;        /* allows MHRC to fit */
  height: 36px;
  padding: 0 10px;        /* adds horizontal breathing room */
  border: 1px solid var(--border);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.5px;
}


.nav{
  display: inline-flex;
  gap: 16px;
}

.nav-link{
  text-decoration: none;
  color: var(--muted);
}

.nav-link.active,
.nav-link:hover{
  color: var(--text);
}

.hero{
  padding: 72px 0 32px;
}

.kicker{
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.hero-title{
  font-size: 42px;
  margin: 0 0 12px;
}

.hero-subtitle{
  max-width: 75ch;
  color: var(--muted);
}

.cta-row{
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.btn{
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: #fff;
  background: var(--accent);
}

.btn.btn-secondary{
  background: #fff;
  color: var(--text);
}

.section{
  padding: 48px 0;
}

.cards{
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.card{
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.card-title{
  margin: 0 0 6px;
}

.card-text{
  color: var(--muted);
}

.page-title{
  font-size: 32px;
}

.placeholder{
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.site-footer{
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 40px;
}

.footer-row{
  display: flex;
  justify-content: space-between;
}

/* ---------- Mobile improvements ---------- */
@media (max-width: 700px){

  /* Give the page a bit more breathing room on small screens */
  .container{
    width: calc(100% - 28px);
  }

  /* Header: stack logo + nav, avoid cramping */
  .header-row{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
  }

  /* Long business name: allow wrapping cleanly */
  .brand{
    width: 100%;
  }

  .brand-text{
    display: inline-block;
    max-width: 100%;
    line-height: 1.2;
  }

  /* Nav: make it wrap and look like pills */
  .nav{
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
  }

  .nav-link{
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
  }

  /* Hero spacing + typography */
  .hero{
    padding: 44px 0 18px;
  }

  .hero-title{
    font-size: 32px;
    line-height: 1.15;
  }

  .hero-subtitle{
    font-size: 15px;
  }

  /* CTA buttons: full width looks cleaner on mobile */
  .cta-row{
    flex-direction: column;
    align-items: stretch;
  }

  .btn{
    width: 100%;
    text-align: center;
  }

  /* Cards: already stack if you have a mobile rule,
     but ensure spacing feels nice */
  .cards{
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

