/* Oqiva website: plain CSS, no frameworks, no web fonts, no third-party requests. */

:root {
	--blue: #2563eb;
	--blue-dark: #1d4ed8;
	--blue-soft: #eff6ff;
	--violet: #6d28d9;
	--green: #15803d;
	--amber: #b45309;
	--ink: #0f172a;
	--text: #1e293b;
	--muted: #475569;
	--line: #e2e8f0;
	--soft: #f8fafc;
	--white: #ffffff;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 12px 32px rgba(15, 23, 42, 0.08);
	--wrap: 1120px;
	color-scheme: light;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family:
		system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--blue-dark);
	text-underline-offset: 3px;
}
a:hover {
	color: var(--ink);
}

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 3px;
	border-radius: 4px;
}

h1,
h2,
h3,
h4 {
	color: var(--ink);
	line-height: 1.2;
	margin: 0 0 0.6em;
	letter-spacing: -0.015em;
}
h1 {
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	letter-spacing: -0.03em;
}
h2 {
	font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}
h3 {
	font-size: 1.25rem;
}
p {
	margin: 0 0 1em;
}
ul,
ol {
	margin: 0 0 1em;
	padding-left: 1.3em;
}
li {
	margin-bottom: 0.35em;
}

.wrap {
	width: min(100% - 2rem, var(--wrap));
	margin-inline: auto;
}
.narrow {
	width: min(100% - 2rem, 760px);
	margin-inline: auto;
}

.skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	background: var(--ink);
	color: var(--white);
	padding: 0.6rem 1rem;
	border-radius: 8px;
	z-index: 100;
}
.skip:focus {
	top: 1rem;
	color: var(--white);
}

.sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}
[data-centered] {
	text-align: center;
}
[data-centered] .btn-row {
	justify-content: center;
}

/* ----- header ----- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 68px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 700;
	font-size: 1.3rem;
	color: var(--ink);
	text-decoration: none;
	letter-spacing: -0.02em;
}
.brand img {
	width: 34px;
	height: 34px;
	display: block;
}
.nav {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}
.nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav li {
	margin: 0;
}
.nav a {
	display: block;
	padding: 0.55rem 0.85rem;
	border-radius: 8px;
	color: var(--text);
	text-decoration: none;
	font-size: 1rem;
	font-weight: 500;
}
.nav a:hover {
	background: var(--soft);
	color: var(--ink);
}
.nav a[aria-current="page"] {
	color: var(--blue-dark);
	background: var(--blue-soft);
}
.menu-button {
	display: none;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.8rem;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

/* ----- buttons ----- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.8rem 1.4rem;
	border-radius: 12px;
	border: 2px solid transparent;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color 0.15s ease,
		border-color 0.15s ease,
		transform 0.15s ease;
}
.btn-primary {
	background: var(--blue);
	color: var(--white);
}
.btn-primary:hover {
	background: var(--blue-dark);
	color: var(--white);
	transform: translateY(-1px);
}
.btn-ghost {
	background: var(--white);
	border-color: var(--line);
	color: var(--ink);
}
.btn-ghost:hover {
	border-color: var(--blue);
	color: var(--blue-dark);
}
.btn-light {
	background: var(--white);
	color: var(--blue-dark);
}
.btn-light:hover {
	background: var(--blue-soft);
	color: var(--blue-dark);
}
.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1.6rem;
}

/* ----- hero ----- */
.hero {
	padding: 4.5rem 0 3rem;
	background:
		radial-gradient(900px 400px at 85% -10%, #dbeafe 0%, transparent 60%),
		radial-gradient(700px 360px at 0% 0%, #ede9fe 0%, transparent 55%), var(--white);
	text-align: center;
}
.eyebrow {
	display: inline-block;
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	background: var(--blue-soft);
	color: var(--blue-dark);
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 1.1rem;
}
.hero h1 {
	max-width: 17ch;
	margin-inline: auto;
}
.hero .lead {
	max-width: 46rem;
	margin: 0 auto;
}
.hero .btn-row {
	justify-content: center;
}
.lead {
	font-size: 1.25rem;
	color: var(--muted);
}
.hero-shot {
	margin-top: 3rem;
}

/* ----- browser frame for screenshots ----- */
.frame {
	margin: 0;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.frame-bar {
	display: flex;
	gap: 6px;
	padding: 10px 14px;
	background: var(--soft);
	border-bottom: 1px solid var(--line);
}
.frame-bar span {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #cbd5e1;
}
.frame img {
	display: block;
	width: 100%;
	height: auto;
}
.frame figcaption {
	padding: 0.7rem 1rem;
	font-size: 0.95rem;
	color: var(--muted);
	border-top: 1px solid var(--line);
	background: var(--white);
}

/* ----- sections ----- */
.section {
	padding: 4.5rem 0;
}
.section.soft {
	background: var(--soft);
	border-block: 1px solid var(--line);
}
.section-head {
	max-width: 44rem;
	margin: 0 auto 2.8rem;
	text-align: center;
}
.section-head p {
	color: var(--muted);
	font-size: 1.15rem;
	margin: 0;
}

.grid {
	display: grid;
	gap: 1.4rem;
}
.grid.cols-3 {
	grid-template-columns: repeat(3, 1fr);
}
.grid.cols-2 {
	grid-template-columns: repeat(2, 1fr);
}
.grid.cols-4 {
	grid-template-columns: repeat(4, 1fr);
}
.card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.6rem;
}
.card h3 {
	margin-top: 0.9rem;
	margin-bottom: 0.4rem;
}
.card p {
	margin: 0;
	color: var(--muted);
}
.icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--blue-soft);
	color: var(--blue-dark);
}
.icon svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.icon.violet {
	background: #f5f3ff;
	color: var(--violet);
}
.icon.green {
	background: #f0fdf4;
	color: var(--green);
}
.icon.amber {
	background: #fffbeb;
	color: var(--amber);
}

/* alternating text + picture rows */
.split {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 3rem;
	align-items: center;
	padding: 2.4rem 0;
}
.split.flip {
	grid-template-columns: 1.15fr 1fr;
}
.split.flip .split-text {
	order: 2;
}
.split-text h2 {
	font-size: clamp(1.5rem, 2.8vw, 2rem);
}
.split-text p {
	color: var(--muted);
}
.ticks {
	list-style: none;
	padding: 0;
}
.ticks li {
	position: relative;
	padding-left: 1.9rem;
	color: var(--text);
}
.ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.42em;
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 50%;
	background: var(--blue-soft)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
		center / 70% no-repeat;
}

/* band */
.band {
	background: linear-gradient(135deg, #1d4ed8, #6d28d9);
	color: var(--white);
	border-radius: 22px;
	padding: 3.2rem 2rem;
	text-align: center;
}
.band h2,
.band p {
	color: var(--white);
}
.band p {
	max-width: 40rem;
	margin-inline: auto;
	opacity: 0.95;
}
.band .btn-row {
	justify-content: center;
}
.band a:not(.btn) {
	color: var(--white);
}

/* page title strip */
.page-title {
	padding: 3.6rem 0 2.4rem;
	background:
		radial-gradient(700px 300px at 90% -20%, #dbeafe 0%, transparent 60%), var(--soft);
	border-bottom: 1px solid var(--line);
}
.page-title h1 {
	font-size: clamp(2rem, 4.4vw, 3rem);
	margin-bottom: 0.4em;
}
.page-title p {
	color: var(--muted);
	font-size: 1.2rem;
	max-width: 44rem;
	margin: 0;
}

/* feature page: chips + sections */
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.6rem;
}
.chips a {
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--text);
}
.chips a:hover {
	border-color: var(--blue);
	color: var(--blue-dark);
}
.feature {
	padding: 3rem 0;
	border-bottom: 1px solid var(--line);
}
.feature:last-of-type {
	border-bottom: 0;
}
.feature h2 {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	font-size: 1.8rem;
}
.cols-list {
	columns: 2;
	column-gap: 2.5rem;
}
.cols-list li {
	break-inside: avoid;
}
.note {
	background: var(--blue-soft);
	border: 1px solid #bfdbfe;
	border-radius: 12px;
	padding: 1rem 1.2rem;
	color: var(--text);
	margin: 1.4rem 0;
}
.note.warn {
	background: #fffbeb;
	border-color: #fde68a;
}

/* steps */
.steps {
	list-style: none;
	padding: 0;
	counter-reset: step;
}
.steps > li {
	position: relative;
	padding: 0 0 1.6rem 3.6rem;
	margin: 0;
	counter-increment: step;
}
.steps > li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: -0.1rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--blue);
	color: var(--white);
	font-weight: 700;
	display: grid;
	place-items: center;
}
.steps > li::after {
	content: "";
	position: absolute;
	left: 1.2rem;
	top: 2.7rem;
	bottom: 0.2rem;
	width: 2px;
	background: var(--line);
}
.steps > li:last-child::after {
	display: none;
}
.steps h3 {
	margin-bottom: 0.3rem;
}

/* code and tables */
code,
kbd {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	font-size: 0.92em;
}
code {
	background: #f1f5f9;
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 0.1em 0.4em;
}
pre {
	background: #0f172a;
	color: #e2e8f0;
	border-radius: 12px;
	padding: 1.1rem 1.2rem;
	overflow-x: auto;
	line-height: 1.55;
	margin: 1.2rem 0;
}
pre code {
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
	font-size: 0.95rem;
}
kbd {
	display: inline-block;
	padding: 0.05em 0.5em;
	border: 1px solid #cbd5e1;
	border-bottom-width: 2px;
	border-radius: 6px;
	background: var(--soft);
	color: var(--ink);
	font-size: 0.9em;
}
.table-wrap {
	overflow-x: auto;
	margin: 1.2rem 0;
	border: 1px solid var(--line);
	border-radius: 12px;
}
table {
	border-collapse: collapse;
	width: 100%;
	min-width: 520px;
}
th,
td {
	text-align: left;
	padding: 0.7rem 1rem;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}
th {
	background: var(--soft);
	color: var(--ink);
	font-size: 0.95rem;
}
tr:last-child td {
	border-bottom: 0;
}

/* faq */
details {
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 0 1.2rem;
	margin-bottom: 0.8rem;
	background: var(--white);
}
summary {
	cursor: pointer;
	padding: 1rem 0;
	font-weight: 600;
	color: var(--ink);
	list-style-position: outside;
}
details[open] summary {
	border-bottom: 1px solid var(--line);
	margin-bottom: 0.9rem;
}
details p:last-child {
	margin-bottom: 1rem;
}

/* contact */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 2.4rem;
	align-items: start;
}
.mail-card {
	background: var(--blue-soft);
	border: 1px solid #bfdbfe;
	border-radius: var(--radius);
	padding: 1.8rem;
}
.mail-card .big {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	word-break: break-all;
	margin: 0.4rem 0 1rem;
}
form {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.8rem;
}
label {
	display: block;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 0.35rem;
}
input,
select,
textarea {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid #94a3b8;
	border-radius: 10px;
	font: inherit;
	color: var(--ink);
	background: var(--white);
	margin-bottom: 1.1rem;
}
textarea {
	min-height: 150px;
	resize: vertical;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 1px;
}
.hint {
	font-size: 0.95rem;
	color: var(--muted);
}
.status {
	margin-top: 1rem;
	font-weight: 600;
	color: var(--green);
}

/* legal text */
.legal h2 {
	font-size: 1.5rem;
	margin-top: 2.4rem;
}
.legal h3 {
	font-size: 1.15rem;
	margin-top: 1.6rem;
}

/* footer */
.site-footer {
	background: #0f172a;
	color: #cbd5e1;
	padding: 3.4rem 0 2rem;
	margin-top: 4rem;
}
.site-footer a {
	color: #e2e8f0;
	text-decoration: none;
}
.site-footer a:hover {
	color: var(--white);
	text-decoration: underline;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 2rem;
}
.footer-grid h2 {
	color: var(--white);
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.9rem;
}
.footer-grid ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-grid li {
	margin-bottom: 0.5rem;
}
.footer-brand .brand {
	color: var(--white);
}
.footer-brand p {
	margin-top: 0.9rem;
	max-width: 24rem;
}
.footer-bottom {
	margin-top: 2.4rem;
	padding-top: 1.4rem;
	border-top: 1px solid #1e293b;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.6rem;
	font-size: 0.95rem;
}

/* ----- small screens ----- */
@media (max-width: 900px) {
	.grid.cols-3,
	.grid.cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}
	.split,
	.split.flip {
		grid-template-columns: 1fr;
		gap: 1.6rem;
	}
	.split.flip .split-text {
		order: 0;
	}
	.contact-grid {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.cols-list {
		columns: 1;
	}
}
@media (max-width: 760px) {
	.js .menu-button {
		display: inline-flex;
	}
	.js .nav ul {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		padding: 0.6rem 1rem 1rem;
		box-shadow: 0 16px 24px rgba(15, 23, 42, 0.08);
	}
	.js .nav.open ul {
		display: flex;
	}
	.nav a {
		padding: 0.8rem 0.9rem;
	}
	.site-header {
		position: sticky;
	}
	.hero {
		padding-top: 3rem;
	}
	.section {
		padding: 3.2rem 0;
	}
}
@media (max-width: 560px) {
	.grid.cols-3,
	.grid.cols-2,
	.grid.cols-4,
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.band {
		padding: 2.4rem 1.2rem;
	}
	.btn {
		width: 100%;
	}
	.btn-row {
		flex-direction: column;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.btn {
		transition: none;
	}
}
@media print {
	.site-header,
	.site-footer,
	.skip,
	.btn-row {
		display: none;
	}
}

.mail-card + h3 {
	margin-top: 2rem;
}
