/* ==========================================================
   fantashao.com.cn —— 落地页
   只有这一个页面，样式独立，不依赖任何脚本。
   ========================================================== */

:root {
  --bg: #f7f6f3;
  --ink: #1b1a18;
  --ink-2: #4c4943;
  --muted: #8b8681;
  --line: #e5e2dc;
  --accent: #1f5f4b;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html,
body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 背景光晕：纯装饰，固定不随滚动 */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 22% 18%, rgba(31, 95, 75, 0.07), transparent 62%),
    radial-gradient(ellipse 50% 42% at 82% 84%, rgba(31, 95, 75, 0.05), transparent 64%);
}

.landing {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 24px 128px;
  text-align: center;
  animation: rise 720ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.eyebrow {
  margin: 0 0 26px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.hello {
  margin: 0;
  font-size: clamp(34px, 8.4vw, 76px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--ink);
  white-space: nowrap;
}

/* 光标：只做视觉暗示，读屏器忽略 */
.caret {
  display: inline-block;
  width: 0.062em;
  height: 0.82em;
  margin-left: 0.06em;
  vertical-align: -0.02em;
  background: var(--accent);
  animation: blink 1.15s step-end infinite;
}

.rule {
  width: 44px;
  height: 2px;
  margin: 34px 0 30px;
  background: var(--accent);
  opacity: 0.9;
}

.note {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.note a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 95, 75, 0.32);
  transition: border-color 160ms ease;
}

.note a:hover,
.note a:focus-visible { border-bottom-color: var(--accent); }

.foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.foot a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.foot a:hover,
.foot a:focus-visible {
  color: var(--ink-2);
  border-bottom-color: var(--line);
}

.foot__dot { color: var(--line); }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

@media (max-width: 480px) {
  .landing { padding: 72px 20px 112px; }
  .foot { bottom: 18px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .landing { animation: none; }
  .caret { animation: none; }
  .foot a { transition: none; }
}

/* 高对比度偏好下减弱背景光晕 */
@media (prefers-contrast: more) {
  :root { --muted: #5d5a55; --ink-2: #33312d; }
  .stage { display: none; }
}
