:root {
  color-scheme: light;
  --bg: #f7f8ff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --ink: #14203d;
  --muted: #5c6680;
  --line: rgba(75, 94, 157, 0.18);
  --blue: #1268e8;
  --cyan: #00b8d9;
  --violet: #6b4dff;
  --warm: #fff3e7;
  --warning: #fff5cf;
  --warning-line: #dcae28;
  --shadow: 0 24px 60px rgba(39, 57, 116, 0.12);
  --radius-large: 32px;
  --radius-medium: 22px;
  --radius-small: 14px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 3%, rgba(255, 213, 177, 0.48), transparent 25rem),
    radial-gradient(circle at 92% 8%, rgba(205, 196, 255, 0.42), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(126, 232, 245, 0.18), transparent 34rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #084da9;
}

a:focus-visible,
.language-control:focus-visible + .language-tab {
  outline: 3px solid rgba(18, 104, 232, 0.35);
  outline-offset: 4px;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding: 14px 16px 14px 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(39, 57, 116, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(42, 94, 220, 0.18);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  overflow-x: auto;
  background: rgba(237, 240, 251, 0.82);
  border-radius: 999px;
  scrollbar-width: none;
}

.language-switch::-webkit-scrollbar {
  display: none;
}

.language-control {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.language-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
}

#language-en:checked ~ main label[for="language-en"],
#language-zh:checked ~ main label[for="language-zh"],
#language-zh-hant:checked ~ main label[for="language-zh-hant"],
#language-ja:checked ~ main label[for="language-ja"],
#language-ko:checked ~ main label[for="language-ko"] {
  background: var(--surface-strong);
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(39, 57, 116, 0.13);
}

[data-page-language] {
  display: none;
}

#language-en:checked ~ main [data-page-language="en"],
#language-zh:checked ~ main [data-page-language="zh-Hans"],
#language-zh-hant:checked ~ main [data-page-language="zh-Hant"],
#language-ja:checked ~ main [data-page-language="ja"],
#language-ko:checked ~ main [data-page-language="ko"] {
  display: block;
}

.hero,
.panel {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
  gap: 36px;
  align-items: center;
  min-height: 360px;
  margin-bottom: 22px;
  padding: clamp(30px, 6vw, 68px);
  border-radius: var(--radius-large);
}

.hero::after {
  position: absolute;
  right: -110px;
  bottom: -170px;
  width: 390px;
  height: 390px;
  background: radial-gradient(circle, rgba(0, 184, 217, 0.23), rgba(107, 77, 255, 0.08) 48%, transparent 72%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p,
li {
  font-size: 16px;
}

.lede {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.meta {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.hero-mark img {
  width: min(220px, 70vw);
  height: auto;
  filter: drop-shadow(0 24px 34px rgba(40, 74, 178, 0.22));
}

.action-row,
.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.action-row {
  margin-top: 26px;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
}

.button {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(49, 82, 210, 0.22);
}

.button:hover {
  color: #ffffff;
  filter: brightness(0.94);
}

.text-link {
  background: rgba(238, 241, 252, 0.9);
  color: var(--ink);
  border: 1px solid rgba(75, 94, 157, 0.13);
}

.text-link:hover {
  color: var(--blue);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.panel {
  margin-bottom: 22px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-medium);
}

.content-grid .panel {
  margin-bottom: 0;
}

.content-grid + .panel,
.panel + .content-grid {
  margin-top: 22px;
}

.panel p:last-child,
.panel ul:last-child {
  margin-bottom: 0;
}

.panel ul,
.panel ol {
  margin: 0;
  padding-left: 1.25rem;
}

.panel li + li {
  margin-top: 9px;
}

.wide {
  grid-column: 1 / -1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.feature-card {
  min-height: 180px;
  padding: 22px;
  background: linear-gradient(155deg, #ffffff, #f2f4ff);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.feature-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  background: linear-gradient(135deg, rgba(18, 104, 232, 0.12), rgba(107, 77, 255, 0.14));
  border-radius: 11px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.callout {
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(18, 104, 232, 0.08), rgba(0, 184, 217, 0.08));
  border: 1px solid rgba(18, 104, 232, 0.2);
  border-radius: var(--radius-small);
}

.callout.warning {
  background: var(--warning);
  border-color: rgba(220, 174, 40, 0.45);
}

.callout strong {
  display: block;
  margin-bottom: 4px;
}

.callout p:last-child {
  margin-bottom: 0;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(26px, 5vw, 44px);
  background: linear-gradient(135deg, #122b70, #3159d9 55%, #6b4dff);
  border-radius: var(--radius-medium);
  color: #ffffff;
  box-shadow: 0 24px 50px rgba(36, 60, 148, 0.22);
}

.contact-card h2,
.contact-card p {
  color: #ffffff;
}

.contact-card p {
  margin-bottom: 0;
  opacity: 0.82;
}

.contact-card .button {
  flex: 0 0 auto;
  background: #ffffff;
  color: #19357c;
  box-shadow: none;
}

.contact-card .button:hover {
  color: #19357c;
}

.email-address {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.email-at::before {
  content: "@";
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 6px 0;
  color: var(--muted);
  font-size: 13px;
}

footer p {
  margin: 0;
  font-size: inherit;
}

.page-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  main {
    width: min(100% - 24px, 1120px);
    padding-top: 12px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 13px;
    border-radius: 22px;
  }

  .language-switch {
    width: 100%;
  }

  .hero {
    min-height: 0;
    padding: 34px 24px;
    border-radius: 24px;
  }

  h1 {
    font-size: clamp(38px, 14vw, 58px);
  }

  .content-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-card .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  main {
    width: 100%;
    padding: 0;
  }

  .topbar,
  .hero-mark,
  .action-row,
  footer {
    display: none;
  }

  .hero,
  .panel {
    background: #ffffff;
    border: 1px solid #cccccc;
    box-shadow: none;
    break-inside: avoid;
  }
}
