:root {
  color-scheme: dark;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  color: #ffffff;
  background: #171f26;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  height: 100svh;
  min-height: 100svh;
  margin: 0;
  background: #171f26;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

main {
  min-height: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid #74878D;
  outline-offset: 5px;
}

.site-header,
.latest-section,
.site-footer {
  width: min(100%, 1672px);
  margin-inline: auto;
  padding-inline: clamp(16px, 2.25vw, 32px);
}

.site-header {
  min-height: clamp(76px, 10svh, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 650;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 40px);
  font-size: 0.9375rem;
  font-weight: 550;
}

.menu {
  position: relative;
}

.menu-toggle {
  width: 44px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-line {
  width: 28px;
  height: 3px;
  background: #ffffff;
  border-radius: 999px;
}

.menu:hover .menu-line {
  background: #74878D;
}

.menu-panel {
  display: none;
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  right: 0;
  min-width: 120px;
  padding: 8px;
  color: #11171c;
  background: #F3F3F1;
}

.menu:hover .menu-panel {
  display: block;
}

.menu-panel::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 0;
  left: 0;
  height: 8px;
}

.menu-panel a {
  display: block;
  padding: 10px 12px;
}

.menu-panel a:hover {
  background: #74878D;
}

@media (hover: none) {
  .menu:focus-within .menu-panel {
    display: block;
  }
}

.contact-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  color: #11171c;
  background: #74878D;
  clip-path: polygon(9% 0, 91% 0, 100% 50%, 91% 100%, 9% 100%, 0 50%);
  transition: background-color 160ms ease;
}

.contact-link:hover {
  background: #74878D;
}

.latest-section {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding-bottom: clamp(10px, 1.5vh, 16px);
  scroll-margin-top: 16px;
}

.latest-section h1 {
  margin: 10px 0 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.hero-figure picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer {
  padding-top: 4px;
  padding-bottom: 18px;
}

.site-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}

.filing-records {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}

.filing-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: color 160ms ease;
}

.filing-link:hover {
  color: #74878D;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.filing-icon {
  width: 18px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .site-header,
  .latest-section,
  .site-footer {
    padding-inline: 20px;
  }

  .site-header {
    min-height: 84px;
    gap: 16px;
  }

  .brand {
    font-size: 1.125rem;
  }

  .site-nav {
    gap: 10px;
    font-size: 0.8125rem;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .menu-line {
    width: 24px;
    height: 2px;
  }

  .contact-link {
    min-height: 40px;
    padding-inline: 18px;
  }

  .latest-section h1 {
    margin-top: 8px;
    margin-bottom: 10px;
    font-size: 0.8125rem;
  }

  .site-footer {
    padding-bottom: 20px;
  }

  .filing-records {
    column-gap: 14px;
  }
}

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

  .contact-link {
    transition: none;
  }

  .filing-link {
    transition: none;
  }
}
