:root {
  color-scheme: dark;
  --space: #030b15;
  --text: #d4e4ee;
  --secondary: #a9c0ce;
  --cyan: #91c5db;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
}
* { box-sizing: border-box; }
html { min-width: 280px; background: var(--space); }
body { margin: 0; color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
p, h1 { margin: 0; }
::selection { background: #28536b; color: #eef8ff; }

.atmosphere { position: fixed; inset: 0; z-index: -1; background: var(--space) url("assets/cosmos-wide.webp") center / cover no-repeat; }
.atmosphere::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(3, 11, 21, .06), rgba(3, 11, 21, .30) 72%),
    linear-gradient(0deg, rgba(2, 7, 15, .85), transparent 23%, transparent 72%, rgba(2, 7, 15, .22));
}
.page {
  min-height: 100vh; min-height: 100svh;
  padding: max(30px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  display: flex; flex-direction: column;
}
.hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 0 30px; text-align: center; }
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(82px, 7.5vw, 112px); font-weight: 400; line-height: 1.08;
  letter-spacing: .20em; text-indent: .20em;
  color: #d2e2eb;
}
.presence { position: relative; width: min(37svh, 352px); max-width: 85vw; aspect-ratio: 1; margin: 12px 0 18px; }
.presence-haze { position: absolute; inset: -22%; border-radius: 50%; background: radial-gradient(ellipse, rgba(44, 113, 158, .15), rgba(33, 84, 129, .045) 48%, transparent 70%); }
.yuanling { position: relative; display: block; width: 100%; height: 100%; opacity: .93; }
.introduction { position: relative; }
.launch-state { color: var(--secondary); font-size: 15px; line-height: 1.7; letter-spacing: .72em; text-indent: .72em; }
.launch-state::before { content: ""; display: block; width: 84px; height: 1px; margin: 0 auto 18px; background: linear-gradient(90deg, transparent, rgba(132, 180, 202, .62), transparent); }
.description { display: flex; flex-direction: column; gap: 5px; margin-top: 25px; font-size: 17px; line-height: 1.9; letter-spacing: .07em; color: #a9c0ce; }
.description strong { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.65; letter-spacing: .10em; color: #d4e4ee; }
.coming-soon { display: inline-block; margin-top: 26px; padding: 8px 19px 7px 22px; border: 1px solid rgba(109, 164, 190, .28); border-radius: 999px; background: rgba(6, 24, 38, .30); color: var(--cyan); font-size: 10px; line-height: 1.3; letter-spacing: .30em; }
.site-footer { text-align: center; }
.site-footer a { display: inline-block; padding: 10px 4px; color: #9ab2c1; font-size: 13px; line-height: 1.5; text-decoration: none; }
.site-footer a:hover { color: #d4e8f4; text-decoration: underline; text-underline-offset: 4px; }
.site-footer a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 2px; }

@media (max-width: 700px) {
  .atmosphere { background-image: url("assets/cosmos-mobile.webp"); background-position: center bottom; }
  .atmosphere::after { background: linear-gradient(0deg, rgba(2, 7, 15, .85), rgba(2, 7, 15, .17) 18%, rgba(2, 7, 15, .06) 65%, rgba(2, 7, 15, .20)); }
  .page { padding-top: max(26px, env(safe-area-inset-top)); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .hero { padding: 8px 0 25px; }
  h1 { font-size: clamp(62px, 18vw, 82px); letter-spacing: .17em; text-indent: .17em; }
  .presence { width: min(32svh, 68vw, 288px); margin: 25px 0 25px; }
  .launch-state { font-size: 14px; letter-spacing: .55em; text-indent: .55em; }
  .launch-state::before { width: 64px; margin-bottom: 16px; }
  .description { font-size: 15px; letter-spacing: .025em; margin-top: 24px; gap: 6px; }
  .description strong { font-size: 21px; letter-spacing: .08em; }
  .coming-soon { margin-top: 25px; }
}
@media (max-height: 740px) {
  .page { padding-top: max(18px, env(safe-area-inset-top)); }
  h1 { font-size: clamp(58px, 12vw, 80px); }
  .presence { width: min(30svh, 62vw, 254px); margin-top: 12px; margin-bottom: 12px; }
  .launch-state::before { margin-bottom: 12px; }
  .description { margin-top: 16px; }
  .coming-soon { margin-top: 18px; }
}
@media (max-width: 340px) { .description { font-size: 14px; } .description strong { font-size: 19px; } }
@media print {
  .atmosphere, .presence-haze { display: none; }
  html, body { background: white; color: #102030; }
  .page { min-height: auto; }
  h1, p, span, strong, .site-footer a { color: #102030; }
}
