
.function-check-teaser {
  display:grid;
  grid-template-columns:3.75rem minmax(0,1fr) auto;
  align-items:center;
  gap:1.5rem;
  margin-top:2.75rem;
  padding:2rem;
  border:1px solid #e0e9f8;
  border-radius:.85rem;
  background:linear-gradient(115deg,#f5f9ff 0%,#fff 90%);
}
.function-check-icon {
  flex:none;
  width:3.75rem;
  height:3.75rem;
  display:grid;
  place-items:center;
  background:#e7efff;
  border-radius:1rem;
  color:#377dff;
  font-size:1.65rem;
}
.function-check-copy { flex:1; min-width:0; }
.function-check-copy .eyebrow { margin-bottom:.5rem; font-size:.7rem; }
.function-check-copy h2 { font-size:clamp(1.25rem,2vw,1.6rem); line-height:1.35; margin-bottom:.6rem; }
.function-check-copy > p:last-child { margin:0; font-size:.95rem; line-height:1.65; }
.function-check-teaser > button { flex:none; white-space:nowrap; padding:.9rem 1.2rem; }
.function-check-dialog {
  padding:0;
  border:1px solid #e7eaf3;
  border-radius:1rem;
  width:calc(100% - 3rem);
  max-width:1180px;
  height:calc(100dvh - 3rem);
  max-height:960px;
  margin:auto;
  overflow:hidden;
  color:#21325b;
  background:white;
  box-shadow:0 2rem 6rem rgba(12,28,57,.3);
}
.function-check-dialog[open] { display:flex; flex-direction:column; }
.function-check-dialog::backdrop { background:rgba(17,31,53,.65); backdrop-filter:blur(4px); }
.function-check-dialog-header { display:flex; flex:none; align-items:center; justify-content:space-between; gap:1rem; border-bottom:1px solid #e7eaf3; padding:.75rem 1.25rem; }
.function-check-dialog .function-check-dialog-header h2 {
  flex:1;
  min-width:0;
  font-size:1rem;
  line-height:1.4;
  margin:0;
  padding:0;
  color:#21325b;
}
.function-check-dialog .function-check-close {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:center;
  flex:0 0 2.75rem;
  box-sizing:border-box;
  width:2.75rem;
  min-width:2.75rem;
  max-width:2.75rem;
  height:2.75rem;
  min-height:2.75rem;
  margin:0;
  padding:0;
  border:0;
  border-radius:.5rem;
  background:#edf3ff;
  color:#21325b;
  line-height:1;
  cursor:pointer;
}
.function-check-close svg {
  display:block;
  flex:none;
  width:1.25rem;
  height:1.25rem;
  margin:0;
  pointer-events:none;
}
.function-check-close:hover { background:#dce8ff; }
.function-check-close:focus-visible { outline:3px solid #377dff; outline-offset:2px; }
.function-check-dialog iframe { flex:1;min-height:0;border:0;width:100%;background:white; }
body.function-check-open { overflow:hidden; }
@media(max-width:991.98px) {
  .function-check-teaser { grid-template-columns:3.75rem minmax(0,1fr); }
  .function-check-teaser > button { grid-column:2; justify-self:start; }
}
@media(max-width:575.98px) {
  .function-check-teaser { grid-template-columns:3rem minmax(0,1fr); padding:1.3rem; gap:1rem; }
  .function-check-icon { width:3rem;height:3rem;font-size:1.4rem; }
  .function-check-copy { flex-basis:calc(100% - 4rem); }
  .function-check-copy h2 { font-size:1.25rem; }
  .function-check-teaser > button { grid-column:1/-1;width:100%;white-space:normal; }
  .function-check-dialog { width:100%;max-width:none;height:100dvh;max-height:100dvh;border:0;border-radius:0; }
  .function-check-dialog-header { padding:.5rem .8rem; }
}
