/* local() first: Windows already has Segoe UI installed, so it uses that copy of the same font
   instead of downloading ~0.4 MB per weight. Other systems still download the files below. */
@font-face {
    font-family: 'Segoe UI';
    src: local('Segoe UI Light'), local('SegoeUI-Light'),
         url('segoeui-light.woff2') format('woff2'),
         url('segoeui-light.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Segoe UI';
    src: local('Segoe UI Semilight'), local('SegoeUI-Semilight'),
         url('segoeui-semilight.woff2') format('woff2'),
         url('segoeui-semilight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Segoe UI';
    src: local('Segoe UI'), local('SegoeUI'),
         url('segoeui-regular.woff2') format('woff2'),
         url('segoeui-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Segoe UI';
    src: local('Segoe UI Semibold'), local('SegoeUI-Semibold'),
         url('segoeui-semibold.woff2') format('woff2'),
         url('segoeui-semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Segoe UI';
    src: local('Segoe UI Bold'), local('SegoeUI-Bold'),
         url('segoeui-bold.woff2') format('woff2'),
         url('segoeui-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Segoe UI';
    src: local('Segoe UI Black'), local('SegoeUI-Black'),
         url('segoeui-black.woff2') format('woff2'),
         url('segoeui-black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}