@font-face {
	font-family: "TOYRD Manrope";
	src: url("../fonts/manrope/Manrope-VariableFont_wght.woff2") format("woff2");
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
}

:root {
	--toyrd-navy: #091a38;
	--toyrd-blue: #075bd8;
	--toyrd-blue-dark: #0649ae;
	--toyrd-blue-soft: #eff6ff;
	--toyrd-text: #445064;
	--toyrd-rule: #e5eaf1;
	--toyrd-surface: #f6f8fb;
	--toyrd-orange: #f67624;
}

.toyrd-home,
.toyrd-home-header,
.toyrd-home-footer {
	box-sizing: border-box;
	font-family: "TOYRD Manrope", Manrope, Arial, sans-serif;
	color: var(--toyrd-navy);
}

.toyrd-home *,
.toyrd-home-header *,
.toyrd-home-footer * {
	box-sizing: border-box;
}

.toyrd-home a,
.toyrd-home-header a,
.toyrd-home-footer a {
	color: inherit;
	text-decoration: none;
}

.toyrd-home a:focus-visible,
.toyrd-home-header a:focus-visible,
.toyrd-home-footer a:focus-visible {
	outline: 3px solid var(--toyrd-orange);
	outline-offset: 3px;
}

.toyrd-home-shell {
	width: min(1160px, calc(100% - 48px));
	margin: 0 auto;
}

.toyrd-home-header {
	border-bottom: 1px solid var(--toyrd-rule);
	background: #fff;
}

.toyrd-home-nav {
	min-height: 78px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.toyrd-home-logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.toyrd-home-logo img {
	display: block;
	width: 169px;
	height: auto;
}

.toyrd-home-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 28px;
	font-size: 13px;
	font-weight: 550;
	letter-spacing: -.1px;
}

.toyrd-home-menu a,
.toyrd-home-search {
	transition: color .15s ease;
}

.toyrd-home-menu a:hover,
.toyrd-home-search:hover {
	color: var(--toyrd-blue);
}

.toyrd-menu-arrow {
	display: inline-flex;
	gap: 5px;
	align-items: center;
}

.toyrd-menu-arrow svg {
	width: 12px;
	height: 12px;
}

.toyrd-home-search {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	color: var(--toyrd-navy);
}

.toyrd-home-search svg {
	width: 21px;
	height: 21px;
}

.toyrd-mobile-menu {
	display: none;
}

.toyrd-home-hero {
	padding: 48px 0 45px;
	border-bottom: 1px solid var(--toyrd-rule);
	background: #fff;
}

.toyrd-home-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, .94fr) minmax(390px, 1.06fr);
	align-items: center;
	gap: 44px;
}

.toyrd-home-eyebrow {
	margin: 0 0 13px;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--toyrd-blue);
}

.toyrd-home h1 {
	max-width: 560px;
	margin: 0;
	font-size: clamp(33px, 3.4vw, 46px);
	font-weight: 760;
	letter-spacing: -.055em;
	line-height: 1.17;
	color: var(--toyrd-navy);
}

.toyrd-home-lead {
	max-width: 500px;
	margin: 20px 0 0;
	font-size: 16px;
	font-weight: 450;
	line-height: 1.62;
	color: var(--toyrd-text);
}

.toyrd-home-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 29px;
}

.toyrd-home-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 45px;
	padding: 0 20px;
	border: 1px solid var(--toyrd-blue);
	border-radius: 4px;
	font-size: 13px;
	font-weight: 720;
	color: var(--toyrd-blue);
	background: #fff;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.toyrd-home-button:hover {
	transform: translateY(-1px);
	color: #fff;
	background: var(--toyrd-blue);
}

.toyrd-home-button--primary {
	color: #fff;
	background: var(--toyrd-blue);
	box-shadow: 0 8px 16px rgba(7, 91, 216, .14);
}

.toyrd-home-button--primary:hover {
	border-color: var(--toyrd-blue-dark);
	background: var(--toyrd-blue-dark);
}

.toyrd-home-button svg,
.toyrd-inline-link svg {
	width: 15px;
	height: 15px;
	stroke: currentColor;
}

.toyrd-home-blueprint {
	margin: 0;
	min-width: 0;
}

.toyrd-home-blueprint img {
	display: block;
	width: 100%;
	height: auto;
	mix-blend-mode: multiply;
}

.toyrd-home-section {
	padding: 46px 0 52px;
}

.toyrd-home--preview-reordered {
	display: flex;
	flex-direction: column;
}

.toyrd-home--preview-reordered #latest-articles {
	order: 1;
}

.toyrd-home--preview-reordered #tools {
	order: 2;
}

.toyrd-home-section--tools {
	background: var(--toyrd-surface);
}

.toyrd-home-section--articles {
	background: #fff;
}

.toyrd-home-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 26px;
	margin-bottom: 25px;
}

.toyrd-home-section-title {
	display: flex;
	align-items: center;
	gap: 15px;
}

.toyrd-home-section-title svg {
	width: 35px;
	height: 35px;
	flex: 0 0 auto;
	color: var(--toyrd-blue);
	stroke: currentColor;
}

.toyrd-home h2 {
	margin: 0;
	font-size: 25px;
	font-weight: 760;
	letter-spacing: -.04em;
	line-height: 1.18;
	color: var(--toyrd-navy);
}

.toyrd-home-section-description {
	margin: 5px 0 0 50px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--toyrd-text);
}

.toyrd-inline-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 6px 0;
	white-space: nowrap;
	font-size: 12px;
	font-weight: 760;
	color: var(--toyrd-blue) !important;
}

.toyrd-inline-link:hover {
	color: var(--toyrd-blue-dark) !important;
}

.toyrd-tools-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 15px;
}

.toyrd-tool-card {
	position: relative;
	display: flex;
	min-height: 188px;
	padding: 24px 23px 20px;
	border: 1px solid #e5e9ef;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 2px 5px rgba(9, 26, 56, .06);
	transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.toyrd-tool-card::after,
.toyrd-beta-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #885316;
	background: #fff0d2;
	border: 1px solid #f0c781;
	border-radius: 999px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .05em;
	line-height: 1;
	text-transform: uppercase;
}
.toyrd-tool-card::after { content: "Public Beta"; position: absolute; top: 13px; right: 13px; padding: 5px 7px; }
.toyrd-beta-badge { margin-left: 8px; padding: 4px 6px; vertical-align: 2px; white-space: nowrap; }

.toyrd-tool-card:hover {
	border-color: #cddbf0;
	box-shadow: 0 11px 21px rgba(9, 26, 56, .1);
	transform: translateY(-2px);
}

.toyrd-tool-card-content {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: flex-start;
}

.toyrd-tool-card-top {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.toyrd-tool-icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	flex: 0 0 64px;
	border-radius: 10px;
	color: var(--toyrd-blue);
	background: var(--toyrd-blue-soft);
}

.toyrd-tool-icon svg {
	width: 38px;
	height: 38px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.toyrd-tool-card h3 {
	margin: 5px 0 0;
	font-size: 14px;
	font-weight: 760;
	letter-spacing: -.025em;
	line-height: 1.32;
	color: var(--toyrd-navy);
}

.toyrd-tool-card-top > span:last-child > span:first-child {
	display: block;
	margin-top: 5px;
	font-size: 14px;
	font-weight: 760;
	letter-spacing: -.025em;
	line-height: 1.32;
	color: var(--toyrd-navy);
}

.toyrd-tool-card p {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.52;
	color: var(--toyrd-text);
}

.toyrd-tool-card-top > span:last-child > span:last-child {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	line-height: 1.52;
	color: var(--toyrd-text);
}

.toyrd-tool-card .toyrd-inline-link {
	margin-top: auto;
	padding-top: 15px;
}

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

.toyrd-articles-grid--latest {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.toyrd-article-card {
	overflow: hidden;
	border: 1px solid #e5e9ef;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 2px 5px rgba(9, 26, 56, .05);
	transition: box-shadow .15s ease, transform .15s ease;
}

.toyrd-article-card:hover {
	box-shadow: 0 11px 21px rgba(9, 26, 56, .1);
	transform: translateY(-2px);
}

.toyrd-article-card-link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.toyrd-article-image,
.toyrd-article-art {
	display: block;
	width: 100%;
	height: 170px;
	object-fit: cover;
}

.toyrd-article-art {
	display: flex;
	align-items: flex-end;
	padding: 18px;
	font-size: 13px;
	font-weight: 780;
	line-height: 1.25;
	letter-spacing: -.02em;
	color: #fff;
	background: linear-gradient(150deg, rgba(7, 91, 216, .18), rgba(9, 26, 56, .92)), url("../images/home-preview/hero-toy-blueprint.webp") center / cover;
}

.toyrd-article-art--costing {
	color: var(--toyrd-navy);
	background: linear-gradient(130deg, #eef5ff, #cfe3ff);
}

.toyrd-article-art--costing::before {
	content: "Costing";
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border: 1px solid #9abce9;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--toyrd-blue);
	background: rgba(255, 255, 255, .68);
}

.toyrd-article-copy {
	padding: 16px 15px 17px;
}

.toyrd-article-copy h3 {
	margin: 0;
	font-size: 14px;
	font-weight: 760;
	letter-spacing: -.03em;
	line-height: 1.38;
	color: var(--toyrd-navy);
}

.toyrd-article-copy p {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.55;
	color: var(--toyrd-text);
}

.toyrd-article-meta {
	margin-top: 17px !important;
	font-size: 10px !important;
	font-weight: 560;
	color: #788497 !important;
}

.toyrd-home-footer {
	padding: 38px 0 18px;
	border-top: 1px solid var(--toyrd-rule);
	background: #fff;
}

.toyrd-footer-grid {
	display: grid;
	grid-template-columns: 1.35fr 1.2fr 1.12fr .83fr .8fr;
	gap: 28px;
}

.toyrd-footer-brand img {
	display: block;
	width: 128px;
	height: auto;
}

.toyrd-footer-brand p {
	max-width: 182px;
	margin: 15px 0 0;
	font-size: 10px;
	line-height: 1.62;
	color: var(--toyrd-text);
}

.toyrd-footer-brand a {
	display: inline-block;
	margin-top: 10px;
	font-size: 10px;
	font-weight: 760;
	color: var(--toyrd-blue);
}

.toyrd-footer-column h2 {
	margin: 2px 0 12px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--toyrd-navy);
}

.toyrd-footer-column a {
	display: block;
	margin: 0 0 6px;
	font-size: 10px;
	line-height: 1.3;
	color: var(--toyrd-text);
}

.toyrd-footer-column a:hover,
.toyrd-footer-brand a:hover {
	color: var(--toyrd-blue);
}

.toyrd-footer-legal {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 34px;
	padding-top: 14px;
	border-top: 1px solid var(--toyrd-rule);
	font-size: 10px;
	color: #7a8493;
}

.toyrd-footer-legal a {
	color: var(--toyrd-blue);
}

@media (max-width: 900px) {
	.toyrd-home-menu { gap: 18px; }
	.toyrd-home-hero-grid { grid-template-columns: 1fr .9fr; gap: 24px; }
	.toyrd-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.toyrd-articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.toyrd-article-image, .toyrd-article-art { height: 205px; }
	.toyrd-footer-grid { grid-template-columns: 1.35fr 1fr 1fr; row-gap: 30px; }
}

@media (max-width: 680px) {
	.toyrd-home-shell { width: min(100% - 32px, 560px); }
	.toyrd-home-nav { min-height: 68px; }
	.toyrd-home-logo img { width: 143px; }
	.toyrd-home-menu { display: none; }
	.toyrd-mobile-menu { display: block; position: relative; }
	.toyrd-mobile-menu summary { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; cursor: pointer; list-style: none; font-size: 12px; font-weight: 760; }
	.toyrd-mobile-menu summary::-webkit-details-marker { display: none; }
	.toyrd-mobile-menu summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
	.toyrd-mobile-menu-links { display: none; }
	.toyrd-mobile-menu[open] .toyrd-mobile-menu-links { position: absolute; z-index: 4; top: calc(100% + 8px); right: 0; display: grid; width: min(246px, calc(100vw - 32px)); gap: 2px; padding: 10px; border: 1px solid var(--toyrd-rule); border-radius: 6px; background: #fff; box-shadow: 0 13px 28px rgba(9, 26, 56, .14); }
	.toyrd-mobile-menu-links a { padding: 10px; border-radius: 3px; font-size: 13px; font-weight: 650; }
	.toyrd-mobile-menu-links a:hover { color: var(--toyrd-blue); background: var(--toyrd-blue-soft); }
	.toyrd-home-hero { padding: 34px 0 38px; }
	.toyrd-home-hero-grid { grid-template-columns: 1fr; gap: 24px; }
	.toyrd-home-blueprint { order: -1; max-width: 490px; margin: 0 auto; }
	.toyrd-home h1 { font-size: clamp(31px, 9vw, 41px); }
	.toyrd-home-lead { font-size: 15px; }
	.toyrd-home-section { padding: 37px 0 40px; }
	.toyrd-home-section-heading { align-items: flex-start; gap: 13px; }
	.toyrd-home-section-title { gap: 11px; }
	.toyrd-home-section-title svg { width: 29px; height: 29px; }
	.toyrd-home h2 { font-size: 22px; }
	.toyrd-home-section-description { margin-left: 40px; }
	.toyrd-tools-grid, .toyrd-articles-grid { grid-template-columns: 1fr; }
	.toyrd-article-image, .toyrd-article-art { height: 215px; }
	.toyrd-tool-card { min-height: 172px; }
	.toyrd-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.toyrd-footer-brand { grid-column: 1 / -1; }
	.toyrd-footer-legal { flex-wrap: wrap; text-align: center; }
}

@media (max-width: 390px) {
	.toyrd-home-actions { display: grid; grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.toyrd-home *, .toyrd-home-header *, .toyrd-home-footer * { transition: none !important; }
}
