/* DraftPilot AI designer blocks — styled entirely from design tokens (--sb-*). */

.sb-block {
	padding: 72px 24px;
}

.sb-container {
	max-width: 1100px;
	margin: 0 auto;
}

.sb-bg-light { background: var(--sb-color-bg); color: var(--sb-color-text); }
.sb-bg-accent { background: var(--sb-color-primary); color: #ffffff; }
.sb-bg-dark { background: var(--sb-color-text); color: var(--sb-color-bg); }

.sb-align-center { text-align: center; }
.sb-align-center .sb-buttons { justify-content: center; }
.sb-align-left { text-align: left; }

.sb-head { margin-bottom: 40px; }
.sb-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 13px;
	font-weight: 600;
	color: var(--sb-color-accent);
	margin-bottom: 12px;
}
.sb-title {
	font-family: var(--sb-font-heading);
	font-size: clamp(30px, 5vw, 52px);
	line-height: 1.1;
	font-weight: 800;
	margin: 0 0 16px;
}
.sb-heading {
	font-family: var(--sb-font-heading);
	font-size: clamp(24px, 3.5vw, 40px);
	line-height: 1.15;
	font-weight: 800;
	margin: 0 0 12px;
}
.sb-sub { font-size: 18px; opacity: 0.8; margin: 0; }
.sb-lead {
	font-size: clamp(16px, 2vw, 20px);
	line-height: 1.6;
	opacity: 0.9;
	max-width: 720px;
	margin: 0 auto 28px;
}
.sb-align-left .sb-lead { margin: 0 0 28px; }

.sb-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.sb-btn {
	display: inline-block;
	padding: 13px 26px;
	border-radius: var(--sb-radius);
	font-weight: 600;
	text-decoration: none;
	font-size: 15px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sb-btn:hover { transform: translateY(-1px); }
.sb-btn-primary { background: var(--sb-color-primary); color: #fff; }
.sb-btn-ghost {
	background: transparent;
	color: var(--sb-color-text);
	border: 1.5px solid var(--sb-color-primary);
}
.sb-btn-inverse { background: #fff; color: var(--sb-color-text); }

.sb-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.sb-card {
	background: var(--sb-color-surface);
	color: var(--sb-color-text);
	border-radius: var(--sb-radius);
	padding: 28px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	text-align: left;
}
.sb-bg-accent .sb-card,
.sb-bg-dark .sb-card { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.sb-card-title {
	font-family: var(--sb-font-heading);
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 8px;
}
.sb-card-text { font-size: 15px; line-height: 1.6; margin: 0; opacity: 0.85; }
.sb-icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--sb-color-bg);
	color: var(--sb-color-primary);
	font-size: 20px;
	margin-bottom: 14px;
}

.sb-card-featured {
	border: 2px solid var(--sb-color-accent);
	transform: translateY(-4px);
}
.sb-price {
	font-family: var(--sb-font-heading);
	font-size: 36px;
	font-weight: 800;
	margin: 8px 0;
}
.sb-period { font-size: 14px; opacity: 0.7; font-weight: 400; }
.sb-list { margin: 16px 0; padding: 0; list-style: none; }
.sb-list li { padding: 7px 0; font-size: 15px; }
.sb-list li::before { content: "\2713"; color: var(--sb-color-primary); margin-right: 8px; font-weight: 700; }

.sb-quote { font-size: 16px; line-height: 1.6; margin: 0 0 16px; }
.sb-author { font-weight: 700; font-size: 15px; }
.sb-role { opacity: 0.7; font-weight: 400; }

.sb-faq { max-width: 760px; margin: 0 auto; text-align: left; }
.sb-faq-item {
	background: var(--sb-color-surface);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: var(--sb-radius);
	margin-bottom: 12px;
	overflow: hidden;
}
.sb-faq-item summary {
	cursor: pointer;
	padding: 16px 20px;
	font-weight: 600;
	font-size: 16px;
	list-style: none;
}
.sb-faq-item summary::after { content: "+"; float: right; font-size: 20px; }
.sb-faq-item[open] summary::after { content: "\2212"; }
.sb-faq-item p { padding: 0 20px 18px; margin: 0; font-size: 15px; line-height: 1.6; opacity: 0.9; }

.sb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.sb-stat-value {
	font-family: var(--sb-font-heading);
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 800;
	color: var(--sb-color-accent);
}
.sb-stat-label { font-size: 15px; opacity: 0.85; }

.sb-contact { list-style: none; margin: 0 0 24px; padding: 0; }
.sb-contact li { display: flex; gap: 10px; padding: 8px 0; font-size: 16px; }
.sb-contact strong { min-width: 90px; opacity: 0.7; }

.sb-cta .sb-title,
.sb-cta .sb-lead { margin-left: auto; margin-right: auto; max-width: 640px; }

@media (max-width: 820px) {
	.sb-grid { grid-template-columns: 1fr; }
	.sb-block { padding: 48px 20px; }
}
