/* IO (Intelligent Ocean) — static site styles */

/* ---------- Tokens ---------- */
:root {
	--io-bg: #121212;
	--io-bg-hero: #0a0a1a;
	--io-bg-contact: #22202c;
	--io-bg-footer: #0d0d0d;
	--io-white: #ffffff;
	--io-text: #e8e8ea;
	--io-muted: #9a98a5;
	--io-rule: #5c5c5c;
	--io-lavender: #a89cf2;
	--io-lavender-text: #b9aeff;
	--io-lavender-pale: #eeebff;
	--io-purple: #5b46e0;
	--io-ink: #17161c;
	--io-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--io-font-ui: "Lexend", "Inter", system-ui, sans-serif;
	--io-header-h: 88px;
	--io-container: 1120px;
	--io-section: 120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--io-header-h); -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--io-bg);
	color: var(--io-white);
	font-family: var(--io-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.io-skip:focus {
	position: fixed !important;
	top: 8px; left: 8px;
	width: auto; height: auto;
	clip: auto;
	z-index: 1000;
	padding: 12px 16px;
	background: var(--io-white);
	color: var(--io-ink);
}

:focus-visible { outline: 2px solid var(--io-lavender); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.io-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 56px;
	padding: 0 31px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: var(--io-font-ui);
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.io-btn--outline {
	border-color: var(--io-lavender);
	color: var(--io-lavender-text);
	background: transparent;
}
.io-btn--outline:hover { background: rgba(168, 156, 242, 0.14); color: var(--io-white); }

.io-btn--fill {
	color: var(--io-white);
	background: linear-gradient(90deg, #5b46e0 0%, #4031ad 35%, #1d1750 78%, #131030 100%);
	background-size: 140% 100%;
	background-position: 0 0;
	transition: background-position .35s ease, box-shadow .25s ease;
}
.io-btn--fill:hover { background-position: 100% 0; box-shadow: 0 0 0 1px rgba(168, 156, 242, .55); }

/* ---------- Section tag ---------- */
.io-tag {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 15px;
	border: 1px solid #4a3bb8;
	border-radius: 8px;
	background: linear-gradient(90deg, rgba(91, 70, 224, 0.10), rgba(18, 18, 18, 0));
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--io-white);
}
.io-tag--light { border-color: var(--io-purple); background: rgba(255, 255, 255, 0.35); color: var(--io-ink); }

/* ---------- Header ---------- */
.io-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--io-header-h);
	background: var(--io-bg);
}

.io-header__inner {
	display: flex;
	align-items: center;
	height: 100%;
}
.io-logo {
	font-family: var(--io-font-ui);
	font-size: 34px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.03em;
	color: var(--io-white);
	text-decoration: none;
}
.io-logo img { height: 28px; width: auto; }
.io-logo { display: inline-flex; align-items: center; }
.io-logo__mark { width: auto; height: 26px; }

.io-nav { margin-left: 80px; }
.io-nav ul { display: flex; gap: 40px; }
.io-nav a {
	font-family: var(--io-font-ui);
	font-size: 14px;
	font-weight: 400;
	color: var(--io-white);
	text-decoration: none;
	transition: color .2s ease;
}
.io-nav a:hover { color: var(--io-lavender-text); }
.io-header__cta { margin-left: auto; }

.io-burger {
	display: none;
	margin-left: 16px;
	width: 48px; height: 48px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.io-burger span {
	display: block;
	width: 24px; height: 2px;
	margin: 5px auto;
	background: var(--io-white);
	transition: transform .25s ease, opacity .25s ease;
}
.io-nav-open .io-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.io-nav-open .io-burger span:nth-child(2) { opacity: 0; }
.io-nav-open .io-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.io-hero {
	position: relative;
	margin-top: var(--io-header-h);
	min-height: 680px;
	padding: 120px 0 132px;
	background:
		radial-gradient(90% 120% at 85% 10%, #1b1a3c 0%, rgba(27, 26, 60, 0) 60%),
		radial-gradient(70% 90% at 10% 100%, #15142e 0%, rgba(21, 20, 46, 0) 65%),
		var(--io-bg-hero);
	overflow: hidden;
	isolation: isolate;
}
.io-hero__canvas,
.io-hero__image {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	z-index: -1;
}
.io-hero__image { object-fit: cover; }

.io-hero__title {
	font-size: 50px;
	font-weight: 400;
	line-height: 72px;
	letter-spacing: -0.005em;
	color: var(--io-white);
}
.io-hero__title span { display: block; }

.io-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 40px;
	margin-top: 32px;
}
.io-signup { display: flex; width: 520px; max-width: 100%; height: 56px; }
.io-signup__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	padding: 0 20px 0 30px;
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-right: 0;
	border-radius: 28px 0 0 28px;
	background: rgba(14, 14, 24, 0.45);
	font-size: 14px;
	color: var(--io-white);
}
.io-signup__input::placeholder { color: #8e8d9b; opacity: 1; }
.io-signup__input:focus { outline: none; border-color: var(--io-lavender); }
.io-signup__btn {
	flex: 0 0 192px;
	height: 100%;
	border: 0;
	border-radius: 0 28px 28px 0;
	padding: 0 20px;
	background: var(--io-lavender-pale);
	color: #17152e;
	font-weight: 500;
}
.io-signup__btn:hover { background: var(--io-white); }
.io-signup__btn svg { transition: transform .25s ease; }
.io-signup__btn:hover svg { transform: translateX(4px); }

.io-form-msg {
	flex-basis: 100%;
	min-height: 20px;
	font-size: 14px;
	color: var(--io-lavender-text);
}
.io-form-msg.is-error { color: #ff9d9d; }
.io-hero .io-form-msg:empty { display: none; }

.io-trusted {
	display: flex;
	align-items: center;
	gap: 48px;
	margin-top: 72px;
}
.io-trusted__label { flex: 0 0 auto; font-size: 14px; color: var(--io-white); }
.io-marquee {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
	        mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.io-marquee__track {
	display: flex;
	width: max-content;
	animation: io-marquee 60s linear infinite;
}
.io-marquee:hover .io-marquee__track { animation-play-state: paused; }
.io-marquee__group { display: flex; align-items: center; flex: 0 0 auto; height: 52px; }
.io-client {
	flex: 0 0 auto;
	margin-right: 72px;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 28px;
	color: var(--io-white);
	white-space: nowrap;
}
.io-client img { height: 32px; width: auto; max-width: none; filter: brightness(0) invert(1); }
@keyframes io-marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.io-services { padding: var(--io-section) 0; background: var(--io-bg); }
.io-services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-top: 64px;
}
.io-service { border-top: 1px solid var(--io-rule); padding-top: 36px; }
.io-service__icon { width: 48px; height: 48px; }
.io-service h3 {
	margin-top: 32px;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: -0.01em;
}
.io-service ul { margin-top: 24px; display: grid; gap: 16px; }
.io-service li {
	position: relative;
	padding-left: 40px;
	font-size: 16px;
	line-height: 24px;
	color: var(--io-text);
}
.io-service li::before {
	content: "";
	position: absolute;
	left: 6px; top: 5px;
	width: 16px; height: 9px;
	border-left: 1.5px solid var(--io-lavender);
	border-bottom: 1.5px solid var(--io-lavender);
	transform: rotate(-45deg);
	transform-origin: center;
}
.io-service a { color: var(--io-white); text-underline-offset: 3px; }
.io-service a:hover { color: var(--io-lavender-text); }

.io-services__closing { margin-top: 64px; text-align: right; }
.io-services__tagline {
	font-size: 32px;
	font-weight: 400;
	line-height: 40px;
	letter-spacing: -0.015em;
}
.io-services__tagline strong { font-weight: 700; font-style: italic; }
.io-services__closing .io-btn { margin-top: 36px; }

/* ---------- Who we are ---------- */
.io-who {
	padding: var(--io-section) 0;
	background: linear-gradient(98deg, #efefef 0%, #dcd8f3 38%, #beb4f0 72%, #a69aee 100%);
	color: var(--io-ink);
	overflow: hidden;
}
.io-who__inner { padding-left: 96px; }
.io-who__text {
	max-width: 836px;
	margin: 34px 0;
	font-size: 32px;
	font-weight: 400;
	line-height: 48px;
	letter-spacing: -0.015em;
	color: var(--io-ink);
}

/* Slide-in used by the Who We Are block, as in the prototype */
.io-js .io-slide { transform: translateX(60vw); opacity: 0; transition: transform 1s cubic-bezier(.2, .7, .2, 1), opacity .6s ease; }
.io-js .io-slide.is-in { transform: none; opacity: 1; }

/* ---------- Why IO ---------- */
.io-why { padding: var(--io-section) 0; background: var(--io-bg); }
.io-circles {
	--d: min(480px, 34.5vw);
	display: flex;
	justify-content: center;
	margin: 64px calc(50% - 50vw) 0;
}
.io-circle {
	position: relative;
	flex: 0 0 var(--d);
	width: var(--d); height: var(--d);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 calc(var(--d) * 0.2);
	border-radius: 50%;
	border: 1.5px dotted rgba(255, 255, 255, 0.7);
	text-align: center;
}
.io-circle + .io-circle { margin-left: calc(var(--d) * -0.2); }
.io-circle--center { z-index: 2; }
.io-circle--center::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: radial-gradient(110% 110% at 12% 62%, #3b2b68 0%, #261d40 38%, #17151d 78%);
	opacity: 0.94;
	transition: opacity 1.2s ease;
}
.io-js .io-circle--center::before { opacity: 0; }
.io-js .io-circles.is-in .io-circle--center::before { opacity: 0.94; }
.io-circle > * { position: relative; }
.io-circle__icon { width: 32px; height: 32px; }
.io-circle h3 {
	margin-top: 20px;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: -0.01em;
}
.io-circle p { max-width: 270px; margin-top: 20px; font-size: 16px; line-height: 24px; color: var(--io-text); }
.io-circle--center p { max-width: 245px; }
.io-why__cta { margin-top: 32px; text-align: center; }

/* ---------- Contact ---------- */
.io-contact {
	padding: var(--io-section) 0;
	background: var(--io-bg-contact);
	border-radius: 50% 50% 0 0 / 40px 40px 0 0;
	text-align: center;
}
.io-contact h2 { font-size: 24px; font-weight: 600; line-height: 32px; letter-spacing: -0.01em; }
.io-contact__lead { max-width: 480px; margin: 24px auto 0; font-size: 16px; line-height: 24px; color: var(--io-text); }
.io-contact-form { width: min(544px, 100%); margin: 48px auto 0; text-align: left; }
.io-field + .io-field { margin-top: 38px; }
.io-field label { display: block; font-size: 15px; font-weight: 700; line-height: 24px; }
.io-field input,
.io-field textarea {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid var(--io-muted);
	border-radius: 0;
	background: transparent;
	font-size: 16px;
	line-height: 24px;
	color: var(--io-white);
	transition: border-color .2s ease, background-color .2s ease;
}
.io-field textarea { height: 49px; min-height: 49px; resize: none; overflow: hidden; }
.io-field textarea:focus,
.io-field textarea:not(:placeholder-shown) { height: 120px; overflow: auto; }
.io-field input::placeholder,
.io-field textarea::placeholder { color: #d6d5dc; opacity: 1; }
.io-field input:focus,
.io-field textarea:focus { outline: none; border-bottom-color: var(--io-lavender); background: rgba(255, 255, 255, 0.04); }
.io-contact-form__submit { margin-top: 32px; text-align: center; }
.io-contact-form .io-form-msg { margin-top: 16px; text-align: center; }
.io-contact__privacy { margin-top: 20px; font-size: 14px; line-height: 20px; color: var(--io-white); }
.io-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.io-footer { padding: var(--io-section) 0 96px; background: var(--io-bg-footer); }
.io-footer__top { display: flex; align-items: center; justify-content: space-between; }
.io-footer__bottom {
	display: grid;
	grid-template-columns: 384px 1fr auto;
	margin-top: 64px;
	padding-top: 64px;
	border-top: 1px solid #2b2b2b;
	font-size: 16px;
	line-height: 36px;
}
.io-footer__bottom a { text-decoration: none; }
.io-footer__bottom a:hover { color: var(--io-lavender-text); }
.io-footer__contact li { white-space: pre-line; }
.io-social { display: flex; gap: 20px; align-items: center; height: 36px; }
.io-social a { display: inline-flex; color: var(--io-white); }
.io-social .dashicons { width: 22px; height: 22px; font-size: 22px; }

/* ---------- Plain pages (privacy policy etc.) ---------- */
.io-page { margin-top: var(--io-header-h); padding: 96px 0 var(--io-section); }
.io-page__title { font-size: 40px; font-weight: 600; line-height: 1.2; }
.io-page__content { max-width: 760px; margin-top: 32px; color: var(--io-text); }
.io-page__content > * + * { margin-top: 1.2em; }
.io-page__content ul { list-style: disc; padding-left: 1.4em; }
.io-page__content a { color: var(--io-lavender-text); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.io-nav { margin-left: 48px; }
	.io-nav ul { gap: 28px; }
	.io-who__inner { padding-left: 0; }
	.io-circle h3 { font-size: 20px; line-height: 28px; }
	.io-circle p { font-size: 14px; line-height: 21px; margin-top: 12px; }
	.io-footer__bottom { grid-template-columns: 1fr 1fr auto; }
}

@media (max-width: 900px) {
	:root { --io-header-h: 72px; --io-section: 80px; }
	.io-burger { display: block; }
	.io-nav {
		position: fixed;
		inset: var(--io-header-h) 0 auto 0;
		margin: 0;
		padding: 8px 24px 24px;
		background: var(--io-bg);
		border-bottom: 1px solid #2b2b2b;
		transform: translateY(-8px);
		opacity: 0;
		visibility: hidden;
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.io-nav-open .io-nav { transform: none; opacity: 1; visibility: visible; }
	.io-nav ul { flex-direction: column; gap: 0; }
	.io-nav a { display: block; padding: 14px 0; font-size: 16px; }
	.io-header__cta { height: 44px; padding: 0 22px; }

	.io-hero { min-height: 0; padding: 72px 0 80px; }
	.io-hero__title { font-size: 36px; line-height: 50px; }
	.io-trusted { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 64px; }
	.io-marquee { width: 100%; }

	.io-services__grid { grid-template-columns: 1fr; gap: 48px; margin-top: 48px; }
	.io-services__tagline { font-size: 26px; line-height: 34px; }
	.io-who__text { font-size: 24px; line-height: 36px; }

	.io-circles { --d: min(360px, 86vw); flex-direction: column; align-items: center; margin-top: 48px; }
	.io-circle + .io-circle { margin-left: 0; margin-top: calc(var(--d) * -0.14); }
	.io-circle h3 { font-size: 22px; }
	.io-circle p { font-size: 15px; line-height: 22px; }

	.io-contact { border-radius: 50% 50% 0 0 / 24px 24px 0 0; }
	.io-footer { padding-bottom: 64px; }
	.io-footer__bottom { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 560px) {
	.io-logo { font-size: 28px; }
	.io-logo__mark { height: 22px; }
	.io-hero__title { font-size: 28px; line-height: 40px; }
	.io-hero__title span { display: inline; }
	.io-signup { width: 100%; }
	.io-signup__btn { flex-basis: 150px; padding: 0 12px; }
	.io-signup__input { padding-left: 20px; }
	.io-hero__actions > .io-btn { width: 100%; }
	.io-services__closing { text-align: left; }
	.io-services__tagline { font-size: 22px; line-height: 30px; }
	.io-who__text { font-size: 20px; line-height: 31px; }
	.io-footer__top { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.io-marquee__track { animation: none; }
	.io-marquee { overflow-x: auto; }
	.io-js .io-slide { transform: none; opacity: 1; transition: none; }
	.io-js .io-circle--center::before { opacity: 0.94; transition: none; }
	.io-btn, .io-btn--fill { transition: none; }
}

/* ---------- Social icon font (Dashicons, GPL, from WordPress) ---------- */
@font-face {
	font-family: "dashicons";
	src: url("fonts/dashicons.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: block;
}
.dashicons {
	display: inline-block;
	font-family: "dashicons";
	font-weight: 400;
	font-style: normal;
	line-height: 1;
	text-align: center;
	-webkit-font-smoothing: antialiased;
}
.dashicons-linkedin::before { content: "\f18d"; }
.dashicons-facebook::before { content: "\f304"; }
.dashicons-instagram::before { content: "\f12d"; }
.dashicons-youtube::before { content: "\f19b"; }
