/* Explica1 — theme styles.
   Section layout is inline in the PHP templates so the markup stays a faithful
   copy of the approved design. This file carries what cannot be inlined:
   resets, keyframes, hover states, and the responsive rules. */

body {
	margin: 0;
	background: #F2F4F5;
	color: #161B1D;
	font-family: "Nunito", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-wrap: pretty;
}

a { color: #0E5A60; text-decoration: none; }
a:hover { color: #B0781A; }
a:focus-visible,
button:focus-visible { outline: 2px solid #0E5A60; outline-offset: 2px; border-radius: 6px; }
::selection { background: #0E3A3F; color: #F2F4F5; }

img { max-width: 100%; }

.ox-page { max-width: 100%; overflow-x: hidden; }

/* ---------- header ---------- */

.ox-header {
	position: sticky;
	top: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 40px;
	background: rgba(242, 244, 245, .88);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid #DDE6E5;
	transition: padding .25s ease-out, box-shadow .25s ease-out;
}
.ox-header.is-stuck { padding: 10px 40px; box-shadow: 0 12px 32px -20px rgba(14, 58, 63, .25); }

.ox-brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.ox-brand img { display: block; height: 30px; width: auto; }

.ox-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 13.5px;
	padding: 4px;
	border-radius: 999px;
	border: 1px solid #DDE6E5;
	background: rgba(255, 255, 255, .55);
}
.ox-nav-link {
	color: #4A5C5E;
	padding: 7px 14px;
	border-radius: 999px;
	white-space: nowrap;
	transition: color .15s ease-out, background .15s ease-out;
}
.ox-nav-link:hover { color: #161B1D; background: #E7EFEE; }
.ox-nav-link.is-active { background: #0E3A3F; color: #F2F4F5; }
.ox-nav-link--dot { display: inline-flex; align-items: center; gap: 7px; }
.ox-nav-sep { width: 1px; height: 16px; background: #DDE6E5; margin: 0 4px; }
.ox-dot { width: 5px; height: 5px; border-radius: 50%; background: #F2A93C; }

.ox-header-actions { display: flex; align-items: center; gap: 14px; }

/* ---------- buttons ---------- */

.ox-btn-dark {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	background: #0E3A3F;
	color: #F2F4F5;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	transition: background .15s ease-out;
}
.ox-btn-dark:hover { background: #0E5A60; color: #F2F4F5; }

.ox-btn-amber {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 999px;
	background: #F2A93C;
	color: #161B1D;
	font-size: 14.5px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	font-family: inherit;
	transition: background .15s ease-out;
}
.ox-btn-amber:hover { background: #D9911F; }

.ox-btn-amber-lg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 26px;
	border-radius: 999px;
	background: #F2A93C;
	color: #161B1D;
	font-size: 15.5px;
	font-weight: 600;
	transition: background .15s ease-out;
}
.ox-btn-amber-lg:hover { background: #F2C25C; color: #161B1D; }

/* ---------- hero question chips ---------- */

.ox-chip {
	padding: 8px 15px;
	border-radius: 999px;
	font-size: 12.5px;
	cursor: pointer;
	font-family: inherit;
	background: #E7EFEE;
	border: 1px solid #D3E0DF;
	color: #0E5A60;
	transition: background .15s ease-out, border-color .15s ease-out, color .15s ease-out;
}
.ox-chip:hover { border-color: #0E5A60; }
.ox-chip.is-active { background: #0E3A3F; border-color: #0E3A3F; color: #F2F4F5; }

/* ---------- how it works: trace lines ---------- */

.ox-trace-line { font-size: 11px; line-height: 1.5; font-style: italic; opacity: .35; color: #8A9695; transition: opacity .3s ease-out, color .3s ease-out; }
.ox-trace-line.is-on { opacity: 1; color: #4A5C5E; }
.ox-trace-line.is-on.is-final { color: #0E5A60; }
.ox-trace-dot { flex: 0 0 auto; width: 4px; height: 4px; border-radius: 50%; background: #DDE6E5; transition: background .3s ease-out; }
.ox-trace-dot.is-on { background: #A9B5B4; }
.ox-trace-dot.is-on.is-final { background: #0E5A60; }

/* ---------- product preview tabs ---------- */

.ox-tab {
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	padding: 7px 14px;
	border-radius: 999px;
	cursor: pointer;
	background: transparent;
	border: 1px solid rgba(234, 242, 241, .22);
	color: #A9C2C0;
	transition: background .18s ease-out, color .18s ease-out, border-color .18s ease-out;
}
.ox-tab:hover { border-color: rgba(234, 242, 241, .5); color: #EAF2F1; }
.ox-tab.is-active { background: #EAF2F1; border-color: #EAF2F1; color: #0E3A3F; }

.ox-shot {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top left;
	opacity: 0;
	transition: opacity .5s ease-out;
}
.ox-shot.is-active { opacity: 1; }

/* ---------- deployment cards ---------- */

.ox-dep-card {
	border: 1px solid #DDE6E5;
	border-radius: 16px;
	background: #fff;
	padding: 26px;
	height: 240px;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	box-shadow: 0 0 0 rgba(22, 27, 29, 0);
	transition: border-color .18s ease-out, box-shadow .28s ease-out;
}
.ox-dep-card:hover { border-color: #0E5A60; box-shadow: 0 18px 38px -26px rgba(14, 58, 63, .4); }

.ox-dep-overlay {
	position: absolute;
	inset: 0;
	background: #0E3A3F;
	padding: 22px 26px;
	display: flex;
	flex-direction: column;
	gap: 9px;
	box-sizing: border-box;
	pointer-events: none;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .24s ease-out, transform .3s cubic-bezier(.2, .7, .2, 1);
}
.ox-dep-card:hover .ox-dep-overlay,
.ox-dep-card:focus-within .ox-dep-overlay { opacity: 1; transform: translateY(0); }

.ox-dep-overlay span { font-size: 13px; color: #EAF2F1; }
.ox-dep-overlay span:not(:last-child) { border-bottom: 1px solid rgba(234, 242, 241, .12); padding-bottom: 8px; }

/* ---------- horizons ---------- */

.ox-hz-card {
	display: block;
	width: 100%;
	text-align: left;
	cursor: pointer;
	padding: 13px 15px;
	border-radius: 10px;
	font-family: inherit;
	background: #fff;
	border: 1px solid #DDE6E5;
	box-shadow: 0 12px 26px -18px rgba(14, 58, 63, .4);
	transition: background .12s ease-out, border-color .12s ease-out;
}
.ox-hz-card.is-active { background: #0E3A3F; border-color: #0E3A3F; }
.ox-hz-tag { font-size: 9px; letter-spacing: .12em; color: #0E5A60; }
.ox-hz-card.is-active .ox-hz-tag { color: #F2C25C; }
.ox-hz-q { display: block; font-size: 13px; line-height: 1.5; margin-top: 6px; color: #161B1D; }
.ox-hz-card.is-active .ox-hz-q { color: #EAF2F1; }

.ox-hz-dot {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 50%;
	border: 2px solid #F2F4F5;
	top: 164px;
	width: 10px;
	height: 10px;
	background: #0E5A60;
}
.ox-hz-item.is-active .ox-hz-dot { top: 162px; width: 14px; height: 14px; background: #F2A93C; }

.ox-hz-tick {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 184px;
	font-size: 9.5px;
	letter-spacing: .1em;
	color: #5B6B6C;
}
.ox-hz-item.is-active .ox-hz-tick { color: #B0781A; }

/* ---------- run meter ---------- */

.ox-run-cell {
	height: 100%;
	border-radius: 2px;
	background: #E2E9E8;
	animation: cellfill var(--ox-cycle, 3.6s) linear var(--ox-delay, 0s) infinite;
	animation-play-state: paused;
}
.ox-run-bar {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: #0E5A60;
	animation: barfill var(--ox-cycle, 3.6s) linear infinite;
	animation-play-state: paused;
}
.ox-runmeter.is-running .ox-run-cell,
.ox-runmeter.is-running .ox-run-bar { animation-play-state: running; }

/* ---------- reveal on scroll ---------- */

.ox-reveal.is-hidden {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1);
}

/* ---------- footer ---------- */

.ox-footer {
	padding: 44px 40px 36px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	font-size: 11.5px;
	letter-spacing: .06em;
	color: #5B6B6C;
}
.ox-footer-logo { display: block; height: 34px; width: auto; }
.ox-footer-line { display: flex; align-items: center; gap: 8px; }
.ox-footer-line img { display: block; height: 13px; width: auto; opacity: .8; }
.ox-footer-links a { color: #5B6B6C; text-decoration: underline; text-underline-offset: 3px; }
.ox-footer-links a:hover { color: #0E5A60; }

/* ---------- inner pages ---------- */

.ox-doc { max-width: 760px; margin: 0 auto; padding: 72px 40px 88px; }
.ox-doc-body h1 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; margin: 0 0 24px; }
.ox-doc-body h2 { font-size: 26px; letter-spacing: -.02em; font-weight: 600; margin: 40px 0 12px; }
.ox-doc-body h3 { font-size: 19px; font-weight: 600; margin: 30px 0 10px; }
.ox-doc-body p,
.ox-doc-body li { font-size: 16px; line-height: 1.7; color: #33474A; }
.ox-doc-body ul, .ox-doc-body ol { padding-left: 22px; }

/* ---------- animations ---------- */

@keyframes rise { 0% { transform: translateY(0) scale(.9); opacity: 0; } 12% { opacity: .5; } 100% { transform: translateY(-320px) scale(1.15); opacity: 0; } }
@keyframes sway { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(14px); } }
@keyframes bargrow { 0% { transform: scaleY(.06); } 60%, 100% { transform: scaleY(1); } }
@keyframes rowfill { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cellfill { 0%, 4% { background: #E2E9E8; } 7%, 100% { background: #0E3A3F; } }
@keyframes barfill { 0% { width: 0; } 78%, 100% { width: 100%; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marchd { to { stroke-dashoffset: -24; } }
@keyframes drawpath { 0% { stroke-dashoffset: 420; } 55%, 82% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes qdot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes drawcurve { from { stroke-dashoffset: 560; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) { * { animation-duration: .001s !important; } }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
	.ox-nav-link { padding: 7px 9px; font-size: 12.5px; }
	.ox-header { padding-left: 20px; padding-right: 20px; }
	.ox-header.is-stuck { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 860px) {
	.ox-nav { overflow-x: auto; scrollbar-width: none; max-width: 48vw; }
}
@media (max-width: 720px) {
	.ox-page section,
	.ox-footer,
	.ox-doc { padding-left: 20px !important; padding-right: 20px !important; }
	#product { padding-top: 48px !important; }
	[data-timeline] { height: auto !important; }
	[data-timeline] > span { display: none !important; }
	[data-hz-grid] { position: static !important; display: flex !important; flex-direction: column !important; gap: 12px !important; }
	.ox-hz-item > span { display: none !important; }
	.ox-hz-item > div { position: static !important; }
}
@media (max-width: 640px) {
	[data-fb-desktop] { display: none !important; }
	[data-fb-mobile] { display: block !important; }
	.ox-header { gap: 10px; }
	.ox-brand img { height: 24px; }
	.ox-nav { max-width: 42vw; }
	.ox-btn-dark { padding: 8px 13px; font-size: 12.5px; }
	[data-hero-pill] { padding-left: 14px !important; }
	.ox-btn-amber { padding: 10px 14px; }
}
