/* Location marker and concise, accessible detail covers for the home cards. */
body[data-page="home"] .globe-location {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 5%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(111, 150, 196, .32);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 32px rgba(23, 55, 96, .08);
  color: #132b4c;
}
body[data-page="home"] .globe-location-marker {
  width: 8px;
  height: 8px;
  flex: none;
  border: 1px solid #527eae;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(86, 137, 193, .12);
}
body[data-page="home"] .globe-location strong,
body[data-page="home"] .globe-location small { display: block; }
body[data-page="home"] .globe-location strong { font-size: .75rem; letter-spacing: .025em; }
body[data-page="home"] .globe-location small {
  margin-top: 2px;
  color: #637b97;
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

body[data-page="home"] :is(.level-card, .agent-grid article) { cursor: pointer; }
body[data-page="home"] :is(.level-card, .agent-grid article):focus-within {
  border-color: #315f99 !important;
  outline: 2px solid #315f99;
  outline-offset: 3px;
}
body[data-page="home"] .card-open {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
body[data-page="home"] .card-open:focus-visible { outline: none; }
body[data-page="home"] .card-discover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 22px;
  padding-top: 13px;
  border-top: 1px solid rgba(91, 130, 177, .3);
  color: #315f99;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
body[data-page="home"] .card-discover span { font-size: 1rem; font-weight: 400; }
body[data-page="home"] .agent-grid article .card-discover { color: #315f99; }
body[data-page="home"] .agent-grid article p { min-height: 2.8em; }

.insight-dialog {
  width: min(760px, calc(100% - 32px));
  max-width: none;
  max-height: min(88svh, 760px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #b7cce5;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 32px 100px rgba(9, 30, 62, .2);
  color: #10213e;
}
.insight-dialog::backdrop {
  background: rgba(12, 30, 57, .48);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.insight-shell { padding: clamp(24px, 4vw, 48px); }
.insight-topline,
.insight-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.insight-topline {
  padding-bottom: 20px;
  border-bottom: 1px solid #d8e4f1;
  color: #506c8d;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
}
.insight-close {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0;
  border: 0;
  background: none;
  color: #183758;
  cursor: pointer;
  font: inherit;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.insight-close span { font-size: 1.55rem; font-weight: 400; line-height: .7; }
.insight-close:focus-visible,
.insight-bottom a:focus-visible { outline: 2px solid #315f99; outline-offset: 4px; }
.insight-panel[hidden] { display: none; }
.insight-panel { padding-block: clamp(28px, 4vw, 50px) 22px; }
.insight-kicker {
  margin: 0 0 18px;
  color: #315f99;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.insight-panel h2 {
  max-width: 630px;
  margin: 0;
  color: #10213e;
  font-size: clamp(2.45rem, 5vw, 4.1rem);
  font-weight: 650;
  line-height: 1.03;
  letter-spacing: -.055em;
}
.insight-panel h2 em { color: #315f99; }
.insight-lead {
  max-width: 620px;
  margin: 25px 0 30px;
  color: #495e79;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.6;
}
.insight-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.insight-facts p {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 20px;
  border: 1px solid #d6e3f2;
  background: #f7faff;
  color: #4e617a;
  font-size: .91rem;
  line-height: 1.55;
}
.insight-facts strong {
  color: #315f99;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.insight-bottom {
  padding-top: 20px;
  border-top: 1px solid #d8e4f1;
  color: #64758b;
  font-size: .76rem;
  line-height: 1.4;
}
.insight-bottom > span { max-width: 265px; }
.insight-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 12px 14px 12px 20px;
  border-radius: 100px;
  background: #10213e;
  color: #fff;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.insight-bottom a > span { font-size: 1.1rem; font-weight: 400; }
.insight-bottom a:hover { background: #315f99; }

@media (max-width: 600px) {
  body[data-page="home"] .globe-location { left: 2%; bottom: 0; padding: 10px 12px; }
  body[data-page="home"] .globe-location strong { font-size: .7rem; }
  .insight-dialog { width: calc(100% - 22px); max-height: calc(100svh - 28px); }
  .insight-shell { padding: 22px; }
  .insight-panel { padding-block: 29px 20px; }
  .insight-facts { grid-template-columns: 1fr; }
  .insight-facts p { padding: 16px; }
  .insight-bottom { align-items: stretch; flex-direction: column; }
  .insight-bottom a { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .insight-dialog::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
