:root {
	--bg: #050506;
	--bg-elevated: #0c0c0e;
	--bg-soft: #121216;
	--line: rgba(255, 255, 255, 0.08);
	--line-strong: rgba(255, 255, 255, 0.16);
	--text: #f2f2f4;
	--muted: #9a9aa3;
	--accent: #4caf50;
	--accent-bright: #63c767;
	--accent-deep: #2e8b3a;
	--accent-dim: rgba(76, 175, 80, 0.16);
	--danger: #ff7a7a;
	--radius: 14px;
	--btn-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 -1px 0 rgba(0, 0, 0, 0.22) inset, 0 10px 24px rgba(0, 0, 0, 0.35);
	--btn-shadow-primary: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 -1px 0 rgba(0, 0, 0, 0.18) inset, 0 8px 20px rgba(46, 139, 58, 0.35), 0 2px 0 rgba(20, 70, 30, 0.45);
	--btn-shadow-primary-hover: 0 1px 0 rgba(255, 255, 255, 0.34) inset, 0 -1px 0 rgba(0, 0, 0, 0.16) inset, 0 12px 28px rgba(46, 139, 58, 0.45), 0 2px 0 rgba(20, 70, 30, 0.5);
	--btn-shadow-ghost: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 8px 18px rgba(0, 0, 0, 0.28);
	--nav-h: 72px;
	--max: 1120px;
	--font-display: "Syne", "Segoe UI", sans-serif;
	--font-body: "Manrope", "Segoe UI", sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, monospace;
	--font-anime: "Zen Maru Gothic", "Manrope", "Segoe UI", sans-serif;
	--sakura: #ff8fb8;
	--sakura-dim: rgba(255, 143, 184, 0.18);
	--anime-cyan: #7ee7ff;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	background:
		radial-gradient(1200px 700px at 78% -10%, rgba(76, 175, 80, 0.09), transparent 55%),
		radial-gradient(900px 500px at 8% 12%, rgba(90, 140, 255, 0.08), transparent 50%),
		linear-gradient(180deg, #08080a 0%, var(--bg) 40%, #030304 100%);
	background-attachment: fixed;
	overflow-x: hidden;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.35;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

button,
input,
select {
	font: inherit;
}

.wrap {
	width: min(var(--max), calc(100% - 40px));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	height: var(--nav-h);
	backdrop-filter: blur(16px);
	background: rgba(5, 5, 6, 0.72);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
	border-bottom-color: var(--line);
	background: rgba(5, 5, 6, 0.9);
}

.nav {
	height: var(--nav-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: -0.02em;
}

.brand-mark {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	display: block;
	object-fit: cover;
	flex-shrink: 0;
}

.brand-wordmark {
	display: block;
	height: 20px;
	width: auto;
}

.brand-hero-logo {
	display: block;
	height: clamp(2.6rem, 6.5vw, 3.8rem);
	width: auto;
	max-width: min(100%, 440px);
	margin: 0 0 18px;
	filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}

.footer-brand-logo {
	display: block;
	height: 20px;
	width: auto;
	margin-bottom: 12px;
	opacity: 0.95;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links a {
	color: var(--muted);
	font-size: 0.95rem;
	transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
	color: var(--text);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.btn {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 12px;
	border: 1px solid transparent;
	cursor: pointer;
	font-weight: 650;
	letter-spacing: 0.01em;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	transition:
		transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease;
}

.btn::after {
	content: "";
	position: absolute;
	top: -45%;
	left: -35%;
	width: 40%;
	height: 190%;
	pointer-events: none;
	background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.34) 50%, transparent 72%);
	transform: translateX(-160%) skewX(-18deg);
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	mix-blend-mode: soft-light;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:hover::after {
	transform: translateX(340%) skewX(-18deg);
}

.btn:active {
	transform: translateY(1px) scale(0.985);
	transition-duration: 0.08s;
}

.btn:focus-visible {
	outline: none;
}

.btn-primary:focus-visible {
	box-shadow: var(--btn-shadow-primary), 0 0 0 2px rgba(5, 5, 6, 0.95), 0 0 0 4px rgba(76, 175, 80, 0.7);
}

.btn-ghost:focus-visible {
	box-shadow: var(--btn-shadow-ghost), 0 0 0 2px rgba(5, 5, 6, 0.95), 0 0 0 4px rgba(76, 175, 80, 0.55);
}

.btn:disabled,
.btn.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
	transform: none;
	filter: grayscale(0.2);
	box-shadow: none;
}

.btn:disabled::after,
.btn.is-disabled::after,
.btn:disabled:hover::after,
.btn.is-disabled:hover::after {
	transform: translateX(-160%) skewX(-18deg);
}

.btn-primary {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 38%),
		linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 48%, var(--accent-deep) 100%);
	border-color: rgba(255, 255, 255, 0.14);
	color: #04140c;
	font-weight: 750;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
	box-shadow: var(--btn-shadow-primary);
}

.btn-primary:hover {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 40%),
		linear-gradient(180deg, #74d178 0%, var(--accent-bright) 46%, #3a9f46 100%);
	box-shadow: var(--btn-shadow-primary-hover);
	filter: saturate(1.05);
}

.btn-primary:active {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%),
		linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.12) inset,
		0 2px 6px rgba(0, 0, 0, 0.35) inset,
		0 1px 0 rgba(20, 70, 30, 0.35);
}

.btn-ghost {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
	border-color: rgba(255, 255, 255, 0.16);
	color: var(--text);
	backdrop-filter: blur(10px);
	box-shadow: var(--btn-shadow-ghost);
}

.btn-ghost:hover {
	border-color: rgba(76, 175, 80, 0.5);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 40%),
		linear-gradient(180deg, rgba(76, 175, 80, 0.16), rgba(76, 175, 80, 0.05));
	color: #effaef;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.1) inset,
		0 10px 22px rgba(0, 0, 0, 0.32),
		0 0 0 1px rgba(76, 175, 80, 0.12);
}

.btn-ghost:active {
	background: rgba(76, 175, 80, 0.1);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.06) inset,
		0 2px 8px rgba(0, 0, 0, 0.35) inset;
}

.btn-lg {
	min-height: 54px;
	padding: 0 26px;
	font-size: 1.02rem;
	border-radius: 14px;
	letter-spacing: 0.015em;
}

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
	color: var(--text);
	cursor: pointer;
	box-shadow: var(--btn-shadow-ghost);
	transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease;
}

.menu-toggle:hover {
	border-color: rgba(76, 175, 80, 0.45);
	background: var(--accent-dim);
	transform: translateY(-1px);
}

.menu-toggle:active {
	transform: translateY(1px);
}

@media (prefers-reduced-motion: reduce) {
	.btn,
	.btn::after,
	.menu-toggle {
		transition: none;
	}

	.btn:hover,
	.btn:active,
	.menu-toggle:hover,
	.menu-toggle:active {
		transform: none;
	}

	.btn:hover::after {
		transform: translateX(-160%) skewX(-18deg);
	}
}

.hero {
	position: relative;
	z-index: 1;
	min-height: calc(100vh - var(--nav-h));
	display: grid;
	align-items: end;
	padding: 48px 0 40px;
}

.hero-stage {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 22px;
	min-height: min(78vh, 760px);
	background:
		radial-gradient(900px 420px at 70% 20%, rgba(76, 175, 80, 0.12), transparent 60%),
		linear-gradient(160deg, #101014 0%, #070708 55%, #050506 100%);
}

.page-home .hero-stage.anime-stage {
	border-color: rgba(255, 143, 184, 0.18);
	background:
		radial-gradient(700px 380px at 82% 28%, rgba(126, 231, 255, 0.12), transparent 55%),
		radial-gradient(640px 360px at 70% 18%, rgba(76, 175, 80, 0.16), transparent 58%),
		radial-gradient(520px 280px at 18% 78%, rgba(255, 143, 184, 0.12), transparent 60%),
		linear-gradient(160deg, #121018 0%, #07070a 55%, #050506 100%);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.03) inset,
		0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-stage::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, transparent 35%, rgba(5, 5, 6, 0.55) 68%, rgba(5, 5, 6, 0.92) 100%);
	pointer-events: none;
	z-index: 1;
}

.page-home .hero-stage.anime-stage::after {
	background:
		linear-gradient(105deg, rgba(5, 5, 6, 0.78) 0%, rgba(5, 5, 6, 0.42) 42%, rgba(5, 5, 6, 0.12) 68%, rgba(5, 5, 6, 0.55) 100%),
		linear-gradient(180deg, transparent 28%, rgba(5, 5, 6, 0.35) 62%, rgba(5, 5, 6, 0.92) 100%);
}

.anime-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.anime-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 72% center;
	transform: scale(1.04);
	animation: anime-float 8s ease-in-out infinite alternate;
	filter: saturate(1.08) contrast(1.04);
}

.anime-glow {
	position: absolute;
	inset: -10%;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 78% 36%, rgba(76, 175, 80, 0.22), transparent 28%),
		radial-gradient(circle at 68% 58%, rgba(255, 143, 184, 0.16), transparent 32%),
		radial-gradient(circle at 20% 70%, rgba(126, 231, 255, 0.1), transparent 30%);
	mix-blend-mode: screen;
	animation: anime-glow-pulse 5.5s ease-in-out infinite alternate;
}

.anime-sparkles {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.anime-sparkles span {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.85), 0 0 18px rgba(126, 231, 255, 0.55);
	opacity: 0;
	animation: anime-twinkle 3.6s ease-in-out infinite;
}

.anime-sparkles span:nth-child(1) { top: 18%; left: 22%; animation-delay: 0.2s; }
.anime-sparkles span:nth-child(2) { top: 28%; left: 58%; width: 4px; height: 4px; animation-delay: 0.9s; }
.anime-sparkles span:nth-child(3) { top: 42%; left: 14%; animation-delay: 1.4s; }
.anime-sparkles span:nth-child(4) { top: 16%; left: 78%; width: 5px; height: 5px; animation-delay: 1.8s; }
.anime-sparkles span:nth-child(5) { top: 58%; left: 46%; animation-delay: 2.2s; }
.anime-sparkles span:nth-child(6) { top: 34%; left: 88%; width: 3px; height: 3px; animation-delay: 2.8s; }

.anime-petals {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	overflow: hidden;
}

.anime-petal {
	position: absolute;
	top: -12%;
	width: 12px;
	height: 10px;
	border-radius: 70% 10% 70% 10%;
	background: linear-gradient(135deg, #ffd0e2, var(--sakura) 55%, #ff6fa5);
	opacity: 0.78;
	filter: drop-shadow(0 2px 4px rgba(255, 111, 165, 0.25));
	animation-name: anime-petal-fall;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.anime-kicker {
	margin: 0 0 14px;
	color: #ffd0e2;
	font-family: var(--font-anime);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-shadow: 0 0 18px rgba(255, 143, 184, 0.35);
}

.page-home .brand-hero {
	background: linear-gradient(105deg, #ffffff 8%, #d8ffe0 42%, #ffd0e6 78%, #bff6ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 8px 24px rgba(76, 175, 80, 0.18));
	animation: anime-title-shimmer 7s ease-in-out infinite;
	background-size: 180% 100%;
}

.page-home .hero-title {
	font-family: var(--font-anime);
	font-weight: 700;
	text-shadow: 0 0 24px rgba(126, 231, 255, 0.18);
}

.page-home .hero-desc {
	color: #c5c5d0;
}

.page-home .anime-panel {
	border-color: rgba(255, 143, 184, 0.16);
	background:
		radial-gradient(420px 180px at 100% 0%, rgba(255, 143, 184, 0.08), transparent 60%),
		radial-gradient(360px 160px at 0% 100%, rgba(76, 175, 80, 0.08), transparent 55%),
		var(--bg-elevated);
}

.page-home .anime-cta {
	border-color: rgba(126, 231, 255, 0.16);
	background:
		radial-gradient(500px 180px at 90% 20%, rgba(255, 143, 184, 0.1), transparent 55%),
		radial-gradient(420px 160px at 10% 80%, rgba(76, 175, 80, 0.12), transparent 50%),
		linear-gradient(135deg, rgba(18, 18, 24, 0.95), rgba(8, 8, 12, 0.98));
}

.page-home,
body.page-home {
	background:
		radial-gradient(1100px 680px at 86% -8%, rgba(255, 143, 184, 0.1), transparent 52%),
		radial-gradient(900px 520px at 8% 10%, rgba(126, 231, 255, 0.08), transparent 48%),
		radial-gradient(1000px 560px at 70% 0%, rgba(76, 175, 80, 0.1), transparent 55%),
		linear-gradient(180deg, #0a0810 0%, var(--bg) 42%, #030304 100%);
}

@keyframes anime-float {
	from { transform: scale(1.04) translate3d(0, 0, 0); }
	to { transform: scale(1.08) translate3d(-1.2%, -1.4%, 0); }
}

@keyframes anime-glow-pulse {
	from { opacity: 0.7; transform: scale(1); }
	to { opacity: 1; transform: scale(1.04); }
}

@keyframes anime-twinkle {
	0%, 100% { opacity: 0; transform: scale(0.6); }
	40% { opacity: 1; transform: scale(1); }
	70% { opacity: 0.35; transform: scale(0.85); }
}

@keyframes anime-petal-fall {
	0% {
		transform: translate3d(0, -10vh, 0) rotate(0deg);
		opacity: 0;
	}
	12% { opacity: 0.85; }
	100% {
		transform: translate3d(var(--petal-drift, 40px), 110vh, 0) rotate(520deg);
		opacity: 0;
	}
}

@keyframes anime-title-shimmer {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
	.anime-bg img,
	.anime-glow,
	.anime-sparkles span,
	.anime-petal,
	.page-home .brand-hero {
		animation: none !important;
	}
}

.hero-visual {
	position: absolute;
	inset: 0;
	z-index: 0;
	padding: 28px 28px 180px;
}

.editor-shell {
	height: 100%;
	border: 1px solid var(--line-strong);
	border-radius: 14px;
	background: rgba(8, 8, 10, 0.85);
	overflow: hidden;
	display: grid;
	grid-template-rows: 40px 1fr;
	transform: translateY(18px) scale(1.01);
	opacity: 0;
	animation: rise-in 0.9s ease 0.15s forwards;
}

.editor-top {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 14px;
	border-bottom: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.02);
}

.dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #3a3a40;
}

.dot:nth-child(1) { background: #ff5f57; }
.dot:nth-child(2) { background: #febc2e; }
.dot:nth-child(3) { background: #28c840; }

.editor-title {
	margin-left: 8px;
	color: var(--muted);
	font-size: 0.8rem;
	font-family: var(--font-mono);
}

.editor-body {
	display: grid;
	grid-template-columns: 1.35fr 0.95fr;
	min-height: 0;
}

.code-pane,
.chat-pane {
	min-height: 0;
	padding: 18px;
	overflow: hidden;
}

.code-pane {
	border-right: 1px solid var(--line);
	font-family: var(--font-mono);
	font-size: 0.82rem;
	line-height: 1.7;
	color: #c9c9d1;
	white-space: pre-wrap;
}

.code-pane .kw { color: #4caf50; }
.code-pane .fn { color: #9ecbff; }
.code-pane .str { color: #f0c674; }
.code-pane .cm { color: #6d6d78; }

.chat-pane {
	background: linear-gradient(180deg, rgba(76, 175, 80, 0.04), transparent 40%);
}

.chat-label {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 14px;
}

.chat-bubble {
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.03);
	color: #d7d7de;
	font-size: 0.9rem;
	min-height: 72px;
}

.chat-bubble .cursor {
	display: inline-block;
	width: 8px;
	height: 1.05em;
	margin-left: 2px;
	vertical-align: text-bottom;
	background: var(--accent);
	animation: blink 1s steps(1) infinite;
}

.hero-copy {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 0 36px 36px;
}

.brand-hero {
	font-family: var(--font-display);
	font-size: clamp(3.2rem, 8vw, 6.4rem);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 0.92;
	margin: 0 0 18px;
}

.hero-title {
	margin: 0 0 12px;
	max-width: 18ch;
	font-family: var(--font-display);
	font-size: clamp(1.45rem, 3vw, 2.1rem);
	font-weight: 650;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.hero-desc {
	margin: 0 0 24px;
	max-width: 42ch;
	color: var(--muted);
	font-size: 1.05rem;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.section {
	position: relative;
	z-index: 1;
	padding: 96px 0;
}

.section-head {
	max-width: 640px;
	margin-bottom: 40px;
}

.section-kicker {
	display: inline-block;
	margin-bottom: 12px;
	color: var(--accent);
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.section-title {
	margin: 0 0 12px;
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.section-desc {
	margin: 0;
	color: var(--muted);
	font-size: 1.05rem;
}

.split {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 48px;
	align-items: center;
}

.split.reverse {
	grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-copy {
	order: 2;
}

.feature-list {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: grid;
	gap: 18px;
}

.feature-list li {
	padding-left: 18px;
	border-left: 2px solid var(--accent);
}

.feature-list strong {
	display: block;
	margin-bottom: 4px;
	font-family: var(--font-display);
	font-size: 1.05rem;
}

.feature-list span {
	color: var(--muted);
	font-size: 0.95rem;
}

.panel {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background:
		linear-gradient(160deg, rgba(255, 255, 255, 0.03), transparent 45%),
		var(--bg-elevated);
	padding: 28px;
	min-height: 280px;
}

.panel-title {
	margin: 0 0 10px;
	font-family: var(--font-display);
	font-size: 1.2rem;
}

.panel-text {
	margin: 0;
	color: var(--muted);
}

.stat-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 28px;
}

.stat {
	padding-top: 14px;
	border-top: 1px solid var(--line);
}

.stat b {
	display: block;
	font-family: var(--font-display);
	font-size: 1.6rem;
	letter-spacing: -0.03em;
}

.stat span {
	color: var(--muted);
	font-size: 0.9rem;
}

.flow {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.flow-item {
	padding: 8px 0;
}

.flow-index {
	display: block;
	margin-bottom: 10px;
	color: var(--accent);
	font-family: var(--font-mono);
	font-size: 0.85rem;
}

.flow-item h3 {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: 1.25rem;
}

.flow-item p {
	margin: 0;
	color: var(--muted);
}

.privacy-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.privacy-item {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 22px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
		var(--bg-elevated);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.privacy-item h3 {
	margin: 0 0 12px;
	font-family: var(--font-display);
	font-size: 1.2rem;
	letter-spacing: -0.02em;
}

.privacy-item p {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.65;
}

.cta-band {
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 48px 40px;
	background:
		radial-gradient(600px 240px at 15% 0%, rgba(76, 175, 80, 0.14), transparent 60%),
		linear-gradient(180deg, #101014, #09090b);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.cta-band h2 {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	letter-spacing: -0.03em;
}

.cta-band p {
	margin: 0;
	color: var(--muted);
}

.site-footer {
	position: relative;
	z-index: 1;
	border-top: 1px solid var(--line);
	padding: 48px 0 36px;
	margin-top: 40px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 28px;
}

.footer-brand {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.2rem;
	margin-bottom: 10px;
}

.footer-note {
	color: var(--muted);
	max-width: 34ch;
	margin: 0;
}

.footer-col h4 {
	margin: 0 0 14px;
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.footer-col a {
	display: block;
	margin-bottom: 10px;
	color: #d0d0d6;
}

.footer-col a:hover {
	color: var(--accent);
}

.footer-bottom {
	margin-top: 36px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.9rem;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.page-hero {
	position: relative;
	z-index: 1;
	padding: 72px 0 40px;
}

.page-hero h1 {
	margin: 0 0 12px;
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	letter-spacing: -0.04em;
}

.page-hero p {
	margin: 0;
	max-width: 52ch;
	color: var(--muted);
	font-size: 1.08rem;
}

.policy-section,
.changelog-section {
	padding-top: 8px;
	padding-bottom: 72px;
}

.policy-doc {
	max-width: 760px;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 32px 28px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 36%),
		var(--bg-elevated);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.policy-doc > section {
	display: block;
}

.policy-doc > section + section {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.policy-doc h2 {
	margin: 0 0 12px;
	font-family: var(--font-display);
	font-size: 1.2rem;
	letter-spacing: -0.02em;
}

.policy-doc p {
	margin: 0 0 12px;
	color: #d2d2da;
	line-height: 1.7;
	font-size: 0.98rem;
}

.policy-doc p:last-child {
	margin-bottom: 0;
}

.policy-doc ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.policy-doc li {
	position: relative;
	padding-left: 16px;
	color: var(--muted);
	line-height: 1.6;
	font-size: 0.95rem;
}

.policy-doc li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
}

@media (max-width: 780px) {
	.policy-doc {
		padding: 24px 18px;
	}
}

.changelog-timeline {
	list-style: none;
	margin: 0;
	padding: 0 0 0 8px;
	max-width: 820px;
	position: relative;
}

.changelog-timeline::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: linear-gradient(180deg, rgba(76, 175, 80, 0.55), rgba(255, 255, 255, 0.08));
}

.changelog-item {
	position: relative;
	display: grid;
	grid-template-columns: 148px 1fr;
	gap: 20px;
	padding: 0 0 36px 28px;
}

.changelog-item:last-child {
	padding-bottom: 0;
}

.changelog-item::before {
	content: "";
	position: absolute;
	left: 1px;
	top: 10px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--bg);
	border: 2px solid var(--accent);
	box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.12);
}

.changelog-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding-top: 4px;
}

.changelog-meta time {
	font-family: var(--font-mono);
	font-size: 0.86rem;
	color: #c8c8d0;
	letter-spacing: 0.02em;
}

.changelog-tag {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.04em;
}

.changelog-tag.is-feature {
	border-color: rgba(76, 175, 80, 0.35);
	background: rgba(76, 175, 80, 0.1);
	color: #b7efbb;
}

.changelog-tag.is-fix {
	border-color: rgba(126, 231, 255, 0.3);
	background: rgba(126, 231, 255, 0.08);
	color: #b9f0ff;
}

.changelog-card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px 22px 18px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 42%),
		var(--bg-elevated);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.changelog-card h2 {
	margin: 0 0 12px;
	font-family: var(--font-display);
	font-size: 1.25rem;
	letter-spacing: -0.02em;
}

.changelog-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.changelog-card li {
	position: relative;
	padding-left: 16px;
	margin-bottom: 8px;
	color: #d2d2da;
	font-size: 0.95rem;
	line-height: 1.55;
}

.changelog-card li:last-child {
	margin-bottom: 0;
}

.changelog-card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
}

@media (max-width: 780px) {
	.changelog-item {
		grid-template-columns: 1fr;
		gap: 10px;
		padding-left: 28px;
	}

	.changelog-meta {
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
	}
}

.download-grid,
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.pricing-section {
	padding-top: 12px;
}

.compare-section {
	padding-top: 24px;
}

.compare-highlights {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 28px;
}

.compare-chip {
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 18px 16px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 55%),
		var(--bg-elevated);
}

.compare-chip strong {
	display: block;
	margin-bottom: 8px;
	font-family: var(--font-display);
	font-size: 1.05rem;
	color: var(--text);
	font-weight: 650;
}

.compare-chip span {
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.55;
}

.compare-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--bg-elevated);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.compare-table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
}

.compare-table th,
.compare-table td {
	padding: 14px 16px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.92rem;
	line-height: 1.5;
}

.compare-table thead th {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	background: rgba(255, 255, 255, 0.03);
	color: var(--text);
}

.compare-table tbody th {
	width: 18%;
	color: #cfcfd6;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.015);
}

.compare-table td {
	color: var(--muted);
}

.compare-table .is-ours {
	color: #d8d8de;
	background: rgba(255, 255, 255, 0.03);
}

.compare-table thead .is-ours {
	color: var(--text);
	background: rgba(255, 255, 255, 0.05);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
	border-bottom: 0;
}

.compare-table b {
	color: var(--text);
	font-weight: 650;
}

.compare-note {
	display: inline-block;
	margin-top: 4px;
	color: #7d7d88;
	font-size: 0.8rem;
}

.compare-disclaimer {
	margin: 16px 0 0;
	color: #6f6f7a;
	font-size: 0.82rem;
	line-height: 1.6;
	max-width: 90ch;
}

@media (max-width: 960px) {
	.compare-highlights {
		grid-template-columns: 1fr;
	}
}

.pricing-grid {
	align-items: stretch;
	gap: 18px;
}

.download-item,
.price-item {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-elevated);
	padding: 28px 24px;
}

.download-item {
	position: relative;
	overflow: hidden;
}

.download-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 11px 6px 9px;
	border-radius: 9px;
	font-family: var(--font-display);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1;
	color: #f3e7c8;
	background:
		linear-gradient(145deg, rgba(255, 232, 186, 0.2) 0%, rgba(255, 255, 255, 0.04) 42%, rgba(168, 132, 72, 0.14) 100%),
		rgba(18, 16, 12, 0.92);
	border: 1px solid rgba(232, 201, 140, 0.38);
	box-shadow:
		0 1px 0 rgba(255, 245, 220, 0.22) inset,
		0 -1px 0 rgba(0, 0, 0, 0.35) inset,
		0 10px 22px rgba(0, 0, 0, 0.4),
		0 0 28px rgba(214, 176, 96, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

.download-badge::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #fff4d4, #e0b45a 55%, #8f6a2e 100%);
	box-shadow:
		0 0 0 1px rgba(255, 230, 170, 0.25),
		0 0 10px rgba(224, 180, 90, 0.55);
	flex: 0 0 auto;
}

.download-item.is-soon {
	background:
		linear-gradient(180deg, rgba(255, 220, 160, 0.03), transparent 34%),
		var(--bg-elevated);
}

.download-item.is-soon::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(125deg, transparent 40%, rgba(255, 230, 180, 0.04) 52%, transparent 64%);
	opacity: 0.7;
}

.download-item .btn.is-disabled {
	opacity: 0.5;
	pointer-events: none;
	cursor: not-allowed;
	filter: saturate(0.75);
}

.price-item {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 28px 22px 22px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
		var(--bg-elevated);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.price-item:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 255, 255, 0.18);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.price-top {
	min-height: 148px;
}

.download-item h3,
.price-item h3 {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: 1.35rem;
}

.price-item h3 {
	font-size: 1.28rem;
	letter-spacing: -0.02em;
}

.download-item p,
.price-item p {
	margin: 0 0 20px;
	color: var(--muted);
}

.price-item > .price-top > p,
.price-item p {
	min-height: 2.9em;
	margin: 0 0 14px;
	line-height: 1.5;
	font-size: 0.9rem;
}

.price-item.is-featured {
	border-color: rgba(76, 175, 80, 0.45);
	background:
		linear-gradient(180deg, rgba(76, 175, 80, 0.08), transparent 42%),
		var(--bg-elevated);
	box-shadow:
		0 0 0 1px rgba(76, 175, 80, 0.12),
		0 10px 28px rgba(0, 0, 0, 0.22);
}

.price-item.is-featured:hover {
	border-color: rgba(76, 175, 80, 0.6);
	box-shadow:
		0 0 0 1px rgba(76, 175, 80, 0.18),
		0 14px 32px rgba(0, 0, 0, 0.28);
}

.price-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 3px 9px;
	border-radius: 999px;
	border: 1px solid rgba(76, 175, 80, 0.35);
	background: rgba(76, 175, 80, 0.12);
	color: #b8f0bc;
	font-size: 0.7rem;
	font-weight: 650;
	letter-spacing: 0.04em;
}

.price-value {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 6px;
	min-height: 44px;
	margin-bottom: 0;
	font-family: var(--font-display);
	letter-spacing: -0.02em;
}

.price-value .price-amount {
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: var(--text);
	font-family: var(--font-display);
}

.price-value .price-unit {
	font-size: 0.88rem;
	color: var(--muted);
	font-family: var(--font-body);
	font-weight: 500;
}

.price-value .price-from {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--muted);
	font-family: var(--font-body);
	width: auto;
	min-height: 0;
	margin: 0 2px 0 0;
}

.price-value .price-from-spacer {
	display: none;
}

.price-value .price-was {
	margin-left: 4px;
	font-size: 0.85rem;
	font-weight: 500;
	color: #6a6a74;
	text-decoration: line-through;
	text-decoration-thickness: 1px;
	font-family: var(--font-body);
}

.price-list {
	list-style: none;
	margin: 20px 0 22px;
	padding: 18px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	flex: 1 1 auto;
}

.price-list li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 11px;
	color: #d5d5dc;
	font-size: 0.94rem;
	line-height: 1.45;
}

.price-list li:last-child {
	margin-bottom: 0;
}

.price-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 8px rgba(76, 175, 80, 0.45);
}

.price-item > .btn {
	width: 100%;
	margin-top: auto;
}

.reveal {
	opacity: 1;
	transform: none;
}

html.js-ready .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js-ready .reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html.js-ready .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

@keyframes rise-in {
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes blink {
	50% { opacity: 0; }
}

@media (max-width: 1100px) {
	.pricing-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 960px) {
	.editor-body {
		grid-template-columns: 1fr;
	}

	.chat-pane {
		display: none;
	}

	.split,
	.split.reverse,
	.flow,
	.privacy-grid,
	.stat-row,
	.download-grid,
	.pricing-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.price-top {
		min-height: 0;
	}

	.price-item > .price-top > p,
	.price-item p {
		min-height: 0;
	}

	.price-value {
		min-height: 0;
	}

	.split.reverse .split-copy {
		order: 0;
	}

	.cta-band {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 780px) {
	.menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.nav-links,
	.nav-actions {
		display: none;
	}

	.nav.is-open .nav-links {
		display: flex;
		position: absolute;
		top: var(--nav-h);
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 12px 20px 20px;
		background: rgba(8, 8, 10, 0.96);
		border-bottom: 1px solid var(--line);
	}

	.nav.is-open .nav-links a {
		padding: 12px 0;
		border-bottom: 1px solid var(--line);
	}

	.nav.is-open .nav-actions {
		display: flex;
		position: absolute;
		top: calc(var(--nav-h) + 168px);
		left: 0;
		right: 0;
		padding: 0 20px 20px;
		background: rgba(8, 8, 10, 0.96);
		border-bottom: 1px solid var(--line);
	}

	.hero-copy {
		padding: 0 22px 24px;
	}

	.brand-hero {
		font-size: clamp(2.6rem, 14vw, 4rem);
	}

	.page-home .anime-bg img {
		object-position: 80% center;
		animation: none;
		transform: scale(1.08);
	}

	.anime-kicker {
		font-size: 0.74rem;
		letter-spacing: 0.05em;
	}

	.hero-visual {
		padding: 16px 16px 220px;
	}
}


/* Auth / Login */
.auth-page {
	min-height: 100vh;
}

.auth-main {
	position: relative;
	z-index: 1;
	padding: 48px 0 72px;
	min-height: calc(100vh - var(--nav-h) - 90px);
	display: flex;
	align-items: center;
}

.auth-layout {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 48px;
	align-items: center;
}

.auth-aside-icon {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	margin-bottom: 22px;
}

.auth-aside h1 {
	margin: 0 0 14px;
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: -0.04em;
	line-height: 1.1;
}

.auth-aside > p {
	margin: 0 0 24px;
	color: var(--muted);
	max-width: 38ch;
	font-size: 1.05rem;
}

.auth-points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.auth-points li {
	position: relative;
	padding-left: 18px;
	color: #d5d5dc;
}

.auth-points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
}

.auth-card {
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 32px 28px 28px;
	background:
		radial-gradient(500px 220px at 50% 0%, rgba(76, 175, 80, 0.12), transparent 60%),
		linear-gradient(180deg, #121216, #0a0a0c);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.auth-card-head {
	text-align: center;
	margin-bottom: 22px;
}

.auth-card-head img {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	margin: 0 auto 14px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.auth-card-head h2 {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: 1.55rem;
	letter-spacing: -0.03em;
}

.auth-card-head p {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.auth-form {
	display: grid;
	gap: 16px;
}

.auth-field {
	display: grid;
	gap: 8px;
}

.auth-field > span {
	font-size: 0.8rem;
	font-weight: 650;
	letter-spacing: 0.02em;
	color: var(--muted);
}

.auth-field input,
.auth-password-row input {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text);
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-field input::placeholder,
.auth-password-row input::placeholder {
	color: #6d6d78;
}

.auth-field input:focus,
.auth-password-row input:focus {
	border-color: rgba(76, 175, 80, 0.7);
	box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.35);
}

.auth-password-row {
	position: relative;
	display: flex;
	align-items: center;
}

.auth-password-row input {
	padding-right: 64px;
}

.auth-toggle-pass {
	position: absolute;
	right: 10px;
	border: 0;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	padding: 6px 8px;
	font-size: 0.85rem;
}

.auth-toggle-pass:hover {
	color: var(--text);
}

.auth-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: -2px;
}

.auth-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	font-size: 0.9rem;
	cursor: pointer;
}

.auth-check input {
	accent-color: var(--accent);
}

.auth-link {
	color: var(--accent);
	font-size: 0.9rem;
}

.auth-link:hover {
	text-decoration: underline;
}

.auth-error,
.auth-ok {
	margin: 0;
	min-height: 18px;
	font-size: 0.88rem;
	line-height: 1.4;
	text-align: center;
}

.auth-error {
	color: var(--danger);
}

.auth-ok {
	color: var(--accent);
}

.auth-submit {
	width: 100%;
}

.auth-submit.is-loading {
	opacity: 0.75;
	pointer-events: none;
}

.auth-register {
	margin: 18px 0 0;
	text-align: center;
	color: var(--muted);
	font-size: 0.95rem;
}

.auth-register a {
	color: var(--accent);
	font-weight: 650;
}

.auth-register a:hover {
	text-decoration: underline;
}

@media (max-width: 900px) {
	.auth-layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.auth-aside {
		text-align: center;
	}

	.auth-aside-icon {
		margin-inline: auto;
	}

	.auth-aside > p {
		margin-inline: auto;
	}

	.auth-points {
		display: none;
	}
}


.auth-agree {
	align-items: flex-start;
	line-height: 1.45;
}

.auth-agree input {
	margin-top: 3px;
}


.auth-steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 0 22px;
}

.auth-step {
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.04em;
	color: #6f6f7a;
	padding: 6px 10px;
	border-radius: 8px;
	border: 1px solid transparent;
}

.auth-step.is-active {
	color: #d8f5da;
	border-color: rgba(76, 175, 80, 0.28);
	background: rgba(76, 175, 80, 0.1);
}

.auth-step-line {
	width: 28px;
	height: 1px;
	background: rgba(255, 255, 255, 0.12);
}

.auth-code-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
	align-items: center;
}

.auth-code-row input {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text);
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-code-row input:focus {
	border-color: rgba(76, 175, 80, 0.7);
	box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.35);
}

.auth-code-row .btn {
	min-height: 48px;
	white-space: nowrap;
	padding-inline: 14px;
}

.nav-user {
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--muted);
	font-size: 0.92rem;
}

.auth-submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

/* Docs */
.docs-hero {
	padding-bottom: 28px;
}

.docs-section {
	padding-top: 0;
	padding-bottom: 80px;
}

.docs-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 28px 40px;
	align-items: start;
}

.docs-nav {
	position: sticky;
	top: calc(var(--nav-h) + 18px);
	display: grid;
	gap: 4px;
	padding: 16px 14px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 50%),
		var(--bg-elevated);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.docs-nav-title {
	margin: 0 0 8px;
	padding: 0 8px 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7a7a86;
}

.docs-nav a {
	display: block;
	padding: 8px 10px;
	border-radius: 10px;
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.35;
	transition: background 0.15s ease, color 0.15s ease;
}

.docs-nav a:hover {
	color: var(--text);
	background: rgba(255, 255, 255, 0.04);
}

.docs-nav a.is-active {
	color: var(--text);
	background: rgba(76, 175, 80, 0.12);
	box-shadow: inset 2px 0 0 var(--accent);
}

.docs-content {
	min-width: 0;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 28px 28px 32px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 36%),
		var(--bg-elevated);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.docs-block + .docs-block {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.docs-block h2 {
	margin: 0 0 12px;
	font-family: var(--font-display);
	font-size: 1.35rem;
	letter-spacing: -0.02em;
}

.docs-block p {
	margin: 0 0 12px;
	color: var(--muted);
	line-height: 1.7;
	max-width: 70ch;
}

.docs-block p:last-child,
.docs-block ul:last-child,
.docs-block ol:last-child {
	margin-bottom: 0;
}

.docs-block ul,
.docs-steps {
	margin: 0 0 4px;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
	max-width: 70ch;
}

.docs-block li,
.docs-steps li {
	position: relative;
	padding-left: 18px;
	color: #d5d5dc;
	line-height: 1.55;
}

.docs-block li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
}

.docs-steps {
	counter-reset: docs-step;
}

.docs-steps li {
	padding-left: 34px;
}

.docs-steps li::before {
	content: counter(docs-step);
	counter-increment: docs-step;
	position: absolute;
	left: 0;
	top: 0.1em;
	width: 22px;
	height: 22px;
	border-radius: 8px;
	display: grid;
	place-items: center;
	font-size: 0.72rem;
	font-weight: 700;
	color: #b8f0bc;
	background: rgba(76, 175, 80, 0.14);
	border: 1px solid rgba(76, 175, 80, 0.28);
}

.docs-block a {
	color: var(--accent);
	font-weight: 600;
}

.docs-block a:hover {
	text-decoration: underline;
}

.docs-faq {
	display: grid;
	gap: 10px;
	max-width: 70ch;
}

.docs-faq details {
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.02);
}

.docs-faq summary {
	cursor: pointer;
	font-weight: 650;
	color: var(--text);
	list-style: none;
}

.docs-faq summary::-webkit-details-marker {
	display: none;
}

.docs-faq summary::after {
	content: "+";
	float: right;
	color: var(--muted);
	font-weight: 500;
}

.docs-faq details[open] summary::after {
	content: "–";
}

.docs-faq p {
	margin: 10px 0 0;
	color: var(--muted);
	line-height: 1.6;
}

@media (max-width: 900px) {
	.docs-layout {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.docs-nav {
		position: static;
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
		padding: 12px;
	}

	.docs-nav-title {
		width: 100%;
		margin-bottom: 4px;
		padding-bottom: 6px;
	}

	.docs-nav a {
		padding: 7px 10px;
		font-size: 0.86rem;
		border: 1px solid rgba(255, 255, 255, 0.06);
	}

	.docs-nav a.is-active {
		box-shadow: none;
	}

	.docs-content {
		padding: 22px 18px 26px;
	}
}
