@import url("/article.css");
/* LinkedIn is intentionally inactive until an approved company URL is supplied.
   Keep the legacy footer node for Vue hydration; hide it from sight and focus. */
.footer .linkedin-text { display: none !important; }

/* A long translated headline must shrink/wrap within the padded hero column. */
.hero > .container { box-sizing: border-box; min-width: 0; }
.hero .hero__content { min-width: 0; max-width: 100%; }
.hero .hero__content h1, .hero .hero__content p { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  html[lang="az"] .hero .hero__content h1,
  html[lang="kk"] .hero .hero__content h1 { font-size: clamp(28px, 8.2vw, 36px); line-height: 1.15; }
}
.ag-contact-email { padding: clamp(64px, 8vw, 112px) 0; scroll-margin-top: 100px; background: #f5f4f2; color: #1b1b1a; }
.ag-contact-email > .container { box-sizing: border-box; }
.ag-contact-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 100px); }
.ag-contact-columns > div { min-width: 0; }
.ag-contact-email h2 { margin: 0; font-family: "Incise Medium", sans-serif; font-size: clamp(32px, 4.3vw, 58px); line-height: 1.13; font-weight: 500; overflow-wrap: anywhere; }
.ag-contact-email h3 { margin: 0 0 16px; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; font-weight: 500; }
.ag-contact-email p { font-size: 20px; line-height: 1.5; overflow-wrap: anywhere; }
.ag-contact-address { display: inline-block; font-size: clamp(23px, 2.4vw, 32px); color: #bf330b; overflow-wrap: anywhere; text-underline-offset: 5px; }
.ag-contact-email .ag-contact-note { color: #645d55; font-size: 16px; }
.ag-project--text { border-top: 1px solid #c9c2b9; }
.ag-project--text .ag-project-meta { padding: 28px 0; }
.ag-project-status { display: inline-block; color: #766d64; font-size: 16px; margin: 0 0 16px; }
@media (max-width: 767px) { .ag-contact-columns { grid-template-columns: minmax(0, 1fr); } }
/* Native Vue sections: shared with the prerendered page, no DOM insertion. */
.ag-solutions,
.ag-client-work {
  padding: clamp(72px, 8vw, 128px) 0;
  color: #1b1b1a;
  background: #f5f4f2;
  scroll-margin-top: 100px;
}
.ag-solutions { background: #eeece9; }
.ag-client-work--standalone { padding-top: 160px; }
.ag-section-header { max-width: 1000px; margin-bottom: clamp(44px, 6vw, 80px); }
.ag-eyebrow { margin: 0 0 30px; font-family: "Incise Medium", sans-serif; font-size: 24px; }
.ag-eyebrow::before { content: "// "; color: #e84610; }
.ag-section-title { margin: 0; font-family: "Incise Medium", sans-serif; font-size: clamp(40px, 5.8vw, 78px); font-weight: 500; line-height: 1.05; text-wrap: balance; }
.ag-section-body { max-width: 680px; margin: 28px 0 0; font-family: "Incise Light", sans-serif; font-size: clamp(19px, 2vw, 25px); line-height: 1.35; }
.ag-demo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: center; padding: 52px 0; border-top: 1px solid #d0cdc8; }
.ag-demo:last-child { padding-bottom: 0; }
.ag-demo-number { color: #e84610; font-family: "Incise Medium", sans-serif; font-size: 18px; }
.ag-demo h3 { margin: 20px 0; font-family: "Incise Medium", sans-serif; font-size: clamp(30px, 3.4vw, 48px); font-weight: 500; line-height: 1.06; }
.ag-demo-copy > p { max-width: 46ch; margin: 0 0 30px; font-family: "Incise Light", sans-serif; font-size: 20px; line-height: 1.4; }
.ag-text-link { display: inline-block; min-height: 44px; padding: 10px 0; color: #bf330b; font-family: "Incise Medium", sans-serif; font-size: 19px; line-height: 1.3; text-underline-offset: 5px; }
a.ag-text-link:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid #c53c10; outline-offset: 5px; }
.ag-demo-visual { padding: clamp(18px, 3.2vw, 44px); background: #dedad4; overflow: hidden; }
.ag-demo-window { border: 1px solid #c6c1b9; background: #f9f8f6; box-shadow: 0 12px 24px rgb(47 42 32 / 7%); }
.ag-demo-window-top { display: flex; gap: 5px; padding: 13px; border-bottom: 1px solid #dedad4; }
.ag-demo-window-top span { width: 5px; height: 5px; border-radius: 50%; background: #b6b0a8; }
.ag-demo-canvas { padding: 22px; }
.ag-demo-canvas-title { margin-bottom: 22px; font-family: "Incise Medium", sans-serif; font-size: 16px; }
.ag-demo-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; min-height: 196px; }
.ag-demo-column-label { padding-bottom: 10px; color: #a9472b; font-family: monospace; font-size: 12px; }
.ag-demo-ticket { position: relative; margin-bottom: 10px; padding: 14px 10px 24px; background: #ebe7e1; border-left: 2px solid #e84610; }
.ag-demo-ticket-line { display: block; height: 4px; background: #b6ada0; margin-bottom: 6px; }
.ag-demo-ticket-line--short { width: 60%; background: #cdc5b9; }
.ag-demo-ticket-dot { position: absolute; bottom: 8px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #d77555; }
.ag-demo-visual--internal-systems .ag-demo-column { padding-top: 12px; }
.ag-demo-visual--internal-systems .ag-demo-column:nth-child(2) { padding-top: 46px; }
.ag-demo-visual--internal-systems .ag-demo-column:nth-child(3) { padding-top: 80px; }
.ag-demo-visual--data-management .ag-demo-columns { gap: 1px; background: #d7d1c8; }
.ag-demo-visual--data-management .ag-demo-column { padding: 10px; background: #f9f8f6; }
.ag-demo-visual--data-management .ag-demo-ticket { border-left: 0; min-height: 27px; padding: 10px 0; background: transparent; border-top: 1px solid #ddd7cd; }
.ag-demo-visual--data-management .ag-demo-ticket-dot { display: none; }
.ag-client-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 32px; }
.ag-project { min-width: 0; text-decoration: none; color: inherit; }
.ag-project-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 11; padding: 28px; background: #e6e2dc; overflow: hidden; }
.ag-project-media img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 250ms ease; }
.ag-project:hover img { transform: scale(1.015); }
.ag-project-media--logo { padding: 12%; background: #fff; }
.ag-project-media--screen img { max-height: 340px; width: auto; max-width: 100%; }
.ag-project--zinfo .ag-project-media { background: #e4e8ed; }
.ag-project--buki .ag-project-media { background: #e8e4dc; }
.ag-project-meta { padding-top: 24px; }
.ag-project-media-note { margin: 14px 0 0; color: #6a6259; font-size: 15px; line-height: 1.4; }
.ag-project-meta h3 { margin: 0; color: #c73d12; font-family: "Incise Medium", sans-serif; font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; line-height: 1.1; }
.ag-project-meta p { max-width: 48ch; margin: 16px 0; font-family: "Incise Light", sans-serif; font-size: 20px; line-height: 1.4; }
.ag-project-domain { display: block; color: #645d55; font-size: 14px; }
@media (max-width: 767px) {
  .ag-section-title { font-size: clamp(32px, 8vw, 40px); overflow-wrap: anywhere; }
  .ag-eyebrow { font-size: 20px; margin-bottom: 22px; }
  .ag-demo { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 34px 0; }
  .ag-demo-copy > p, .ag-project-meta p { font-size: 18px; }
  .ag-demo-canvas { padding: 16px; }
  .ag-demo-columns { min-height: 160px; gap: 8px; }
  .ag-demo-ticket { padding: 12px 8px 22px; }
  .ag-client-work-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .ag-project-media { aspect-ratio: 4 / 3; }
  .ag-project-media--screen img { max-height: 260px; }
}
@media (prefers-reduced-motion: reduce) { .ag-project-media img { transition: none; } }

/* Real product captures link to the matching case study in the same locale. */
.ag-project-media--capture { padding: 0; aspect-ratio: 3 / 2; }
.ag-project-media--capture img { object-fit: cover; }
.ag-project-category { display: block; margin-bottom: 12px; color: #6a6259; font-size: 14px; line-height: 1.4; }
.ag-project-meta h3 { text-wrap: balance; }

/* News covers keep their original social-card ratio. */
.ag-insight-media { padding: 0; aspect-ratio: 1200 / 630; }
.ag-insight-media img { object-fit: contain; }
.ag-insights-approaches { padding-bottom: 0; }
.ag-news-date { display: block; margin: 12px 0; color: #6a6259; font-size: 14px; }
.ag-news-tools { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 16px; }

/* Long documents must be readable before JavaScript runs. The legacy entrance
   observer waits for 10% of the whole text block, which may never fit inside a
   short viewport. Keep this shared text module visible without an observer. */
.full_width_text .content,
.full_width_text .content.animate-in {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Legal text remains readable without scripts and on narrow screens. */
.full_width_text .content .ag-policy-title { font-size: clamp(34px, 5vw, 72px); line-height: 1.15; overflow-wrap: anywhere; }
.full_width_text .content .ag-policy-heading { font-size: clamp(26px, 3vw, 38px); line-height: 1.3; overflow-wrap: anywhere; }
.full_width_text .content:has(.ag-policy-title) { overflow-wrap: anywhere; }
.ag-policy-updated { color: #645d55; }
@media (max-width: 767px) {
  .full_width_text .content .ag-policy-title { font-size: clamp(26px, 7vw, 34px); }
  .full_width_text .content .ag-policy-heading { font-size: 24px; }
  .full_width_text .content:has(.ag-policy-title) p,
  .full_width_text .content:has(.ag-policy-title) li { font-size: 18px; line-height: 1.6; }
}
