[hidden] { display: none !important; }
:root { --ink: #1d1c19; --ink-2: #52514e; --muted: #898781; --accent: #f2c230; --side: #1c1b19;
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: #f1ede4; color: var(--ink); overflow-x: hidden; }

/* 背景：缓慢漂移的暖色光斑 */
.bg { position: fixed; inset: 0; overflow: hidden; z-index: 0; }
.bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 620px; height: 620px; background: #f8e4a0; left: -160px; top: -200px; }
.b2 { width: 520px; height: 520px; background: #f3d7c2; right: -120px; bottom: -180px; animation-delay: -6s !important; }
.b3 { width: 360px; height: 360px; background: #e9efe0; left: 45%; top: 40%; animation-delay: -12s !important; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.08); } }

.wrap { position: relative; z-index: 1; min-height: 100vh; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 48px 32px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-2); }
.logo { width: 40px; height: 40px; border-radius: 13px; background: var(--side); color: var(--accent); display: grid; place-items: center; font-weight: 800; }
h1 { font-size: 52px; line-height: 1.12; font-weight: 500; letter-spacing: -.02em; margin: 36px 0 16px; }
.lead { color: var(--ink-2); font-size: 16px; max-width: 440px; margin: 0 0 40px; }

/* 预览卡（纯装饰） */
.preview { display: grid; grid-template-columns: 1.1fr 1.3fr; grid-template-rows: auto auto; gap: 14px; max-width: 520px; }
.pv { background: rgba(255, 253, 248, .75); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, .8); border-radius: 22px; padding: 18px; box-shadow: 0 10px 40px rgba(40, 32, 10, .07); }
.pv b { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-top: 8px; }
.pv-g { background: var(--side); border-color: transparent; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.pv-g b { color: #c9c6bc; }
.ring svg { width: 100%; }
.arc { stroke-dasharray: 140; stroke-dashoffset: 140; animation: fillarc 1.6s .3s cubic-bezier(.22, 1, .36, 1) forwards; }
@keyframes fillarc { to { stroke-dashoffset: 0; } }
.bars { height: 96px; display: flex; align-items: flex-end; gap: 8px; }
.bars i { flex: 1; max-width: 18px; height: var(--h); background: #2a2925; border-radius: 4px 4px 0 0; transform-origin: bottom; animation: grow .9s cubic-bezier(.22, 1, .36, 1) both; }
.bars i:nth-child(2) { animation-delay: .06s; } .bars i:nth-child(3) { animation-delay: .12s; } .bars i:nth-child(4) { animation-delay: .18s; }
.bars i:nth-child(5) { animation-delay: .24s; } .bars i:nth-child(6) { animation-delay: .3s; } .bars i:nth-child(7) { animation-delay: .36s; }
.bars i.hi { background: var(--accent); }
@keyframes grow { from { transform: scaleY(0); } }
.pv-k { display: flex; gap: 6px; align-items: center; padding: 10px; border-radius: 999px; }
.kn { flex: 1; text-align: center; padding: 8px 0; border-radius: 999px; color: var(--ink-2); font-size: 14px; }
.kn.on { background: var(--side); color: #fff; }

/* 登录卡：毛玻璃 */
.card { background: rgba(255, 253, 248, .82); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, .9); border-radius: 28px; padding: 40px 36px 32px; box-shadow: 0 20px 60px rgba(40, 32, 10, .1); }
h2 { margin: 0 0 6px; font-size: 26px; font-weight: 600; }
.hint { color: var(--muted); margin: 0 0 28px; font-size: 14px; }
.qbtn, .sbtn { display: flex; align-items: center; justify-content: center; gap: 12px; height: 56px; border-radius: 16px; text-decoration: none; font-size: 16px; font-weight: 600; transition: transform .15s, box-shadow .15s, background .15s; }
.qbtn { background: var(--side); color: #fff; }
.qbtn svg { width: 22px; height: 22px; fill: var(--accent); }
.qbtn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(28, 27, 25, .25); }
.qbtn:focus-visible, .sbtn:focus-visible, .dev:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.qbtn[aria-disabled=true] { opacity: .45; pointer-events: none; }
.sbtn { background: var(--accent); color: var(--side); margin-top: 10px; }
.err { background: #fde6e4; color: #8f231c; border-radius: 12px; padding: 10px 14px; font-size: 13px; margin: 16px 0 0; }
.dev { margin-top: 14px; width: 100%; height: 44px; border-radius: 14px; border: 1px dashed #c3c2b7; background: none; color: var(--ink-2); cursor: pointer; font: inherit; }
.dev:hover { background: rgba(0, 0, 0, .03); }
.facts { list-style: none; padding: 22px 0 0; margin: 26px 0 0; border-top: 1px solid #ebe7dd; color: var(--ink-2); font-size: 13px; display: grid; gap: 8px; }
.facts span { color: var(--accent); margin-right: 8px; font-size: 9px; vertical-align: 2px; }

@media (max-width: 900px) {
  .wrap { grid-template-columns: 1fr; padding: 28px 18px; gap: 24px; }
  .hero h1 { font-size: 34px; margin: 20px 0 8px; } .lead { margin-bottom: 0; } .preview { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .arc { stroke-dashoffset: 0; } }
