/* Theme appearance and navigation. Loaded after aigroup.css. */
html[data-ag-theme="dark"] { color-scheme: dark; background: #080e19; }
html[data-ag-theme="light"] { color-scheme: light; background: #fff; }
body.aigroup-site {
  --ag-font: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ag-header-bg: rgb(255 255 255 / 92%);
  --ag-surface: #fff;
  --ag-surface-raised: #fff;
  --ag-button-bg: #245cf2;
  --ag-button-hover: #1645c4;
  --ag-nav-ink: #4e5b6c;
  font-family: var(--ag-font);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: clip;
}
html[data-ag-theme="dark"] body.aigroup-site {
  --ag-ink: #edf3ff;
  --ag-muted: #9eacc2;
  --ag-blue: #6c98ff;
  --ag-blue-dark: #a6c0ff;
  --ag-line: #26364b;
  --ag-paper: #101a2a;
  --ag-soft: #172b4c;
  --ag-header-bg: rgb(8 14 25 / 92%);
  --ag-surface: #111c2c;
  --ag-surface-raised: #162338;
  --ag-button-bg: #245cf2;
  --ag-button-hover: #3970ff;
  --ag-nav-ink: #bac7dc;
  background: #080e19;
  color: var(--ag-ink);
}
.aigroup-site :is(h1, h2, h3, h4) { font-family: var(--ag-font); line-height: 1.32; letter-spacing: -.035em; }
.aigroup-site .ag-hero-copy h1 { font-size: clamp(48px, 4.8vw, 64px); line-height: 1.25; letter-spacing: -.045em; }
.aigroup-site :is(.ag-page-heading, .ag-page-hero-grid) h1 { font-size: clamp(44px, 4.1vw, 58px); line-height: 1.3; }
.aigroup-site .ag-section-head h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.35; }
.aigroup-site :is(.ag-hero-description, .ag-lead) { font-size: 17px; line-height: 1.9; }
.aigroup-site :is(.ag-service-card, .ag-solution-card, .ag-feature, .ag-value, .ag-article-body) p { font-size: 15px; line-height: 1.9; }
.aigroup-site :is(.ag-service-card, .ag-solution-card, .ag-value, .ag-article-body) :is(h2, h3) { font-size: 21px; line-height: 1.5; }
.aigroup-site .ag-feature :is(h2, h3) { font-size: 19px; line-height: 1.5; }
.aigroup-site .ag-button { font-size: 14px; font-family: var(--ag-font); line-height: 1.7; }
.aigroup-site :is(.ag-card-link, .ag-step p, .ag-check-list li, .ag-contact-card p, .ag-notice, .ag-deliverables > p:not(.ag-eyebrow)) { font-size: 14px; }
.aigroup-site :is(.ag-faq details > p, .ag-faq details > div) { font-size: 15px; }
.aigroup-site .ag-step h3 { font-size: 19px; line-height: 1.5; }
.aigroup-site .ag-field label { font-size: 13px; line-height: 1.7; }
.aigroup-site .ag-field :is(input, select, textarea) { font-size: 15px; line-height: 1.75; }
.aigroup-site :is(.ag-consent, .ag-contact-form > p, .ag-form-note) { font-size: 13px !important; }
.aigroup-site .ag-contact-form > .ag-form-note:first-of-type { font-size: 13px !important; }
.aigroup-site :is(.ag-filter-button, .ag-search input, .ag-search-form > input) { font-size: 14px; }
.aigroup-site .ag-prose { font-size: 17px; line-height: 2; }
.aigroup-site .ag-prose h2 { line-height: 1.5; }
.aigroup-site :is(.ag-footer-links h2, .ag-footer-links h3) { font-size: 14px; }
.aigroup-site :is(.ag-footer-links > a, .ag-footer-links > span, .ag-footer-links li, .ag-footer-about > p, .ag-footer-about > .ag-card-link, .ag-footer-note) { font-size: 13px; }
.aigroup-site :is(.ag-article-toc h2, .ag-article-toc h3, .ag-article-toc li, .ag-reading-info, .ag-breadcrumb, .ag-footer-bottom) { font-size: 12px; }
.aigroup-site .ag-article-meta { font-size: 11px; line-height: 1.7; }
.aigroup-site .ag-article-meta > span { font-size: 12px; }
.aigroup-site .ag-tag { font-size: 12px; line-height: 1.6; }
.aigroup-site .ag-eyebrow, .aigroup-site .ag-kicker { font-size: 11px; line-height: 1.8; letter-spacing: 1.4px; }
.aigroup-site .ag-capability strong { font-size: 13px; }
.aigroup-site .ag-floating-card strong { font-size: 13px; }
.aigroup-site .ag-floating-card small { font-size: 11px; }
.aigroup-site .ag-hero-note { font-size: 13px; }
.aigroup-site .ag-brand-name { font-size: 26px; line-height: 1.3; letter-spacing: -1.3px; }
.aigroup-site .ag-brand-tagline { font-size: 8px; line-height: 1.6; letter-spacing: 1.15px; }
.aigroup-site .ag-header { position: sticky; z-index: 1000; overflow: visible; background: var(--ag-header-bg); border-color: var(--ag-line); transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.aigroup-site .ag-header-inner { min-height: 88px; gap: 27px; transition: min-height .25s ease; }
.aigroup-site .ag-header.is-scrolled { box-shadow: 0 8px 32px rgb(10 25 55 / 7%); }
.aigroup-site .ag-header.is-scrolled .ag-header-inner { min-height: 78px; }
.aigroup-site .ag-nav { flex: 1; min-width: 0; justify-content: center; margin-left: auto; gap: 20px; }
.aigroup-site :is(.ag-nav-link, .ag-custom-menu a) { color: var(--ag-nav-ink) !important; padding-block: 27px; font-size: 14px; line-height: 1.7; }
.aigroup-site .ag-nav-link::after { bottom: 19px; }
.aigroup-site :is(.ag-nav-link:hover, .ag-nav-link.is-active, .ag-custom-menu a:hover, .ag-custom-menu .current-menu-item > a, .ag-custom-menu .current-menu-ancestor > a) { color: var(--ag-blue) !important; }
.aigroup-site .ag-custom-menu { gap: 18px; flex-wrap: wrap; justify-content: center; }
.ag-header-actions { position: relative; z-index: 40; display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.aigroup-site .ag-header-contact { min-height: 44px; padding: 10px 16px; font-size: 13px; gap: 9px; white-space: nowrap; }
.ag-theme-control { position: relative; display: none; }
html.ag-ui-ready .ag-theme-control { display: block; }
.aigroup-site .ag-theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 10px 12px; margin: 0; border: 1px solid var(--ag-line); border-radius: 9px; color: var(--ag-ink); background: var(--ag-surface); font-size: 12px; line-height: 1.6; letter-spacing: 0; text-transform: none; box-shadow: none; transition: border-color .2s, background .2s, transform .2s; }
.ag-theme-toggle > svg { width: 19px; height: 19px; }
.aigroup-site .ag-theme-toggle:hover, .aigroup-site .ag-theme-toggle[aria-expanded="true"] { border-color: var(--ag-blue); background: var(--ag-soft); }
.ag-theme-panel { position: absolute; top: calc(100% + 14px); right: 0; z-index: 50; width: 280px; max-width: calc(100vw - 36px); padding: 20px; border: 1px solid var(--ag-line); border-radius: 15px; color: var(--ag-ink); background: var(--ag-surface-raised); box-shadow: 0 16px 60px rgb(0 0 0 / 14%); transform-origin: top right; animation: ag-theme-panel-enter .2s ease both; }
.ag-theme-panel[hidden] { display: none !important; }
.ag-theme-panel-title { margin: 0 0 15px !important; font-size: 13px; font-weight: 600; line-height: 1.7; }
.ag-theme-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.aigroup-site .ag-theme-option { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; min-height: 98px; padding: 16px 13px; margin: 0; border: 1px solid var(--ag-line); border-radius: 10px; background: transparent; color: var(--ag-muted); font-size: 13px; line-height: 1.6; font-weight: 550; letter-spacing: 0; text-transform: none; box-shadow: none; transition: border-color .2s, background .2s, color .2s; }
.ag-theme-option > svg:first-child { width: 23px; height: 23px; }
.aigroup-site .ag-theme-option:hover { border-color: var(--ag-blue); color: var(--ag-ink); }
.aigroup-site .ag-theme-option.is-selected, .aigroup-site .ag-theme-option[aria-pressed="true"] { border-color: var(--ag-blue); color: var(--ag-blue); background: var(--ag-soft); }
.ag-theme-check { position: absolute; top: 10px; right: 10px; width: 15px; height: 15px; opacity: 0; }
.ag-theme-option.is-selected .ag-theme-check, .ag-theme-option[aria-pressed="true"] .ag-theme-check { opacity: 1; }
.aigroup-site .ag-menu-toggle { display: none; margin: 0; width: 44px; height: 44px; color: var(--ag-ink); background: var(--ag-surface); border-color: var(--ag-line); }
.ag-menu-lines { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 19px; height: 24px; }
.ag-menu-lines i { display: block; width: 19px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease; transform-origin: center; }
.ag-menu-toggle[aria-expanded="true"] .ag-menu-lines i:first-child { transform: translateY(6.5px) rotate(45deg); }
.ag-menu-toggle[aria-expanded="true"] .ag-menu-lines i:nth-child(2) { opacity: 0; }
.ag-menu-toggle[aria-expanded="true"] .ag-menu-lines i:last-child { transform: translateY(-6.5px) rotate(-45deg); }
.ag-mobile-nav-head, .ag-mobile-cta, .ag-mobile-nav-note, .ag-nav-backdrop { display: none; }
html[data-ag-theme="dark"] .ag-header.is-scrolled { box-shadow: 0 8px 35px rgb(0 0 0 / 25%); }
html[data-ag-theme="dark"] :is(.ag-hero, .ag-page-hero) { background: #0c1525; }
html[data-ag-theme="dark"] .ag-hero::before { background: radial-gradient(ellipse at 82% 25%, #142b51 0, transparent 56%); }
html[data-ag-theme="dark"] :is(.ag-hero-description, .ag-capability, .ag-check-list li, .ag-field label, .ag-prose) { color: var(--ag-muted); }
html[data-ag-theme="dark"] :is(.ag-capabilities, .ag-capability + .ag-capability, .ag-capability:nth-child(n+3), .ag-step, .ag-process-section) { border-color: var(--ag-line); }
html[data-ag-theme="dark"] :is(.ag-card-index, .ag-step-number, .ag-capability > span:first-child) { color: #91a1bb; }
html[data-ag-theme="dark"] .ag-visual::before { border-color: #28416a; box-shadow: 0 0 0 45px rgb(29 52 91 / 13%), 0 0 0 46px rgb(48 77 126 / 40%); }
html[data-ag-theme="dark"] .ag-orbit #ag-orbit-line stop:first-child { stop-color: #3b5b8f; }
html[data-ag-theme="dark"] .ag-orbit #ag-orbit-line stop:last-child { stop-color: #203758; }
html[data-ag-theme="dark"] .ag-orbit [fill="#E6EDFB"] { fill: #213b64; }
html[data-ag-theme="dark"] .ag-orbit [fill="#C9D9F8"] { fill: #19345a; }
html[data-ag-theme="dark"] .ag-orbit [fill="#B8CDF2"], html[data-ag-theme="dark"] .ag-orbit [fill="#CCDDF9"] { fill: #254573; }
html[data-ag-theme="dark"] .ag-orbit [fill="#9DB9EC"], html[data-ag-theme="dark"] .ag-orbit [fill="#B7CEF4"] { fill: #365b91; }
html[data-ag-theme="dark"] .ag-orbit-core { filter: drop-shadow(0 18px 35px rgb(0 0 0 / 30%)); }
html[data-ag-theme="dark"] .ag-visual-label { color: #8a9cb8; }
html[data-ag-theme="dark"] .ag-floating-card { background: rgb(20 34 55 / 93%); border-color: #30486c; box-shadow: 0 12px 40px rgb(0 0 0 / 20%); }
html[data-ag-theme="dark"] :is(.ag-service-card, .ag-article-card, .ag-value, .ag-contact-form) { background: var(--ag-surface); }
html[data-ag-theme="dark"] :is(.ag-service-card:hover, .ag-article-card:hover) { border-color: #466ba8; box-shadow: 0 18px 40px rgb(0 0 0 / 20%); }
html[data-ag-theme="dark"] .ag-process-section { background: #0c1422; }
html[data-ag-theme="dark"] .ag-solution-card .ag-card-icon { background: #182b45; border-color: #2d4567; }
html[data-ag-theme="dark"] .ag-tag { background: #132035; border-color: #2d3d55; color: #b5c5dc; }
html[data-ag-theme="dark"] .ag-step::before { box-shadow: 0 0 0 6px #101e34; }
html[data-ag-theme="dark"] .ag-dark-section { background: #101f34; color: #b8c8df; border-block: 1px solid #223651; }
html[data-ag-theme="dark"] .ag-terminal { background: #0b1626; border-color: #2c405c; }
html[data-ag-theme="dark"] .ag-terminal-bar { border-color: #2c405c; color: #a0b0c8; }
html[data-ag-theme="dark"] .ag-terminal-comment { color: #95a7c2; }
html[data-ag-theme="dark"] .ag-article-visual { background: #152743; }
html[data-ag-theme="dark"] .ag-visual-ai { background: radial-gradient(ellipse at 70% 10%, #1c3155, #122138); }
html[data-ag-theme="dark"] .ag-visual-software { color: #8ec7b0; background: #142c2c; }
html[data-ag-theme="dark"] .ag-visual-data { color: #b5a6ef; background: #26233e; }
html[data-ag-theme="dark"] .ag-article-visual::before, html[data-ag-theme="dark"] .ag-article-visual::after { border-color: #3a527a; background: transparent; }
html[data-ag-theme="dark"] .ag-visual-software::before, html[data-ag-theme="dark"] .ag-visual-software::after { border-color: #355a52; }
html[data-ag-theme="dark"] .ag-visual-data::before, html[data-ag-theme="dark"] .ag-visual-data::after { border-color: #514774; }
html[data-ag-theme="dark"] .ag-visual-caption { opacity: .85; }
html[data-ag-theme="dark"] .ag-cta-inner { background: linear-gradient(115deg, #173775, #214eb0 60%, #235acb); border: 1px solid #3d66b6; }
html[data-ag-theme="dark"] .ag-footer { background: #0b1320; }
html[data-ag-theme="dark"] :is(.ag-footer-note, .ag-footer-bottom, .ag-breadcrumb, .ag-reading-info) { color: #97a8c1; }
html[data-ag-theme="dark"] .ag-breadcrumb [aria-current] { color: #bfcee4; }
html[data-ag-theme="dark"] .ag-service-hero .ag-page-hero-grid > .ag-card-icon { background: #18315a; border-color: #385b91; box-shadow: 20px 20px 0 #10213b; }
html[data-ag-theme="dark"] :is(.ag-deliverables, .ag-large-stat) { background: #132541; border-color: #2e4a74; }
html[data-ag-theme="dark"] .ag-field :is(input, select, textarea), html[data-ag-theme="dark"] .ag-search input, html[data-ag-theme="dark"] .ag-search-form > input { background: #0b1525; color: #edf3ff; border-color: #334760; }
html[data-ag-theme="dark"] .ag-field :is(input, textarea)::placeholder, html[data-ag-theme="dark"] .ag-search input::placeholder, html[data-ag-theme="dark"] .ag-search-form > input::placeholder { color: #8b9cb6; }
html[data-ag-theme="dark"] .ag-field :is(input, select, textarea):focus, html[data-ag-theme="dark"] .ag-search input:focus { box-shadow: 0 0 0 3px rgb(108 152 255 / 16%); }
html[data-ag-theme="dark"] .ag-filter-button { background: var(--ag-surface); border-color: var(--ag-line); }
html[data-ag-theme="dark"] .ag-filter-button.is-active { color: #fff; background: #245cf2; border-color: #507ff7; }
html[data-ag-theme="dark"] .ag-form-message { background: #132743; color: #bfd6ff; border-color: #355782; }
html[data-ag-theme="dark"] .ag-form-message.is-success { background: #102b24; color: #a1dfbc; border-color: #315d4b; }
html[data-ag-theme="dark"] .ag-form-message.is-error { background: #321c27; color: #f6b7bc; border-color: #6c3a4c; }
html[data-ag-theme="dark"] .ag-prose blockquote { color: #bdcef0; background: #14243c; }
html[data-ag-theme="dark"] .ag-prose pre { background: #132137; color: #c7d6ef; }
html[data-ag-theme="dark"] .ag-article-toc { border-color: var(--ag-line); }
html[data-ag-theme="dark"] .ag-button-primary { background: var(--ag-button-bg); border-color: var(--ag-button-bg); }
html[data-ag-theme="dark"] .ag-button-primary:hover { background: var(--ag-button-hover); border-color: var(--ag-button-hover); }
html[data-ag-theme="dark"] .ag-button-outline { border-color: #405671; }
html[data-ag-theme="dark"] .ag-button-light { color: #173f9e !important; background: #eef4ff; border-color: #eef4ff; }
html[data-ag-theme="dark"] .ag-button-light:hover { background: #d4e2ff; }
html[data-ag-theme="dark"] .ag-button-dark { color: #edf3ff !important; background: #243a5a; }
html[data-ag-theme="dark"] .ag-pagination .current { color: #fff; background: #245cf2; border-color: #507ff7; }
html[data-ag-theme] .ag-loader { font-family: var(--ag-font, "Be Vietnam Pro", sans-serif); }
html[data-ag-theme] .ag-loader-caption { font-size: 14px; }
html[data-ag-theme] .ag-loader-footnote { font-size: 9px; }
html[data-ag-theme="dark"] .ag-loader.is-visible:not([hidden]) { background: #080e19; color: #edf3ff; }
html[data-ag-theme="dark"] .ag-loader::before { background: radial-gradient(ellipse at 49% 43%, #173363, rgb(19 38 70 / 70%) 18%, transparent 43%), radial-gradient(ellipse at 29% 64%, rgb(29 54 98 / 40%), transparent 30%); }
html[data-ag-theme="dark"] .ag-loader::after { background-image: linear-gradient(rgb(120 158 245 / 6%) 1px, transparent 1px), linear-gradient(90deg, rgb(120 158 245 / 6%) 1px, transparent 1px); }
html[data-ag-theme="dark"] .ag-loader-brand { color: #edf3ff; }
html[data-ag-theme="dark"] .ag-loader-caption { color: #b2c2db; }
html[data-ag-theme="dark"] .ag-loader-footnote { color: #97a9c5; }
html[data-ag-theme="dark"] .ag-loader-orbit { border-color: #315387; }
html[data-ag-theme="dark"] .ag-loader-particle, html[data-ag-theme="dark"] .ag-loader-orbit-one::before, html[data-ag-theme="dark"] .ag-loader-orbit-one::after { border-color: #0c192c; }
html[data-ag-theme="dark"] .ag-loader-progress { background: #253c61; }
@keyframes ag-theme-panel-enter { from { opacity: 0; transform: translateY(-5px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ag-menu-item-enter { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 1180px) {
  .aigroup-site .ag-header-inner { gap: 20px; }
  .aigroup-site .ag-nav { gap: 17px; }
  .aigroup-site :is(.ag-nav-link, .ag-custom-menu a) { font-size: 13px; }
  .aigroup-site .ag-header-contact { padding-inline: 13px; font-size: 12px; }
  .ag-theme-toggle > span { display: none; }
}
@media (min-width: 1101px) {
  .aigroup-site .ag-header.ag-menu-ready .ag-nav { display: flex; }
  .aigroup-site .ag-nav { order: initial; width: auto; flex-wrap: nowrap; padding: 0; visibility: visible; opacity: 1; transform: none; pointer-events: auto; max-height: none; overflow: visible; transition: none; }
}
@media (max-width: 1100px) {
  .aigroup-site .ag-header-inner { flex-wrap: wrap; min-height: 76px; gap: 14px; }
  .aigroup-site .ag-header.is-scrolled .ag-header-inner { min-height: 70px; }
  .ag-header-actions { margin-left: auto; gap: 9px; }
  .aigroup-site .ag-header-contact { display: none; }
  .aigroup-site .ag-header.ag-menu-ready .ag-menu-toggle { display: inline-flex; }
  .aigroup-site .ag-nav { order: 3; flex-basis: 100%; width: 100%; flex-direction: column; align-items: stretch; gap: 3px; padding: 10px 0 24px; }
  .aigroup-site .ag-header.ag-menu-ready .ag-nav { position: absolute; top: 100%; right: 0; z-index: 20; display: flex; width: min(380px, calc(100vw - 24px)); max-height: calc(100dvh - var(--ag-nav-top, 76px)); min-height: min(470px, calc(100dvh - var(--ag-nav-top, 76px))); margin: 0; padding: 25px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--ag-line); border-top: 0; border-radius: 0 0 0 20px; background: var(--ag-surface); box-shadow: -10px 20px 50px rgb(0 0 0 / 12%); visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(-12px); transition: transform .3s cubic-bezier(.22,.68,0,1), opacity .25s ease, visibility .3s; }
  .aigroup-site .ag-header.ag-menu-ready .ag-nav.is-open { display: flex; visibility: visible; pointer-events: auto; opacity: 1; transform: translateY(0); }
  .aigroup-site :is(.ag-nav-link, .ag-custom-menu a) { padding: 14px 12px; font-size: 16px; border: 0; border-radius: 9px; line-height: 1.7; }
  .aigroup-site .ag-nav-link::after { display: none; }
  .aigroup-site .ag-nav-link.is-active, .aigroup-site .ag-custom-menu .current-menu-item > a { background: var(--ag-soft); }
  .aigroup-site .ag-nav-link:hover, .aigroup-site .ag-custom-menu a:hover { background: var(--ag-paper); }
  .aigroup-site .ag-custom-menu { display: flex; flex-direction: column; align-items: stretch; gap: 3px; width: 100%; margin: 0; padding: 0; }
  .ag-mobile-nav-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; padding: 0 12px 18px; border-bottom: 1px solid var(--ag-line); color: var(--ag-muted); font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase; }
  .aigroup-site .ag-mobile-cta { display: inline-flex; width: 100%; margin-top: 22px; font-size: 14px; }
  .ag-mobile-nav-note { display: block; margin-top: 22px !important; padding-inline: 10px; color: var(--ag-muted); font-size: 12px; line-height: 1.9; }
  .ag-nav.is-open > :is(.ag-nav-link, .ag-custom-menu, .ag-mobile-cta) { animation: ag-menu-item-enter .32s ease both; }
  .ag-nav.is-open > .ag-nav-link:nth-of-type(2) { animation-delay: .03s; }
  .ag-nav.is-open > .ag-nav-link:nth-of-type(3) { animation-delay: .06s; }
  .ag-nav.is-open > .ag-nav-link:nth-of-type(4) { animation-delay: .09s; }
  .ag-nav.is-open > .ag-nav-link:nth-of-type(5) { animation-delay: .12s; }
  .aigroup-site .ag-nav-backdrop { position: fixed; inset: var(--ag-nav-top, 76px) 0 0; z-index: 990; display: block; width: 100%; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: rgb(3 9 20 / 46%); backdrop-filter: blur(5px); box-shadow: none; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
  .aigroup-site .ag-nav-backdrop.is-active { opacity: 1; pointer-events: auto; }
  body.aigroup-site.ag-menu-open { overflow: hidden; }
  .ag-theme-panel { top: calc(100% + 12px); }
}
@media (max-width: 767px) {
  .aigroup-site .ag-hero-copy h1 { font-size: clamp(34px, 7.6vw, 42px); line-height: 1.3; }
  .aigroup-site :is(.ag-page-heading, .ag-page-hero-grid) h1 { font-size: clamp(32px, 7vw, 40px); line-height: 1.35; }
  .aigroup-site .ag-section-head h2 { font-size: clamp(28px, 6.5vw, 34px); line-height: 1.4; }
  .aigroup-site :is(.ag-hero-description, .ag-lead) { font-size: 16px; line-height: 1.9; }
  .aigroup-site .ag-prose { font-size: 16px; line-height: 2; }
  .aigroup-site :is(.ag-service-card, .ag-solution-card, .ag-feature, .ag-value, .ag-article-body) p { font-size: 15px; }
  .aigroup-site .ag-button { font-size: 14px; }
  .aigroup-site .ag-field :is(input, select, textarea), .aigroup-site .ag-search input, .aigroup-site .ag-search-form > input { font-size: 16px; }
  .aigroup-site .ag-capability strong { font-size: 12px; }
  .aigroup-site .ag-brand-name { font-size: 24px; }
  .aigroup-site .ag-brand-tagline { font-size: 7px; letter-spacing: 1px; }
  .aigroup-site .ag-hero-actions .ag-button { padding-inline: 17px; gap: 9px; }
  .aigroup-site .ag-floating-card strong { font-size: 12px; }
  .aigroup-site .ag-floating-card small { font-size: 10px; }
  .aigroup-site .ag-floating-card { min-width: 158px; }
  html[data-ag-theme="dark"] .ag-article-toc { background: #101b2d; }
  html[data-ag-theme="dark"] .ag-service-hero .ag-page-hero-grid > .ag-card-icon { box-shadow: 8px 8px 0 #10213b; }
}
@media (max-width: 479px) {
  .aigroup-site .ag-header-inner { gap: 10px; }
  .aigroup-site .ag-brand-name { font-size: 22px; }
  .aigroup-site .ag-brand-tagline { font-size: 6px; letter-spacing: .8px; }
  .aigroup-site .ag-brand > svg { width: 34px; height: 34px; }
  .ag-header-actions { gap: 7px; }
  .ag-theme-panel { right: -51px; width: 278px; }
  .aigroup-site .ag-theme-toggle { padding-inline: 10px; }
  .aigroup-site .ag-hero-actions { gap: 9px; }
  .aigroup-site .ag-hero-actions .ag-button { padding-inline: 14px; font-size: 13px; }
  .aigroup-site .ag-card-link { font-size: 13px; }
  .aigroup-site .ag-capability strong { font-size: 11px; }
  .aigroup-site .ag-floating-card { min-width: 145px; padding: 10px; gap: 8px; }
  .aigroup-site .ag-floating-card strong { font-size: 11px; }
  .aigroup-site .ag-floating-card small { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-header, .ag-header-inner, .ag-nav, .ag-nav-backdrop, .ag-menu-lines i, .ag-theme-panel, .ag-theme-option, .ag-theme-toggle { animation: none !important; transition-duration: .01ms !important; }
  .ag-nav.is-open > :is(.ag-nav-link, .ag-custom-menu, .ag-mobile-cta) { animation: none; }
}
@media print {
  html[data-ag-theme], html[data-ag-theme] body.aigroup-site { color-scheme: light; background: #fff !important; color: #142235 !important; }
  html[data-ag-theme] body.aigroup-site { --ag-ink: #142235; --ag-muted: #536279; --ag-blue: #245cf2; --ag-line: #d8dfe9; --ag-paper: #fff; --ag-soft: #f3f6fc; }
  .ag-header-actions, .ag-nav-backdrop, .ag-theme-panel, .ag-loader { display: none !important; }
  html[data-ag-theme="dark"] :is(.ag-hero, .ag-page-hero, .ag-service-card, .ag-article-card, .ag-feature, .ag-value, .ag-dark-section, .ag-process-section, .ag-deliverables, .ag-contact-card, .ag-notice) { background: #fff !important; color: #142235 !important; }
  html[data-ag-theme] .aigroup-site :is(h1, h2, h3, h4) { color: #142235 !important; }
  .aigroup-site .ag-prose { color: #142235 !important; }
}
