@font-face {
  font-family: 'XignetSans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/assets/home-typography/sans.woff2) format('woff2');
  unicode-range:
    U+20-7e, U+b7, U+2014, U+2026, U+2192, U+2713, U+3001-3002, U+300a-300d,
    U+4e00, U+4e09-4e0b, U+4e0d, U+4e14, U+4e26, U+4e2d, U+4e32, U+4e3b, U+4e4b,
    U+4e5f, U+4e86, U+4e88, U+4e92, U+4e9b, U+4eab, U+4eba, U+4ec0, U+4ecb,
    U+4ecd, U+4ed6, U+4ee3-4ee5, U+4ef6, U+4efb, U+4efd, U+4f38, U+4f3a, U+4f3c,
    U+4f46, U+4f48, U+4f4d, U+4f4f, U+4f55, U+4f5c, U+4f60, U+4f75, U+4f7f,
    U+4f86, U+4f8b, U+4f9b, U+4f9d, U+4fdd, U+4fe1, U+500b, U+5011, U+503c,
    U+505a, U+505c, U+5099, U+50b3, U+50c5, U+5118, U+512a, U+5132, U+5141,
    U+5143, U+5148, U+5165, U+5167-5169, U+516c, U+5171, U+5176, U+518a, U+518d,
    U+5192, U+51c6, U+51fa, U+5206-5207, U+5217, U+5225, U+522a, U+5230, U+5236,
    U+5247, U+524d, U+525b, U+529f-52a0, U+52a9, U+52d5, U+52d9, U+52fe-52ff,
    U+5305, U+5339, U+5340, U+5347, U+534a, U+5354, U+5357, U+5370, U+5373,
    U+539f, U+53bb, U+53c3, U+53ca, U+53d6-53d7, U+53e3, U+53e6, U+53ea,
    U+53ef-53f0, U+53f2-53f3, U+53f8, U+5404, U+5408, U+540c-540d, U+5411,
    U+5426, U+542b, U+544a, U+54c1, U+54e1, U+54ea, U+552e, U+5546, U+554f,
    U+555f, U+5584, U+55ae, U+5668, U+56db, U+56de, U+56e0, U+56fa, U+570d,
    U+5713, U+5716, U+5718, U+5728, U+5730, U+5740, U+5747, U+578b, U+57df,
    U+57f7, U+57fa, U+584a, U+586b, U+589e, U+5916, U+591a, U+5927, U+592e,
    U+5931, U+5982, U+59a5, U+59cb, U+59d4, U+5b50, U+5b57-5b58, U+5b83,
    U+5b88-5b89, U+5b8c, U+5b98, U+5b9a, U+5bb9, U+5bc6, U+5be6, U+5beb-5bec,
    U+5bf8, U+5c07-5c08, U+5c0d-5c0f, U+5c11, U+5c1a, U+5c31, U+5c3a, U+5c3e,
    U+5c55, U+5c65, U+5c6c, U+5d4c, U+5de5-5de6, U+5df1-5df2, U+5e33, U+5e38,
    U+5e55, U+5e72-5e73, U+5e8f, U+5e95, U+5ea6, U+5ed3, U+5ee3, U+5ef6, U+5efa,
    U+5f0f, U+5f15, U+5f62, U+5f69, U+5f80, U+5f85, U+5f8c, U+5f91, U+5f97,
    U+5f9e, U+5faa, U+5fbd, U+5fc5, U+6025, U+6027, U+610f, U+614b, U+6191,
    U+61c9, U+6210-6211, U+6216, U+6240, U+624b, U+624d, U+627e, U+6280, U+628a,
    U+62c9, U+62d2, U+62ec, U+62fc, U+6301, U+6307, U+6309, U+6388, U+6392,
    U+63a1, U+63a5, U+63d0, U+63db, U+63f4, U+642d, U+6490, U+64a4, U+64c1,
    U+64c7, U+64ca, U+64cd, U+64fe, U+652f, U+6536, U+6539, U+653e-653f, U+6545,
    U+6548, U+6557, U+6574, U+6578, U+6587, U+6599, U+65b0, U+65b7, U+65b9,
    U+65bc-65bd, U+65cb, U+65e2, U+65e5, U+660e, U+661f, U+662f, U+6642, U+666f,
    U+66ab, U+66c6, U+66f4, U+66f8, U+66fe-6700, U+6703, U+6709, U+670d, U+671f,
    U+672a, U+672c, U+677f, U+6790, U+679c, U+67d0, U+67e5, U+6838, U+683c,
    U+6846, U+6848, U+689d, U+695a, U+6a19, U+6a23, U+6a58, U+6a5f, U+6a94,
    U+6aa2, U+6b04, U+6b0a, U+6b21, U+6b3e, U+6b62-6b65, U+6b77, U+6bb5, U+6bcd,
    U+6bcf, U+6bd4, U+6c42, U+6c7a, U+6c92, U+6cbf, U+6cc1, U+6cd5, U+6d29,
    U+6d41, U+6d88-6d89, U+6df1, U+6dfa, U+6e05, U+6e38, U+6ed1, U+6eff, U+700f,
    U+706b, U+70ba, U+7121, U+7126, U+7167, U+7247-7248, U+724c, U+72c0, U+7372,
    U+73bb, U+73fe, U+7406, U+7483, U+751f, U+7522, U+7528, U+7531, U+7533,
    U+7559, U+756b, U+7570, U+7576, U+7591, U+767b-767d, U+7684, U+76c8, U+76e4,
    U+76ee, U+76f4, U+76f8, U+770b, U+77e5, U+77ed, U+78ba, U+78bc, U+790e,
    U+793a, U+7968, U+79c1, U+79d2, U+79fb, U+7a0b, U+7a0d, U+7a2e, U+7a31,
    U+7a7a, U+7acb, U+7ad9, U+7ae0, U+7aef, U+7b26, U+7b2c, U+7b46, U+7b49,
    U+7b56, U+7b97, U+7ba1, U+7bb1, U+7bc0, U+7bc4, U+7c3d, U+7cfb, U+7d00,
    U+7d05, U+7d1a, U+7d42, U+7d44, U+7d50, U+7d55, U+7d61, U+7d66, U+7d71,
    U+7d81, U+7d93, U+7dad, U+7db2, U+7dca, U+7dda, U+7e2e, U+7e54, U+7e5e,
    U+7e7c, U+7e8c, U+7f3a, U+7f6e, U+7fa9, U+8005, U+800c, U+806f, U+80cc,
    U+80fd, U+81ea, U+81f3-81f4, U+8207, U+8272, U+82e5, U+82f1, U+83f1, U+8457,
    U+84cb, U+85cf, U+8655, U+865f, U+87a2, U+884c, U+8868, U+88ab, U+88dd,
    U+88e1, U+88fd, U+8907, U+896f, U+8981, U+898f, U+8996, U+89ba, U+89bd,
    U+89d2, U+89e3, U+8a02, U+8a08, U+8a0a, U+8a17-8a18, U+8a2d, U+8a31, U+8a3b,
    U+8a62, U+8a66, U+8a72, U+8a8d, U+8aa4, U+8aaa, U+8abf, U+8acb, U+8b49,
    U+8b58, U+8b77, U+8b80, U+8b8a, U+8b93, U+8c61, U+8ca9, U+8cac, U+8cbc,
    U+8cc7, U+8d77, U+8d85, U+8ddd, U+8ddf, U+8def, U+8df3, U+8e64, U+8eab,
    U+8f15, U+8f2a, U+8f38, U+8f49, U+8fa6, U+8fd4, U+8ff0, U+8ffd, U+9001,
    U+900f, U+9014, U+9019-901a, U+901f-9020, U+9023, U+9032, U+9047, U+904b,
    U+904e, U+9053-9054, U+9069, U+9075, U+9078, U+9080, U+90e8, U+90f5, U+90fd,
    U+914d, U+91cd, U+9215, U+92b7, U+9304, U+932f, U+9375, U+9418, U+9577,
    U+9589, U+958b, U+9593, U+95b1, U+95dc, U+9650, U+9664, U+968a, U+968e,
    U+969b-969c, U+96a8, U+96b1, U+96e2, U+96f2, U+96fb, U+9700, U+975e, U+9762,
    U+9801, U+9805, U+9808, U+9810, U+9846, U+984c, U+985e, U+986f, U+9996,
    U+9a57, U+9ad4, U+9ad8, U+9ebc, U+9ed1, U+9ede, U+ff08-ff09, U+ff0c, U+ff0f,
    U+ff1a-ff1b, U+ff1f;
}

@font-face {
  font-family: 'XignetSerif';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/assets/home-typography/serif.woff2) format('woff2');
  unicode-range:
    U+20-7e, U+b7, U+2014, U+2026, U+2192, U+2713, U+3001-3002, U+300a-300d,
    U+4e00, U+4e09-4e0b, U+4e0d, U+4e14, U+4e26, U+4e2d, U+4e32, U+4e3b, U+4e4b,
    U+4e5f, U+4e86, U+4e88, U+4e92, U+4e9b, U+4eab, U+4eba, U+4ec0, U+4ecb,
    U+4ecd, U+4ed6, U+4ee3-4ee5, U+4ef6, U+4efb, U+4efd, U+4f38, U+4f3a, U+4f3c,
    U+4f46, U+4f48, U+4f4d, U+4f4f, U+4f55, U+4f5c, U+4f60, U+4f75, U+4f7f,
    U+4f86, U+4f8b, U+4f9b, U+4f9d, U+4fdd, U+4fe1, U+500b, U+5011, U+503c,
    U+505a, U+505c, U+5099, U+50b3, U+50c5, U+5118, U+512a, U+5132, U+5141,
    U+5143, U+5148, U+5165, U+5167-5169, U+516c, U+5171, U+5176, U+518a, U+518d,
    U+5192, U+51c6, U+51fa, U+5206-5207, U+5217, U+5225, U+522a, U+5230, U+5236,
    U+5247, U+524d, U+525b, U+529f-52a0, U+52a9, U+52d5, U+52d9, U+52fe-52ff,
    U+5305, U+5339, U+5340, U+5347, U+534a, U+5354, U+5357, U+5370, U+5373,
    U+539f, U+53bb, U+53c3, U+53ca, U+53d6-53d7, U+53e3, U+53e6, U+53ea,
    U+53ef-53f0, U+53f2-53f3, U+53f8, U+5404, U+5408, U+540c-540d, U+5411,
    U+5426, U+542b, U+544a, U+54c1, U+54e1, U+54ea, U+552e, U+5546, U+554f,
    U+555f, U+5584, U+55ae, U+5668, U+56db, U+56de, U+56e0, U+56fa, U+570d,
    U+5713, U+5716, U+5718, U+5728, U+5730, U+5740, U+5747, U+578b, U+57df,
    U+57f7, U+57fa, U+584a, U+586b, U+589e, U+5916, U+591a, U+5927, U+592e,
    U+5931, U+5982, U+59a5, U+59cb, U+59d4, U+5b50, U+5b57-5b58, U+5b83,
    U+5b88-5b89, U+5b8c, U+5b98, U+5b9a, U+5bb9, U+5bc6, U+5be6, U+5beb-5bec,
    U+5bf8, U+5c07-5c08, U+5c0d-5c0f, U+5c11, U+5c1a, U+5c31, U+5c3a, U+5c3e,
    U+5c55, U+5c65, U+5c6c, U+5d4c, U+5de5-5de6, U+5df1-5df2, U+5e33, U+5e38,
    U+5e55, U+5e72-5e73, U+5e8f, U+5e95, U+5ea6, U+5ed3, U+5ee3, U+5ef6, U+5efa,
    U+5f0f, U+5f15, U+5f62, U+5f69, U+5f80, U+5f85, U+5f8c, U+5f91, U+5f97,
    U+5f9e, U+5faa, U+5fbd, U+5fc5, U+6025, U+6027, U+610f, U+614b, U+6191,
    U+61c9, U+6210-6211, U+6216, U+6240, U+624b, U+624d, U+627e, U+6280, U+628a,
    U+62c9, U+62d2, U+62ec, U+62fc, U+6301, U+6307, U+6309, U+6388, U+6392,
    U+63a1, U+63a5, U+63d0, U+63db, U+63f4, U+642d, U+6490, U+64a4, U+64c1,
    U+64c7, U+64ca, U+64cd, U+64fe, U+652f, U+6536, U+6539, U+653e-653f, U+6545,
    U+6548, U+6557, U+6574, U+6578, U+6587, U+6599, U+65b0, U+65b7, U+65b9,
    U+65bc-65bd, U+65cb, U+65e2, U+65e5, U+660e, U+661f, U+662f, U+6642, U+666f,
    U+66ab, U+66c6, U+66f4, U+66f8, U+66fe-6700, U+6703, U+6709, U+670d, U+671f,
    U+672a, U+672c, U+677f, U+6790, U+679c, U+67d0, U+67e5, U+6838, U+683c,
    U+6846, U+6848, U+689d, U+695a, U+6a19, U+6a23, U+6a58, U+6a5f, U+6a94,
    U+6aa2, U+6b04, U+6b0a, U+6b21, U+6b3e, U+6b62-6b65, U+6b77, U+6bb5, U+6bcd,
    U+6bcf, U+6bd4, U+6c42, U+6c7a, U+6c92, U+6cbf, U+6cc1, U+6cd5, U+6d29,
    U+6d41, U+6d88-6d89, U+6df1, U+6dfa, U+6e05, U+6e38, U+6ed1, U+6eff, U+700f,
    U+706b, U+70ba, U+7121, U+7126, U+7167, U+7247-7248, U+724c, U+72c0, U+7372,
    U+73bb, U+73fe, U+7406, U+7483, U+751f, U+7522, U+7528, U+7531, U+7533,
    U+7559, U+756b, U+7570, U+7576, U+7591, U+767b-767d, U+7684, U+76c8, U+76e4,
    U+76ee, U+76f4, U+76f8, U+770b, U+77e5, U+77ed, U+78ba, U+78bc, U+790e,
    U+793a, U+7968, U+79c1, U+79d2, U+79fb, U+7a0b, U+7a0d, U+7a2e, U+7a31,
    U+7a7a, U+7acb, U+7ad9, U+7ae0, U+7aef, U+7b26, U+7b2c, U+7b46, U+7b49,
    U+7b56, U+7b97, U+7ba1, U+7bb1, U+7bc0, U+7bc4, U+7c3d, U+7cfb, U+7d00,
    U+7d05, U+7d1a, U+7d42, U+7d44, U+7d50, U+7d55, U+7d61, U+7d66, U+7d71,
    U+7d81, U+7d93, U+7dad, U+7db2, U+7dca, U+7dda, U+7e2e, U+7e54, U+7e5e,
    U+7e7c, U+7e8c, U+7f3a, U+7f6e, U+7fa9, U+8005, U+800c, U+806f, U+80cc,
    U+80fd, U+81ea, U+81f3-81f4, U+8207, U+8272, U+82e5, U+82f1, U+83f1, U+8457,
    U+84cb, U+85cf, U+8655, U+865f, U+87a2, U+884c, U+8868, U+88ab, U+88dd,
    U+88e1, U+88fd, U+8907, U+896f, U+8981, U+898f, U+8996, U+89ba, U+89bd,
    U+89d2, U+89e3, U+8a02, U+8a08, U+8a0a, U+8a17-8a18, U+8a2d, U+8a31, U+8a3b,
    U+8a62, U+8a66, U+8a72, U+8a8d, U+8aa4, U+8aaa, U+8abf, U+8acb, U+8b49,
    U+8b58, U+8b77, U+8b80, U+8b8a, U+8b93, U+8c61, U+8ca9, U+8cac, U+8cbc,
    U+8cc7, U+8d77, U+8d85, U+8ddd, U+8ddf, U+8def, U+8df3, U+8e64, U+8eab,
    U+8f15, U+8f2a, U+8f38, U+8f49, U+8fa6, U+8fd4, U+8ff0, U+8ffd, U+9001,
    U+900f, U+9014, U+9019-901a, U+901f-9020, U+9023, U+9032, U+9047, U+904b,
    U+904e, U+9053-9054, U+9069, U+9075, U+9078, U+9080, U+90e8, U+90f5, U+90fd,
    U+914d, U+91cd, U+9215, U+92b7, U+9304, U+932f, U+9375, U+9418, U+9577,
    U+9589, U+958b, U+9593, U+95b1, U+95dc, U+9650, U+9664, U+968a, U+968e,
    U+969b-969c, U+96a8, U+96b1, U+96e2, U+96f2, U+96fb, U+9700, U+975e, U+9762,
    U+9801, U+9805, U+9808, U+9810, U+9846, U+984c, U+985e, U+986f, U+9996,
    U+9a57, U+9ad4, U+9ad8, U+9ebc, U+9ed1, U+9ede, U+ff08-ff09, U+ff0c, U+ff0f,
    U+ff1a-ff1b, U+ff1f;
}

/* Site typography: A and B share copy, colors and working links. */
.typography-preview {
  --type-body:
    'XignetSans', 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei',
    sans-serif;
  --type-display: 'XignetSans', sans-serif;
  font-family: var(--type-body);
  font-weight: 400;
  font-synthesis: none;
}
.typography-b {
  --type-display: 'XignetSerif', serif;
}
.typography-preview .information-main {
  font-family: var(--type-body);
}
.typography-preview .auth-brand {
  font-family: var(--type-display);
  font-weight: 400;
  letter-spacing: 0.1em;
}
.typography-preview .auth-brand > span:last-child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 44px;
  font-size: 18px;
  line-height: 1.2;
}
.typography-preview .auth-brand .brand-sub {
  font-family: var(--type-body);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.2em;
  margin-top: 0;
}
.typography-preview .site-header nav {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.03em;
}
.typography-preview .hero h1 {
  font-family: var(--type-display);
  font-size: 54px;
  font-weight: 350;
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin: 16px 0 24px;
}
.typography-b .hero h1 {
  font-size: 52px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.015em;
}
.typography-preview .hero .lead {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
}
.typography-preview .eyebrow {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.14em;
}
.typography-preview .start-panel h2 {
  font-family: var(--type-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.typography-preview .start-panel > p:not(.eyebrow) {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
}
.typography-preview .start-panel > .panel-note {
  font-size: 13px;
  line-height: 1.8;
}
.typography-preview .start-panel > .start-secondary {
  font-size: 13px;
  line-height: 1.8;
}
.typography-preview .passport-link {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.typography-preview .process > h2 {
  font-family: var(--type-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.typography-preview .steps h3 {
  font-family: var(--type-display);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.typography-preview .steps p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
}
.typography-preview .step-number {
  font-family: var(--type-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}
.typography-preview .site-footer {
  font-family: var(--type-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
}
.typography-preview .site-footer strong {
  font-family: var(--type-display);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.typography-preview .site-footer nav {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
}
@media (max-width: 760px) {
  .typography-preview .hero h1 {
    font-size: 34px;
  }
  .typography-preview .hero .lead {
    margin-bottom: 0;
  }
}
@media (max-width: 600px) {
  .typography-preview .auth-brand > span:last-child {
    height: 40px;
    font-size: 16px;
  }
  .typography-preview .auth-brand .brand-sub {
    font-size: 9px;
  }
}
@media (max-width: 380px) {
  .typography-preview .hero h1 {
    font-size: 32px;
  }
  .typography-preview
    .start-panel
    > p:not(.eyebrow):not(.panel-note):not(.start-secondary) {
    font-size: 14px;
    line-height: 1.9;
  }
  .typography-preview .hero {
    padding-top: 28px;
  }
}

/* Quiet footer links keep each selection shareable and keyboard accessible. */
.typography-preview .typography-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--subtle);
  font-family: var(--type-body);
  font-size: 12px;
  font-weight: 400;
}
.typography-preview .site-footer .typography-switch a {
  justify-content: center;
  min-width: 24px;
  min-height: 44px;
  padding: 0 4px;
  font-family: var(--type-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  color: var(--subtle);
}
.typography-preview .site-footer .typography-switch a[aria-current='page'] {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.typography-preview .site-footer .typography-switch a:hover {
  color: var(--ink);
}

/* Shared inner pages and brand guide. Button examples keep their published font. */
.typography-preview .auth-main,
.typography-preview .branding-guide,
.typography-preview .auth-footer {
  font-family: var(--type-body);
  font-weight: 400;
}
.typography-preview .information-main p {
  font-weight: 400;
}
.typography-preview .auth-card h1,
.typography-preview .document-header h1,
.typography-preview .branding-guide h1 {
  font-family: var(--type-display);
  font-weight: 350;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}
.typography-b .auth-card h1,
.typography-b .document-header h1,
.typography-b .branding-guide h1 {
  font-weight: 400;
}
.typography-preview .auth-card h2,
.typography-preview .auth-card h3,
.typography-preview .information-main h2,
.typography-preview .branding-guide h2,
.typography-preview .branding-guide h3 {
  font-family: var(--type-display);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.typography-preview .visa-name,
.typography-preview .client-name,
.typography-preview .resource-name {
  font-family: var(--type-display);
  font-weight: 400;
}
.typography-preview .auth-button,
.typography-preview .scope-action,
.typography-preview .auth-company {
  font-family: var(--type-body);
  font-weight: 500;
}
.typography-preview .auth-footer nav,
.typography-preview .site-footer nav {
  align-items: center;
}
.typography-preview .auth-footer nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.typography-preview .auth-footer .typography-switch a {
  padding: 0 4px;
  line-height: 1.8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 44px;
  color: var(--subtle);
  font-size: 12px;
}
.typography-preview .auth-footer .typography-switch a[aria-current='page'] {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* Account identifiers remain legible utility text, including long addresses. */
.typography-preview .auth-card h1.account-identity {
  font-family: var(--type-body);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 400;
  letter-spacing: 0;
}
