/* These subsets cover the localized pages. Refresh them when adding CJK copy. */
@font-face {
  font-family: "Veyoka TC";
  src: url("assets/noto-sans-tc.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Veyoka SC";
  src: url("assets/noto-sans-sc.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Veyoka JP";
  src: url("assets/noto-sans-jp.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --brand: #0042a1;
  --navy: #102348;
  --body: #425570;
  --muted: #546680;
  --line: #dce5f1;
  --wash: #f3f7fc;
  --width: 1120px;
  --system-font: -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--system-font);
}

:lang(zh-Hant) { font-family: "Veyoka TC", var(--system-font); }
:lang(zh-Hans) { font-family: "Veyoka SC", var(--system-font); }
:lang(ja) { font-family: "Veyoka JP", var(--system-font); }

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--navy); background: #fff; line-height: 1.75; letter-spacing: .02em; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #156cda; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
figure, p, dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.28; letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 8.1vw, 4.65rem); font-weight: 850; }
h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3.1vw, 2.25rem); }
.wrap { width: min(var(--width), calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; left: 12px; top: 12px; padding: 10px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; gap: 16px; }
.header-inner { min-height: 68px; justify-content: space-between; flex-wrap: wrap; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 1.38rem; line-height: 1; font-weight: 850; letter-spacing: -.035em; text-decoration: none; }
.brand img { border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 25px); font-size: .875rem; font-weight: 700; }
.language-switcher { position: relative; z-index: 2; margin-inline-start: auto; font-size: .875rem; font-weight: 700; }
.language-switcher summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--brand); cursor: pointer; list-style: none; white-space: nowrap; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.language-switcher[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.language-nav { position: absolute; inset: calc(100% + 6px) 0 auto auto; display: grid; gap: 3px; min-width: max(100%, 136px); padding: 5px; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 8px 20px #17365820; }
.language-nav a { padding: 8px 10px; border-radius: 6px; color: var(--body); white-space: nowrap; }
.language-nav a[aria-current="page"] { background: #e8f1ff; color: var(--brand); }
nav a { text-decoration: none; }
nav a:not(.button):hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 51px; border-radius: 9px; padding: 10px 19px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 750; }
.button:hover { background: #00317c; }
.button.small { min-height: 42px; padding: 8px 13px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 42px 40px; }
.eyebrow { margin-bottom: 11px; font-size: .83rem; color: var(--brand); font-weight: 800; letter-spacing: .055em; }
.signal { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 4px; vertical-align: 1px; }
.intro { margin-top: 17px; max-width: 29em; color: var(--body); font-size: clamp(1rem, 1.6vw, 1.16rem); }
.text-link { display: inline-block; padding-block: 10px; font-weight: 750; color: var(--brand); text-decoration: none; }
.fine { margin-top: 11px; color: var(--muted); font-size: .84rem; }

.hero-art { position: relative; isolation: isolate; display: grid; min-height: 360px; place-items: center; overflow: hidden; padding: 34px 20px 39px; border-radius: 23px; color: white; background: radial-gradient(ellipse at 80% 12%, #387edf, transparent 61%), radial-gradient(ellipse at 12% 90%, #197597, transparent 61%), linear-gradient(150deg, #003587, #081b45); }
.route { position: absolute; z-index: -1; width: 108%; height: 100%; inset: 0; margin: auto; stroke: #9ec8ff; stroke-opacity: .29; }
.flight { stroke-opacity: .83; stroke-dasharray: 5 7; }
.route-stop { fill: #b6f4ff; stroke: none; }
.art-tag { position: absolute; top: 13px; left: 16px; color: #d8ebff; letter-spacing: .12em; font-size: .59rem; font-weight: 750; }
.app-capture { display: block; width: 100%; height: auto; border-radius: 12px; }
.hero-art .app-capture { max-width: 460px; box-shadow: 0 16px 36px #03194766; }
.hero-art figcaption { position: absolute; right: 20px; bottom: 12px; color: #e0edff; font-size: .74rem; }

.journey { background: var(--wash); padding-block: 48px; }
.section-intro { margin-bottom: 29px; }
.feature { display: grid; gap: 19px; align-items: center; padding-block: 29px; border-top: 1px solid var(--line); }
.feature-copy > p:not(.eyebrow) { margin-top: 13px; max-width: 31em; color: var(--body); }
.feature-points { margin: 14px 0 0; padding-inline-start: 1.25em; max-width: 35em; color: var(--navy); font-size: .9rem; }
.feature-points li::marker { color: var(--brand); }
.step { display: inline-grid; place-items: center; width: 30px; height: 27px; margin-right: 5px; background: #e3edff; border-radius: 7px; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.feature-visual { display: grid; place-items: center; min-width: 0; padding: 25px 16px; border-radius: 19px; background: #e5effe; }
.feature-visual .app-capture { max-width: 460px; }
.feature-visual figcaption { margin-top: 8px; color: var(--muted); font-size: .77rem; }

.travel-check { padding-block: clamp(42px, 7vw, 78px); background: radial-gradient(ellipse at 12% 4%, #173f85, transparent 72%), #0b2049; color: #fff; }
.travel-check-inner { display: grid; gap: 26px; }
.travel-check .eyebrow { color: #bbd8ff; }
.travel-check .text-link { margin-top: 8px; color: #d8e9ff; }
.travel-check-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #6685b280; }
.travel-check-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding-block: 16px; border-bottom: 1px solid #6685b280; }
.check-number { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #6685b2; border-radius: 50%; color: #bbd8ff; font-size: .76rem; font-weight: 800; }
.travel-check-list h3 { font-size: 1.1rem; }
.travel-check-list p { margin-top: 5px; color: #d3e2f8; font-size: .93rem; }

.faq { display: grid; gap: 20px; padding-block: 48px; }
.questions { border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; font-weight: 750; cursor: pointer; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: ""; flex: 0 0 8px; height: 8px; margin: 0 5px 4px 0; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.questions details[open] summary::after { transform: rotate(225deg); margin-bottom: -4px; }
.questions details p { padding: 0 28px 14px 0; color: var(--body); }

.download-wrap { padding-bottom: 35px; }
.download { display: grid; grid-template-columns: minmax(0, 1fr); gap: 23px; padding: clamp(23px, 5.5vw, 60px); border-radius: 22px; background: linear-gradient(125deg, #062c6d, var(--brand)); color: #fff; }
.download .eyebrow { color: #bed9ff; }
.hero-download { max-width: 360px; margin-top: 22px; }
.launch-details { align-self: center; }
.download-platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.download-platforms li { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--wash); color: var(--brand); line-height: 1.35; }
.download-platforms img { flex: 0 0 24px; }
.download-platforms li > div { display: grid; gap: 2px; }
.download-platforms span { color: var(--muted); font-size: .82rem; }
.download-platforms .web-platform { grid-column: 1 / -1; padding: 0; }
.web-platform a { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 62px; padding: 10px; border-radius: 8px; color: var(--brand); text-decoration: none; }
.web-platform a:hover { background: #e3edff; }
.web-platform a:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.web-platform svg { flex: 0 0 24px; }
.web-platform a > div { display: grid; gap: 2px; }
.web-platform .web-arrow { margin-inline-start: auto; color: var(--brand); font-size: 1.25rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { flex-wrap: wrap; padding-block: 18px; }
.footer-inner p { color: var(--muted); font-size: .82rem; }
.footer-inner .brand-credit { flex-basis: 100%; font-size: .73rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-inline-start: auto; color: var(--brand); font-size: .875rem; font-weight: 700; }
.footer-legal a { text-underline-offset: .18em; }
.legal-document { max-width: 46rem; padding-block: clamp(28px, 6vw, 64px); }
.legal-document h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
.legal-document h2 { margin-top: 28px; font-size: clamp(1.15rem, 4vw, 1.45rem); }
.legal-document p, .legal-document li { color: var(--body); }
.legal-document p { margin-top: 12px; }
.legal-document ul { padding-inline-start: 1.35em; }
.legal-document li + li { margin-top: 8px; }

@media (max-width: 699px) {
  .site-nav { display: none; }
}
@media (max-width: 839px) {
  .site-nav a[href="#travel-check"] { display: none; }
}
@media (max-width: 559px) {
  .hero-art { min-height: 300px; }
  .footer-legal { flex-basis: 100%; margin-inline-start: 0; }
}
@media (min-width: 760px) {
  .wrap { width: min(var(--width), calc(100% - 72px)); }
  h1 { font-size: clamp(2.45rem, 5.8vw, 4.65rem); }
  :lang(en) h1 { font-size: clamp(2.2rem, 4.5vw, 3.9rem); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4.7vw, 58px); padding-block: 58px 65px; }
  .hero-art { min-height: clamp(380px, 39vw, 465px); }
  .journey { padding-block: 62px; }
  .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 6vw, 85px); padding-block: 37px; }
  .feature.reverse .feature-visual { order: -1; }
  .feature-visual { min-height: 280px; }
  .travel-check-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: clamp(30px, 7vw, 96px); }
  .faq { grid-template-columns: 1fr 2fr; gap: 36px; padding-block: 68px; }
  .download { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 40px; }
}
