/* Homepage split hero. Loaded after review-fixes.css.
   Scoped to body.home so inner pages stay untouched.
   Right column is a security/engineer terminal, not a product mockup. */

body.home .section.started .started-content.started-chat {
	padding: 72px 0 0; /* was 108px; header clearance only */
}

body.home .hero-top {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 56px;
	align-items: start;
	min-height: 0;
	padding: 32px 0 24px;
}

body.home .hero-copy {
	padding-top: 0;
	max-width: 540px; /* was 720px */
}

body.home p.hero-eyebrow {
	margin: 0 0 16px;
	font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72); /* was 0.66; do not go back down */
}

body.home.hero-themed .hero-role {
	margin: 0;
	font-size: clamp(44px, 4.6vw, 68px); /* was clamp(34px, 4.2vw, 56px) */
	font-weight: 700;
	line-height: 1.05; /* was 1.1 */
	letter-spacing: -0.03em; /* was -0.5px */
	color: #ffffff;
}

body.home .hero-role strong {
	color: #4bffa5;
	font-weight: 700;
}

body.home .hero-tagline {
	margin: 20px 0 0;
	max-width: 34em; /* was 640px */
	font-size: 17px; /* was 16.5px */
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82); /* was 0.78 */
	font-weight: 400;
}

body.home .hero-tagline strong {
	color: #ffffff;
	font-weight: 500;
}

/* CTA row — the live wrap is a column; make it a row */
body.home .hero-cta-wrap,
body.home #hero-cta-wrap {
	opacity: 1 !important;
	transform: none !important;
	margin-top: 28px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	max-width: none;
}

body.home .hero-cta.hero-cta-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0; /* was min-width: 280px */
	align-self: auto;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 14px;
	background: #4bffa5;
	color: #071a10;
	font-weight: 700;
	font-size: 17px;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 10px 28px -12px rgba(75, 255, 165, 0.7);
}

body.home a.hero-cta.hero-cta-primary,
body.home a.hero-cta.hero-cta-primary:hover {
	color: #071a10;
}

body.home .hero-text-link,
body.home a.hero-text-link:hover {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: #4bffa5;
	font-weight: 500;
	font-size: 15px;
	text-decoration: none;
	align-self: auto;
}

body.home .hero-text-link .ico,
body.home .hero-text-link svg {
	width: 18px;
	height: 18px;
	flex: none;
}

body.home .hero-proof,
body.home .hero-availability {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.72);
}

body.home .hero-proof {
	margin-top: 16px;
}

body.home .hero-proof strong {
	color: #f0f0f5;
	font-weight: 500;
}

body.home .hero-stage {
	position: relative;
	margin: 0;
	min-width: 0;
}

/* Accessible name for the decorative terminal. Visually hidden; referenced by aria-labelledby. */
body.home .hero-stage-caption {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.home .hero-stage::before {
	content: "";
	position: absolute;
	inset: 4% 2% 8% 2%;
	background: radial-gradient(ellipse at 50% 42%, rgba(75, 255, 165, 0.22), transparent 68%);
	filter: blur(32px);
	pointer-events: none;
}

body.home .hero-term {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background: #0b1118;
	border: 1px solid rgba(75, 255, 165, 0.18);
	box-shadow:
		0 24px 48px rgba(0, 0, 0, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.home .hero-term-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.home .hero-term-dots {
	display: flex;
	gap: 6px;
	flex: none;
}

body.home .hero-term-dots span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
}

body.home .hero-term-dots span:nth-child(1) { background: #ff5f57; }
body.home .hero-term-dots span:nth-child(2) { background: #febc2e; }
body.home .hero-term-dots span:nth-child(3) { background: #28c840; }

body.home .hero-term-title {
	flex: 1;
	text-align: center;
	font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

body.home .hero-term-body {
	margin: 0;
	padding: 22px 24px 24px;
	background: transparent;
	font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.78);
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	overflow: auto;
	max-width: none;
}

/* basic.css sets code { white-space: nowrap; display: inline-block } and
   pre { background: #f6f6f6 }. Reset both so the terminal keeps its lines
   and can wrap or scroll under browser text zoom. */
body.home .hero-term-body code {
	display: block;
	padding: 0;
	background: transparent;
	font-family: inherit;
	font-size: inherit;
	font-style: normal;
	line-height: inherit;
	color: inherit;
	white-space: pre-wrap;
	overflow: visible;
	overflow-wrap: anywhere;
	word-break: break-word;
	max-width: none;
	vertical-align: baseline;
}

body.home .term-prompt {
	color: #4bffa5;
	font-weight: 500;
}

body.home .term-cmd {
	color: #f0f0f5;
}

body.home .term-out {
	color: rgba(255, 255, 255, 0.72);
}

body.home .term-ok {
	color: #4bffa5;
	font-weight: 500;
}

body.home .term-cursor {
	display: inline-block;
	width: 8px;
	height: 1.05em;
	margin-left: 2px;
	vertical-align: -2px;
	background: #4bffa5;
	animation: heroTermCaret 1.1s steps(1) infinite;
}

@keyframes heroTermCaret {
	50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	body.home .term-cursor {
		animation: none;
		opacity: 0.85;
	}
}

body.page-404 .hero-top {
	min-height: calc(100vh - 160px);
}

@media (max-width: 1024px) {
	body.home .hero-top {
		gap: 36px; /* was 56px */
	}

	body.home .hero-copy {
		max-width: none; /* fill the 0.95fr column (~450px) */
	}

	body.home .hero-cta.hero-cta-primary {
		width: auto; /* still a row, not full-bleed */
	}
}

@media (max-width: 768px) {
	body.home .section.started .started-content.started-chat {
		padding-top: 60px; /* 60px fixed header */
	}

	body.home .hero-chat-wrap {
		width: calc(100% - 32px);
	}

	body.home .hero-top {
		grid-template-columns: 1fr;
		gap: 16px;
		min-height: 0; /* do not force a tall fold on a phone or small tablet */
		padding: 8px 0 24px;
		align-items: start;
	}

	body.home .hero-copy {
		max-width: none;
	}

	body.home p.hero-eyebrow {
		margin-bottom: 10px;
	}

	body.home.hero-themed .hero-role {
		font-size: 40px;
		letter-spacing: -0.03em;
	}

	body.home .hero-tagline {
		margin-top: 12px;
		font-size: 16px;
	}

	body.home .hero-cta-wrap,
	body.home #hero-cta-wrap {
		margin-top: 16px;
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	body.home .hero-cta.hero-cta-primary {
		width: 100%;
		align-self: stretch;
	}

	body.home .hero-proof {
		margin-top: 14px;
	}

	body.home .hero-availability {
		margin-top: 6px;
	}

	body.home .hero-term-bar {
		padding: 10px 14px;
	}

	body.home .hero-term-body {
		padding: 14px 16px 16px;
		font-size: 13px;
		line-height: 1.6;
	}

	body.home .hero-term-title {
		font-size: 11px;
	}
}

@media (max-width: 480px) {
	body.home.hero-themed .hero-role {
		font-size: 36px;
		letter-spacing: -0.03em;
	}

	body.home .hero-term-body {
		font-size: 12.5px;
	}

	/* CallCatch circle launcher is 52×52, 12px from the bottom-right.
	   Keep vertical clearance under the hero; the floating bubble may
	   overlap the terminal horizontally — do not reserve right margin. */
	body.home .hero-top {
		padding-bottom: 76px;
	}

	body.home .hero-stage {
		margin-right: 0;
		scroll-margin-bottom: 76px;
	}
}
