:root {
  --brand-blue: #44519A;
  --brand-green: #7BBC6F;
  --brand-red: #BD3435;
  --white: #FFFFFF;
  --text: #20243A;
  --muted: #62677A;
  --surface: #F5F7FC;
  --border: #DDE2F0;
  --shadow: 0 18px 50px rgba(32, 36, 58, 0.08);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --page-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible,
object:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--brand-blue);
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  color: var(--text);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.hero__inner {
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
  padding: 36px 0 clamp(76px, 9vw, 112px);
}

.brand {
  width: clamp(188px, 18vw, 236px);
}

.brand__logo {
  display: block;
  width: 100%;
  height: auto;
}

.hero__copy {
  max-width: 820px;
  margin-top: clamp(72px, 9vw, 108px);
}

.eyebrow,
.brochure__label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before,
.brochure__label::before {
  width: 18px;
  height: 4px;
  flex: 0 0 auto;
  content: "";
  background: var(--brand-green);
  border-radius: 999px;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 26px;
  color: var(--brand-blue);
  font-size: clamp(3rem, 7vw, 6.45rem);
  font-weight: 780;
  letter-spacing: -0.06em;
  line-height: 1;
}

h1 span {
  color: inherit;
}

.hero__intro {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.72;
}

.brochure-library {
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 112px) 0;
}

.library__intro {
  max-width: 700px;
}

.library__intro .eyebrow {
  margin-bottom: 12px;
}

.library__intro h2 {
  margin-bottom: 16px;
  color: var(--brand-blue);
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1;
}

.library__intro > p:last-child {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.brochure-switcher {
  min-width: 0;
  padding: 0;
  margin: clamp(38px, 6vw, 64px) 0 0;
  border: 0;
}

.language-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 5px;
  margin-bottom: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.language-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 66px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 14px 42px 14px 18px;
  color: var(--text);
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  user-select: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 140ms var(--ease-out);
}

.language-option::after {
  position: absolute;
  width: 9px;
  height: 5px;
  top: 50%;
  right: 14px;
  content: "";
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
  transform: translateY(-70%) rotate(-45deg);
}

.language-option__index {
  color: var(--muted);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

#language-english:checked ~ .language-switcher label[for="language-english"],
#language-simplified:checked ~ .language-switcher label[for="language-simplified"],
#language-traditional:checked ~ .language-switcher label[for="language-traditional"] {
  color: var(--white);
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

#language-english:checked ~ .language-switcher label[for="language-english"]::after,
#language-simplified:checked ~ .language-switcher label[for="language-simplified"]::after,
#language-traditional:checked ~ .language-switcher label[for="language-traditional"]::after {
  border-color: var(--white);
}

#language-english:checked ~ .language-switcher label[for="language-english"] .language-option__index,
#language-simplified:checked ~ .language-switcher label[for="language-simplified"] .language-option__index,
#language-traditional:checked ~ .language-switcher label[for="language-traditional"] .language-option__index {
  color: var(--white);
}

#language-english:focus-visible ~ .language-switcher label[for="language-english"],
#language-simplified:focus-visible ~ .language-switcher label[for="language-simplified"],
#language-traditional:focus-visible ~ .language-switcher label[for="language-traditional"] {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
}

.viewer-card {
  padding: clamp(22px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.viewer-panel {
  display: none;
}

#language-english:checked ~ .viewer-card .viewer-panel--english,
#language-simplified:checked ~ .viewer-card .viewer-panel--simplified,
#language-traditional:checked ~ .viewer-card .viewer-panel--traditional {
  display: block;
}

.brochure__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.brochure__label {
  margin-bottom: 9px;
}

.brochure__header h3 {
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-size: clamp(1.8rem, 4vw, 3.15rem);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.brochure__meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.pdf-link {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--brand-red);
  border: 1px solid var(--brand-red);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 820;
  text-decoration: none;
  transition: filter 160ms ease, transform 140ms var(--ease-out);
}

.pdf-link span {
  font-size: 1rem;
}

.pdf-link:active,
.language-option:active {
  transform: scale(0.98);
}

.pdf-frame {
  padding: 9px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.pdf-viewer {
  display: block;
  width: 100%;
  height: clamp(680px, 80vh, 1000px);
  overflow: hidden;
  background: var(--surface);
  border: 0;
  border-radius: 12px;
}

.pdf-viewer > p {
  padding: 32px;
  color: var(--text);
  background: var(--surface);
}

.site-footer {
  display: flex;
  width: min(calc(100% - 48px), var(--page-width));
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin: 0 auto;
  padding: 38px 0 54px;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer__brand {
  color: var(--brand-blue);
  font-weight: 880;
  letter-spacing: -0.025em;
}

.site-footer__disclaimer {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer__disclaimer {
  max-width: 560px;
  text-align: right;
}

@media (hover: hover) and (pointer: fine) {
  .language-option:hover {
    background: var(--white);
  }

  #language-english:checked ~ .language-switcher label[for="language-english"]:hover,
  #language-simplified:checked ~ .language-switcher label[for="language-simplified"]:hover,
  #language-traditional:checked ~ .language-switcher label[for="language-traditional"]:hover {
    filter: brightness(0.94);
  }

  .pdf-link:hover {
    filter: brightness(0.92);
  }
}

@media (max-width: 700px) {
  .hero__inner,
  .brochure-library,
  .site-footer {
    width: min(calc(100% - 28px), var(--page-width));
  }

  .hero__inner {
    padding-top: 22px;
    padding-bottom: 76px;
  }

  .brand {
    width: 180px;
  }

  .hero__copy {
    margin-top: 62px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.5rem);
  }

  .brochure-library {
    padding: 72px 0 92px;
  }

  .language-switcher {
    gap: 4px;
    padding: 4px;
    border-radius: 14px;
  }

  .language-option {
    min-height: 64px;
    flex-direction: column;
    gap: 4px;
    padding: 10px 8px;
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .language-option::after {
    width: 8px;
    height: 4px;
    top: 7px;
    right: 7px;
    transform: rotate(-45deg);
  }

  .language-option__index {
    font-size: 0.62rem;
  }

  .viewer-card {
    padding: 20px 14px 14px;
    border-radius: 18px;
  }

  .brochure__header {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 22px;
  }

  .pdf-link {
    width: 100%;
  }

  .pdf-frame {
    padding: 5px;
    border-radius: 14px;
  }

  .pdf-viewer {
    height: max(480px, 68vh);
    border-radius: 9px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .site-footer__disclaimer {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
