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

html {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.page {
  min-height: 100dvh;
  background-color: #D2E2EB;
  display: flex;
  flex-direction: column;
}

/* Hero */
.hero {
  padding: 3rem 1rem;
  text-align: center;
  font-weight: 600;
  color: #0078BD;
  background-image: url('../images/landingTitleBg.png');
  background-size: cover;
  background-position: center;
}

.hero-content {
  width: 100%;
}

.hero-title-zh {
  font-size: 1.5rem;
  line-height: 1.2;
  word-break: keep-all;
  overflow-wrap: break-word;
  hyphens: none;
  margin-bottom: 6px;
}

.hero-title-en {
  font-size: 0.75rem;
  line-height: 1.2;
  overflow-wrap: break-word;
  hyphens: none;
}

@media (min-width: 768px) {
  .hero {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-title-zh,
  .hero-title-en {
    display: block;
    width: 100%;
  }

  .hero-title-en {
    font-size: 1rem;
  }
}

/* Content */
.content {
  flex: 1;
  max-width: 936px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem 1.25rem;
}

.supplies-section {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: 20px;
  color: #000;
}

.supplies-title-zh {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.supplies-title-en {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.supplies-text {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.supplies-text:last-child {
  margin-bottom: 0;
}

.supplies-text a {
  color: #0078bd;
  text-decoration: underline;
}

.supplies-section + .supplies-section {
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .supplies-section {
    padding: 1.5rem;
  }

  .supplies-title-zh {
    font-size: 1.25rem;
  }

  .supplies-title-en {
    font-size: 1.125rem;
  }

  .supplies-text {
    font-size: 1rem;
  }
}

/* Footer */
.footer {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-link-wrap {
  font-size: 12px;
  line-height: 31.2px;
  color: #666;
  text-align: center;
}

.footer-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.footer-link-zh::after {
  content: ' ';
}

.footer-pipe {
  margin-left: 0.25rem;
}

.footer-divider {
  display: none;
}

.footer-copy {
  color: #666;
  font-size: 12px;
  line-height: 31.2px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
  }

  .footer-link-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
  }

  .footer-link {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
  }

  .footer-link-zh::after {
    content: none;
  }

  .footer-pipe {
    display: none;
  }

  .footer-divider {
    display: inline-block;
    width: 1px;
    height: 13px;
    background: #666;
    margin: 0 0.75rem;
  }

  .footer-copy {
    line-height: 16.8px;
  }
}

/* Header */
.header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fff;
}

.header-icon {
  width: 2.75rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.header-title {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
}

/* Statement page */
.statement-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: #D2E2EB;
}

.statement-page .page.page--statement {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  background-color: #D2E2EB;
}

.statement-page .page.page--statement::after {
  content: '';
  flex: 1;
  width: 100%;
}

.statement-page .header,
.statement-page .footer {
  flex-shrink: 0;
}

/* override .page min-height on statement layout */
.statement-page .page {
  min-height: 0;
}

.statement-card {
  flex: 0 0 auto;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 936px;
  padding: 2.5rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.statement-inner {
  display: flex;
  flex-direction: column;
}

.statement-inner > * + * {
  margin-top: 1.5rem;
}

.statement-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.statement-group > * + * {
  margin-top: 1.5rem;
}

.pis-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-weight: 700;
  line-height: normal;
  color: #333;
}

.pis-title p {
  margin: 0;
  font-weight: 700;
}

.pis-title p:first-child {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.pis-title p:last-child {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

@media (min-width: 640px) {
  .pis-title p:first-child {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .pis-title p:last-child {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.footer-link--current {
  cursor: default;
  pointer-events: none;
}

.footer-link--current:hover {
  text-decoration: none;
}

.content-text {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  line-height: 1.4;
  color: #000;
  width: 100%;
}

.content-text p {
  margin: 0;
  line-height: 1.4;
}

.divider {
  display: block;
  width: 100px;
  height: 0.25rem;
  flex-shrink: 0;
}

/* 恢復所有 ul/ol 嘅縮排 */
ul,
ol {
  padding-left: 20px;
}