:root {
  --navy: #102a43;
  --blue: #1f4e79;
  --lake: #2f6f9f;
  --sky: #eaf3f8;
  --ice: #f7fafc;
  --ink: #17212b;
  --muted: #5c6b78;
  --line: #dce5eb;
  --gold: #b98a38;
  --gold-soft: #f6f0e4;
  --white: #ffffff;
  --success: #216e4e;
  --danger: #a13b3b;
  --shadow: 0 18px 45px rgba(16, 42, 67, 0.09);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
img, svg { max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin: 0 auto; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 1000;
  background: var(--navy); color: white; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: white; display: grid; place-items: center;
  font-size: 11px; line-height: 1.05; text-align: center; letter-spacing: .06em;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.16);
}
.brand-mark strong { display: block; font-size: 16px; letter-spacing: 0; }
.brand-text { font-size: 18px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 650; font-size: 15px; }
.nav a[aria-current="page"] { color: var(--blue); }
.nav .button { color: white; }
.menu-button { display: none; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 9px 12px; font: inherit; font-weight: 700; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 18px; border-radius: 10px;
  background: var(--blue); color: white; text-decoration: none; border: 1px solid var(--blue);
  font-weight: 750; cursor: pointer;
}
.button:hover { background: var(--navy); border-color: var(--navy); color: white; }
.button.secondary { background: white; color: var(--blue); }
.button.secondary:hover { background: var(--sky); }

.hero {
  position: relative; overflow: hidden;
  padding: 90px 0 82px;
  background:
    radial-gradient(circle at 88% 16%, rgba(47,111,159,.18), transparent 24%),
    linear-gradient(135deg, #f7fbfd 0%, #ffffff 60%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: center; }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: 13px; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(42px, 6vw, 72px); letter-spacing: -.045em; margin-bottom: 20px; }
h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.035em; margin-bottom: 18px; }
h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 10px; }
.hero .lede { font-size: 21px; max-width: 730px; color: #3f5160; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.proof-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--navy); font-weight: 750; font-size: 14px; }
.proof-strip span::before { content: "✓"; color: var(--gold); margin-right: 7px; }

.seal {
  width: min(330px, 86vw); aspect-ratio: 1; margin-inline: auto;
  border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--navy); color: white; border: 9px solid white;
  outline: 2px solid var(--gold); box-shadow: var(--shadow);
  padding: 42px;
}
.seal small { text-transform: uppercase; letter-spacing: .18em; font-weight: 800; }
.seal .best { display: block; font-size: 58px; line-height: .95; font-weight: 900; letter-spacing: -.05em; margin: 10px 0 2px; }
.seal .msps { display: block; font-size: 34px; line-height: 1; font-weight: 850; }
.seal .year { display: inline-block; border-top: 1px solid rgba(255,255,255,.5); margin-top: 14px; padding-top: 10px; letter-spacing: .16em; font-weight: 800; }

.section { padding: 78px 0; }
.section.alt { background: var(--ice); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading p { color: var(--muted); font-size: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 8px 28px rgba(16,42,67,.04); }
.card p:last-child { margin-bottom: 0; }
.icon-kicker { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--blue); font-weight: 900; margin-bottom: 18px; }
.category-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--sky);
  border: 1px solid var(--line);
  position: relative;
  margin-bottom: 18px;
}

.category-icon::before {
  content: "";
  position: absolute;
  inset: 12px;
  background: var(--blue);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.fully-managed-icon::before {
  -webkit-mask-image: url("/assets/admin_panel_setting.svg");
  mask-image: url("/assets/admin_panel_setting.svg");
}

.co-managed-icon::before {
  -webkit-mask-image: url("/assets/handshake.svg");
  mask-image: url("/assets/handshake.svg");
}

.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; padding: 24px 22px; border-left: 3px solid var(--gold); background: white; border-radius: 0 14px 14px 0; }
.step::before { counter-increment: steps; content: counter(steps); display: block; color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: .1em; margin-bottom: 8px; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); margin: 0; }

.statement { background: var(--navy); color: white; border-radius: 24px; padding: 42px; }
.statement h2, .statement h3 { color: white; }
.statement .big { font-size: clamp(27px, 4vw, 42px); font-weight: 850; line-height: 1.22; letter-spacing: -.035em; margin: 0; }
.statement-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.statement-list div { border-top: 1px solid rgba(255,255,255,.22); padding-top: 16px; font-weight: 750; }

.page-hero { padding: 68px 0 48px; background: var(--ice); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(38px, 5vw, 58px); max-width: 850px; }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 19px; }

.content h2 { margin-top: 44px; font-size: 30px; }
.content h3 { margin-top: 28px; }
.content ul { padding-left: 22px; }
.content li { margin-bottom: 8px; }
.note { background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; padding: 18px 20px; }

.form-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.form-section { padding: 0 0 28px; margin: 0 0 28px; border: 0; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { border-bottom: 0; margin-bottom: 10px; }
.form-section legend { width: 100%; font-size: 22px; color: var(--navy); font-weight: 800; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field.full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.required { color: var(--danger); }
input, select, textarea {
  width: 100%; border: 1px solid #bac8d3; border-radius: 10px; padding: 12px 13px; background: white;
  color: var(--ink); font: inherit;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(47,111,159,.18); border-color: var(--lake); }
textarea { min-height: 130px; resize: vertical; }
.help { color: var(--muted); font-size: 13px; margin-top: 6px; }
.choice { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.choice input { width: 18px; height: 18px; margin-top: 3px; }
.choice label { color: var(--ink); font-weight: 600; margin: 0; }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: 10px; display: none; }
.form-status.error { display: block; background: #fff0f0; color: var(--danger); border: 1px solid #f0c7c7; }
.form-status.success { display: block; background: #eef8f3; color: var(--success); border: 1px solid #bfe0cf; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: 16px; }
.contact-card strong { display: block; color: var(--navy); font-size: 18px; margin-bottom: 4px; }

.cta { padding: 64px 0; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 38px; border-radius: 22px; background: var(--sky); border: 1px solid #cfe0ea; }
.cta-box h2 { margin-bottom: 8px; font-size: 32px; }
.cta-box p { margin: 0; color: var(--muted); }

.site-footer { background: #0b2238; color: #d8e3eb; padding: 48px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 40px; }
.site-footer h3 { color: white; font-size: 18px; }
.site-footer a { color: #eaf3f8; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-note { border-top: 1px solid rgba(255,255,255,.14); margin-top: 34px; padding-top: 22px; font-size: 13px; color: #b8c8d4; }

@media (max-width: 900px) {
  .hero-grid, .grid-3, .steps, .statement-list, .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 68px; }
  .menu-button { display: inline-flex; }
  .nav { display: none; position: absolute; left: 14px; right: 14px; top: 68px; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 10px; }
  .nav.open { display: flex; }
  .nav a { padding: 8px 4px; }
  .nav .button { text-align: center; }
  .hero { padding: 58px 0; }
  .hero-grid, .grid-2, .grid-3, .steps, .statement-list, .form-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-art { order: 2; }
  .seal { width: 250px; }
  .seal .best { font-size: 45px; }
  .section { padding: 58px 0; }
  .statement, .form-card { padding: 26px; }
  .cta-box { align-items: flex-start; flex-direction: column; }
  .footer-grid > :first-child { grid-column: auto; }
  .brand-text { font-size: 16px; }
}

/* Michigan's Best MSPs branding v1 */
.brand-logo {
  display: block;
  width: auto;
  height: 56px;
  max-width: 190px;
  object-fit: contain;
}

.recognition-seal {
  display: block;
  width: min(360px, 88vw);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 18px 30px rgba(16, 42, 67, .14));
}

@media (max-width: 720px) {
  .brand-logo {
    height: 44px;
    max-width: 150px;
  }
  .recognition-seal {
    width: min(290px, 84vw);
  }
}
