/*
  Meric Solutions marketing site
  Logo colors from Chris Rodd pack: #2248f3 · #4081f3
  Type: Manrope
*/

:root {
  --blue: #2248f3;
  --blue-light: #4081f3;
  --ink: #0b1220;
  --muted: #5b6577;
  --bg: #f4f7ff;
  --card: #ffffff;
  --line: #dde5f7;
  --radius: 14px;
  --shadow: 0 18px 48px rgba(34, 72, 243, 0.12);
  font-family: Manrope, system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  font-size: 18px;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 108px;
  padding: 0.75rem 0;
  overflow: visible;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  overflow: visible;
  color: inherit;
}
.brand:hover { color: inherit; }
.brand-mark {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.brand-words {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 0.95;
  gap: 0.12rem;
}
.brand-meric {
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}
.brand-solutions {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue-light);
}
.footer .brand-mark {
  width: 56px;
  height: 56px;
}
.footer .brand-meric { font-size: 1.65rem; }
.footer .brand-solutions { font-size: 1rem; }
.links { display: flex; gap: 1.4rem; }
.links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 16px;
}
.links a:hover { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff !important;
  font-family: inherit;
  font-weight: 800;
  font-size: 16px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.btn:hover { filter: brightness(1.05); }
.btn-sm { padding: 0.55rem 1.05rem; font-size: 14px; }
.btn-ghost {
  background: #fff;
  color: var(--blue) !important;
  border: 1.5px solid #c5d2ff;
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--blue);
  background: #eef3ff;
}

.hero {
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(900px 420px at 5% -20%, rgba(64, 129, 243, 0.16), transparent 55%),
    linear-gradient(180deg, #f7f9ff 0%, #fff 75%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
}
h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--ink);
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 1rem;
}
h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 36rem;
  margin: 0;
}
.lede.narrow {
  margin-left: auto;
  margin-right: auto;
}
.lede.light { color: var(--muted); }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.hero-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.section { padding: 4.25rem 0; }
.section-alt { background: var(--bg); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}
.cards article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}
.cards p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.9rem;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.75rem;
  align-items: start;
}
.voice-card {
  background: linear-gradient(160deg, var(--blue), var(--blue-light));
  color: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.45rem;
  box-shadow: var(--shadow);
}
.voice-label {
  margin: 0 0 0.65rem;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.voice-card h3 { color: #fff; font-size: 26px; }
.voice-card p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.center { text-align: center; }
.center-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.bullets {
  color: var(--muted);
  font-size: 16px;
  padding-left: 1.1rem;
}
.bullets li { margin: 0.35rem 0; }

.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: grid;
  gap: 0.8rem;
  box-shadow: var(--shadow);
}
.lead-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 14px;
}
.lead-form input,
.lead-form textarea {
  font: inherit;
  font-weight: 400;
  font-size: 16px;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid #cfd8ef;
  background: #f8faff;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid var(--blue-light);
  border-color: var(--blue);
}
.fine {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.fine a { text-decoration: underline; }

.footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.1rem;
}
.footer-row {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}
.footer-links { display: flex; gap: 1.2rem; }
.footer-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}
.footer-links a:hover { color: var(--blue); }
.copy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .links { display: none; }
  .hero-grid,
  .cards,
  .split,
  .contact-grid { grid-template-columns: 1fr; }
  .brand-mark { width: 56px; height: 56px; }
  .brand-meric { font-size: 1.7rem; }
  .brand-solutions { font-size: 1.05rem; }
  .nav { min-height: 92px; }
  body { font-size: 16px; }
}
