/* Loaded only by the public homepage. */
.ag-homepage-refresh {
  --ag-navy: #102f43;
  --ag-ink: #183749;
  --ag-muted: #506675;
  --ag-paper: #f3f7f8;
  --ag-line: #d9e3e7;
  --ag-blue: #1c75bc;
  --ag-mint: #a5e5dc;
  font-family: Inter, "Avenir Next", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ag-homepage-refresh :is(h1, h2, h3) {
  font-family: inherit;
  font-weight: 650;
  letter-spacing: -.048em;
}

.ag-homepage-refresh .ag-shell {
  width: min(1240px, calc(100% - clamp(40px, 9vw, 128px)));
}

.ag-homepage-refresh .ag-home-nav {
  min-height: 82px;
}

.ag-homepage-refresh .ag-home-nav-links,
.ag-homepage-refresh .ag-button-small {
  font-size: 15px;
}

.ag-homepage-refresh .ag-button {
  background: var(--ag-blue);
  border-color: var(--ag-blue);
  border-radius: 999px;
  font-weight: 600;
}

.ag-homepage-refresh .ag-button:hover {
  background: #145f9c;
  border-color: #145f9c;
}

.ag-feature {
  padding: clamp(12px, 1.6vw, 24px);
}

.ag-feature-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  max-width: 1600px;
  min-height: clamp(440px, 40vw, 600px);
  margin: auto;
  overflow: hidden;
  border-radius: 22px;
  background: radial-gradient(ellipse at 28% 110%, #155357 0, transparent 60%), #102f43;
}

.ag-feature-copy {
  position: relative;
  z-index: 1;
  width: 51%;
  padding: clamp(34px, 5.3vw, 84px);
  padding-right: 0;
}

.ag-homepage-refresh .ag-feature-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #d7f5ee;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.ag-feature-category::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--ag-mint);
}

.ag-feature h1 {
  color: white;
  font-size: clamp(46px, 5.4vw, 88px);
  line-height: 1.06;
}

.ag-feature h1 em {
  color: var(--ag-mint);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.045em;
}

.ag-homepage-refresh .ag-feature-intro {
  max-width: 38ch;
  margin: 22px 0 30px;
  color: #edf6f7;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.6;
}

.ag-feature-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 26px;
}

.ag-feature-actions .ag-button {
  min-height: 52px;
  gap: 17px;
  font-size: 16px;
}

.ag-homepage-refresh .ag-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: white;
  font-size: 16px;
  font-weight: 550;
}

.ag-feature-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* The angled seam echoes the diagonal in the AnyGlance monogram. */
.ag-feature-panel::before,
.ag-feature-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 50%;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.ag-feature-panel::before {
  content: "";
  width: 51.3%;
  background: var(--ag-mint);
}

.ag-feature-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 50%;
}

.ag-sector-band {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 46px;
  padding: 20px 0 30px;
  border-bottom: 1px solid var(--ag-line);
}

.ag-sector-band p {
  color: var(--ag-muted);
  font-size: 15px;
}

.ag-sector-band ul {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ag-sector-band li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 550;
}

.ag-sector-band li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #328779;
}

.ag-homepage-refresh .ag-section {
  padding-block: clamp(58px, 6.6vw, 104px);
  scroll-margin-top: 82px;
}

.ag-homepage-refresh .ag-section h2 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
}

.ag-pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.ag-homepage-refresh .ag-pathway {
  --path-accent: #1a6597;
  display: flex;
  align-items: start;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 40px);
  background: #eaf3fa;
  border: 1px solid transparent;
  border-radius: 16px;
}

.ag-homepage-refresh .ag-pathway-candidate {
  --path-accent: #226658;
  background: #e7f4ed;
}

.ag-homepage-refresh .ag-pathway-supplier {
  --path-accent: #845630;
  background: #f7efe4;
}

.ag-pathway-icon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 14px;
  background: #ffffffbd;
  color: var(--path-accent);
  font-size: 25px;
}

.ag-pathway h3 {
  margin-block: 26px 10px;
  font-size: clamp(25px, 2.3vw, 33px);
}

.ag-pathway p {
  max-width: 30ch;
  color: #374f5e;
  font-size: 17px;
  line-height: 1.55;
}

.ag-pathway-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  gap: 12px;
  margin-top: auto;
  padding-top: 27px;
  color: var(--path-accent);
  font-size: 16px;
  font-weight: 650;
}

.ag-pathway-action span {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.ag-homepage-refresh .ag-pathway:is(:hover, :focus-visible) {
  border-color: var(--path-accent);
}

.ag-pathway:is(:hover, :focus-visible) .ag-pathway-action span {
  color: white;
  background: var(--path-accent);
}

.ag-homepage-refresh .ag-heading-row > p,
.ag-homepage-refresh .ag-solution > p,
.ag-homepage-refresh .ag-about-description,
.ag-homepage-refresh .ag-contact-copy > p:not(.ag-eyebrow) {
  font-size: 18px;
  line-height: 1.65;
}

.ag-homepage-refresh .ag-solution {
  padding: clamp(26px, 3.2vw, 50px);
  border-radius: 16px;
}

.ag-homepage-refresh .ag-solution-top {
  margin-bottom: 26px;
}

.ag-homepage-refresh .ag-solution-abbreviation {
  font-size: 16px;
  border-radius: 99px;
}

.ag-homepage-refresh .ag-solution h3 {
  font-size: clamp(30px, 3.2vw, 46px);
}

.ag-homepage-refresh .ag-solution :is(ul, li),
.ag-homepage-refresh .ag-solution .ag-text-link,
.ag-homepage-refresh .ag-principles p {
  font-size: 16px;
}

.ag-homepage-refresh .ag-about figure img {
  border-radius: 16px;
}

.ag-homepage-refresh .ag-principles strong {
  font-size: 19px;
}

.ag-homepage-refresh .ag-contact-grid {
  align-items: start;
}

.ag-homepage-refresh .ag-contact-copy h2 {
  max-width: 13ch;
  color: white;
}

.ag-homepage-refresh .ag-contact-details span,
.ag-homepage-refresh .ag-contact-form > p,
.ag-homepage-refresh .ag-contact-form .form-label {
  font-size: 15px;
}

.ag-homepage-refresh .ag-contact-details a {
  font-size: 24px;
}

.ag-homepage-refresh .ag-contact-form {
  border-radius: 18px;
  padding: clamp(22px, 3vw, 42px);
  box-shadow: 0 12px 36px #0c34501c;
}

.ag-homepage-refresh .ag-contact-form h3 {
  font-size: 30px;
}

.ag-homepage-refresh .ag-contact-form .form-group {
  margin: 0 0 20px;
}

.ag-homepage-refresh .ag-contact-form .form-control {
  height: 52px;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
}

.ag-homepage-refresh .ag-contact-form .form-control::placeholder {
  font-size: 14px;
  color: #647580;
}

.ag-homepage-refresh .ag-contact-form textarea.form-control {
  min-height: 120px;
}

.ag-homepage-refresh .ag-contact-form .ag-consent,
.ag-homepage-refresh .ag-contact-form .ag-form-status,
.ag-homepage-refresh .ag-footer-preferences,
.ag-homepage-refresh .ag-footer-bottom {
  font-size: 14px;
}

.ag-homepage-refresh .footer .ag-footer-links a,
.ag-homepage-refresh .ag-footer-contact {
  font-size: 16px;
}

.ag-homepage-refresh .ag-footer-tagline {
  font-size: 19px;
}

@media (max-width: 1040px) {
  .ag-homepage-refresh .ag-home-nav {
    min-height: 76px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
  }
  .ag-homepage-refresh .ag-menu-toggle { display: block; }
  .ag-homepage-refresh .ag-home-nav-links {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 20px;
  }
  .ag-homepage-refresh .ag-home-nav-links.collapse:not(.show) { display: none !important; }
  .ag-homepage-refresh .ag-home-nav-links > a { padding-block: 11px; }
  .ag-homepage-refresh .ag-nav-actions {
    flex-direction: column;
    align-items: start;
    gap: 16px;
    margin: 8px 0 0;
  }
  .ag-feature-copy { padding-left: 30px; }
  .ag-feature h1 { font-size: clamp(42px, 5.6vw, 58px); }
  .ag-feature-actions { gap: 10px 18px; }
  .ag-sector-band { display: block; }
  .ag-sector-band ul { justify-content: start; margin-top: 10px; }
}

@media (max-width: 760px) {
  .ag-feature-panel { min-height: 0; }
  .ag-feature-copy {
    width: 100%;
    padding: 34px clamp(22px, 5vw, 42px) 27px;
  }
  .ag-feature h1 { font-size: clamp(44px, 8.5vw, 64px); }
  .ag-homepage-refresh .ag-feature-intro { margin-block: 16px 20px; }
  .ag-feature-panel::before { display: none; }
  .ag-feature-photo {
    position: static;
    width: 100%;
    height: clamp(180px, 50vw, 280px);
    border-top: 4px solid var(--ag-mint);
    clip-path: none;
  }
  .ag-feature-photo img { object-position: center 44%; }
  .ag-pathway-grid, .ag-homepage-refresh .ag-solutions-grid,
  .ag-homepage-refresh .ag-about-grid, .ag-homepage-refresh .ag-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ag-homepage-refresh .ag-heading-row { display: block; }
  .ag-homepage-refresh .ag-heading-row > p { margin-top: 16px; max-width: 42ch; }
  .ag-homepage-refresh .ag-about figure img { height: 310px; }
  .ag-homepage-refresh .ag-pathway {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 7px 16px;
    padding: 22px;
  }
  .ag-pathway-icon { grid-row: 1 / 3; width: 45px; height: 45px; }
  .ag-pathway h3 { margin: 0; }
  .ag-pathway p { grid-column: 2; font-size: 16px; }
  .ag-pathway-action { grid-column: 2; width: 100%; padding-top: 8px; }
}
