:root {
  color-scheme: dark;
  --ink: #f1f0e9;
  --muted: #999b94;
  --bg: #10110f;
  --surface: #171815;
  --line: rgba(255, 255, 255, 0.13);
  --sans: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 4%, rgba(116, 126, 91, 0.13), transparent 29rem),
    var(--bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1320px, calc(100% - 64px));
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--bg);
  background: var(--ink);
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.header-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

main {
  flex: 1;
  padding: clamp(52px, 6vw, 76px) 0 clamp(68px, 7vw, 88px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  align-items: end;
  gap: clamp(36px, 6vw, 80px);
  margin-bottom: clamp(38px, 4.5vw, 56px);
}

.eyebrow {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 -18px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bd5844;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 6.3vw, 88px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
}

.intro > p:last-child {
  max-width: 520px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.8;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.site-card {
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  isolation: isolate;
  transition: transform 220ms ease, background 220ms ease;
}

.site-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 260px;
  height: 260px;
  right: -130px;
  bottom: -160px;
  border-radius: 50%;
  opacity: 0.17;
  filter: blur(1px);
  transform: scale(1);
  transition: transform 350ms ease, opacity 350ms ease;
}

.card-integrity::before {
  background: #5f82aa;
}

.card-trump::before {
  background: #b05b42;
}

.card-tiantan::before {
  background: #51846b;
}

.site-card:hover {
  z-index: 2;
  background: #1d1e1a;
  transform: translateY(-8px);
}

.site-card:hover::before {
  opacity: 0.35;
  transform: scale(1.45);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.status {
  color: #aebdad;
  letter-spacing: 0.06em;
}

.status i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: #75a17a;
  vertical-align: 1px;
}

.card-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 54px 0 36px;
}

.card-body h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(27px, 2.6vw, 39px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.card-body p {
  max-width: 330px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 21px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-card:hover .arrow {
  color: var(--bg);
  border-color: var(--ink);
  background: var(--ink);
}

.card-domain {
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: #b9bbb4;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

  .site-card {
    min-height: 310px;
  }

  .site-card:last-child {
    grid-column: 1 / -1;
  }

  .site-card:last-child .card-body p {
    max-width: 560px;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 28px, 560px);
  }

  .site-header {
    height: 76px;
  }

  main {
    padding: 46px 0 60px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 40px;
  }

  .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .intro > p:last-child {
    margin: 0;
  }

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

  .site-card {
    min-height: 258px;
    padding: 22px;
  }

  .site-card:last-child {
    grid-column: auto;
  }

  .card-body {
    align-items: center;
    padding: 36px 0 27px;
  }

  .card-body h2 {
    font-size: clamp(27px, 8vw, 31px);
  }

  .card-body p {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.7;
  }

  .arrow {
    width: 40px;
    height: 40px;
  }

  footer {
    flex-direction: column;
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
