:root {
	color-scheme: light;
	--blue: #5d9dc0;
	--blue-dark: #2e6f95;
	--blue-deep: #163d55;
	--blue-light: #eaf4f9;
	--ink: #10232f;
	--muted: #60717b;
	--line: #dbe6eb;
	--white: #ffffff;
	--surface: #f7fafc;
	--radius: 22px;
	--shadow: 0 20px 60px rgba(21, 61, 85, 0.11);
}

*,
*::before,
*::after {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family:
		'Manrope',
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		'Segoe UI',
		sans-serif;
	color: var(--ink);
	background: var(--white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
}
a {
	color: inherit;
	text-decoration: none;
}
button,
input,
textarea {
	font: inherit;
}

.container {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-header {
	position: fixed;
	z-index: 100;
	inset: 0 0 auto 0;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(219, 230, 235, 0.75);
}

.nav {
	height: 82px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.brand img {
	width: 124px;
	height: 58px;
	object-fit: contain;
	object-position: left center;
	mix-blend-mode: multiply;
}

.main-nav {
	display: flex;
	gap: 30px;
	align-items: center;
	font-size: 14px;
	font-weight: 600;
}

.main-nav > a:not(.nav-cta) {
	color: #354d5b;
	transition: color 0.2s ease;
}

.main-nav > a:not(.nav-cta):hover {
	color: var(--blue-dark);
}

.nav-cta {
	padding: 12px 18px;
	border-radius: 999px;
	color: var(--white);
	background: var(--ink);
	transition:
		transform 0.2s ease,
		background 0.2s ease;
}

.nav-cta:hover {
	transform: translateY(-1px);
	background: var(--blue-dark);
}

.menu-toggle {
	display: none;
	padding: 8px;
	background: transparent;
	border: 0;
}

.menu-toggle > span:not(.sr-only) {
	width: 24px;
	height: 2px;
	background: var(--ink);
	display: block;
	margin: 5px 0;
}

.hero {
	min-height: 760px;
	padding: 168px 0 95px;
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 75% 25%, rgba(93, 157, 192, 0.12), transparent 32%),
		linear-gradient(180deg, #fff 0%, #fbfdfe 100%);
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.03fr 0.97fr;
	gap: 70px;
	align-items: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 12px;
	font-weight: 800;
	color: var(--blue-dark);
	margin-bottom: 18px;
}

.eyebrow::before {
	content: '';
	width: 25px;
	height: 2px;
	background: var(--blue);
	border-radius: 10px;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	font-size: clamp(46px, 5.6vw, 76px);
	line-height: 1.03;
	letter-spacing: -0.045em;
	margin-bottom: 24px;
	font-weight: 800;
}

h1 span {
	color: var(--blue);
}

.hero-intro {
	max-width: 650px;
	font-size: 19px;
	color: var(--muted);
	margin-bottom: 32px;
}

.hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 34px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

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

.button-primary {
	color: white;
	background: var(--blue);
	box-shadow: 0 12px 28px rgba(93, 157, 192, 0.28);
}

.button-primary:hover {
	background: var(--blue-dark);
}

.button-secondary {
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.8);
}

.hero-points {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 13px;
	color: #536772;
	font-weight: 600;
}

.hero-points span::before {
	content: '•';
	color: var(--blue);
	margin-right: 8px;
}

.hero-visual {
	position: relative;
	min-height: 520px;
	display: grid;
	place-items: center;
}

.browser-card {
	width: 100%;
	max-width: 520px;
	background: #fff;
	border: 1px solid #dce9ef;
	border-radius: 24px;
	box-shadow: var(--shadow);
	overflow: hidden;
	transform: rotate(1.5deg);
}

.browser-bar {
	height: 54px;
	display: flex;
	align-items: center;
	padding: 0 18px;
	gap: 7px;
	background: #f4f8fa;
	border-bottom: 1px solid #e7eef2;
}

.browser-bar i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #b8c9d1;
}

.browser-address {
	margin-left: 12px;
	flex: 1;
	height: 26px;
	border-radius: 7px;
	background: white;
	border: 1px solid #e0e9ee;
	font-size: 10px;
	color: #8ba0ad;
	display: grid;
	place-items: center;
}

.browser-content {
	padding: 64px 44px 38px;
	min-height: 400px;
	background:
		radial-gradient(circle at 80% 15%, rgba(93, 157, 192, 0.18), transparent 25%),
		linear-gradient(135deg, #fff, #f9fcfd);
}

.mini-logo {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--blue);
	color: white;
	font-size: 13px;
	font-weight: 800;
	display: grid;
	place-items: center;
	margin-bottom: 42px;
}

.mini-kicker {
	width: 90px;
	height: 6px;
	border-radius: 99px;
	background: #bdd7e5;
	margin-bottom: 14px;
}

.mini-title {
	width: 76%;
	height: 20px;
	border-radius: 99px;
	background: #163d55;
	margin-bottom: 10px;
}

.mini-title.short {
	width: 58%;
	margin-bottom: 24px;
}

.mini-copy {
	width: 68%;
	height: 8px;
	background: #d7e2e8;
	border-radius: 99px;
	margin-bottom: 8px;
}

.mini-copy.short {
	width: 52%;
}

.mini-actions {
	display: flex;
	gap: 10px;
	margin-top: 26px;
}

.mini-actions div {
	width: 95px;
	height: 28px;
	border-radius: 99px;
	background: var(--blue);
}

.mini-actions div:last-child {
	background: white;
	border: 1px solid #dbe7ec;
}

.mini-card-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 42px;
}

.mini-card {
	height: 72px;
	border: 1px solid #e2ebef;
	border-radius: 12px;
	background: white;
}

.floating-chip {
	position: absolute;
	border-radius: 999px;
	background: white;
	border: 1px solid #dce8ed;
	box-shadow: 0 12px 28px rgba(29, 66, 87, 0.12);
	padding: 11px 16px;
	font-size: 12px;
	font-weight: 800;
}

.chip-one {
	left: -12px;
	top: 128px;
}
.chip-two {
	right: 5px;
	bottom: 92px;
}

.trust-strip {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.trust-inner {
	min-height: 92px;
	display: grid;
	place-items: center;
	text-align: center;
}

.trust-inner p {
	margin: 0;
	font-size: 14px;
	color: var(--muted);
	font-weight: 600;
}

.section {
	padding: 118px 0;
}
.section-soft {
	background: var(--surface);
}

.section-heading {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
	align-items: end;
	margin-bottom: 54px;
}

.section-heading h2,
.process-copy h2,
.about-copy h2,
.contact-copy h2 {
	font-size: clamp(34px, 4vw, 54px);
	line-height: 1.08;
	letter-spacing: -0.035em;
	margin-bottom: 0;
}

.section-heading > p {
	color: var(--muted);
	max-width: 520px;
	margin-bottom: 4px;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.service-card {
	min-height: 330px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px;
	display: flex;
	flex-direction: column;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
	border-color: #c8dce6;
}

.service-number {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--blue-light);
	color: var(--blue-dark);
	font-weight: 800;
	font-size: 12px;
	margin-bottom: 48px;
}

.service-card h3 {
	font-size: 23px;
	margin-bottom: 12px;
}

.service-card p {
	color: var(--muted);
	font-size: 15px;
}

.service-link {
	margin-top: auto;
	font-size: 12px;
	font-weight: 800;
	color: var(--blue-dark);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.process-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 105px;
	align-items: start;
}

.process-copy {
	position: sticky;
	top: 130px;
}

.process-copy h2 {
	margin-bottom: 22px;
}
.process-copy p {
	color: var(--muted);
	margin-bottom: 28px;
}

.text-link {
	color: var(--blue-dark);
	font-weight: 800;
	font-size: 14px;
}

.text-link span {
	transition: margin 0.2s ease;
}
.text-link:hover span {
	margin-left: 4px;
}

.steps {
	border-top: 1px solid var(--line);
}

.step {
	display: grid;
	grid-template-columns: 54px 1fr;
	gap: 20px;
	padding: 30px 0;
	border-bottom: 1px solid var(--line);
}

.step-dot {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--blue);
	color: white;
	display: grid;
	place-items: center;
	font-weight: 800;
	font-size: 12px;
}

.step h3 {
	margin-bottom: 7px;
	font-size: 20px;
}
.step p {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
}

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.project {
	display: block;
	min-width: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: white;
	border: 1px solid var(--line);
}

.project-visual {
	padding: 28px;
	display: grid;
	place-items: center;
	overflow: hidden;
}

.visual-one {
	background: linear-gradient(145deg, #dceef6 0%, #8ebdd5 55%, #5d9dc0 100%);
}

.visual-two {
	background: linear-gradient(145deg, #173e55 0%, #2d6f95 55%, #76b0cf 100%);
}

.project-screenshot {
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 14px 35px rgba(18, 49, 67, 0.2);
	transition: transform 0.25s ease;
}

.project:hover .project-screenshot {
	transform: translateY(-4px);
}

.project:focus-visible {
	outline: 3px solid var(--blue-dark);
	outline-offset: 5px;
}

.project-meta {
	padding: 24px 28px 28px;
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.project-meta span {
	color: var(--blue-dark);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 800;
}

.project-meta h3 {
	font-size: 22px;
	margin: 5px 0 0;
}

.project-arrow {
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--surface);
	display: grid;
	place-items: center;
	font-size: 18px;
}

.about-section {
	padding-top: 70px;
}

.about-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 100px;
	align-items: center;
}

.about-mark {
	border-radius: 34px;
	overflow: hidden;
	background: var(--blue);
	aspect-ratio: 1/1;
	box-shadow: var(--shadow);
}

.about-mark img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}

.about-copy h2 {
	margin-bottom: 24px;
}
.about-copy p {
	color: var(--muted);
	max-width: 680px;
}

.contact-section {
	padding-top: 55px;
}

.contact-card {
	padding: 32px 62px;
	border-radius: 30px;
	color: white;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 60px;
	row-gap: 0;
	align-items: center;
	background:
		radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12), transparent 23%),
		linear-gradient(135deg, #17415a, #2e739b);
	box-shadow: 0 25px 70px rgba(31, 81, 110, 0.2);
}

.eyebrow-light {
	color: #d7ecf7;
}
.eyebrow-light::before {
	background: #d7ecf7;
}

.contact-copy h2 {
	color: white;
	margin-bottom: 18px;
}

.contact-copy p {
	max-width: 620px;
	color: rgba(255, 255, 255, 0.78);
	margin-bottom: 0;
}

.contact-actions {
	text-align: right;
}

.button-white {
	background: white;
	color: var(--ink);
}

.contact-actions p {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.58);
	margin: 12px 0 0;
}

.site-footer {
	padding: 38px 0;
	border-top: 1px solid var(--line);
	margin-top: 35px;
}

.footer-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 20px;
	align-items: center;
}

.footer-brand img {
	width: 104px;
	height: 46px;
	object-fit: contain;
	object-position: left center;
	mix-blend-mode: multiply;
}

.footer-inner p {
	margin: 0;
	font-size: 12px;
	color: var(--muted);
	text-align: center;
}

.back-top {
	justify-self: end;
	font-size: 12px;
	font-weight: 800;
	color: var(--blue-dark);
}

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 0.65s ease,
		transform 0.65s ease;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

.delay-1 {
	transition-delay: 0.08s;
}
.delay-2 {
	transition-delay: 0.16s;
}
.delay-3 {
	transition-delay: 0.24s;
}

@media (max-width: 900px) {
	.site-header {
		position: sticky;
	}
	.nav {
		height: 72px;
	}

	.menu-toggle {
		display: grid;
		place-content: center;
		width: 46px;
		height: 46px;
		border-radius: 50%;
		background: var(--blue-light);
		cursor: pointer;
	}
	.menu-toggle > span:not(.sr-only) {
		width: 20px;
		margin: 3px 0;
		border-radius: 2px;
		transition:
			transform 0.2s ease,
			opacity 0.2s ease;
	}
	.menu-toggle[aria-expanded='true'] > span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}
	.menu-toggle[aria-expanded='true'] > span:nth-child(2) {
		opacity: 0;
	}
	.menu-toggle[aria-expanded='true'] > span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}
	.menu-toggle:focus-visible,
	.main-nav a:focus-visible {
		outline: 2px solid var(--blue-dark);
		outline-offset: 3px;
	}

	.main-nav {
		position: absolute;
		top: 82px;
		left: 14px;
		right: 14px;
		padding: 12px 22px 22px;
		max-height: calc(100dvh - 100px);
		overflow-y: auto;
		border-radius: 22px;
		background: white;
		border: 1px solid var(--line);
		box-shadow: var(--shadow);
		display: flex;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		pointer-events: none;
		transition:
			opacity 0.2s ease,
			transform 0.2s ease,
			visibility 0.2s;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.main-nav.open {
		visibility: visible;
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}
	.main-nav > a:not(.nav-cta) {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16px 2px;
		border-bottom: 1px solid var(--line);
		font-size: 18px;
		font-weight: 600;
		color: var(--ink);
	}
	.main-nav > a:not(.nav-cta)::after {
		content: '↗';
		font-size: 18px;
		font-weight: 400;
		color: var(--blue-dark);
	}
	.main-nav .nav-cta {
		text-align: center;
		margin-top: 20px;
		padding: 14px 18px;
	}

	.hero {
		padding-top: 90px;
		min-height: auto;
	}

	.hero-grid,
	.section-heading,
	.process-grid,
	.about-grid,
	.contact-card {
		grid-template-columns: 1fr;
	}

	.hero-grid {
		gap: 35px;
	}
	.hero-visual {
		min-height: 430px;
	}
	.section-heading {
		gap: 16px;
	}
	.service-grid {
		grid-template-columns: 1fr;
	}
	.service-card {
		min-height: 250px;
	}
	.service-number {
		margin-bottom: 28px;
	}
	.process-grid {
		gap: 50px;
	}
	.process-copy {
		position: static;
	}
	.portfolio-grid {
		grid-template-columns: 1fr;
	}
	.about-grid {
		gap: 40px;
	}
	.about-mark {
		max-width: 460px;
	}
	.contact-card {
		gap: 35px;
	}
	.contact-actions {
		text-align: left;
	}
	.footer-inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.footer-brand,
	.back-top {
		justify-self: center;
	}
}

@media (max-width: 620px) {
	.container {
		width: min(100% - 28px, 1180px);
	}
	.hero {
		padding: 74px 0 65px;
	}
	h1 {
		font-size: 46px;
	}
	.hero-intro {
		font-size: 17px;
	}
	.hero-visual {
		min-height: 350px;
	}
	.browser-content {
		padding: 42px 26px 28px;
		min-height: 310px;
	}
	.floating-chip {
		display: none;
	}
	.section {
		padding: 84px 0;
	}
	.project-visual {
		padding: 18px;
	}
	.project-meta {
		padding: 20px;
		gap: 12px;
	}
	.contact-card {
		padding: 24px 28px;
		border-radius: 24px;
	}
}

.contact-form {
	min-width: 0;
	position: relative;
	margin: 0;
}
.contact-form noscript {
	display: contents;
}
.contact-form label {
	display: block;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 700;
}
.contact-form input:not([type='hidden']),
.contact-form textarea {
	width: 100%;
	min-width: 0;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 12px;
	background: #fff;
	color: var(--ink);
	padding: 12px 14px;
	display: block;
	font: inherit;
	margin: 0 0 18px;
}
.contact-form textarea {
	resize: vertical;
	min-height: 140px;
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form button:focus-visible,
.contact-form a:focus-visible {
	outline: 3px solid #c2e8ff;
	outline-offset: 3px;
}
.contact-form button {
	border: 0;
	cursor: pointer;
	justify-self: start;
}
.contact-form button:disabled {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}
.contact-form .contact-trap {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}
.contact-status {
	margin: 10px 0 0;
	font-size: 14px;
}
.contact-status:empty {
	display: none;
}
.contact-alternative {
	margin: 14px 0 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
}
.contact-alternative a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.menu-toggle > span:not(.sr-only),
	.main-nav {
		transition: none;
	}
}

/* Follow the device preference, including changes while the page is open. */
@media (prefers-color-scheme: dark) {
	:root {
		color-scheme: dark;
		--blue: #85bddc;
		--blue-dark: #9dcee8;
		--blue-deep: #c1e1f2;
		--blue-light: #203747;
		--ink: #edf4f8;
		--muted: #adbfcb;
		--line: #304451;
		--surface: #15232e;
		--shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
	}

	body {
		background: #101b24;
	}

	.site-header {
		background: rgba(16, 27, 36, 0.92);
		border-bottom-color: var(--line);
	}

	.brand img,
	.footer-brand img {
		mix-blend-mode: normal;
		filter: brightness(0) invert(1);
	}

	.main-nav > a:not(.nav-cta),
	.hero-points {
		color: var(--muted);
	}

	.nav-cta,
	.button-primary,
	.mini-logo,
	.step-dot {
		color: #10232f;
		background: var(--blue);
	}

	.hero {
		background:
			radial-gradient(circle at 75% 25%, rgba(93, 157, 192, 0.14), transparent 32%),
			linear-gradient(180deg, #101b24, #13212b);
	}

	.button-secondary,
	.browser-card,
	.browser-address,
	.mini-actions div:last-child,
	.mini-card,
	.floating-chip,
	.project {
		background: var(--surface);
		border-color: var(--line);
	}

	.browser-bar {
		background: #1c2e3b;
		border-color: var(--line);
	}
	.browser-bar i {
		background: #6e899b;
	}
	.browser-address {
		color: var(--muted);
	}
	.browser-content {
		background:
			radial-gradient(circle at 80% 15%, rgba(93, 157, 192, 0.18), transparent 25%),
			linear-gradient(135deg, #15232e, #1b303e);
	}
	.mini-kicker {
		background: #709db7;
	}
	.mini-title {
		background: #c1e1f2;
	}
	.mini-copy {
		background: #526f81;
	}
	.service-card:hover {
		border-color: #709db7;
	}

	.visual-one {
		background: linear-gradient(145deg, #223e50, #345f78);
	}
	.visual-two {
		background: linear-gradient(145deg, #142d3e, #2a536b);
	}

	.contact-card {
		background:
			radial-gradient(circle at 85% 20%, rgba(133, 189, 220, 0.1), transparent 23%),
			linear-gradient(135deg, #193548, #24516b);
	}
	.button-white {
		background: #e5f2fa;
		color: #10232f;
	}
	.contact-form input:not([type='hidden']),
	.contact-form textarea {
		background: #101f2a;
		border-color: #63869c;
		color: var(--ink);
	}

	@media (max-width: 900px) {
		.main-nav {
			background: var(--surface);
		}
	}
}
