:root {
  color-scheme: light;
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", sans-serif;
  color: #1f2937;
  background: #f7fbff;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
  background: #f7fbff;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background-color: #f7fbff;
  background-image: image-set(
    url("/public/index/images/bg-a78bd306.webp") type("image/webp"),
    url("/public/index/images/bg-d69385e3.png") type("image/png")
  );
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

a {
  color: inherit;
}

.page-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(44, 113, 184, 0.1);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.header-inner,
.info-container,
.footer-inner {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.header-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  color: #1684f6;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.brand picture,
.brand img {
  display: block;
  width: 38px;
  height: 38px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 26px;
}

.site-nav a {
  position: relative;
  padding: 23px 0 20px;
  color: #667085;
  font-size: 15px;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: #178aff;
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #1684f6;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.language-control {
  display: inline-flex;
  width: 108px;
  min-width: 108px;
  height: 32px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 9px;
  border: 1px solid rgba(61, 117, 181, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.language-control picture,
.language-control img {
  display: block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  order: 2;
}

.language-control select {
  order: 1;
  width: 72px;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: #344054;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  appearance: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.info-main {
  flex: 1 0 auto;
  padding: 46px 0 76px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #7b8492;
  font-size: 14px;
}

.breadcrumb a {
  color: #1684f6;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span[aria-hidden="true"] {
  color: #aab3bf;
}

.info-card {
  overflow: hidden;
  border: 1px solid rgba(40, 128, 218, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(38, 94, 148, 0.12);
}

.info-hero {
  padding: 48px 56px 38px;
  border-bottom: 1px solid #eaf1f8;
  background:
    radial-gradient(circle at 92% 10%, rgba(124, 101, 255, 0.16), transparent 31%),
    linear-gradient(135deg, rgba(39, 151, 255, 0.13), rgba(255, 255, 255, 0.9) 62%);
}

.info-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #1684f6;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.info-hero h1 {
  margin: 0;
  color: #171d29;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.24;
  letter-spacing: -0.025em;
}

.info-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #6f7988;
  font-size: 16px;
  line-height: 1.75;
}

.info-content {
  padding: 44px 56px 56px;
}

.info-content > :first-child {
  margin-top: 0;
}

.info-content > :last-child {
  margin-bottom: 0;
}

.info-content p {
  margin: 0;
  color: #5f6b7a;
  font-size: 16px;
  line-height: 1.9;
}

.info-content p + p {
  margin-top: 12px;
}

.lead-paragraph {
  color: #4f5c6d !important;
}

.lead-paragraph + .info-section {
  margin-top: 34px;
}

.info-section {
  scroll-margin-top: 94px;
}

.info-section + .info-section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid #edf2f7;
}

.info-section h2 {
  margin: 0 0 12px;
  color: #202a38;
  font-size: 22px;
  line-height: 1.5;
}

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

.policy-grid .info-section {
  min-height: 100%;
  padding: 24px;
  border: 1px solid #e6eef7;
  border-radius: 14px;
  background: #fbfdff;
}

.policy-grid .info-section + .info-section {
  margin-top: 0;
}

.inline-link,
.contact-email {
  color: #1684f6;
  text-decoration: none;
}

.inline-link:hover,
.contact-email:hover {
  text-decoration: underline;
}

.agreement-callout {
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid rgba(23, 138, 255, 0.2);
  border-radius: 13px;
  color: #5f6b7a;
  background: rgba(23, 138, 255, 0.055);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  border: 1px solid rgba(23, 138, 255, 0.16);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(39, 151, 255, 0.08), rgba(124, 101, 255, 0.06));
}

.contact-panel h2 {
  margin: 0 0 8px;
  color: #202a38;
  font-size: 22px;
}

.contact-panel p {
  margin: 0;
}

.contact-email {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #2797ff, #1178f1);
  box-shadow: 0 12px 24px rgba(19, 122, 240, 0.2);
  font-weight: 600;
}

.contact-email:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.site-footer {
  flex: 0 0 auto;
  border-top: 1px solid rgba(44, 113, 184, 0.1);
  color: #818a98;
  background: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 66px;
  align-items: center;
  gap: 24px;
}

.footer-inner strong {
  color: #4f5968;
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}

.footer-links a {
  color: #818a98;
  text-decoration: none;
}

.footer-links a:hover {
  color: #1684f6;
}

.copyright {
  justify-self: end;
}

.brand:focus-visible,
.site-nav a:focus-visible,
.language-control select:focus-visible,
.breadcrumb a:focus-visible,
.footer-links a:focus-visible,
.inline-link:focus-visible,
.contact-email:focus-visible {
  outline: 3px solid rgba(22, 127, 245, 0.28);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .header-inner {
    min-height: 76px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 4px 20px;
  }

  .header-actions {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .header-actions .site-nav {
    flex: 1 1 520px;
  }

  .site-nav a {
    padding: 7px 0 8px;
  }

  .site-nav a::after {
    bottom: 2px;
  }

  .info-main {
    padding-top: 28px;
  }

  .info-hero,
  .info-content {
    padding-right: 32px;
    padding-left: 32px;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    padding: 22px 0;
    text-align: center;
  }

  .copyright {
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .info-container,
  .footer-inner {
    width: min(100% - 28px, 1080px);
  }

  .brand picture,
  .brand img {
    width: 34px;
    height: 34px;
  }

  .site-nav {
    gap: 3px 15px;
  }

  .header-actions {
    gap: 6px 14px;
  }

  .site-nav a {
    font-size: 14px;
  }

  .info-main {
    padding-bottom: 42px;
  }

  .info-card {
    border-radius: 16px;
  }

  .info-hero {
    padding: 34px 22px 28px;
  }

  .info-hero h1 {
    font-size: 32px;
  }

  .info-content {
    padding: 30px 22px 38px;
  }

  .policy-grid .info-section {
    padding: 20px;
  }

  .info-content p {
    font-size: 15px;
  }

  .info-section h2 {
    font-size: 20px;
  }

  .contact-email {
    width: 100%;
    overflow-wrap: anywhere;
  }
}

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

  .site-nav a::after,
  .contact-email {
    transition: none;
  }
}
