:root {
	--yst-ink: #10233f;
	--yst-muted: #5d6b7e;
	--yst-blue: #1e67d6;
	--yst-blue-dark: #164fa6;
	--yst-blue-soft: #eaf2ff;
	--yst-line: #dce5f0;
	--yst-bg: #f6f8fc;
	--yst-white: #ffffff;
	--yst-green: #157f5b;
	--yst-shadow: 0 18px 60px rgba(16, 35, 63, 0.10);
	--yst-radius-lg: 30px;
	--yst-radius-md: 20px;
	--yst-radius-sm: 14px;
}

.yst-custom-home .content-area,
.yst-custom-home #inner-wrap {
	margin: 0;
	padding: 0;
	max-width: none;
}

.yst-custom-home .site-main,
.yst-custom-home .content-container {
	max-width: none;
	padding: 0;
}

.yst-custom-home .site {
	background: var(--yst-white);
}

.yst-home-main {
	overflow: hidden;
	background: var(--yst-white);
	color: var(--yst-ink);
}

.yst-home-main *,
.yst-home-main *::before,
.yst-home-main *::after {
	box-sizing: border-box;
}

.yst-home-main a {
	text-decoration: none;
}

.yst-home-main h1,
.yst-home-main h2,
.yst-home-main h3,
.yst-home-main p {
	margin-top: 0;
}

.yst-home-container {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.yst-hero {
	position: relative;
	padding: 76px 0 82px;
	background:
		radial-gradient(circle at 8% 20%, rgba(30, 103, 214, 0.13), transparent 28%),
		radial-gradient(circle at 92% 8%, rgba(77, 145, 255, 0.16), transparent 25%),
		linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
}

.yst-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--yst-line), transparent);
}

.yst-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
	gap: 64px;
	align-items: center;
}

.yst-kicker {
	margin-bottom: 13px;
	color: var(--yst-blue);
	font-size: 0.79rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	line-height: 1.3;
	text-transform: uppercase;
}

.yst-hero-copy h1 {
	max-width: 760px;
	margin-bottom: 22px;
	color: var(--yst-ink);
	font-size: clamp(2.45rem, 5.2vw, 4.65rem);
	font-weight: 800;
	letter-spacing: -0.052em;
	line-height: 1.03;
}

.yst-hero-text {
	max-width: 670px;
	margin-bottom: 30px;
	color: var(--yst-muted);
	font-size: clamp(1.04rem, 1.6vw, 1.21rem);
	line-height: 1.75;
}

.yst-hero-actions,
.yst-final-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.yst-button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 13px 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.96rem;
	font-weight: 800;
	line-height: 1.2;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.yst-button:hover,
.yst-button:focus-visible {
	transform: translateY(-2px);
}

.yst-button-primary {
	background: var(--yst-blue);
	box-shadow: 0 12px 28px rgba(30, 103, 214, 0.24);
	color: var(--yst-white);
}

.yst-button-primary:hover,
.yst-button-primary:focus-visible {
	background: var(--yst-blue-dark);
	color: var(--yst-white);
}

.yst-button-secondary {
	border-color: var(--yst-line);
	background: rgba(255, 255, 255, 0.86);
	color: var(--yst-ink);
}

.yst-button-secondary:hover,
.yst-button-secondary:focus-visible {
	border-color: #b9c9dc;
	background: var(--yst-white);
	color: var(--yst-blue-dark);
}

.yst-trust-list {
	display: flex;
	flex-wrap: wrap;
	gap: 11px 22px;
	margin: 24px 0 0;
	padding: 0;
	color: var(--yst-muted);
	font-size: 0.91rem;
	font-weight: 650;
	list-style: none;
}

.yst-trust-list li {
	position: relative;
	padding-left: 19px;
}

.yst-trust-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--yst-green);
	font-weight: 900;
}

.yst-hero-panel {
	position: relative;
}

.yst-hero-panel::before,
.yst-hero-panel::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(1px);
	z-index: 0;
}

.yst-hero-panel::before {
	width: 170px;
	height: 170px;
	top: -30px;
	right: -25px;
	background: rgba(30, 103, 214, 0.10);
}

.yst-hero-panel::after {
	width: 95px;
	height: 95px;
	bottom: -20px;
	left: -18px;
	background: rgba(21, 127, 91, 0.10);
}

.yst-paper-card {
	position: relative;
	z-index: 1;
	padding: 26px;
	border: 1px solid rgba(194, 208, 226, 0.85);
	border-radius: var(--yst-radius-lg);
	background:
		linear-gradient(rgba(16, 35, 63, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(16, 35, 63, 0.025) 1px, transparent 1px),
		var(--yst-white);
	background-size: 24px 24px;
	box-shadow: var(--yst-shadow);
}

.yst-paper-label {
	display: inline-flex;
	padding: 7px 11px;
	border-radius: 999px;
	background: var(--yst-blue-soft);
	color: var(--yst-blue-dark);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.03em;
}

.yst-signature-art {
	display: block;
	width: 100%;
	margin: 6px 0 8px;
}

.yst-signature-art path {
	fill: none;
	stroke: var(--yst-blue);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 6;
}

.yst-signature-art .yst-signature-underline {
	stroke-width: 4;
	opacity: 0.8;
}

.yst-choice-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.yst-choice-grid a {
	display: flex;
	min-height: 86px;
	flex-direction: column;
	justify-content: center;
	padding: 15px;
	border: 1px solid var(--yst-line);
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.9);
	color: var(--yst-ink);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.yst-choice-grid a:hover,
.yst-choice-grid a:focus-visible {
	transform: translateY(-2px);
	border-color: #a9c3e7;
	box-shadow: 0 10px 24px rgba(16, 35, 63, 0.08);
}

.yst-choice-grid strong {
	margin-bottom: 3px;
	font-size: 0.97rem;
}

.yst-choice-grid span {
	color: var(--yst-muted);
	font-size: 0.78rem;
	line-height: 1.45;
}

.yst-home-section {
	padding: 86px 0;
}

.yst-section-heading {
	margin-bottom: 34px;
}

.yst-section-heading h2 {
	margin-bottom: 12px;
	color: var(--yst-ink);
	font-size: clamp(2rem, 3.7vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.12;
}

.yst-section-heading p:not(.yst-kicker) {
	max-width: 720px;
	margin-bottom: 0;
	color: var(--yst-muted);
	font-size: 1.02rem;
	line-height: 1.7;
}

.yst-section-heading-split {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
}

.yst-section-heading-centred {
	max-width: 720px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.yst-text-link,
.yst-card-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--yst-blue-dark);
	font-weight: 800;
}

.yst-text-link {
	flex: 0 0 auto;
	padding-bottom: 4px;
	border-bottom: 1px solid rgba(30, 103, 214, 0.25);
}

.yst-text-link:hover,
.yst-card-link:hover {
	color: var(--yst-blue);
}

.yst-tools-section {
	background: var(--yst-white);
}

.yst-tool-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
}

.yst-tool-card {
	display: flex;
	min-height: 278px;
	grid-column: span 2;
	flex-direction: column;
	padding: 24px;
	border: 1px solid var(--yst-line);
	border-radius: var(--yst-radius-md);
	background: var(--yst-white);
	box-shadow: 0 8px 26px rgba(16, 35, 63, 0.055);
	color: var(--yst-ink);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.yst-tool-card:nth-child(4),
.yst-tool-card:nth-child(5) {
	grid-column: span 3;
}

.yst-tool-card:hover,
.yst-tool-card:focus-visible {
	transform: translateY(-5px);
	border-color: #b6cae4;
	box-shadow: 0 18px 38px rgba(16, 35, 63, 0.11);
	color: var(--yst-ink);
}

.yst-tool-card-featured {
	border-color: transparent;
	background: linear-gradient(145deg, #123c7a, #1f6edc);
	box-shadow: 0 18px 45px rgba(30, 103, 214, 0.24);
	color: var(--yst-white);
}

.yst-tool-card-featured:hover,
.yst-tool-card-featured:focus-visible {
	border-color: transparent;
	color: var(--yst-white);
}

.yst-tool-icon {
	display: inline-grid;
	width: 48px;
	height: 48px;
	margin-bottom: 21px;
	place-items: center;
	border-radius: 14px;
	background: var(--yst-blue-soft);
	color: var(--yst-blue);
}

.yst-tool-card-featured .yst-tool-icon {
	background: rgba(255, 255, 255, 0.16);
	color: var(--yst-white);
}

.yst-tool-icon svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.yst-tool-eyebrow {
	margin-bottom: 7px;
	color: var(--yst-blue);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.yst-tool-card-featured .yst-tool-eyebrow {
	color: rgba(255, 255, 255, 0.78);
}

.yst-tool-card > strong {
	margin-bottom: 10px;
	font-size: 1.15rem;
	line-height: 1.35;
}

.yst-tool-description {
	margin-bottom: 19px;
	color: var(--yst-muted);
	font-size: 0.91rem;
	line-height: 1.63;
}

.yst-tool-card-featured .yst-tool-description {
	color: rgba(255, 255, 255, 0.82);
}

.yst-tool-card .yst-card-link {
	margin-top: auto;
}

.yst-tool-card-featured .yst-card-link {
	color: var(--yst-white);
}

.yst-ideas-section {
	background: var(--yst-bg);
}

.yst-idea-search {
	display: flex;
	width: min(100%, 345px);
	flex: 0 0 auto;
	padding: 5px;
	border: 1px solid var(--yst-line);
	border-radius: 999px;
	background: var(--yst-white);
	box-shadow: 0 8px 22px rgba(16, 35, 63, 0.05);
}

.yst-idea-search input {
	min-width: 0;
	flex: 1;
	padding: 10px 13px;
	border: 0;
	outline: none;
	background: transparent;
	color: var(--yst-ink);
	font-size: 0.91rem;
}

.yst-idea-search button {
	padding: 9px 15px;
	border: 0;
	border-radius: 999px;
	background: var(--yst-blue);
	box-shadow: none;
	color: var(--yst-white);
	font-size: 0.82rem;
	font-weight: 800;
}

.yst-idea-search button:hover,
.yst-idea-search button:focus-visible {
	background: var(--yst-blue-dark);
	box-shadow: none;
}

.yst-topic-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: -10px 0 28px;
}

.yst-topic-chips a {
	padding: 8px 13px;
	border: 1px solid var(--yst-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.75);
	color: var(--yst-muted);
	font-size: 0.82rem;
	font-weight: 750;
}

.yst-topic-chips a:hover,
.yst-topic-chips a:focus-visible {
	border-color: #b2c7e3;
	background: var(--yst-white);
	color: var(--yst-blue-dark);
}

.yst-idea-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.yst-idea-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--yst-line);
	border-radius: var(--yst-radius-md);
	background: var(--yst-white);
	box-shadow: 0 10px 32px rgba(16, 35, 63, 0.065);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.yst-idea-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(16, 35, 63, 0.11);
}

.yst-idea-image {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #eef3f9;
}

.yst-idea-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.yst-idea-card:hover .yst-idea-image img {
	transform: scale(1.025);
}

.yst-image-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	background: linear-gradient(135deg, #edf4ff, #f8fbff);
	color: var(--yst-blue);
	font-size: 1.3rem;
	font-style: italic;
	font-weight: 800;
}

.yst-idea-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px;
}

.yst-card-category {
	margin-bottom: 8px;
	color: var(--yst-blue);
	font-size: 0.71rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.yst-idea-card h3,
.yst-guide-card h3,
.yst-step-card h3 {
	margin-bottom: 9px;
	color: var(--yst-ink);
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1.4;
}

.yst-idea-card h3 a,
.yst-guide-card h3 a {
	color: inherit;
}

.yst-idea-card h3 a:hover,
.yst-guide-card h3 a:hover {
	color: var(--yst-blue);
}

.yst-idea-card p,
.yst-guide-card p,
.yst-step-card p {
	color: var(--yst-muted);
	font-size: 0.9rem;
	line-height: 1.62;
}

.yst-idea-card .yst-card-link {
	margin-top: auto;
	font-size: 0.87rem;
}

.yst-steps-section {
	background: var(--yst-white);
}

.yst-steps-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.yst-step-card {
	position: relative;
	padding: 26px 22px;
	border: 1px solid var(--yst-line);
	border-radius: var(--yst-radius-md);
	background: var(--yst-white);
}

.yst-step-card > span {
	display: grid;
	width: 38px;
	height: 38px;
	margin-bottom: 19px;
	place-items: center;
	border-radius: 12px;
	background: var(--yst-blue-soft);
	color: var(--yst-blue-dark);
	font-size: 0.88rem;
	font-weight: 900;
}

.yst-step-card p {
	margin-bottom: 0;
}

.yst-guides-section {
	background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.yst-guide-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.yst-guide-card {
	padding: 25px;
	border: 1px solid var(--yst-line);
	border-radius: var(--yst-radius-md);
	background: var(--yst-white);
	box-shadow: 0 10px 30px rgba(16, 35, 63, 0.055);
}

.yst-guide-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
	color: #768398;
	font-size: 0.74rem;
	font-weight: 750;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.yst-guide-meta span {
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--yst-blue-soft);
	color: var(--yst-blue-dark);
}

.yst-guide-card .yst-card-link {
	font-size: 0.87rem;
}

.yst-final-cta {
	padding-top: 40px;
	padding-bottom: 92px;
}

.yst-final-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
	padding: 42px 46px;
	border-radius: var(--yst-radius-lg);
	background:
		radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.15), transparent 25%),
		linear-gradient(135deg, #0d2e5f, #1f6edc);
	box-shadow: 0 24px 65px rgba(16, 57, 120, 0.25);
	color: var(--yst-white);
}

.yst-final-card .yst-kicker {
	color: rgba(255, 255, 255, 0.72);
}

.yst-final-card h2 {
	max-width: 700px;
	margin-bottom: 10px;
	color: var(--yst-white);
	font-size: clamp(1.8rem, 3.3vw, 2.65rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.16;
}

.yst-final-card p:not(.yst-kicker) {
	max-width: 680px;
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.65;
}

.yst-final-actions {
	min-width: 210px;
	flex-direction: column;
}

.yst-button-light {
	background: var(--yst-white);
	color: var(--yst-blue-dark);
}

.yst-button-outline-light {
	border-color: rgba(255, 255, 255, 0.42);
	background: transparent;
	color: var(--yst-white);
}

.yst-button-light:hover,
.yst-button-light:focus-visible {
	background: #f1f6ff;
	color: var(--yst-blue-dark);
}

.yst-button-outline-light:hover,
.yst-button-outline-light:focus-visible {
	border-color: var(--yst-white);
	background: rgba(255, 255, 255, 0.08);
	color: var(--yst-white);
}

.yst-home-ad {
	padding-top: 22px;
	padding-bottom: 22px;
	text-align: center;
}

.yst-empty-state {
	padding: 38px;
	border: 1px dashed #b8c7d9;
	border-radius: var(--yst-radius-md);
	background: rgba(255, 255, 255, 0.65);
	text-align: center;
}

.yst-empty-state h3 {
	margin-bottom: 8px;
}

.yst-empty-state p {
	margin-bottom: 0;
	color: var(--yst-muted);
}

@media (max-width: 1080px) {
	.yst-hero-grid {
		grid-template-columns: minmax(0, 1fr) minmax(370px, 0.82fr);
		gap: 40px;
	}

	.yst-tool-card {
		grid-column: span 3;
	}

	.yst-tool-card:nth-child(5) {
		grid-column: 2 / span 4;
	}

	.yst-idea-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.yst-hero {
		padding: 58px 0 68px;
	}

	.yst-hero-grid {
		grid-template-columns: 1fr;
	}

	.yst-hero-copy {
		max-width: 760px;
	}

	.yst-hero-panel {
		max-width: 650px;
	}

	.yst-home-section {
		padding: 68px 0;
	}

	.yst-section-heading-split {
		align-items: flex-start;
		flex-direction: column;
	}

	.yst-idea-search {
		width: 100%;
		max-width: 520px;
	}

	.yst-idea-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.yst-steps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.yst-guide-grid {
		grid-template-columns: 1fr;
	}

	.yst-final-card {
		align-items: flex-start;
		flex-direction: column;
	}

	.yst-final-actions {
		width: 100%;
		min-width: 0;
		flex-direction: row;
	}
}

@media (max-width: 620px) {
	.yst-home-container {
		width: min(100% - 28px, 1180px);
	}

	.yst-hero {
		padding: 44px 0 55px;
	}

	.yst-hero-copy h1 {
		font-size: clamp(2.25rem, 12vw, 3.2rem);
	}

	.yst-hero-actions,
	.yst-final-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.yst-button {
		width: 100%;
	}

	.yst-trust-list {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.yst-paper-card {
		padding: 18px;
		border-radius: 22px;
	}

	.yst-choice-grid {
		grid-template-columns: 1fr;
	}

	.yst-choice-grid a {
		min-height: 74px;
	}

	.yst-home-section {
		padding: 56px 0;
	}

	.yst-section-heading h2 {
		font-size: 2rem;
	}

	.yst-tool-grid {
		grid-template-columns: 1fr;
	}

	.yst-tool-card,
	.yst-tool-card:nth-child(4),
	.yst-tool-card:nth-child(5) {
		grid-column: auto;
	}

	.yst-tool-card {
		min-height: 0;
	}

	.yst-idea-grid,
	.yst-steps-grid {
		grid-template-columns: 1fr;
	}

	.yst-topic-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 6px;
		scrollbar-width: thin;
	}

	.yst-topic-chips a {
		flex: 0 0 auto;
	}

	.yst-final-card {
		padding: 32px 24px;
		border-radius: 22px;
	}

	.yst-final-cta {
		padding-top: 20px;
		padding-bottom: 62px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.yst-home-main *,
	.yst-home-main *::before,
	.yst-home-main *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
