.duaer-auth {
	--paper: #eff2f1;
	--ink: #15181b;
	--muted: #60686d;
	--dim: #929a9e;
	--line: rgba(20, 23, 26, 0.14);
	--line-hi: rgba(20, 23, 26, 0.3);
	--font-display: 'Fraunces', 'Songti SC', 'STSong', Georgia, serif;
	--font-body:
		'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
		'Microsoft YaHei', sans-serif;
	position: relative;
	min-height: 100vh;
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
}

body {
	margin: 0;
}

.duaer-auth::after {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 1000;
	pointer-events: none;
	opacity: 0.05;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

.grid-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(20, 23, 26, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(20, 23, 26, 0.045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 95% 62% at 50% -6%, black 12%, transparent 75%);
	mask-image: radial-gradient(ellipse 95% 62% at 50% -6%, black 12%, transparent 75%);
}

.shell {
	position: relative;
	z-index: 1;
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
}

.topbar {
	height: 4.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--line);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: inherit;
}

.brand-mark {
	display: block;
	width: 1.75rem;
	height: 1.75rem;
	flex: none;
}

.brand-name {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 500;
	letter-spacing: -0.02em;
}

.top-nav {
	display: flex;
	align-items: center;
	gap: 1.15rem;
}

.nav-link {
	color: var(--muted);
	text-decoration: none;
	font-size: 0.8125rem;
	font-weight: 500;
}

.nav-link:hover,
.nav-link.is-current {
	color: var(--ink);
}

.lang {
	display: inline-flex;
	gap: 0.35rem;
}

.lang button {
	appearance: none;
	border: 0;
	padding: 0;
	background: none;
	color: var(--dim);
	font: inherit;
	font-size: 0.75rem;
	font-weight: 500;
	cursor: pointer;
}

.lang button.active,
.lang button:hover {
	color: var(--ink);
}

.stage {
	min-height: calc(100vh - 4.25rem);
	padding: 4.5rem 0 4rem;
}

.stage h1 {
	margin: 0;
	max-width: 16ch;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 5vw, 4.25rem);
	font-weight: 400;
	line-height: 1.06;
	letter-spacing: -0.028em;
}

.lede {
	max-width: 42rem;
	margin: 1.25rem 0 0;
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.72;
}
