/* Live text samples on the tool cards (home "Free tools" row and the /tools/ hub). Each face loads only when a sample uses it. */
@font-face { font-family: "DAF Sample Pixel"; src: url("../fonts/pixelify-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DAF Sample Montserrat"; src: url("../fonts/montserrat-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "DAF Sample Anton"; src: url("../fonts/anton-400.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "DAF Sample Gaegu"; src: url("../fonts/gaegu-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DAF Sample Serif"; src: url("../fonts/young-serif-400.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "DAF Sample Luckiest"; src: url("../fonts/luckiest-guy-400.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "DAF Sample Titan"; src: url("../fonts/titan-one-400.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "DAF Sample Fredoka"; src: url("../fonts/fredoka-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "DAF Sample Creepster"; src: url("../fonts/creepster-400.woff2") format("woff2"); font-display: swap; }

.daf-sample-line {
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 14px 22px;
	white-space: nowrap;
	max-width: 100%;
	color: var(--daf-ink);
	text-align: center;
	line-height: 1.2;
}
.daf-sample-text {
	font-size: 30px;
	white-space: nowrap;
}
.daf-sample-line:has(> .daf-sample-text:only-child) .daf-sample-text {
	font-size: 46px;
}
.daf-sample-font {
	font-size: 44px;
	line-height: 1.1;
	color: var(--daf-ink);
	white-space: nowrap;
}
.daf-sample-pixel { font-family: "DAF Sample Pixel", "Courier New", monospace; letter-spacing: .04em; }
.daf-sample-montserrat { font-family: "DAF Sample Montserrat", Arial Black, sans-serif; }
.daf-sample-anton { font-family: "DAF Sample Anton", Impact, sans-serif; }
.daf-sample-gaegu { font-family: "DAF Sample Gaegu", cursive; }
.daf-sample-serif { font-family: "DAF Sample Serif", Georgia, serif; }
.daf-sample-luckiest { font-family: "DAF Sample Luckiest", Impact, sans-serif; }
.daf-sample-titan { font-family: "DAF Sample Titan", Impact, sans-serif; }
.daf-sample-fredoka { font-family: "DAF Sample Fredoka", system-ui, sans-serif; }
.daf-sample-creepster { font-family: "DAF Sample Creepster", Impact, sans-serif; }
.daf-sample-studio {
	display: block;
	width: 100%;
	max-width: 300px;
	height: auto;
}

/* /tools/ hub tiles: one box with a 12px radius; the sample sits on paper, 120px tall. */
.daf-hub__card > a {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding-bottom: 14px;
	border: 1px solid var(--daf-line);
	border-radius: 12px;
	background: #fff;
	color: var(--daf-text);
	text-decoration: none;
}
.daf-hub__sample-box {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 120px;
	padding: 12px 14px;
	overflow: hidden;
	background: var(--daf-paper);
	border-bottom: 1px solid var(--daf-line);
}
.daf-hub__card > a > strong,
.daf-hub__card > a > span:not(.daf-hub__sample-box) {
	padding: 0 14px;
}
.daf-hub__card > a > strong {
	margin-top: 12px;
}

/* Logo preset names keep their size on both the hub and the home row (the generic card span rules are lower). */
.daf-hub__card .daf-hub__sample-box .daf-sample-font,
.daf-tool5__sample .daf-sample-font {
	font-size: 40px;
}
