:root {
	--ib-accent: #008a8d;
	--ib-accent-soft: rgba(0, 138, 141, 0.11);
	--ib-accent-border: rgba(0, 138, 141, 0.24);
	--ib-ink: #0a1220;
	--ib-muted: #556173;
	--ib-line: #e3e8ee;
	--ib-panel: #ffffff;
	--ib-bg: #f7fafb;
	--ib-dark: #07111f;
	--ib-shadow: 0 24px 60px rgba(12, 22, 36, 0.08);
	--ib-radius: 22px;
	--ib-radius-sm: 12px;
	--ib-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--ib-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ib-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: inherit;
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--ib-accent);
}

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	top: 14px;
	left: 14px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: #fff;
	border: 1px solid var(--ib-line);
	border-radius: 8px;
	box-shadow: var(--ib-shadow);
}

.container-wide {
	width: min(100% - 48px, 1480px);
	margin-inline: auto;
}

.container {
	width: min(100% - 48px, 980px);
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid var(--ib-line);
	backdrop-filter: blur(16px);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	display: grid;
	grid-template-columns: minmax(180px, 320px) 1fr auto;
	align-items: center;
	gap: 30px;
	min-height: 98px;
}

.site-branding {
	display: flex;
	align-items: center;
	min-width: 0;
}

.custom-logo-link,
.site-branding__text {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	display: block;
	width: auto;
	max-width: min(280px, 100%);
	max-height: 58px;
}

.site-branding__name {
	font-size: clamp(22px, 2vw, 30px);
	font-weight: 800;
	letter-spacing: -0.04em;
}

.site-navigation {
	justify-self: center;
}

.primary-menu,
.footer-menu {
	display: flex;
	align-items: center;
	gap: clamp(18px, 3vw, 44px);
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu li {
	position: relative;
}

.primary-menu a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 14px 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--ib-ink);
}

.primary-menu a:hover,
.primary-menu a:focus {
	color: var(--ib-accent);
}

.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	display: none;
	min-width: 220px;
	padding: 12px;
	margin: 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--ib-line);
	border-radius: 16px;
	box-shadow: var(--ib-shadow);
}

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

.primary-menu .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus {
	background: var(--ib-accent-soft);
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	background: #fff;
	border: 1px solid var(--ib-line);
	border-radius: 12px;
	cursor: pointer;
}

.menu-toggle__bar {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--ib-ink);
	border-radius: 10px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	padding: 14px 24px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	border-radius: 6px;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus {
	transform: translateY(-1px);
}

.button--primary {
	color: #fff;
	background: linear-gradient(135deg, var(--ib-accent), #006d72);
	box-shadow: 0 18px 42px var(--ib-accent-border);
}

.button--primary:hover,
.button--primary:focus {
	color: #fff;
	box-shadow: 0 22px 52px var(--ib-accent-border);
}

.button--ghost {
	color: var(--ib-ink);
	background: #fff;
	border: 1px solid #cfd7df;
}

.button--ghost:hover,
.button--ghost:focus {
	background: var(--ib-accent-soft);
	border-color: var(--ib-accent-border);
}

.section--top {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #fff 0%, #f8fbfc 100%);
}

.section--top::after {
	content: "";
	position: absolute;
	right: -120px;
	top: 18%;
	width: 520px;
	height: 520px;
	opacity: 0.42;
	background-image: radial-gradient(var(--ib-accent-border) 1px, transparent 1px);
	background-size: 16px 16px;
	border-radius: 50%;
	pointer-events: none;
}

.hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(420px, 0.78fr) 1.22fr;
	align-items: center;
	gap: clamp(48px, 7vw, 110px);
	padding: clamp(64px, 9vw, 122px) 0 54px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	padding: 8px 15px;
	margin: 0 0 30px;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.14em;
	line-height: 1.1;
	color: var(--ib-accent);
	background: var(--ib-accent-soft);
	border-radius: 999px;
}

.hero h1,
.operator-section h2,
.content-page h1 {
	margin: 0;
	font-weight: 900;
	letter-spacing: -0.06em;
	line-height: 0.98;
	color: #070b11;
}

.hero h1 {
	max-width: 690px;
	font-size: clamp(48px, 5.8vw, 86px);
}

.hero h1::after {
	content: "";
	display: inline-block;
	width: 0.14em;
	height: 0.14em;
	margin-left: 0.06em;
	background: var(--ib-accent);
	border-radius: 999px;
	vertical-align: baseline;
}

.hero__intro {
	max-width: 610px;
	margin: 28px 0 0;
	font-size: clamp(17px, 1.2vw, 21px);
	line-height: 1.62;
	color: var(--ib-muted);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 38px 0 34px;
}

.hero__proof {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 34px;
	color: #293142;
	font-size: 15px;
	font-weight: 700;
}

.hero__proof span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.hero__proof svg {
	width: 20px;
	height: 20px;
	padding: 3px;
	fill: var(--ib-accent);
	border: 1px solid var(--ib-accent);
	border-radius: 50%;
}

.hero__visual {
	min-width: 0;
}

.dashboard-mockup {
	display: grid;
	grid-template-columns: 140px 1fr;
	min-height: 500px;
	background: #fff;
	border: 1px solid var(--ib-line);
	border-radius: var(--ib-radius);
	box-shadow: var(--ib-shadow);
	overflow: hidden;
}

.dashboard-mockup__sidebar {
	padding: 28px 22px;
	background: linear-gradient(180deg, #ffffff 0%, #f6fbfb 100%);
	border-right: 1px solid var(--ib-line);
}

.dashboard-mockup__sidebar strong {
	display: block;
	margin-bottom: 28px;
	font-size: 23px;
	font-weight: 900;
	letter-spacing: -0.04em;
	color: var(--ib-ink);
}

.dashboard-mockup__sidebar span {
	display: block;
	width: 86px;
	height: 12px;
	margin: 22px 0;
	background: #d9e4ea;
	border-radius: 999px;
}

.dashboard-mockup__sidebar span:first-of-type {
	width: 96px;
	background: var(--ib-accent-soft);
}

.dashboard-mockup__main {
	padding: 28px 28px 30px;
}

.dashboard-mockup__topbar,
.dashboard-stats,
.dashboard-content,
.automation-card {
	display: grid;
	gap: 18px;
}

.dashboard-mockup__topbar {
	grid-template-columns: 1fr auto;
	align-items: center;
	margin-bottom: 22px;
}

.dashboard-mockup__topbar strong {
	font-size: 20px;
}

.dashboard-mockup__topbar small {
	padding: 8px 12px;
	color: var(--ib-muted);
	border: 1px solid var(--ib-line);
	border-radius: 10px;
}

.dashboard-stats {
	grid-template-columns: repeat(3, 1fr);
	margin-bottom: 18px;
}

.dashboard-stats div,
.chart-card,
.insights-card,
.automation-card {
	background: #fff;
	border: 1px solid #edf1f4;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(12, 22, 36, 0.04);
}

.dashboard-stats div {
	padding: 18px;
}

.dashboard-stats span,
.chart-card span {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 700;
	color: var(--ib-muted);
}

.dashboard-stats strong {
	display: block;
	font-size: 24px;
	line-height: 1.2;
}

.dashboard-stats em,
.automation-card em {
	font-style: normal;
	font-size: 12px;
	font-weight: 800;
	color: #159962;
}

.dashboard-content {
	grid-template-columns: 1.75fr 0.85fr;
}

.chart-card {
	min-height: 205px;
	padding: 18px;
}

.line-chart {
	position: relative;
	height: 150px;
	margin-top: 12px;
	background: linear-gradient(180deg, rgba(0, 138, 141, 0.13), rgba(0, 138, 141, 0)), repeating-linear-gradient(to bottom, transparent 0, transparent 36px, #edf1f4 37px);
	border-radius: 10px;
	overflow: hidden;
}

.line-chart::before {
	content: "";
	position: absolute;
	inset: 18px 20px 28px;
	background: linear-gradient(135deg, transparent 0 13%, var(--ib-accent) 13% 15%, transparent 15% 28%, var(--ib-accent) 28% 30%, transparent 30% 42%, var(--ib-accent) 42% 44%, transparent 44% 57%, var(--ib-accent) 57% 59%, transparent 59% 72%, var(--ib-accent) 72% 74%, transparent 74% 86%, var(--ib-accent) 86% 88%, transparent 88% 100%);
	clip-path: polygon(0 70%, 12% 58%, 21% 65%, 34% 42%, 46% 36%, 56% 50%, 68% 32%, 80% 38%, 90% 22%, 100% 11%, 100% 100%, 0 100%);
	opacity: 0.95;
}

.line-chart i {
	position: absolute;
	right: 17%;
	top: 30%;
	width: 12px;
	height: 12px;
	background: var(--ib-accent);
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--ib-accent-border);
}

.insights-card {
	display: grid;
	place-items: center;
	padding: 20px;
	text-align: center;
}

.donut {
	width: 112px;
	height: 112px;
	background: conic-gradient(var(--ib-accent) 0 42%, #d8edf0 42% 70%, #edf2f4 70% 100%);
	border-radius: 50%;
}

.donut::after {
	content: "";
	display: block;
	width: 62px;
	height: 62px;
	margin: 25px;
	background: #fff;
	border-radius: 50%;
}

.insights-card strong {
	font-size: 19px;
}

.insights-card small {
	color: var(--ib-muted);
}

.automation-card {
	grid-template-columns: 1fr auto;
	margin-top: 18px;
	padding: 16px 18px;
}

.automation-card span {
	font-size: 13px;
	color: #222b38;
}

.section-panel {
	border-top: 1px solid var(--ib-line);
	border-bottom: 1px solid var(--ib-line);
	background: #fff;
}

.solutions__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}

.solution-card {
	min-height: 230px;
	padding: 44px clamp(24px, 3vw, 54px);
	border-right: 1px solid var(--ib-line);
}

.solution-card:first-child {
	border-left: 1px solid var(--ib-line);
}

.solution-card__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 24px;
	background: var(--ib-accent-soft);
	border: 1px solid var(--ib-accent-border);
	border-radius: 50%;
}

.solution-card svg {
	width: 30px;
	height: 30px;
	fill: var(--ib-accent);
}

.solution-card h2 {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: -0.03em;
}

.solution-card p {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ib-muted);
}

.solution-card a,
.text-link {
	font-weight: 800;
	color: var(--ib-accent);
}

.operator-section {
	padding: clamp(56px, 7vw, 92px) 0;
	background: linear-gradient(180deg, #fff 0%, #f8fbfc 100%);
}

.operator-section__grid {
	display: grid;
	grid-template-columns: minmax(320px, 0.8fr) 1.2fr;
	align-items: center;
	gap: clamp(50px, 8vw, 140px);
}

.operator-section h2 {
	font-size: clamp(34px, 4vw, 52px);
}

.operator-section p {
	max-width: 520px;
	margin: 20px 0 24px;
	color: var(--ib-muted);
}

.trusted-strip p {
	margin: 0 0 34px;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.14em;
	color: var(--ib-accent);
	text-align: center;
}

.trusted-strip div {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 22px;
	align-items: center;
}

.trusted-strip span {
	display: grid;
	place-items: center;
	min-height: 76px;
	padding: 18px;
	font-size: 18px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #8d949f;
	background: #fff;
	border: 1px solid var(--ib-line);
	border-radius: 18px;
	box-shadow: 0 14px 34px rgba(12, 22, 36, 0.04);
}

.contact-band {
	padding: 54px 0;
	background: var(--ib-dark);
	color: #fff;
}

.contact-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.contact-band .eyebrow {
	margin-bottom: 16px;	
	background: rgba(255, 255, 255, 0.08);
}

.contact-band h2 {
	max-width: 680px;
	margin: 0;
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.05;
	letter-spacing: -0.05em;
}

.site-footer {
	padding: 46px 0;
	background: #fff;
	border-top: 1px solid var(--ib-line);
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1.2fr auto auto;
	align-items: center;
	gap: 34px;
}

.site-footer .custom-logo {
	max-height: 42px;
	max-width: 220px;
}

.site-footer__brand p,
.site-footer__meta p {
	margin: 12px 0 0;
	color: var(--ib-muted);
}

.footer-menu {
	gap: 22px;
	font-size: 14px;
	font-weight: 700;
}

.content-page {
	padding: clamp(64px, 8vw, 110px) 0;
	background: var(--ib-bg);
}

.content-page__inner {
	padding: clamp(34px, 5vw, 64px);
	background: #fff;
	border: 1px solid var(--ib-line);
	border-radius: var(--ib-radius);
	box-shadow: var(--ib-shadow);
}

.entry-header h1,
.archive-header h1,
.content-page h1 {
	font-size: clamp(42px, 5vw, 72px);
}

.entry-content,
.entry-summary {
	color: var(--ib-muted);
}

.entry-content a,
.entry-summary a {
	color: var(--ib-accent);
	font-weight: 700;
}

.ib-systems-page {
	display: grid;
	gap: 42px;
}

.ib-systems-section {
	display: grid;
	gap: 18px;
}

.ib-systems-hero {
	padding-bottom: 12px;
	border-bottom: 1px solid var(--ib-line);
}

.ib-systems-page h2,
.ib-systems-page h3 {
	margin: 0;
	color: var(--ib-ink);
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.ib-systems-page p {
	margin: 0;
}

.ib-systems-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.ib-systems-card {
	padding: 24px;
	background: var(--ib-bg);
	border: 1px solid var(--ib-line);
	border-radius: 8px;
}

.ib-systems-list {
	margin: 0;
	padding-left: 22px;
}

.ib-systems-list li + li {
	margin-top: 8px;
}

.ib-systems-cta {
	padding: 28px;
	color: #fff;
	background: var(--ib-dark);
	border-radius: 8px;
}

.ib-systems-cta a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.post-card {
	padding: 28px 0;
	border-bottom: 1px solid var(--ib-line);
}

.post-card h2 {
	margin: 0 0 8px;
	font-size: 30px;
	letter-spacing: -0.03em;
}

.entry-meta {
	margin: 8px 0 20px;
	font-size: 14px;
	font-weight: 700;
	color: #818a96;
}

.nav-links {
	display: flex;
	gap: 12px;
	margin-top: 32px;
}

.nav-links a,
.nav-links span {
	padding: 10px 14px;
	border: 1px solid var(--ib-line);
	border-radius: 10px;
}

.nav-links .current {
	color: #fff;
	background: var(--ib-accent);
	border-color: var(--ib-accent);
}

@media (max-width: 1200px) {
	.site-header__inner {
		grid-template-columns: auto auto 1fr auto;
		min-height: 84px;
	}

	.site-navigation {
		justify-self: end;
	}

	.primary-menu {
		gap: 22px;
	}

	.hero__grid {
		grid-template-columns: 1fr;
	}

	.hero h1 {
		max-width: 820px;
	}

	.solutions__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.solution-card:nth-child(2n) {
		border-right: 1px solid var(--ib-line);
	}
}

@media (max-width: 900px) {
	.admin-bar .site-header {
		top: 46px;
	}

	.site-header__inner {
		grid-template-columns: 1fr auto;
		gap: 16px;
	}

	.menu-toggle {
		display: inline-flex;
		justify-self: end;
	}

	.site-navigation {
		grid-column: 1 / -1;
		width: 100%;
		display: none;
	}

	.site-navigation.is-open {
		display: block;
	}

	.primary-menu {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		padding: 12px 0 22px;
	}

	.primary-menu a {
		padding: 12px 0;
	}

	.primary-menu .sub-menu {
		position: static;
		display: block;
		box-shadow: none;
	}

	.header-cta {
		display: none;
	}

	.dashboard-mockup {
		grid-template-columns: 92px 1fr;
		min-height: 420px;
	}

	.dashboard-stats,
	.dashboard-content,
	.operator-section__grid,
	.trusted-strip div,
	.ib-systems-grid,
	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.contact-band__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-footer__inner {
		align-items: start;
	}
}

@media (max-width: 640px) {
	.container-wide,
	.container {
		width: min(100% - 32px, 100%);
	}

	.hero__grid {
		padding-top: 46px;
	}

	.hero h1 {
		font-size: clamp(42px, 14vw, 58px);
	}

	.hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.button {
		width: 100%;
	}

	.dashboard-mockup {
		grid-template-columns: 1fr;
	}

	.dashboard-mockup__sidebar {
		display: none;
	}

	.dashboard-stats {
		grid-template-columns: 1fr;
	}

	.solutions__grid {
		grid-template-columns: 1fr;
	}

	.solution-card,
	.solution-card:first-child {
		border-left: 0;
		border-right: 0;
		border-bottom: 1px solid var(--ib-line);
	}

	.dashboard-mockup__main {
		padding: 20px;
	}

	.content-page__inner {
		padding: 28px 20px;
	}
}
