:root {
  color-scheme: light;
  --bg: #f8fbfd;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #111b31;
  --muted: #66728a;
  --soft: #93a2b7;
  --line: #dce7f0;
  --accent: #1faec4;
  --accent-dark: #168aa1;
  --active: #2f62ff;
  --shadow: 0 18px 42px rgba(42, 66, 96, 0.11);
  --shadow-soft: 0 10px 28px rgba(56, 86, 119, 0.09);
  --radius: 14px;
  --font: "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

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

img,
svg {
  display: block;
}

button,
input {
  font: inherit;
}

.shell {
  width: min(100% - 48px, 1510px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 16px rgba(44, 65, 92, 0.04);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
  color: #142039;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 4.3vw, 54px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  color: #253048;
  font-size: 17px;
  font-weight: 650;
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 3px;
  bottom: 0;
  left: 3px;
  height: 3px;
  content: "";
  background: var(--active);
  border-radius: 999px 999px 0 0;
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--active);
}

.nav-link.active::after,
.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 232px;
  overflow: hidden;
  border-bottom: 1px solid #d8e8f2;
  background:
    radial-gradient(circle at 80% 46%, rgba(255, 250, 215, 0.9) 0 42px, rgba(255, 255, 255, 0) 86px),
    linear-gradient(180deg, #f9fdff 0%, #eef8fc 58%, #e7f3f8 100%);
}

.hero-sky {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-mountains.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  opacity: 0.82;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 44px 0 8px;
  text-align: center;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  color: #142038;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.14;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.9);
}

.hero p {
  max-width: 860px;
  margin: 14px 0 18px;
  color: #5b6476;
  font-size: clamp(16px, 1.65vw, 20px);
  font-weight: 500;
}

.search-box {
  position: relative;
  width: min(100%, 540px);
  margin: 0;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 22px;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #7c8aa3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  height: 56px;
  padding: 0 24px 0 62px;
  color: #26324a;
  font-size: 18px;
  font-weight: 520;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d4deeb;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(28, 50, 82, 0.14), inset 0 1px 0 #fff;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-box input::placeholder {
  color: #a1aabc;
}

.search-box input:focus {
  border-color: rgba(31, 174, 196, 0.72);
  box-shadow: 0 14px 34px rgba(31, 174, 196, 0.18), 0 0 0 4px rgba(31, 174, 196, 0.14);
}

.site-section {
  padding: 28px 0 12px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.title-accent {
  width: 5px;
  height: 27px;
  background: linear-gradient(180deg, #19b8d1, #29a0d5);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(31, 174, 196, 0.08);
}

.section-title h2 {
  margin: 0;
  color: #111b31;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 850;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 28px;
}

.site-card {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: 24px;
  height: 180px;
  padding: 18px 30px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    var(--surface-strong);
  border: 1px solid #e5edf4;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-card:hover {
  border-color: #cce5ee;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card-art {
  grid-row: 1;
  align-self: center;
  justify-self: start;
  width: 122px;
  height: 104px;
  object-fit: contain;
}

.card-copy {
  align-self: center;
  min-width: 0;
}

.card-copy h3 {
  margin: 0 0 6px;
  color: #0d172d;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.25;
}

.card-copy p {
  margin: 0;
  color: #6f7a8e;
  font-size: 15px;
  font-weight: 520;
  line-height: 1.45;
}

.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 6px 17px 7px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  background: #f3fcfd;
  border: 1.5px solid #53c5d5;
  border-radius: 6px;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.card-action:hover,
.card-action:focus-visible {
  color: #fff;
  background: var(--accent);
  outline: none;
  transform: translateY(-1px);
}

.card-url {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
  color: #7f8ca2;
  font-size: 15px;
  font-weight: 500;
  word-break: break-all;
}

.card-url svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.empty-state {
  margin: 22px 0 32px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.74);
  border: 1px dashed #c7d7e4;
  border-radius: var(--radius);
}

.empty-state strong {
  display: block;
  margin-bottom: 6px;
  color: #18243a;
  font-size: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  color: #9aa6b8;
  font-size: 15px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-brand img {
  width: 31px;
  height: 24px;
}

.footer-inner p {
  margin: 0;
  color: #8a95a7;
  font-size: 17px;
  font-weight: 620;
  text-align: center;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.social-links a {
  display: inline-flex;
  color: #5d6879;
  transition: color 160ms ease, transform 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--active);
  outline: none;
  transform: translateY(-2px);
}

.social-links svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.social-links a:not(:first-child) svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

@media (max-width: 1180px) {
  .site-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 1510px);
  }

  .header-inner {
    align-items: flex-start;
    min-height: 94px;
    padding: 14px 0 0;
    flex-direction: column;
    gap: 6px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }

  .nav-link {
    min-height: 42px;
    font-size: 15px;
  }

  .hero {
    min-height: 322px;
  }

  .hero-content {
    padding: 44px 0 42px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(30px, 8.5vw, 34px);
  }

  .hero p {
    margin-top: 14px;
    font-size: 16px;
  }

  .search-box input {
    height: 52px;
    font-size: 16px;
  }

  .site-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-card {
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 18px;
    min-height: 164px;
    padding: 20px 20px 18px;
  }

  .card-art {
    width: 96px;
    height: 88px;
  }

  .card-copy h3 {
    font-size: 19px;
  }

  .card-copy p,
  .card-url {
    font-size: 15px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 18px 0;
  }

  .footer-brand {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 460px) {
  .site-card {
    grid-template-columns: 86px minmax(0, 1fr);
    column-gap: 16px;
    height: auto;
    min-height: 176px;
    padding: 20px 18px 17px;
  }

  .card-art {
    width: 78px;
    height: 74px;
    margin-bottom: 0;
  }

  .card-url {
    margin-top: 15px;
  }
}

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