:root {
  --ink: #202842;
  --deep: #101728;
  --navy: #293452;
  --muted: #66728e;
  --surface: #f3f6fb;
  --line: rgba(32, 40, 66, 0.12);
  --cyan: #a8eff4;
  font-family:
    "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
}

img {
  display: block;
  max-width: 100%;
}

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

.site-top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 84px;
  padding: 0 clamp(20px, 5vw, 80px);
  color: #fff;
  background: linear-gradient(180deg, rgba(16, 23, 40, 0.72), rgba(16, 23, 40, 0));
}

.brand {
  width: clamp(150px, 13vw, 210px);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-top nav {
  justify-self: center;
  display: flex;
  gap: clamp(14px, 2.6vw, 36px);
  font-size: 14px;
  font-weight: 800;
}

.site-top nav a {
  opacity: 0.78;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.site-top nav a:hover,
.site-top nav a:focus-visible,
.site-top nav a[aria-current="page"] {
  opacity: 1;
  transform: translateY(-2px);
}

.top-action,
.hero-copy a,
.link-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.top-action {
  padding: 0 22px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
}

.front-hero {
  position: relative;
  min-height: 760px;
  height: 94svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.front-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.03);
  animation: heroFloat 14s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 20, 36, 0.9) 0%, rgba(13, 20, 36, 0.58) 48%, rgba(13, 20, 36, 0.18) 100%),
    linear-gradient(180deg, rgba(13, 20, 36, 0.1), rgba(13, 20, 36, 0.62));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 44px));
  margin-left: clamp(22px, 8vw, 132px);
  padding-top: 64px;
}

.hero-copy p,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 1.08;
  letter-spacing: 0.04em;
}

.hero-copy span {
  display: block;
  width: min(650px, 100%);
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.72;
}

.hero-copy a {
  margin-top: 34px;
  padding: 0 28px;
  color: var(--deep);
  background: var(--cyan);
  box-shadow: 0 20px 52px rgba(168, 239, 244, 0.24);
}

.front-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(34px, 8vw, 110px);
  padding: clamp(58px, 8vw, 120px) clamp(22px, 7vw, 118px);
  border-bottom: 1px solid var(--line);
}

.front-section:nth-child(odd) {
  background: #fff;
}

.front-section h2 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1.18;
  letter-spacing: 0.02em;
}

.front-section p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.9;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.link-row a {
  padding: 0 22px;
  color: #fff;
  background: var(--navy);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 30px clamp(22px, 6vw, 90px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--deep);
}

.site-footer .brand-logo {
  width: 190px;
  filter: brightness(0) invert(1);
}

.site-footer span {
  max-width: 620px;
  line-height: 1.6;
}

@keyframes heroFloat {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-1.4%, 0, 0);
  }
}

@media (max-width: 980px) {
  .site-top {
    position: absolute;
    grid-template-columns: 1fr auto;
    align-items: start;
    padding: 18px 20px;
  }

  .site-top nav {
    grid-column: 1 / -1;
    justify-self: start;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .front-hero {
    min-height: 700px;
  }

  .hero-copy {
    width: calc(100% - 36px);
    margin-left: 18px;
    padding-top: 132px;
  }

  .front-section {
    grid-template-columns: 1fr;
    padding-inline: 22px;
  }

  .site-footer {
    display: grid;
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
