/* ============================================================
   /css/site.css  -  Applied IT Solutions, 2026 site
   The look of the whole site: header and menu, footer, and the
   building blocks the pages are made of. Loaded last, from
   nav/basestyles.php, after the old theme stylesheet (styles.css),
   which stays only so the older page layouts (self-assessment,
   demo health reports, The Market) keep working.
   ============================================================ */

:root {
  --blue: #037cff;
  --blue-dark: #0066d6;
  --amber: #ffb35c;
  --amber-dark: #d97706;
  --ink: #12151c;
  --text: #3d4350;
  --muted: #6a7180;
  --line: #e3e6eb;
  --soft: #f5f7fa;
  --dark: #12151c;
  --radius: 12px;
  --gutter: 40px;
  --font: "Roboto", Helvetica, Arial, sans-serif;
}

/* ---- one content width for every page ----------------------------
   The old theme used fixed widths (1270 / 940 / 738px) that ran past
   the window on many laptops. Every row is now fluid, up to 1200px,
   with the same side margin everywhere. */
.grid-row {
  width: auto;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  box-sizing: content-box;
}
@media screen and (max-width: 767px) {
  :root { --gutter: 20px; }
  .grid-row { margin-left: auto; margin-right: auto; }
}

body { background: #fff; }
.page { overflow: visible; }

/* ============================================================
   HEADER AND MENU
   ============================================================ */
.page-header-bottom {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.page-header-bottom.fixed { box-shadow: none; }
.page-header-bottom .grid-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.page-header-bottom .grid-row:after { display: none; }
.page-header-bottom-holder,
.page-header-bottom + .page-header-bottom-holder { display: none; }

.page-header-bottom .logo { display: block; float: none; height: auto; margin: 0; padding: 0; flex: none; }
.page-header-bottom .logo img { display: block; width: 199px; height: 40px; }
.page-header-bottom.fixed .logo { height: auto; }

/* the menu */
.aits-nav { position: static; font-family: var(--font); }
.aits-nav > ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.aits-nav li { position: relative; margin: 0; padding: 0; list-style: none; }
.aits-nav li::before { content: none; }
.aits-nav > ul > li > a {
  display: block;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.aits-nav > ul > li > a:hover,
.aits-nav > ul > li:focus-within > a,
.aits-nav > ul > li.is-current > a { color: var(--blue); }
/* Two kinds of top item, and they look different:
   - a drop-down opener (li.has-sub): a chevron, opens its list, never a page;
   - a page link (no chevron): goes straight to its page. */
.aits-nav > ul > li.has-sub > a { cursor: default; }
.aits-nav > ul > li.has-sub > a::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin: 0 0 3px 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
  transition: transform 0.15s, margin 0.15s;
}
.aits-nav > ul > li.has-sub:hover > a,
.aits-nav > ul > li.has-sub:focus-within > a,
.aits-nav > ul > li.has-sub.is-open > a { background: var(--soft); }
.aits-nav > ul > li.has-sub:hover > a::after,
.aits-nav > ul > li.has-sub:focus-within > a::after,
.aits-nav > ul > li.has-sub.is-open > a::after { transform: rotate(225deg); margin-bottom: -1px; }
.aits-nav > ul > li:not(.has-sub):not(.aits-nav-cta):not(.aits-login):not(.aits-logout) > a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* drop-downs */
.aits-nav li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 250px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(16,24,40,0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.aits-nav > ul > li:hover > ul,
.aits-nav > ul > li.is-open > ul,
.aits-nav > ul > li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.aits-nav li > ul > li > a,
.aits-nav li > ul > li > span.aits-nav-label {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 19px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.aits-nav li > ul > li > a small { display: block; margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--muted); white-space: normal; }
.aits-nav li > ul > li > a:hover { background: var(--soft); color: var(--blue); }
/* group headings inside a drop-down: a tinted band, not a link */
.aits-nav li > ul > li.aits-nav-group > span.aits-nav-label {
  margin: 6px 0 4px;
  padding: 7px 12px;
  border-radius: 6px;
  background: #e8eef7;
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3b4a63;
  cursor: default;
  user-select: none;
}
.aits-nav li > ul > li.aits-nav-group:first-child > span.aits-nav-label { margin-top: 0; }
.aits-nav li > ul > li.aits-nav-sep { height: 1px; margin: 6px 4px; background: var(--line); }
.aits-nav .aits-live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #16a34a; vertical-align: 1px; }
.aits-nav li.aits-nav-right > ul { left: auto; right: 0; }

/* the Self-Assessment button at the end of the menu */
.aits-nav > ul > li.aits-nav-cta > a {
  margin-left: 8px;
  padding: 9px 16px;
  background: var(--blue);
  color: #fff;
}
.aits-nav > ul > li.aits-nav-cta > a:hover { background: var(--blue-dark); color: #fff; }

/* Login box */
.aits-nav li.aits-login > .aits-login-box {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 60;
  width: 260px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(16,24,40,0.14);
  display: none;
}
.aits-nav li.aits-login.is-open > .aits-login-box { display: block; }
.aits-login-box form { margin: 0; }
.aits-login-box label { display: block; margin: 0 0 4px; font-size: 12px; line-height: 16px; color: var(--muted); }
.aits-login-box input[type="text"],
.aits-login-box input[type="password"] {
  display: block; width: 100%; box-sizing: border-box; margin: 0 0 10px; padding: 9px 11px;
  border: 1px solid #d5d9e0; border-radius: 6px; background: #fff; font-size: 14px; line-height: 20px; color: var(--ink);
}
.aits-login-box input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(3,124,255,0.15); }
.aits-login-box button {
  width: 100%; padding: 10px; border: 0; border-radius: 6px; background: var(--blue); color: #fff;
  font-size: 14px; line-height: 18px; cursor: pointer;
}
.aits-login-box button:hover { background: var(--blue-dark); }
.aits-login-box .aits-login-keep { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 12px; color: var(--muted); }

/* signed in: "Logged In As" under Logout */
.aits-nav li.aits-logout { display: flex; flex-direction: column; align-items: flex-end; }
.aits-nav li.aits-logout > a { padding-bottom: 2px; }
.aits-nav .aits-who { padding: 0 13px 4px; font-size: 10px; line-height: 12px; color: var(--muted); white-space: nowrap; }
.aits-nav .aits-who a { color: var(--blue); }

/* the phone menu button */
.aits-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  line-height: 20px;
  color: var(--ink);
  cursor: pointer;
}
.aits-nav-toggle .bars, .aits-nav-toggle .bars::before, .aits-nav-toggle .bars::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); content: "";
}
.aits-nav-toggle .bars { position: relative; }
.aits-nav-toggle .bars::before { position: absolute; top: -6px; left: 0; }
.aits-nav-toggle .bars::after { position: absolute; top: 6px; left: 0; }
.aits-sub-toggle { display: none; }

@media screen and (max-width: 1140px) {
  .aits-nav-toggle { display: inline-flex; }
  .aits-nav > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(16,24,40,0.10);
  }
  .aits-nav.is-open > ul { display: flex; }
  .aits-nav > ul > li { border-bottom: 1px solid var(--line); }
  .aits-nav > ul > li > a { padding: 14px 4px; font-size: 16px; }
  .aits-nav > ul > li.has-sub > a::after { display: none; }
  .aits-sub-toggle {
    display: block; position: absolute; top: 6px; right: 0; width: 44px; height: 40px;
    border: 0; background: none; cursor: pointer;
  }
  .aits-sub-toggle::after {
    content: ""; position: absolute; top: 14px; left: 18px; width: 8px; height: 8px;
    border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.15s;
  }
  .aits-nav li.is-open > .aits-sub-toggle::after { transform: rotate(225deg); top: 18px; }
  .aits-nav li > ul {
    position: static; display: none; min-width: 0; margin: 0 0 10px; padding: 0 0 0 10px;
    border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .aits-nav > ul > li:hover > ul, .aits-nav > ul > li:focus-within > ul { transform: none; }
  .aits-nav li.is-open > ul { display: block; }
  .aits-nav li > ul > li > a { white-space: normal; }
  .aits-nav > ul > li.aits-nav-cta { border-bottom: 0; padding-top: 14px; }
  .aits-nav > ul > li.aits-nav-cta > a { margin: 0; text-align: center; }
  .aits-nav li.aits-login > .aits-login-box { position: static; width: auto; margin: 0 0 14px; box-shadow: none; }
  .aits-nav li.aits-logout { align-items: stretch; }
  .aits-nav .aits-who { padding: 0 4px 12px; }
}
@media screen and (max-width: 479px) {
  .page-header-bottom .logo img { width: 159px; height: 32px; }
}

/* ============================================================
   PAGE BUILDING BLOCKS  (new pages wrap their content in
   <main class="aits-main">)
   ============================================================ */
.aits-main { font-family: var(--font); color: var(--text); }
.aits-main ul, .aits-main ol { margin: 0; padding: 0; list-style: none; }
.aits-main li { margin: 0; padding: 0; }
.aits-main li::before { content: none; }
.aits-main p { margin: 0 0 16px; font-size: 17px; line-height: 28px; font-weight: 400; color: var(--text); }
.aits-main strong { font-weight: 500; color: var(--ink); }
.aits-main a { color: var(--blue); }
.aits-main a:hover { color: var(--blue-dark); }
.aits-main h1, .aits-main h2, .aits-main h3, .aits-main h4 {
  margin: 0; padding: 0; border: 0; text-transform: none; letter-spacing: normal; font-family: var(--font);
  text-wrap: balance;
}
/* no short word left dangling at the end or start of a line */
.aits-main p, .aits-main li { text-wrap: pretty; }
/* a heading made of two sentences: each sentence starts its own line */
.aits-main .aits-line { display: block; }
/* a source link stays on one line */
.aits-main .aits-cite { white-space: nowrap; }
.aits-main img { max-width: 100%; height: auto; }

.aits-eyebrow {
  display: block;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.aits-main p.aits-eyebrow { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--blue); }
.aits-main h2.aits-h2 { margin: 0 0 18px; font-size: 38px; line-height: 1.18; font-weight: 300; color: var(--ink); }
.aits-main h3.aits-h3 { margin: 0 0 10px; font-size: 21px; line-height: 28px; font-weight: 400; color: var(--ink); }
.aits-main p.aits-lead { font-size: 19px; line-height: 31px; color: #2b303a; }
.aits-main p.aits-intro { max-width: 760px; margin: 0; font-size: 18px; line-height: 30px; }
.aits-main p.aits-small { font-size: 14px; line-height: 22px; color: var(--muted); }

.aits-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(3,124,255,0.10); color: var(--blue); font-size: 19px;
}
.aits-link, .aits-more { color: var(--blue); font-size: 15px; line-height: 20px; text-decoration: none; }
.aits-link .fa, .aits-more .fa { margin-left: 4px; }

/* buttons */
.aits-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.aits-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 6px;
  font-size: 16px; line-height: 20px; font-weight: 400; text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.aits-main a.aits-btn-primary, .aits-btn-primary { background: var(--blue); border: 1px solid var(--blue); color: #fff; }
.aits-main a.aits-btn-primary:hover, .aits-btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.aits-main a.aits-btn-ghost, .aits-btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.55); color: #fff; }
.aits-main a.aits-btn-ghost:hover, .aits-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }
.aits-main a.aits-btn-light, .aits-btn-light { background: #fff; border: 1px solid #d5d9e0; color: var(--ink); }
.aits-main a.aits-btn-light:hover, .aits-btn-light:hover { border-color: var(--blue); color: var(--blue); }

/* ---- dark header band (home page: large; other pages: compact) ---- */
.aits-hero {
  position: relative;
  padding: 80px 0 90px;
  background: #1b1d22 url(../pic/slider/bg_slide2.jpg) 50% 100% / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.aits-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,16,22,0.93) 0%, rgba(14,16,22,0.80) 45%, rgba(14,16,22,0.40) 100%);
}
.aits-hero .grid-row { position: relative; }
.aits-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.aits-hero-solo { max-width: 820px; }
/* a header with a quote or figure in the right-hand corner */
.aits-hero-quoted { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.aits-hero-quoted .aits-hero-solo { max-width: none; }
.aits-hero-quote {
  position: relative;
  margin: 0;
  padding: 30px 32px 26px;
  border-left: 3px solid var(--amber);
  border-radius: 0 14px 14px 0;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.aits-hero-quote blockquote { margin: 0; padding: 0; border: 0; quotes: none; }
.aits-hero-quote .aits-quote-mark {
  position: absolute; top: -6px; left: 22px;
  font-family: Georgia, "Times New Roman", serif; font-size: 96px; line-height: 1; color: var(--amber); opacity: 0.85;
}
.aits-main .aits-hero-quote p.aits-quote-text {
  margin: 26px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px; line-height: 1.45; font-style: italic; font-weight: 400;
  color: #fff;
}
.aits-hero-quote .aits-quote-stat { display: block; font-size: 64px; line-height: 1; font-weight: 300; color: var(--amber); }
.aits-main .aits-hero-quote.is-stat p.aits-quote-text { margin-top: 10px; font-family: var(--font); font-style: normal; font-size: 19px; }
.aits-main .aits-hero-quote p.aits-quote-who { margin: 0; font-size: 13px; line-height: 20px; color: rgba(255,255,255,0.7); }
.aits-hero-quote .aits-quote-who strong { display: block; font-weight: 500; color: rgba(255,255,255,0.92); }
.aits-hero-quote .aits-quote-who span { display: block; }
.aits-main .aits-hero-quote .aits-quote-who a { display: inline-block; margin-top: 6px; color: rgba(255,255,255,0.85); text-decoration: underline; text-underline-offset: 3px; }
.aits-main .aits-hero-quote .aits-quote-who a:hover { color: var(--amber); }
.aits-hero-quote .aits-quote-who a .fa { font-size: 11px; margin-left: 2px; }
/* home page: what CTS found on real public records (dark band) */
.aits-main .aits-section.aits-section-dark { background: #12151c; color: rgba(255,255,255,0.85); }
.aits-main .aits-section-dark p.aits-eyebrow { color: var(--amber); }
.aits-main .aits-section-dark h2.aits-h2 { color: #fff; }
.aits-main .aits-section-dark p.aits-intro { color: rgba(255,255,255,0.82); }
.aits-found-figure { margin: 0; max-width: 460px; justify-self: end; }
.aits-found-figure a { display: block; }
.aits-found-figure img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.aits-main .aits-found-figure .aits-found-note { margin: 14px 0 0; font-size: 12px; line-height: 18px; color: rgba(255,255,255,0.6); }
@media (max-width: 900px) { .aits-found-figure { justify-self: start; } }
.aits-found { padding: 28px 30px; border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; background: rgba(255,255,255,0.05); }
.aits-found .aits-tag-live { margin-bottom: 18px; }
.aits-found-row { display: flex; align-items: center; gap: 20px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.aits-found-num { flex: none; min-width: 140px; font-size: 52px; line-height: 1; font-weight: 300; color: #4ade80; }
.aits-found-row.is-warn .aits-found-num { color: var(--amber); }
.aits-found-label { font-size: 14px; line-height: 21px; color: rgba(255,255,255,0.7); }
.aits-found-label strong { display: block; margin-bottom: 3px; font-size: 18px; line-height: 24px; font-weight: 500; color: #fff; }
.aits-main .aits-found p.aits-found-note { margin: 14px 0 0; font-size: 12px; line-height: 18px; color: rgba(255,255,255,0.55); }
@media (max-width: 600px) {
  .aits-found { padding: 22px 20px; }
  .aits-found-num { min-width: 112px; font-size: 40px; }
}
/* AI Assistants & Automation page: the two group headings */
.aits-main p.aits-cap-group { margin: 8px 0 18px; padding: 8px 14px; border-radius: 6px; background: #e8eef7; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #3b4a63; }
.aits-main .aits-cap + p.aits-cap-group { margin-top: 48px; }
/* CTS page: Gartner's recommendations and where CTS fits */
.aits-gartner { margin-top: 40px; }
.aits-main .aits-gartner h3 { margin: 0 0 14px; font-size: 21px; line-height: 28px; font-weight: 400; color: var(--ink); }
.aits-gartner table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.aits-gartner th { padding: 10px 16px; text-align: left; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #3b4a63; background: #e8eef7; }
.aits-gartner td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.aits-gartner td:first-child { width: 45%; color: var(--muted); }
.aits-main .aits-gartner p { margin: 16px 0 0; }
.aits-main .aits-gartner p.aits-small { margin-top: 8px; }
@media (max-width: 600px) {
  .aits-gartner thead { display: none; }
  .aits-gartner tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .aits-gartner td { display: block; width: auto !important; padding: 2px 0; border: 0; }
}
/* the same quote on a white section, beside a section heading */
.aits-head-quoted { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-bottom: 48px; }
.aits-head-quoted .aits-section-head { margin-bottom: 0; }
.aits-hero-quote.aits-quote-light { background: var(--soft); backdrop-filter: none; -webkit-backdrop-filter: none; }
.aits-main .aits-quote-light p.aits-quote-text { color: var(--ink); }
.aits-main .aits-quote-light p.aits-quote-who { color: var(--muted); }
.aits-quote-light .aits-quote-who strong { color: var(--ink); }
.aits-main .aits-quote-light .aits-quote-who a { color: var(--blue); }
.aits-main .aits-quote-light .aits-quote-who a:hover { color: var(--blue-dark); }
.aits-main .aits-hero p.aits-eyebrow {
  display: inline-block; margin-bottom: 18px; padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; color: rgba(255,255,255,0.88);
}
.aits-main .aits-hero h1 { margin: 0 0 20px; font-size: 50px; line-height: 1.12; font-weight: 300; color: #fff; }
.aits-main .aits-hero h1 strong { font-weight: 400; color: var(--amber); }
.aits-main .aits-hero p.aits-hero-lead { max-width: 600px; margin: 0 0 32px; font-size: 19px; line-height: 30px; font-weight: 300; color: rgba(255,255,255,0.88); }
.aits-hero .aits-actions { margin-bottom: 24px; }
.aits-main .aits-hero p.aits-hero-more { margin: 0; font-size: 15px; line-height: 22px; color: rgba(255,255,255,0.72); }
.aits-main .aits-hero p.aits-hero-more a,
.aits-main .aits-hero figcaption a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.aits-main .aits-hero p.aits-hero-more a:hover,
.aits-main .aits-hero figcaption a:hover { color: var(--amber); }
.aits-hero-visual { margin: 0; }
.aits-hero-visual a { display: block; }
.aits-hero-visual img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08); }
.aits-hero-visual figcaption a { display: inline; }
.aits-hero-visual figcaption { margin-top: 12px; font-size: 13px; line-height: 20px; color: rgba(255,255,255,0.72); text-align: center; }
.aits-dot { margin: 0 8px; opacity: 0.6; }

.aits-hero-compact { padding: 60px 0 64px; }
.aits-main .aits-hero-compact h1 { font-size: 44px; }
.aits-crumbs { margin: 0 0 22px; font-size: 13px; line-height: 18px; color: rgba(255,255,255,0.6); }
.aits-crumbs a { color: rgba(255,255,255,0.8); text-decoration: none; }
.aits-crumbs a:hover { color: #fff; }
.aits-crumbs span { margin: 0 6px; }

/* live score badge in a dark band */
.aits-score {
  max-width: 380px; box-sizing: border-box;
  display: inline-flex; flex-direction: column; gap: 4px; padding: 20px 24px; border-radius: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
}
.aits-score-label { font-size: 12px; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.aits-score-value { font-size: 52px; line-height: 1; font-weight: 300; color: var(--amber); }
.aits-score-when { font-size: 13px; line-height: 18px; color: rgba(255,255,255,0.7); }
.aits-tag-live { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: rgba(22,163,74,0.18); border: 1px solid rgba(74,222,128,0.35); color: #86efac; font-size: 12px; line-height: 16px; }
.aits-tag-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }

/* ---- sections ---- */
.aits-section { padding: 88px 0; background: #fff; }
.aits-section-alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.aits-section + .aits-section-alt, .aits-section-alt + .aits-section { border-top: 1px solid var(--line); }
.aits-section-tight { padding: 64px 0; }
.aits-section-head { max-width: 780px; margin-bottom: 40px; }
.aits-main .aits-section-head h2.aits-h2 { margin-bottom: 0; }
.aits-main .aits-section-head p.aits-intro { margin-top: 16px; }

/* grids */
.aits-grid-2, .aits-grid-3, .aits-grid-4 { display: grid; gap: 20px; }
.aits-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aits-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aits-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* cards */
.aits-card {
  display: flex; flex-direction: column; height: 100%; box-sizing: border-box;
  padding: 24px 24px 22px; background: #fff; border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(16,24,40,0.07);
  color: var(--text); text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.aits-main a.aits-card { color: var(--text); }
.aits-main a.aits-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(16,24,40,0.12), 0 0 0 1px rgba(3,124,255,0.3); color: var(--text); }
.aits-card .aits-icon { margin-bottom: 16px; }
.aits-main .aits-card h3 { margin: 0 0 8px; font-size: 19px; line-height: 25px; font-weight: 400; color: var(--ink); }
.aits-main .aits-card p { flex: 1; margin: 0 0 16px; font-size: 15px; line-height: 24px; color: var(--muted); }
.aits-main .aits-card p:last-child { margin-bottom: 0; }
.aits-card .aits-more { margin-top: auto; }
.aits-card-live { box-shadow: 0 0 0 1px rgba(3,124,255,0.35), 0 8px 24px rgba(3,124,255,0.08); }
.aits-tag {
  align-self: flex-start; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px;
  background: var(--soft); border: 1px solid var(--line);
  font-size: 12px; line-height: 16px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
}
.aits-tag-green { background: rgba(22,163,74,0.08); border-color: rgba(22,163,74,0.3); color: #15803d; }
.aits-main ul.aits-card-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.aits-card-links a { font-size: 15px; line-height: 20px; text-decoration: none; }
.aits-card-links .fa { margin-left: 3px; }

/* numbered steps */
.aits-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.aits-steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aits-main .aits-step { padding: 26px 24px 22px; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(16,24,40,0.07); }
.aits-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-bottom: 16px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 16px; font-weight: 500;
}
.aits-main .aits-step h3 { margin: 0 0 8px; font-size: 19px; line-height: 26px; font-weight: 400; color: var(--ink); }
.aits-main .aits-step p { margin: 0; font-size: 15px; line-height: 24px; }

/* tags in a row */
.aits-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.aits-main .aits-chips li { padding: 6px 12px; border-radius: 999px; background: rgba(3,124,255,0.08); color: #1d4f91; font-size: 14px; line-height: 18px; }
.aits-measures { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.aits-main .aits-measures p.aits-label { margin: 0; font-size: 13px; line-height: 18px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.aits-main .aits-measures ul.aits-chips { flex: 1; }
@media (max-width: 600px) {
  .aits-main .aits-measures p.aits-label, .aits-main .aits-measures ul.aits-chips { flex: 1 1 100%; }
}

/* text beside a picture */
.aits-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.aits-split-top { align-items: start; }
.aits-figure { margin: 0; }
.aits-figure img, .aits-figure a img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 16px 40px rgba(16,24,40,0.18), 0 0 0 1px rgba(16,24,40,0.06); }
.aits-main p.aits-notice { margin: 0 0 16px; padding: 12px 16px; border-radius: 8px; background: #fff7ed; border: 1px solid #fde3c2; font-size: 15px; line-height: 22px; text-align: center; }
.aits-notice .fa { margin-right: 6px; color: var(--amber-dark); }
.aits-main p.aits-demo-links { margin: 16px 0 0; font-size: 14px; line-height: 24px; color: var(--muted); }

/* check list */
.aits-checks li { position: relative; padding: 0 0 12px 30px; font-size: 16px; line-height: 25px; color: var(--text); }
.aits-checks li::before { content: none; }
.aits-checks li .fa { position: absolute; left: 0; top: 4px; color: var(--blue); }

/* a list of questions (what is measured) */
.aits-measure-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.aits-main .aits-measure-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.aits-main .aits-measure-list h3 { margin: 0 0 4px; font-size: 17px; line-height: 23px; font-weight: 500; color: var(--ink); }
.aits-main .aits-measure-list p { margin: 0; font-size: 15px; line-height: 23px; color: var(--muted); }

/* principle cards (why it matters) */
.aits-main .aits-principle { padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px rgba(16,24,40,0.07); }
.aits-main .aits-principle h3 { margin: 0 0 8px; font-size: 19px; line-height: 25px; font-weight: 400; color: var(--ink); }
.aits-main .aits-principle p { margin: 0; font-size: 15px; line-height: 24px; }

/* a highlighted example */
.aits-main .aits-example {
  margin: 28px 0 0; padding: 20px 24px; border-left: 4px solid var(--amber);
  background: #fff; border-radius: 0 10px 10px 0; box-shadow: 0 0 0 1px rgba(16,24,40,0.05);
}
.aits-main .aits-example p { margin: 0; font-size: 17px; line-height: 28px; color: var(--ink); }
.aits-main .aits-question { font-size: 21px; line-height: 32px; font-weight: 300; color: var(--ink); }

/* questions and answers (folding) */
.aits-faq { max-width: 860px; }
.aits-faq details { border-top: 1px solid var(--line); }
.aits-faq details:last-child { border-bottom: 1px solid var(--line); }
.aits-faq summary {
  position: relative; padding: 18px 40px 18px 0; cursor: pointer; list-style: none;
  font-size: 18px; line-height: 26px; font-weight: 400; color: var(--ink);
}
.aits-faq summary::-webkit-details-marker { display: none; }
.aits-faq summary::after {
  content: ""; position: absolute; right: 8px; top: 26px; width: 8px; height: 8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.15s;
}
.aits-faq details[open] summary::after { transform: rotate(225deg); top: 30px; }
.aits-main .aits-faq details p { margin: 0 0 20px; font-size: 16px; line-height: 27px; }

/* platforms we work with */
.aits-main .aits-platforms p { font-size: 15px; line-height: 25px; color: var(--muted); }

/* closing call to action */
.aits-cta {
  position: relative; padding: 70px 0;
  background: #1b1d22 url(../pic/slider/bg_slide2.jpg) 50% 100% / cover no-repeat; overflow: hidden;
}
.aits-cta::before { content: ""; position: absolute; inset: 0; background: rgba(14,16,22,0.83); }
.aits-cta .grid-row { position: relative; }
.aits-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.aits-main .aits-cta h2 { margin: 0 0 8px; font-size: 34px; line-height: 1.2; font-weight: 300; color: #fff; }
.aits-main .aits-cta p { margin: 0; font-size: 17px; line-height: 26px; color: rgba(255,255,255,0.8); }

/* capability sections */
.aits-cap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.aits-cap:first-child { border-top: 0; padding-top: 0; }
.aits-cap-head { display: flex; gap: 16px; align-items: flex-start; }
.aits-main .aits-cap-head h2 { margin: 0 0 6px; font-size: 26px; line-height: 32px; font-weight: 400; color: var(--ink); }
.aits-main .aits-cap-head p { margin: 0; font-size: 16px; line-height: 26px; color: var(--muted); }
.aits-main .aits-cap ul.aits-checks li { font-size: 16px; }

/* About: folding sections */
.aits-fold details { margin-bottom: 12px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px rgba(16,24,40,0.08); }
.aits-fold summary { position: relative; padding: 20px 56px 20px 24px; cursor: pointer; list-style: none; font-size: 19px; line-height: 26px; color: var(--ink); }
.aits-fold summary::-webkit-details-marker { display: none; }
.aits-fold summary::after { content: ""; position: absolute; right: 26px; top: 28px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.15s; }
.aits-fold details[open] summary::after { transform: rotate(225deg); top: 32px; }
.aits-main .aits-fold details > div { padding: 0 24px 8px; }
.aits-main .aits-fold details p { font-size: 16px; line-height: 27px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { font-family: var(--font); background: var(--soft); border-top: 1px solid var(--line); color: var(--muted); }
.site-footer .grid-row:after { display: none; }
.site-footer-grid { display: grid; grid-template-columns: 1.25fr 0.9fr 1.35fr; gap: 48px; padding: 56px 0 48px; }
#contact-form { scroll-margin-top: 110px; }
.site-footer-grid h2 {
  margin: 0 0 16px; padding: 0; border: 0;
  font-size: 13px; line-height: 18px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
}
.site-footer-grid p, .site-footer-grid li, .site-footer-grid address { margin: 0 0 10px; font-size: 14px; line-height: 22px; font-style: normal; color: var(--muted); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li::before { content: none; }
.site-footer-grid a, .site-footer-bottom a { color: var(--text); text-decoration: none; }
.site-footer-grid a:hover, .site-footer-bottom a:hover { color: var(--blue); }
.site-footer .site-footer-mail a { color: var(--blue); }
.site-footer .site-footer-mail i { width: 16px; margin-right: 8px; color: var(--blue); }

.site-footer form { margin: 0; }
#contact-form input, #contact-form textarea {
  display: block; width: 100%; box-sizing: border-box; margin: 0 0 10px; padding: 9px 12px;
  border: 1px solid #d5d9e0; border-radius: 6px; background: #fff;
  font-family: var(--font); font-size: 14px; line-height: 20px; color: var(--ink);
}
#contact-form input:focus, #contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(3,124,255,0.15); }
#contact-form textarea { resize: vertical; min-height: 96px; }
.site-footer .site-footer-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.site-footer .site-footer-buttons { display: flex; gap: 10px; }
#contact-form button {
  padding: 0 18px; border: 1px solid #d5d9e0; border-radius: 6px; background: #fff;
  font-family: var(--font); font-size: 14px; line-height: 38px; color: var(--text); cursor: pointer;
}
#contact-form button[type="submit"] { border-color: var(--blue); background: var(--blue); color: #fff; }
#contact-form button[type="submit"]:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
#contact-form button[type="reset"]:hover { border-color: #b8bfca; color: var(--ink); }
.site-footer .site-footer-sent { margin: 12px 0 0; padding: 10px 12px; border-radius: 6px; background: rgba(22,163,74,0.08); color: #15803d; }
.site-footer .site-footer-error { background: rgba(220,38,38,0.08); color: #b91c1c; }
.site-footer-bottom { background: #fff; border-top: 1px solid var(--line); }
.site-footer-bottom .grid-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 20px; padding-bottom: 20px; }
.site-footer-bottom p { margin: 0; font-size: 13px; line-height: 20px; }
.site-footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer-bottom li { margin: 0; font-size: 13px; line-height: 20px; }
.site-footer-bottom a { color: var(--muted); }

/* ============================================================
   SMALLER SCREENS
   ============================================================ */
@media screen and (max-width: 1200px) {
  .aits-main .aits-hero h1 { font-size: 44px; }
  .aits-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aits-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aits-main h2.aits-h2 { font-size: 34px; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; }
  .site-footer-formcol { grid-column: 1 / -1; max-width: 560px; }
}
@media screen and (max-width: 980px) {
  .aits-hero { padding: 64px 0 72px; }
  .aits-hero-inner, .aits-hero-quoted, .aits-head-quoted, .aits-split, .aits-cap { grid-template-columns: 1fr; gap: 36px; }
  .aits-hero-visual { max-width: 560px; }
  .aits-grid-3, .aits-steps-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aits-section { padding: 68px 0; }
  .aits-measure-list { grid-template-columns: 1fr; }
}
@media screen and (max-width: 767px) {
  .aits-hero { padding: 44px 0 56px; }
  .aits-main .aits-hero h1, .aits-main .aits-hero-compact h1 { font-size: 34px; }
  .aits-main .aits-hero p.aits-hero-lead { font-size: 17px; line-height: 27px; }
  .aits-grid-2, .aits-grid-3, .aits-grid-4, .aits-steps, .aits-steps-3 { grid-template-columns: 1fr; }
  .aits-main h2.aits-h2 { font-size: 29px; }
  .aits-section { padding: 56px 0; }
  .aits-main .aits-cta h2 { font-size: 28px; }
  .site-footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 44px 0 36px; }
}
@media screen and (max-width: 479px) {
  .aits-btn { width: 100%; justify-content: center; box-sizing: border-box; }
}


/* ============================================================
   KEPT PAGE LAYOUTS  (self-assessment, demo health reports,
   The Market): the old title bar and headings in the new style
   ============================================================ */
.page-title {
  position: relative; z-index: 2; border: 0;
  background: #1b1d22 url(../pic/slider/bg_slide2.jpg) 50% 100% / cover no-repeat;
}
.page-title::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,16,22,0.93) 0%, rgba(14,16,22,0.80) 45%, rgba(14,16,22,0.45) 100%);
}
.page-title .grid-row {
  position: relative; display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 14px;
  padding-top: 44px; padding-bottom: 48px;
}
.page-title .grid-row:after { display: none; }
.page-title h1 {
  float: none; margin: 0; padding: 0; border: 0;
  font-family: var(--font); font-size: 40px; line-height: 1.15; font-weight: 300; color: #fff;
}
.page-title h1 i { display: none; }
.page-title nav { float: none; padding: 0; font-size: 13px; line-height: 18px; color: rgba(255,255,255,0.6); }
.page-title nav a { color: rgba(255,255,255,0.85); }
.page-title nav a:hover { color: #fff; }
.page-title nav span { color: rgba(255,255,255,0.6); }
.page-title nav i { font-size: 11px; opacity: 0.6; }
/* headings that sit directly in a column row line up with the text below them */
.composer > .columns-row > h2,
.composer > .columns-row > h3,
.composer > .columns-row > .assess-head { margin-left: 15px; margin-right: 15px; }
.page-content, .page-content-alt { font-family: var(--font); }
@media screen and (max-width: 767px) {
  .page-title h1 { font-size: 30px; }
}

/* print: no menu, footer or chat button on paper */
@media print {
  .page-header-bottom, .site-footer, .site-footer-bottom, .aits-chatbot { display: none !important; }
  .aits-hero, .aits-cta { background: none !important; color: #000; }
}

/* caption under a picture */
.aits-main .aits-caption { margin-top: 12px; font-size: 14px; line-height: 21px; color: var(--muted); text-align: center; }
