@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root { --ag-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --ag-head: "Inter Tight", "Inter", system-ui, sans-serif; --ag-ws: .04em; --ag-brand: #4A5DA9; --ag-teal: #0CBABA; --ag-stock: url("/wp-content/uploads/2022/10/AdobeStock_504529612-scaled.jpg"); }
html { scroll-behavior: smooth; }
h1, h2, h3, h4, h5, .ag-phrases .ag-slide { font-family: var(--ag-head); }
body { margin: 0; color: #000; font-family: var(--ag-font); font-size: 16px; line-height: 1.5; }
[id] { scroll-margin-top: 110px; }
.ag-wrap { box-sizing: border-box; width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 10px; }
.ag-rule.wp-block-separator { border: 0; border-top: 2px solid #fff; opacity: 1; width: 100%; margin: 15px 0; }

/* Hidden until a keyboard user tabs to it. */
.ag-skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 16px; background: #fff; color: var(--ag-brand); }
.ag-skip:focus { top: 8px; }

/* Header */
.ag-site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0); z-index: 50; }
.ag-header { background: #fff; border-bottom: .5px solid #414141; }
.ag-header__row { display: flex; align-items: center; gap: 20px; min-height: 10vh; padding-inline: 0; }
.ag-logo { margin: 0; flex: 0 0 auto; }
.ag-logo img { display: block; width: 251px; max-width: 100%; height: auto; }
.ag-nav { flex: 1 1 auto; font-size: 24px; text-transform: uppercase; color: #414141; }
.ag-nav .wp-block-navigation__container { gap: 52px; }
.ag-nav a:hover, .ag-nav a:focus, .ag-nav a.is-current { color: var(--ag-brand); }
.ag-btn .wp-block-button__link { display: inline-block; box-sizing: border-box; min-width: 226px; padding: 12px 20px; border: 2px solid var(--ag-brand); border-radius: 0; background: var(--ag-brand); color: #fff; font-size: 16px; font-weight: 400; letter-spacing: .08em; text-align: center; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s; }
.ag-btn .wp-block-button__link:hover, .ag-btn .wp-block-button__link:focus { background: #fff; color: var(--ag-brand); }

/* Sections */
.ag-hero { position: relative; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; min-height: 40vh; background: #fff url("/wp-content/uploads/2022/10/topo2.png") center / cover; }
.ag-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: #fff; opacity: .72; }
.ag-hero > * { position: relative; z-index: 2; width: 100%; }
.ag-hero h1 { margin: 0 0 50px; font-size: 48px; font-weight: 600; line-height: 1.2; text-align: center; }
.ag-hero.has-topo { background: #fff; }
.ag-hero.has-topo::after { display: none; }
.ag-hero__topo { position: absolute !important; inset: 0; z-index: 0 !important; width: 100% !important; height: 100%; pointer-events: none; }
.ag-hero.has-topo h1 { text-shadow: 0 0 14px #fff, 0 0 6px #fff; }

.ag-intro { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 40vh; padding-block: 50px 20px; background: var(--ag-brand); color: #fff; text-align: center; }
.ag-intro__icon { margin: 0 0 20px; }
.ag-intro__icon img { display: block; width: min(20vw, 228px); height: auto; margin-inline: auto; }

.ag-rotator { display: grid; }
.ag-rotator > .ag-slide { grid-area: 1 / 1; }
.js .ag-rotator > .ag-slide { opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.js .ag-rotator > .ag-slide.is-active { opacity: 1; visibility: visible; }
.ag-phrases { width: 100%; min-height: 100px; align-items: center; }
.ag-phrases .ag-slide { margin: 0; font-size: 36px; font-weight: 400; line-height: 1.2; }

.ag-how { padding-block: 50px; background: #F0F0F0; }
.ag-how h2 { margin: 0 0 28px; font-size: clamp(32px, 9vw, 48px); font-weight: 600; line-height: 1.2; text-align: center; word-spacing: var(--ag-ws); }
.ag-how__cols { align-items: flex-start !important; gap: 40px; }
.ag-how__cols .wp-block-column:first-child { flex: 0 0 54.643% !important; padding: 30px 30px 30px 0; box-sizing: border-box; }
.ag-how__cols .wp-block-column:last-child { flex: 1 1 0 !important; min-width: 0; }
.ag-steps { --ag-line: 0; }
.ag-steps__bar { display: none; }
.ag-steps__panel { position: relative; box-sizing: border-box; font-size: 20px; }
.ag-steps__panel + .ag-steps__panel { margin-top: 28px; }
.ag-steps__panel h3 { margin: 0 0 12px; font-size: 32px; font-weight: 500; line-height: 1.2; }
.ag-steps__panel ul { margin: 0; padding-left: 22px; }
.ag-steps__panel li + li { margin-top: 16px; }
.js .ag-steps__bar { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 24px; }
.ag-steps__rail { position: relative; flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
/* Ticks along a line, like pipeline stationing. The stretch past the last tick counts down to the wrap. */
.ag-steps__rail::before, .ag-steps__fill { content: ""; position: absolute; top: 6px; left: 0; height: 2px; }
.ag-steps__rail::before { width: 100%; background: #b4b8c4; }
.ag-steps__fill { width: calc(100% * var(--ag-line)); background: var(--ag-brand); }
.ag-steps__tab { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 60px; padding: 0 8px 8px 0; border: 0; background: none; color: #5a5f6b; font: inherit; font-size: 24px; line-height: 1.2; text-align: left; cursor: pointer; touch-action: manipulation; }
.ag-steps__tab::before { content: ""; position: relative; z-index: 1; width: 2px; height: 14px; background: #7d8292; }
.ag-steps__tab:hover { color: #000; }
.ag-steps__tab:focus-visible, .ag-steps__toggle:focus-visible { outline: 3px solid var(--ag-brand); outline-offset: 2px; }
.ag-steps__tab[aria-selected="true"] { color: var(--ag-brand); font-weight: 600; }
.ag-steps__tab[aria-selected="true"]::before, .ag-steps__tab:has(~ [aria-selected="true"])::before { width: 3px; background: var(--ag-brand); }
.ag-steps__toggle { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -15px; padding: 0; border: 1px solid #7d8292; border-radius: 50%; background: none; color: var(--ag-brand); cursor: pointer; }
.ag-steps__toggle:hover { background: #e2e4ea; }
.ag-steps__toggle svg { fill: currentColor; }
.ag-steps__play, .is-stopped .ag-steps__pause { display: none; }
.is-stopped .ag-steps__play { display: inline; }
.is-calm .ag-steps__toggle { display: none; }
.js .ag-steps__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.js .ag-steps__track::-webkit-scrollbar { display: none; }
.js .ag-steps__panel { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.js .ag-steps__panel h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .js .ag-steps__panel { opacity: 1; transition: opacity .3s; }
  .js .ag-steps__panel[aria-hidden="true"] { opacity: 0; transition: none; }
}
.ag-how__cols .wp-block-column:first-child { min-width: 0; }
.ag-how__cols img { display: block; width: 100%; height: auto; }

.ag-band { padding-block: 40px; background: linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.8)), var(--ag-stock) center / cover no-repeat; }

.ag-partner { padding-block: 40px; background: #F0F0F0; }
.ag-partner h2 { margin: 0 0 40px; font-size: 48px; font-weight: 600; line-height: 1.2; text-align: center; text-transform: uppercase; word-spacing: var(--ag-ws); }
.ag-partner__cols { align-items: center !important; gap: 20px; margin-bottom: 40px; font-size: 20px; line-height: 1.5; text-align: center; }
.ag-partner__cols img { display: block; width: 100%; height: auto; }
.ag-partner__cols p { margin: 0 0 20px; }
.ag-outline { display: flex; justify-content: center; }
.ag-outline .wp-block-button__link { padding: 12px 24px; border: 2px solid var(--ag-brand); border-radius: 0; background: transparent; color: var(--ag-brand); font-size: 15px; font-weight: 500; text-decoration: none; }
.ag-outline .wp-block-button__link:hover { background: var(--ag-brand); color: #fff; }
.ag-morenews { padding: 15px 20px; background: var(--ag-brand); }
.ag-morenews h4 { margin: 0; color: #fff; font-size: 32px; font-weight: 600; text-transform: uppercase; word-spacing: var(--ag-ws); }
.ag-news ul { margin: 0; padding: 0; list-style: none; }
.ag-news li { margin-top: 40px; }
.ag-news h5 { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.2; }
.ag-news a { color: var(--ag-brand); text-decoration: underline; }

.ag-news__more { margin-top: 40px; }

/* News archive */
.ag-archive { padding-block: 24px 40px; }
.ag-archive ul { margin: 0; padding: 0; list-style: none; }
.ag-archive li { padding-block: 28px; border-top: 1px solid #cfd2da; }
.ag-archive li:first-child { border-top: 0; }
.ag-archive time { display: block; margin-bottom: 6px; color: #5a5f6b; font-size: 16px; }
.ag-archive h2 { margin: 0 0 8px; font-size: 26px; font-weight: 600; line-height: 1.25; }
.ag-archive h2 a { color: var(--ag-brand); text-decoration: none; }
.ag-archive h2 a:hover, .ag-archive h2 a:focus-visible { text-decoration: underline; }
.ag-archive p { margin: 0; font-size: 18px; line-height: 1.6; }

/* Article */
.ag-article { padding-block: 40px; }
.ag-article__excerpt { margin-bottom: 20px; font-size: 24px; font-weight: 600; }
.ag-article__excerpt p { margin: 0; }
.ag-article__body { font-size: 18px; line-height: 2; }
.ag-article__body img { box-sizing: border-box; width: 100%; height: auto; margin: 0; padding-inline: 5%; }
.ag-article__body a { color: var(--ag-brand); }
.ag-article__body figure { margin: 0 0 20px; }
.ag-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 20px; }
.ag-figs figure { margin: 0; }
.ag-figs img { padding-inline: 0; }
.ag-article__body h2 { margin: 28px 0 12px; font-size: 28px; font-weight: 600; line-height: 1.25; }
.ag-article__body ul { margin: 0 0 20px; }

/* Demo form */
.ag-demo { margin-top: 20px; padding-block: 70px; background: var(--ag-brand); color: #fff; font-size: 20px; }
.ag-demo__cols { gap: 60px; padding-inline: 30px; }
.ag-demo__title { margin: 0; color: #fff; font-size: 54px; font-weight: 600; line-height: 1; text-transform: uppercase; word-spacing: var(--ag-ws); }
.ag-demo p { margin: 0; }
.lean-form { display: grid; gap: 16px; font-size: 14px; }
.lean-form label:not(.lean-form__trap label) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lean-form input, .lean-form textarea { box-sizing: border-box; width: 100%; padding: 8px 16px; border: 2px solid #fff; border-radius: 0; background: transparent; color: #fff; font: inherit; }
.lean-form input::placeholder, .lean-form textarea::placeholder { color: #fff; opacity: .6; }
.lean-form input:focus-visible, .lean-form textarea:focus-visible, .lean-form button:focus-visible { outline: 2px solid var(--ag-teal); outline-offset: 2px; }
.lean-form button { justify-self: end; padding: 8px 24px; border: 2px solid #fff; border-radius: 0; background: var(--ag-brand); color: #fff; font: inherit; font-size: 16px; font-weight: 400; cursor: pointer; }
.lean-form button:hover { background: #fff; color: var(--ag-brand); }
.lean-form button[disabled] { opacity: .6; cursor: wait; }
.lean-form__trap { position: absolute !important; left: -9999px; }
.lean-form__status { font-weight: 600; }
.lean-form__status:empty { display: none; }
.lean-form__status.is-error { color: #DACC3E; }

/* Footer */
.ag-foot { padding-block: 50px; background: linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.8)), #000 var(--ag-stock) center / cover no-repeat; color: #fff; font-size: 16px; }
.ag-foot h5 { margin: 0; color: #fff; font-size: 20px; font-weight: 400; text-transform: uppercase; }
.ag-foot .ag-rule { margin: 20px 0; }
.ag-foot a { color: #fff; text-decoration: none; }
.ag-foot p { margin: 0 0 20px; line-height: 1.2; }
.ag-foot__cols { gap: 80px; padding-inline: 0; }
.ag-foot__logo { margin: 0 0 20px; }
.ag-foot__logo img { display: block; width: 100%; height: auto; }
.ag-foot__links { margin: 0; padding: 0; list-style: none; }
.ag-foot__links li { margin-bottom: 6px; }
.ag-foot__cols > .wp-block-column:nth-child(2) { text-align: center; }
.ag-foot__cols > .wp-block-column:nth-child(3) { text-align: right; }
.ag-social { justify-content: flex-end; color: #fff; }
.ag-social .wp-social-link { color: #fff; font-size: 44px; }
.ag-social .wp-social-link svg { width: 44px; height: 44px; }

/* The old site has no menu below desktop width: logo and button on tablets, logo alone on phones. */
@media (max-width: 1024px) {
  .ag-header__row { justify-content: space-between; min-height: 8vh; padding: 10px 24px; }
  .ag-header .ag-nav { display: none; }
  .ag-demo__title { font-size: 35px; }
  .wp-block-post-title { font-size: 40px; }
  .ag-how__cols .wp-block-column:first-child { padding-right: 0; }
  .ag-foot__cols { gap: 40px; padding-inline: 20px; }
  .ag-article { padding-inline: 48px; }
  .ag-archive { padding-inline: 48px; }
}
@media (max-width: 767px) {
  .ag-header__row { justify-content: space-between; gap: 12px; padding: 10px 16px; }
  .ag-logo img { width: 160px; }
  .ag-hero h1 { margin-top: 28px; }
  .ag-header .ag-btn .wp-block-button__link { min-width: 0; min-height: 44px; padding: 12px 14px; font-size: 13px; white-space: nowrap; }
  .ag-hero { min-height: 42vh; }
  .wp-block-post-title { font-size: 30px; }
  .ag-demo__title { font-size: 30px; }
  .ag-demo__cols { padding-inline: 30px; }
  .ag-demo__cols > .wp-block-column:first-child { flex: 1 1 100% !important; }
  .ag-how__cols { flex-wrap: wrap !important; }
  .js .ag-steps__panel { font-size: 18px; }
  .ag-steps__tab { font-size: 19px; }
  .ag-how__cols .wp-block-column:first-child, .ag-how__cols .wp-block-column:last-child { flex: 1 1 100% !important; }
  .ag-foot__cols { padding-inline: 50px; }
  .ag-foot__cols > .wp-block-column:nth-child(n) { text-align: center; }
  .ag-foot__logo img { width: 270px; max-width: 100%; margin-inline: auto; }
  .ag-social { justify-content: center; }
  .ag-article { padding: 40px 20px; }
  .ag-archive { padding-inline: 20px; }
  .ag-figs { grid-template-columns: 1fr; }
  .ag-archive h2 { font-size: 22px; }
}
@media (max-width: 360px) {
  .ag-logo img { width: 124px; }
  .ag-header .ag-btn .wp-block-button__link { padding: 12px 10px; font-size: 12px; letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .ag-rotator > .ag-slide { transition: none; }
}
main:focus { outline: 0; }
