/* Canadian Informatic Technologies Inc. — canformatic.ca
   Brand: Deep Navy #0B1F3A · Steel Blue #2E5E8C · Canada Red #D90429 (accent only)
   Mist #F2F4F7 · Charcoal #1A2230 · Border #E6EAF0 · Muted #6B7686
   Type: Inter. Voice: plain, honest, practical. */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1A2230;
  background: #fff;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { color: #0B1F3A; font-weight: 800; line-height: 1.25; }
h2 { font-size: 32px; }
h3 { font-size: 20px; font-weight: 700; }

a { color: #2E5E8C; }
a:hover { color: #0B1F3A; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: #fff;
  border-bottom: 1px solid #E6EAF0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 12px; padding-bottom: 12px;
}
.brand img { display: block; height: 46px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a {
  color: #1A2230; text-decoration: none; font-weight: 500; font-size: 15px;
}
.site-header nav a:hover { color: #2E5E8C; }
.nav-cta {
  border: 2px solid #0B1F3A; border-radius: 8px; padding: 6px 16px;
  font-weight: 700;
}
.nav-cta:hover { background: #0B1F3A; color: #fff !important; }

/* ---------- Hero ---------- */
.hero {
  background: #0B1F3A; color: #fff;
  padding: 96px 0 104px;
}
.hero-logo { width: 340px; max-width: 80%; height: auto; display: block; }
.hero h1 {
  color: #fff; font-size: 52px; margin-top: 40px; max-width: 720px;
}
.hero-sub {
  color: #B9C6D8; font-size: 20px; line-height: 1.6;
  max-width: 680px; margin-top: 18px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px;
  border-radius: 8px; padding: 13px 26px;
}
.btn-light { background: #fff; color: #0B1F3A; }
.btn-light:hover { background: #E6EAF0; color: #0B1F3A; }
.btn-outline {
  border: 2px solid #B9C6D8; color: #fff;
}
.btn-outline:hover { border-color: #fff; color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-mist { background: #F2F4F7; }

.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: #D90429; text-transform: uppercase;
}
.rule {
  width: 56px; height: 4px; background: #D90429;
  border-radius: 2px; margin: 14px 0 28px;
}
.section-intro { font-size: 18px; color: #6B7686; max-width: 720px; }

.prose { max-width: 760px; }
.prose p { margin-bottom: 16px; }

.facts { margin-top: 40px; border-top: 1px solid #E6EAF0; max-width: 760px; }
.facts div {
  display: grid; grid-template-columns: 180px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid #E6EAF0;
}
.facts dt { font-weight: 700; color: #0B1F3A; }
.facts dd { color: #1A2230; }

/* ---------- Cards ---------- */
.grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 36px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 2px solid #E6EAF0; border-radius: 12px;
  padding: 28px;
}
.section-mist .card { border-color: #E6EAF0; }
.card h3 { margin-bottom: 10px; }
.card p { color: #1A2230; }

.statements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.quote { font-size: 18px; font-weight: 700; color: #0B1F3A; line-height: 1.55; }
.values { list-style: none; }
.values li { margin-bottom: 12px; }
.values strong { color: #0B1F3A; }

.product .endorse {
  color: #D90429; font-size: 13px; font-weight: 700; margin-top: 16px;
}
.card-link {
  display: inline-block; margin-top: 12px; font-weight: 700;
  text-decoration: none; color: #2E5E8C;
}
.card-link:hover { color: #0B1F3A; }

.role { color: #6B7686; font-weight: 500; margin-bottom: 10px; }

/* ---------- Contact ---------- */
.contact { text-align: left; }
.contact-email { margin-top: 8px; }
.contact-email a {
  font-size: 30px; font-weight: 800; color: #0B1F3A; text-decoration: none;
  border-bottom: 4px solid #D90429; padding-bottom: 2px;
}
.contact-email a:hover { color: #2E5E8C; }
.contact-address { margin-top: 28px; color: #6B7686; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0B1F3A; color: #B9C6D8;
  padding: 28px 0; font-size: 14px;
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.site-footer p:last-child { color: #fff; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero h1 { font-size: 38px; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 64px 0; }
  .grid, .grid-3, .grid-2, .statements { grid-template-columns: 1fr; }
  .site-header nav { gap: 16px; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .contact-email a { font-size: 24px; }
}
