/* The approved green capsule. Shared by static pages and the Astro blog. */
html { scroll-padding-top: var(--aig-contact-header-height, 69px); }
a.aig-contact {
  --contact-ink: #10291e;
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 260px;
  max-width: 100%;
  min-height: 52px;
  padding: 6px;
  border: 1px solid var(--accent, #4CAE86);
  border-radius: 999px;
  background: var(--accent, #4CAE86);
  color: var(--contact-ink);
  text-decoration: none;
  text-align: left;
  box-shadow: 0 8px 28px rgb(0 0 0 / calc(.22 * var(--sh, 1)));
  transition: transform .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
[data-theme="light"] a.aig-contact { --contact-ink: #fff; }
footer.site a.aig-contact { color: var(--contact-ink); text-decoration: none; }
a.aig-contact:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgb(0 0 0 / calc(.3 * var(--sh, 1))); }
a.aig-contact:focus-visible { outline: 3px solid var(--ink, #F5F5F5); outline-offset: 4px; }
.aig-contact .aig-contact__avatar {
  box-sizing: border-box;
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 2px solid color-mix(in srgb, var(--contact-ink) 18%, transparent);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
}
.aig-contact .aig-contact__copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.aig-contact .aig-contact__note { font: 500 11px/1.3 var(--mono, ui-monospace, monospace); }
.aig-contact .aig-contact__label { font: 700 13px/1.3 var(--serif, Manrope, sans-serif); white-space: nowrap; }
.aig-contact .aig-contact__arrow {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--contact-ink) 11%, transparent);
}
.aig-contact .aig-contact__arrow svg { display: block; width: 18px; height: 18px; }
.aig-contact-footer { display: flex; justify-content: flex-end; margin: 0 0 28px; padding: 6px 0; }
.aig-contact--footer::before { content: ''; position: absolute; inset: -6px; border: 1px solid color-mix(in srgb, var(--accent, #4CAE86) 38%, transparent); border-radius: inherit; pointer-events: none; }
.aig-contact-dock { position: fixed; right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: calc(100% - 48px); }
.aig-contact-dock[hidden], body.lp-lock .aig-contact-dock { display: none; }
.aig-contact-clearance { height: calc(86px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 700px) {
  .aig-contact-dock { right: 16px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  a.aig-contact { transition: none; }
  a.aig-contact:hover { transform: none; }
}
