:root {
  color-scheme: dark;
  --bg-top: #231456;
  --bg-mid: #141b4d;
  --bg-bottom: #0b1230;
  --text: #f2efff;
  --muted: #b9b3d9;
  --gold: #f6c453;
  --link: #cfc6ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(60rem 30rem at 50% -6rem, rgba(139, 124, 255, 0.3), transparent 62%),
    linear-gradient(180deg, var(--bg-top), var(--bg-mid) 55%, var(--bg-bottom));
  text-align: center;
}

.site-header {
  padding: 1.25rem 1rem 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.brand {
  color: var(--text);
  font-weight: 600;
}

.brand-sep {
  margin: 0 0.4em;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 44rem;
  padding: 1.5rem 1.25rem 2rem;
}

.hero-min {
  gap: 0.25rem;
}

.hero-figure {
  margin: 0 0 1.75rem;
}

.hero-image {
  display: block;
  width: min(34rem, 92vw);
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 1.25rem;
  border: 1px solid rgba(190, 175, 255, 0.22);
  box-shadow:
    0 0 4rem rgba(124, 108, 255, 0.35),
    0 1.5rem 4rem rgba(0, 0, 0, 0.45);
  background: var(--bg-bottom);
}

.hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 5vw + 1rem, 2.9rem);
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-wrap: balance;
}

.hero-text {
  margin: 0;
  font-size: clamp(1rem, 2vw + 0.85rem, 1.2rem);
  color: var(--muted);
  text-wrap: pretty;
}

.home-link {
  color: var(--link);
  text-underline-offset: 0.2em;
}

.home-link:hover {
  color: var(--gold);
}

.home-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 0.2em;
  border-radius: 0.25em;
}

.site-footer {
  padding: 0 1rem 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}
