/* 已发布官网的实际样式；颜色、尺寸、断点与动画参数保持一致。 */
:root {
  --paper: #f7f9fb;
  --ink: #16324f;
  --body: #3d4c5c;
  --mist: #4c8dae;
  --mist-deep: #3e7a99;
  --snow: #eaf1f6;
}

*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  line-height: inherit;
  color: var(--body);
  background: var(--paper);
}

h1,
h2,
p,
dl,
dd {
  margin: 0;
}

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

img,
svg {
  display: block;
  vertical-align: middle;
}

img {
  max-width: 100%;
  height: auto;
}

main {
  flex: 1 1 0%;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  background: rgb(247 249 251 / .85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow 300ms cubic-bezier(.4, 0, .2, 1);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 0 #d8e2ea;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.brand {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--ink);
}

.navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navigation a {
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 500;
  text-underline-offset: 8px;
}

.brand,
.navigation a,
.hero-about {
  transition: color 200ms cubic-bezier(.4, 0, .2, 1);
}

.brand:hover,
.navigation a:hover {
  color: var(--mist-deep);
}

.navigation a:hover,
.hero-about:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  background: var(--ink);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background: rgb(22 50 79 / .45);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.025em;
  color: #fff;
}

.hero-tagline {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
  color: var(--snow);
  animation-delay: 120ms;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  animation-delay: 240ms;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 2rem;
  border-radius: 14px;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: #fff;
  background: var(--mist);
  transition: all 200ms cubic-bezier(0, 0, .2, 1);
}

.button:hover {
  transform: translateY(-.125rem);
  background: var(--mist-deep);
}

.hero-contact {
  gap: .5rem;
  box-shadow: 0 10px 15px -3px rgb(22 50 79 / .3), 0 4px 6px -4px rgb(22 50 79 / .3);
}

.hero-contact .mail-icon {
  font-size: .875rem;
}

.hero-about {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: 14px;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  text-underline-offset: 8px;
  color: var(--snow);
}

.hero-about:hover {
  color: #fff;
}

.hero-marker {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 10;
  width: 1px;
  height: 2.5rem;
  transform: translateX(-50%);
  background: rgb(234 241 246 / .5);
}

.section {
  padding: 4rem 0;
  scroll-margin-top: 4rem;
}

.about {
  background: var(--paper);
}

.section-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section h2 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  letter-spacing: -.025em;
  text-align: center;
  color: var(--ink);
}

.section-rule {
  width: 3rem;
  height: .25rem;
  margin: 1rem auto 0;
  border-radius: 9999px;
  background: var(--mist);
}

.section-description {
  max-width: 36rem;
  margin: 2rem auto 0;
  font-size: 1rem;
  line-height: 1.75rem;
  text-align: center;
}

.company-details {
  margin-top: 3rem;
}

.company-card {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--mist);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(22 50 79 / .06);
  transition: box-shadow 300ms cubic-bezier(0, 0, .2, 1);
}

.company-card + .company-card {
  margin-top: 1rem;
}

.company-card:hover {
  box-shadow: 0 8px 24px rgb(22 50 79 / .10);
}

.company-card dt {
  flex-shrink: 0;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--mist-deep);
}

.company-card dd {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--ink);
}

.contact {
  background: var(--ink);
  text-align: center;
}

.contact h2 {
  color: #fff;
}

.contact .section-description {
  color: var(--snow);
}

.contact-email {
  justify-content: center;
  gap: .75rem;
  width: 100%;
  max-width: 320px;
  margin: 2.5rem auto 0;
}

.email-caption {
  margin-top: 1.25rem;
  font-size: .875rem;
  line-height: 1.25rem;
  letter-spacing: .025em;
  color: rgb(234 241 246 / .8);
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgb(234 241 246 / .1);
  text-align: center;
  background: var(--ink);
}

.site-footer p {
  font-size: .875rem;
  line-height: 1.25rem;
}

.copyright {
  color: rgb(234 241 246 / .85);
}

.footer-brand,
.registrations {
  margin-top: .5rem;
  color: rgb(234 241 246 / .6);
}

.registrations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
  row-gap: .25rem;
}

.registrations a {
  transition: color 150ms cubic-bezier(.4, 0, .2, 1);
}

.registrations a:hover {
  color: var(--snow);
}

.hero-rise {
  animation-name: hero-rise;
  animation-duration: .6s;
  animation-timing-function: cubic-bezier(.4, 0, .2, 1);
  animation-fill-mode: both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 没有脚本时仍能读取正文；脚本启用后按原官网的 20% 可见阈值渐入。 */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .48s cubic-bezier(.4, 0, .2, 1), transform .48s cubic-bezier(.4, 0, .2, 1);
}

.js .reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .hero-actions,
  .company-card {
    flex-direction: row;
  }

  .company-card {
    align-items: center;
    gap: 1.5rem;
  }

  .company-card dt {
    width: 7rem;
  }
}

@media (min-width: 768px) {
  .header-content,
  .section-content {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .navigation {
    gap: 2rem;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .hero-tagline {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
