/* ==========================================================================
   Altomize Theme — base styles
   Loaded on every page. Template-specific sheets build on these tokens.
   ========================================================================== */

:root {
	--alt-navy: #07152f;
	--alt-navy-2: #0e2144;
	--alt-ink: #24344f;
	--alt-muted: #516070;
	--alt-teal: #05cfa8;
	--alt-teal-strong: #089f75;
	--alt-mint: #dffbf4;
	--alt-mint-2: #f3fcf8;
	--alt-border: #dbe5ea;
	--alt-bg: #f7fbfc;
	--alt-surface: #ffffff;
	--alt-link: #005cff;
	--alt-shadow: 0 30px 80px rgba(7, 21, 47, 0.08);
	--alt-radius-xl: 28px;
	--alt-radius-lg: 22px;
	--alt-radius-md: 16px;
	--alt-container: 1120px;
	--alt-gutter: 24px;
	--alt-font: "Inter", "Segoe UI", Arial, sans-serif;
}

/* Wider content column on large monitors. */
@media (min-width: 1500px) {
	:root {
		--alt-container: 1440px;
	}
}

/* Reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--alt-font);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--alt-ink);
	background:
		radial-gradient(circle at top right, rgba(5, 207, 168, 0.12), transparent 35%),
		radial-gradient(circle at bottom left, rgba(5, 207, 168, 0.1), transparent 35%),
		var(--alt-bg);
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--alt-link);
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid rgba(5, 207, 168, 0.55);
	outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	color: var(--alt-navy);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p { margin: 0 0 1.2em; }

ul,
ol {
	margin: 0 0 1.2em;
	padding-left: 1.35rem;
}

li + li { margin-top: 0.3em; }

blockquote {
	margin: 0 0 1.4em;
	padding: 0.4em 0 0.4em 1.2em;
	border-left: 3px solid var(--alt-teal);
	color: var(--alt-muted);
}

hr {
	border: 0;
	border-top: 1px solid var(--alt-border);
	margin: 2em 0;
}

code,
pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.92em;
}

pre {
	overflow: auto;
	padding: 1em 1.2em;
	border-radius: var(--alt-radius-md);
	background: var(--alt-navy);
	color: #e8f1ff;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.4em;
}

th,
td {
	padding: 0.6em 0.8em;
	border-bottom: 1px solid var(--alt-border);
	text-align: left;
}

/* Accessibility
   -------------------------------------------------------------------------- */

.screen-reader-text,
.screen-reader-shortcut {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.screen-reader-shortcut:focus {
	position: absolute !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	clip-path: none;
	border-radius: 999px;
	background: var(--alt-navy);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

/* Out of the page flow: the links only appear when focused, so the list
   itself must not take any height at the top of the page. */
.genesis-skip-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 0;
	margin: 0;
	padding: 0;
	overflow: visible;
	list-style: none;
}

.genesis-skip-link li {
	margin: 0;
	padding: 0;
	line-height: 0;
}

/* Buttons & forms
   -------------------------------------------------------------------------- */

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button__link,
.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(180deg, #16b983, #079f74);
	color: #fff;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 14px 30px rgba(17, 185, 138, 0.22);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.wpcf7-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 18px 34px rgba(17, 185, 138, 0.28);
	text-decoration: none;
	color: #fff;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--alt-teal-strong);
	border: 2px solid var(--alt-teal-strong);
	box-shadow: none;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border-radius: 10px;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover,
.btn:focus {
	text-decoration: none;
	transform: translateY(-1px);
}

.btn__icon {
	width: 18px;
	height: 18px;
}

.btn--primary {
	background: linear-gradient(180deg, #16b983, #079f74);
	color: #fff;
	box-shadow: 0 14px 30px rgba(17, 185, 138, 0.22);
}

.btn--primary:hover,
.btn--primary:focus {
	color: #fff;
	box-shadow: 0 18px 34px rgba(17, 185, 138, 0.28);
}

.btn--outline {
	background: rgba(255, 255, 255, 0.7);
	color: var(--alt-teal-strong);
	border: 2px solid rgba(8, 159, 117, 0.55);
}

.btn--outline:hover,
.btn--outline:focus {
	background: var(--alt-mint);
	color: var(--alt-teal-strong);
}

.btn--light {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.55);
}

.btn--light:hover,
.btn--light:focus {
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

.btn--sm {
	min-height: 42px;
	padding: 0 18px;
	font-size: 0.94rem;
	border-radius: 9px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="password"],
textarea,
select {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--alt-border);
	border-radius: 12px;
	background: var(--alt-surface);
	color: var(--alt-ink);
	font: inherit;
	line-height: 1.4;
}

textarea { min-height: 160px; resize: vertical; }

label { font-weight: 600; color: var(--alt-navy); }

.wpcf7-form p { margin-bottom: 1em; }

.wpcf7-not-valid-tip { color: #c0392b; font-size: 0.9em; }

.wpcf7-response-output {
	margin: 1em 0 0;
	padding: 12px 16px;
	border-radius: 12px;
	border: 1px solid var(--alt-border);
}

/* Site structure
   -------------------------------------------------------------------------- */

.site-container {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.wrap {
	width: min(100% - (var(--alt-gutter) * 2), var(--alt-container));
	margin: 0 auto;
}

.site-inner {
	flex: 1 0 auto;
	width: min(100% - (var(--alt-gutter) * 2), var(--alt-container));
	margin: 0 auto;
	padding: 48px 0 64px;
}

/* Header
   -------------------------------------------------------------------------- */

.site-header {
	position: relative;
	z-index: 10;
	background: rgba(255, 255, 255, 0.86);
	border-bottom: 1px solid var(--alt-border);
	backdrop-filter: blur(10px);
}

.site-header .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	min-height: 80px;
	padding: 10px 0;
}

.site-header .nav-primary {
	margin: 0 auto;
}

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

.title-area {
	display: flex;
	align-items: center;
}

.site-header .nav-primary {
	flex: 0 1 auto;
	min-width: 0;
}

.site-header .nav-primary .wrap {
	width: auto;
	margin: 0;
}

.site-logo {
	display: inline-flex;
	align-items: center;
}

.site-logo__image {
	display: block;
	width: 150px;
	height: auto;
}

/* Navigation
   -------------------------------------------------------------------------- */

.genesis-nav-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.genesis-nav-menu li { margin: 0; position: relative; }

.genesis-nav-menu a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 42px;
	padding: 0 14px;
	border-radius: 999px;
	color: var(--alt-navy);
	font-size: 0.96rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.genesis-nav-menu a:hover,
.genesis-nav-menu a:focus,
.genesis-nav-menu .current-menu-item > a,
.genesis-nav-menu .current-menu-ancestor > a {
	background: var(--alt-mint);
	color: var(--alt-teal-strong);
}

/* Superfish (Genesis) toggles the submenu with inline display; the :hover rule covers no-JS. */
.genesis-nav-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	min-width: 220px;
	margin: 6px 0 0;
	padding: 8px;
	list-style: none;
	background: var(--alt-surface);
	border: 1px solid var(--alt-border);
	border-radius: var(--alt-radius-md);
	box-shadow: 0 18px 40px rgba(7, 21, 47, 0.12);
}

.genesis-nav-menu .sub-menu li + li { margin-top: 2px; }

.genesis-nav-menu .sub-menu a {
	width: 100%;
	min-height: 40px;
	border-radius: 10px;
	font-size: 0.92rem;
}

.genesis-nav-menu li:hover > .sub-menu,
.genesis-nav-menu li:focus-within > .sub-menu {
	display: block;
}

.menu-chevron {
	width: 14px;
	height: 14px;
	opacity: 0.7;
}

/* Responsive menu (Genesis script adds .menu-toggle / .sub-menu-toggle) */

.menu-toggle,
.sub-menu-toggle {
	display: none;
	visibility: hidden;
}

@media (max-width: 959px) {
	.site-header .wrap { min-height: 68px; gap: 10px 12px; }

	.header-actions__demo { padding: 0 14px; }

	.menu-toggle {
		display: inline-flex;
		visibility: visible;
		align-items: center;
		gap: 8px;
		min-height: 44px;
		margin-left: auto;
		padding: 0 14px;
		border: 1px solid var(--alt-border);
		border-radius: 999px;
		background: var(--alt-surface);
		color: var(--alt-navy);
		font-size: 0.95rem;
		font-weight: 700;
		box-shadow: none;
	}

	.menu-toggle:hover,
	.menu-toggle:focus,
	.menu-toggle.activated {
		transform: none;
		background: var(--alt-surface);
		color: var(--alt-navy);
		box-shadow: none;
	}

	.menu-toggle::before { font-size: 1.4rem; line-height: 1; }

	/* Icon-only toggle so logo, Book Demo and the toggle share one row on phones. */
	.menu-toggle { gap: 0; padding: 0 11px; font-size: 0; }

	.header-actions {
		order: 2;
		margin-left: auto;
		gap: 12px;
	}

	.menu-chevron { display: none; }

	.menu-toggle { order: 3; margin-left: 0; }

	.nav-primary {
		display: none;
		width: 100%;
		order: 10;
		padding: 8px 0 12px;
	}

	.nav-primary .genesis-nav-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.nav-primary .genesis-nav-menu a {
		width: 100%;
		min-height: 46px;
		border-radius: 12px;
	}

	.genesis-nav-menu .sub-menu {
		position: static;
		display: none;
		min-width: 0;
		margin: 2px 0 0 16px;
		padding: 0;
		border: 0;
		box-shadow: none;
		background: transparent;
	}

	.genesis-nav-menu li:hover > .sub-menu,
	.genesis-nav-menu li:focus-within > .sub-menu { display: none; }

	.genesis-nav-menu .sub-menu-toggle.activated + .sub-menu { display: block; }

	.genesis-nav-menu .menu-item-has-children > a { width: calc(100% - 52px); }

	.sub-menu-toggle {
		display: inline-flex;
		visibility: visible;
		position: absolute;
		top: 0;
		right: 0;
		align-items: center;
		justify-content: center;
		width: 46px;
		min-height: 46px;
		padding: 0;
		border: 0;
		border-radius: 12px;
		background: transparent;
		color: var(--alt-navy);
		box-shadow: none;
	}

	.sub-menu-toggle:hover,
	.sub-menu-toggle:focus,
	.sub-menu-toggle.activated {
		transform: none;
		background: transparent;
		color: var(--alt-navy);
		box-shadow: none;
	}

	.sub-menu-toggle.activated::before { transform: rotate(180deg); }
}

/* Content
   -------------------------------------------------------------------------- */

.entry-header { margin-bottom: 24px; }

.entry-title { margin-bottom: 0.3em; }

.entry-content > *:last-child { margin-bottom: 0; }

.entry-content .alignwide {
	width: min(100vw - (var(--alt-gutter) * 2), 1320px);
	margin-left: calc(50% - (min(100vw - (var(--alt-gutter) * 2), 1320px) / 2));
}

.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
}

.entry-content img { border-radius: var(--alt-radius-md); }

.muted { color: var(--alt-muted) !important; }

/* "Coming soon" badge next to a card title. */
.soon-badge {
	display: inline-block;
	vertical-align: middle;
	margin-left: 6px;
	padding: 3px 8px;
	border-radius: 999px;
	background: #fff2dc;
	color: #a46200;
	font-size: 0.64rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* Card titles are the links (no "Learn more" lines). */
.card-link {
	color: inherit;
	text-decoration: none;
}

.card-link:hover,
.card-link:focus {
	color: var(--alt-teal-strong);
	text-decoration: none;
}

.card-link::after {
	content: "";
	display: inline-block;
	width: 0.55em;
	height: 0.55em;
	margin-left: 0.4em;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg) translateY(-0.1em);
	opacity: 0.55;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.card-link:hover::after,
.card-link:focus::after {
	opacity: 1;
	transform: rotate(45deg) translate(0.15em, -0.25em);
}

.section-card {
	margin: 20px 0 0;
	padding: 22px 24px;
	border-radius: var(--alt-radius-lg);
	background: linear-gradient(180deg, rgba(251, 255, 255, 0.96), rgba(241, 251, 248, 0.76));
	border: 1px solid rgba(176, 205, 227, 0.28);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.section-card > *:first-child { margin-top: 0; }
.section-card > *:last-child { margin-bottom: 0; }

/* Archives (fallback styling for any post listing) */

.entry + .entry {
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid var(--alt-border);
}

.entry-meta {
	color: var(--alt-muted);
	font-size: 0.9rem;
}

.archive-pagination,
.entry-pagination {
	margin-top: 40px;
}

.archive-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0;
	list-style: none;
}

.archive-pagination a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--alt-surface);
	border: 1px solid var(--alt-border);
	color: var(--alt-navy);
	font-weight: 600;
}

.archive-pagination .active a {
	background: var(--alt-mint);
	color: var(--alt-teal-strong);
}

/* Footer
   -------------------------------------------------------------------------- */

.site-footer {
	padding: 26px 0 30px;
	border-top: 1px solid var(--alt-border);
	background: rgba(255, 255, 255, 0.7);
}

.site-footer .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
}

.footer-logo__image {
	display: block;
	width: 128px;
	height: auto;
}

.footer-nav {
	flex: 1 1 auto;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.98rem;
	font-weight: 600;
}

.footer-links li {
	display: flex;
	align-items: center;
	margin: 0;
}

.footer-links li + li { margin-left: 28px; }

.footer-links a { color: var(--alt-navy); font-weight: 500; }

.footer-links a:hover { color: var(--alt-teal-strong); }

.footer-credits {
	margin: 0;
	color: var(--alt-muted);
	font-size: 0.94rem;
}

@media (max-width: 720px) {
	.site-inner { padding: 32px 0 48px; }

	.site-logo__image { width: 124px; }

	.site-footer .wrap {
		flex-direction: column;
		text-align: center;
	}

	.footer-links { gap: 6px 18px; }

	.footer-links li + li { margin-left: 0; }
}

/* Shared page sections (Home, Solutions, Platform, Pricing templates)
   -------------------------------------------------------------------------- */

.icon {
	width: 26px;
	height: 26px;
}

.home-section {
	padding: 56px 0 0;
}

.home-section__title {
	margin: 0 0 28px;
	text-align: center;
	font-size: clamp(1.7rem, 2.6vw, 2.15rem);
	letter-spacing: -0.035em;
}

.home-section__intro {
	max-width: 640px;
	margin: -14px auto 28px;
	text-align: center;
	color: var(--alt-muted);
}

.eyebrow {
	display: inline-block;
	margin-bottom: 18px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--alt-mint);
	color: var(--alt-teal-strong);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.check-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.check-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	font-size: 0.94rem;
	font-weight: 600;
	color: var(--alt-navy);
}

.check-list__icon {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	color: var(--alt-teal-strong);
}

/* Closing CTA band */

.home-cta { padding-bottom: 64px; }

.cta-band {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 32px;
	padding: 40px 48px;
	border-radius: var(--alt-radius-lg);
	background:
		radial-gradient(circle at 88% 72%, rgba(23, 185, 138, 0.22), transparent 22%),
		linear-gradient(135deg, #07152f, #0a1731 56%, #071326);
	color: #fff;
	overflow: hidden;
}

.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	background-size: 16px 16px;
	-webkit-mask-image: linear-gradient(90deg, transparent 55%, #000);
	mask-image: linear-gradient(90deg, transparent 55%, #000);
	pointer-events: none;
}

.cta-band__copy { position: relative; max-width: 520px; }

.cta-band__title {
	margin: 0 0 10px;
	color: #fff;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	letter-spacing: -0.03em;
}

.cta-band__text {
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	line-height: 1.6;
}

.cta-band__actions {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* Variant: icon, copy, actions in one row */

.cta-band--icon {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
}

.cta-band__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 14px;
	background: rgba(5, 207, 168, 0.18);
	color: var(--alt-teal);
}

.cta-band--icon .cta-band__copy { max-width: none; }

/* Variant: heading, text, actions in three columns */

.cta-band--split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
	align-items: center;
	gap: 32px;
	padding: 44px 48px;
}

.cta-band--split .cta-band__title { margin: 0; }

.cta-band--split .cta-band__text { position: relative; max-width: 360px; }

@media (max-width: 1100px) {
	.cta-band--split { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 900px) {
	.cta-band--icon { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.home-section { padding-top: 44px; }

	.cta-band,
	.cta-band--split { padding: 30px 22px; }

	.cta-band__actions .btn { width: 100%; }
}

/* Single posts (archives are styled in css/archive.css)
   -------------------------------------------------------------------------- */