.tutorial-text {
	--tutorial-orange: #ef8b32;
	--tutorial-orange-dark: #c96b1d;
	--tutorial-cream: #fff8e9;
	--tutorial-yellow: #fdefcc;
	--tutorial-green: #58a882;
	--tutorial-green-light: #edf8f3;
	--tutorial-blue: #4d83ad;
	--tutorial-text: #594b42;
	color: var(--tutorial-text);
}

.tutorial-text *,
.tutorial-text *::before,
.tutorial-text *::after {
	box-sizing: border-box;
}

.tutorial-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(180px, .85fr);
	gap: 28px;
	align-items: center;
	margin: 0 0 52px;
	padding: 36px;
	border: 1px solid #f2d7ae;
	border-radius: 24px;
	background: linear-gradient(135deg, #fffaf0 0%, #ffedc9 100%);
	box-shadow: 0 12px 30px rgba(131, 100, 73, .1);
}

.tutorial-hero__badge,
.tutorial-section__label {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin: 0 0 10px;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: .04em;
}

.tutorial-hero__badge {
	background: var(--tutorial-orange);
	color: #fff;
}

.tutorial-hero h2,
.tutorial-section__heading h2 {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #5d4938;
	line-height: 1.4;
}

.tutorial-hero h2 {
	font-size: 28px;
}

.tutorial-hero__content > p:not(.tutorial-hero__badge) {
	margin: 16px 0 22px;
	font-size: 16px;
	line-height: 1.85;
}

.tutorial-hero__mascot {
	text-align: center;
}

.tutorial-hero__mascot img {
	display: block;
	width: 104px;
	height: 104px;
	margin: 0 auto 20px;
	object-fit: contain;
}

.tutorial-hero__mascot p {
	position: relative;
	margin: 0;
	padding: 14px 16px;
	border-radius: 16px;
	background: #fff;
	font-size: 13px;
	line-height: 1.65;
	text-align: left;
}

.tutorial-hero__mascot p::before {
	position: absolute;
	top: -14px;
	left: 50%;
	width: 0;
	height: 0;
	border-right: 12px solid transparent;
	border-bottom: 15px solid #fff;
	border-left: 12px solid transparent;
	content: "";
	transform: translateX(-50%);
}

.tutorial-primary-action {
	margin-top: 18px;
}

.tutorial-primary-action--center,
.tutorial-primary-action--hero {
	text-align: center;
}

.tutorial-primary-action__button,
.tutorial-sticky-action a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-height: 50px;
	padding: 12px 26px;
	border-radius: 999px;
	background: var(--tutorial-orange);
	box-shadow: 0 6px 14px rgba(201, 107, 29, .2);
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	line-height: 1.4;
	text-align: center;
}

.tutorial-primary-action__button:hover,
.tutorial-sticky-action a:hover {
	background: var(--tutorial-orange-dark);
	color: #fff;
	text-decoration: none;
}

.tutorial-primary-action p {
	margin: 9px 0 0;
	color: #79695d;
	font-size: 12px;
	line-height: 1.6;
}

.tutorial-primary-action--hero p {
	margin-top: 14px;
	text-align: center;
	white-space: nowrap;
}

.tutorial-section {
	margin: 0 0 56px;
	scroll-margin-top: 20px;
}

.tutorial-section__heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-bottom: 18px;
}

.tutorial-section__heading h2 {
	font-size: 23px;
}

.tutorial-section__label--required {
	background: #fff0e4;
	color: #bd5f19;
}

.tutorial-section__label--later {
	background: #eaf3fa;
	color: var(--tutorial-blue);
}

.tutorial-text .tutorial-essential-list,
.tutorial-text .tutorial-checklist,
.tutorial-text .tutorial-chat-steps {
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tutorial-essential-list > li::before,
.tutorial-checklist > li::before,
.tutorial-chat-steps > li::before {
	display: none;
	content: none;
}

.tutorial-essential-list,
.tutorial-chat-steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

.tutorial-essential-list li,
.tutorial-chat-steps li {
	--tutorial-card-color: #c86b2c;
	--tutorial-card-background: #fff1e5;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	padding: 24px;
	border: 1px solid #eadfd3;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(90, 71, 52, .07);
}

.tutorial-essential-list li:nth-child(2) {
	--tutorial-card-color: #4c7f7a;
	--tutorial-card-background: #edf8f5;
}

.tutorial-essential-list li:nth-child(3) {
	--tutorial-card-color: #5e78a0;
	--tutorial-card-background: #eef3fa;
}

.tutorial-essential-list__visual,
.tutorial-chat-steps__visual {
	display: flex;
	position: relative;
	justify-content: center;
	align-items: center;
	width: 64px;
	height: 64px;
}

.tutorial-essential-list__icon,
.tutorial-chat-steps__icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 60px;
	height: 60px;
	border-radius: 20px;
	background: var(--tutorial-card-background);
	color: var(--tutorial-card-color);
}

.tutorial-essential-list__icon svg,
.tutorial-chat-steps__icon svg {
	width: 31px;
	height: 31px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tutorial-essential-list__number,
.tutorial-chat-steps__number {
	display: flex;
	position: absolute;
	top: -7px;
	left: -7px;
	z-index: 1;
	justify-content: center;
	align-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--tutorial-card-color);
	box-shadow: 0 0 0 3px #fff;
	color: #fff;
	font-size: 13px;
	font-weight: bold;
}

.tutorial-essential-list__body,
.tutorial-chat-steps__body {
	min-width: 0;
}

.tutorial-essential-list h3,
.tutorial-checklist h3,
.tutorial-chat-steps h3 {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #5d4938;
}

.tutorial-essential-list h3,
.tutorial-chat-steps h3 {
	font-size: 20px;
	line-height: 1.5;
}

.tutorial-essential-list p,
.tutorial-chat-steps p {
	margin: 13px 0 0;
	font-size: 15px;
	line-height: 1.85;
}

.tutorial-chat-steps p {
	margin: 9px 0 0;
	font-size: 13px;
	line-height: 1.75;
}

.tutorial-essential-list p.tutorial-essential-list__reference {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #eee2d4;
	color: #74665b;
	font-size: 13px;
	line-height: 1.6;
}

.tutorial-essential-list__reference a {
	color: var(--tutorial-card-color);
	font-weight: bold;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tutorial-essential-list__reference a:hover {
	text-decoration-thickness: 2px;
}

.tutorial-checklist {
	position: relative;
	margin-top: 20px;
}

.tutorial-checklist::before {
	position: absolute;
	top: 32px;
	bottom: 32px;
	left: 25px;
	width: 2px;
	background: #f0d2aa;
	content: "";
}

.tutorial-checklist__item {
	display: flex;
	position: relative;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 12px;
	padding: 18px;
	border: 1px solid #efd6b5;
	border-radius: 14px;
	background: #fffaf1;
}

.tutorial-checklist__item.is-complete {
	border-color: #f0c88f;
	background: #fff5e3;
}

.tutorial-checklist__item.is-locked {
	border-color: #e8ddd0;
	background: #f8f3ec;
	color: #87786d;
}

.tutorial-checklist__status {
	display: flex;
	z-index: 1;
	flex: 0 0 34px;
	justify-content: center;
	align-items: center;
	width: 34px;
	height: 34px;
	border: 2px solid #e2c9aa;
	border-radius: 50%;
	background: #fff;
	color: var(--tutorial-orange-dark);
	font-weight: bold;
}

.tutorial-checklist__item.is-complete .tutorial-checklist__status {
	border-color: var(--tutorial-orange);
	background: var(--tutorial-orange);
	color: #fff;
}

.tutorial-checklist__item.is-locked .tutorial-checklist__status {
	border-color: #d8d4cf;
	color: #a7a19b;
}

.tutorial-checklist__content {
	flex: 1;
	min-width: 0;
}

.tutorial-checklist__title-row {
	display: flex;
	gap: 10px;
	justify-content: space-between;
	align-items: center;
}

.tutorial-checklist h3 {
	font-size: 16px;
}

.tutorial-checklist__content p {
	margin: 7px 0 4px;
	font-size: 13px;
	line-height: 1.65;
}

.tutorial-checklist__content a {
	font-size: 13px;
	font-weight: bold;
}

.tutorial-checklist__badge {
	flex: 0 0 auto;
	padding: 3px 9px;
	border-radius: 999px;
	background: #ffe4bd;
	color: #a65416;
	font-size: 11px;
	font-weight: bold;
}

.tutorial-checklist__badge--next {
	background: #fff0e4;
	color: #bd5f19;
}

.tutorial-checklist__badge--locked {
	background: #e8e5e2;
	color: #7c7772;
}

.tutorial-feedback-note {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-top: 18px;
	padding: 17px 20px;
	border: 1px solid #f0d4a4;
	border-radius: 16px;
	background: var(--tutorial-yellow);
}

.tutorial-feedback-note img {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	object-fit: contain;
}

.tutorial-feedback-note__content {
	min-width: 0;
}

.tutorial-feedback-note strong {
	display: block;
}

.tutorial-feedback-note p {
	margin: 0;
	font-size: 13px;
	line-height: 1.75;
}

.tutorial-section--resources {
	padding: 26px;
	border-radius: 20px;
	background: #fff7e8;
}

.tutorial-resource-list {
	display: grid;
	gap: 10px;
	margin-top: 18px;
}

.tutorial-resource {
	overflow: hidden;
	border: 1px solid #efd7b7;
	border-radius: 13px;
	background: #fff;
}

.tutorial-resource__button {
	display: flex;
	gap: 15px;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 16px 18px;
	border: 0;
	background: transparent;
	color: #5d4938;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.tutorial-resource__button:hover,
.tutorial-resource__button:focus-visible {
	background: #fff1d9;
}

.tutorial-resource__button small,
.tutorial-resource__button strong {
	display: block;
}

.tutorial-resource__button small {
	margin-bottom: 3px;
	color: var(--tutorial-orange-dark);
	font-size: 10px;
	font-weight: bold;
}

.tutorial-resource__button strong {
	font-size: 14px;
}

.tutorial-resource__icon {
	flex: 0 0 auto;
	font-size: 23px;
	line-height: 1;
	transition: transform .2s ease;
}

.tutorial-resource__button[aria-expanded="true"] .tutorial-resource__icon {
	transform: rotate(45deg);
}

.tutorial-resource__panel {
	padding: 0 18px 18px;
	border-top: 1px solid #f2e1c9;
}

.tutorial-resource__panel p {
	margin: 14px 0 10px;
	font-size: 13px;
	line-height: 1.7;
}

.tutorial-resource__panel ul {
	margin: 0;
	padding-left: 20px;
}

.tutorial-resource__panel li {
	margin: 5px 0;
	font-size: 13px;
}

.tutorial-sticky-action {
	display: none;
}

@media screen and (max-width: 760px) {
	.tutorial-hero {
		grid-template-columns: 1fr;
		gap: 22px;
		padding: 28px 24px;
	}

	.tutorial-hero__mascot {
		display: flex;
		gap: 20px;
		align-items: center;
		text-align: left;
	}

	.tutorial-hero__mascot img {
		flex: 0 0 78px;
		width: 78px;
		height: 78px;
		margin: 0;
	}

	.tutorial-hero__mascot p::before {
		top: 50%;
		left: -14px;
		border-top: 12px solid transparent;
		border-right: 15px solid #fff;
		border-bottom: 12px solid transparent;
		border-left: 0;
		transform: translateY(-50%);
	}

	.tutorial-essential-list,
	.tutorial-chat-steps {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.tutorial-chat-steps {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 600px) {
	.tutorial-heading-box {
		align-items: flex-start;
		flex-wrap: wrap;
		gap: 10px;
	}

	.tutorial-heading-box h1 {
		width: 100%;
	}

	.tutorial-text {
		padding-bottom: 66px;
	}

	.tutorial-hero {
		margin-bottom: 42px;
		padding: 24px 18px;
		border-radius: 18px;
	}

	.tutorial-hero h2 {
		font-size: 23px;
	}

	.tutorial-hero__mascot {
		gap: 14px;
	}

	.tutorial-hero__mascot img {
		flex-basis: 60px;
		width: 60px;
		height: 60px;
	}

	.tutorial-hero__mascot p {
		padding: 12px 14px;
		font-size: 12px;
		line-height: 1.6;
	}

	.tutorial-essential-list,
	.tutorial-chat-steps {
		gap: 14px;
	}

	.tutorial-essential-list li,
	.tutorial-chat-steps li {
		grid-template-columns: 54px minmax(0, 1fr);
		column-gap: 16px;
		row-gap: 14px;
		padding: 20px 18px;
	}

	.tutorial-essential-list__visual,
	.tutorial-chat-steps__visual {
		grid-row: 1;
		grid-column: 1;
		align-self: center;
		width: 54px;
		height: 54px;
	}

	.tutorial-essential-list__body,
	.tutorial-chat-steps__body {
		display: contents;
	}

	.tutorial-essential-list__icon,
	.tutorial-chat-steps__icon {
		width: 52px;
		height: 52px;
		border-radius: 17px;
	}

	.tutorial-essential-list__icon svg,
	.tutorial-chat-steps__icon svg {
		width: 28px;
		height: 28px;
	}

	.tutorial-essential-list__number,
	.tutorial-chat-steps__number {
		width: 24px;
		height: 24px;
		font-size: 12px;
	}

	.tutorial-essential-list h3,
	.tutorial-chat-steps h3 {
		grid-row: 1;
		grid-column: 2;
		align-self: center;
		font-size: 18px;
	}

	.tutorial-essential-list p,
	.tutorial-chat-steps p {
		grid-column: 1 / -1;
		margin-top: 0;
		font-size: 14px;
		line-height: 1.8;
	}

	.tutorial-essential-list p.tutorial-essential-list__reference {
		margin-top: 0;
	}

	.tutorial-primary-action--center {
		margin-top: 30px;
	}

	.tutorial-primary-action__button {
		width: 100%;
		padding-right: 16px;
		padding-left: 16px;
	}

	.tutorial-section {
		margin-bottom: 44px;
	}

	.tutorial-section__heading h2 {
		font-size: 21px;
	}

	.tutorial-checklist__item {
		gap: 12px;
		padding: 15px 13px;
	}

	.tutorial-checklist__title-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.tutorial-feedback-note {
		display: grid;
		grid-template-columns: 50px minmax(0, 1fr);
		column-gap: 12px;
		row-gap: 10px;
		align-items: center;
		padding: 15px;
	}

	.tutorial-feedback-note img {
		grid-row: 1;
		grid-column: 1;
		width: 50px;
		height: 50px;
	}

	.tutorial-feedback-note__content {
		display: contents;
	}

	.tutorial-feedback-note strong {
		grid-row: 1;
		grid-column: 2;
	}

	.tutorial-feedback-note p {
		grid-column: 1 / -1;
	}

	.tutorial-section--resources {
		margin-right: -10px;
		margin-left: -10px;
		padding: 22px 12px;
		border-radius: 16px;
	}

	.tutorial-sticky-action {
		display: block;
		position: fixed;
		z-index: 50;
		right: 0;
		bottom: 0;
		left: 0;
		padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
		border-top: 1px solid #eadcc8;
		background: rgba(255, 255, 255, .96);
		box-shadow: 0 -4px 16px rgba(80, 62, 47, .1);
	}

	.tutorial-sticky-action a {
		display: flex;
		width: min(100%, 520px);
		min-height: 45px;
		margin: 0 auto;
		padding: 9px 14px;
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tutorial-resource__icon {
		transition: none;
	}
}
