:root {
  color-scheme: light;
  font-family: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  color: #26322c;
  background: #f3efe7;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.92), transparent 38%),
    linear-gradient(145deg, #f7f4ed 0%, #eee8dd 100%);
}

.welcome {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 66px);
  min-height: calc(100svh - 66px);
  padding: 48px 24px;
  overflow: hidden;
}

.welcome::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 24px;
  border: 1px solid rgba(38, 50, 44, 0.12);
  pointer-events: none;
}

.welcome-card {
  width: min(720px, 100%);
  text-align: center;
  animation: reveal 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  border: 1px solid #718074;
  border-radius: 50%;
  color: #445249;
  font-family: Georgia, serif;
  font-size: 28px;
  font-style: italic;
}

.eyebrow {
  margin: 0 0 20px;
  color: #718074;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;
}

h1 {
  margin: 0;
  color: #26322c;
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 150px;
  margin: 30px auto 24px;
}

.divider span {
  width: 52px;
  height: 1px;
  background: rgba(38, 50, 44, 0.35);
}

.divider i {
  width: 5px;
  height: 5px;
  border: 1px solid #718074;
  transform: rotate(45deg);
}

.subtitle {
  margin: 0;
  color: #6c736e;
  font-size: clamp(14px, 2vw, 17px);
  letter-spacing: 0.2em;
}

.ambient {
  position: absolute;
  z-index: -2;
  width: 34vw;
  height: 34vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
}

.ambient-left {
  left: -17vw;
  bottom: -18vw;
  background: rgba(153, 169, 147, 0.25);
}

.ambient-right {
  top: -19vw;
  right: -14vw;
  border: 1px solid rgba(151, 126, 90, 0.16);
  box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.35);
}

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 16px 24px;
  border-top: 1px solid rgba(38, 50, 44, 0.1);
  background: rgba(243, 239, 231, 0.78);
  backdrop-filter: blur(12px);
}

.site-footer a {
  color: #6c736e;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 13px;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #26322c;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer a:focus-visible {
  outline: 2px solid #718074;
  outline-offset: 5px;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .welcome {
    padding: 36px 28px;
  }

  .welcome::before {
    inset: 14px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 52px);
    letter-spacing: 0.04em;
  }

  .subtitle {
    line-height: 1.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-card {
    animation: none;
  }
}
