.research-tools {
	container-type: inline-size;
	container-name: research-tools;
	padding-inline: 1rem;
	margin-block: 1.25rem 2rem;
}

.research-tools__inner {
	max-width: 1180px;
	margin-inline: auto;
	padding: 1.75rem 1.15rem 1.35rem;
	border-radius: 1.6rem;
	background:
		radial-gradient(900px 240px at 100% 0%, rgba(92, 33, 137, 0.18), transparent 60%),
		linear-gradient(180deg, #ffffff 0%, #f6f3fb 100%);
	border: 1px solid rgba(92, 33, 137, 0.12);
	box-shadow: 0 20px 50px rgba(49, 20, 74, 0.08);
}

.research-tools__eyebrow {
	margin: 0 0 0.35rem;
	color: #7c3aed;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.research-tools__title {
	margin: 0;
	color: #2a1840;
	font-size: clamp(1.35rem, 2.4vw, 1.9rem);
	font-weight: 800;
}

.research-tools__lead {
	margin: 0.45rem 0 1.15rem;
	color: #5c5470;
	font-size: 0.98rem;
}

.research-tools__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.research-tool {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0.7rem;
	min-block-size: 8.6rem;
	padding: 1rem 0.7rem 0.9rem;
	border-radius: 1.15rem;
	text-decoration: none;
	text-align: center;
	color: #2b2140;
	background: #fff;
	border: 1px solid rgba(92, 33, 137, 0.1);
	box-shadow: 0 8px 18px rgba(49, 20, 74, 0.05);
	transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.research-tool:hover {
	transform: translateY(-3px);
	border-color: rgba(92, 33, 137, 0.38);
	box-shadow: 0 14px 28px rgba(49, 20, 74, 0.1);
}

.research-tool:focus-visible {
	outline: 3px solid #5c2189;
	outline-offset: 3px;
}

.research-tool__icon {
	inline-size: auto;
	block-size: auto;
	display: grid;
	place-items: center;
	border-radius: 0;
	background: none;
	color: #0284c7;
	font-size: 2.45rem;
	line-height: 1;
	filter: saturate(1.4) contrast(1.08);
}

.research-tool__icon i {
	color: inherit;
	font-size: 1em;
	line-height: 1;
	filter: drop-shadow(0 0.12rem 0.35rem color-mix(in srgb, currentColor 35%, transparent));
}

.research-tool__name {
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.45;
	text-decoration: none;
}

.research-tool:hover .research-tool__name,
.research-tool:focus-visible .research-tool__name {
	text-decoration: none;
}

@media (max-width: 899px) {
	.research-tool {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		text-align: start;
		gap: 1rem;
		min-block-size: 0;
		padding: 1rem 1.15rem;
	}

	.research-tool__icon {
		inline-size: auto;
		block-size: auto;
		font-size: 2.65rem;
		flex: none;
	}
}

@media (min-width: 900px) {
	.research-tools__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.tone-search { color: #0284c7; background: none; }
.tone-resume { color: #7c3aed; background: none; }
.tone-share { color: #0d9488; background: none; }
.tone-poll { color: #d97706; background: none; }
.tone-journal { color: #ea580c; background: none; }
.tone-review { color: #db2777; background: none; }
.tone-idea { color: #16a34a; background: none; }
.tone-process { color: #4f46e5; background: none; }

.research-tools__grid > li:nth-child(8) .tone-process { color: #db2777; }
.research-tools__grid > li:nth-child(9) .tone-process { color: #0d9488; }
.research-tools__grid > li:nth-child(10) .tone-process { color: #d97706; }
.research-tools__grid > li:nth-child(11) .tone-process { color: #0284c7; }
.research-tools__grid > li:nth-child(12) .tone-process { color: #16a34a; }

@container research-tools (min-width: 760px) {
	.research-tools__inner {
		padding-inline: 1.6rem;
	}

	.research-tool__icon {
		font-size: 2.55rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.research-tool {
		transition: none;
	}

	.research-tool:hover {
		transform: none;
	}
}

.rt-page {
	--rt-bg: transparent;
	--rt-card: var(--stone, #23262c);
	--rt-ink: var(--text, #e8eaee);
	--rt-muted: var(--muted, #b0b6c0);
	--rt-line: var(--line, rgba(232, 234, 238, 0.22));
	--rt-accent: #c4b5fd;
	--rt-link: #f3d78a;
	--rt-danger: #fecaca;
	--rt-note-bg: rgba(243, 215, 138, 0.14);
	--rt-note-ink: #f3d78a;
	--rt-field: #1c2026;
	--rt-field-border: rgba(232, 234, 238, 0.38);
	--rt-placeholder: #9aa3b2;
	--rt-file-btn: #e6c36a;
	--rt-file-btn-ink: #16181c;
	--rt-shadow: none;
	container-type: inline-size;
	padding: 1.5rem 1rem 3rem;
	background: var(--rt-bg);
	color: var(--rt-ink);
	color-scheme: dark;
}

html.theme-light .rt-page {
	--rt-card: #ffffff;
	--rt-ink: #1a1d23;
	--rt-muted: #3c4452;
	--rt-line: rgba(26, 29, 35, 0.16);
	--rt-accent: #5b21b6;
	--rt-link: #5b21b6;
	--rt-danger: #9f1239;
	--rt-note-bg: #eef2ff;
	--rt-note-ink: #312e81;
	--rt-field: #ffffff;
	--rt-field-border: rgba(26, 29, 35, 0.32);
	--rt-placeholder: #5c6570;
	--rt-file-btn: #4c1d95;
	--rt-file-btn-ink: #ffffff;
	--rt-shadow: 0 16px 40px rgba(26, 29, 35, 0.06);
	color-scheme: light;
}

.rt-wrap {
	max-width: 760px;
	margin-inline: auto;
}

.rt-page .rt-hero .research-tools__eyebrow {
	color: var(--rt-accent);
}

.rt-hero h1 {
	margin: 0.2rem 0 0.4rem;
	color: var(--rt-ink);
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.rt-hero p {
	margin: 0 0 1rem;
	color: var(--rt-muted);
	line-height: 1.8;
}

.rt-note {
	margin: 0 0 1rem;
	padding: 0.75rem 0.9rem;
	border-radius: 0.8rem;
	background: var(--rt-note-bg);
	color: var(--rt-note-ink);
	border: 1px solid var(--rt-line);
}

.rt-form {
	display: grid;
	gap: 1rem;
	padding: 1.2rem;
	border-radius: 1.2rem;
	background: var(--rt-card);
	border: 1px solid var(--rt-line);
	box-shadow: var(--rt-shadow);
	color: var(--rt-ink);
}

.rt-field label,
.rt-legend {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 700;
	color: var(--rt-ink);
}

.rt-page .req {
	color: var(--rt-danger);
}

body.page-dark main .rt-page :is(.rt-input, .rt-file, select, textarea) {
	width: 100%;
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--rt-field-border);
	border-radius: 0.8rem;
	background: var(--rt-field);
	font: inherit;
	color: var(--rt-ink);
}

.rt-page select option {
	background: var(--rt-field);
	color: var(--rt-ink);
}

body.page-dark main .rt-page :is(.rt-input, .rt-file, select, textarea)::placeholder {
	color: var(--rt-placeholder);
	opacity: 1;
}

body.page-dark main .rt-page :is(.rt-input, .rt-file, select, textarea):focus {
	outline: 3px solid color-mix(in srgb, var(--rt-accent) 55%, transparent);
	border-color: var(--rt-accent);
}

body.page-dark main .rt-page :is(.rt-input, select, textarea):user-invalid {
	border-color: var(--rt-danger);
}

.rt-page input[type="file"]::file-selector-button {
	margin-inline-end: 0.75rem;
	border: 0;
	border-radius: 999px;
	padding: 0.45rem 0.9rem;
	background: var(--rt-file-btn);
	color: var(--rt-file-btn-ink);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.rt-page :is(input, textarea):-webkit-autofill {
	-webkit-text-fill-color: var(--rt-ink);
	caret-color: var(--rt-ink);
	box-shadow: 0 0 0 1000px var(--rt-field) inset;
}

.rt-hint {
	display: block;
	margin-top: 0.35rem;
	color: var(--rt-muted);
	font-size: 0.85rem;
}

.rt-error {
	display: block;
	margin-top: 0.3rem;
	color: var(--rt-danger);
	font-size: 0.85rem;
}

.rt-checks {
	display: grid;
	gap: 0.55rem;
	margin: 0;
	padding: 0.85rem;
	list-style: none;
	border: 1px solid var(--rt-line);
	border-radius: 0.8rem;
	background: color-mix(in srgb, var(--rt-field) 72%, transparent);
}

.rt-checks li,
.rt-checks label {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-weight: 500;
	color: var(--rt-ink);
}

body.page-dark main .rt-page .rt-checks input {
	margin-top: 0.25rem;
	inline-size: 1.05rem;
	block-size: 1.05rem;
	accent-color: var(--rt-accent);
	background: transparent;
	border: 0;
}

.rt-submit {
	justify-self: start;
	border: 0;
	border-radius: 999px;
	padding: 0.8rem 1.4rem;
	background: linear-gradient(135deg, #6d28d9, #4c1d95);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.rt-submit:hover {
	background: linear-gradient(135deg, #7c3aed, #5b21b6);
	color: #fff;
}

.rt-submit:focus-visible {
	outline: 3px solid var(--rt-accent);
	outline-offset: 3px;
}

.rt-auth {
	margin: 0.8rem 0 0;
	color: var(--rt-muted);
	font-size: 0.92rem;
}

.rt-auth a {
	color: var(--rt-link);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.rt-auth a:hover {
	color: var(--rt-ink);
}
