/* ===================================================================
   Midsized Solutions — parent company site stylesheet
   Brand: navy #17479E · blue #2B6CB8 · orange #F7941D
   (shared palette with SMTP Hopper product site)
   =================================================================== */

:root {
  --navy: #17479e;
  --navy-dark: #0f2f6b;
  --blue: #2b6cb8;
  --blue-light: #e8f0fa;
  --orange: #f7941d;
  --orange-dark: #d97706;
  --ink: #1a2333;
  --slate: #4b5768;
  --line: #dde5ef;
  --bg-alt: #f5f8fc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(23, 71, 158, 0.08);
  --shadow-lg: 0 12px 32px rgba(23, 71, 158, 0.14);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

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

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -0.3px;
}
.brand-accent { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--navy); text-decoration: none; border-bottom-color: var(--orange); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }

.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-lg { padding: 15px 34px; font-size: 1.05rem; }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, #f0f5fc 0%, #e2ecf9 55%, #f8fafd 100%);
  padding: 88px 0 96px;
  text-align: center;
}

.hero-inner { max-width: 760px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  color: var(--navy-dark);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.accent { color: var(--orange); }

.lede {
  font-size: 1.15rem;
  color: var(--slate);
  margin-bottom: 32px;
}

.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */

.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--navy-dark);
  letter-spacing: -0.4px;
  margin-bottom: 12px;
  text-align: center;
}

.section-lede {
  color: var(--slate);
  font-size: 1.1rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ---------- Pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  text-align: center;
}

.pillar-icon { font-size: 2rem; margin-bottom: 12px; }

.pillar h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 8px; }
.pillar p { color: var(--slate); font-size: 0.97rem; }

/* ---------- Product card ---------- */

.product-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 48px;
  box-shadow: var(--shadow-lg);
  margin-top: 40px;
}

.product-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.product-body h3 {
  font-size: 1.7rem;
  color: var(--navy-dark);
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.product-body p { color: var(--slate); margin-bottom: 24px; }

.products-note {
  text-align: center;
  color: var(--slate);
  font-style: italic;
  margin-top: 36px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  background: var(--white);
}

.footer-inner { text-align: center; }

.footer-brand { display: inline-block; margin-bottom: 8px; }

.site-footer p { color: var(--slate); font-size: 0.9rem; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1fr; padding: 32px 28px; }
  .product-art { order: -1; max-width: 340px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .nav-links { gap: 18px; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 60px 0; }
}
