/* xpedeus.com (R4768). Mobile first, light by default, dark via prefers-color-scheme. No third-party resources. */
:root {
  --navy: #16244a;
  --navy-2: #22346a;
  --navy-3: #2b4180;
  --slate: #475569;
  --ink: #0f172a;
  --muted: #526073;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --line: #dde3ec;
  --card: #ffffff;
  /* accent harmonised with the logo (indigo #3b518d, red #e43730) */
  --accent: #2f4b94;
  --accent-ink: #ffffff;
  --accent-soft: #e8ecf7;
  --logo-red: #e43730;
  --on-dark-eyebrow: #b9c6ee;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --wrap: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e7ecf3;
    --muted: #a3afc0;
    --bg: #0b1226;
    --bg-soft: #10182f;
    --line: #26325a;
    --card: #131c38;
    --accent: #97a9d8;
    --accent-ink: #0b1226;
    --accent-soft: #1a2750;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
  .band.on-dark { background: #0d1530; border-top: 1px solid rgba(255, 255, 255, .08); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
main.grow { display: flex; flex-direction: column; }
main.grow > .page-hero { flex: 1; display: flex; align-items: center; }
main.grow > .page-hero > .wrap { width: 100%; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -9999px; padding: 0 1rem; min-height: 44px; display: inline-flex; align-items: center; }
.skip:focus { left: 1rem; top: .5rem; z-index: 10; background: var(--bg); color: var(--accent); border-radius: 8px;
  box-shadow: var(--shadow); font-weight: 650; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .5rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46rem; }
.section { padding: 3.5rem 0; }
.section.soft { background: var(--bg-soft); }
.section-head { margin-bottom: 2rem; max-width: 46rem; }

/* header: always a clean white letterhead bar (light and dark), logo sits directly on it; logo blue #3b518d, logo red #e43730 */
.site-header { --h-blue: #3b518d; --h-red: #e43730; background: #fff; border-bottom: 3px solid var(--h-red); position: sticky; top: 0; z-index: 5;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .10); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; flex: none; }
.brand picture { display: block; }
.brand .logo { width: auto; height: 58px; display: block; }
.nav { display: flex; gap: .5rem; margin-right: -.9rem; }
.nav a { position: relative; color: var(--h-blue); text-decoration: none; font-weight: 600; padding: 0 .9rem; min-height: 44px; display: inline-flex;
  align-items: center; font-size: 1rem; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 6px; height: 3px; border-radius: 2px; background: var(--h-red);
  transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:focus-visible { outline: 3px solid var(--h-blue); outline-offset: 0; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .nav a::after { transition: none; } }
/* phones: logo and the four nav links on one row, every link still a 44 px tap target */
@media (max-width: 559px) {
  .site-header .wrap { padding: 0 .6rem; gap: .25rem; min-height: 64px; }
  .brand .logo { height: 40px; }
  .nav { gap: 0; margin-right: calc(-.5rem + 1px); }
  .nav a { padding: 0 .5rem; font-size: .84rem; justify-content: center; }
  .nav a::after { left: .5rem; right: .5rem; bottom: 8px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.3rem;
  border-radius: 10px; font-weight: 650; text-decoration: none; border: 2px solid transparent; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }
.on-dark .btn-primary { background: #fff; color: #2f4b94; }
.on-dark .btn-primary:hover { filter: none; background: #e8ecf7; }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.on-dark .btn-ghost:hover { border-color: #fff; }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%); color: #fff; padding: 3.5rem 0 3rem; }
.hero .eyebrow { color: var(--on-dark-eyebrow); }
.hero .eyebrow-wide { display: none; }
.hero .eyebrow-narrow { font-size: .7rem; letter-spacing: .06em; }
.hero .lead { color: #c9d6ea; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.badge25 { display: none; }
.badge25 svg { width: 100%; height: 100%; }
/* phones and tablets: a compact 25-year mark ahead of the headline replaces the large badge */
.mark25 { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 1rem; padding: .3rem .8rem; border: 1px solid rgba(185, 198, 238, .45);
  border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--on-dark-eyebrow); }
.mark25 b { color: #fff; font-weight: 800; }
.hero .proof { margin: 1.25rem 0 0; font-size: .95rem; color: #c9d6ea; }
@media (min-width: 860px) {
  .mark25 { display: none; }
  .hero .eyebrow-wide { display: block; }
  .hero .eyebrow-narrow { display: none; }
  .badge25 { display: block; margin: 0 auto; }
  .hero { padding: 5rem 0 4.5rem; }
  .hero-grid { grid-template-columns: 1fr 220px; }
  .badge25 { width: 220px; height: 220px; }
}

/* trust strip */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--card); padding: 1.1rem 1rem; }
.stat b { display: block; font-size: 1.6rem; line-height: 1.1; color: var(--ink); font-weight: 750; }
.stat span { display: block; font-size: .9rem; color: var(--muted); margin-top: .3rem; }
.stats-note { margin: .8rem 0 0; font-size: .85rem; color: var(--muted); }
.stats-h { margin: 2.5rem 0 1rem; font-size: 1.1rem; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stat { padding: 1.4rem 1.3rem; } .stat b { font-size: 2rem; } }

/* product cards */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem; display: flex; flex-direction: column; }
.card h3 { font-size: 1.45rem; margin-bottom: .3rem; }
.card .sub { font-size: 1.05rem; color: var(--muted); font-weight: 600; margin-bottom: .6rem; }
.card ul { margin: .4rem 0 1.4rem; padding-left: 1.2rem; color: var(--muted); }
.card li { margin: .3rem 0; }
.card .btn { margin-top: auto; align-self: flex-start; }
.icon-tile { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 1rem; }
.icon-tile svg { width: 26px; height: 26px; }
.owned { margin: 2rem 0 0; padding: 1.1rem 1.25rem; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.owned + p { margin-top: 1rem; }

/* healthcare and professional offices */
.features { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem; }
.feature h3 { font-size: 1.3rem; }
.feature p { color: var(--muted); margin: 0; }
.ind-h { margin: 2.5rem 0 1rem; font-size: 1.1rem; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 1.6rem 2rem; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: -6px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.timeline .yr { display: block; font-weight: 800; font-size: 1.25rem; color: var(--accent); }
.timeline .what { display: block; font-weight: 650; }
.timeline li.now::after { background: var(--logo-red); border-color: var(--logo-red); }
/* undated steps: no year, a smaller hollow marker in the line colour, quieter text */
.timeline li.step::after { left: 3px; top: 7px; width: 8px; height: 8px; border-width: 2px; border-color: var(--muted); }
.timeline li.step .what { color: var(--muted); font-weight: 600; }
.timeline li.step .yr:empty { display: none; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
  .timeline li.step .yr:empty { display: block; min-height: 2rem; }
  .timeline li { padding: 2rem 0 0; }
  .timeline li::before { left: 0; right: -1.5rem; top: 6px; bottom: auto; width: auto; height: 2px; }
  .timeline li:last-child::before { display: block; right: 0; }
}

/* industries */
.industries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.industries li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.industries svg { width: 24px; height: 24px; color: var(--accent); flex: none; }
@media (min-width: 760px) { .industries { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* team band */
.band { background: var(--navy); color: #fff; padding: 3rem 0; }
.band .lead { color: #c9d6ea; }
.band-grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 820px) {
  .band-grid { grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: 2.5rem; }
  /* buttons stack in a narrow right column so the heading keeps the room */
  .band-grid .ctas { flex-direction: column; align-items: stretch; justify-self: end; max-width: 34rem; margin-top: 0; }
}

/* prose (about) */
.wrap.prose { max-width: var(--wrap); }
.prose > * { max-width: 46rem; }
.prose h2 { margin-top: 2.2rem; }
.prose > h2:first-child { margin-top: 0; }
/* about: prose column plus a sticky fact card (stacks under the prose on phones) */
.about-grid { display: grid; gap: 2rem; }
.about-grid .prose { padding: 0; margin: 0; max-width: none; }
.about-grid .prose > h2:first-child { margin-top: 0; }
.fact-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--logo-red); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.5rem; align-self: start; }
.fact-card h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.fact-card dl { margin: 0; }
.fact-card dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fact-card dd { margin: .1rem 0 1rem; font-size: 1.1rem; font-weight: 650; color: var(--ink); line-height: 1.35; }
.fact-card .btn { width: 100%; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 3.5rem; align-items: start; }
  .fact-card { position: sticky; top: 7rem; }
}
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 3rem 0 2.5rem; }
.page-hero .lead { color: #c9d6ea; }
.page-hero .eyebrow { color: var(--on-dark-eyebrow); }
.page-hero .hours { color: #c9d6ea; font-size: .92rem; margin: .9rem 0 0; }

/* contact */
.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.contact-item h2 { font-size: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.contact-item h2 svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.contact-item a { font-size: 1.1rem; font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.contact-item a:hover { text-decoration: underline; }
.contact-item p { color: var(--muted); margin: .3rem 0 0; }

/* footer: a light band in light mode (official logo sits on it directly); dark like the page in dark mode */
.site-footer { --f-ink: #0f172a; --f-muted: #4a5568; --f-line: #dde3ec; --f-link: #3b518d;
  background: #f4f6fa; border-top: 1px solid var(--f-line); padding: 2.5rem 0 5rem; color: var(--f-muted); font-size: .92rem; }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--f-ink); margin-bottom: .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer a { color: var(--f-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.site-footer a:hover { color: var(--f-link); text-decoration: underline; }
.site-footer a:focus-visible { outline-color: var(--f-link); }
.site-footer .footer-logo { display: inline-block; margin: 0 0 .75rem; }
.site-footer .footer-logo img { display: block; width: 150px; height: auto; }
.since { font-weight: 700; color: var(--f-ink); }
@media (prefers-color-scheme: dark) {
  /* footer follows the page in dark mode; the header already carries the logo, so the footer logo is hidden */
  .site-footer { --f-ink: var(--ink); --f-muted: #a3afc0; --f-line: var(--line); --f-link: var(--accent); background: var(--bg-soft); }
  .site-footer .footer-logo { display: none; }
}
.legal { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--f-line); font-size: .85rem; }
.ext::after { content: " \2197"; }
.band .eyebrow { color: var(--on-dark-eyebrow); }

/* consultation form (XSChat lead binding) */
.form-card { max-width: 640px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); scroll-margin-top: 6.5rem; }
.form-card h2 { font-size: 1.3rem; margin-bottom: .3rem; }
.form-intro { color: var(--muted); margin: 0 0 1.1rem; }
.form-card .field { margin-bottom: 1rem; }
.form-card label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--ink); }
.form-card .req { font-weight: 400; color: var(--muted); }
.form-card input, .form-card textarea { display: block; width: 100%; box-sizing: border-box; min-height: 44px; padding: .6rem .8rem; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--muted); border-radius: 10px; }
.form-card textarea { min-height: 110px; resize: vertical; }
.form-card input:focus, .form-card textarea:focus { outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.form-card input:user-invalid, .form-card textarea:user-invalid { border-color: #c0392b; }
.form-card button.btn { width: 100%; cursor: pointer; border: 2px solid transparent; font: inherit; font-weight: 650; }
.form-card button:disabled { opacity: .65; cursor: progress; }
.form-card [role="alert"] { margin: 1rem 0 0; padding: .7rem .9rem; border-radius: 10px; border: 1px solid #c0392b; background: #fdecea; color: #7a1f14; font-weight: 600; }
.form-card [role="status"] { padding: 1rem 1.1rem; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent); color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.form-card [role="status"]:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-color-scheme: dark) {
  .form-card [role="alert"] { background: #3a1512; color: #ffd2cc; border-color: #e5675a; }
  .form-card input:user-invalid, .form-card textarea:user-invalid { border-color: #e5675a; }
}
@media (min-width: 640px) { .form-card { padding: 2rem; } }

/* FAQ: native <details>/<summary> accordion, no script */
.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 56px; padding: .9rem .25rem; font-size: 1.12rem; font-weight: 650; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.faq-item .chev { width: 22px; height: 22px; flex: none; color: var(--accent); transition: transform .18s ease; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-a { padding: 0 .25rem 1.1rem; color: var(--muted); max-width: 46rem; }
.faq-a p { margin: 0; }
@media (prefers-reduced-motion: reduce) { .faq-item .chev { transition: none; } }
.faq-more { margin-top: 2.5rem; max-width: 52rem; padding: 1.5rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-more p { margin: 0; font-weight: 600; }
.faq-more .ctas { margin-top: 1rem; }
