:root {
  --ms-blue-950: #071c3a;
  --ms-blue-900: #0a2f68;
  --ms-blue-800: #0d3f88;
  --ms-blue-700: #1159b5;
  --ms-blue-600: #1d70d8;
  --ms-blue-100: #eaf3ff;
  --ms-blue-050: #f5f9ff;
  --ms-ink: #132234;
  --ms-muted: #596779;
  --ms-line: #d8e5f5;
  --ms-gold: #9fd0ff;
  --ms-white: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; color: var(--ms-ink); background: var(--ms-white); font-family: "Segoe UI", Arial, Helvetica, sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ms-blue-700); }
img { display: block; max-width: 100%; height: auto; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
:focus-visible { outline: 3px solid var(--ms-gold); outline-offset: 3px; }
.ms-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--ms-line); backdrop-filter: blur(14px); }
.utility-bar, .utility-actions, .social-theme-row, .main-nav, .nav-links, .social-links, .hero-actions, .contact-actions { display: flex; align-items: center; }
.utility-bar { min-height: 40px; justify-content: space-between; gap: 18px; color: var(--ms-muted); font-size: .92rem; }
.utility-actions { gap: 16px; }
.utility-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ms-blue-950); font-weight: 800; }
.social-theme-row { gap: 10px; }
.social-links { gap: 8px; flex-wrap: wrap; }
.social-links a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ms-line); border-radius: 7px; color: var(--ms-blue-800); background: var(--ms-white); font-size: .75rem; font-weight: 900; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease; }
.social-links a:hover { color: var(--ms-white); background: var(--ms-blue-700); border-color: var(--ms-blue-700); transform: translateY(-1px); }
.social-links svg { width: 18px; height: 18px; stroke-width: 2.25; }
.theme-toggle { width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--ms-line); border-radius: 7px; color: var(--ms-blue-950); background: var(--ms-white); cursor: pointer; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease; }
.theme-toggle svg { width: 20px; height: 20px; stroke-width: 2.2; }
.theme-toggle:hover { color: var(--ms-white); background: var(--ms-blue-700); border-color: var(--ms-blue-700); transform: translateY(-1px); }
.main-nav { min-height: 82px; justify-content: space-between; gap: 24px; }
.brand img { width: clamp(250px, 22vw, 300px); height: auto; }
.nav-links { justify-content: center; flex: 1; gap: 26px; color: var(--ms-muted); font-size: .96rem; font-weight: 800; }
.nav-links a.is-active { color: var(--ms-blue-800); }
.remote-button, .button, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 900; }
.remote-button { min-height: 46px; padding: 0 16px; border-radius: 6px; color: var(--ms-white); background: var(--ms-blue-700); box-shadow: 0 10px 24px rgba(17,89,181,.24); }
.remote-button:hover { color: var(--ms-white); background: var(--ms-blue-800); }
.hero { position: relative; min-height: clamp(520px, 68svh, 690px); display: grid; align-items: center; overflow: hidden; isolation: isolate; color: var(--ms-white); background: var(--ms-blue-950); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(90deg, rgba(7,28,58,.94), rgba(10,47,104,.76) 48%, rgba(10,47,104,.22)), url("/assets/media/hero-phoenix-skyline.png"); background-position: center; background-size: cover; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 12px; background: linear-gradient(90deg, var(--ms-blue-800), var(--ms-blue-600), var(--ms-gold)); }
.hero-content { padding: 72px 0; }
.eyebrow { margin: 0 0 14px; color: var(--ms-blue-700); font-size: .94rem; font-weight: 950; }
.hero .eyebrow, .cta-section .eyebrow { color: var(--ms-gold); }
.hero h1, .section-heading h2, .entry-hero h1, .cta-section h2 { margin: 0; max-width: 820px; font-weight: 950; line-height: 1.05; }
.hero h1 { font-size: clamp(2.75rem, 6vw, 5.8rem); }
.hero-copy { max-width: 690px; margin: 24px 0 0; color: rgba(255,255,255,.9); font-size: clamp(1.1rem, 2vw, 1.38rem); line-height: 1.58; }
.hero-actions, .contact-actions { flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { min-height: 52px; padding: 0 18px; border-radius: 6px; line-height: 1.1; text-align: center; border: 0; cursor: pointer; }
.button.primary { color: var(--ms-blue-950); background: var(--ms-gold); box-shadow: 0 12px 24px rgba(245,181,68,.24); }
.button.secondary { color: var(--ms-white); border: 1px solid rgba(255,255,255,.72); background: rgba(255,255,255,.12); }
.button.blue { color: var(--ms-white); background: var(--ms-blue-700); }
.proof-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--ms-line); border-bottom: 1px solid var(--ms-line); }
.proof-strip div { min-height: 148px; padding: 24px 20px; background: var(--ms-blue-050); }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip strong { color: var(--ms-blue-900); font-size: clamp(1.12rem, 1.25vw, 1.35rem); line-height: 1.15; }
.proof-strip span { margin-top: 8px; color: var(--ms-muted); line-height: 1.45; }
.section { padding: 86px 0; }
.section.alt { background: var(--ms-blue-050); }
.section-heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .75fr); gap: 44px; align-items: end; margin-bottom: 40px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -24px; }
.section-heading h2, .entry-hero h1, .cta-section h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.section-heading p, .entry-content p, .entry-content li, .card p, .cta-section p { color: var(--ms-muted); font-size: 1.05rem; line-height: 1.72; }
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border: 1px solid rgba(13,63,136,.14); border-radius: 8px; background: var(--ms-white); box-shadow: 0 8px 22px rgba(7,28,58,.05); padding: 24px; }
.card h3 { margin: 0 0 10px; font-size: 1.24rem; line-height: 1.2; }
.service-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 8px; color: var(--ms-white); background: var(--ms-blue-700); font-weight: 950; }
.text-link { width: fit-content; color: var(--ms-blue-700); }
.post-meta { color: var(--ms-muted); font-size: .9rem; font-weight: 700; }
.entry-hero { padding: 74px 0; color: var(--ms-white); background: linear-gradient(90deg, rgba(7,28,58,.96), rgba(17,89,181,.84)), var(--ms-blue-900); }
.entry-layout { padding: 68px 0; }
.entry-content { width: min(860px, 100%); }
.entry-content h2, .entry-content h3 { color: var(--ms-blue-950); margin-top: 1.6em; }
.entry-content a { color: var(--ms-blue-700); font-weight: 800; }
.entry-content blockquote { margin: 24px 0; padding: 18px 22px; border-left: 5px solid var(--ms-blue-700); background: var(--ms-blue-050); }
.entry-content input { width: 100%; min-height: 46px; border: 1px solid var(--ms-line); border-radius: 6px; padding: 10px 12px; }
.entry-content label { display: block; color: var(--ms-blue-950); font-weight: 800; margin: 14px 0 6px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-status { min-height: 28px; margin-top: 12px; color: var(--ms-muted); font-weight: 700; }
.cta-section { padding: 78px 0; color: var(--ms-white); background: linear-gradient(90deg, rgba(7,28,58,.98), rgba(17,89,181,.92)), var(--ms-blue-950); }
.cta-section p { color: rgba(255,255,255,.84); max-width: 720px; }
.cta-section .existing-client-note { margin: 16px 0 0; color: var(--ms-white); font-size: clamp(1.16rem, 2vw, 1.32rem); font-weight: 900; line-height: 1.38; }
.existing-client-note a { color: var(--ms-white); font-weight: 950; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .16s ease; }
.existing-client-note a:hover { color: var(--ms-gold); }
.site-footer { padding: 58px 0 22px; color: rgba(255,255,255,.76); background: var(--ms-blue-950); }
.footer-grid { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(180px, .45fr) minmax(220px, .55fr); gap: 36px; }
.site-footer img { width: 190px; border-radius: 6px; background: var(--ms-white); }
.site-footer h2 { margin: 0 0 14px; color: var(--ms-white); font-size: 1rem; }
.site-footer a { display: block; line-height: 1.7; }
.copyright { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; }
.client-popup { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(7,28,58,.56); }
.client-popup__panel { position: relative; width: min(520px, 100%); padding: 34px 38px; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; color: var(--ms-white); background: var(--ms-blue-950); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.client-popup__panel p { margin: 0; font-size: 1.18rem; line-height: 1.55; }
.client-popup__panel a { color: var(--ms-gold); font-weight: 900; }
.client-popup__close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: var(--ms-white); background: rgba(255,255,255,.12); font-size: 1.6rem; line-height: 1; cursor: pointer; }
html[data-theme="dark"] body { color: rgba(255,255,255,.9); background: var(--ms-blue-950); }
html[data-theme="dark"] .site-header { background: rgba(18,22,27,.98); border-bottom-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .utility-bar { color: rgba(255,255,255,.78); }
html[data-theme="dark"] .utility-phone { color: var(--ms-white); }
html[data-theme="dark"] .nav-links { color: rgba(255,255,255,.68); }
html[data-theme="dark"] .nav-links a:hover, html[data-theme="dark"] .nav-links a.is-active { color: var(--ms-white); }
html[data-theme="dark"] .social-links a, html[data-theme="dark"] .theme-toggle { color: rgba(255,255,255,.86); background: #121820; border-color: rgba(255,255,255,.22); }
html[data-theme="dark"] .social-links a:hover, html[data-theme="dark"] .theme-toggle:hover { color: var(--ms-blue-950); background: #9fd0ff; border-color: #9fd0ff; }
html[data-theme="dark"] .button.primary { color: var(--ms-blue-950); background: #9fd0ff; box-shadow: 0 12px 24px rgba(159,208,255,.22); }
html[data-theme="dark"] .section { background: #081f43; }
html[data-theme="dark"] .section.alt { background: #092855; }
html[data-theme="dark"] .proof-strip { background: rgba(255,255,255,.12); border-bottom-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .proof-strip div, html[data-theme="dark"] .card { background: #0c2e60; border-color: rgba(255,255,255,.12); box-shadow: none; }
html[data-theme="dark"] .proof-strip strong, html[data-theme="dark"] .card h3, html[data-theme="dark"] .entry-content h2, html[data-theme="dark"] .entry-content h3 { color: var(--ms-white); }
html[data-theme="dark"] .proof-strip span, html[data-theme="dark"] .section-heading p, html[data-theme="dark"] .entry-content p, html[data-theme="dark"] .entry-content li, html[data-theme="dark"] .card p { color: rgba(255,255,255,.78); }
html[data-theme="dark"] .entry-layout { background: #081f43; }
html[data-theme="dark"] .entry-content a, html[data-theme="dark"] .text-link { color: #8fc4ff; }
html[data-theme="dark"] .entry-content blockquote { background: #0c2e60; border-left-color: var(--ms-gold); }
html[data-theme="dark"] .entry-content input { color: var(--ms-white); background: #0c2e60; border-color: rgba(255,255,255,.18); }
html[data-theme="dark"] .entry-content label { color: var(--ms-white); }
@media (max-width: 980px) {
  .main-nav { flex-wrap: wrap; padding: 14px 0; }
  .nav-links { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .proof-strip, .grid.three, .grid.two, .section-heading, .footer-grid { grid-template-columns: 1fr; }
  .section-heading .eyebrow { margin-bottom: 0; }
}
@media (max-width: 640px) {
  .ms-wrap { width: min(100% - 28px, 1180px); }
  .utility-bar { align-items: flex-start; flex-direction: column; gap: 10px; padding: 10px 0; }
  .utility-actions { align-items: flex-start; gap: 10px; width: 100%; }
  .social-theme-row { width: 100%; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
  .social-links { flex: 0 0 auto; gap: 6px; flex-wrap: nowrap; }
  .social-links a { width: 44px; height: 44px; }
  .theme-toggle { flex: 0 0 auto; width: 44px; height: 44px; }
  .brand img { width: min(250px, 82vw); }
  .remote-button, .button { width: 100%; }
  .hero { min-height: 480px; }
  .hero-content { width: 100%; max-width: calc(100vw - 28px); padding: 28px 0; }
  .hero h1 { width: min(100%, calc(100vw - 28px)); max-width: 100%; font-size: clamp(2rem, 8.8vw, 2.45rem); line-height: 1.04; overflow-wrap: break-word; }
  .hero-copy { width: min(100%, calc(100vw - 28px)); max-width: 100%; margin-top: 18px; font-size: .94rem; line-height: 1.45; overflow-wrap: break-word; }
  .hero-actions { gap: 12px; margin-top: 24px; }
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
}
