:root {
  color-scheme: light;
  --white: #fff;
  --blue: #1745ce;
  --ink: #10235a;
  --muted: #5a6684;
  --wash: #eef3ff;
  --line: #dbe3f4;
  font-family: "Avenir Next", Avenir, "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 17px; line-height: 1.7; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue); }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 3px; }
p, h1, h2, h3 { margin: 0; }
.page-width { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: 12px; padding: 10px 18px; z-index: 10; background: var(--white); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; }
.wordmark { font-size: 30px; font-weight: 750; letter-spacing: -.06em; line-height: 1.2; text-decoration: none; }
.wordmark span { color: var(--blue); }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.language-link { padding-left: 24px; border-left: 1px solid var(--line); }
.intro { padding-block: 76px 88px; }
h1 { max-width: 100%; font-size: clamp(42px, 5.8vw, 72px); line-height: 1.25; letter-spacing: -.055em; font-weight: 650; color: var(--blue); overflow-wrap: anywhere; }
:lang(zh-Hant) h1 { letter-spacing: -.035em; line-height: 1.4; }
.intro-copy { max-width: 620px; margin-top: 32px; font-size: 19px; color: var(--muted); }
.products { background: var(--wash); padding-block: 66px 70px; scroll-margin-top: 24px; }
.product-layout { display: grid; grid-template-columns: minmax(180px, .75fr) minmax(0, 2fr); gap: 70px; align-items: start; }
.product-heading h2 { font-size: 18px; line-height: 1.5; font-weight: 600; }
.app-icon { display: block; width: 144px; height: 144px; margin-top: 38px; border-radius: 32px; }
.platform { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.product-copy h3 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.25; letter-spacing: -.04em; font-weight: 650; }
.product-tagline { font-size: 24px; margin-top: 24px; line-height: 1.5; letter-spacing: -.025em; }
.product-description { max-width: 590px; margin-top: 12px; color: var(--muted); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; margin-top: 30px; padding: 11px 24px; color: var(--white); background: var(--blue); border: 2px solid var(--blue); border-radius: 12px; text-decoration: none; font-size: 16px; font-weight: 650; }
.button:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.product-links { display: flex; flex-wrap: wrap; column-gap: 22px; row-gap: 0; margin-top: 22px; font-size: 13px; }
.product-links a { display: inline-flex; align-items: center; min-height: 44px; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding-block: 78px; scroll-margin-top: 24px; }
.contact h2 { font-size: 28px; line-height: 1.4; font-weight: 650; letter-spacing: -.035em; }
.contact p { color: var(--muted); margin-top: 14px; max-width: 510px; }
.email-link { font-size: 19px; font-weight: 600; color: var(--blue); white-space: nowrap; padding-block: 10px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer a { padding-block: 8px; }
.error-page { padding-block: 80px 120px; min-height: 65vh; }
.error-page h1 { font-size: clamp(34px, 6vw, 58px); }
.error-page p { margin-top: 24px; max-width: 620px; color: var(--muted); }
.error-links { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 800px) {
  .page-width { width: calc(100% - 48px); }
  .site-header { min-height: 94px; }
  .intro { padding-block: 44px 60px; }
  h1 { font-size: clamp(38px, 6.6vw, 56px); }
  .intro-copy { font-size: 17px; }
  .product-layout { grid-template-columns: 140px minmax(0, 1fr); gap: 30px; }
  .app-icon { width: 112px; height: 112px; border-radius: 25px; }
  .contact { flex-direction: column; align-items: start; gap: 20px; padding-block: 56px; }
}
@media (max-width: 560px) {
  .site-header { flex-wrap: wrap; gap: 4px 20px; padding-block: 20px 12px; }
  .wordmark { font-size: 27px; }
  .site-header nav { gap: 18px; font-size: 14px; }
  .language-link { padding-left: 16px; }
  .intro { padding-block: 42px 48px; }
  h1 { font-size: clamp(34px, 8.5vw, 45px); }
  :lang(zh-Hant) h1 { font-size: clamp(28px, 7.2vw, 40px); }
  .intro-copy { margin-top: 24px; }
  .desktop-break { display: none; }
  .products { padding-block: 36px 42px; }
  .product-layout { display: block; }
  .product-heading { display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-end; gap: 20px; margin-bottom: 30px; }
  .app-icon { width: 76px; height: 76px; border-radius: 18px; margin: 0; }
  .product-copy h3 { font-size: 32px; }
  .product-tagline { margin-top: 18px; font-size: 22px; }
  .button { width: 100%; margin-top: 24px; }
  .product-links { flex-direction: column; align-items: start; margin-top: 18px; font-size: 14px; }
  .contact { padding-block: 44px; }
  .email-link { font-size: 18px; white-space: normal; overflow-wrap: anywhere; }
}
@media (forced-colors: active) {
  .button { border-color: ButtonText; }
}
