/**
 * Template demo stylesheet.
 *
 * One sheet drives all twelve demos. Everything that makes them look different
 * — palette, type pairing, corner radius — arrives as custom properties set
 * inline on `.ydd` by demo-page.php.
 *
 * Scoped under .ydd / .ydd-bar throughout; these pages render outside the
 * theme, but the discipline keeps the sheet safe to load anywhere.
 */

.ydd-body {
	margin: 0;
	padding: 0;
	background: #101010;
}

.ydd *,
.ydd *::before,
.ydd *::after,
.ydd-bar *,
.ydd-bar *::before,
.ydd-bar *::after {
	box-sizing: border-box;
}

.ydd {
	--ydd-max: 1180px;
	--ydd-gut: 32px;

	background: var(--ydd-bg);
	color: var(--ydd-ink);
	font-family: var(--ydd-body);
	font-size: 16px;
	line-height: 1.7;
	padding-bottom: 84px;
	overflow-x: hidden;
}

.ydd img {
	max-width: 100%;
	display: block;
}

.ydd p {
	margin: 0;
}

.ydd-wrap {
	max-width: var(--ydd-max);
	margin: 0 auto;
	padding-left: var(--ydd-gut);
	padding-right: var(--ydd-gut);
}

.ydd-sec {
	padding: 84px 0;
}

.ydd-sec--tint {
	background: var(--ydd-surface);
}

.ydd-sec--ink {
	background: var(--ydd-ink);
	color: var(--ydd-bg);
}

.ydd-sec--ink .ydd-kicker,
.ydd-sec--ink .ydd-lead,
.ydd-sec--ink .ydd-card__d,
.ydd-sec--ink .ydd-item__meta {
	color: color-mix(in srgb, var(--ydd-bg) 68%, transparent);
}

.ydd-sec--accent {
	background: var(--ydd-accent);
	color: var(--ydd-on-accent);
}

.ydd-sec--accent .ydd-lead,
.ydd-sec--accent .ydd-kicker {
	color: color-mix(in srgb, var(--ydd-on-accent) 78%, transparent);
}

/* — type — */
.ydd-h1 {
	margin: 0;
	font-family: var(--ydd-display);
	font-weight: 600;
	font-size: clamp(34px, 5vw, 56px);
	line-height: 1.14;
	letter-spacing: -0.015em;
}

.ydd-h2 {
	margin: 0;
	font-family: var(--ydd-display);
	font-weight: 600;
	font-size: clamp(26px, 3.2vw, 36px);
	line-height: 1.22;
	letter-spacing: -0.01em;
}

.ydd-kicker {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ydd-accent);
}

.ydd-lead {
	margin: 14px 0 0;
	font-size: 16px;
	line-height: 1.85;
	color: var(--ydd-muted);
}

.ydd-head {
	margin-bottom: 44px;
	max-width: 62ch;
}

.ydd-head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/* — buttons (static: a demo, not a working app) — */
.ydd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	font-family: var(--ydd-body);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	border-radius: var(--ydd-radius);
	border: 1px solid transparent;
	cursor: default;
	white-space: nowrap;
}

.ydd-btn--primary {
	color: var(--ydd-on-accent);
	background: var(--ydd-accent);
	border-color: var(--ydd-accent);
}

.ydd-btn--ghost {
	color: inherit;
	border-color: color-mix(in srgb, currentColor 30%, transparent);
}

.ydd-btn--block {
	width: 100%;
	margin-top: auto;
}

/* — image stand-ins — */
.ydd-ph {
	width: 100%;
	position: relative;
	border-radius: var(--ydd-radius);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--ydd-surface);
	background-image:
		linear-gradient(135deg, color-mix(in srgb, var(--ydd-accent) 22%, transparent) 0%, transparent 62%),
		repeating-linear-gradient(45deg, color-mix(in srgb, var(--ydd-ink) 5%, transparent) 0 10px, transparent 10px 20px);
}

.ydd-ph span {
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--ydd-ink) 45%, transparent);
	padding: 6px 14px;
	background: color-mix(in srgb, var(--ydd-bg) 76%, transparent);
	border-radius: 999px;
}

.ydd-ph--t1 { background-image: linear-gradient(135deg, color-mix(in srgb, var(--ydd-accent) 30%, transparent), transparent 65%), repeating-linear-gradient(45deg, color-mix(in srgb, var(--ydd-ink) 5%, transparent) 0 10px, transparent 10px 20px); }
.ydd-ph--t2 { background-image: linear-gradient(210deg, color-mix(in srgb, var(--ydd-accent) 24%, transparent), transparent 70%), radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--ydd-ink) 9%, transparent), transparent 55%); }
.ydd-ph--t3 { background-image: linear-gradient(0deg, color-mix(in srgb, var(--ydd-ink) 16%, transparent), transparent 60%), repeating-linear-gradient(0deg, color-mix(in srgb, var(--ydd-ink) 4%, transparent) 0 8px, transparent 8px 16px); }
.ydd-ph--t4 { background-image: linear-gradient(45deg, color-mix(in srgb, var(--ydd-accent) 18%, transparent), transparent 55%), radial-gradient(circle at 70% 65%, color-mix(in srgb, var(--ydd-accent) 22%, transparent), transparent 50%); }
.ydd-ph--t5 { background-image: linear-gradient(160deg, color-mix(in srgb, var(--ydd-ink) 14%, transparent), transparent 62%), repeating-linear-gradient(90deg, color-mix(in srgb, var(--ydd-ink) 4%, transparent) 0 12px, transparent 12px 24px); }
.ydd-ph--t6 { background-image: radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--ydd-accent) 26%, transparent), transparent 60%), linear-gradient(200deg, color-mix(in srgb, var(--ydd-ink) 10%, transparent), transparent 70%); }

/* — nav — */
.ydd-nav {
	position: sticky;
	top: 0;
	z-index: 20;
	background: color-mix(in srgb, var(--ydd-bg) 92%, transparent);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--ydd-line);
}

.ydd-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.ydd-brand {
	display: flex;
	align-items: baseline;
	gap: 9px;
	font-family: var(--ydd-display);
	font-weight: 600;
	font-size: 21px;
	letter-spacing: 0.02em;
	color: inherit;
	text-decoration: none;
}

.ydd-brand span {
	font-family: var(--ydd-body);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ydd-muted);
}

.ydd-menu {
	display: flex;
	align-items: center;
	gap: 26px;
	font-size: 14.5px;
	color: var(--ydd-muted);
}

.ydd-menu__i.is-on {
	color: var(--ydd-ink);
	font-weight: 500;
}

/* — hero — */
.ydd-sec--hero {
	padding-top: 72px;
}

.ydd-hero--left,
.ydd-hero--split {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 60px;
	align-items: center;
}

.ydd-hero--split {
	grid-template-columns: 1fr;
	gap: 44px;
}

/* A full-width hero image would push the first real section below the fold on
   a wide screen, so cap its height and let the ratio yield. */
.ydd-hero--split .ydd-hero__media .ydd-ph {
	max-height: 440px;
}

.ydd-hero--left .ydd-hero__media .ydd-ph {
	max-height: 560px;
}

.ydd-hero--center {
	max-width: 44rem;
	margin: 0 auto;
	text-align: center;
}

.ydd-hero--center .ydd-hero__actions,
.ydd-hero--center .ydd-searchbar {
	justify-content: center;
}

.ydd-hero--center .ydd-hero__notes {
	justify-content: center;
}

.ydd-hero__text {
	margin: 22px 0 0;
	font-size: 17px;
	line-height: 1.85;
	color: var(--ydd-muted);
	max-width: 52ch;
}

.ydd-hero--center .ydd-hero__text {
	margin-left: auto;
	margin-right: auto;
}

.ydd-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.ydd-hero__notes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13.5px;
	color: var(--ydd-muted);
}

.ydd-hero__notes li::before {
	content: "✓";
	margin-right: 7px;
	color: var(--ydd-accent);
}

.ydd-searchbar {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 1px;
	margin-top: 30px;
	padding: 8px;
	background: var(--ydd-surface);
	border: 1px solid var(--ydd-line);
	border-radius: var(--ydd-radius);
}

.ydd-searchbar__field {
	flex: 1 1 130px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 16px;
	border-right: 1px solid var(--ydd-line);
}

.ydd-searchbar__label {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ydd-muted);
}

.ydd-searchbar__value {
	font-size: 15px;
}

.ydd-searchbar__go {
	flex: 0 0 auto;
}

/* — stats — */
.ydd-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--ydd-line);
	border: 1px solid var(--ydd-line);
	border-radius: var(--ydd-radius);
	overflow: hidden;
}

.ydd-stat {
	background: var(--ydd-bg);
	padding: 26px 24px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ydd-sec--tint .ydd-stat {
	background: var(--ydd-surface);
}

.ydd-stat__v {
	font-family: var(--ydd-display);
	font-weight: 600;
	font-size: 34px;
	line-height: 1.1;
	color: var(--ydd-accent);
}

.ydd-stat__l {
	font-size: 13.5px;
	color: var(--ydd-muted);
}

/* — cards — */
.ydd-cards,
.ydd-grid {
	display: grid;
	gap: 26px;
}

.ydd-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ydd-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ydd-cols-4 { grid-template-columns: repeat(4, 1fr); }

.ydd-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ydd-cards--boxed .ydd-card {
	padding: 28px 26px;
	background: var(--ydd-bg);
	border: 1px solid var(--ydd-line);
	border-radius: var(--ydd-radius);
}

.ydd-sec--tint .ydd-cards--boxed .ydd-card {
	background: var(--ydd-bg);
}

.ydd-card__num {
	font-family: var(--ydd-display);
	font-weight: 600;
	font-size: 30px;
	color: var(--ydd-accent);
	line-height: 1;
}

.ydd-card__avatar {
	width: 84px;
	border-radius: 999px;
}

.ydd-card__media {
	margin-bottom: 6px;
}

.ydd-card__t {
	margin: 0;
	font-family: var(--ydd-display);
	font-weight: 600;
	font-size: 19px;
	line-height: 1.35;
}

.ydd-card__meta {
	font-size: 13px;
	letter-spacing: 0.06em;
	color: var(--ydd-accent);
}

.ydd-card__d {
	font-size: 14.5px;
	line-height: 1.8;
	color: var(--ydd-muted);
}

/* — grid items — */
.ydd-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: -20px 0 30px;
}

.ydd-filter {
	padding: 6px 16px;
	font-size: 13.5px;
	color: var(--ydd-muted);
	border: 1px solid var(--ydd-line);
	border-radius: 999px;
}

.ydd-filter.is-on {
	color: var(--ydd-on-accent);
	background: var(--ydd-accent);
	border-color: var(--ydd-accent);
}

.ydd-item__media {
	position: relative;
}

.ydd-item__tag {
	position: absolute;
	left: 12px;
	top: 12px;
	padding: 5px 12px;
	font-size: 12px;
	color: var(--ydd-on-accent);
	background: var(--ydd-accent);
	border-radius: 999px;
}

.ydd-item__body {
	padding-top: 14px;
}

.ydd-item__t {
	margin: 0;
	font-family: var(--ydd-display);
	font-weight: 600;
	font-size: 18px;
	line-height: 1.35;
}

.ydd-item__meta {
	margin-top: 4px;
	font-size: 13.5px;
	color: var(--ydd-muted);
}

.ydd-item__price {
	margin-top: 8px;
	font-weight: 600;
	color: var(--ydd-accent);
}

/* — priced lists — */
.ydd-lists {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 48px 64px;
}

.ydd-list__g {
	margin: 0 0 18px;
	padding-bottom: 10px;
	font-family: var(--ydd-display);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.04em;
	border-bottom: 1px solid var(--ydd-line);
}

.ydd-row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 11px 0;
}

.ydd-row__main {
	display: flex;
	flex-direction: column;
}

.ydd-row__t {
	font-size: 15.5px;
}

.ydd-row__d {
	font-size: 13px;
	color: var(--ydd-muted);
}

.ydd-row__dots {
	flex: 1;
	border-bottom: 1px dotted color-mix(in srgb, var(--ydd-ink) 30%, transparent);
	transform: translateY(-4px);
}

.ydd-row__p {
	font-weight: 600;
	color: var(--ydd-accent);
	white-space: nowrap;
}

/* — split — */
.ydd-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}

.ydd-split.is-reverse .ydd-split__media {
	order: 2;
}

.ydd-split .ydd-head {
	margin-bottom: 20px;
}

.ydd-ticks {
	list-style: none;
	margin: 20px 0 24px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 15px;
}

.ydd-ticks li {
	position: relative;
	padding-left: 26px;
}

.ydd-ticks li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--ydd-accent);
}

/* — steps — */
.ydd-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.ydd-step__n {
	font-family: var(--ydd-display);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.1em;
	color: var(--ydd-accent);
}

.ydd-step__t {
	margin: 10px 0 8px;
	font-family: var(--ydd-display);
	font-weight: 600;
	font-size: 18px;
}

.ydd-step__d {
	font-size: 14.5px;
	line-height: 1.8;
	color: var(--ydd-muted);
}

/* — pricing — */
.ydd-plans {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	align-items: stretch;
}

.ydd-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 32px 28px;
	background: var(--ydd-bg);
	border: 1px solid var(--ydd-line);
	border-radius: var(--ydd-radius);
}

.ydd-plan.is-on {
	border-color: var(--ydd-accent);
	box-shadow: 0 12px 34px color-mix(in srgb, var(--ydd-accent) 18%, transparent);
}

.ydd-plan__badge {
	position: absolute;
	top: -12px;
	left: 28px;
	padding: 4px 14px;
	font-size: 12px;
	color: var(--ydd-on-accent);
	background: var(--ydd-accent);
	border-radius: 999px;
}

.ydd-plan__n {
	margin: 0;
	font-family: var(--ydd-display);
	font-weight: 600;
	font-size: 20px;
}

.ydd-plan__p {
	margin: 10px 0 18px;
	font-family: var(--ydd-display);
	font-weight: 600;
	font-size: 32px;
	color: var(--ydd-accent);
}

.ydd-plan__per {
	margin-left: 6px;
	font-family: var(--ydd-body);
	font-size: 14px;
	font-weight: 400;
	color: var(--ydd-muted);
}

.ydd-plan .ydd-ticks {
	margin-top: 0;
	margin-bottom: 26px;
	font-size: 14.5px;
}

/* — quotes — */
.ydd-quotes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.ydd-quote {
	margin: 0;
	padding: 28px 26px;
	background: var(--ydd-bg);
	border: 1px solid var(--ydd-line);
	border-radius: var(--ydd-radius);
}

.ydd-sec--tint .ydd-quote {
	background: var(--ydd-bg);
}

.ydd-quote blockquote {
	margin: 0 0 20px;
	font-size: 15.5px;
	line-height: 1.85;
}

.ydd-quote blockquote::before {
	content: "“";
	font-family: var(--ydd-display);
	font-size: 34px;
	line-height: 0;
	color: var(--ydd-accent);
	margin-right: 4px;
	vertical-align: -6px;
}

.ydd-quote figcaption {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
}

.ydd-quote figcaption span {
	display: flex;
	flex-direction: column;
}

.ydd-quote figcaption small {
	font-size: 12.5px;
	color: var(--ydd-muted);
}

.ydd-quote__avatar {
	width: 42px;
	flex: 0 0 42px;
	border-radius: 999px;
}

/* — faq — */
.ydd-faq {
	max-width: 62rem;
	border-top: 1px solid var(--ydd-line);
}

.ydd-faq__i {
	border-bottom: 1px solid var(--ydd-line);
}

.ydd-faq__i summary {
	list-style: none;
	cursor: default;
	padding: 20px 40px 20px 0;
	position: relative;
	font-family: var(--ydd-display);
	font-weight: 600;
	font-size: 17px;
}

.ydd-faq__i summary::-webkit-details-marker {
	display: none;
}

.ydd-faq__i summary::after {
	content: "+";
	position: absolute;
	right: 6px;
	top: 18px;
	font-size: 22px;
	font-weight: 400;
	color: var(--ydd-accent);
}

.ydd-faq__i[open] summary::after {
	content: "–";
}

.ydd-faq__i p {
	margin: 0;
	padding: 0 40px 22px 0;
	font-size: 15px;
	line-height: 1.85;
	color: var(--ydd-muted);
}

/* — band — */
.ydd-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.ydd-band__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* — contact — */
.ydd-contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
}

.ydd-deflist {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ydd-deflist div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ydd-deflist dt {
	font-size: 11.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ydd-muted);
}

.ydd-deflist dd {
	margin: 0;
	font-size: 16px;
}

.ydd-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px;
	background: var(--ydd-bg);
	border: 1px solid var(--ydd-line);
	border-radius: var(--ydd-radius);
}

.ydd-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ydd-field > span:first-child {
	font-size: 13px;
	color: var(--ydd-muted);
}

.ydd-input {
	display: block;
	padding: 12px 14px;
	font-size: 15px;
	color: color-mix(in srgb, var(--ydd-ink) 55%, transparent);
	background: var(--ydd-surface);
	border: 1px solid var(--ydd-line);
	border-radius: var(--ydd-radius);
	min-height: 46px;
}

/* — footer — */
.ydd-foot {
	padding: 44px 0;
	background: var(--ydd-ink);
	color: color-mix(in srgb, var(--ydd-bg) 70%, transparent);
}

.ydd-foot__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	flex-wrap: wrap;
}

.ydd-foot__brand {
	font-family: var(--ydd-display);
	font-weight: 600;
	font-size: 20px;
	color: var(--ydd-bg);
}

.ydd-foot__note {
	margin-top: 6px;
	font-size: 13.5px;
}

.ydd-foot__links {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 13.5px;
}

/* ══ the sales bar — deliberately neutral, never themed by the demo ══ */
.ydd-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	background: #14130f;
	color: #f4f1ea;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-family: "Kanit", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.ydd-bar__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.ydd-bar__info {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	min-width: 0;
}

.ydd-bar__eyebrow {
	font-size: 10.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(244, 241, 234, 0.55);
}

.ydd-bar__name {
	font-size: 16px;
	font-weight: 500;
}

.ydd-bar__cat,
.ydd-bar__price {
	font-size: 13px;
	padding: 3px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
}

.ydd-bar__price {
	color: #e8c07d;
	background: rgba(232, 192, 125, 0.14);
}

.ydd-bar__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.ydd-bar__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 20px;
	font-size: 14px;
	text-decoration: none;
	color: #f4f1ea;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 6px;
}

.ydd-bar__btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

.ydd-bar__btn--go {
	color: #14130f;
	background: #e8c07d;
	border-color: #e8c07d;
	font-weight: 500;
}

.ydd-bar__btn--go:hover {
	background: #f0cf95;
}

/* ══ responsive ══ */
@media (max-width: 1020px) {
	.ydd {
		--ydd-gut: 24px;
	}

	.ydd-sec {
		padding: 64px 0;
	}

	.ydd-cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}

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

	.ydd-menu {
		display: none;
	}
}

@media (max-width: 860px) {
	.ydd-hero--left,
	.ydd-split,
	.ydd-contact,
	.ydd-lists {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.ydd-split.is-reverse .ydd-split__media {
		order: 0;
	}

	.ydd-cols-3,
	.ydd-plans,
	.ydd-quotes {
		grid-template-columns: repeat(2, 1fr);
	}

	.ydd-stats {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.ydd {
		--ydd-gut: 18px;
		padding-bottom: 120px;
	}

	.ydd-sec {
		padding: 48px 0;
	}

	.ydd-cols-2,
	.ydd-cols-3,
	.ydd-cols-4,
	.ydd-plans,
	.ydd-quotes,
	.ydd-steps {
		grid-template-columns: 1fr;
	}

	.ydd-stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.ydd-nav__cta {
		padding: 10px 16px;
		font-size: 14px;
	}

	.ydd-searchbar__field {
		flex-basis: 100%;
		border-right: 0;
		border-bottom: 1px solid var(--ydd-line);
	}

	.ydd-searchbar__go {
		width: 100%;
		margin-top: 8px;
	}

	.ydd-btn {
		padding: 12px 20px;
	}

	.ydd-bar__inner {
		padding: 10px 16px;
		gap: 10px;
	}

	.ydd-bar__eyebrow {
		width: 100%;
	}

	/* Name and price earn their space on a phone; the category does not. */
	.ydd-bar__cat {
		display: none;
	}

	.ydd-bar__actions {
		width: 100%;
	}

	.ydd-bar__btn {
		flex: 1;
		padding: 8px 12px;
	}

	.ydd-foot__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ══════════════════════════════════════════════════════════════════════════
   Interactive layer — the parts of a demo a visitor can actually click.
   ══════════════════════════════════════════════════════════════════════ */

/* The document is the scroller on a demo page, so smooth scrolling belongs on
   the root element — this sheet only ever loads on a standalone demo. */
html {
	scroll-behavior: smooth;
}

/* Anchors must clear the sticky header when jumped to. */
.ydd-sec,
.ydd [id] {
	scroll-margin-top: 84px;
}

/* — nav links — */
.ydd-menu__i {
	color: var(--ydd-muted);
	text-decoration: none;
	padding: 4px 0;
	border-bottom: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

a.ydd-menu__i:hover {
	color: var(--ydd-ink);
	border-bottom-color: var(--ydd-accent);
}

.ydd-menu__i.is-on {
	color: var(--ydd-ink);
	font-weight: 500;
	border-bottom-color: var(--ydd-accent);
}

/* — buttons that go somewhere — */
a.ydd-btn {
	cursor: pointer;
	text-decoration: none;
	transition: filter 0.15s ease, opacity 0.15s ease;
}

a.ydd-btn:hover {
	filter: brightness(0.94);
}

a.ydd-btn--ghost:hover {
	background: color-mix(in srgb, currentColor 8%, transparent);
	filter: none;
}

.ydd-btn--inert {
	cursor: default;
}

/* — filter chips — */
button.ydd-filter {
	font: inherit;
	font-size: 13.5px;
	cursor: pointer;
	background: transparent;
	transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

button.ydd-filter:hover:not(.is-on) {
	color: var(--ydd-ink);
	border-color: var(--ydd-accent);
}

button.ydd-filter:focus-visible,
.ydd-burger:focus-visible,
a.ydd-btn:focus-visible,
a.ydd-menu__i:focus-visible {
	outline: 2px solid var(--ydd-accent);
	outline-offset: 3px;
}

.ydd-item[hidden] {
	display: none;
}

/* — hamburger — */
.ydd-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	padding: 0 10px;
	margin-left: auto;
	cursor: pointer;
	background: transparent;
	border: 1px solid var(--ydd-line);
	border-radius: var(--ydd-radius);
}

.ydd-burger span {
	display: block;
	height: 1.5px;
	width: 100%;
	background: var(--ydd-ink);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.ydd-burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}

.ydd-burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.ydd-burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 1020px) {
	.ydd-burger {
		display: flex;
		order: 2;
	}

	.ydd-nav__cta {
		order: 3;
		margin-left: 10px;
	}

	/* The menu was simply hidden before; now it opens. */
	.ydd-menu {
		display: none;
		order: 4;
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		margin-top: 14px;
		padding-top: 10px;
		border-top: 1px solid var(--ydd-line);
	}

	.ydd-menu.is-open {
		display: flex;
	}

	.ydd-menu__i {
		padding: 13px 2px;
		border-bottom: 1px solid var(--ydd-line);
		font-size: 16px;
	}

	.ydd-menu__i:last-child {
		border-bottom: 0;
	}

	.ydd-menu__i.is-on {
		border-bottom-color: var(--ydd-line);
		color: var(--ydd-accent);
	}

	.ydd-nav__inner {
		flex-wrap: wrap;
	}

	.ydd-brand {
		order: 1;
	}
}

@media (max-width: 640px) {
	.ydd-sec,
	.ydd [id] {
		scroll-margin-top: 72px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.ydd-burger span,
	button.ydd-filter,
	a.ydd-btn,
	.ydd-menu__i {
		transition: none;
	}
}
