/* 240.org Project 180 page — block styles. Extracted from Phase 1/2 mockup. Supplements theme main.css. */

/* ===== HERO ===== */
.hero {
	margin-top: 72px;
	background: var(--soft-p180);
	min-height: 88vh;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	padding: 80px;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	top: -150px;
	right: -100px;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	background: rgba(165, 160, 234, 0.2);
}

.hero::after {
	content: "";
	position: absolute;
	bottom: -80px;
	left: 20%;
	width: 350px;
	height: 350px;
	border-radius: 50%;
	border: 2px solid rgba(3, 168, 146, 0.15);
}

.hero-text {
	position: relative;
	z-index: 2;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(84, 80, 160, 0.1);
	border: 1px solid rgba(84, 80, 160, 0.2);
	color: var(--p180-dark);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 3px;
	text-transform: uppercase;
	padding: 8px 16px;
	border-radius: 20px;
	margin-bottom: 28px;
}

.hero-heading {
	font-family: "Mona Sans", sans-serif;
	font-size: clamp(38px, 4.5vw, 60px);
	line-height: 1.15;
	color: var(--p180-deeper);
	margin-bottom: 10px;
}

.hero-heading .accent {
	color: var(--p180-dark);
	font-style: italic;
}

.hero-sub {
	font-size: 17px;
	font-weight: 400;
	color: rgba(52, 25, 95, 0.7);
	line-height: 1.75;
	margin-bottom: 40px;
	max-width: 480px;
}

.hero-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.btn-primary-p180 {
	background: var(--p180-dark);
	color: #fff;
	padding: 16px 32px;
	border-radius: 8px;
	font-weight: 800;
	font-size: 15px;
	text-decoration: none;
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.btn-primary-p180:hover {
	background: var(--p180-deeper);
	transform: translateY(-2px);
}

.btn-ghost {
	background: transparent;
	color: var(--p180-dark);
	border: 2px solid rgba(84, 80, 160, 0.3);
	padding: 14px 28px;
	border-radius: 8px;
	font-weight: 800;
	font-size: 15px;
	text-decoration: none;
	transition: all 0.2s;
}
.btn-ghost:hover {
	border-color: var(--p180-dark);
	background: rgba(84, 80, 160, 0.08);
}

/* Hero visual */
.hero-visual {
	position: relative;
	z-index: 2;
	padding-left: 48px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 16px;
}

.teaser-card {
	background: #fff;
	border: 1px solid rgba(84, 80, 160, 0.12);
	border-radius: 16px;
	padding: 24px 28px;
	transition:
		transform 0.2s,
		box-shadow 0.2s;
}
.teaser-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(84, 80, 160, 0.1);
}
.teaser-card.accent {
	border-color: rgba(84, 80, 160, 0.25);
	border-left: 4px solid var(--p180-dark);
}
.teaser-card.teal-accent {
	border-left: 4px solid var(--teal-dark);
	border-color: rgba(3, 130, 113, 0.2);
}

.teaser-label {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--p180-dark);
	margin-bottom: 8px;
}
.teaser-label.teal {
	color: var(--teal-dark);
}

.teaser-text {
	font-family: "Mona Sans", sans-serif;
	font-size: 17px;
	color: var(--p180-deeper);
	line-height: 1.5;
	font-weight: 700;
}

.teaser-sub {
	font-size: 13px;
	font-weight: 400;
	color: var(--grey);
	margin-top: 6px;
	line-height: 1.5;
}

/* ===== WHAT IS P180 ===== */
.what-section {
	padding: 100px 80px;
	background: #fff;
}

.what-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.section-tag {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--p180-dark);
	margin-bottom: 16px;
}

.section-heading {
	font-family: "Mona Sans", sans-serif;
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 24px;
	color: var(--dark);
}

.section-heading .accent {
	color: var(--p180-dark);
}

.body-text {
	font-size: 16px;
	font-weight: 400;
	color: #555;
	line-height: 1.85;
	margin-bottom: 20px;
}

.ps-stack {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ps-card {
	border-radius: 14px;
	padding: 22px 24px;
}
.ps-card.problem {
	background: #fef2f2;
	border-left: 4px solid #ef4444;
}
.ps-card.solution {
	background: var(--soft-p180);
	border-left: 4px solid var(--p180-dark);
}
.ps-card.approach {
	background: var(--soft-teal);
	border-left: 4px solid var(--teal-dark);
}

.ps-label {
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.ps-label.problem {
	color: #ef4444;
}
.ps-label.solution {
	color: var(--p180-dark);
}
.ps-label.approach {
	color: var(--teal-dark);
}

.ps-text {
	font-size: 14px;
	font-weight: 700;
	color: var(--dark);
	line-height: 1.6;
}

/* ===== THREE BONES ===== */
.bones-section {
	background: var(--soft-p180);
	padding: 100px 80px;
	position: relative;
	overflow: hidden;
}

.bones-section::before {
	content: "";
	position: absolute;
	top: -100px;
	right: -100px;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: rgba(165, 160, 234, 0.12);
}

.bones-inner {
	max-width: 1100px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.bones-header {
	text-align: center;
	margin-bottom: 60px;
}

.bones-header h2 {
	font-family: "Mona Sans", sans-serif;
	font-size: clamp(30px, 4vw, 48px);
	color: var(--p180-deeper);
	margin-bottom: 16px;
	line-height: 1.2;
}

.bones-header p {
	font-size: 16px;
	font-weight: 400;
	color: var(--grey);
	max-width: 560px;
	margin: 0 auto;
	line-height: 1.7;
}

.bones-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.bone-card {
	background: #fff;
	border-radius: 20px;
	padding: 36px 28px;
	border-top: 4px solid var(--p180-dark);
	transition:
		transform 0.25s,
		box-shadow 0.25s;
}
.bone-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(84, 80, 160, 0.12);
}
.bone-card.backbone {
	border-top-color: var(--teal-dark);
}
.bone-card.funnybone {
	border-top-color: var(--p180-deeper);
}

.bone-name {
	font-family: "Mona Sans", sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: var(--p180-dark);
	margin-bottom: 4px;
}
.bone-card.backbone .bone-name {
	color: var(--teal-dark);
}
.bone-card.funnybone .bone-name {
	color: var(--p180-deeper);
}

.bone-subtitle {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 18px;
	color: rgba(84, 80, 160, 0.55);
}
.bone-card.backbone .bone-subtitle {
	color: rgba(3, 130, 113, 0.6);
}
.bone-card.funnybone .bone-subtitle {
	color: rgba(52, 25, 95, 0.5);
}

.bone-quote {
	font-family: "Mona Sans", sans-serif;
	font-style: italic;
	font-size: 14px;
	color: var(--dark);
	line-height: 1.7;
	margin-bottom: 18px;
	padding-left: 14px;
	border-left: 2px solid var(--p180);
}
.bone-card.backbone .bone-quote {
	border-left-color: var(--teal);
}
.bone-card.funnybone .bone-quote {
	border-left-color: var(--p180-dark);
}

.bone-goals {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bone-goals li {
	font-size: 13px;
	font-weight: 400;
	color: #555;
	line-height: 1.5;
	padding-left: 18px;
	position: relative;
}

.bone-goals li::before {
	content: "→";
	position: absolute;
	left: 0;
	font-size: 12px;
	color: var(--p180-dark);
}
.bone-card.backbone .bone-goals li::before {
	color: var(--teal-dark);
}
.bone-card.funnybone .bone-goals li::before {
	color: var(--p180-deeper);
}

/* Research callout */
.research-callout {
	margin-top: 48px;
	background: #fff;
	border-radius: 16px;
	padding: 32px 40px;
	display: flex;
	align-items: center;
	gap: 32px;
	box-shadow: 0 4px 20px rgba(84, 80, 160, 0.08);
	border-left: 4px solid var(--p180-dark);
}

.research-callout p {
	font-size: 15px;
	font-weight: 400;
	color: var(--grey);
	line-height: 1.7;
	flex: 1;
}
.research-callout p strong {
	color: var(--dark);
	font-weight: 800;
}

/* ===== RESOURCES TEASER ===== */
.resources-section {
	padding: 100px 80px;
	background: #fff;
}

.resources-inner {
	max-width: 1100px;
	margin: 0 auto;
}

.resources-header {
	text-align: center;
	margin-bottom: 56px;
}

.resources-header h2 {
	font-family: "Mona Sans", sans-serif;
	font-size: clamp(28px, 3.5vw, 42px);
	color: var(--p180-deeper);
	margin-bottom: 16px;
}

.resources-header p {
	font-size: 16px;
	font-weight: 400;
	color: var(--grey);
	max-width: 520px;
	margin: 0 auto;
	line-height: 1.7;
}

.resources-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.resource-card {
	background: var(--soft-p180);
	border-radius: 14px;
	padding: 28px;
	border: 2px dashed rgba(165, 160, 234, 0.4);
	text-align: center;
	transition:
		border-color 0.2s,
		transform 0.2s;
}
.resource-card:hover {
	border-color: var(--p180-dark);
	transform: translateY(-2px);
}

.resource-icon {
	font-size: 28px;
	margin-bottom: 12px;
}

.resource-topic {
	font-family: "Mona Sans", sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: var(--p180-deeper);
	margin-bottom: 8px;
	line-height: 1.4;
}

.resource-bone-tag {
	display: block;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.tag-p180 {
	background: #fff;
	color: var(--p180-dark);
}
.tag-teal {
	background: var(--soft-teal);
	color: var(--teal-dark);
}
.tag-purple {
	color: var(--p180-deeper);
}
.tag-wishbone {
	color: var(--p180-dark);
}
.tag-backbone {
	color: var(--teal-dark);
}
.tag-funnybone {
	color: var(--p180-deeper);
}

.resource-desc {
	font-size: 13px;
	font-weight: 400;
	color: var(--grey);
	line-height: 1.6;
}

.coming-soon-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 12px;
	background: #fff;
	color: var(--p180-dark);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 10px;
}

/* ===== SIGN UP ===== */
.signup-section {
	background: var(--p180-deeper);
	padding: 100px 80px;
	position: relative;
	overflow: hidden;
}

.signup-section::before {
	content: "";
	position: absolute;
	top: -120px;
	right: -120px;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: rgba(165, 160, 234, 0.1);
}

.signup-section::after {
	content: "";
	position: absolute;
	bottom: -80px;
	left: -60px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	border: 2px solid rgba(3, 168, 146, 0.15);
}

.signup-inner {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
	position: relative;
	z-index: 1;
}

.signup-inner .section-tag {
	color: var(--p180);
}

.signup-inner h2 {
	font-family: "Mona Sans", sans-serif;
	font-size: clamp(28px, 4vw, 44px);
	color: #fff;
	line-height: 1.2;
	margin-bottom: 16px;
}

.signup-inner p {
	font-size: 16px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.7;
	margin-bottom: 40px;
}

.email-form {
	display: flex;
	max-width: 480px;
	margin: 0 auto 12px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.email-form input {
	flex: 1;
	padding: 16px 20px;
	font-size: 15px;
	font-family: "Mona Sans", sans-serif;
	font-weight: 400;
	border: none;
	outline: none;
	color: var(--dark);
}
.email-form input::placeholder {
	color: #aaa;
}

.email-form button {
	background: var(--p180);
	color: var(--p180-deeper);
	border: none;
	padding: 16px 24px;
	font-size: 14px;
	font-family: "Mona Sans", sans-serif;
	font-weight: 800;
	cursor: pointer;
	transition: background 0.2s;
	white-space: nowrap;
}
.email-form button:hover {
	background: #b8b4f0;
}

.form-disclaimer {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	font-weight: 400;
	margin-bottom: 48px;
}

.social-divider {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 28px;
}
.social-divider::before,
.social-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.12);
}
.social-divider span {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	white-space: nowrap;
}

.social-links {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.social-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(165, 160, 234, 0.12);
	border: 1px solid rgba(165, 160, 234, 0.25);
	color: #fff;
	text-decoration: none;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 800;
	transition: all 0.2s;
}
.social-link:hover {
	background: rgba(165, 160, 234, 0.22);
	transform: translateY(-2px);
}
.social-icon {
	font-size: 16px;
	display: inline-flex;
	align-items: center;
}
.social-icon svg {
	width: 18px;
	height: 18px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
	.hero {
		grid-template-columns: 1fr;
		padding: 60px 40px;
	}
	.hero-visual {
		display: none;
	}
	.what-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.what-section {
		padding: 60px 40px;
	}
	.bones-section {
		padding: 60px 40px;
	}
	.bones-grid {
		grid-template-columns: 1fr;
	}
	.research-callout {
		flex-direction: column;
		gap: 24px;
	}
	.resources-section {
		padding: 60px 40px;
	}
	.resources-grid {
		grid-template-columns: 1fr 1fr;
	}
	.signup-section {
		padding: 60px 40px;
	}
	footer {
		padding: 40px 40px 24px;
	}
}

@media (max-width: 640px) {
	nav {
		padding: 0 20px;
	}
	.nav-links {
		display: none;
	}
	.hero {
		padding: 40px 24px;
	}
	.what-section,
	.bones-section,
	.resources-section,
	.signup-section {
		padding: 48px 24px;
	}
	.resources-grid {
		grid-template-columns: 1fr;
	}
	.email-form {
		flex-direction: column;
	}
	footer {
		padding: 40px 24px 24px;
	}
	.footer-top {
		grid-template-columns: 1fr 1fr;
	}
	.research-stats {
		gap: 24px;
	}
}

/* Block WYSIWYG normalization (what-section body renders <p>). */
.what-inner .body-text-wrap p {
	font-size: 17px;
	line-height: 1.7;
	color: #444;
	margin-bottom: 16px;
}
.what-inner .body-text-wrap p:last-child {
	margin-bottom: 0;
}

/* ===== HubSpot embedded newsletter form (scoped, styled to match mockup) ===== */
.newsletter-embed {
	max-width: 520px;
	margin: 0 auto 12px;
	text-align: left;
	color: #fff;
}
.newsletter-embed fieldset {
	max-width: none !important;
	margin: 0;
	padding: 0;
	border: 0;
}
.newsletter-embed .form-columns-2 {
	display: flex;
	gap: 12px;
}
.newsletter-embed .form-columns-2 > .hs-form-field {
	flex: 1;
}
.newsletter-embed .hs-form-field {
	margin-bottom: 12px;
}
.newsletter-embed .hs-form-field > label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}
.newsletter-embed .input {
	margin: 0 !important;
}
.newsletter-embed .hs-input {
	width: 100% !important;
	box-sizing: border-box;
	padding: 15px 18px;
	font-size: 15px;
	font-family: "Mona Sans", sans-serif;
	font-weight: 400;
	color: var(--dark);
	background: #fff;
	border: none;
	border-radius: 10px;
	outline: none;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.newsletter-embed textarea.hs-input {
	min-height: 96px;
}
.newsletter-embed .hs-richtext {
	display: none;
}
.newsletter-embed .hs-richtext p {
	margin: 0;
}
.newsletter-embed .hs_submit {
	margin-top: 4px;
}
.newsletter-embed .actions {
	margin: 0;
	padding: 0;
}
.newsletter-embed .hs-button {
	width: 100%;
	padding: 16px 28px;
	font-size: 14px;
	font-family: "Mona Sans", sans-serif;
	font-weight: 800;
	color: var(--p180-deeper);
	background: var(--p180);
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: filter 0.2s;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.newsletter-embed .hs-button:hover {
	filter: brightness(1.08);
}
.newsletter-embed .hs-error-msgs {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
}
.newsletter-embed .hs-error-msg,
.newsletter-embed .hs-error-msgs label {
	color: #ffd9c9;
	font-size: 12px;
	font-weight: 600;
}
.newsletter-embed .hs_error_rollup {
	display: none;
}
