@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Rajdhani:wght@400;500;600;700;800&display=swap');

:root {
	--c3-bg: #ffffff;
	--c3-surface: #f7fafc;
	--c3-surface-2: #eef4f8;
	--c3-surface-3: #e9f1f7;
	--c3-text: #10202f;
	--c3-text-soft: #203244;
	--c3-muted: #5f7181;
	--c3-accent: #0e9ec1;
	--c3-accent-2: #1f7eea;
	--c3-border: rgba(16, 32, 47, 0.1);
	--c3-border-strong: rgba(14, 158, 193, 0.22);
	--c3-shadow: 0 20px 60px rgba(17, 47, 71, 0.08);
	--c3-radius: 24px;
	--c3-max-width: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	background: var(--c3-bg);
}

body {
	margin: 0;
	font-family: Inter, Arial, sans-serif;
	color: var(--c3-text);
	background:
		radial-gradient(circle at 50% 0%, rgba(14, 158, 193, 0.08), transparent 30rem),
		linear-gradient(180deg, #ffffff 0%, #fbfdff 46%, #f6fbfe 100%);
	min-height: 100vh;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(14, 158, 193, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(14, 158, 193, 0.05) 1px, transparent 1px);
	background-size: 74px 74px;
	mask-image: radial-gradient(circle at 50% 14%, black, transparent 76%);
	opacity: 0.42;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
}

h1,
h2,
h3,
.brand-copy strong,
.payoff,
.button,
.eyebrow,
.card-label,
.signal-strip dt,
.footer-company,
.lang-option {
	font-family: Rajdhani, Inter, sans-serif;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	color: var(--c3-text);
	letter-spacing: -0.03em;
}

h1:focus {
	outline: none;
}

:focus-visible {
	outline: 2px solid var(--c3-accent);
	outline-offset: 4px;
}

.site-shell {
	position: relative;
	overflow: hidden;
	min-height: 100vh;
	padding: 24px;
}

.site-header {
	position: sticky;
	top: 16px;
	z-index: 20;
	max-width: var(--c3-max-width);
	margin: 0 auto 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 14px 18px;
	border: 1px solid var(--c3-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(18px);
	box-shadow: 0 12px 38px rgba(17, 47, 71, 0.08);
}

.brand,
.brand-copy,
.nav-links,
.hero-actions,
.site-footer,
.signal-strip {
	display: flex;
	align-items: center;
}

.brand {
	gap: 12px;
	min-width: fit-content;
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid var(--c3-border-strong);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 22px rgba(17, 47, 71, 0.08);
	overflow: hidden;
}

.brand-mark-complete {
	width: 182px;
	height: 60px;
	padding: 0;
}

.brand-mark-naming {
	width: 170px;
	height: 54px;
	padding: 7px 10px;
}

.small-mark {
	width: 44px;
	height: 44px;
	border-radius: 14px;
}

.brand-logo,
.hero-logo,
.payoff-logo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.brand-logo-complete {
	width: 100%;
	height: 60%;
	object-fit: cover;
	object-position: center center;
	transform: translateY(-33%);
}

.brand-logo-naming {
	width: 100%;
	height: 100%;
}

.brand-copy {
	align-items: flex-start;
	flex-direction: column;
	gap: 2px;
}

.brand-copy strong,
.nav-links,
.eyebrow,
.card-label,
.signal-strip dt,
.footer-company,
.lang-option {
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.brand-copy strong {
	font-size: 1.12rem;
	line-height: 1;
}

.brand-copy small {
	color: var(--c3-muted);
	font-size: 0.84rem;
	line-height: 1.1;
}

.nav-links {
	flex-wrap: wrap;
	gap: 16px;
	color: var(--c3-muted);
	font-size: 0.86rem;
	font-weight: 700;
}

.nav-links a {
	transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-links a:hover {
	color: var(--c3-accent);
	text-shadow: 0 0 18px rgba(14, 158, 193, 0.2);
}

.lang-switcher {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--c3-border);
	border-radius: 999px;
	background: var(--c3-surface);
}

.lang-option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	padding: 6px 10px;
	border-radius: 999px;
	color: var(--c3-muted);
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.lang-option:hover {
	color: var(--c3-accent);
}

.lang-option.is-active {
	color: #fff;
	background: linear-gradient(135deg, var(--c3-accent), var(--c3-accent-2));
	box-shadow: 0 10px 22px rgba(14, 158, 193, 0.18);
}

.hero-section,
.content-section,
.site-footer {
	max-width: var(--c3-max-width);
	margin-inline: auto;
}

.section-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}

.section-grid > * {
	min-width: 0;
}

.hero-section {
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
	min-height: min(760px, calc(100vh - 124px));
	padding: 40px 0 72px;
}

.reveal-panel,
.content-section,
.hero-visual,
.manifesto-panel,
.contact-form,
.deliverables-panel,
.caddy-card {
	position: relative;
}

.hero-copy::before,
.content-section::before,
.manifesto-panel::before,
.contact-form::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(135deg, rgba(14, 158, 193, 0.08), transparent 36%, rgba(31, 126, 234, 0.05));
	opacity: 0.95;
}

.hero-copy {
	border-radius: 32px;
	padding: clamp(28px, 5vw, 52px);
	border: 1px solid var(--c3-border);
	background: linear-gradient(180deg, #fff 0%, var(--c3-surface) 100%);
	box-shadow: var(--c3-shadow);
	overflow: hidden;
}

.hero-copy > *,
.content-section > *,
.manifesto-panel > *,
.contact-form > * {
	position: relative;
	z-index: 1;
}

.eyebrow,
.card-label {
	color: var(--c3-accent);
	font-size: 0.8rem;
	font-weight: 800;
	margin-bottom: 14px;
}

h1 {
	max-width: 11ch;
	font-size: clamp(3.05rem, 6vw, 5.2rem);
	line-height: 0.94;
	margin-bottom: 24px;
	text-wrap: balance;
}

h2 {
	font-size: clamp(2rem, 3.8vw, 3.45rem);
	line-height: 1;
	margin-bottom: 18px;
	text-wrap: balance;
}

h3 {
	font-size: 1.15rem;
	line-height: 1.18;
	margin-bottom: 10px;
}

.hero-lead,
.section-lead,
.wide-heading p,
.manifesto-panel p,
.case-card p,
.workflow-card p,
.site-footer p,
.form-privacy,
.simple-cookie-content p,
.legal-content p {
	color: var(--c3-muted);
	line-height: 1.72;
}

.hero-lead,
.section-lead {
	font-size: clamp(1.03rem, 1.65vw, 1.2rem);
}

.payoff {
	color: var(--c3-text-soft);
	font-size: clamp(1.1rem, 1.9vw, 1.55rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-bottom: 16px;
}

.payoff span,
.section-heading h2 span {
	color: var(--c3-accent);
}

.hero-signature {
	max-width: 310px;
	margin: 16px 0 30px;
	padding: 12px 16px;
	border: 1px solid var(--c3-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 20px rgba(17, 47, 71, 0.06);
}

.payoff-logo {
	object-fit: contain;
}

.hero-actions {
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	border: 1px solid var(--c3-border-strong);
	font-weight: 800;
	font-size: 1.02rem;
	letter-spacing: 0.03em;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button-primary {
	color: #fff;
	background: linear-gradient(135deg, var(--c3-accent), var(--c3-accent-2));
	box-shadow: 0 12px 26px rgba(14, 158, 193, 0.2);
}

.button-secondary {
	color: var(--c3-text);
	background: #fff;
}

.button-secondary:hover {
	box-shadow: 0 12px 26px rgba(17, 47, 71, 0.08);
}

.signal-strip {
	align-items: stretch;
	gap: 10px;
	margin: 0;
}

.signal-strip div {
	flex: 1;
	padding: 16px;
	border: 1px solid var(--c3-border);
	border-radius: 18px;
	background: #fff;
}

.signal-strip dt {
	color: var(--c3-accent);
	font-size: 0.72rem;
	font-weight: 800;
}

.signal-strip dd {
	margin: 6px 0 0;
	color: var(--c3-text);
	font-size: 0.92rem;
	line-height: 1.5;
}

.hero-visual {
	min-height: 540px;
	display: grid;
	place-items: center;
}

.hero-visual::before,
.hero-visual::after {
	content: "";
	position: absolute;
	border-radius: 50%;
}

.hero-visual::before {
	width: min(88vw, 520px);
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(14, 158, 193, 0.14), transparent 64%);
	filter: blur(4px);
}

.hero-visual::after {
	width: 360px;
	aspect-ratio: 1;
	border: 1px solid rgba(14, 158, 193, 0.14);
}

.cube-core {
	position: relative;
	z-index: 2;
	width: 250px;
	height: 250px;
	display: grid;
	place-items: center;
	border: 1px solid var(--c3-border-strong);
	border-radius: 42px;
	background: linear-gradient(180deg, #ffffff 0%, var(--c3-surface) 100%);
	box-shadow: 0 20px 52px rgba(17, 47, 71, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
	transform: rotate(45deg);
}

.hero-logo-graphic {
	width: 86%;
	max-width: 210px;
	transform: rotate(-45deg);
}

.core-glow,
.caddy-pulse {
	position: absolute;
	inset: 28%;
	border-radius: 50%;
	background: rgba(14, 158, 193, 0.16);
	filter: blur(28px);
}

.orbit {
	position: absolute;
	border: 1px solid rgba(14, 158, 193, 0.22);
	border-radius: 36px;
}

.orbit-one {
	width: 320px;
	height: 120px;
	transform: rotate(28deg);
}

.orbit-two {
	width: 120px;
	height: 320px;
	transform: rotate(28deg);
}

.node-grid {
	position: absolute;
	width: 440px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
	opacity: 0.56;
}

.node-grid span {
	height: 8px;
	border-radius: 999px;
	background: var(--c3-accent);
	box-shadow: 0 0 18px rgba(14, 158, 193, 0.38);
}

.content-section {
	margin-top: 32px;
	padding: clamp(34px, 6vw, 84px);
	border: 1px solid var(--c3-border);
	border-radius: var(--c3-radius);
	background: linear-gradient(180deg, #fff 0%, var(--c3-surface) 100%);
	box-shadow: var(--c3-shadow);
}

.section-heading {
	max-width: 860px;
}

.wide-heading {
	margin-bottom: 34px;
}

.problem-section {
	display: grid;
	grid-template-columns: 0.86fr 1.14fr;
	gap: 34px;
}

.model-section > h3 {
	margin: 22px 0 18px;
	color: var(--c3-accent);
	font-size: 0.96rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.workflow-grid,
.case-grid {
	display: grid;
	gap: 16px;
}

.workflow-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.case-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-card,
.case-card,
.deliverables-panel,
.caddy-card {
	border: 1px solid var(--c3-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(17, 47, 71, 0.06);
}

.workflow-card,
.case-card,
.deliverables-panel {
	padding: 24px;
}

.workflow-card span {
	display: inline-flex;
	margin-bottom: 32px;
	color: var(--c3-accent);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.featured-card {
	border-color: var(--c3-border-strong);
	box-shadow: 0 0 0 1px rgba(14, 158, 193, 0.08), 0 14px 30px rgba(17, 47, 71, 0.08);
}

.check-list,
.value-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.check-list li,
.value-list li {
	position: relative;
	padding-left: 28px;
	margin-top: 14px;
	color: var(--c3-text);
}

.check-list li::before,
.value-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--c3-accent);
	box-shadow: 0 0 12px rgba(14, 158, 193, 0.35);
}

.caddy-section {
	align-items: center;
}

.caddy-card {
	min-height: 300px;
	display: grid;
	place-items: center;
	overflow: hidden;
}

.caddy-face {
	position: relative;
	z-index: 1;
	width: 128px;
	height: 128px;
	display: grid;
	place-items: center;
	border-radius: 38px;
	border: 1px solid var(--c3-border-strong);
	color: var(--c3-accent);
	font-size: 4rem;
	font-weight: 900;
	background: linear-gradient(180deg, #fff 0%, var(--c3-surface) 100%);
}

.manifesto-panel,
.contact-form {
	border-radius: var(--c3-radius);
	border: 1px solid var(--c3-border);
	background: #fff;
}

.manifesto-panel {
	padding: clamp(32px, 6vw, 72px);
}

.value-list {
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.value-list li {
	margin: 0;
	padding: 12px 16px 12px 34px;
	border: 1px solid var(--c3-border);
	border-radius: 999px;
	background: var(--c3-surface);
}

.value-list li::before {
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
}

.contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	padding: 24px;
	box-shadow: var(--c3-shadow);
}

.contact-form label {
	display: grid;
	gap: 8px;
	color: var(--c3-text-soft);
	font-weight: 700;
}

.full-field {
	grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	border: 1px solid var(--c3-border);
	border-radius: 14px;
	color: var(--c3-text);
	background: #fff;
	padding: 13px 14px;
}

.contact-form textarea {
	resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	border-color: var(--c3-accent);
	box-shadow: 0 0 0 4px rgba(14, 158, 193, 0.1);
	outline: none;
}

.site-footer {
	display: grid;
	grid-template-columns: 1.4fr 1.2fr 0.9fr;
	align-items: start;
	gap: 28px 36px;
	padding: 40px 0 16px;
	margin-top: 32px;
	border-top: 1px solid var(--c3-border);
	color: var(--c3-muted);
}

.site-footer p {
	margin: 0;
}

.site-footer a {
	color: var(--c3-accent);
	font-weight: 800;
}

.footer-brand {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	max-width: 320px;
}

.footer-brand p {
	font-size: 0.92rem;
	line-height: 1.62;
}

.footer-company {
	color: var(--c3-text);
	font-weight: 800;
	margin-bottom: 10px !important;
}

.footer-data {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
	font-size: 0.86rem;
	line-height: 1.5;
}

.footer-links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	font-weight: 700;
	font-size: 0.9rem;
}

.footer-link-button {
	padding: 0;
	border: none;
	background: none;
	color: var(--c3-accent);
	font-weight: 800;
	cursor: pointer;
}

.footer-link-button:hover {
	text-shadow: 0 0 18px rgba(14, 158, 193, 0.18);
}

.footer-copy {
	grid-column: 1 / -1;
	padding-top: 18px;
	border-top: 1px solid var(--c3-border);
	font-size: 0.8rem;
}

.form-privacy {
	margin: 4px 0 0;
	color: var(--c3-muted);
	font-size: 0.86rem;
	line-height: 1.6;
}

.simple-cookie-banner {
	position: fixed;
	left: 18px;
	bottom: 18px;
	z-index: 60;
	width: min(430px, calc(100vw - 36px));
	border: 1px solid var(--c3-border-strong);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(18px);
	box-shadow: 0 18px 50px rgba(17, 47, 71, 0.12);
	padding: 20px;
}

.simple-cookie-content h2 {
	color: var(--c3-text);
	font-size: 1.12rem;
	line-height: 1.18;
	margin-bottom: 10px;
}

.simple-cookie-content p {
	color: var(--c3-muted);
	font-size: 0.88rem;
	line-height: 1.6;
	margin: 0;
}

.simple-cookie-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.simple-cookie-button,
.simple-cookie-link {
	min-height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: 800;
	cursor: pointer;
}

.simple-cookie-button {
	padding: 0 16px;
	border: 1px solid var(--c3-border-strong);
}

.simple-cookie-button.primary {
	color: #fff;
	background: linear-gradient(135deg, var(--c3-accent), var(--c3-accent-2));
}

.simple-cookie-button.secondary {
	color: var(--c3-text);
	background: #fff;
}

.simple-cookie-link {
	color: var(--c3-accent);
}

.legal-shell .content-section.legal-content {
	max-width: 880px;
	margin-inline: auto;
}

.legal-content section {
	margin-top: 28px;
}

.legal-content h2 {
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1.1;
	margin-bottom: 12px;
}

.legal-content h3 {
	color: var(--c3-accent);
	margin-top: 18px;
}

.legal-content p {
	line-height: 1.7;
}

.legal-updated {
	color: var(--c3-accent) !important;
	font-size: 0.84rem;
	font-weight: 700;
}

.legal-list {
	margin: 0;
	padding-left: 20px;
	color: var(--c3-muted);
	line-height: 1.7;
}

.legal-list li {
	margin-bottom: 8px;
}

.legal-table {
	width: 100%;
	margin-top: 14px;
	border-collapse: collapse;
	font-size: 0.86rem;
}

.legal-table th,
.legal-table td {
	padding: 10px 12px;
	border: 1px solid var(--c3-border);
	text-align: left;
	color: var(--c3-text);
}

.legal-table th {
	color: var(--c3-accent);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.74rem;
}

.legal-inline-button,
.legal-back a {
	color: var(--c3-accent);
	font-weight: 800;
}

.legal-inline-button {
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	font: inherit;
}

.legal-back {
	margin-top: 32px;
}

.valid.modified:not([type=checkbox]) {
	outline: 1px solid #26b050;
}

.invalid {
	outline: 1px solid #e50000;
}

.validation-message {
	color: #ff8a8a;
}

.blazor-error-boundary {
	background: #b32121;
	padding: 1rem;
	color: white;
}

.blazor-error-boundary::after {
	content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
	border-color: #929292;
}

@media (prefers-reduced-motion: no-preference) {
	.cube-core,
	.orbit-one,
	.orbit-two,
	.node-grid span,
	.caddy-face {
		animation: c3-float 8s ease-in-out infinite;
	}

	.orbit-two {
		animation-delay: -2s;
	}

	@keyframes c3-float {
		0%, 100% {
			translate: 0 0;
		}

		50% {
			translate: 0 -14px;
		}
	}
}

@media (max-width: 980px) {
	.site-header,
	.nav-links,
	.section-grid,
	.problem-section {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-footer {
		grid-template-columns: 1fr;
	}

	.site-header {
		border-radius: 28px;
	}

	.nav-links {
		flex-wrap: wrap;
	}

	.section-grid,
	.problem-section,
	.workflow-grid,
	.case-grid {
		grid-template-columns: 1fr;
	}

	.hero-visual {
		min-height: 380px;
	}

	.workflow-card span {
		margin-bottom: 18px;
	}

	.brand-mark-complete {
		width: 156px;
		height: 46px;
		padding: 0;
	}
}

@media (max-width: 640px) {
	.site-shell {
		padding: 14px;
	}

	.brand-copy small {
		display: none;
	}

	.signal-strip,
	.hero-actions,
	.value-list {
		flex-direction: column;
	}

	.signal-strip div,
	.button {
		width: 100%;
	}

	.contact-form {
		grid-template-columns: 1fr;
	}

	.content-section,
	.hero-copy,
	.manifesto-panel {
		padding: 26px;
	}

	.cube-core {
		width: 180px;
		height: 180px;
		border-radius: 34px;
	}

	.hero-logo-graphic {
		width: 72%;
		max-width: 120px;
	}

	.node-grid {
		width: 300px;
		gap: 16px;
	}

	.brand-mark-complete {
		width: 150px;
		height: 56px;
	}

	.brand-mark-naming {
		width: 136px;
		height: 48px;
	}
}
