/*
 * Front page styles.
 *
 * Ported from the cloud-consulting prototype (app/globals.css). Two things were
 * changed deliberately during the port:
 *
 * 1. EVERY rule is scoped under .octa-home. The prototype styled bare `nav`,
 *    `footer`, `h1, h2, blockquote`, `a`, `.button`, `.number` and `.contact`,
 *    which would have leaked out and broken the site header, the mega menu, the
 *    theme footer and Elementor content on the other 274 pages.
 * 2. The prototype's own nav and footer rules are omitted entirely, because the
 *    real site header and footer are used instead.
 *
 * Custom properties are prefixed --oh- so they cannot collide with the theme's
 * --octa-* tokens. Tailwind is not needed: the prototype imported it but used no
 * utility classes anywhere.
 */

.octa-home {
	--oh-ink: #102725;
	--oh-green: #144f48;
	--oh-mint: #b8ead5;
	--oh-lime: #d9f77e;
	--oh-cream: #f5f3ea;
	--oh-line: #d8ded7;

	background: #fafaf7;
	color: var(--oh-ink);
}

.octa-home a {
	color: inherit;
	text-decoration: none;
}

.octa-home .shell {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.octa-home :is(h1, h2, blockquote) {
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: 400;
	letter-spacing: -.045em;
}

.octa-home em {
	color: #347c70;
	font-weight: 400;
	font-style: normal;
}

.octa-home .eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	color: #37635d;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .17em;
	text-transform: uppercase;
}

.octa-home .eyebrow span {
	width: 25px;
	height: 1px;
	background: #4d8c82;
}

.octa-home .eyebrow.light { color: #a9d0c7; }
.octa-home .eyebrow.light span { background: #a9d0c7; }

/* Buttons and links ------------------------------------------------------- */

.octa-home .button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 17px 21px;
	font-size: 13px;
	font-weight: 700;
	transition: background .2s, transform .2s;
}

.octa-home .button span { font-size: 18px; }

.octa-home .button-primary {
	min-width: 210px;
	background: var(--oh-green);
	color: #fff;
}

.octa-home .button-primary:hover,
.octa-home .button-primary:focus-visible {
	background: #1c665d;
	transform: translateY(-2px);
}

.octa-home .button-light {
	width: 230px;
	background: var(--oh-lime);
	color: var(--oh-ink);
}

.octa-home .button-light:hover,
.octa-home .button-light:focus-visible {
	background: #fff;
	transform: translateY(-2px);
}

.octa-home .text-link {
	padding-bottom: 5px;
	border-bottom: 1px solid #9aa7a4;
	font-size: 12px;
	font-weight: 700;
}

.octa-home .text-link span { margin-left: 8px; }

.octa-home :is(.button, .text-link):focus-visible {
	outline: 2px solid var(--oh-green);
	outline-offset: 3px;
}

/* Hero -------------------------------------------------------------------- */

.octa-home .hero {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	align-items: center;
	gap: 70px;
	min-height: 690px;
	padding-block: 70px;
}

.octa-home h1 {
	margin: 0;
	font-size: clamp(58px, 6.2vw, 90px);
	line-height: .93;
}

.octa-home .hero-intro {
	max-width: 595px;
	margin: 30px 0 36px;
	color: #50625f;
	font-size: 18px;
	line-height: 1.65;
}

.octa-home .hero-actions {
	display: flex;
	align-items: center;
	gap: 28px;
}

.octa-home .hero-visual {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 500px;
	overflow: hidden;
	background: radial-gradient(circle at center, #e9f7ef 0, #f3f4ec 47%, transparent 70%);
}

.octa-home .orbit {
	position: absolute;
	border: 1px solid #c9dcd4;
	border-radius: 50%;
}

.octa-home .orbit-one { width: 390px; height: 390px; }
.octa-home .orbit-two { width: 520px; height: 520px; }

.octa-home .signal {
	position: absolute;
	width: 11px;
	height: 11px;
	background: var(--oh-lime);
	border-radius: 50%;
	box-shadow: 0 0 0 7px rgba(217, 247, 126, .25);
}

.octa-home .signal-one { top: 80px; right: 105px; }
.octa-home .signal-two { bottom: 76px; left: 80px; background: #63ad9c; }

.octa-home .visual-card {
	position: absolute;
	background: #fff;
	border: 1px solid #d5e0dc;
	box-shadow: 0 25px 60px rgba(23, 73, 65, .1);
}

.octa-home .main-card {
	z-index: 2;
	width: 290px;
	padding: 36px;
	transform: rotate(-2deg);
}

.octa-home .mini-label {
	display: block;
	margin-bottom: 42px;
	color: #5f7d77;
	font-size: 9px;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.octa-home .main-card strong { font: 400 34px/1.08 Georgia, serif; }

.octa-home .pulse-row {
	display: flex;
	align-items: end;
	gap: 8px;
	height: 45px;
	margin-top: 35px;
}

.octa-home .pulse-row i {
	display: block;
	width: 10px;
	height: 14px;
	background: #69aa9c;
}

.octa-home .pulse-row i:nth-child(2) { height: 23px; }
.octa-home .pulse-row i:nth-child(3) { height: 18px; }
.octa-home .pulse-row i:nth-child(4) { height: 34px; }
.octa-home .pulse-row i:nth-child(5) { height: 43px; background: var(--oh-lime); }

.octa-home :is(.value-card, .choice-card) {
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 17px 20px;
	font-size: 11px;
}

.octa-home .value-card { top: 105px; right: 10px; }
.octa-home .choice-card { bottom: 100px; left: 0; }
.octa-home .value-card b { color: #3a8e7d; font-size: 20px; }
.octa-home .choice-card b { padding: 3px 6px; background: var(--oh-lime); border-radius: 50%; }

/* Proof bar --------------------------------------------------------------- */

.octa-home .proof {
	background: var(--oh-cream);
	border-block: 1px solid #e4e0d5;
}

.octa-home .proof-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	min-height: 120px;
}

.octa-home .proof p {
	max-width: 170px;
	color: #67736f;
	font-size: 9px;
	line-height: 1.5;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.octa-home .provider-list {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 24px;
}

.octa-home .provider-list span {
	color: #53625f;
	font-size: 13px;
	font-weight: 700;
}

/* The prototype used #7d8b87 here, about 3.4:1 on the cream background, which
   fails AA for 13px text. Darkened just enough to pass while staying visibly
   lighter than its siblings. */
.octa-home .provider-list span:last-child {
	color: #67736f;
	font-family: Georgia, serif;
	font-style: italic;
}

/* Outcomes ---------------------------------------------------------------- */

.octa-home .outcomes { padding-block: 120px; }

.octa-home .section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 64px;
}

.octa-home :is(.section-heading h2, .approach h2, .contact h2) {
	margin: 0;
	font-size: clamp(43px, 4.5vw, 64px);
	line-height: 1;
}

.octa-home .section-heading > p {
	max-width: 380px;
	color: #60706d;
	font-size: 15px;
	line-height: 1.7;
}

.octa-home .outcome-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--oh-line);
	border-left: 1px solid var(--oh-line);
}

.octa-home .outcome-grid article {
	display: flex;
	flex-direction: column;
	min-height: 320px;
	padding: 26px 30px 34px;
	border-right: 1px solid var(--oh-line);
	border-bottom: 1px solid var(--oh-line);
}

.octa-home .number {
	color: #79908b;
	font: italic 11px Georgia, serif;
}

.octa-home .outcome-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-top: 34px;
	background: #e2f2eb;
	border-radius: 50%;
	color: #337c70;
	font: 20px Georgia, serif;
}

.octa-home .outcome-grid h3 {
	margin: 20px 0 12px;
	font: 400 25px Georgia, serif;
}

.octa-home .outcome-grid p {
	margin: 0;
	color: #64736f;
	font-size: 13px;
	line-height: 1.65;
}

/* Approach ---------------------------------------------------------------- */

.octa-home .approach {
	padding-block: 115px;
	background: var(--oh-green);
	color: #fff;
}

.octa-home .approach-grid {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: 120px;
}

.octa-home :is(.approach, .contact) h2 em { color: var(--oh-lime); }

.octa-home .approach-intro > p:last-child {
	max-width: 410px;
	margin-top: 28px;
	color: #b9cec9;
	line-height: 1.7;
}

.octa-home .approach ol {
	margin: 0;
	padding: 0;
	border-top: 1px solid rgba(255, 255, 255, .25);
	list-style: none;
}

.octa-home .approach li {
	display: grid;
	grid-template-columns: 65px 1fr;
	gap: 20px;
	padding: 27px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.octa-home .approach li > span {
	color: var(--oh-lime);
	font: italic 12px Georgia, serif;
}

.octa-home .approach h3 {
	margin: 0 0 8px;
	font: 400 24px Georgia, serif;
}

.octa-home .approach li p {
	margin: 0;
	color: #b9cec9;
	font-size: 13px;
	line-height: 1.6;
}

/* About ------------------------------------------------------------------- */

.octa-home .about {
	max-width: 930px;
	padding-block: 120px;
	text-align: center;
}

.octa-home .quote-mark {
	height: 55px;
	color: #84b5a9;
	font: 70px Georgia, serif;
}

.octa-home blockquote {
	margin: 20px 0 28px;
	font-size: clamp(36px, 4.2vw, 59px);
	line-height: 1.1;
}

.octa-home .about p {
	max-width: 700px;
	margin: auto;
	color: #64736f;
	font-size: 14px;
	line-height: 1.8;
}

/* Contact ----------------------------------------------------------------- */

.octa-home .contact {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 80px;
	margin-bottom: 55px;
	padding: 75px;
	background: #173f3b;
	color: #fff;
}

.octa-home .contact-side { max-width: 330px; }

.octa-home .contact-side p {
	margin: 0 0 25px;
	color: #bdd0cc;
	line-height: 1.65;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 900px) {
	.octa-home .hero { grid-template-columns: 1fr; padding-top: 70px; }
	.octa-home .hero-visual { min-height: 430px; }
	.octa-home :is(.proof-inner, .section-heading) {
		flex-direction: column;
		align-items: flex-start;
		padding-block: 30px;
	}
	.octa-home .provider-list { justify-content: flex-start; }
	.octa-home .outcome-grid { grid-template-columns: repeat(2, 1fr); }
	.octa-home .approach-grid { grid-template-columns: 1fr; gap: 65px; }
	.octa-home .contact { flex-direction: column; align-items: flex-start; padding: 55px; }
}

@media (max-width: 600px) {
	.octa-home .shell { width: min(100% - 28px, 1180px); }
	.octa-home .hero { gap: 25px; min-height: auto; padding-block: 55px; }
	.octa-home .hero-intro { font-size: 16px; }
	.octa-home .hero-actions { flex-direction: column; align-items: flex-start; }
	.octa-home .hero-visual { min-height: 380px; }
	.octa-home .orbit-one { width: 300px; height: 300px; }
	.octa-home .orbit-two { width: 390px; height: 390px; }
	.octa-home .main-card { width: 240px; }
	.octa-home .value-card { right: 0; }
	.octa-home .choice-card { left: 0; }
	.octa-home .outcomes { padding-block: 80px; }
	.octa-home .outcome-grid { grid-template-columns: 1fr; }
	.octa-home .outcome-grid article { min-height: 270px; }
	.octa-home .approach { padding-block: 80px; }
	.octa-home .about { padding-block: 80px; }
	.octa-home .contact { width: 100%; margin: 0; padding: 60px 24px; }
	.octa-home .contact h2 { font-size: 42px; }
	.octa-home .provider-list { gap: 15px; }
	.octa-home .provider-list span { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
	.octa-home .button { transition: none; }
	.octa-home .button-primary:hover,
	.octa-home .button-primary:focus-visible,
	.octa-home .button-light:hover,
	.octa-home .button-light:focus-visible { transform: none; }
}
