/*
 * Inventory Avenue brand CSS.
 *
 * Tokens are not defined here. Colors and type come from the Elementor kit
 * (Site Settings), which implements BRAND-GUIDE.md, and are read through the
 * --e-global-* variables. This file only covers what Elementor controls
 * cannot express: exact font weights, hover and focus behavior, the aisle /
 * lane geometry, and small UI motifs.
 */

@import url("fonts/fonts.css");

/* ------------------------------------------------------------------ tokens */

body[class*="elementor-kit-"] {
	--ia-teal: var(--e-global-color-primary);
	--ia-teal-bright: var(--e-global-color-iatealbright);
	--ia-ink: var(--e-global-color-secondary);
	--ia-alt: var(--e-global-color-iasurfacealt);
	--ia-graphite: var(--e-global-color-iasurface);
	--ia-card: var(--e-global-color-iacard);
	--ia-white: var(--e-global-color-text);
	--ia-cloud: var(--e-global-color-iatextsec);
	--ia-border: var(--e-global-color-iaborder);
	--ia-border-strong: var(--e-global-color-iaborderstrong);
	--ia-border-hover: var(--e-global-color-iaborderhover);
	--ia-ease: 180ms ease;

	/* BRAND-GUIDE section 4 weights. Elementor's weight control steps in hundreds. */
	--e-global-typography-iah1-font-weight: 650;
	--e-global-typography-iah1page-font-weight: 650;
	--e-global-typography-iah2-font-weight: 625;
	--e-global-typography-iasmall-font-weight: 450;
	--e-global-typography-accent-font-weight: 650;

	color-scheme: dark;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

html {
	scroll-behavior: smooth;
}

::selection {
	background: var(--e-global-color-primary);
	color: var(--e-global-color-iaonteal);
}

/* Visible keyboard focus everywhere (PRD section 9). */
a:focus-visible,
button:focus-visible,
.elementor-button:focus-visible,
.elementor-menu-toggle:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--ia-teal-bright);
	outline-offset: 2px;
}

.elementor-widget-text-editor p:last-child,
.elementor-widget-text-editor ul:last-child {
	margin-bottom: 0;
}

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

.ia-header {
	background: color-mix(in srgb, var(--ia-ink) 84%, transparent);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--ia-border);
	transition: background var(--ia-ease);
}

.ia-header.elementor-sticky--effects {
	background: color-mix(in srgb, var(--ia-ink) 94%, transparent);
}

.ia-logo img {
	display: block;
}

/* Burger sits at the right edge, opposite the logo. */
.ia-nav .elementor-menu-toggle {
	margin: 0 0 0 auto !important;
}

.ia-header-cta .elementor-button {
	white-space: nowrap;
}

/* "Request Access" lives in the header button on desktop and in the menu on mobile. */
.ia-nav .elementor-nav-menu--main .ia-menu-cta {
	display: none;
}

.ia-nav .elementor-nav-menu--dropdown .ia-menu-cta > a {
	color: var(--ia-teal);
	font-weight: 650;
}

.ia-nav .elementor-nav-menu--main .sub-menu {
	border: 1px solid var(--ia-border);
	border-radius: 10px;
	overflow: hidden;
	min-width: 220px !important;
}

.ia-nav .elementor-nav-menu--dropdown.elementor-nav-menu__container {
	border-bottom: 1px solid var(--ia-border);
}

/* ---------------------------------------------------- hero + lane geometry */

/* Restrained aisle / lane-marker background (BRAND-GUIDE section 5). */
.ia-lanes {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--ia-border);
	background:
		radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--ia-teal) 11%, transparent), transparent 32%),
		linear-gradient(180deg, var(--ia-alt), var(--ia-ink));
}

.ia-lanes::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: repeating-linear-gradient(90deg, var(--ia-border) 0 1px, transparent 1px 124px);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 45%, transparent 100%);
	opacity: 0.55;
}

.ia-lanes > .e-con-inner {
	position: relative;
}

.ia-hero-copy .ia-text-lead,
.ia-section-head .ia-text-lead {
	max-width: 760px;
}

.ia-pagehero .elementor-widget-heading {
	max-width: 920px;
}

.ia-hero-note,
.ia-mock-note {
	opacity: 0.7;
}

.ia-center {
	text-align: center;
}

.ia-crumbs {
	font-size: 13px;
}

.ia-crumbs p {
	margin: 0;
}

.ia-crumbs a {
	color: var(--ia-cloud);
}

.ia-crumbs a:hover {
	color: var(--ia-white);
}

.ia-crumbs span[aria-hidden] {
	opacity: 0.45;
	margin: 0 4px;
}

/* ------------------------------------------------------------ hero mock UI */

.ia-mock {
	box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
}

.ia-mock-head p {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	font-size: 12px;
}

.ia-status {
	color: var(--e-global-color-iasuccess);
}

.ia-status::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 7px;
	border-radius: 50%;
	background: currentColor;
}

.ia-kpi-num .elementor-heading-title {
	color: var(--ia-white);
	font-variant-numeric: tabular-nums;
}

.ia-kpi .ia-text,
.ia-mock-note {
	font-size: 12px;
}

.ia-panel-title .elementor-heading-title {
	font-size: 11px;
	opacity: 0.75;
}

.ia-shelves {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	height: 140px;
}

.ia-shelves span {
	border: 1px solid var(--ia-border-strong);
	border-radius: 6px;
	background: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--ia-teal) 9%, transparent) 0 15px, transparent 15px 28px);
}

.ia-nodes .elementor-icon-list-item {
	flex-direction: row-reverse;
	justify-content: space-between;
	padding: 7px 10px !important;
	border: 1px solid var(--ia-border);
	border-radius: 7px;
}

/* -------------------------------------------------------------- trust strip */

.ia-trust {
	border-bottom: 1px solid var(--ia-border);
}

.ia-trust-names p {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 0;
	color: var(--ia-white);
	font-weight: 650;
	opacity: 0.78;
}

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

.ia-card {
	transition: border-color var(--ia-ease), transform var(--ia-ease);
}

.ia-cards > .ia-card:hover,
.ia-features > .ia-card:hover,
.ia-steps > .ia-card:hover,
.ia-integrations > .ia-card:hover {
	border-color: var(--ia-border-hover);
	transform: translateY(-2px);
}

.ia-feature {
	position: relative;
	overflow: hidden;
	background-image: linear-gradient(145deg, color-mix(in srgb, var(--ia-white) 3%, transparent), transparent 60%);
}

/* Lane-marker arcs in the corner of feature panels. */
.ia-feature::after {
	content: "";
	position: absolute;
	right: -90px;
	bottom: -95px;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--ia-teal) 20%, transparent);
	box-shadow:
		0 0 0 30px color-mix(in srgb, var(--ia-teal) 3%, transparent),
		0 0 0 60px color-mix(in srgb, var(--ia-teal) 2%, transparent);
	pointer-events: none;
}

.ia-feature > .elementor-widget-button {
	margin-top: 6px;
}

.ia-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
}

.ia-chip {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border: 1px solid var(--ia-border-strong);
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--ia-cloud);
	white-space: nowrap;
}

/* Status chip: integration / data (BRAND-GUIDE section 6). */
.ia-chip-data {
	color: var(--e-global-color-accent);
	border-color: color-mix(in srgb, var(--e-global-color-accent) 38%, transparent);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 10px;
	font-weight: 700;
}

.ia-card-note {
	opacity: 0.75;
}

.ia-card-note a {
	font-weight: 650;
}

.ia-checklist .elementor-icon-list-text {
	color: var(--ia-cloud);
}

/* ---------------------------------------------------------------- callouts */

.ia-callout {
	border-top: 1px solid var(--ia-border);
}

.ia-callouts > .ia-callout:first-child {
	border-top: 0;
}

.ia-notice {
	padding: 20px 22px;
	border: 1px solid color-mix(in srgb, var(--ia-teal) 26%, transparent);
	border-radius: 12px;
	background: color-mix(in srgb, var(--ia-teal) 6%, transparent);
	font-size: 15px;
}

.ia-trademark {
	opacity: 0.7;
}

/* ------------------------------------------------------------------- table */

.ia-table {
	overflow-x: auto;
}

.ia-table table {
	width: 100%;
	min-width: 560px;
	margin: 0;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--ia-border);
	border-radius: 12px;
	overflow: hidden;
	background: var(--ia-card);
	font-size: 15px;
}

.ia-table table th,
.ia-table table td {
	padding: 16px 18px;
	border: 0;
	border-bottom: 1px solid var(--ia-border);
	text-align: left;
	vertical-align: top;
	background: transparent !important;
}

.ia-table table tr:last-child td {
	border-bottom: 0;
}

.ia-table table th {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ia-cloud);
}

.ia-table table td:first-child {
	color: var(--ia-white);
	font-weight: 600;
}

/* --------------------------------------------------------------------- CTA */

.ia-cta-box {
	border-color: color-mix(in srgb, var(--ia-teal) 24%, transparent) !important;
	background-image: radial-gradient(circle at 88% 15%, color-mix(in srgb, var(--ia-teal) 13%, transparent), transparent 34%);
}

.ia-cta-box .elementor-button {
	white-space: nowrap;
}

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

.elementor-button {
	transition: background-color var(--ia-ease), border-color var(--ia-ease), color var(--ia-ease), transform var(--ia-ease);
}

.elementor-button:hover {
	transform: translateY(-2px);
}

/* -------------------------------------------------------------------- form */

.ia-form .elementor-field-label {
	font-weight: 600;
	margin-bottom: 6px;
}

.ia-form .elementor-field-textual:focus {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ia-teal) 24%, transparent);
}

.ia-form .elementor-field-textual::placeholder {
	color: var(--ia-cloud);
	opacity: 0.55;
}

.ia-form select option {
	background: var(--ia-ink);
	color: var(--ia-white);
}

.ia-form input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin-right: 8px;
	accent-color: var(--ia-teal);
	vertical-align: -2px;
}

.ia-form .elementor-field-subgroup {
	gap: 6px 20px;
}

.ia-form .elementor-field-option label,
.ia-form .elementor-field-type-acceptance label {
	font-size: 14px;
	color: var(--ia-cloud);
}

.ia-form .elementor-field-type-acceptance > .elementor-field-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.ia-form .elementor-message {
	margin-top: 14px;
	padding: 14px 16px;
	border: 1px solid;
	border-radius: 10px;
	font-size: 15px;
}

.ia-form .elementor-message.elementor-message-success {
	color: var(--e-global-color-iasuccess);
	border-color: color-mix(in srgb, var(--e-global-color-iasuccess) 40%, transparent);
	background: color-mix(in srgb, var(--e-global-color-iasuccess) 8%, transparent);
}

.ia-form .elementor-message.elementor-message-danger,
.ia-form .elementor-message.elementor-help-inline {
	color: var(--e-global-color-iaerror);
}

.ia-form .elementor-message.elementor-message-danger {
	border-color: color-mix(in srgb, var(--e-global-color-iaerror) 40%, transparent);
	background: color-mix(in srgb, var(--e-global-color-iaerror) 8%, transparent);
}

.ia-form .elementor-message.elementor-help-inline {
	margin-top: 6px;
	padding: 0;
	border: 0;
	font-size: 13px;
}

/* ------------------------------------------------------------------- legal */

.ia-legal {
	max-width: 760px;
}

.ia-legal h2 {
	margin: 46px 0 14px;
	font-size: 28px;
	line-height: 1.2;
}

.ia-legal h3 {
	margin: 28px 0 10px;
	font-size: 20px;
	line-height: 1.3;
}

.ia-legal strong {
	color: var(--ia-white);
}

.ia-legal ul {
	padding-left: 22px;
	margin: 0 0 1.1em;
}

.ia-legal li {
	margin: 6px 0;
}

.ia-legal a,
.ia-text a,
.ia-notice a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

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

.ia-footer {
	border-top: 1px solid var(--ia-border);
}

.ia-foot-title .elementor-heading-title {
	font-weight: 650;
	color: var(--ia-white);
}

.ia-footer-legal {
	padding-top: 22px;
	border-top: 1px solid var(--ia-border);
	font-size: 12px;
	line-height: 1.6;
	opacity: 0.72;
}

.ia-footer-legal p {
	margin: 0 0 8px;
}

/* ------------------------------------------------------------------ motion */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.elementor-button:hover,
	.ia-card:hover {
		transform: none !important;
	}
}

/* Aisle view fills its panel. */
.ia-panel > .elementor-widget-html {
	flex: 1 1 auto;
	display: flex;
}

.ia-panel > .elementor-widget-html > .elementor-widget-container {
	flex: 1 1 auto;
}

.ia-panel .ia-shelves {
	height: 100%;
	min-height: 140px;
}

.ia-panel .ia-shelves {
	width: 100%;
}

.ia-form .elementor-field-textual:focus {
	border-color: var(--ia-teal);
}
