/* Homepage */



/* Hero — full-width mint band, flush under the nav */

.home-hero-band {
	margin-top: 0;
	margin-bottom: 0;
	background-color: #d5f3f3;
}

#home-hero {
	padding-top: 55px;
	padding-bottom: 195px;
}

.home-hero-subtitle {
	max-width: 640px;
	margin: 0 auto;
	color: #333333;
}

.home-hero-buttons {
	margin-top: 25px;
}

.home-hero-buttons .btn {
	margin: 8px 10px;
}

.home-hero-note {
	margin-top: 15px;
	color: #00676f;
}



/* The try box (launched phase only: tools/phase_copy.py's home_hero_try, under the hero's sub-line;
   assets/js/try-hero.js). A dashed drop zone on white for a CSV or Excel file, or the sample; the status
   line under it (a polite live region) while the file goes to the app; a refusal's card in the zone's
   place. Below 480 px the drop hint goes (no dragging on a phone): the button and the sample link stay. */

.home-try {
	max-width: 640px;
	margin: 30px auto 0;
}

/* theme.css gives .btn and button a display after its own [hidden] rule: the box's hidden parts stay hidden */
.home-try [hidden] {
	display: none !important;
}

.try-box {
	padding: 28px 30px 22px;
	background-color: #ffffff;
	border: 2px dashed #8cc8cc;
	border-radius: 7px;
	box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.06);
	transition: border-color 150ms ease, background-color 150ms ease;
}

.try-box.is-dragover {
	border-color: #50248f;
	background-color: #f8f5fc;
}

.try-box__icon {
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #d5f3f3;
	color: #00848e;
	border-radius: 50%;
	font-size: 20px;
	margin-bottom: 12px;
}

.try-box__hint {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 600;
	color: #230051;
}

.try-box__or {
	margin: 2px 0 0;
	font-size: 14.5px;
	color: #7b6696;
}

.try-box__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
}

.try-box__actions .btn {
	margin: 0;
}

.try-box__sample {
	font-size: 15px;
}

.try-box__caps {
	margin: 18px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: #7b6696;
}

/* While the file is on its way: the actions dimmed (aria-disabled; try-hero.js ignores them) */
.home-try.is-busy .try-box {
	cursor: progress;
}

.home-try.is-busy .try-box__actions {
	opacity: 0.5;
	pointer-events: none;
}

.try-box__status {
	min-height: 22px;
	margin: 10px 0 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: #00676f;
}

.try-box__spinner {
	display: none;
	margin-right: 8px;
}

.home-try.is-busy .try-box__spinner {
	display: inline-block;
}

.try-box__card {
	padding: 24px;
	background-color: #ffffff;
	border: 1px solid rgba(200, 200, 200, 0.5);
	border-radius: 7px;
	box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.06);
}

.try-box__message {
	margin: 0;
	padding: 12px 16px;
	border-radius: 7px;
	background-color: #ffe8cc;
	color: #8a4300;
	font-size: 14.5px;
	line-height: 1.5;
	text-align: left;
}

/* The focus lands on the message only when the card has no action (the kill switch): no ring on a paragraph */
.try-box__message:focus {
	outline: none;
}

.try-box__card-actions {
	margin-top: 10px;
}

.try-box__card-actions .btn {
	margin: 8px 10px 0;
}

/* The status line holds the space above the hero's buttons (an empty line until a file is on its way) */
.home-try ~ .home-hero-buttons {
	margin-top: 10px;
}



/* Demo — the hero visual; the card overlaps up into the mint band */

#demo {
	scroll-margin-top: 90px;
}

.home-demo-section {
	margin-bottom: 30px;
}

#demo .page-width {
	max-width: 960px;
}

.home-demo-figure {
	margin-top: -140px;
}

#demo .demo-card {
	max-width: none;
	box-shadow: 0 30px 60px 0 rgba(35, 0, 81, 0.16);
}

.home-demo-lead {
	max-width: 680px;
	margin: 0 auto 25px;
	text-align: center;
	font-size: 14.5px;
	line-height: 1.6;
	color: #555555;
}

.home-demo-lead b {
	color: #230051;
}



/* Value pillars */

.home-pillars-intro {
	max-width: 520px;
	margin: 10px auto 0;
}

.home-pillars-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 35px 30px;
	max-width: 1160px;
	margin: 40px auto 0;
}

.home-pillar {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0 10px;
}

.home-pillar-icon {
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #d5f3f3;
	color: #00848e;
	border-radius: 50%;
	font-size: 18px;
	margin-bottom: 18px;
}

.home-pillar-title {
	display: block;
	font-size: 1.125rem;
	font-weight: 600;
	color: #230051;
	margin-bottom: 8px;
}

.home-pillar-text {
	display: block;
	font-size: 14.5px;
	line-height: 1.6;
	max-width: 320px;
}



/* Dashboard band + app-window frame for the real screenshot */

.home-product-bg {
	background-color: #fafafa;
	color: #333333;
}

.home-product-intro {
	max-width: 560px;
	margin: 10px auto 0;
}

.home-shot-figure {
	margin: 0;
}

.home-dashboard-figure {
	max-width: 900px;
	margin: 40px auto 0;
}

.home-shot {
	background-color: #ffffff;
	border: 1px solid rgba(200, 200, 200, 0.5);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.1);
}

.home-shot-bar {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 14px;
	background-color: #f4f6f8;
	border-bottom: 1px solid rgba(200, 200, 200, 0.5);
}

.home-shot-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #d5d5dd;
}

.home-shot img {
	display: block;
	width: 100%;
	height: auto;
}

.home-shot-caption {
	margin-top: 14px;
	text-align: center;
	font-size: 13px;
	line-height: 1.5;
	color: #7b6696;
}

.home-product-cta {
	margin-top: 35px;
	text-align: center;
}



/* Privacy strip — mint band */

.home-privacy-bg {
	background-color: #d5f3f3;
	color: #333333;
}

.home-privacy-icon {
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #ffffff;
	color: #00848e;
	border-radius: 50%;
	font-size: 18px;
	margin-bottom: 18px;
}

.home-privacy-intro {
	max-width: 560px;
	margin: 10px auto 0;
}

.home-privacy-points {
	list-style: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px 35px;
	max-width: 960px;
	margin: 30px auto 0;
	padding: 0;
}

.home-privacy-points li {
	display: flex;
	align-items: flex-start;
	font-size: 14.5px;
	line-height: 1.6;
	color: #333333;
}

.home-privacy-points li i {
	color: #00848e;
	font-size: 14px;
	margin-right: 10px;
	margin-top: 4px;
	flex: 0 0 auto;
}

.home-privacy-more {
	margin-top: 25px;
	font-size: 15px;
}

.home-privacy-more a {
	color: #230051;
	font-weight: 500;
	text-decoration: underline;
}



/* Explore-the-site link cards */

.home-explore-grid {
	max-width: 1160px;
	margin: 40px auto 0;
}

.home-explore-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: #ffffff;
	border: 1px solid rgba(200, 200, 200, 0.5);
	border-radius: 7px;
	box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.1);
	padding: 30px;
	text-decoration: none;
	color: #333333;
	transition: transform 150ms ease, box-shadow 150ms ease;
}

.home-explore-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 34px 0 rgba(0, 0, 0, 0.14);
}

.home-explore-icon {
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #d5f3f3;
	color: #00848e;
	border-radius: 50%;
	font-size: 18px;
	margin-bottom: 18px;
}

.home-explore-title {
	display: block;
	font-size: 1.125rem;
	font-weight: 600;
	color: #230051;
	margin-bottom: 8px;
}

.home-explore-text {
	display: block;
	font-size: 14.5px;
	margin-bottom: 16px;
}

.home-explore-cta {
	display: block;
	margin-top: auto;
	color: #5d68bf;
	font-weight: 500;
	font-size: 14.5px;
}

.home-explore-cta i {
	font-size: 12px;
	margin-left: 6px;
	transition: transform 150ms ease;
}

.home-explore-card:hover .home-explore-cta i {
	transform: translateX(3px);
}



/* Teams strip — photo split */

.home-teams-content {
	text-align: left;
}

.home-team-rows {
	margin-top: 25px;
}

.home-team-row {
	display: flex;
	align-items: flex-start;
	margin-bottom: 18px;
}

.home-team-row-icon {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #d5f3f3;
	color: #00848e;
	border-radius: 50%;
	margin-right: 15px;
	font-size: 15px;
}

.home-team-row-text {
	font-size: 14.5px;
	line-height: 1.6;
	color: #333333;
}

.home-team-row-text b {
	color: #230051;
}

.home-teams-note {
	margin: 25px 0 0;
	color: #555555;
}



/* Closing CTA */

.home-cta-bg {
	background-color: #fafafa;
	color: #333333;
}

.home-cta-buttons {
	margin-top: 25px;
}

.home-cta-buttons .btn {
	margin: 8px 10px;
}

.home-cta-note {
	margin-top: 15px;
	color: #7b6696;
}



/* Bottom breathing room before the footer */

#home-cta {
	margin-bottom: 60px;
}



/* Restore visible focus states (outline is suppressed globally) */

.home-hero-buttons .btn:focus-visible,
.home-product-cta .btn:focus-visible,
.home-cta-buttons .btn:focus-visible,
.home-privacy-more a:focus-visible,
.home-explore-card:focus-visible {
	outline: 2px solid #50248f;
	outline-offset: 3px;
}



/* Responsive */

@media only screen and (max-width: 850px) {

	#home-hero {
		padding-top: 40px;
		padding-bottom: 145px;
	}

	.home-demo-figure {
		margin-top: -105px;
	}

	.home-pillars-grid {
		grid-template-columns: 1fr;
	}

	.home-explore-card {
		padding: 25px 20px;
	}

}

@media only screen and (max-width: 479px) {

	#home-hero {
		padding-top: 30px;
		padding-bottom: 105px;
	}

	.home-try {
		margin: 25px 20px 0;
	}

	.try-box {
		padding: 24px 15px 18px;
	}

	.try-box__hint,
	.try-box__or {
		display: none;
	}

	.try-box__card {
		padding: 18px 15px;
	}

	.home-demo-figure {
		margin-top: -75px;
	}

	.home-shot-bar {
		height: 28px;
		padding: 0 12px;
	}

	.home-shot-dot {
		width: 8px;
		height: 8px;
	}

}
