:root {
  --navy: #06264A;
  --deep: #031B36;
  --blue: #0756A5;
  --cyan: #17B9E8;
  --gold: #087FE5;
  --gold-2: #17B9E8;
  --ink: #17243A;
  --muted: #63738A;
  --light: #F5F8FC;
  --line: #e3ebf5;
  --wrap: 1180px;
}
body.corp { color: var(--ink); background: #fff; }
body.corp h1 { font-size: clamp(2rem, 4vw, 3.35rem); color: #fff; }
body.corp .ag-hero h1, body.corp .ag-page-hero h1, body.corp .page-hero h1 { color: #fff; }
body.corp .ag-section h2, body.corp .ag-why h2, body.corp .section h2 { color: var(--navy); }

.ag-chrome { position: sticky; top: 0; z-index: 61; }
.ag-top { position: static; background: var(--deep); color: #fff; font-size: .75rem; }
.ag-live {
  overflow: hidden; background: #0756A5; color: #fff; height: 34px;
  display: flex; align-items: center;
}
.ag-live-track { display: flex; width: max-content; animation: ag-live 32s linear infinite; }
.ag-live:hover .ag-live-track { animation-play-state: paused; }
.ag-live-track p {
  margin: 0; padding-right: 3.5rem; white-space: nowrap;
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
}
.ag-live-track strong { font-weight: 800; }
.ag-live-track a { color: #ffe08a; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; margin-left: .35rem; }
@keyframes ag-live { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ag-live-track { animation: none; }
}
body.corp .site-header { position: relative; top: auto; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); backdrop-filter: none; }
body.corp .site-header.is-scrolled { box-shadow: 0 8px 24px rgba(6, 38, 74, .08); }
.ag-top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; }
.ag-top a, .ag-top span { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.ag-top-address { margin-right: auto; white-space: nowrap; }
.ag-top-reach { display: inline-flex; align-items: center; gap: .9rem; margin-left: auto; white-space: nowrap; }
.ag-top-label { font-weight: 700; letter-spacing: .04em; }
.ag-top .icon { width: 14px; height: 14px; }
body.corp .brand { color: var(--navy); }
body.corp .site-header .brand-logo { height: auto; width: 156px; max-width: 42vw; }
body.corp .brand-mark { background: var(--blue); color: #fff; }
body.corp .brand-text small { color: #5d7290; }
body.corp .site-nav > a, body.corp .nav-drop summary { color: var(--navy); font-weight: 600; font-size: .9rem; }
body.corp .nav-drop summary:after { border-top-color: var(--navy); }
body.corp .site-nav > a.is-active, body.corp .nav-drop summary.is-active { color: var(--blue); }
body.corp .nav-toggle { color: var(--navy); }
body.corp .desk-cta, body.corp .mobile-cta, body.corp .btn-gold, body.corp .ag-btn {
  background: var(--gold); color: #fff; border: 0; border-radius: 8px; text-transform: none; letter-spacing: 0;
}
.ag-btn-ghost { background: #fff !important; color: var(--blue) !important; border: 1.5px solid #c5d9f2 !important; }
.nav-search { display: inline-flex; color: var(--navy); }

body.corp .nav-panel.mega {
  left: 0; right: 0; width: auto; transform: none; border-radius: 0;
  padding: .35rem 0 .2rem; background: #fff; box-shadow: 0 18px 40px rgba(6, 38, 74, .1);
}
body.corp .mega-clean {
  width: min(var(--wrap), calc(100% - 2rem)); margin: 0 auto;
  display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 1.15rem; padding: 1.15rem 0 1.25rem;
}
body.corp .mega-intro {
  background: #10213f; color: #fff; border-radius: 16px; padding: 1.15rem 1rem;
  display: grid; align-content: start; gap: .55rem;
}
body.corp .mega-intro .mega-kicker { color: #e7c56a; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; font-weight: 800; margin: 0; }
body.corp .mega-intro strong { color: #fff; font-size: 1.2rem; line-height: 1.35; }
body.corp .mega-intro a { color: #e7c56a; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; }
body.corp .mega-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-content: start; }
body.corp .mega-cards--core { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.corp .mega-cards a {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: .8rem; align-items: center;
  min-height: 0; padding: 1.05rem 1.15rem; border: 1px solid #e6eef8; border-radius: 14px;
  background: #fff; text-decoration: none; color: #10213f;
}
body.corp .mega-cards a:hover { border-color: #c4b5fd; background: #faf8ff; }
body.corp .mega-cards a.is-featured {
  border-color: #b9a6ff;
  background: linear-gradient(160deg, #f6f2ff 0%, #ffffff 70%);
  box-shadow: 0 10px 28px rgba(91, 76, 219, .12);
}
body.corp .mega-cards .mega-ico { width: 36px; height: 36px; }
body.corp .mega-cards strong { display: block; font-size: 1rem; line-height: 1.3; }
body.corp .mega-cards small { display: block; margin-top: .28rem; color: #63738a; font-size: .9rem; line-height: 1.45; }
.topic-sheet { width: min(820px, 100%); }
.topic-block { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.topic-block h2 { margin: 0 0 .4rem; color: var(--navy); font-size: 1.25rem; }
.topic-block p { margin: 0; color: #3d4d63; font-size: 1.02rem; line-height: 1.6; }
.topic-action { margin: 1.4rem 0 0; }
.dir-groups { display: grid; gap: 1.4rem; }
.dir-group h2 { margin: 0 0 .7rem; color: #10213f; }
.dir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.dir-grid a {
  display: grid; gap: .2rem; min-height: 72px; padding: .8rem .9rem; border: 1px solid #e6eef8;
  border-radius: 14px; text-decoration: none; background: #fff;
}
.dir-grid strong { color: #10213f; }
.dir-grid span { color: #63738a; font-size: .86rem; line-height: 1.4; }
body.corp .mega-grid { width: min(var(--wrap), calc(100% - 2rem)); grid-template-columns: repeat(3, minmax(0, 1fr)); padding: .7rem 0 .2rem; max-height: 68vh; overflow: auto; align-items: start; }
body.corp .mega-kicker { color: var(--muted); font-size: .72rem; letter-spacing: .04em; }
body.corp .mega-item {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) 16px; gap: .55rem; align-items: center;
  padding: .4rem .35rem;
}
body.corp .mega-copy { display: grid; gap: .08rem; min-width: 0; }
body.corp .mega-copy strong { font-size: .9rem; color: var(--navy); }
body.corp .mega-copy small { color: var(--muted); font-size: .76rem; line-height: 1.35; }
body.corp .mega-ico, body.corp .mega-go { display: grid; place-items: center; color: var(--gold); }
body.corp .mega-ico { width: 32px; height: 32px; border-radius: 8px; background: var(--light); }
body.corp .mega-ico .icon { width: 16px; height: 16px; }
body.corp .mega-item:hover { background: var(--light); }
body.corp .mega-item:hover strong { color: var(--blue); }
body.corp .mega-col a.mega-more {
  display: inline-flex; width: auto; margin: .15rem 0 .45rem 2.55rem; padding: 0;
  color: var(--blue); font-weight: 700; font-size: .8rem; background: transparent;
}
body.corp .mega-foot { background: #f4f8fc; border-top: 1px solid var(--line); margin-top: .35rem; }
body.corp .mega-foot-inner {
  width: min(var(--wrap), calc(100% - 2rem)); margin: 0 auto; padding: .85rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
}
body.corp .mega-foot p { margin: 0; color: var(--navy); font-weight: 700; }
body.corp .mega-foot .btn { border-radius: 8px; padding: .6rem .9rem; }

.ag-hero { background: radial-gradient(900px 280px at 85% 0%, rgba(23,185,232,.22), transparent 60%), linear-gradient(105deg, #041833 0%, #06264A 48%, #0756A5 100%); color: #fff; padding: 3rem 0 3.2rem; overflow: hidden; }
.ag-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.15rem; align-items: center; }
.ag-kicker { color: #9fd8ff; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .45rem; }
.ag-kicker.light { color: #8ecfff; }
body.corp .ag-hero h1 { margin: 0 0 .65rem; max-width: 16em; font-size: clamp(2rem, 3.1vw, 3rem); line-height: 1.08; }
.ag-hero h1 em { font-style: normal; color: var(--cyan); }
.ag-hero-copy p { color: #d5e4f5; max-width: 36rem; font-size: .95rem; margin: 0; }
.ag-chips { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: .75rem 0 .85rem; padding: 0; }
.ag-chips li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: .2rem .55rem; font-size: .7rem; font-weight: 700; }
.ag-hero .cta-row { gap: .5rem; }
.ag-hero .ag-btn { padding: .65rem 1rem; font-size: .9rem; }
.ag-hero-visual img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: 16px; box-shadow: 0 18px 48px rgba(0,0,0,.32), 0 0 0 1px rgba(23,185,232,.35); }
.ag-kicker-line { display: flex; align-items: center; gap: .55rem; color: var(--blue); }
.ag-kicker-line:before { content: ""; width: 22px; height: 2px; background: currentColor; flex: none; }
.ag-values { background: #fff; border-bottom: 1px solid var(--line); }
.ag-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ag-values article { display: grid; grid-template-columns: 44px 1fr; column-gap: .75rem; row-gap: .1rem; align-items: center; padding: 1.15rem 1rem; border-right: 1px solid var(--line); }
.ag-values article:last-child { border-right: 0; }
.ag-values span { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: #e7f2ff; color: var(--blue); display: grid; place-items: center; }
.ag-values h2, .ag-card h3 { font-size: .95rem; color: var(--navy); margin: 0; }
.ag-values p, .ag-card p { color: var(--muted); font-size: .82rem; margin: 0; line-height: 1.4; }
.ag-section { padding: 2.6rem 0; }
.ag-section-soft { background: #f7fafd; }
.ag-section-head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin: .2rem 0 1.1rem; }
.ag-section-head h2 { margin: 0; }
.ag-section-head p, .ag-lead { color: var(--muted); max-width: 34rem; margin: 0; }
.ag-services, .ag-products { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.ag-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ag-card { background: #fff; border: 1px solid #e6eef8; border-radius: 14px; padding: .9rem .9rem .75rem; box-shadow: 0 8px 22px rgba(6, 38, 74, .04); display: flex; flex-direction: column; gap: .4rem; min-height: 100%; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.ag-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(8, 127, 229, .12); }
.ag-card-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #e7f2ff; color: #087FE5; }
.ag-services .ag-card:nth-child(5n+2) .ag-card-icon, .ag-products .ag-card:nth-child(2) .ag-card-icon { background: #efeaff; color: #5b4cdb; }
.ag-services .ag-card:nth-child(5n+3) .ag-card-icon, .ag-products .ag-card:nth-child(3) .ag-card-icon { background: #e6f8f4; color: #0d8a78; }
.ag-services .ag-card:nth-child(5n+4) .ag-card-icon, .ag-products .ag-card:nth-child(4) .ag-card-icon { background: #e7f7ff; color: #087FE5; }
.ag-services .ag-card:nth-child(5n+5) .ag-card-icon { background: #eef3fb; color: #0756A5; }
.ag-card-go { margin-top: auto; margin-left: auto; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #d7e4f4; display: grid; place-items: center; color: var(--blue); }

/* Homepage — Our Core Services (mock-matched) */
.ag-core-services {
  --core-purple: #6d28d9;
  --core-purple-soft: #f3e8ff;
  --core-ink: #0f172a;
  position: relative;
  overflow: hidden;
  padding: 3.2rem 0 3.4rem;
  background:
    radial-gradient(900px 220px at 50% -40px, rgba(109, 40, 217, .12), transparent 70%),
    linear-gradient(180deg, #faf8ff 0%, #ffffff 42%, #ffffff 100%);
}
.ag-core-services .wrap { width: min(1240px, calc(100% - 2rem)); }
.ag-core-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  margin: 0 0 .85rem;
  color: var(--core-purple);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ag-core-kicker:before,
.ag-core-kicker:after {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex: none;
}
.ag-core-head {
  display: block;
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 1.75rem;
}
.ag-core-head h2 {
  margin: 0 0 .7rem;
  color: var(--core-ink);
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -.02em;
}
.ag-core-head p {
  margin: 0 auto;
  max-width: 40rem;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
}
.ag-core-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.42fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.ag-core-card {
  position: relative;
  background: #fff;
  border: 1px solid #ece7f8;
  border-radius: 24px;
  padding: 1.35rem 1.1rem 1.25rem;
  box-shadow: 0 14px 34px rgba(30, 27, 75, .06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
  min-height: 100%;
  color: inherit;
}
.ag-core-card.is-featured {
  border: 1.5px solid #b794f6;
  background:
    radial-gradient(120% 80% at 50% 8%, rgba(196, 181, 253, .35), transparent 58%),
    linear-gradient(180deg, #f4edff 0%, #faf7ff 42%, #ffffff 100%);
  box-shadow:
    0 0 0 5px rgba(109, 40, 217, .05),
    0 24px 50px rgba(109, 40, 217, .18);
  transform: translateY(-12px);
  padding: 1.2rem 1.2rem 1.35rem;
  z-index: 1;
}
.ag-core-badge {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: linear-gradient(90deg, #7c3aed, #6d28d9);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .4rem .8rem;
  box-shadow: 0 8px 18px rgba(109, 40, 217, .28);
}
.ag-core-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
.ag-core-icon--img {
  width: 76px;
  height: 76px;
  border-radius: 22px;
}
.ag-core-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.ag-core-card h3 {
  margin: 0;
  color: #1e1b4b;
  font-size: 1.05rem;
  line-height: 1.28;
  font-weight: 800;
}
.ag-core-card.is-featured h3 {
  font-size: 1.2rem;
  text-align: center;
  padding: 0;
}
.ag-core-card > p {
  margin: 0;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.55;
}
.ag-core-card.is-featured > p { text-align: center; font-size: .92rem; }
.ag-core-caps {
  list-style: none;
  margin: .15rem 0 .15rem;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: .38rem;
  text-align: left;
}
.ag-core-caps--side {
  gap: .32rem;
}
.ag-core-caps--side li {
  font-size: .7rem;
  padding-left: 1rem;
}
.ag-core-caps--side li:before {
  width: .68rem;
  height: .68rem;
  top: .16rem;
  background-size: .48rem .48rem;
}
.ag-core-caps li {
  position: relative;
  padding-left: 1.15rem;
  color: #334155;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
}
.ag-core-caps li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .12rem;
  width: .78rem;
  height: .78rem;
  border-radius: 50%;
  background: var(--core-purple);
  box-shadow: inset 0 0 0 2px #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.2l2.2 2.2 4.8-4.8'/%3E%3C/svg%3E");
  background-size: .55rem .55rem;
  background-repeat: no-repeat;
  background-position: center;
}
.ag-core-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  align-self: center;
  min-height: 42px;
  padding: .5rem 1.15rem;
  border: 1.5px solid #c4b5fd;
  border-radius: 999px;
  background: #fff;
  color: var(--core-purple);
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  transition: background .2s ease, box-shadow .2s ease;
}
.ag-core-more:hover {
  background: #faf5ff;
  box-shadow: 0 8px 18px rgba(109, 40, 217, .1);
}
.ag-core-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 100%;
  min-height: 50px;
  padding: .75rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #6d28d9);
  color: #fff !important;
  font-weight: 800;
  font-size: .98rem;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(109, 40, 217, .3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ag-core-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(109, 40, 217, .36);
}
.ag-core-visual {
  display: grid;
  place-items: center;
  margin: .1rem 0 .15rem;
  min-height: 96px;
}
.ag-core-phones-img {
  width: min(100%, 150px);
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 20px rgba(109, 40, 217, .22));
}
.ag-status { color: var(--blue) !important; font-size: .72rem !important; font-weight: 700; }
.ag-sectors { background: linear-gradient(180deg, #06264A, #041e3c); color: #fff; padding: 2.4rem 0 2rem; }
.ag-sectors h2 { color: #fff; margin: .15rem 0 0; }
.ag-sector-row { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: .35rem; margin-top: 1.15rem; }
.ag-sector-row a { color: #fff; text-decoration: none; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; font-weight: 600; font-size: .75rem; line-height: 1.25; padding: .35rem .1rem; border-radius: 10px; }
.ag-sector-row a:hover { background: rgba(255,255,255,.08); }
.ag-sector-row .icon { width: 26px; height: 26px; color: #d7e8ff; }
.ag-why { display: grid; grid-template-columns: .95fr 1.15fr .78fr; gap: 1.25rem; align-items: center; }
.ag-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1rem; }
.ag-points li { display: grid; grid-template-columns: 22px 1fr; gap: .45rem; align-items: start; }
.ag-points strong { display: block; color: var(--navy); font-size: .92rem; }
.ag-points li > span:last-child { color: var(--muted); font-size: .82rem; }
.ag-check { width: 22px; height: 22px; border-radius: 50%; background: #e7f3ff; color: var(--gold); display: grid; place-items: center; }
.ag-check .icon { width: 13px; height: 13px; }
.ag-why-cta { position: relative; overflow: hidden; min-height: 340px; border-radius: 18px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy); }
.ag-why-cta img { position: absolute; left: 0; right: 0; top: 0; height: 62%; width: 100%; object-fit: cover; object-position: center 22%; }
.ag-why-cta-copy { position: relative; z-index: 1; background: var(--navy); padding: 1.05rem 1.15rem 1.15rem; display: grid; gap: .75rem; }
body.corp .ag-why-cta h2 { color: #fff; margin: 0; font-size: 1.35rem; line-height: 1.2; }
body.corp .ag-why-cta .ag-btn { justify-self: start; background: #fff; color: var(--navy); }
.ag-stats { background: var(--deep); color: #fff; padding: 1.6rem 0; }
.ag-stats-row { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; align-items: center; }
.ag-globe { width: 140px; height: 140px; }
.ag-stats ul { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin: 0; padding: 0; text-align: center; }
.ag-stats li { display: grid; justify-items: center; gap: .15rem; }
.ag-stats .icon { width: 22px; height: 22px; color: var(--cyan); }
.ag-stats strong { display: block; font-size: 1.35rem; color: #fff; }
.ag-stats span { font-size: .78rem; color: #c5d6ea; }
.ag-stats p { text-align: center; color: #8ea6c2; font-size: .75rem; margin: .7rem 0 0; }
.ag-footer-grid div a:not(.brand) { display: flex; align-items: center; gap: .35rem; }
.ag-footer-grid div a:not(.brand):before { content: "›"; color: #8ecfff; }
.ag-final { padding: 2.5rem 0 3rem; }
.ag-final-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.5rem; align-items: center; background: #eef6ff; border-radius: 20px; overflow: hidden; }
.ag-final img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; display: block; }
.ag-final h2 { color: var(--navy); }
.ag-final-grid > div { padding: 1.2rem 1.4rem 1.4rem 0; }
.ag-page-hero, body.corp .page-hero { background: linear-gradient(100deg, var(--deep), var(--navy)); color: #fff; padding: 2.4rem 0; }
body.corp .page-hero .lede, body.corp .ag-page-hero .lede, body.corp .eyebrow { color: #d5e4f5; }
.ag-faqs article, .ag-search-hit { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.ag-link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin: 1rem 0; }
.ag-link-grid a, .ag-search-hit a { color: var(--blue); font-weight: 700; }
.ag-search { display: flex; gap: .5rem; margin-top: 1rem; }
.ag-search input { flex: 1; border: 0; border-radius: 8px; padding: .75rem .9rem; font: inherit; }
.ag-footer { background: var(--deep); color: #d5e2f2; padding: 2.4rem 0 1rem; }
.ag-footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 1.2rem; }
.ag-footer a { color: #d5e2f2; text-decoration: none; display: block; margin: .28rem 0; font-size: .9rem; }
.ag-footer h2 { color: #fff; font-size: .95rem; }
.ag-footer .brand { margin-bottom: .45rem; display: inline-block; }
body.corp .ag-footer .brand-logo { height: auto; width: min(168px, 100%); max-width: 100%; }
.ag-footer .brand-text strong, .ag-footer .brand-text small { color: #fff; }
.ag-footer-base { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: 1.4rem; padding-top: .9rem; font-size: .82rem; }
.ag-footer-base a { display: inline; margin-right: .8rem; }

@media (max-width: 1100px) {
  .ag-services { grid-template-columns: repeat(2, 1fr); }
  .ag-core-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
  .ag-core-card.is-featured { grid-column: 1 / -1; transform: none; order: -1; }
  .ag-core-card.is-featured h3,
  .ag-core-card.is-featured > p { text-align: center; }
  .ag-core-badge { align-self: center; }
  .ag-core-visual { justify-items: center; min-height: 96px; }
  .ag-core-phones-img { width: min(100%, 140px); }
  body.corp .mega-cards--core { grid-template-columns: 1fr 1fr; }
  .ag-products, .ag-values-grid { grid-template-columns: repeat(2, 1fr); }
  .ag-sector-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ag-stats ul { grid-template-columns: repeat(3, 1fr); }
  .ag-why { grid-template-columns: 1fr 1fr; }
  .ag-why-cta { grid-column: 1 / -1; min-height: 220px; }
  .ag-footer-grid { grid-template-columns: 1fr 1fr; }
  body.corp .site-header .brand-logo { height: auto; width: min(132px, 44vw); max-width: 44vw; }
  body.corp .ag-footer .brand-logo { height: auto; width: min(148px, 72%); max-width: 100%; }
  body.corp .nav-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
  body.corp .desk-cta { display: none; }
  body.corp .mobile-cta { display: inline-flex; margin-top: .15rem; justify-content: center; }
  body.corp .site-header { top: auto; }
  body.corp .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; width: 100%;
    background: #fff; color: var(--navy); padding: .15rem .85rem calc(.45rem + env(safe-area-inset-bottom));
    flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 108px); overflow: auto;
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(6, 38, 74, .08);
  }
  body.corp .site-nav.is-open { display: flex; }
  body.corp .nav-drop { margin: 0; }
  body.corp .site-nav > a, body.corp .nav-drop summary {
    min-height: 34px; display: flex; align-items: center; padding: .05rem 0; margin: 0;
  }
  body.corp .nav-panel.mega { position: static; transform: none; width: auto; left: auto; background: var(--light); color: var(--ink); border-radius: 12px; box-shadow: none; padding: .2rem .35rem; margin: 0 0 .15rem; }
  body.corp .mega-cards { gap: .4rem; }
  body.corp .mega-intro { padding: .7rem .75rem; gap: .3rem; }
  body.corp .mega-intro a { min-height: 32px; }
  body.corp .mega-grid { grid-template-columns: 1fr; width: auto; max-height: none; overflow: visible; padding: 0; }
  body.corp .mega-col { border-left: 0; padding: .15rem 0; }
  body.corp .mega-item { min-height: 44px; }
  body.corp .mega-clean, body.corp .mega-cards, .dir-grid { grid-template-columns: 1fr; width: auto; }
  body.corp .mega-cards a { min-height: 0; padding: .5rem .7rem; }
  body.corp .mega-foot, body.corp .mega-foot-inner { flex-direction: column; align-items: stretch; width: auto; }
  body.corp .mega-foot .btn { width: 100%; justify-content: center; }
  body.corp.nav-open { overflow: hidden; }
}
@media (max-width: 980px) {
  .home-portfolio-grid { grid-template-columns: 1fr 1fr; }
  .home-portfolio-head { align-items: start; flex-direction: column; gap: .75rem; }
}

@media (max-width: 900px) {
  .ag-top { position: static; }
  body.corp .site-header { top: auto; }
  .ag-top { font-size: clamp(.65rem, 3.05vw, .78rem); text-align: left; }
  .ag-top .wrap { width: calc(100% - 1rem); }
  .ag-top-row { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; padding: .35rem 0; }
  .ag-top .ag-top-address { display: flex; width: auto; min-height: 0; justify-content: flex-start; text-align: left; white-space: nowrap; line-height: 1.15; }
  .ag-top .ag-top-reach { display: flex; width: auto; min-height: 0; justify-content: flex-start; gap: .85rem; margin-left: 0; margin-top: .15rem; }
  .ag-top .ag-top-label { display: none; }
  .ag-top-reach a { min-height: 0; justify-content: flex-start; text-align: left; white-space: nowrap; line-height: 1.15; }
  .ag-hero { padding: 1.6rem 0 1.75rem; }
  body.corp .ag-hero h1 { font-size: 1.85rem; }
  .ag-hero .cta-row { display: flex; flex-wrap: wrap; }
  .ag-hero-grid, .ag-why, .ag-final-grid, .ag-section-head, .ag-stats-row { grid-template-columns: 1fr; }
  .ag-globe { width: 96px; height: 96px; margin: 0 auto; }
  .ag-why-cta { grid-column: auto; }
  .ag-hero-visual img { height: auto; }
  .ag-final-grid > div { padding: 0 1rem 1.2rem; }
  .ag-points { grid-template-columns: 1fr; }
}
/* Portfolio showcase + demo access */
.portfolio-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem; align-items: center; }
.portfolio-hero .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.1rem; }
.portfolio-hero-art {
  min-height: 220px; border-radius: 16px; border: 1px solid rgba(255,255,255,.16);
  background: radial-gradient(280px 160px at 70% 30%, rgba(23,185,232,.22), transparent 60%), rgba(255,255,255,.06);
  overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.portfolio-hero-art img {
  display: block; width: 100%; height: 100%; min-height: 220px;
  aspect-ratio: 4 / 3; object-fit: cover; object-position: center;
}
.pha-device { display: none; }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; }
.portfolio-filters button {
  border: 1px solid var(--line); background: #fff; color: var(--muted); border-radius: 999px;
  padding: .45rem .9rem; font-weight: 700; font-size: .8rem; cursor: pointer;
}
.portfolio-filters button.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.portfolio-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 12px 28px rgba(6,38,74,.06); display: flex; flex-direction: column;
}
.portfolio-card-shot {
  position: relative; min-height: 168px; aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #dce9f8, #f4f8fc);
  overflow: hidden;
}
.portfolio-shot-img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.portfolio-pill {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: #e8f1fb; color: var(--blue); font-size: .68rem; font-weight: 800;
  padding: .28rem .65rem; border-radius: 999px;
}
.portfolio-mock {
  width: 72%; height: 70px; border-radius: 10px; border: 1px solid #c9daf0; margin: auto;
  background: linear-gradient(160deg, #fff, #e8f1fb); box-shadow: 0 12px 22px rgba(6,38,74,.1);
}
.portfolio-card-body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.portfolio-card-body h2 { margin: 0 0 .35rem; font-size: 1.15rem; color: var(--navy); }
.portfolio-card-body > p { margin: 0 0 .85rem; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.portfolio-feats {
  list-style: none; margin: 0 0 1rem; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .7rem;
}
.portfolio-feats li {
  position: relative; padding-left: 1rem; font-size: .76rem; font-weight: 650; color: var(--ink);
}
.portfolio-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.portfolio-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: auto; }
.portfolio-actions .btn { min-height: 40px; justify-content: center; font-size: .8rem; }
.portfolio-stats { background: var(--deep); color: #fff; }
.portfolio-stats-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; text-align: center;
}
.portfolio-stats-row strong { display: block; font-size: 1.6rem; margin-bottom: .2rem; }
.portfolio-stats-row span { color: #9fb6d4; font-size: .85rem; }
.portfolio-cta {
  background: #eef6ff; border: 1px solid #d5e6f8; border-radius: 18px; padding: 1.5rem 1.4rem;
}
.portfolio-cta h2 { margin: 0 0 .4rem; color: var(--navy); }
.portfolio-cta p { margin: 0 0 1rem; color: var(--muted); }

.catalog-list { display: grid; gap: 1.35rem; }
.catalog-entry {
  scroll-margin-top: 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(6, 38, 74, .06);
}
.catalog-shot { background: #071833; min-height: 220px; }
.catalog-shot img {
  display: block; width: 100%; height: 100%; min-height: 240px;
  aspect-ratio: 16 / 10; object-fit: cover; object-position: top center;
}
.catalog-copy { padding: 1.15rem 1.25rem 1.25rem; display: flex; flex-direction: column; }
.catalog-kicker {
  margin: 0 0 .3rem; color: var(--blue); font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}
.catalog-copy h2 { margin: 0 0 .35rem; color: var(--navy); font-size: 1.35rem; }
.catalog-line { margin: 0 0 .65rem; color: var(--ink); font-weight: 700; line-height: 1.35; }
.catalog-copy > p { margin: 0 0 .75rem; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.catalog-points { list-style: none; margin: 0 0 .85rem; padding: 0; display: grid; gap: .45rem; }
.catalog-points li {
  position: relative; padding-left: .9rem; font-size: .84rem; line-height: 1.4; color: var(--ink);
}
.catalog-points li::before {
  content: ""; position: absolute; left: 0; top: .45rem; width: 6px; height: 6px;
  border-radius: 50%; background: var(--blue);
}
.catalog-note { margin: 0 0 .9rem; color: var(--muted); font-size: .78rem; }
.catalog-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: auto; }
.catalog-actions .btn { min-height: 40px; }
.portfolio-card-shot { display: block; text-decoration: none; color: inherit; }

/* Homepage portfolio strip */
.home-portfolio { background: #f7fafd; }
.home-portfolio-head { align-items: end; }
.home-portfolio-head > div p { margin-top: .45rem; }
.home-portfolio-all {
  flex-shrink: 0; font-weight: 750; font-size: .9rem; color: var(--blue); text-decoration: none;
  white-space: nowrap; padding-bottom: .15rem;
}
.home-portfolio-all:hover { text-decoration: underline; }
.home-portfolio-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem;
}
.home-portfolio-card .portfolio-card-body h3 {
  margin: 0 0 .35rem; font-size: 1.1rem; color: var(--navy);
}
.home-portfolio-card .portfolio-card-body > p {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.demo-access { padding: 2rem 0 3rem; background: #eef3f9; }
.demo-access-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 18px 40px rgba(6,38,74,.1); min-height: 520px;
}
.demo-visual {
  background: radial-gradient(420px 240px at 70% 20%, rgba(23,185,232,.28), transparent 60%),
    linear-gradient(160deg, #031B36, #06264A 55%, #0756A5);
  color: #fff; padding: 2rem 1.6rem; display: flex; flex-direction: column;
}
.demo-crumb { margin: 0 0 1.1rem; font-size: .78rem; color: #9fb6d4; }
.demo-crumb a { color: #9fd4ff; text-decoration: none; }
.demo-visual h1 { margin: 0 0 .55rem; font-size: clamp(1.45rem, 2.5vw, 1.9rem); color: #fff; }
.demo-visual > p { margin: 0; color: #c9daf0; max-width: 24rem; line-height: 1.45; }
.demo-device {
  margin-top: 1.6rem; flex: 1; min-height: 200px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.08); padding: 14px;
}
.demo-device-top { height: 10px; border-radius: 999px; background: rgba(255,255,255,.18); margin-bottom: 12px; width: 40%; }
.demo-device-body { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; height: calc(100% - 22px); }
.demo-device-body i, .demo-device-body b { display: block; border-radius: 8px; background: rgba(255,255,255,.12); }
.demo-device-body b { grid-column: span 2; }
.demo-site { margin: 1rem 0 0; font-size: .82rem; }
.demo-site a { color: #9fd4ff; }
.demo-panel { padding: 2rem 1.7rem; }
.demo-panel h2 { margin: .2rem 0 .45rem; color: var(--navy); font-size: 1.45rem; }
.demo-sub { margin: 0 0 1.2rem; color: var(--muted); }
.demo-form label { display: block; font-size: .78rem; font-weight: 700; color: var(--navy); margin: 0 0 .35rem; }
.demo-form input {
  width: 100%; border: 1px solid #d5e2f0; border-radius: 12px; padding: .75rem .9rem;
  margin-bottom: .85rem; background: #f8fbff; font: inherit;
}
.demo-enter { width: 100%; justify-content: center; min-height: 46px; display: inline-flex; text-decoration: none; margin-top: .35rem; box-sizing: border-box; }
.demo-shot {
  display: block; margin-top: 1.4rem; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 32px rgba(0,0,0,.28);
}
.demo-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.demo-creds { margin: 0 0 1.1rem; padding: 1rem; border-radius: 14px; background: #f4f8fc; border: 1px solid #d7e6f6; }
.demo-creds-k { margin: 0 0 .55rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.demo-account-list { display: grid; gap: .55rem; }
.demo-account {
  display: grid; gap: .15rem; padding: .7rem .8rem; border-radius: 10px; background: #fff; border: 1px solid #e2edf8;
}
.demo-account strong { font-size: .78rem; color: var(--navy); }
.demo-account span { font-size: .84rem; color: var(--ink); word-break: break-all; }
.demo-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.demo-chips span {
  background: #eef5ff; color: var(--navy); border-radius: 999px; padding: .4rem .75rem;
  font-size: .78rem; font-weight: 700;
}
.demo-note { margin: .75rem 0 0; font-size: .75rem; color: var(--muted); }
.demo-alt { margin: 1.1rem 0 0; font-size: .82rem; color: var(--muted); }
.demo-alt a { color: var(--blue); font-weight: 650; }

.blog-hero .lede { max-width: 40rem; color: #d5e4f5; }
.blog-crumbs { display: flex; flex-wrap: wrap; gap: .35rem .45rem; align-items: center; margin: 0 0 .8rem; font-size: .82rem; }
.blog-crumbs a, .blog-crumbs span { color: #d5e4f5; text-decoration: none; }
.blog-crumbs a:hover { color: #fff; }
.blog-byline { display: flex; flex-wrap: wrap; gap: .35rem .55rem; margin: .9rem 0 0; color: #d5e4f5; font-size: .88rem; }
.blog-index { padding-top: 1.6rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.blog-card-link { display: grid; gap: .45rem; padding: 1.15rem 1.15rem 1.2rem; text-decoration: none; color: inherit; height: 100%; box-sizing: border-box; }
.blog-card-kicker { margin: 0; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.blog-card h2, .blog-card h3 { margin: 0; color: var(--navy); font-size: 1.15rem; line-height: 1.3; }
.blog-card p { margin: 0; color: var(--muted); }
.blog-card-meta { font-size: .82rem; }
.blog-card-link:hover h2, .blog-card-link:hover h3 { color: var(--blue); }
.blog-empty { color: var(--muted); }
.blog-pager { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; margin-top: 1.4rem; }
.blog-pager a { color: var(--blue); font-weight: 700; text-decoration: none; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 1.5rem; align-items: start; padding: 1.8rem 0 2.4rem; }
.blog-cover { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.2rem; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #e8eef6; }
.blog-cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.blog-body { color: var(--ink); font-size: 1.05rem; line-height: 1.7; }
.blog-body p, .blog-body ul, .blog-body ol { margin: 0 0 1rem; }
.blog-body h2, .blog-body h3 { color: var(--navy); line-height: 1.25; margin: 1.6rem 0 .6rem; }
.blog-body a { color: var(--blue); }
.blog-body img { max-width: 100%; height: auto; border-radius: 12px; }
.blog-body blockquote { margin: 0 0 1rem; padding: .2rem 0 .2rem 1rem; border-left: 3px solid var(--cyan); color: var(--navy); }
.blog-tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 1.2rem 0 0; padding: 0; }
.blog-tags li { background: #eef5ff; color: var(--navy); border-radius: 999px; padding: .35rem .7rem; font-size: .78rem; font-weight: 700; }
.blog-back { margin-top: 1.4rem; }
.blog-aside { position: sticky; top: 96px; }
.blog-author { background: #f4f8fc; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem; }
.blog-aside-kicker { margin: 0 0 .25rem; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.blog-author-name { margin: 0 0 .4rem; color: var(--navy); font-weight: 800; }
.blog-author p { color: var(--muted); font-size: .9rem; }
.blog-author .btn { margin-top: .4rem; display: inline-flex; }
.blog-related { padding-top: 0; }
.blog-related h2 { margin: 0 0 1rem; color: var(--navy); }
.seo-box { border: 1px solid #d5deea; border-radius: 12px; padding: .8rem 1rem 1rem; }
.seo-hint { margin: .2rem 0 .8rem; color: #63738a; font-size: .82rem; }

.ag-float-contact {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 70;
  display: flex; align-items: center;
}
.ag-float-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-width: 44px; min-height: 132px; padding: .75rem .55rem;
  border: 0; border-radius: 12px 0 0 12px; background: var(--navy); color: #fff;
  font: inherit; font-weight: 700; letter-spacing: .04em; cursor: pointer;
  writing-mode: vertical-rl; text-orientation: mixed;
  box-shadow: -6px 8px 24px rgba(6, 38, 74, .18);
}
.ag-float-tab .icon { width: 16px; height: 16px; }
.ag-float-panel {
  position: absolute; right: calc(100% + .45rem); top: 50%; transform: translateY(-50%);
  width: min(280px, calc(100vw - 76px)); background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px; padding: .85rem .95rem 1rem;
  box-shadow: 0 18px 40px rgba(6, 38, 74, .16);
}
.ag-float-panel[hidden] { display: none; }
.ag-float-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .35rem; }
.ag-float-head p { margin: 0; color: var(--navy); font-weight: 800; }
.ag-float-close {
  border: 0; background: transparent; color: var(--blue); font: inherit; font-weight: 700;
  min-height: 44px; padding: 0 .2rem; cursor: pointer;
}
.ag-float-panel a {
  display: flex; align-items: center; gap: .5rem; min-height: 44px;
  color: var(--navy); text-decoration: none; font-weight: 650; font-size: .92rem;
  border-top: 1px solid var(--line);
}
.ag-float-panel a:hover { color: var(--blue); }
.ag-float-page { color: var(--blue) !important; }
body.nav-open .ag-float-contact,
body.is-modal-open .ag-float-contact { visibility: hidden; }
.studio-demo[hidden] { display: none; }
.studio-demo {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.studio-demo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 40, .72);
}
.studio-demo-panel {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 3.2rem 1rem 1rem;
  box-shadow: 0 24px 60px rgba(15, 10, 40, .35);
}
.studio-demo-x {
  position: absolute;
  top: .55rem;
  right: .55rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #f4f0ff;
  color: #4c1d95;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.studio-demo-panel > p {
  margin: 0 0 .75rem;
  padding-right: 2.5rem;
  color: #4c1d95;
  font-size: 1.15rem;
  font-weight: 800;
}
.studio-demo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
}
.studio-demo-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.studio-demo-cancel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: .85rem;
  border: 1.5px solid #c4b5fd;
  border-radius: 999px;
  background: #fff;
  color: #4c1d95;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.studio-demo-cancel:hover,
.studio-demo-x:hover { background: #efe7ff; }

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-aside { position: static; }
}

@media (max-width: 760px) {
  .ag-hero { padding: 1.25rem 0 1.4rem; }
  body.corp .ag-hero h1 { font-size: 1.65rem; }
  .ag-hero-visual img { aspect-ratio: 16 / 9; }
  .ag-hero .cta-row { flex-direction: column; align-items: stretch; }
  .ag-hero .cta-row .ag-btn, .ag-final .cta-row .ag-btn { width: 100%; justify-content: center; }
  .ag-services, .ag-products, .ag-values-grid, .ag-footer-grid, .ag-link-grid, .ag-core-grid { grid-template-columns: 1fr; }
  .ag-core-card.is-featured { grid-column: auto; order: 0; }
  .ag-core-caps { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .ag-core-more, .ag-core-cta { width: 100%; }
  .ag-core-kicker:before, .ag-core-kicker:after { width: 22px; }
  .ag-stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ag-stats li:last-child { grid-column: 1 / -1; }
  .ag-sector-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ag-values article { border-right: 0; border-bottom: 1px solid var(--line); }
  .ag-section { padding: 1.7rem 0; }
  .ag-page-hero, body.corp .page-hero { padding: 1.5rem 0; }
  body.corp .page-hero h1, body.corp .ag-page-hero h1 { font-size: 1.7rem; }
  .ag-footer-base { flex-direction: column; align-items: flex-start; }
  .ag-footer-base a { min-height: 40px; display: inline-flex; align-items: center; }
  .ag-search { flex-direction: column; }
  .ag-search .btn, .ag-search button { width: 100%; }
  .form input, .form select, .form textarea,
  .svc-form input, .svc-form select, .svc-form textarea,
  .ag-search input { font-size: 16px; }
  .card-grid, .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .portfolio-hero-grid, .portfolio-grid, .home-portfolio-grid, .catalog-entry, .demo-access-grid, .portfolio-stats-row, .portfolio-actions, .portfolio-feats { grid-template-columns: 1fr; }
  .demo-panel { padding: 1.25rem 1rem 1.5rem; }
  .demo-form input { font-size: 16px; }
  .blog-layout, .blog-grid { grid-template-columns: 1fr; }
  .blog-aside { position: static; }
  .filters a { min-height: 44px; display: inline-flex; align-items: center; }
  .blog-pager a { min-height: 44px; display: inline-flex; align-items: center; }
  .blog-hero h1 { font-size: 1.7rem; }
}

.blog-standard { background: #f6f8fc; }
.blog-banner {
  background: linear-gradient(105deg, #071833 0%, #0c2d5c 55%, #123f78 100%);
  color: #fff; padding: 1.6rem 0 1.8rem;
}
.blog-banner .blog-crumbs { margin-bottom: .7rem; }
.blog-banner-title { margin: 0 0 .4rem; color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.15; }
body.corp .blog-standard h1.blog-banner-title { color: #fff; }
.blog-banner-lead { margin: 0; max-width: 40rem; color: #d5e4f5; font-size: .98rem; }
.blog-standard-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.25rem;
  align-items: start; padding: 1.25rem 0 2.5rem;
}
.blog-sheet {
  background: #fff; border: 1px solid #e6eef8; border-radius: 18px;
  padding: 1.25rem 1.25rem 1.4rem; min-width: 0;
  box-shadow: 0 10px 30px rgba(7, 24, 51, .04);
}
.blog-meta { display: flex; flex-wrap: wrap; gap: .45rem .75rem; align-items: center; margin: 0 0 .75rem; color: #63738a; font-size: .82rem; }
.blog-pill {
  display: inline-flex; align-items: center; min-height: 28px; padding: .15rem .6rem;
  border-radius: 999px; background: #efe8ff; color: #5b2ee0; font-weight: 800; font-size: .75rem; text-decoration: none;
}
body.corp .blog-standard h1.blog-article-title,
.blog-article-title { color: #10213f; font-size: clamp(1.55rem, 2.6vw, 2.15rem); line-height: 1.2; margin: 0 0 .7rem; }
.blog-deck { margin: 0 0 1rem; color: #3d4d63; font-size: 1.02rem; }
.blog-sheet .blog-cover { margin: .2rem 0 1.25rem; border-radius: 18px; }
.blog-prose { color: #24344a; font-size: 1.02rem; line-height: 1.75; }
.blog-prose p, .blog-prose ul, .blog-prose ol { margin: 0 0 1rem; }
.blog-prose h2, .blog-prose h3 { color: #10213f; line-height: 1.3; margin: 1.5rem 0 .55rem; padding-left: .7rem; border-left: 3px solid #6d28d9; }
.blog-prose a { color: #0756a5; }
.blog-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.blog-prose blockquote { margin: 0 0 1rem; padding: .9rem 1rem; background: #f4f7fb; border-left: 4px solid #6d28d9; color: #10213f; border-radius: 0 12px 12px 0; }
.blog-foot { display: grid; gap: .8rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid #e6eef8; }
.blog-tags, .blog-share { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: 0; }
.blog-tags > span, .blog-share > span { font-weight: 800; color: #10213f; margin-right: .2rem; }
.blog-tag { background: #f3f0ff; color: #4c1d95; border-radius: 999px; padding: .3rem .65rem; font-size: .78rem; font-weight: 700; }
.blog-share a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 36px; min-width: 36px;
  padding: 0 .65rem; border-radius: 999px; background: #10213f; color: #fff; text-decoration: none; font-size: .75rem; font-weight: 700;
}
.blog-author-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8rem; align-items: center;
  margin-top: 1.1rem; padding: 1rem; border: 1px solid #e6eef8; border-radius: 16px; background: #f8fbff;
}
.blog-author-card img { width: 72px; height: auto; }
.blog-author-kicker { margin: 0 0 .2rem; font-weight: 800; color: #10213f; }
.blog-author-card p { margin: 0; color: #63738a; font-size: .9rem; }
.blog-comments { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid #e6eef8; }
.blog-comments h2, .blog-comments h3 { color: #10213f; margin: 0 0 .75rem; }
.blog-comments h2 { font-size: 1.25rem; }
.blog-comments h3 { font-size: 1.05rem; margin-top: 1rem; }
.blog-comment-empty, .blog-comment-note { margin: 0; color: #63738a; font-size: .9rem; }
.blog-comment { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: .7rem; padding: .85rem 0; border-top: 1px solid #eef3f9; }
.blog-comment-list .blog-comment:first-child { border-top: 0; }
.blog-comment-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: #efe8ff; color: #5b2ee0;
  display: grid; place-items: center; font-weight: 800;
}
.blog-comment strong { color: #10213f; }
.blog-comment time { display: block; color: #63738a; font-size: .78rem; margin-top: .1rem; }
.blog-comment p { margin: .35rem 0 0; color: #24344a; line-height: 1.6; }
.blog-comment-form { display: grid; gap: .7rem; }
.blog-comment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.blog-comment-form label { display: grid; gap: .3rem; color: #10213f; font-size: .88rem; font-weight: 700; }
.blog-comment-form input, .blog-comment-form textarea {
  width: 100%; border: 1px solid #d7e2ef; border-radius: 12px; padding: .7rem .8rem;
  font: inherit; color: #10213f; background: #fff;
}
.blog-comment-form textarea { min-height: 120px; resize: vertical; }
.blog-comment-form button {
  justify-self: start; min-height: 44px; padding: .6rem 1.05rem; border: 0; border-radius: 12px;
  background: #6d28d9; color: #fff; font-weight: 800; cursor: pointer;
}
.blog-pager-posts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1rem; }
.blog-pager-posts a {
  display: grid; gap: .2rem; min-height: 72px; padding: .8rem .9rem; border: 1px solid #e6eef8; border-radius: 14px;
  text-decoration: none; color: #10213f; background: #fff;
}
.blog-pager-posts a.is-next { text-align: right; }
.blog-pager-posts span { color: #63738a; font-size: .75rem; font-weight: 700; }
.blog-pager-posts strong { font-size: .92rem; line-height: 1.35; }
.blog-list { display: grid; gap: 1.1rem; }
.blog-list-item { padding-bottom: 1.1rem; border-bottom: 1px solid #e6eef8; }
.blog-list-item:last-child { border-bottom: 0; padding-bottom: 0; }
.blog-list-item h2 { margin: 0 0 .35rem; font-size: 1.25rem; line-height: 1.3; }
.blog-list-item h2 a { color: #10213f; text-decoration: none; }
.blog-list-item h2 a:hover { color: #0756a5; }
.blog-list-item p { margin: 0 0 .55rem; color: #63738a; }
.blog-search-note, .blog-empty { margin: 0 0 1rem; color: #63738a; }
.blog-side { display: grid; gap: .9rem; min-width: 0; }
.blog-search { display: flex; gap: .4rem; }
.blog-search input {
  flex: 1; min-width: 0; border: 1px solid #d7e3f2; border-radius: 12px; padding: .75rem .85rem;
  font: inherit; font-size: 16px; color: #10213f; background: #fff;
}
.blog-search button {
  width: 46px; height: 46px; border: 0; border-radius: 12px; background: #6d28d9; color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.blog-widget { background: #fff; border: 1px solid #e6eef8; border-radius: 16px; padding: 1rem; }
.blog-widget h2 { margin: 0 0 .7rem; color: #10213f; font-size: 1.05rem; }
.blog-about img { width: 140px; height: auto; }
.blog-about p, .blog-cta p { margin: .4rem 0 .7rem; color: #63738a; font-size: .9rem; }
.blog-widget-link { display: inline-flex; align-items: center; gap: .3rem; color: #6d28d9; font-weight: 800; text-decoration: none; min-height: 44px; }
.blog-cats, .blog-latest { list-style: none; margin: 0; padding: 0; display: grid; }
.blog-cats a, .blog-latest a {
  display: flex; justify-content: space-between; gap: .6rem; align-items: center;
  min-height: 44px; text-decoration: none; color: #24344a; border-top: 1px solid #eef3f9;
}
.blog-cats li:first-child a, .blog-latest li:first-child a { border-top: 0; }
.blog-count { color: #63738a; font-size: .82rem; }
.blog-latest a { display: grid; justify-content: stretch; }
.blog-latest strong { color: #10213f; font-size: .92rem; line-height: 1.35; }
.blog-latest span { color: #63738a; font-size: .78rem; }
.blog-cta { background: linear-gradient(160deg, #12315f, #24145a); color: #fff; }
.blog-cta h2, .blog-cta p { color: #fff; }
.blog-cta p { color: #d9e4f5; }
.blog-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 44px;
  padding: .55rem .9rem; border-radius: 10px; background: #6d28d9; color: #fff; text-decoration: none; font-weight: 800;
}
@media (max-width: 980px) {
  .blog-standard-grid, .blog-author-card, .blog-pager-posts, .blog-comment-grid { grid-template-columns: 1fr; }
  .blog-pager-posts a.is-next { text-align: left; }
  .blog-author-card .blog-widget-link { justify-self: start; }
}
@media (max-width: 760px) {
  .blog-banner { padding: 1.2rem 0 1.35rem; }
  .blog-sheet { padding: 1rem .9rem 1.15rem; }
  .blog-share a, .blog-cats a, .blog-latest a, .blog-cta-btn, .blog-widget-link { min-height: 44px; }
  .blog-comment-form input, .blog-comment-form textarea { font-size: 16px; }
}

/* Blog card listing */
.blog-cards-page { background: #f4f7fb; }
.blog-cards-hero {
  color: #fff;
  background:
    linear-gradient(90deg, #071833 0%, #0b2f6b 46%, rgba(11, 47, 107, .55) 68%, rgba(11, 47, 107, .2) 100%),
    url("../assets/images/office-cta.jpg") right center / cover no-repeat;
  padding: 2.4rem 0 2.6rem;
}
.blog-cards-hero-inner { max-width: 38rem; }
.blog-cards-kicker {
  margin: 0 0 .35rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9ec5ff;
}
.blog-cards-hero h1 {
  margin: 0 0 .45rem; color: #fff; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; font-weight: 800;
}
.blog-cards-hero p { margin: 0; color: #d7e6f8; font-size: 1.02rem; max-width: 36rem; }
.blog-cards-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.25rem;
  align-items: start; padding: 1.35rem 0 2.8rem;
}
.blog-cards-tools {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 1rem;
}
.blog-filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.blog-filters a {
  display: inline-flex; align-items: center; min-height: 38px; padding: .35rem .8rem;
  border-radius: 999px; border: 1px solid #e4eaf3; background: #fff; color: #24344a;
  text-decoration: none; font-size: .84rem; font-weight: 700;
}
.blog-filters a.is-on { background: #6d28d9; border-color: #6d28d9; color: #fff; }
.blog-cards-search {
  display: flex; align-items: center; gap: .35rem; min-width: min(100%, 260px);
  background: #fff; border: 1px solid #e4eaf3; border-radius: 999px; padding: .2rem .2rem .2rem .9rem;
}
.blog-cards-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: #10213f; padding: .45rem 0;
}
.blog-cards-search input:focus { outline: none; }
.blog-cards-search button {
  width: 38px; height: 38px; border: 0; border-radius: 999px; background: #6d28d9; color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.blog-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.post-card {
  display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #e7eef6;
  border-radius: 18px; overflow: hidden; box-shadow: 0 10px 28px rgba(16, 33, 63, .05);
}
.post-card-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e8eef6; }
.post-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.post-card-pill {
  position: absolute; left: .7rem; bottom: .7rem; display: inline-flex; align-items: center;
  min-height: 26px; padding: .1rem .6rem; border-radius: 999px; background: #6d28d9; color: #fff;
  font-size: .72rem; font-weight: 800;
}
.post-card-pill.tone-blue { background: #2563eb; }
.post-card-pill.tone-green { background: #059669; }
.post-card-pill.tone-red { background: #dc2626; }
.post-card-pill.tone-amber { background: #d97706; }
.post-card-pill.tone-violet { background: #6d28d9; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: .95rem 1rem 1rem; }
.post-card-body h2 { margin: 0 0 .4rem; font-size: 1.05rem; line-height: 1.35; }
.post-card-body h2 a { color: #10213f; text-decoration: none; }
.post-card-body h2 a:hover { color: #6d28d9; }
.post-card-body > p {
  margin: 0 0 .85rem; color: #63738a; font-size: .9rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-foot {
  display: flex; justify-content: space-between; gap: .6rem; align-items: center; margin-top: auto;
  color: #7b8ba3; font-size: .8rem;
}
.post-card-foot a { color: #6d28d9; font-weight: 800; text-decoration: none; white-space: nowrap; }
.post-pager { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 1.25rem; }
.post-pager a, .post-pager span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px;
  padding: 0 .45rem; border-radius: 10px; background: #fff; border: 1px solid #e4eaf3; color: #24344a;
  text-decoration: none; font-weight: 700;
}
.post-pager .is-on { background: #6d28d9; border-color: #6d28d9; color: #fff; }
.post-pager .is-off { opacity: .45; }
.blog-cards-page .blog-side { position: sticky; top: 88px; }
.blog-cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.blog-cat-list a {
  display: flex; justify-content: space-between; gap: .6rem; align-items: center;
  min-height: 42px; text-decoration: none; color: #24344a; border-top: 1px solid #eef3f9;
}
.blog-cat-list li:first-child a { border-top: 0; }
.blog-cat-name { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; }
.blog-cat-name i {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: #6d28d9;
}
.blog-cat-name i.tone-blue { background: #2563eb; }
.blog-cat-name i.tone-green { background: #059669; }
.blog-cat-name i.tone-red { background: #dc2626; }
.blog-cat-name i.tone-amber { background: #d97706; }
.blog-cat-name i.tone-violet { background: #6d28d9; }
.blog-cat-name .icon { width: 14px; height: 14px; }
.blog-subscribe {
  background: linear-gradient(160deg, #6d28d9, #4c1d95); color: #fff; border-radius: 18px; padding: 1.05rem;
}
.blog-subscribe h2 { display: flex; align-items: center; gap: .4rem; margin: 0 0 .35rem; color: #fff; font-size: 1.05rem; }
.blog-subscribe p { margin: 0 0 .75rem; color: #efe8ff; font-size: .9rem; }
.blog-subscribe form { display: grid; gap: .5rem; }
.blog-subscribe input[type="email"] {
  width: 100%; border: 0; border-radius: 12px; min-height: 44px; padding: .65rem .8rem; font: inherit; font-size: 16px;
}
.blog-subscribe button {
  border: 0; border-radius: 12px; min-height: 44px; background: #fff; color: #4c1d95; font: inherit; font-weight: 800; cursor: pointer;
}
.blog-popular { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.blog-popular a { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: .65rem; text-decoration: none; color: inherit; }
.blog-popular img { width: 72px; height: 56px; object-fit: cover; border-radius: 10px; background: #e8eef6; }
.blog-popular strong { display: block; color: #10213f; font-size: .88rem; line-height: 1.35; }
.blog-popular em { display: block; margin-top: .2rem; color: #7b8ba3; font-style: normal; font-size: .75rem; }
.blog-cards-page .notice { width: auto; margin: 0 0 .8rem; }
@media (max-width: 980px) {
  .blog-cards-layout { grid-template-columns: 1fr; }
  .blog-cards-page .blog-side { position: static; }
  .blog-cards-hero {
    background:
      linear-gradient(180deg, rgba(7, 24, 51, .88), rgba(11, 47, 107, .72)),
      url("../assets/images/office-cta.jpg") center / cover no-repeat;
  }
}
@media (max-width: 720px) {
  .blog-card-grid { grid-template-columns: 1fr; }
  .blog-cards-hero { padding: 1.6rem 0 1.8rem; }
  .blog-cards-search { width: 100%; }
}

/* Homepage — Afripay Studio flagship, between featured products and selected projects */
.studio-flagship {
  --studio-purple: #6d28d9;
  --studio-ink: #1e1b4b;
  position: relative;
  overflow: hidden;
  padding: 3.2rem 0 2.4rem;
  background:
    radial-gradient(720px 280px at 78% 18%, rgba(139, 92, 246, .28), transparent 70%),
    linear-gradient(180deg, #f4f0ff 0%, #faf8ff 48%, #ffffff 100%);
}
.studio-flagship-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 1.5rem;
  align-items: center;
}
.studio-flagship-badge {
  display: inline-flex;
  margin: 0 0 .85rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: #efe7ff;
  color: var(--studio-purple);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.studio-flagship-copy h2 {
  margin: 0;
  color: #4c1d95;
  font-size: clamp(2.1rem, 3.4vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  text-transform: none;
}
.studio-flagship-sub {
  margin: .45rem 0 .7rem;
  color: var(--studio-ink);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
}
.studio-flagship-copy > p:last-of-type {
  margin: 0;
  max-width: 38rem;
  color: #475569;
  font-size: .98rem;
  line-height: 1.55;
}
.studio-flagship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.25rem;
}
.studio-flagship-primary,
.studio-flagship-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 48px;
  padding: .75rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.studio-flagship-primary { background: var(--studio-purple); color: #fff; }
.studio-flagship-primary:hover { background: #5b21b6; }
.studio-flagship-secondary {
  background: #fff;
  color: var(--studio-purple);
  border: 1.5px solid #c4b5fd;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.studio-flagship-secondary:before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}
.studio-flagship-secondary:hover { background: #f5f3ff; }
.studio-flagship-visual { margin: 0; }
.studio-flagship-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.studio-flagship-caps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .75rem;
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}
.studio-flagship-caps li {
  display: grid;
  justify-items: center;
  gap: .55rem;
  min-height: 132px;
  padding: 1rem .55rem .9rem;
  background: #fff;
  border: 1px solid #efe8ff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(76, 29, 149, .06);
  text-align: center;
}
.studio-flagship-caps span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--studio-purple);
}
.studio-flagship-caps svg { width: 28px; height: 28px; }
.studio-flagship-caps strong {
  color: var(--studio-ink);
  font-size: .86rem;
  line-height: 1.3;
}
.studio-flagship-credit {
  margin: 1.15rem 0 0;
  text-align: center;
  color: #64748b;
  font-size: .92rem;
}
.studio-flagship-credit strong { color: var(--studio-purple); }
@media (max-width: 1100px) {
  .studio-flagship-caps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .studio-flagship { padding: 2rem 0 1.6rem; }
  .studio-flagship-hero { grid-template-columns: 1fr; }
  .studio-flagship-actions { flex-direction: column; align-items: stretch; }
  .studio-flagship-caps { grid-template-columns: 1fr; }
  .studio-flagship-caps li {
    grid-template-columns: 42px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    min-height: 64px;
    padding: .7rem .9rem;
    text-align: left;
  }
}
