/* Shared starter About / Contact pages */
.ahura-starter-page {
	--sp-ink: #111827;
	--sp-muted: #6b7280;
	--sp-line: #e5e7eb;
	--sp-soft: #f3f4f6;
	--sp-card: #fff;
	--sp-primary: var(--ahura-theme-primary, #1d67e8);
	--sp-primary-dark: color-mix(in srgb, var(--ahura-theme-primary, #1d67e8) 82%, #000);
	color: var(--sp-ink);
	padding-bottom: 64px;
}

.ahura-starter-page a {
	color: inherit;
	text-decoration: none;
}

.ah-sp-tag {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 12px;
	margin-bottom: 16px;
	border-radius: 999px;
	background: var(--sp-soft);
	color: var(--sp-muted);
	font-size: 12px;
	font-weight: 600;
}

.ah-sp-hero {
	padding: 64px 0 40px;
}

.ah-sp-hero-title {
	margin: 0 0 16px;
	max-width: 18ch;
	font-size: clamp(1.9rem, 4vw, 3rem);
	line-height: 1.15;
	letter-spacing: -0.03em;
	font-weight: 700;
}

.ah-sp-hero-lead,
.ah-sp-body {
	margin: 0;
	max-width: 54ch;
	color: var(--sp-muted);
	font-size: 16px;
	line-height: 1.7;
}

.ah-sp-section-title {
	margin: 0 0 14px;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	line-height: 1.25;
	letter-spacing: -0.02em;
	font-weight: 700;
}

.ah-sp-story,
.ah-sp-values,
.ah-sp-cta,
.ah-sp-contact {
	padding: 28px 0 8px;
}

.ah-sp-story-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: 32px;
	align-items: stretch;
}

.ah-sp-story-copy .ah-sp-body + .ah-sp-body {
	margin-top: 14px;
}

.ah-sp-story-panel {
	min-height: 220px;
	border-radius: 24px;
	background: var(--sp-soft);
	border: 1px solid var(--sp-line);
	position: relative;
	overflow: hidden;
}

.ah-sp-story-accent {
	position: absolute;
	inset: 18% 18% auto auto;
	width: 42%;
	height: 42%;
	border-radius: 18px;
	background: color-mix(in srgb, var(--sp-primary) 18%, #fff);
	border: 1px solid color-mix(in srgb, var(--sp-primary) 28%, #fff);
}

.ah-sp-values-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.ah-sp-value {
	padding: 24px;
	border-radius: 18px;
	background: var(--sp-card);
	border: 1px solid var(--sp-line);
}

.ah-sp-value-title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
}

.ah-sp-value-text {
	margin: 0;
	color: var(--sp-muted);
	font-size: 14px;
	line-height: 1.65;
}

.ah-sp-cta-box {
	padding: 36px 28px;
	border-radius: 24px;
	background: var(--sp-soft);
	border: 1px solid var(--sp-line);
	text-align: center;
}

.ah-sp-cta-title {
	margin: 0 0 10px;
	font-size: clamp(1.3rem, 2.2vw, 1.7rem);
	letter-spacing: -0.02em;
}

.ah-sp-cta-text {
	margin: 0 auto 18px;
	max-width: 42ch;
	color: var(--sp-muted);
	line-height: 1.6;
}

.ah-sp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	border: 0;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ah-sp-btn-primary {
	background: var(--sp-primary);
	color: #fff !important;
}

.ah-sp-btn-primary:hover {
	background: var(--sp-primary-dark);
}

.ah-sp-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 28px;
	align-items: start;
}

.ah-sp-contact-form-wrap,
.ah-sp-contact-aside {
	padding: 28px;
	border-radius: 20px;
	background: var(--sp-card);
	border: 1px solid var(--sp-line);
}

.ah-sp-form {
	display: grid;
	gap: 14px;
	margin-top: 18px;
}

.ah-sp-field {
	display: grid;
	gap: 6px;
}

.ah-sp-field span {
	font-size: 13px;
	font-weight: 600;
	color: var(--sp-ink);
}

.ah-sp-field input,
.ah-sp-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--sp-line);
	border-radius: 12px;
	background: #fff;
	color: var(--sp-ink);
	font: inherit;
	line-height: 1.4;
}

.ah-sp-field input:focus,
.ah-sp-field textarea:focus {
	outline: 2px solid color-mix(in srgb, var(--sp-primary) 35%, transparent);
	border-color: var(--sp-primary);
}

.ah-sp-form-notice {
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.5;
}

.ah-sp-form-notice--ok {
	background: #ecfdf5;
	color: #047857;
}

.ah-sp-form-notice--err {
	background: #fef2f2;
	color: #b91c1c;
}

.ah-sp-contact-aside {
	display: grid;
	gap: 12px;
}

.ah-sp-info-card {
	padding: 16px;
	border-radius: 14px;
	background: var(--sp-soft);
}

.ah-sp-info-label {
	display: block;
	margin-bottom: 4px;
	color: var(--sp-muted);
	font-size: 12px;
	font-weight: 600;
}

.ah-sp-info-value {
	display: block;
	font-size: 15px;
	font-weight: 600;
	word-break: break-word;
}

@media (max-width: 900px) {
	.ah-sp-story-grid,
	.ah-sp-values-grid,
	.ah-sp-contact-grid {
		grid-template-columns: 1fr;
	}

	.ah-sp-story-panel {
		min-height: 160px;
	}
}

@media (max-width: 640px) {
	.ah-sp-hero {
		padding-top: 48px;
	}

	.ah-sp-contact-form-wrap,
	.ah-sp-contact-aside {
		padding: 20px;
	}
}
