/**
 * WriteQuest theme styles.
 *
 * Design tokens come from theme.json (--wp--preset--*). The short aliases
 * below keep the original design/styles.css rules readable and give every
 * token a hard-coded fallback, so the CSS also works where WordPress has
 * not printed its preset variables.
 */

:root {
	--ink: var(--wp--preset--color--ink, #203b5d);
	--muted: var(--wp--preset--color--muted, #506582);
	--blue: var(--wp--preset--color--blue, #347ae1);
	--blue-soft: var(--wp--preset--color--blue-soft, #e9f3ff);
	--border: var(--wp--preset--color--border, #d7e3f2);
	--surface: var(--wp--preset--color--surface, #ffffff);
	--page: var(--wp--preset--color--page, #f7fbff);
	--topic: var(--wp--preset--color--topic, #dceafb);
	--detail: var(--wp--preset--color--detail, #cdeeea);
	--conclusion: var(--wp--preset--color--conclusion, #e8dcfa);
	--gold: var(--wp--preset--color--gold, #b98419);
	--gold-soft: var(--wp--preset--color--gold-soft, #fff6df);
	--serif: var(--wp--preset--font-family--caudex, Caudex, "Adobe Caslon Pro", Georgia, serif);
	--radius-pill: var(--wp--custom--radius--pill, 999px);
	--radius-card: var(--wp--custom--radius--card, 22px);
	--radius-box: var(--wp--custom--radius--box, 12px);
	--shadow-card: var(--wp--custom--shadow--card, 0 14px 40px rgba(27, 66, 102, 0.08));
	/* Menu colours, taken from the reference site's tab bar. */
	--nav-tab: #b4cceb;
	--nav-tab-hover: #a3c0e5;
	--nav-tab-current: #8fb4e0;
	--nav-ink: #01071b;
	--gradient-hero: linear-gradient(105deg, #e6f5fa 0%, #eef0ff 100%);
	--gradient-example: linear-gradient(135deg, #f5fbff, #effbf8);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	color: var(--ink);
	background: var(--page);
	font-family: var(--serif);
	font-size: 18px;
	line-height: 1.62;
}

/* --- Accessibility helpers --------------------------------------------- */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed !important;
	top: 10px;
	left: 10px;
	z-index: 100;
	width: auto;
	height: auto;
	clip-path: none;
	padding: 10px 16px;
	border-radius: var(--radius-box);
	background: var(--surface);
	box-shadow: var(--shadow-card);
}

:where(a, summary, button):focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}

/* --- Site header and menu ------------------------------------------------ */

.site-header {
	z-index: 20;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
}

.site-header--sticky {
	position: sticky;
	top: 0;
}

/* Logged in, WordPress's admin bar owns the top of the viewport. */
.admin-bar .site-header--sticky { top: 32px; }

@media (max-width: 782px) {
	.admin-bar .site-header--sticky { top: 46px; }
}

.site-header__inner {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 10px;
	/* The tab bar spans the whole viewport, as on the reference site. */
	width: 100%;
	padding: 10px 4px 0;
}

.site-nav { width: 100%; }

.site-nav__list {
	display: flex;
	gap: 4px;
	justify-content: center;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Each tab takes an equal share of the bar, shrinking rather than wrapping. */
.site-nav__list > li {
	display: flex;
	flex: 1 1 0;
	min-width: 0;
}

.site-nav__list > li > a {
	display: inline-flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 7px clamp(6px, 1.1vw, 14px) 6px;
	/* Tab shape: rounded at the top, flush with the bar at the bottom. */
	border-radius: 8px 8px 0 0;
	color: var(--nav-ink);
	background: var(--nav-tab);
	font-size: clamp(0.82rem, 1.25vw, 1rem);
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.site-nav__list > li > a:hover,
.site-nav__list > li > a:focus-visible { background: var(--nav-tab-hover); }

.site-nav__list > .current-menu-item > a,
.site-nav__list > .current_page_item > a {
	background: var(--nav-tab-current);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-nav__icon { font-size: 0.95em; line-height: 1; }

/* The toggle only exists on small screens. */

.nav-toggle {
	display: none;
	align-items: center;
	gap: 9px;
	margin: 0 0 8px;
	padding: 9px 16px;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	color: var(--nav-ink);
	background: var(--nav-tab);
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.nav-toggle__bars {
	position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	position: absolute;
	left: 0;
	content: "";
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.is-menu-open .nav-toggle__bars { background: transparent; }
.is-menu-open .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.is-menu-open .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 859px) {
	.site-header {
		background: var(--page);
		border-bottom: 0;
	}

	.site-header__inner {
		align-items: center;
		justify-content: flex-end;
		padding: 10px 16px;
	}

	/* Icon only, as on the reference; the label stays for screen readers. */
	.site-header--js .nav-toggle {
		display: inline-flex;
		justify-content: center;
		padding: 10px;
		border: 0;
		background: none;
	}

	.site-header--js .nav-toggle .nav-toggle__text {
		position: absolute !important;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.site-header--js .nav-toggle__bars,
	.site-header--js .nav-toggle__bars::before,
	.site-header--js .nav-toggle__bars::after {
		width: 28px;
		height: 2px;
	}

	.site-header--js .nav-toggle__bars::before { top: -8px; }
	.site-header--js .nav-toggle__bars::after { top: 8px; }

	/* Without the script the menu simply stays visible in the flow. */
	.site-header--js .site-nav { display: none; }

	/* Open: a full-screen sheet, the way the reference does it. */
	.site-header--js.is-menu-open .site-nav {
		position: fixed;
		inset: 0;
		z-index: 90;
		display: block;
		padding: 92px 18px 32px;
		overflow-y: auto;
		background: #fff;
		overscroll-behavior: contain;
	}

	.site-header--js.is-menu-open .nav-toggle {
		position: fixed;
		top: 14px;
		right: 14px;
		z-index: 95;
	}

	/* Clear the admin bar, which is fixed over the top on small screens. */
	.admin-bar .site-header--js.is-menu-open .site-nav {
		top: 46px;
		padding-top: 78px;
	}

	.admin-bar .site-header--js.is-menu-open .nav-toggle { top: 60px; }

	.site-header--js.is-menu-open .nav-toggle__bars,
	.site-header--js.is-menu-open .nav-toggle__bars::before,
	.site-header--js.is-menu-open .nav-toggle__bars::after {
		width: 32px;
	}

	/* The two strokes must sit on top of each other to cross; the offsets
	   above are what makes the three-line icon, so undo them when open. */
	.site-header--js.is-menu-open .nav-toggle__bars::before,
	.site-header--js.is-menu-open .nav-toggle__bars::after {
		top: 0;
	}

	.site-nav__list {
		flex-direction: column;
		gap: 8px;
		width: min(560px, 100%);
		margin-inline: auto;
	}

	.site-nav__list > li { flex: 0 0 auto; }

	.site-nav__list > li > a {
		justify-content: center;
		padding: 15px 18px;
		border-radius: 8px;
		font-size: 1.2rem;
	}

	/* The sheet covers the page, so the page behind it holds still. */
	.has-menu-open,
	.has-menu-open body { overflow: hidden; }
}

/* --- Hero --------------------------------------------------------------- */

.hero {
	background: var(--gradient-hero);
	border-bottom: 1px solid var(--border);
}

.hero__inner,
.steps {
	width: min(960px, calc(100% - 40px));
	margin-inline: auto;
}

/* main spans the full width; each block inside sets its own measure, so
   artwork and the interactive module can run wider than the text column. */
main { width: 100%; }

.lesson,
.pagination,
main > .page-links {
	width: min(960px, calc(100% - 40px));
	margin-inline: auto;
}

.hero__inner { padding: 54px 0 32px; }

.eyebrow,
.section-label,
.is-style-eyebrow,
.is-style-section-label {
	display: inline-block;
	margin: 0 0 12px;
	padding: 3px 13px;
	border-radius: var(--radius-pill);
	color: var(--blue);
	background: var(--surface);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow img { display: block; max-height: 24px; width: auto; height: auto; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, summary, strong { font-weight: 700; }

h1,
.hero__title {
	margin-bottom: 10px;
	font-size: clamp(2rem, 5vw, 3.2rem);
	font-weight: 700;
	line-height: 1.12;
}

.hero p { max-width: 780px; }

.lead,
.is-style-lead { color: var(--muted); font-size: 1.15rem; }

/* --- Step navigation ---------------------------------------------------- */

.steps {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-block: 12px;
	scrollbar-width: thin;
}

.steps a {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 5px;
	padding: 8px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	color: var(--ink);
	background: var(--surface);
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.steps a > span:first-child {
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	border-radius: 50%;
	color: var(--blue);
	background: var(--blue-soft);
}

.steps .is-current { color: #fff; background: var(--blue); border-color: var(--blue); }
.steps .is-current > span:first-child { color: var(--blue); background: #fff; }

/* --- Lesson card -------------------------------------------------------- */

main { padding-block: 36px 64px; }

.lesson,
.is-style-lesson {
	padding: clamp(24px, 5vw, 48px);
	border-radius: var(--radius-card);
	background: var(--surface);
	box-shadow: var(--shadow-card);
}

.lesson + .lesson { margin-top: 28px; }

h2,
.lesson__title {
	margin-bottom: 8px;
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	line-height: 1.12;
}

.lesson__title a { color: inherit; text-decoration: none; }
.lesson__media img { max-width: 100%; height: auto; border-radius: var(--radius-box); }

.intro,
.is-style-intro { max-width: 760px; color: var(--muted); }

/* --- Accordion ---------------------------------------------------------- */

.accordion,
.is-style-accordion { margin-top: 28px; }

details,
.wp-block-details {
	margin-top: 10px;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius-box);
	background: #fff;
}

summary {
	position: relative;
	padding: 16px 48px 16px 18px;
	cursor: pointer;
	list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
	position: absolute;
	top: 15px;
	right: 18px;
	color: var(--blue);
	content: "+";
	font-size: 1.4rem;
	line-height: 1;
}

details[open] summary::after { content: "\2212"; }
details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }

/* --- Tip ---------------------------------------------------------------- */

.tip,
.is-style-tip {
	display: flex;
	gap: 14px;
	margin-top: 28px;
	padding: 16px 18px;
	border: 1px solid #f1d28b;
	border-left: 5px solid #dfa820;
	border-radius: var(--radius-box);
	background: var(--gold-soft);
}

.tip__icon { margin: 0; font-size: 1.4rem; }
.tip p { margin: 0; }

/* --- Example paragraph -------------------------------------------------- */

.example,
.is-style-example {
	margin-top: 30px;
	padding: clamp(18px, 4vw, 28px);
	border: 1px solid #cbe0f4;
	border-radius: var(--radius-box);
	background: var(--gradient-example);
}

.example h3 { color: var(--blue); }
.example__text { margin-bottom: 20px; }

mark {
	padding: 0.08em 0.2em;
	color: inherit;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* Hand-written classes and the editor's preset highlight both land here. */
.topic, mark.has-topic-background-color { background: var(--topic); }
.detail, mark.has-detail-background-color { background: var(--detail); }
.conclusion, mark.has-conclusion-background-color { background: var(--conclusion); }

.legend,
.is-style-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	color: var(--muted);
	font-size: 0.82rem;
	list-style: none;
}

.legend li { display: inline-flex; align-items: center; gap: 7px; }

.swatch {
	width: 15px;
	height: 15px;
	border: 1px solid currentColor;
	border-radius: 4px;
}

.swatch--topic { color: #6a9fdc; background: var(--topic); }
.swatch--detail { color: #2ba69a; background: var(--detail); }
.swatch--conclusion { color: #9669d9; background: var(--conclusion); }

/* --- Lesson index + pagination ------------------------------------------ */

.lesson-cards {
	display: grid;
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.lesson-card__link {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 18px;
	border: 1px solid var(--border);
	border-radius: var(--radius-box);
	color: inherit;
	background: #fff;
	text-decoration: none;
}

.lesson-card__link:hover { border-color: var(--blue); }

.lesson-card__number {
	display: grid;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	place-items: center;
	border-radius: 50%;
	color: var(--blue);
	background: var(--blue-soft);
	font-size: 0.9rem;
	font-weight: 700;
}

.lesson-card__body { display: grid; gap: 4px; }
.lesson-card__title { font-weight: 700; }
.lesson-card__excerpt { color: var(--muted); font-size: 0.92rem; }

.lesson-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.lesson-nav__link {
	display: grid;
	gap: 2px;
	color: inherit;
	text-decoration: none;
}

.lesson-nav__link--next { margin-inline-start: auto; text-align: right; }
.lesson-nav__label { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.03em; }
.lesson-nav__title { color: var(--blue); font-weight: 700; }

.pagination { margin-top: 28px; text-align: center; }

/* --- Footer -------------------------------------------------------------- */

.site-footer {
	padding: 20px;
	color: var(--muted);
	text-align: center;
	font-size: 0.84rem;
}

.site-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	justify-content: center;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}

.site-footer__credit { margin: 0; }

/* --- Search form --------------------------------------------------------- */

.search-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.search-form input[type="search"] {
	flex: 1 1 200px;
	padding: 10px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	font-family: inherit;
	font-size: 0.95rem;
}

.search-form button,
.search-form input[type="submit"] {
	padding: 10px 18px;
	border: 0;
	border-radius: var(--radius-pill);
	color: #fff;
	background: var(--blue);
	font-family: inherit;
	font-weight: 700;
	cursor: pointer;
}

/* --- Home: artwork, video, call to action -------------------------------- */

.hero--wordmark { padding: 0; }

.hero__wordmark {
	margin: 0;
	font-size: 0;
	line-height: 0;
}

.hero__wordmark-image {
	display: block;
	width: 100%;
	height: auto;
}

.home-art { margin: 0; }

.home-art__image {
	display: block;
	width: 100%;
	height: auto;
}

main > .home-art,
main > .home-video {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.home-art + .home-art { margin-top: 0; }

.home-video {
	padding-block: 8px 48px;
	background: var(--page);
}

.home-video__inner {
	width: min(960px, calc(100% - 40px));
	margin-inline: auto;
	text-align: center;
}

.home-video__intro {
	max-width: 760px;
	margin-inline: auto;
	color: var(--muted);
	font-size: 1.05rem;
}

.home-cta { margin: 26px 0 0; }

.button {
	display: inline-block;
	padding: 14px 30px;
	border: 0;
	border-radius: var(--radius-pill);
	color: #fff;
	background: var(--blue);
	box-shadow: var(--shadow-card);
	font-family: inherit;
	font-size: 1.02rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.button:hover,
.button:focus { background: #2a66c4; color: #fff; }

/* --- Responsive embeds (HeyGen video, Lumi/H5P activities) --------------- */

.wq-embed {
	position: relative;
	width: 100%;
	margin: 26px auto 0;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius-box);
	background: #fff;
	box-shadow: var(--shadow-card);
}

.wq-embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.wq-embed--video { aspect-ratio: 16 / 9; }

.wq-embed--activity {
	height: min(1000px, 85vh);
	min-height: 520px;
}

/* --- Doodle artwork bands ------------------------------------------------ */

/*
 * Each artwork is a square frame: doodles around the edge, a white blob in
 * the middle. The band shows the image at full viewport width from its top
 * edge, and the padding — in vw, so it tracks the image as it scales — drops
 * the content into that white middle. Decorative, so it is a background: it
 * is never announced and never sits over the content.
 */
.art-band {
	display: grid;
	place-items: center;
	width: 100%;
	/* Tall enough to show the frame; the artwork is square, so tying this to
	   the viewport width keeps the doodles in proportion. */
	min-height: min(100vw, 1100px);
	padding: clamp(28px, 5vw, 70px) clamp(18px, 12vw, 190px);
	background-color: #f1eeea;
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
}

.art-band__inner {
	width: min(760px, 100%);
	margin-inline: auto;
	text-align: center;
}

.art-band__inner--wide { width: min(900px, 100%); }

.art-band__intro {
	margin: 0 0 30px;
	color: var(--nav-ink);
	font-size: clamp(1.08rem, 1.85vw, 1.5rem);
	line-height: 1.5;
}

/*
 * On the intro band the text lands straight on the doodles, so it brings its
 * own soft plate — the same one the home video band uses. Below 700px the
 * whole inner column is already plated, so the plate is dropped there.
 */
.art-band--intro .art-band__intro {
	display: inline-block;
	padding: 14px 20px;
	border-radius: var(--radius-box);
	color: var(--ink);
	background: rgba(255, 255, 255, 0.86);
}

/* On the artwork the frame is the picture itself, so the embed stays plain. */
.art-band .wq-embed {
	margin: 0 auto;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.art-band--activity .lesson__content { text-align: left; }
.art-band--activity .lesson__content > :first-child { margin-top: 0; }

/*
 * The white blob is only so big. Where the content is taller than it — the
 * activity frame, and anything on a phone — it gets its own soft plate so the
 * text never lands on the doodles.
 */
.art-band--activity .art-band__inner {
	padding: 28px clamp(16px, 3vw, 32px) 32px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 700px) {
	.art-band {
		min-height: min(118vw, 640px);
		padding: 28px 16px;
	}

	/*
	 * The white centre of the artwork is too small at this size to hold the
	 * content, so the content brings its own plate and the artwork becomes a
	 * frame around it.
	 */
	.art-band__inner {
		padding: 20px 16px 24px;
		border-radius: 22px;
		background: rgba(255, 255, 255, 0.92);
	}

	.art-band__intro { font-size: 1.05rem; }

	.art-band--intro .art-band__intro {
		display: block;
		padding: 0;
		background: transparent;
	}
}

/* The home video band keeps the artwork behind its own inner column. */
.home-video.has-art {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

/* Text that lands on the artwork gets a soft plate so it stays readable. */
.home-video.has-art .home-video__intro {
	padding: 14px 20px;
	border-radius: var(--radius-box);
	color: var(--ink);
	background: rgba(255, 255, 255, 0.86);
}

.home-video.has-art .home-video__inner { padding-block: 26px 8px; }

.home-video.has-art .wq-embed {
	border-color: #fff;
	border-width: 6px;
	box-shadow: 0 18px 44px rgba(27, 66, 102, 0.18);
}

/* --- Stage still being written ------------------------------------------- */

.stage-pending {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-top: 26px;
	padding: 18px 20px;
	border: 1px dashed var(--border);
	border-radius: var(--radius-box);
	color: var(--muted);
	background: var(--blue-soft);
}

.stage-pending__icon { font-size: 1.3rem; line-height: 1.2; }

/* --- The module sits outside the lesson card ----------------------------- */

/*
 * The module's own stylesheet loads after this one and sets `margin: 0` on
 * .wq-module — it is the embed's old `body` rule, collapsed onto the module
 * root when the markup was scoped. This selector is one step more specific,
 * so the module stays centred whatever the load order.
 */
main > .wq-module {
	width: min(1120px, calc(100% - 40px));
	margin: 28px auto 0;
	overflow: hidden;
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
}

/* --- Home link in the step navigation ------------------------------------ */

.steps__home {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	color: var(--ink);
	background: var(--surface);
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.steps__home.is-current { color: #fff; background: var(--blue); border-color: var(--blue); }

/* --- Elementor ------------------------------------------------------------ */

/* A post built with Elementor keeps the page shell but drops the card chrome,
   so Elementor's own sections control padding, background and width. */
.lesson--elementor {
	padding: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

/* Full-width template and Elementor-built singulars: release the 960px cap. */
.page-template-full-width main,
.writequest-elementor-page main {
	width: 100%;
	max-width: none;
	padding-block: 0;
}

/* Elementor's own containers manage their width; don't fight them. */
.writequest-has-elementor .elementor-section.elementor-section-full_width,
.writequest-has-elementor .e-con.e-con-full {
	width: 100%;
}

/* --- Small screens -------------------------------------------------------- */

@media (max-width: 640px) {
	body { font-size: 17px; }

	.hero__inner,
	.steps,
	.lesson,
	.pagination { width: min(100% - 28px, 960px); }

	.hero__inner { padding-top: 34px; }
	.lesson { padding: 22px 16px; border-radius: 16px; }
	.steps { width: 100%; padding-inline: 14px; }
}
